May 25, 2012

Post: Reasons for MySQL Replication Lag

One common theme in the questions our MySQL Support customers ask is Replication Lag. The story is typically along the lines everything is… to catch up. MySQL or OS version changesMySQL version changes (even minor upgrade) may introduce issues which causes replication lag. Same may happen…

Post: Fighting MySQL Replication Lag

… quite common in MySQL world and in fact I already wrote about it. There are many aspects of managing mysql replication lag such as… result in low hanging fruit troubleshooting MySQL Replication Lag First fact you absolutely need to remember is MySQL Replication is single threaded, which means if…

Post: Managing Slave Lag with MySQL Replication

… load spikes as load spikes will frequently cause replication lag spikes as well. Locks – MySQL Replication SQL Thread executes queries same as any other… manage replication lag and to understand what is loading your replication it is also helpful to examine execution time of queries being replicated. Unfortunately MySQL

Post: Percona Replication Manager, a solution for MySQL high availability with replication using Pacemaker

… started looking at other ways of achieving higher availability using MySQL replication. One of the weakness of MMM is its communication layer…=”ignore” \ last-lrm-refresh=”1322236006″ property $id=”mysql_replication” \ replication_info=”10.2.2.162|mysql-bin.000090|106″ rsc_defaults $id=”rsc-options… set this to false otherwise Pacemaker will stop MySQL on a slave that lags behind. This will absolutely not help its recovery…

Post: Getting use of Slave in MySQL Replication

MySQL Replication is asynchronous which causes problems if you would like to use MySQL Slave as it can contain stale data. It is… which not take time to replicate to the slave replication lag can be significant. Also even very small lag can cause the problems – for… using you should not forget to monitor if replication is running properly and if replication lag is within the limit. It may be…

Post: MySQL Replication and Slow Queries

… up the most resources on your server – in certain configurations replication load itself may be very significant contributor. But even if… – slow replication queries also identify replication lag, ie if you have query which ran 10 seconds on the slave and your replication is well loaded, this means at some point in time your replication lag was at least 10…

Post: Infinite Replication Loop

… statements in MySQL Replication. To explain what they are, how to identify them… and how to fix them. An infinite replication loop is… have a look first at the normal flow: Replication flow: [1] When you setup MySQL replication, you define the global variable server_id… those graphs: You can see the CPU usage and the replication lag… once again cacti is very helpful ! How to fix then…

Post: Thoughts on MySQL Replication

… times if write load growth by only 50%. – Delays in replication MySQL replication is fast which means in average delay is small. Typically… bulk query on the master, even on completely unrelated table, replication lag may increase dramatically. Besides monitoring which Brian mentioned three other…

Post: Finding your MySQL High-Availability solution – Replication

MySQL, replication. High Availability solution for MySQL: Replication This HA solution is the easiest to implement and to manage. You basically need to setup MySQL replication… by the availability of the MySQL replication link between the servers. Replication often break for various reasons and while replication is broken, there is… VIP of a slave if it has failed or is lagging behind the master by more than a defined threshold. One…

Post: State of MySQL Market and will Replication live ?

There are interesting posts these day about future of MySQL Replication by Brian Frank and Arjen. I think it very interesting … way so cross shard queries become a pain. Dealing with lag in MySQL Replication is another issue which complicates application development. All of… scale of Big Table with Map Reduce. Indeed I think MySQL Replication usage will reduce, but I would not expect Memcached to…