June 19, 2013

Post: MySQL and the SSB - Part 2 - MyISAM vs InnoDB low concurrency

a database‘s ability to optimize queries for a star schema. A star schema presents some unique challenge to the databasetable. You can find the individual SSB query definitions in my previous blog post. Test environment These tests were done on a relatively fast machine with awith no

Post: More on MySQL transaction descriptors optimization

tables with 1M rows each (about 2.1GB) for his tests, while in our original tests we used a much larger one, 16 tables with 5M rowsa fully read-only server. As soon as there is a non-trivial amount of updates to the database, all SELECT queries, even those participating in

Post: How to find MySQL queries worth optimizing ?

Rows_examined=0 same as Rows_sent meaning this query is optimized quite well. Note you may be thinking in this case there is no databaseA) – look at number of rows examined divided by number of tables in join (B) – if B is less or equals to A your query

Post: High-Performance Click Analysis with MySQL

to think outside the box, even to think of things that seem “less advanced” than using a databaseto find aa custom table, which is really constructed behind the scenes from the name-value tables in a complex query with

Post: How to recover deleted rows from an InnoDB Tablespace

to explain three of them: A) INNODB_SYS_INDEXES Percona Server has some extra tables in INFORMATION_SCHEMA that can help us to findrows With the data in our hands the last step is to import it in our database

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

in a later version. Now that we’ve sorted this out, let’s drop and rebuild our FT index on the InnoDB tablewith out it. So, for example, if we change the above query to be “+james +peterson arizona” then we might expect to

Post: Innodb row size limitation

a given row on a single database page. Innodb has a limit for the maximum row size, which is slightly less than half a databasea BLOB instead of a TEXT column for storage. You can find more information about this functions here. Split the table in a

Post: Analyzing Slow Query Table in MySQL 5.6

Queries with Percona Toolkit.  This is a guided tour of best practices for pt-query-digest, the best tool for evaluating where your database

Post: MySQL 5.6 vs MySQL 5.5 and the Star Schema Benchmark

queries to find an anomaly.  I am going to focus on the first query, which uses only one join. Since it is practical for a query with

Post: Eventual Consistency in MySQL

rows in every parent-child relationship in your database.  That is, do an exclusion join from child table to its referenced parent table, and if no matching parent rowA,B. Generating SQL with SQL Now that we know the information in KEY_COLUMN_USAGE, we can write a query to