May 25, 2012

Comment: How to change innodb_log_file_size safely

… the file full: wait… InnoDB: The log sequence number in ibdata files does not match InnoDB: the log sequence number in the ib_logfiles! 120502 11…; log sequence number 119 647537164 1120502 11:51:17 [Note] /usr/libexec/mysqld: ready for connections. Version: ’5.0.95′ socket: ‘/var/lib/mysql/mysql

Comment: How to recover a single InnoDB table from a Full Backup

…:38:52 InnoDB: Error: page 0 log sequence number 6094071743825 InnoDB: is in the future! Current system log sequence number 6087296438643. InnoDB: Your database may be… InnoDB InnoDB: tablespace but not the InnoDB log files. See InnoDB: http://dev.mysql.com/doc/refman/5.5/en/forcing-innodb…

Post: MVCC: Transaction IDs, Log Sequence numbers and Snapshots

MySQL Storage Engines implementing Multi Version Concurrency Control have several internal … or not. Log Sequence Number (LSN) Log Sequence Numbers correspond to given position in the log files and typically incremented for each log record. Innodb uses number of bytes…

Post: How to calculate a good InnoDB log file size

… time: mysql> pager grep sequence PAGER set to ‘grep sequencemysql> show engine innodb status\G select sleep(60); show engine innodb status\G Log sequence number 84 3836410803….00 sec) Log sequence number 84 3838334638 1 row in set (0.05 sec) Notice the log sequence number. That’s the total number of bytes written…

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

… we see about Innodb log checkpointing and what does it tell us? mysql> SHOW ENGINE INNODB STATUS\G — LOGLog sequence number 9682004056 Log flushed up to 9682004056 Last checkpoint at 9682002296 This shows us the virtual head of our log (Log sequence Number), the last…

Post: MySQL 5.5.8 - in search of stability

… space in innodb_log_file corresponds to changed pages in the buffer pool. You can compute this value as Log sequence number – Last checkpoint….33x better than in “MySQL compatible mode”, though it requires 10500MB for checkpoint age; that is, 14000MB of log space. And, the… conclusion is: You can try to get stable throughput in MySQL 5.5.8 by playing with innodb_max_dirty_pages…

Post: How to recover a single InnoDB table from a Full Backup

…the InnoDB shared tablespace (ibdata) and the transaction IDs and log sequence numbers that are stored in the tablespace files also differ between…/var/lib/mysql/data/employees/ Import the new tablespace: mysql> set FOREIGN_KEY_CHECKS=0; mysql> ALTER TABLE salaries IMPORT TABLESPACE; mysql> set …

Post: SHOW INNODB STATUS walk through

… transaction processing and all kinds of other things. In MySQL 5 number of Innodb performance counters were exported and now available in… buffer pool so such log sequences can’t be overwritten in log files. By monitoring log sequence number and value up to which logs have been flushed…

Post: Copying InnoDB tables between servers

log scanned up to (3 767617628) Copying ./ibdata1 to /data/vadim/mysql/export//ibdata1 >> log scanned up to (3 769009554) …done Copying ./mysql… Doing recovery: scanned up to log sequence number 3 768598528 (6 %) …. InnoDB: Doing recovery: scanned up to log sequence number 3 845737724 (99 %) …

Comment: Returning to InnoDB scalability

…_size=3G =================================================== =================MySQL error log=================== 060804 20:56:56 InnoDB: Started; log sequence number 45 3475747758 060804 20:56:56 [Note] /opt/mysql/bin/mysqld: ready for connections. Version: ’5.0.22-log‘ socket: ‘/tmp/mysql.sock…