May 24, 2012

Post: SHOW INNODB STATUS walk through

… to publish a walk through SHOW INNODB STATUS output, showing what you can learn from SHOW INNODB STATUS output and how to use this… left by Innodb developers so SHOW INNODB STATUS can also be used as debugging tool. Next section you will find in SHOW INNODB STATUS is… SHOW INNODB STATUS, such as statement which is being executed, query id, query status etc. Next section you will see is section showing details

Post: Different flavors of InnoDB flushing

… affect how InnoDB works internally? Let me show some details. Internally, InnoDB uses two lists for flushing (writing pages from the Innodb buffer pool… from the LRU list? You could periodically check SHOW ENGINE INNODB STATUS, and see something like Pending writes: LRU N, flush list…

Post: Understand InnoDB spin waits, win a Percona Live ticket

… SHOW INNODB STATUS mean? Mutex spin waits 5870888, rounds 19812448, OS waits 375285 To understand this text, you have to understand how InnoDB… blog post to explain correctly in detail. The related source files are in the sync/ InnoDB source code directory if you want… sleep right away. So, back to the output from SHOW INNODB STATUS. Here’s what it means. Mutex spin waits 5870888 is…

Post: XtraDB/InnoDB CPU bound benchmarks on 24cores server

…_size=8M innodb_log_files_in_group=2 innodb_log_file_size=512M innodb_status_file=0 innodb_thread_concurrency=0 innodb_io_capacity=1000 innodb_write_io_threads = 16 innodb_read_io… InnoDB, but nothing special to be proud of. We definitely we will look how to fix it as next step, read detailed

Post: Innodb usability and ease of use.

… to parse SHOW INNODB STATUS output or even uglier hacks with creating tables such as innodb_lock_monitor to get more detailed information free… less understandable with value 0 meaning disabling Innodb internal thread queuing. Another one is innodb_flush_logs_at_trx_commit – initially it…

Post: Can Innodb Read-Ahead reduce read performance ?

… outstanding IO requests to the disk. Lets look at SHOW INNODB STATUS: ——– FILE I/O ——– I/O thread 0 state: waiting for… ————– ROW OPERATIONS ————– 8 queries inside InnoDB, 3 queries in queue 12 read views open inside InnoDB Main thread process no. 3956, id… be happening (I’m using “seems” as there are no detailed enough stats available) is once thread has issued read-ahead…

Post: How Percona does a MySQL Performance Audit

…, how it’s configured and what its status is. I can see the drive status, too. Sometimes a failed drive is present… most variability, so I’ll have to be even less detailed and a little vague. The next command is this: mysqladmin…’re in Locked status, which might be an indication that it’s time to convert MyISAM tables to InnoDB. (But then again…

Post: Improved InnoDB fast index creation

…’s look at each of the above cases in more detail. ALTER TABLE By temporarily dropping secondary indexes from the new… STATUS versus 265 MB index size with the optimization disabled. OPTIMIZE TABLE OPTIMIZE TABLE is mapped to ALTER TABLE … ENGINE=InnoDB for InnoDB… 57.65 sec) mysql> SHOW TABLE STATUS LIKE ‘t’\G *************************** 1. row *************************** Name: t Engine: InnoDB Version: 10 Row_format: Compact Rows…

Post: Recovering Innodb table Corruption

… Got error -1 from storage engine | | test.test | optimize | status | Operation failed | +———–+———-+———-+———————————-+ 2 rows in set, 2 …)) InnoDB: We intentionally generate a memory trap. InnoDB: Submit a detailed bug report to http://bugs.mysql.com. InnoDB

Comment: Scaling problems still exist in MySQL 5.5 and Percona Server 5.5

innodb mutex status while testing? – that may bring a light on your bottleneck for sure! (BTW, last year I’ve wrote a detailed report about this contention: http://dimitrik.free.fr/db_STRESS_MySQL_55_and_btr_search_latch_InnoDB_Oct2010.html… observed some problems with huge Buffer Pool sizes, but mutex status details were either missed, so it’s hard to understand where…