June 19, 2013

Post: The small improvements of MySQL 5.6: Duplicate Index Detection

…: GTID-based replication, InnoDB Fulltext, Memcached integration, …SHOW CREATE TABLE test\G *************************** 1. row *************************** Table: test Create Table: CREATE TABLE `test` ( … Percona tend to find redundant indexes. And second…MySQL server, of course, cannot risk to block …

Post: Understanding the maximum number of columns in a MySQL table

…as 4096. This, however, is not the true limit. To find out what the actual limit is, we must delve …the limit that a certain part of the FRM file cannot be greater than 64kb. The bit of code in …MySQL 5.6 you can create a table with a few more columns in InnoDB! This led me on another idea… what…

Comment: MySQL 5.6 - InnoDB Memcached Plugin as a caching layer

….6/en/innodb-memcached-internals.html there are some caching settings to play with: “Table cache_policies specifies whether to use InnoDB as the data store of memcached (innodb_only), or to use… the last case, if memcached cannot find a key in memory, it searches for the value in an InnoDB table.” I’d like to…

Post: InnoDB Full-text Search in MySQL 5.6: Part 2, The Queries!

InnoDB cannot find it at all? I suspect that the “B” is causing problems for InnoDB

Post: Data compression in InnoDB for text and blob fields

… time to effect the table compression modification (given the long run-time of the ALTER TABLE), you may find your application benefits from… GLOBAL innodb_file_format=BARRACUDA; One caveat: you must be running with innodb_file_per_table=1 as the InnoDB system tablespace cannot be compressed…

Post: Recovering CREATE TABLE statement from .frm file

…_innodb; ERROR 1146 (42S02): Table ‘test.test_innodb‘ doesn’t exist With more elaborate details in error log: 081217 15:59:11 [ERROR] Cannot find or open table test/test_innodb from the internal data dictionary of InnoDB though the .frm file for the table exists. Maybe…

Post: Hijacking Innodb Foreign Keys

…data change needs a table rebuild. In some real life production cases you might find tables which are large…id=1 and v=’BBB’; ERROR 1452 (23000): Cannot add or update a child row: a …> create table parentx(i int) engine=innodb; ERROR 1005 (HY000): Can’t create table ‘test.parentx’ (errno: 150) Innodb

Post: Helgrinding MySQL with InnoDB for Synchronisation Errors, Fun and Profit

find on MySQL server. Let’s take a recent 5.1 bzr version (pre-5.1.61) and a single test, innodb…/loads are technically atomic, i.e. you cannot observe any intermediate state, it is likely …) ==9090==    by 0x74E4DF: get_schema_tables_result(JOIN*, enum_schema_table_state) (sql_show.cc:6238) ==9090…

Post: MySQL Error Message Nonsenses

… yt values (66666); ERROR 1114 (HY000): The table ‘yt’ is full For me table is full means something like I’m out… 13:26:01InnoDB: Warning: cannot find a free slot for an undo log. Do you have too InnoDB: many active transactions running concurrently… to find out this error is foreign key related but you also need to run SHOW INNODB STATUS to see what exactly Innodb

Post: The relationship between Innodb Log checkpointing and dirty Buffer pool pages

Innodb will allow us to go in the transaction logs; our Checkpoint age cannot exceed this without blocking client operations in Innodb… pages in the buffer pool to find the one with the oldest LSN, …few tables and/or use the global tablespaces) *cough ext3 cough*. innodb_adaptive_flushing: An Innodb