June 19, 2013

Post: How Percona does a MySQL Performance Audit

memory and there is very little load. I see that mysqld is using 10g of memory with 17g virtual size…so it’s hard to read. If the InnoDB buffer pool is set … The error log shows all sorts of interesting things. Basically, anything… users in the mysql.* tables, running mk-duplicate-key-checker to find …

Post: Choosing innodb_buffer_pool_size

size you need to check if there are any restrictions on Innodb Buffer SizeMySQL buffers – query cache, key_buffer, mysql threads, temporary tables, per thread sort buffer which can be allocated. There are also things like innodb additional memory… OS will need to do reads to serve writes to these …

Post: Why MySQL could be slow with large tables ?

Buffers, Indexes and Joins. Buffers First thing you need to take into account is the fact – situation when data fits in memorymemory data size and expect gradual performance decrease as database size…are also clustered keys in Innodb … – MySQL can’t do hash join or sort…of random row reads, which gives…

Comment: Returning to InnoDB scalability

…innodb_thread_concurrency=20 innodb_buffer_pool_size=3G =================================================== =================MySQL error log=================== 060804 20:56:56… use up to key_buffer_size + (read_buffer_size + sort_buffer_size)*max_connections = 2591766 K bytes of memory Hope that’s ok…

Comment: Solving RPM installation conflicts in CentOS 5 and CentOS 6

… /var/lib/mysql/; gcache.keep_pages_size = 0; gcache.mem_size = 0; gcache.name = /var/lib/mysql//galera.cache; gcache.page_size = 128M; gcache.size = … that mysqld could use up to key_buffer_size + (read_buffer_size + sort_buffer_size)*max_threads = 329809 K bytes of memory Hope that’s ok; if not, …

Comment: How well does your table fits in innodb buffer pool ?

… possible that mysqld could use up to key_buffer_size + (read_buffer_size + sort_buffer_size)*max_threads = 9249947 K bytes of memory Hope that’s ok; if not, decrease… Status: NOT_KILLED The manual page at http://dev.mysql.com/doc/mysql/en/crashing.html contains information that should help you…

Post: Impact of memory allocators on MySQL performance

… several memory allocators on the performance/scalability of MySQL server in the read-… data / CPU bound case innodb_buffer_pool_size=52G For every malloc allocator … size of mysqld warmup with ‘select avg(id) from sbtest$i FORCE KEY…|never) and gathered mysqld size with ‘ps –sort=-rss -eopid,rss,vsz,…

Post: A case for MariaDB's Hash Joins

memory workload was performed with a buffer pool size of 6G. The benchmarks compare Block Nested Loop (BNL) Join of MySQL…based=off’ read_rnd_buffer_size=32M optimizer_switch=’batched_key_access=on’ join_buffer_size=32M…=’mrr_sort_keys=on’ optimizer_switch=’mrr_cost_based=off’ mrr_buffer_size=32M…

Post: Heikki Tuuri Innodb answers - Part I

sorted indexes with Innodb (with index built by sortread, typically 1MB in size. I should also mention a post on this topic once. Q12: If readmemory the kernel can decide (incorrectly) to swap out MySQLmemory. There is also third alternative – “huge pages” which can be used for buffer

Post: Falcon Storage Engine Design Review

size, but size range This is minor one. Unlike you would typically see Falcon uses minimum and maximum sizesreading index first (possibly many indexes) and only then reading row data in sortedMySQL Storage Engine level for MySQLreadingKey or any other key… Write Buffer was … enough memory to hold…