June 19, 2013

Comment: How to calculate a good InnoDB log file size

Log sequence number 17750417191 Tue May 21 22:24:15 CDT 2013 Log sequence number 17750981011 -rw-rw—- 1 mysql mysql 536870912 May 21 22:24 /var/lib/mysql/ib_logfile0 -rw-rw—- 1 mysql mysql 536870912 May…

Comment: How to calculate a good InnoDB log file size

Log sequence number 18342929533 Wed May 22 13:35:00 CDT 2013 Log sequence number 18343465682 -rw-rw—- 1 mysql mysql 536870912 May 22 13:35 /var/lib/mysql/ib_logfile0 -rw-rw—- 1 mysql mysql 536870912 May…

Comment: Percona Server 5.5.30 with TokuDB for MySQL

Same error as zhai here… Not much in the logs… the version strings look a bit broken though 130425 15:…-7.0.1-tokudb-7.0.1-29.3 started; log sequence number 1597971 Version: ’5.5.30-tokudb-7.0.1-tokudb….0.1-tokudb-7.0.1-tokudp� ‘ socket: ‘/var/lib/mysql/mysql.sock’ port: 3306 MySQL Community Server (GPL)

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: Be productive with the MySQL command line

… the rescue: mysql> pager grep sequence PAGER set to ‘grep sequencemysql> show engine innodb status\Gselect sleep(60);show engine innodb status\G Log sequence number 380166807992 1 row in set (0.41 sec) 1 row in set (1 min 0.00 sec) Log sequence number 380170274979…

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: Recovery deleted ibdata1

log sequence number and last checkpoint in “SHOW ENGINE INNODB STATUS” output. If checkpoint age is zero, all pages are flushed: — LOGLog sequence number 363096003 Log…/mysql# chown -R mysql ib* root@localhost:/var/lib/mysql# And restart MySQL: root@localhost:/var/lib/mysql# /etc/init.d/mysql

Post: Percona XtraDB Cluster reference architecture with HaProxy

…: Primary, number of nodes: 3, my index: 0, protocol version 2 120619 13:20:17 [Warning] WSREP: Gap in state sequence. Need state transfer. 120619 13:20:19 [Note] WSREP: Running: ‘wsrep_sst_xtrabackup ‘joiner’ ’10.195.206.117′ ” ‘/var/lib/mysql….8-rel25.3 started; log sequence number 246661644 120619 13:21:19 [Note] Recovering after a crash using mysql-bin 120619 13:21:19…

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…