June 20, 2013

Comment: MySQL Query Cache

cached ?? i have read Same kind of text in High performance MySQL Server book, in their its said “What’s a good cache hit rate? It depends. Even a 30% hit rate can… the cache. It is also important to know which queries are cached. If the cache hits represent the most expensive queries, even a low hit

Comment: MySQL Query Cache

cached by MySQL. So is there any other option to cache it “force cache” ? …cache_hits, 0 Ssl_session_cache_hits, 0 Ssl_session_cache_misses, 0 Ssl_session_cache_mode, NONE Ssl_session_cache_overflows, 0 Ssl_session_cache

Post: Identifying the load with the help of pt-query-digest and Percona Server

…’ execution plan (which includes things like whether Query cache was used or not, if Filesort was used, … atomically, not just for new connections as in MySQL. This is very helpful for measurement as otherwise …_daily_summary wp_pp_hourly_summary wp_pp_hits wp_posts # 6 0x94350EA2AB8AAC34 0.1956 2.4% …

Post: Cache Miss Storm

… expensive to generate but which has a lot of hits in the cache you can get into situation when many clients at… or take a look at MySQL Slow queries – which is good enough if you populate each cache item with single query. Optimize… cache to reflect it is being updated right now so you’re better wait rather than starting populating it. For MySQL Query Cache

Comment: MySQL Query Cache

… best to cache (or not cache things). If you have queries which you know cannot be cached then tell mysql not to cache them. It might save some reusable query from being evicted from the cache, and will keep your cache hit ratio up (which is a good thing). Also for tables which are frequently updated, it might be worth not caching

Comment: MySQL Query Cache

… even if you cache whole pages/parts that way you should combine it with mysql-qery-cache because if your manual cache is outdated…: 1B) [OK] Key buffer hit rate: 99.7% (14M cached / 44K reads) [OK] Query cache efficiency: 87.9% (5M cached / 6M selects) On this… the pages are stored in a mysql-caching table because its stoopid to use memcached/shm for caching on a shared-hosting. So…

Post: MySQL Server Variables - SQL layer or Storage Engine specific.

…and HEAP for in memory tables. So first MySQL versions did not bother naming variables with … or anything like it to make sure data hits the disk ft_boolean_syntax, ft_max_word…temporary tables. key_cache_age_threshold, key_cache_block_size, key_cache_division_limit Key Cache/Key Buffer replacement …

Post: Shard-Query EC2 images available

…=’Contains all avaialble data from 1988 to 2010′; mysql> use ontime1; Database changed mysql> show table status like ‘ontime_fact’G *************************** 1…. This node will become “shard1″. Now, in the EC2 console hit CTRL-A to select all text on the page and…-definition-cache=16384 table-open-cache=128 thread-cache-size=32 thread-stack=256K tmp-table-size=64M transaction-isolation=READ-COMMITTED user=mysql

Post: MySQL-Memcached or NOSQL Tokyo Tyrant - part 2

…at boosting performance of the application by buffer MySQL with memcached.  Our test application is … you add more processing power, but then you hit disks harder and  now your disk bound. … The api in this case was Cache::Memcached, by switching to using Cache::Memcached::Fast look what happens…

Post: KISS KISS KISS

… you’re using memcache or other caching option. Successful memcache implementations often report 90% cache hit ratio meaning 10 to 1 read ratio… the availability of the application is only related to the MySQL redundancy for very high quality/high scale applications. I’ve seen applications having no downtime running for years on single MySQL server (which just does not crash) as well as complex…