May 25, 2012

Post: Benchmarking single-row insert performance on Amazon EC2

… with highest memory available, and memory is what really really matters. High-Memory Quadruple Extra Large Instance 68.4 GB of memory 26 EC2… MySQL configuration. MySQL Configuration I used Percona Server 5.5.22-55 for the tests. Following is the configuration that I used: ## InnoDB options innodb

Post: Troubleshooting MySQL Memory Usage

memory is being used by current MEMORY tables: mysql> select sum(data_length+index_length) from information_schema.tables where engine=’memory‘; +——————————-+ |… set (0.00 sec) Innodb Memory Usage Finally it is often helpful to check how much memory Innodb has allocated. In fact …

Post: Join Optimizations in MySQL 5.6 and MariaDB 5.5

… other possibilities like InnoDB doing read_ahead by noticing the sequential access pattern. BKA is available in both MySQL 5.6 and… when the workload fits entirely in memory. For the purpose of benchmarking in-memory workload, the InnoDB buffer pool size is set to… a look at the status counters. Counter Name MySQL 5.5 MySQL 5.6 MySQL 5.6 w/ join_buffer_size=6M & read…

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

… when the workload fits entirely in memory. For the purpose of benchmarking in-memory workload, the InnoDB buffer pool size is set to… MySQL 5.6, when the workload fits entirely in memory, because there is no extra cost for memory access at random locations versus memory… on IO bound workload, mentioned above. Counter Name MySQL 5.5 MySQL 5.6 MySQL 5.6 w/ read_rnd_bufer_size=4M…

Post: Index Condition Pushdown in MySQL 5.6 and MariaDB 5.5 and its performance impact

… in preparation for the talk comparing the optimizer enhancements in MySQL 5.6 and MariaDB 5.5. We are taking a… optimizer enhancement Index Condition Pushdown (ICP). Its available in both MySQL 5.6 and MariaDB 5.5 Now let’s take…

Post: Percona Server 5.5.21-25.1 released!

… available here and from the Percona Software Repositories). Based on MySQL 5.5.21, including all the bug fixes in it…: Fixed a memory corruption regression introduced in 5.5.18-23.0. Bug fixed #915814 (Alexey Kopytov). Fixed InnoDB compilation warnings on CentOS 5. Bug fixed #962940 (Laurynas Biveinis). Fixed MySQL upstream bug #64160 that was…

Post: MySQL Server Memory Usage

… always where – these are key_buffer_size, innodb_buffer_pool_size, innodb_additional_memory_pool_size, innodb_log_buffer_size, query_cache_size. If…, for example tmp_table_size is rather maximum amount of memory MySQL will allocate for this operation. Note it is more complicated… but each of them still can have very large memory consumption Innodb Table Cache. Innodb has its own table cache in which meta…

Post: InnoDB memory allocation, ulimit, and OpenSUSE

…_malloc_low() in ut/ut0mem.c inside InnoDB source code. InnoDB wraps the majority of its memory allocations in ut_malloc_low(), so…. Apparenly OpenSUSE defaults are set in proportion to physical memory to keep the memory-hungry applications from taking the system down. On… physical memory, 2 GB swap it decided to set the virtual memory ulimit (-v) to 77.27 GB, and the physical memory (-m…

Post: How to Monitor MySQL with Percona's Nagios Plugins

… its data directory. InnoDB is getting stuck, has long-running transactions, or other problems. The pmp-check-mysql-innodb plugin checks for several indicators of severe internal problems within InnoDB, such as contention that crosses… pmp-check-unix-memory plugin checks for a single process consuming too much memory and/or for too little free memory in general…

Post: Choosing innodb_buffer_pool_size

… if you have dedicated MySQL Box and you’re only using Innodb tables you will want to give all memory you do not…_buffer, mysql threads, temporary tables, per thread sort buffer which can be allocated. There are also things like innodb additional memory pool (which… to do different VM memory adjustments. You may want to make MySQL to use Large Pages for allocating Innodb Buffer Pool and few…