June 19, 2013

Post: Benchmarking Percona Server TokuDB vs InnoDB

to run: sysbench –test=insert_roll.lua –oltp-table-size=10000 –mysql-user=root –oltp-tables-count=32 –mysqlinnodb_log_buffer_size = 256M innodb_flush_log_at_trx_commit = 1 innodb_buffer_pool_size = 36G innodb_log_file_size = 4G innodb_log_files_in_group = 2 innodb_log_block_size

Post: The write cache: Swap insanity tome III

setting, which basically controls how important is the file cache for Linux. Basically, with InnoDBto interleave the allocation of memory for the MySQL process using the numactl utility, drop the file cache and pre-allocate the innodb buffer pool

Post: Choosing innodb_buffer_pool_size

… your Innodb Buffer Pool 10% less than your database size you would not loose much anyway. You also may choose to set buffer pool as if your database size…. It is usually much better to simply check it. Start MySQL With 10GB Innodb buffer pool for example and see how large RSS and VSZ get…

Post: InnoDB memory allocation, ulimit, and OpenSUSE

innodb_buffer_pool_size was set to anything more than 62 GB. I decided to try it with 76 GB. The error message was an assert due to… pattern of requested allocations I added a debugging fprintf() to tell me how much was being allocated and whether it was successful… is in proportion to the setting of innodb_buffer_pool_size for the blocks array. The exact proportions will probably vary from version to version, but roughly…

Post: What's required to tune MySQL?

to deliver huge wins. If MySQLto make. A few of the common ones I see are not configuring the InnoDB buffer pool size or log file size, and not using InnoDBto unlikely circumstances, I sometimes see unlikely settings, such as making the sort buffer size much too large (a gigabyte comes to

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

how to choose an appropriate key_buffer_sizeInnoDB tuning? You might be wondering, what about InnoDB tuning? What is the best way to choose an innodb_buffer_pool_size setting

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

size, 2) fit_pct FROM (SELECT index_id, COUNT(*) cnt, SUM(dirty = 1) dirty, SUM(hashed = 1) hashed FROM innodb_buffer_poolset (0.04 sec) This query shows information about how many pages are in buffer pool for given table (cnt), how

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

INNODB_PAGES_READ | 191570 | | INNODB_ROWS_READ | 910844 | +—————————————+—————-+ 10 rows in set (0.01 sec) mysql> select sq.*, pages / ((@@innodb_buffer_pool_size / 16384)) * 100 pct_buffer_pool

Post: Join Optimizations in MySQL 5.6 and MariaDB 5.5

InnoDB buffer pool size is set to 6G and the buffer pool was warmed up, so that the relevant pages were already loaded in the buffer poolhow effective are the join optimizations when the workload is IO bound. For the purpose of benchmarking IO bound workload, the InnoDB buffer pool size

Post: Multi Range Read (MRR) in MySQL 5.6 and MariaDB 5.5

how effective is MRR when the workload fits entirely in memory. For the purpose of benchmarking in-memory workload, the InnoDB buffer pool size is set to… for Innodb_buffer_pool_read_ahead which shows that the access pattern was sequential and hence InnoDB decided to do read_ahead, while in MySQL 5…