June 19, 2013

Post: Quickly preloading Innodb tables in the buffer pool

… great if Innodb would implement command to preload table to Innodb buffer pool, which would simply… be slow for fragmented tables) but it does not preload indexes in memory neither it does externally … just need to preload single large table you can chop it into several ranges and preload in parallel…

Post: Adjusting Innodb for Memory resident workload

… all or most of their database (frequently Innodb) fits into memory. If all tables fit in Innodb buffer pool the performance for reads… better for memory resident workloads and we should consider fixing these issues for XTRADB. Preload It is possible to preload all innodb tables (ibdata…

Post: Why MySQL could be slow with large tables ?

… fact even MySQL optimizer currently does not take it into account. For In memory workload index accesses might be faster even if… avoid it. Joins to smaller tables is OK but you might want to preload them to memory before join so there is no random IO needed to populate the caches. With proper application architecture and table

Post: Optimizing InnoDB for creating 30,000 tables (and nothing else)

…,000 tables in InnoDB. That time is now a memory. We have customers with a lot more tables than…is a small shared library designed to be LD_PRELOADed that disables just about every way an application…_commit I instead group the CREATE TABLE into transactions of creating 100 tables at a time, I get an …

Post: Impact of memory allocators on MySQL performance

… perform the following steps: start Percona server either with LD_PRELOAD=[allocator_lib.so] or glibc prefix(see above)/get RSS… there is one more factor that should be taken into account – memory footprint. table { width: 80%; margin: 0; background: #FFFFFF; border: 1px solid… 5G. Memory usage for others allocators looks more or less acceptable. Taking into account all 3 factors – throughput, latency and memory usage for…

Post: My "hot" list for next InnoDB features

…-6.0 Preload table / index into buffer_pool. You can use custom queries by primary / secondary key to “warm up” part of table, but this solution is ugly and may be slow due to random logical I/O. Implementing preload of full… about operations tasks, but with current amount of data and memory on servers they become critical. I do not know what…

Post: MySQL Crash Recovery

tables at onces, which typically make system extremely slow and also can use up all allowed connections or run out of memory… LOAD INDEX INTO CACHE statement, for other storage engines it can be done by issuing large index scan queries. Full table scan queries allow to preload table data ether in storage engine caches or in OS cache. You can save these into .sql…

Comment: Beware of MyISAM Key Cache mutex contention

Table | Op | Msg_type | Msg_text | +————+————–+———-+———-+ | lps.user_1 | preload_keys | status | OK | | lps.user_2 | preload_keys | status | OK | | lps.user_3 | preload