June 18, 2013

Post: InnoDB thread concurrency

looks like: if (thread->n_tickets_to_enter_innodb > 0) { thread->n_tickets_to_enter_innodb–; ENTER; } retry: if (entered_thread < innodb…of CPUs and you’re using mainly Innodb tables you might be unable to use all…innodb_log_flush_at_trx_commit=0 or 2 smaller values may make sense. If you have binary

Post: MySQL Crash Recovery

… in MySQL and so problem potential is larger. So lets look at the problem which happen during the crash which might need…_per_table=1 your recovery speed will depend on number of Innodb tables you have, as well as many other operations, so beware. Binary log corruption – Binary log may become corrupted…

Post: Recovery beyond data restore

… for complex systems. Instead of looking just at data restore process you better look at the whole process which …as using sync-binlog innodb_flush_logs_at_trx_commit=1 and only using Innodb tables to be OK … a standby MySQL server or at least synchronously replicated master binary logs. If you can’t …

Post: How Percona does a MySQL Performance Audit

… bad query plan. After this I’ll look at SHOW INNODB STATUS\G and see if there’s anything worth … other things I’ll look at, including checking for default users in the mysql.* tables, running mk-duplicate-key-…If it’s not possible to use a patched binary, we can use MySQL Proxy, packet sniffing, or …

Post: Updated msl (microslow) patch, installation walk-through!

…your platform. Also have a look at the files in the Docs … for details). Then rename the binary, which can be safely … full_scan, full_join, tmp_table, tmp_table_on_disk, filesort, filesort_on…InnoDB extensions msl patch for MySQL 5.0.51a with InnoDB extensions msl patch for MySQL 5.0.54a with InnoDB

Post: Troubleshooting MySQL Upgrade Performance Regressions

…query logs but if this is not possible at least look at network traffic from tcpdump. This should help…MySQL 5.6 you can also store innodb stats in table so you have more control over them…the bug at this point. Check Binaries Make sure you’re not using debug binary or differently optimized binaries. …

Post: Heikki Tuuri Innodb answers - Part I

… as efficient as a binary search can be performed. But InnoDB‘s adaptive hash indexes require …Innodb decided how many pages to flush at each checkpoint interval HT: Usually it is 128, or less. PZ: Looks…example, if ORDER and ORDERLINE tables are joined to form a single table), it might make sense …

Post: MySQL Backup tools used by Percona Remote DBA for MySQL

… In addition to local copies, store backups offsite. Look at the cost of S3 or S3+Glacier, … the conditions. Percona XtraBackup for MySQL for binary backups. Strong Points: It can restore an … backups between myisam and innodb tables. Global read lock only held until myisam tables are dumped. We …

Post: MySQL Indexing Best Practices: Webinar Questions Followup

TABLE LINK (id1 int unsigned not null ,id2 int unsigned not null, PRIMARY KEY(id1,id2), KEY K(id2)) engine=INNODB; when table… using UUID it is at least good to convert it in binary form and store as…data in already sorted order and looks at “one group at the time”, computing aggregate functions as …