June 18, 2013

Post: Implementing SchemaSpy in your MySQL environment

… Percona Server 5.6.10 sandbox: description=MySQL driver=com.mysql.jdbc.Driver connectionSpec=jdbc:mysql://127.0.0.1:5610/schemaspy driverPath=/usr/share/java/mysql-connector-java.jar Example Schema… listing of all columns in the schema, really handy to sort by name to see if you have any implicit constraints…

Post: MySQL and the SSB - Part 2 - MyISAM vs InnoDB low concurrency

… Benchmark. In my previous blog post I compared MySQL 5.5.30 to MySQL 5.6.10, both with default settings using… almost always performs better, at least for this workload. Notes MySQL version used: 5.6.11, custom compiled to remove performance… with sort via ALTER TABLE ENABLE KEYS. my.cnf [mysqld] datadir=/mnt/mysql56/data basedir=/usr/local/mysql socket=/var/lib/mysql/mysql.sock…

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

… you’re thinking about employing a filtering solution of any sort and it’s something you’re not that familiar with… is my recommendation for MySQL 5.6? Is MHA ready for MySQL 5.6? A: My personal recommendation for MySQL 5.6, based…: 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… a good tradeoff. Q: Is the tuple comparison independent of sorting order? Wouldn’t it be a problem if the keywords…

Comment: Derived Tables and Views Performance

… default ’0′, `sort` int(11) default NULL, PRIMARY KEY (`id`)) —————————————————————————————————— $mysql=mysql_connect(’127.0.0.1′,’root’,”); mysql_select_db(‘test’,$mysql); function display_menu($parent, $level) { $result = mysql_query(“SELECT a…

Comment: MySQL Performance Forums

… place to ask this sort of question. Here’s the url: http://www.percona.com/forums/questions-discussions/mysql-and-percona-server…

Comment: Percona XtraBackup 2.1.3 for MySQL available for download

… could use up to key_buffer_size + (read_buffer_size + sort_buffer_size)*max_threads = 4432877 K bytes of memory Hope…:53:56 mysqld_safe mysqld from pid file /var/lib/mysql/srv-d2-mysql02.pid ended in an another environment I…

Post: Webinar: MySQL 5.6 Performance Schema

….m. Pacific, I’ll be leading  a Webinar titled, “Using MySQL 5.6 Performance Schema to Troubleshoot Typical Workload Bottlenecks.” In… Schema, focusing on new features that have been added in MySQL 5.6, go over the configuration and spend most time… with Disk IO Problems with excessive temporary tables and external sorts Excessive internal mutex contention Slow queries due to waits on…

Post: Is Synchronous Replication right for your app?

… typically on a single Innodb node we can have all sorts modifications floating around as long as they don’t touch… no effect on standard MySQL replication from this instance, since MySQL replication is asynchronous. What about semi-sync MySQL replication? It’s actually… to the tradeoffs we take when deploying conventional stand-alone MySQL Innodb with asynchronous slaves.  We may not think about the…

Post: High-load problems? Investigate them with 'pt-query-digest'

… think is a little known goodie from Percona Toolkit for MySQL called pt-query-digest. One customer was suffering from periods…, but at least you get a nice ranking of queries sorted by the number of times they appear in processlist. In… issues. If you regularly work with MySQL databases, getting familiar with Percona Toolkit for MySQL will let you do more work, in…