As noted in a previous post, MySQL Connector/Java supports multi-master replication topographies as of version 5.1.27, allowing you to scale read load to slaves while directing write traffic to multi-master (or replication ring) servers. The new release of version 5.1.28 builds upon this, allowing live management of replication host (single or multi-master) topographies. This parallels functionality that has long existed for load-balanced connections, and enables users to add or remove hosts – or now promote slaves – for Java applications without requiring application restart. This post aims to …
[Read more]
The MySQL Utilities Team is pleased to announce the latest GA
release of MySQL Utilities. This release includes a number of
improvements for usability, stability, and a few enhancements. We
have also included a performance upgrade for exporting,
importing, and copying databases.
Improvements
The following highlights a few of the more significant
improvements.
* mysqldbexport, mysqldbimport, and mysqldbcopy have
multiprocessing support that allows for much improved
performance
* mysqlfrm can now generate a .frm file with storage engine
substitution
* Mac OS X packages added!
* mysqlserverinfo now includes the log files (error, general,
slow)
* mysqlprocgrep can now search and kill processes by id
* mysqlmetagrep can now search the body of routines with the new
--body option
* all utilities report license type with --version and
--help
* all utilities have the new …
In the MySQL team @ Oracle, we’ve been discussing changing the default values for MySQL replication so that they are safer to use.
Specifically:
Setting | Current Value | Proposed New Value |
sync_binlog | 0 | 1 |
master-info-repository | FILE | TABLE |
… |
My December 4 webinar, “Geographical disaster recovery with Percona Replication Manager (PRM),” gave rise to a few questions. The recording of the webinar and the slides are available here, and I’ve answered the questions I didn’t have time to address below.
Q1: Hi, I was wondering if corosync will work in cloud environment. As far as I know it is hard to implement because of no support of unicast or multicast.
A1: Corosync supports the udpu transport since somewhere in the 1.3.0 branch. udpu stands for udp unicast and it works in AWS for instance. Most recent distribution are using 1.4.x so it is easy to find.
Q2: For token wouldn’t it …
[Read more]
In MySQL Replication, users can filter statements either at
master (using –binlog-* startup options) or at the slave (using
–replicate-* startup options). Prior to MySQL-5.7.3, users could
set these filtering rules either through command line parameters
or by using my.cnf file. In either case MySQL server must be
restarted in order to change the filtering rules. It is not easy
to restart MySQL server in real time scenarios (because of
downtime issues and also loss of buffer cache resulting in
performance problems). It is always helpful having a way to
dynamically configure these filtering rules. Particularly in
environments where slaves are configured dynamically to replicate
certain databases or tables based on load and usage.
In MySQL-5.7.3, a new command “CHANGE REPLICATION FILTER”
has been introduced through which users can change the *slave*
side replication filters dynamically without the need for
restarting the …
On MySQL5.7.3, we released a new semi-synchronous feature which
brings the advantage of stronger data integrity and durability.
Please allow me to introduce you the feature.
I suppose you already know what semi-synchronous replication is.
If that is not true, you can check Seim-Synchronous Replication chapter on
MySQL reference manual. It describes semi-synchronous replication
clearly, so I don't repeat it here again. Make Data Durable on
More Than One Slaves The new feature allows users to set how many
slaves the transaction(its binary events) should be replicated to
before externalizing it to users. In other words, semisync master
makes the transaction to wait until receiving acknowledgements
from those many slaves. The simple process is demonstrated below.
…
So, after installing Workbench 6.0.7 on my pc, and playing around with the MySQL Utilities that are included, I thought I’d do similar to what others have done (Thanks Tony D.) and share my experience on how I’ve used them. If you haven’t installed Workbench before, you might want to check your platform first: http://www.mysql.com/support/supportedplatforms/workbench.html.
So, even if you’re not using any of the recent versions and editions of Workbench (Utilities comes with all of them, Tools menu -> “Start Shell for MySQL Utilities“) you can just download the standalone scripts on a Linux machine. Flexibility being the name of the game again. …
[Read more]So, after installing Workbench 6.0.7 on my pc, and playing around with the MySQL Utilities that are included, I thought I’d do similar to what others have done (Thanks Tony D.) and share my experience on how I’ve used them. If you haven’t installed Workbench before, you might want to check your platform first: http://www.mysql.com/support/supportedplatforms/workbench.html.
So, even if you’re not using any of the recent versions and editions of Workbench (Utilities comes with all of them, Tools menu -> “Start Shell for MySQL Utilities“) you can just download the standalone scripts on a Linux machine. Flexibility being the name of the game again. …
[Read more]
One of the latest labs releases of Oracle MySQL brings multi source
replication. This lifts the limitation found in earlier releases
that a MySQL slave can only have one master.
To be fair, there were other ways of doing this already:
- Using a time based switch as described in MySQL High Availability
- Using the multi source feature in the yet-to-be released MariaDB 10
- Using Tungsten Replicator
There are many good uses of multi source replication. You could
use it to combine data from multiple shards or
applications.
If MySQL is used with …
Connector/NET 6.7 provides replication & load balancing
configuration that allows to connect to master/slaves
environments and at the same time balancing the request over all
the available server in this scenario. This post will show you
how to configure and use these new features on a console
application.