June 19, 2013

Post: Which adaptive should we use?

InnoDB has 2 limits for unflushed modified blocks in the buffer pool. The one is from physical size of the buffer pool. And the another one is oldness of the

Post: Disaster: MySQL 5.5 Flushing

… case from the Oracle/MySQL engineers is to decrease “innodb_max_dirty_pages_pct”, this way InnoDB will try to keep less dirty pages in buffer pool… this may help ? InnoDB flushing may kick-in faster, and do not allow to have a lot of modified pages in buffer pool. Let’s…

Post: Effect of adaptive_flushing

the innodb pages written graph  (shown above). I suspect ZFS is heavily buffering writes during the“spiky flushing” period because thethe internet, and have good monitoring and trending tools in place from the

Post: Connecting orphaned .ibd files

InnoDB: Reading tablespace information from the .ibd files… InnoDB: Error: trying to add tablespace 15 of name ‘./sakila/customer.ibd’ InnoDB: to themodified in the dictionary, but checksums are bad. To regenerate them use innochecksum from the

Post: My Innodb Feature wishes

innodb_file_per_table=1 allowing to flush all of modified tablespaces in the parallel. Multiple pagebuffer management a bit but Innodb is already to deal with 2 page sizes by supporting compressed pages

Post: Aligning IO on a hard disk RAID – the Benchmarks

innodb_flush_log_at_trx_commit = 2 innodb_flush_method = O_DIRECT innodb_log_buffer_size = 8M innodb_buffer_pool_size = 128M innodb_log_file_size = 64M innodbthe same hardware, but with a misaligned IO. Here’s diskstats from the

Comment: Jeremy Cole on MySQL Replication

… recorded in Innodb log files before COMMIT returns. The data pages are however modified only in the buffer pool. Dirty pages are flushed from the buffer pool in background. For Innodb flushes happen when log files are almost full and Innodb

Post: Helgrinding MySQL with InnoDB for Synchronisation Errors, Fun and Profit

The patch is a copy-paste-modify of the already existing Callgrind support and is not going to win any Cleanest Feature of theinnodb_plugin.innodb_bug53674. TheflushThe RW lock spin stats join the company of the buffer

Post: Analyzing the distribution of InnoDB log file writes

…shell scripting, but the output from this was enough …the page isn’t in the OS buffer cache, then the write will cause a read-around write — the page will have to be read, modifiedthe link right now). This makes intuitive sense given that the writes are smaller than 4k. This server has innodb_flush

Comment: Jeremy Cole on MySQL Replication

flushing is aproximately correct. The data is modified directly in the buffer pool pages, which becomes “dirty” if there are some unflushed changes and later these pages… possibly out of sync with innodb transactional log. However it will …-xa/ – disabling XA saves you from extra fsync which allows to…