June 18, 2013

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

in detail what the “will be disallowed in a future release” means. In MySQL 5.7 the checks will be stricter: in…. What is the difference? Let’s see an example. If we execute: mysql> ALTER TABLE test ADD INDEX (col2… the first one. Why can’t MySQL enforce this kind of constraints? For many reasons: the…

Post: MySQL Query Patterns, Optimized - Webinar questions followup

… keywords were returned in a different order from what you specify in the query? The tuple comparison you’re referring to is this example… each kind_id. It was more efficient in this case to force MySQL to scan the `title` table first, grouping by kind_id in index order.  This made the first table in

Post: Advanced index analysis with mk-index-usage

… results in my MySQL sandbox instance. The new option is –save-results-database. The full mk-index-usage command looks like this: mk-index-usage… time it uses one index, and the rest of the time it uses another. These kinds of variations in query execution plans are… looking here, but we know that there is something worth looking into. What is query 7675136724153707161, anyway? mysql> select * from queries where query_id…

Post: What to tune in MySQL Server after installation

…as MySQL DBAs or be involved with MySQL Performance in some way is to ask them what should be tuned in MySQL …larger than indexes in many cases. Check however if all of key_buffer is used over time – it is … innodb_log_buffer_size Default for this one is kind of OK for many workloads with medium …

Post: Is there room for more MySQL IO Optimization?

in set (0.02 sec) The table is approximately 30GB in size including indexes which isin buffered mode. Take a look at the graph: What this tells me is there is a lot of untapped potential in MySQL

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

…-text Search in MySQL 5.6: Part 2, The Queries![/caption] This is part 2 in a 3 part series. In part 1,… our FT index on the InnoDB table and try the above queries one more time. We already know what the…of InnoDB FTS compare to its MyISAM counterpart, and what kinds of tricks can we use to make it go…

Post: Troubleshooting MySQL Memory Usage

is being used by current MEMORY tables: mysql> select sum(data_length+index_…many kinds of memory leaks and I would say these are rather rare in MySQLMySQL, MariaDB or Drizzle bring improvements in this space allowing us to see directly for what purpose memory is allocated and so detect all kinds

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

is true that InnoDB full-text search in MySQL 5.6 (part 1) in MySQL 5.6 is syntactically identical to MyISAM full-text search, in…that kind of behavior unsettling. I don’t like case-sensitivity in my…What, exactly, are they? In short, the _CONFIG.ibd file contains configuration info about the FT index

Post: Percona Live MySQL Conference and Expo 2013: The talks I want to see

…Innodb supports Full-text indexing, I’m interested in other good discussion …in MySQL 5.6 - (Vadim Tkachenko, Percona) – Tuning Innodb is a huge part of my job, and getting up to 5.6 isin the latest/greatest out of Tungsten, and also what decision points he tends to bring to the table with this kind

Post: Innodb vs MySQL index counts

… of SHOW CREATE TABLE to what Innodb thinks.  What Innodb thinks is in the Innodb Data dictionary. The …INDEXES table, which exists in Percona Server 5.1, but doesn’t appear in MySQL until 5.6 (if the manual isindex to it, and copy the new .frm back over the original.  Kind of scary. My advice is