June 20, 2013

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

… by inspecting the output of SHOW SLAVE STATUS? Look at the last field, Auto_Position: # Slave #1 mysql> show slave status\G [...] Auto_Position: 1 -> GTID-based positioning # Slave #2 mysql> show slave status\G [...] Auto_Position: 0…

Post: The small improvements of MySQL 5.6: Duplicate Index Detection

mysql> ALTER TABLE test ADD INDEX (col2); Query OK, 0 rows affected (0.25 sec) Records: 0 Duplicates: 0 Warnings: 0 mysql> SHOW… warning (0.56 sec) Records: 0 Duplicates: 0 Warnings: 1 mysql> SHOW WARNINGS\G *************************** 1. row *************************** Level: Note Code: 1831 Message: Duplicate index…

Post: Percona Server for MySQL 5.5.31-30.3 now available

…_memory and innodb_descriptors_memory status variables in the Extended Show Engine InnoDB Status to improve InnoDB memory usage diagnostics. Bugs… #1171941. Fixed the CVE-2012-5627 vulnerability, where an unprivileged MySQL account owner could perform brute-force password guessing attack on… MDEV-3915). Bug fixed #1172090. mysql_set_permission was failing on Debian due to missing libdbd-mysql-perl package. Fixed by adding…

Post: Percona MySQL University @Portland: June 17

…, free, fast-paced and very technical MySQL educational event for wide range of people interested in MySQL – Developers, System Administrators, DBAs, etc… speaking opportunities available – if you would like to share your MySQL story at this event please email Matthew Dowell by Tuesday… us know. We’ll try to come to the cities showing greatest interest. As usual space is limited, so Register Now…

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

show where GTIDs shine and where improvements are expected. This is the second post of a series of articles focused on MySQL… slave; # For s1, s3 and s4 mysql> stop slave; mysql> change master to master_port=10002; mysql> start slave; Those of you who… try! # For s0,s1, s3, s4 mysql> stop slave; mysql> change master to master_port=10002; mysql> start slave; # And then check the…

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

… is my recommendation for MySQL 5.6? Is MHA ready for MySQL 5.6? A: My personal recommendation for MySQL 5.6, based… the output of SHOW PROCESSLIST that might be a sign that trouble is brewing. Or if you watch your MySQL server’s…: Incorrect information in file: ‘./mysql/servers.frm’ ERROR: 1033 Incorrect information in file: ‘./mysql/servers.frm’ Running mysql_install_db under strace, I…

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…  queries.  The query optimizer analyzes queries for common patterns the MySQL designers know can be improved.  But there’s a finite… were trying to determine the last episode of each TV show. Couldn’t you have used a SUBQUERY to fetch and…

Post: ZFS on Linux and MySQL

… server can easily handle the write load of all the MySQL instances.  The original idea was to configure them with raid… a lot of random data that doesn’t compress well showed a compression ration of 1.70 with gzip-1.  Real… together, ZFS on Linux is a very interesting solution for MySQL backup servers.  All backup solutions have an impact on performance…

Comment: How to calculate a good InnoDB log file size

… -l /var/lib/mysql/ib_logfile* && date && mysql -BNe’show engine innodb status\G’ | grep sequence && sleep 60 && date && mysql -BNe’show engine innodb status\G’ | grep sequence && ls -l /var/lib/mysql/ib_logfile* -rw-rw—- 1 mysql mysql 536870912 May 22…

Comment: How to calculate a good InnoDB log file size

… -l /var/lib/mysql/ib_logfile* && date && mysql -BNe’show engine innodb status\G’ | grep sequence && sleep 60 && date && mysql -BNe’show engine innodb status\G’ | grep sequence && ls -l /var/lib/mysql/ib_logfile* -rw-rw—- 1 mysql mysql 536870912 May 21…