June 18, 2013

Post: Replication in MySQL 5.6: GTIDs benefits and limitations - Part 1

slave #1, but not on slave #2: # slave #1 mysql> change master to master_auto_position = 1; mysql> start slave; and let’s create a new table on the master: mysql> create table

Post: Percona Server for MySQL 5.5.31-30.3 now available

… due to older OpenSSL version. Bug fixed #1183610. If a slave was running with its binary log enabled and then restarted… #1171941. Fixed the CVE-2012-5627 vulnerability, where an unprivileged MySQL account owner could perform brute-force password guessing attack on… the MySQL 5.6 version, which removed MyISAM internal temporary table mutex contention. Bug fixed #1179978. Release notes for Percona Server for MySQL

Post: Choosing a MySQL HA Solution - Post-Webinar Q&A

… set up replication filters on the slave, as described in the MySQL manual. You can configure the slave to only replicate a specific database, a set of databases, or specific tables; you can also configure the slave to replicate everything EXCEPT a specified set of databases and tables. With this…

Post: Replication in MySQL 5.6: GTIDs benefits and limitations - Part 2

…=1; s0> start slave; # For s1, s3 and s4 mysql> stop slave; mysql> change master to master_port=10002; mysql> start slave; Those of you who…, s4 mysql> stop slave; mysql> change master to master_port=10002; mysql> start slave; # And then check the number of records from the t table s1… the slave to the correct master with master_auto_position = 1. This can even be made easier with mysqlfailover from the MySQL

Post: MySQL Query Patterns, Optimized - Webinar questions followup

On Friday I gave a presentation on “MySQL Query Patterns, Optimized” for Percona MySQL Webinars.  If you missed it, you can still… to using temporary tables in this way, for example when using replication, a temporary table could vanish if the slave restarts and then subsequent queries against the temp table fail. Q: Why doesn…

Post: ZFS on Linux and MySQL

… of RAM. These servers will run a few slave instances each of production database servers and will…to start the snapshot while holding a “flush tables with read lock” and the flush operation will…ZFS on Linux is a very interesting solution for MySQL backup servers.  All backup solutions have an impact…

Comment: Replication in MySQL 5.6: GTIDs benefits and limitations - Part 1

… simply switch from regular MySQL replication to using replication using GTIDs 1. Temporary tables – CREATE and DROP TEMPORARY tables are not supported inside… for the respective table on master databases. Also, if BINLOG_FORMAT is not consistent on master/slave db. 3. CREATE TABLE …. SELECT – It…

Post: Follow these basics when migrating to Percona XtraDB Cluster for MySQL

… XtraDB Cluster (PXC) for MySQL is a hot thing right now and some users … event will not be written to the slave‘s binary unless log_slave_updates is enabled, this is similar to…Lead to Inconsistencies and May Not Even Work! MyISAM tables are supported within Percona XtraDB Cluster, however, MyISAM …

Post: Repair MySQL 5.6 GTID replication by injecting empty transactions

… to repair MySQL 5.6 GTID replication using two different methods. I didn’t mention the famous SET GLOBAL SQL_SLAVE_SKIP_COUNTER = n for a simple reason, it doesn’t work anymore if you are using MySQL GTID. Then… between Master and Slave servers. pt-table-checksum can help you here, which is found in Percona Toolkit for MySQL. Last week I…

Post: Percona Server for MySQL 5.5.30-30.2 now available

… release of Percona Server for MySQL has fixed a number of performance bugs. (Alexey Kopytov) Drop table performance feature has been removed… the slave_max_allowed_packet variable. Bug fixed #1135097 (George Ormond Lorch III). Fixed the upstream bug #62578 which caused MySQL client… (Alexey Bychko). Percona Server for MySQL was missing help texts in the MySQL client because the help tables were missing. Bug fixed #1041981…