June 19, 2013

Post: MySQL 5.6 - InnoDB Memcached Plugin as a caching layer

…_memcached soname ‘libmemcached.so’; In an effort to not re-invent the wheel, here is a link to the… total 0.288257 ms per/cmd 0.2843 ms min per/cmd 0.3026 ms max per/cmd 0…. InnoDB fetch (~.09 ms/op) This replaced $cache->load() with $db->query(“SELECT * FROM memcached.container WHERE id=’key_id’”); …

Post: Write contentions on the query cache

… the cache to be locked! More specifically, the size of the blocks is set by the value of the query_cache_min_res_unit variable (4KB by default). For the query I was working on, each row… the value of query_cache_min_res_unit. But this could increase the fragmentation of the cache and degrade performance for other queries. The best solution…

Post: Ultimate MySQL variable and status reference list

… Queriesblogpercona.commanual query_alloc_block_sizeblogpercona.commanual query_cache_limitblogpercona.commanual query_cache_min_res_unitblogpercona.commanual query_cache_sizeblogpercona.commanual query_cache_typeblogpercona.commanual query_cache_wlock_invalidateblogpercona.commanual query_prealloc…

Comment: Using MyISAM in production

… of query cache going on Here are our query cache variables and status +——————————+———–+ | Variable_name | Value | +——————————+———–+ | have_query_cache | YES | | query_cache_limit | 1048576 | | query_cache_min_res_unit | 4096 | | query_cache_size | 524288000 | | query_cache_type | ON | | query_cache_wlock_invalidate | OFF…

Comment: MySQL Query Cache

… value for query_cache_min_res_unit, using this formula: (query_cache_size – qcache_free_memory) / qcache_queries_in_cache This is the average size of a cached query, which was around 2k in my case. Then I changed query_cache_min_res_unit…

Comment: Choosing innodb_buffer_pool_size

… Current query_cache_size = 256 M Current query_cache_used = 19 M Current query_cache_limit = 1 M Current Query cache Memory fill ratio = 7.64 % Current query_cache_min_res_unit = 4 K Query Cache is…

Comment: Choosing innodb_buffer_pool_size

… is available. i have set normal configuration in ini with query_cache=64mb and innodb_additional_mem_pool_size 16M innodb_flush… max_heap_table_size 64M max_allowed_packet 16M query_cache_limit 2M query_cache_min_res_unit slave_net_timeout innodb_data_file_path ibdata1… i make query_cache = 0 then the process is increased to 20 seconds instead of 15 seconds. so i set again query_Cache=64M…

Post: PBXT benchmarks

…2210 stepping : 2 cpu MHz : 1800.163 cache size : 1024 KB 4GB of RAM …: http://www.mysqlperformanceblog.com/files/benchpbxt/res.html (Note: This benchmark is synthetic …Query: SELECT id FROM $tableName WHERE id = %d Simple but very quick query to retrieve value from PK. READ_PK_RANGE Query: SELECT min

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

…thing to consider is which storage engines you’re really using. So for example if you only…syntax, ft_max_word_len, ft_min_word_len, ft_query_expansion_limit, ft_stopword_file FullText search… MyISAM and Innodb. Some SQL level items as Query Cache also could use this feature. low_priority_updates…

Post: Fix of InnoDB/XtraDB scalability of rollback segment

…rsegments=16 max_connections=3000 query_cache_size=0 skip-name-resolve table_cache=2048 sysbench parameters /data/vadim…off –oltp-connect-delay 10000 –oltp-user-delay-min 0 –oltp-user-delay-max 0 –oltp-…-dist-type uniform –oltp-dist-pct –oltp-dist-res –db-ps-mode auto –mysql-host localhost –…