June 19, 2013

Post: How Percona does a MySQL Performance Audit

a whole, and now I’m ready to see what’s up with the database. The first step is to finda bunch of other things I’ll look at, including checking for default users in the mysql.* tables, running mk-duplicate-key-checker to find

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

of 5-10 minutes. To understand things affecting recovery time you better to understand how Innodb recovery works. When Innodb recovers from logs it findsof log files as Innodb needs to flush database pages to the tablespace before it can overwrite matching log records in

Post: SHOW INNODB STATUS walk through

a ;; *** (2) WAITING FOR THIS LOCK TO BE GRANTED: RECORD LOCKS space id 0 page no 16403 n bits 72 index `PRIMARY` of tableof previous statements. For complex deadlock investigations you might need to look at the log files to findin this case database pages will not be equal to total size of

Post: High-Performance Click Analysis with MySQL

of values.  You can put these into the database in a little meta-tableto handle this now. You can have the clicks column record the total, and the blue_clicks column record only blue clicks; to find

Post: Heikki Tuuri answers to Innodb questions, Part II

of commodity no one has something like it. Q35: I believe this is a somewhat trivial question, but it’s hard to find a good answer totable on a separate computer, maybe a replication slave. Can you make the reorganization run in a

Post: InnoDB Full-text Search in MySQL 5.6 (part 1)

to find out how to make InnoDB FTS blazingly-fast, but simply to get a sense of how it works compared to traditional MyISAM FTS. We’ll get to performance in

Post: Troubleshooting MySQL Memory Usage

tables ? In a lot of cases you have to guess and test, you can’t get information of howto find the cause in most cases. It is not as straightforward as it should be and I’m very hopeful future releases of

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

how to align files properly. 4. Partition table and file system properly aligned; sunit/swidth set during mkfs. Noa difference here and improves performance up to 15% in case of 8 threads running concurrently. Because the customer was running a database

Post: Gathering queries from a server with Maatkit and tcpdump

to your friendly consultant, or do any of a number of other things. Decoupling things is very helpful sometimes. Let’s see how toin the report because it matches –limit. # pct totalDATABASES sets the “no index used” flag, did you? Now we both do! This is just a brief introduction to

Post: Finding out largest tables on MySQL Server

find it later, plus it is quite handy in a way it presents information: SELECT CONCAT(table_schema, ‘.’, table_name), CONCAT(ROUND(tableto the query so it works whatever database you have active. It does not work with MySQL before 5.0 still of