June 18, 2013

Post: Virident vCache vs. FlashCache: Part 2

… sense to configure MySQL as if it were using SSD storage or to just use an optimized HDD storage configuration? After creating… innodb_log_buffer_size = 128M innodb_flush_log_at_trx_commit = 1 innodb_log_file_size = 1G innodb_log_files_in_group = 2 innodb_purge_threads = 1 innodb_fast_shutdown = 1 #not innodb

Post: Purge Thread Spiral of Death

… frequently you have purge not being the problem at all and when out of no where you can see purge thread being unable… job operations as it can be controlled), using innodb_max_purge_lag or enable separate purge thread (or threads) via innodb_use_purge_thread if you’re running Percona Server.

Post: Reasons for run-away main Innodb Tablespace

… this problem first you can use innodb_max_purge_lag to make a threads doing modifications slow down if purge thread can’t keep up. This however does not work in all cases. If you’re running XtraDB you can also use innodb_use_purge_thread to use dedicated purge thread, which works a bit faster as it does not…

Post: Tuning for heavy writing workloads

… updates from user threads on the all of other CPUs. XtraDB can increase the purge_threads from the next release. innodb_use_purge_thread = 4 seems to…”: Normal InnoDB Plugin 1.0.4 without XtraDB specific options “xtra p_t 0″: XtraDB 1.0.4-new (no purge_thread) “xtra….4-new (4 purge threads) The graphs show… The purge thread (> 0) helps to stabilize the throughput greatly. Increasing the purge threads can suppress the strong…

Post: Multiple purge threads in Percona Server 5.1.56 and MySQL 5.6.2

…, InnoDB has been moving towards the parallelized purge: in MySQL 5.5 there is an option to have a single separate dedicated purge thread… varying the number of dedicated purge threads. The workload is single-table, and the InnoDB team advises using just one thread for such workloads. On…

Post: Percona Server 5.1.57-12.8 Stable Release

… maximum value for innodb_use_purge_threads has been corrected to 32 (maximum number of parallel threads in a parallelized operation). The innodb_purge_thread patch accepted a value up to 64 for the innodb_use_purge_thread variable, leading to…

Comment: Effect of adaptive_flushing

How about the result of XtraDB for the workload with settings ” innodb_adaptive_flushing=OFF innodb_adaptive_checkpoint=estimate innodb_use_purge_thread=1 ” ? “estimate” is based on the different strategy, and it is not so much eagerly to flush…

Comment: Effect of adaptive_flushing

How about the result of XtraDB for the workload with settings ” innodb_adaptive_flushing=OFF innodb_adaptive_checkpoint=estimate innodb_use_purge_thread=1 ” ? “estimate” is based on the different strategy, and it is not so much eagerly to flush…

Post: SHOW INNODB STATUS walk through

…” show how actively innodb uses internal sync array – how frequently slots are allocated in it and how frequently threads are signaled using sync array… each transaction. Purge done for trx’s n:o is number of transaction to which purge is done. Innodb can only purge old versions… inside InnoDB 400″ means thread is running inside Innodb kernel and still has 400 tickets to use. Innodb tries to limit thread concurrency allowing only innodb_thread_concurrency threads

Post: How to load large files safely into InnoDB with LOAD DATA INFILE

… the load — but from other transactions’ changes too; the purge thread cannot purge them, so everything gets bloated and slow. Even simple SELECT… not-yet-purged, row versions. Later, the purge thread will have to clean these up. This is how you make InnoDB behave like PostgreSQL… file and prints them to a fifo. Then we could use LOAD DATA INFILE on the fifo. Every million lines, the…