June 18, 2013

Post: MySQL and Percona Server in LinkBench benchmark

… this benchmark for MySQL Server 5.5.30, 5.6.11 and Percona Server 5.5.30 and check how these servers…. Percona Server 5.5 outperforms MySQL in about 2x times. Both MySQL 5.5.30 and MySQL 5.6.11 demonstrate notable drops… sync_binlog=0 max_connections=5000 table_open_cache=5000 table-definition-cache=1000 query_cache_size=0 query_cache_type=0 performance_schema=0 #56only…

Post: More on MySQL transaction descriptors optimization

…16 tables with 5M rows each (about 23GB). So it makes sense to check if…_capacity = 2000 max_connections=5000 table_open_cache=5000 query_cache_type=OFF performance_schema=0…0 –percentile=99 –mysql-user=root –mysql-db=sbtest8t1M –mysql-table-engine=INNODB –mysql-socket=/tmp/mysql.sock –oltp-…

Post: Troubleshooting MySQL Memory Usage

… sleep 60 done Check for Table Cache Related Allocations There are cases when MySQL will allocate a lot of memory for table cache, especially if you’re using large blobs. It is easy to check though. Run “FLUSH TABLES” and see whenever…

Post: Should we give a MySQL Query Cache a second chance ?

cache for given table. Instead we could track versions for tables (increment each time table is updated) and check whenever version matches for all tables

Post: Is there room for more MySQL IO Optimization?

… which need to be cached — system files, binary log, FRM files, MySQL MyISAM system tables etc. Starting MySQL 5.5 MySQL uses asynchronous IO which… more than buffer pool size and OS cache which is available. I run CHECK TABLE on this table which essentially performs data and indexes…

Post: MySQL Wish for 2013 - Better Memory Accounting

… for Innodb Buffer Pool or Query Cache but amount of memory used for example for Table Cache can be only guessed. Not only… memory allocation target, which could be something like “Prepared Statement Cache“, “Table Cache” etc. For global pools we need just global accounting, for… and help to get MySQL on the memory diet. It would be easy to extend QA suite to check for peak memory…

Post: ALTER TABLE: Creating Index by Sort and Buffer Pool Size

…used 10mil row table which would look as following in terms of data and index size: mysql> show table status …-06-27 13:04:56 Update_time: NULL Check_time: NULL Collation: latin1_swedish_ci Checksum: NULL…pool made very little memory available for OS cache, so index build process required more IO than…

Post: Ultimate MySQL variable and status reference list

MySQL manual, especially the option and variable reference table. …cache_hitsblogpercona.commanual Ssl_session_cache_missesblogpercona.commanual Ssl_session_cache_modeblogpercona.commanual Ssl_session_cache_overflowsblogpercona.commanual Ssl_session_cache_sizeblogpercona.commanual Ssl_session_cache

Post: MySQL Crash Recovery

… good idea to run MySQL with myisam_recover option which will make sure all improperly closed MyISAM tables are checked first time it… use tiny script which moves out all MyISAM tables out of MySQL database directory, checks them with MyISAMchk and moves them back to… – If you restart MySQL server its caches (key_buffer, innodb_buffer_pool, query_cache,table_cache) are cleaned, so may be OS caches. This may reduce…