June 20, 2013

Post: Percona Live MySQL Conference and Expo 2013 – News from the Committee – Tutorial Selection Complete

…a 3 hour tutorial focusing on indexing within MyISAM and Innodb with a side of Partitioning.  I…the world who have really dug into the optimizer and have a solid understanding of exactly …was not the case at a MySQL conference.  There are several MySQL HA related tutorials: Using Tungsten Replicator…

Post: Troubleshooting MySQL Upgrade Performance Regressions

… faster plan may be wrong plan from optimizer standpoint and updating stats may cause old MySQL Version to get slower plan instead…. Check stats sampling settings such as innodb-stats-method and myisam-stats-method. For Innodb storage engines it is possible for… binary or differently optimized binaries. When you’re about to file a bug or report the problem through MySQL support channel if…

Post: What MySQL buffer cache hit rate should you target

… hit rate is good for optimal MySQL Performance” is typical question I’m asked. It could by MyISAM key_buffer or Innodb innodb… – something you would not see otherwise. The bad luck is – MySQL currently does not provide this information (it exists in plans… should be looking at Key_reads and Key_writes for MyISAM tables (note this does not include row data access, so…

Post: InnoDB Full-text Search in MySQL 5.6 (part 1)

myisam.frm -rw-rw—-. 1 mysql mysql 155011048 Feb 19 17:17 dir_test_myisam.MYD -rw-rw—-. 1 mysql mysql

Post: ANALYZE: MyISAM vs Innodb

… etc. MySQL optimizer also uses number of rows in the table for many decisions but this is computed live (maintained for MyISAM and… query and report MySQL Optimizer Bug :) But now lets see in the difference of behavior of ANALYZE TABLE for MyISAM vs Innodb. I… MyISAM if we change the stats computation method: mysql> set myisam_stats_method=’nulls_equal’; Query OK, 0 rows affected (0.00 sec) mysql

Post: InnoDB vs MyISAM vs Falcon benchmarks - part 1

MySQL version We used MySQL 5.1.14-beta sources for MyISAM / InnoDB and MySQL 5.1.14-falcon bitkeeper tree bk://mysql.bkbits.net/mysql…) Compilation parameters: For MyISAM / InnoDB ./configure –prefix=/usr/local/mysqltest/mysql- –with-innodb For Falcon ./configure –prefix=/usr/local/mysqltest/mysql- –with-falcon… scales pretty bad and there is a big room for optimization. READ_PK_RANGE Query: SELECT min(dob) FROM $tableName WHERE…

Post: The MySQL optimizer, the OS cache, and sequential versus random I/O

optimizer not choose the faster one? That’s what this post is about. Let’s start with the MySQL query optimizer. The optimizer… Index_length: 11993816064 mysql> show table status like ‘dim1′\G *************************** 1. row *************************** Name: dim1 Engine: MyISAM Rows: 453193 Avg_…

Post: Why you should ignore MySQL's key cache hit ratio

…miss takes. If you approach application performance optimization from the standpoint of response time measurements…dedicated to MyISAM tables. Consider your mixture of storage engines (some InnoDB, some MyISAM, which … to your IO system’s capabilities. MySQL doesn’t have good instrumentation for …

Post: MySQL Optimizer and Innodb Primary Key

…=InnoDB DEFAULT CHARSET=latin1; “myisam” is same table created with MyISAM storage engine used to show difference: MySQL Optimizer correctly knows Innodb tables is….00 sec) mysql> explain select * from myisam order by id \G *************************** 1. row *************************** id: 1 select_type: SIMPLE table: myisam type: ALL possible…

Post: High-Performance Click Analysis with MySQL

… with vanilla MySQL, you will need to aggregate your data. What you want to do is aggregate in ways that optimize the… to the cost of repairing huge MyISAM tables and taking downtime, I would not use MyISAM for anything but read-only tables…/XtraDB tables… Optimize For I/O It is pretty much inevitable: if you do this kind of data processing in MySQL, you…