May 24, 2012

Post: Troubleshooting MySQL Memory Usage

MySQL will allocate a lot of memory for table cache, especially if you’re using large blobs. It is easy to check though. Run “FLUSH TABLESin set (0.00 sec) Innodb Memory Usage Finally it is often helpful to check how much memory Innodb has allocated. In

Post: Index Condition Pushdown in MySQL 5.6 and MariaDB 5.5 and its performance impact

I have been working with Peter in preparation for the talk comparing the optimizer enhancements in MySQL 5.6 and MariaDB 5.5. We are taking a look at and benchmarking optimizer enhancements one by one. So in… limitations in cases such as range scans, where index parts after the part on which range condition is applied cannot be used

Post: InnoDB's gap locks

to other sessions. How to troubleshoot gap locks? Is possible to detect those gap locks using SHOW ENGINE INNODBMySQL thread id 3, OS thread handle 0x7f84a78ba700, query id 163 localhost msandbox TABLE LOCK table

Post: How to recover deleted rows from an InnoDB Tablespace

InnoDB Table Monitor The index information can also be taken directly from MySQL using the InnoDBto remove the innodb_table_monitor. C) Check the size on disk of every indes This is very dependent of the table

Post: What to tune in MySQL Server after installation

in MySQL Server straight after installation, assuming it was installed with default settings. I’m surprised how many people fail toinnodb_buffer_pool_size This is very important variable to tune if you’re using Innodb tables. Innodb tables are much more sensitive to buffer size compared to

Post: How to Monitor MySQL with Percona's Nagios Plugins

to monitor in MySQL. Those are only suggestions; any given deployment might want to monitor only some of them, as appropriate, and might need to include others as well. Here’s how you can use our new monitoring plugins to check

Post: Recovering Innodb table Corruption

in this example. Another hint – you may want to CHECK your MyISAM table you use for recovery after MySQL crashes to make sure indexes are not corrupted. So we looked at how to get your data back from simple Innodb Table

Post: Avoiding auto-increment holes on InnoDB with INSERT IGNORE

using InnoDB tables on MySQL version 5.1.22 or newer? If so, you probably have gaps into mimic the INSERT IGNORE behaviour without losing auto increment values. Let’s start! Why do we have gaps? InnoDB checksTABLE to change the auto incremental column size

Post: How much space does empty Innodb table take ?

Check out files (using Innodb File Per Table) -rw-rw—- 1 mysql mysql 8578 Dec 16 20:33 test_innodb.frm -rw-rw—- 1 mysql mysql

Post: Choosing innodb_buffer_pool_size

MySQL Box and you’re only using Innodb tables you will want to give all memory you do not need for other needs for Innodbsize you need to check if there are any restrictions on Innodb Buffer Size you can use