Ok, maybe evil is too strong a word, but MySQL can certainly be deceiving.
Ok, maybe evil is too strong a word, but MySQL can certainly be deceiving.
Ok, maybe evil is too strong a word, but MySQL can certainly be deceiving.
In this post, I’ll discuss how to moving VIPs during a failover using Orchestrator.
In our previous post, we showed you how Orchestrator works. In this post, I am going to give you a proof-of-concept on how Orchestrator can move VIPs in case of failover. For this post, I’m assuming the Orchestrator is already installed and able to manage the topology.
Hooks
Orchestrator is a topology manager. Nothing less nothing more. In the case of failover, it will reorganize the topology, promote a new master and connect the slaves to it. But it won’t do any DNS changes, and it won’t move VIPs (or anything else).
However, Orchestrator supports hooks. Hooks are external scripts …
[Read more]As many of you will know, MySQL Replication has become an instrumental part of scale-out architectures in LAMP environments. MySQL offers plenty of solutions when there is a need to scale out, the most common being to add read replicas. The major bottleneck for our data is generally not so much oriented around writing our data but more around reading it back. Therefore the easiest way to scale MySQL is to add replicas for reading.
We’ve produced a number of resources during the course of this year aimed at helping users to get started with MySQL Replication and/or get more out of their existing setups.
We’ve summarised these resources here in a handy overview, so that you can pick and chose the ones that might be the most relevant to you.
Do check them out and let us know your feedback!
The White Papers The MySQL© Replication Blueprint by Severalnines
This is a great resource for anyone wanting to …
[Read more]In MySQL 8.0, we are making large changes to the way the MySQL server stores meta data with the introduction of our native data dictionary. As part of these improvements, we have also made changes to the way the server bootstraps.…
This blog post is all about new MySQL 5.7 physical, logical architecture and it’s components.In this blog post, I will try to explain things in flow including data processing and SQL execution in MySQL with the help of diagrams.
Unlike the other databases, MySQL is a very flexible and
offers different kinds of storage engines as a plugin
for different kinds of needs. Because of this,
MySQL architecture and behavior will also change as per the
use of storage engines, for example transactional [InnoDB]
and non-transactional [MyISAM] engines data storage and
SQL execution methods will be different and within the
server it will use engine specific components like memory and
buffers depending on type storage engine will get used for the
SQL operation.
Will discuss more InnoDB, since it’s default and main storage
engine for MySQL.
MySQL Physical Architecture: Configuration files: …
[Read more]It’s been a busy month for file vulnerabilities. Thanks to Dawid Golunski at legalhackers.com for giving us all the opportunity to tighten security in our MySQL, MariaDB, and Percona Server instances.
Details were released for the CVE 6663 mentioned last week and for a new CVE 6664:
http://legalhackers.com/advisories/MySQL-Maria-Percona-PrivEscRace-CVE-2016-6663-5616-Exploit.html
http://legalhackers.com/advisories/MySQL-Maria-Percona-RootPrivEsc-CVE-2016-6664-5617-Exploit.html
Note that 6664 is dependent on 6663, and 6663 can be mitigated by turning off symbolic_links (=0). Upgrade to the latest versions also fixes the problem. Regardless, the attacker …
[Read more]
My recent post about importing a big dataset from
InnoDB into MyRocks has attracted quite a lot of attention (thank
you Mark!) and also it has been pointed out that what I wrote
about coexistence of MyRocks and InnoDB was incorrect.
In fact, I had been asking about it at Percona Live last month,
but got a negative answer.... plus I had tried it at first but
got a mysqld crash during crash recovery once, so since it was
not important for my use case I went ahead and disabled InnoDB
entirely.
But of course, as I have written previously, using both engines
in the same server is something that I would really, really love
to have, so I thought to give it a try with a very simple use
case.
So I created the following two tables, each one with a different
engine:
…
Introduction This article is part of a series of posts related to calling various relational database systems stored procedures and database functions from Hibernate. The reason for writing this down is because there are many peculiarities related to the underlying JDBC driver support and not every JPA or Hibernate feature is supported on every relational … Continue reading How to call MySQL stored procedures and functions with JPA and Hibernate →