June 20, 2013

Post: How InnoDB handles REDO logging

flush */ innodb_flush_log_at_trx_commit = 1 /* Write log buffer to log and flush to disk */ innodb_flush_log_at_trx_commit = 2 /* Write log buffer to log and flushrecovery. How does this affect throughput? As the REDO log in InnoDB uses a fixed length circular transaction log

Post: Ultimate MySQL variable and status reference list

MySQLinnodb_flush_log_at_trx_commitblogpercona.commanual innodb_flush_methodblogpercona.commanual innodb_force_recoveryblogpercona.commanual Innodb_have_atomic_builtinsblogpercona.commanual innodb_io_capacityblogpercona.commanual innodb_lock_wait_timeoutblogpercona.commanual innodb…rpl_recovery_…

Post: Recovery deleted ibdata1

… deleted the InnoDB main table space – ibdata1 – and redo logs – ib_logfile*. MySQL keeps InnoDB files open all the time. The following recovery technique is… and wait until InnoDB flushes all pages. To stop write activity we can either stop application or lock tables: mysql> flush tables with read…

Post: InnoDB Flushing: a lot of memory and slow disk

…; 2) increases recovery time (and that is an important factor with slow disks); and 3) MySQL does not support innodb_log_file_size > 4GB… this (alas, 8 pages flushed). That is, instead of flushing 8 pages what we would expect to be flushed, InnoDB flushes 1 needed page and… why innodb_adaptive_flushing is not able to keep up. What if we disable flushing of neighbor pages (we have the option innodb_flush_neighbor…

Post: What is innodb_support_xa?

…, but also for internal XA coordination between the InnoDB transaction logs and the MySQL binary logs, to ensure that they are consistent. Consistent is…-of-sync data on replicas (and after point-in-time recovery) when you do that. Unfortunately, the manual isn’t that… disk flushes and get better InnoDB performance. Having innodb_support_xa enabled on a replication master—or on any MySQL server where binary logging is…

Post: Reasons for MySQL Replication Lag

… problems for replication include setting sync_binlog=1, enabling log_slave_updates, setting innodb_flush_log_at_trx_commit=1. Also note there is… increasing buffer pool size could cause performance problems. MySQL Restart MySQL Restarts may include recovery time but what is the most important they…

Post: How to estimate time it takes Innodb to Recover ?

…things affecting recovery time you better to understand how Innodb recovery works. When Innodb recovers from logs it finds the last checkpoint time. Innodb has …log replay phase there is also phase of flushing dirty buffers to the disk and undo phase – rolling back uncommitted transactions. As MySQL

Post: The relationship between Innodb Log checkpointing and dirty Buffer pool pages

flushed Innodb Log Checkpointing So, first of all, what can we see about Innodb log checkpointing and what does it tell us? mysql> SHOW ENGINE INNODB STATUS\G — LOGLog

Post: How innodb_open_files affects performance

…Furthermore besides MySQL table_cache Innodb maintains its…time (with innodb_flush_log_at_trx_…InnoDB: Starting crash recovery. InnoDB: Reading tablespace information from the .ibd files… InnoDB: Restoring possible half-written data pages from the doublewrite InnoDB: buffer… InnoDB: Doing recovery

Post: Innodb Recovery - Is large buffer pool always better ?

flush_insert_sorted_into_flush_list 37849 2.6804 no-vmlinux (no symbols) 8865 0.6278 mysqlflush list could grow unrestricted without Innodb bothering to flush anything (I only could see reads while recovery