May 25, 2012

Post: InnoDB's gap locks

re simply doing a SELECT. They only occur if you do UPDATE or DELETE or SELECT FOR UPDATE. InnoDB…19 page no 3 n bits 80 index `GEN_CLUST_INDEX` of table `test`.`t` trx id 72C lock…innodb-locks-set.html. Conclusion MySQL uses REPEATABLE READ as the default isolation level so it needs to lock the index

Post: Troubleshooting MySQL Memory Usage

mysql> select * from information_schema.global_temporary_tables \G *************************** 1. row *************************** SESSION_ID: 7234 TABLE_SCHEMA: test TABLE_NAME: my ENGINE: InnoDB

Post: Recovering Innodb table Corruption

… you’re running MySQL with Innodb tables and you’ve got crappy hardware, driver bug, kernel bug, unlucky power failure or some rare MySQL bug…) == dict_index_get_page(index)) InnoDB: We intentionally generate a memory trap. InnoDB: Submit a detailed bug report to http://bugs.mysql.com. InnoDB: If you… 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: Innodb vs MySQL index counts

Table database_name/table_name contains 8 indexes inside InnoDB, which is different from the number of indexes 7 defined in the MySQLINNODB_SYS_INDEXES from some bad experiences with it, and suggested the Innodb Table

Post: How to recover deleted rows from an InnoDB Tablespace

… doesn’t work. How can I recover deleted rows? We’re going to follow the same example as in my previous… information related with tables and indexes (with their IDs) to the error log. mysql (employees) > CREATE TABLE innodb_table_monitor (id int) ENGINE=InnoDB; TABLE: name employees/salaries…

Post: Thinking about running OPTIMIZE on your Innodb Table ? Stop!

TABLES on Innodb table to ensure there is not ton of queries starting reading table with no indexes

Post: How much space does empty Innodb table take ?

Innodb File Per Table) -rw-rw—- 1 mysql mysql 8578 Dec 16 20:33 test_innodb.frm -rw-rw—- 1 mysql mysqlInnodb tables – they will take much more space than MyISAM. So .ibd file we get in case of table having no indexes

Post: INSERT INTO ... SELECT Performance with Innodb tables.

Innodb tables probably got use to the fact Innodb tables perform non locking reads, meaning unless you…. For example if you’re doing batch processing which is well indexed you might chop transactions …inside InnoDB 3 mysql tables in use 1, locked 1 2539 lock struct(s), heap size 224576 MySQL thread id…

Post: Ultimate MySQL variable and status reference list

innodb_status_fileblogpercona.commanual innodb_strict_modeblogpercona.commanual innodb_support_xablogpercona.commanual innodb_sync_spin_loopsblogpercona.commanual innodb_table_locksblogpercona.commanual innodb_thread_concurrencyblogpercona.commanual innodb

Post: What to tune in MySQL Server after installation

indexes for temporary tables which are created on disk. innodb_buffer_pool_size This is very important variable to tune if you’re using Innodb tables. Innodb tables