Here is version 0.4.0 of the MySQL Group Replication plugin, our solution that gives you virtual synchronous updates on any member of a MySQL server group. With this new version you can expect a bunch of bug fixes and new features.…
The multi master plugin for MySQL is here. MySQL Group Replication provides virtually synchronous updates on any member in a group of MySQL servers, with conflict handling and automatic group membership management and failure detection.
You can read about all MySQL Group Replication features following the tag MySQL Group Replication.
On this blog post we will present the packages the MySQL Group Replication 0.4.0 offers and what are the tasks that you need to perform to install the plugin on the MySQL server.
Go to http://labs.mysql.com/, choose MySQL Group Replication on the release menu. You will see two files there:
- mysql-group-replication-0.4.0-labs-el6.x86_64.tar.gz …
In this post we will use the MySQL 5.7.7 labs release which has support for JSON documents stored in a special data type. We will be using Connector/Python and show how to get going with updating documents and getting data out.
If you wonder what this is all about, please check the following great reads from the MySQL Server team:
- JSON Labs Release: Native JSON Data Type and Binary Format
- JSON Labs Release: JSON Functions, Part 2 — Querying …
Hi all, a few months have passed since our first preview release of MySQL Group Replication. Now is the time for the second preview release of MySQL Group Replication, the plugin that brings multi-master update everywhere to MySQL, as described in Hello World post.
Introduced changes User interface changes
After receiving plenty of feedback and continuing to pursue a more integrated look and feel with MySQL, we have given the user interface a facelift. Some of the changes are:
- The plugin has been renamed to group_replication, and as a consequence the plugin’s option names were also renamed to group_replication_*;
- Start/stop command: now the commands are START/STOP GROUP_REPLICATION;
- Performance_schema tables were improved to have better names, fields and relationships. …
Multi-source replication for MySQL has been released as a part of
downloadable from labs.mysql.com. It is one among the several features that are
cooking in the replication technologies at MySQL. (For a birds eye view of all
replication features introduced in 5.7 and labs, look at the blog posts here and here.
Previously, we have introduced a preliminary multi-source feature labs preview. Based on the feed back from that labs release, we …[Read more]
The multi master plugin for MySQL is here. MySQL Group Replication provides virtually synchronous updates on any node in a group of MySQL servers, with conflict handling and automatic group membership management and failure detection.
For a better understanding on how things work, we go under the hood in this post and will analyse the transaction life cycle on multi master and which components does it interact with. But before that we need to understand first what a group is.
Group Communication Toolkit
The multi master plugin is powered by a group communication toolkit. This is what decides which servers belong to the group, performs failure detection and orders server messages. Being the ordered messaging the magic thing that allows the data to be consistent across all nodes. You can check the details of the group communication toolkit at …[Read more]
The multi master plugin for MySQL is here “MySQL Group Replication“. It is a virtual synchronous solution for MySQL with conflict detection. It also supports automatic group membership management, failure detection and automatic distributed recovery.
With the introduction of this new feature there was a need to perform some good amount of testing as it involves complex functionalities like :
- Servers execute local transactions and broadcasts the update to the group.
- All servers in the group, even the sender, receive same transaction in the same order and check for conflicts.
- All servers, independently, decide to commit the transaction – no conflicts.
- A new node can join an existing group, so in this case we need distributed recovery to bring it at par with the other servers.
So a great deal of effort has been spent on testing these …[Read more]
Multi-master update everywhere solution for MySQL is here. MySQL Group Replication ensures virtual synchronous updates on any node in a group of MySQL servers, with conflict handling and failure detection. Distributed recovery is also in the package to ease the process of adding new nodes.
Starting with MySQL 5.7.2 there has been a constant effort from the replication team to provide more fields to monitor the replication performance in the performance schema tables. This post gives a brief overview of the Performance Schema tables that have been introduced for MySQL Group Replication.
There are two new tables introduced as a part of the MySQL Group Replication monitoring.
Lets go through each table in detail :
REPLICATION NODE STATUS…[Read more]
MySQL Group Replication is here and with it comes the need to install and configure the underlying group communication toolkit that supports it: Corosync. Corosync is a well known and reliable Group Communication System that is used in such applications as Pacemaker.
In term of support, we develop MySQL Group Replication based on Corosync version 1.4.6, so this tutorial is based on this version. Regardless of this, no known problems are know to exists when using newer versions, but no extensive testing has been done on those.
Along with Corosync we also encourage the use of NSS to better secure your data that is transmitted in the group.
To install Corosync, you can rely on your packet manager for most distributions or compile it from source.
==> From the package manager
- Debian distributions
$ sudo apt-get install corosync …[Read more]
The new addition to the MySQL planet, MySQL Group Replication is now on Labs Release for you to try it! It offers you update everywhere capabilities on any group of normal, out of the box, MySQL servers. Concurrent updates on a setup of several MySQL servers is now possible and this with our trademark: the ease of use.
In fact we ship MySQL Group Replication in such a way that for you to form a group and add new nodes, all that is needed is to configure the servers with your unique group id and just press start. In this post we show you the “behind the scenes” of this process, on how the node catches up with the remaining servers through distributed recovery.
The basics about Distributed Recovery
If we were to summarize what distributed recovery is, we could describe it as the process through which a new server gets missing data from a live node, while paying attention to what happens in the group, eventually catching …[Read more]