June 19, 2013

Post: Is your MySQL buffer pool warm? Make it sweat!

… When it starts handling queries after failover, the lower cache hit rates can lead to outages. Specifically…playback –mysql-host 127.0.0.1 –mysql-username playback –mysql-password PaSSwOrd –mysql-schema schema_name –query-… did 39 measurements), the next graph shows chunk 4’s workload warmed up …

Post: Virident vCache vs. FlashCache: Part 2

… config) which shows the … consistently hit about …potentially, submaximal, rate compared … –mysql­-user=root –mysql­-socket=/tmp/mysql.sock ­­–mysql­-…cache_size = 16M max_heap_table_size = 64M sort_buffer_size = 4M join_buffer_size = 4M thread_cache_size = 1000 query_cache_size = 0 query_cache

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

… 99% of advice about tuning MySQL‘s key cache hit ratio is wrong, even when…cache interchangeably. However, I will be careful about the difference between “rate” and “ratio”. In this article, the key cache miss ratequery I know is slow and is a problem for my application. I have profiled it with SHOW

Post: What MySQL buffer cache hit rate should you target

…single operation may be IO bould while showing very large hit rate so even taking data for single …OS or SAN cache hit rate – something you would not see otherwise. The bad luck is – MySQL currently does not… example if single query is issuing 100+ random IO requests which are not cached by OS or …

Post: MySQL Query Cache

queries as if query cache hit happens Com_select is not incremented. But if you have just 20% Cache hit rate

Post: MySQL 5.6 vs MySQL 5.5 and the Star Schema Benchmark

queries in the benchmark. I got some strange results, however, which showed MySQL 5.6.10 to be much slower than MySQLRATE: 0 * PAGES_CREATE_RATE: 0 PAGES_WRITTEN_RATE: 0.032257023966968806 * PAGES_WRITTEN_RATE: 0 NUMBER_PAGES_GET: 6731790 * NUMBER_PAGES_GET: 6731253 HIT_RATE: 995 * HIT_RATE

Post: SHOW INNODB STATUS walk through

SHOW INNODB STATUS output, showing what you can learn from SHOW INNODB STATUS output and how to use this info to improve MySQL… writes are done to OS cache, and being sequential writes these … with hit rate of 995/1000. ————– ROW OPERATIONS ————– 0 queries inside InnoDB, 0 queries

Comment: Opening Tables scalability

…good hit rate): root@titanic [/var/lib/mysql]# ls -la|wc -l 24547 root@titanic [/var/lib/mysql]# …c 1797812 4.7030 mysqld Query_cache::insert_into_free_memory_list(Query_cache_block*) 1685928 4…. cpu time. That’s after fixing show databases problem, with show databases the number would be more …

Post: Living with backups

…your favorite website can still show up in the browser. Moreover…reason. Since the hit ratio becomes worse as the cache is being …MySQL data directory will result in a total disaster after MySQL stops responding to the incoming queries…tar –read-rate=15000000 -C /mnt/snapshot -c -z -v -f – mysql | ssh…