June 20, 2013

Post: Flexviews - part 3 - improving query performance using materialized views

two major factors: The cost (in terms of execution time) ofcolumn `mview$pk` which is an auto_increment BIGINT surrogate key for the tablesame as the one specified above. Both views took about 40 minutes to build Deleted 100 order lines. Refreshed both views. Compared…, is the value proposition for …

Post: A case for MariaDB's Hash Joins

table by using values of the columns participating in the equijoin condition. The hash table is accessed by using a hash function on the values ofcompared to doing batched index lookups (BKA). However, in Test C the cost of hash join remains the same but the cost of

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

of quirky behavior; here, we are going to run some queries and compare the result sets. Our hope is that the one of twovalue of ‘test/innodb_myisam_stopword’ And here’s what appeared in the server’s error log: InnoDB: invalid column type for stopword table

Post: Multi Range Read (MRR) in MySQL 5.6 and MariaDB 5.5

value of ‘pk_column‘ which is a part of the secondary key tuple, a point primary key lookup is made against base table, the number of…, when MRR is used then there are two separate calls made to the storage …value for counter Handler_read_key is more or less the same for MariaDB 5.5 when compared

Post: Heikki Tuuri Innodb answers - Part I

compare a search key K to an index record R if we only knew the suffix of R. There are, ofsame benefit if you’re performing INSERT with multiple values? We build up INSERTS on our clients and insert valuescolumns form a consecutive set of leftmost columns of

Post: Join Optimizations in MySQL 5.6 and MariaDB 5.5

… also does not take into account locality of access, as you could be reading the same page multiple times. Consider if you… first a hash table will be created based on the columns of table t1 that are two be used to join rows with table t2. This… is slow as compared to MySQL 5.6. Next interesting thing are the last two columns of the table above and the values for ‘Handler_read…

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

…part will compare query results between MyISAM FTS and InnoDB FTS over the same data sets…value of an ID column that you defined for the underlying table, or it can be a sequence value generated by InnoDB when the table… additional data into the table, run an OPTIMIZE or two, delete some data, and see…

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

… have been working with Peter in preparation for the talk comparing the optimizer enhancements in MySQL 5.6 and MariaDB 5… and benchmarking optimizer enhancements one by one. So in the same way this blog post is aimed at a new optimizer…

Post: Using Flexviews - part two, change data capture

…improve query response times compared to accessing the non…transaction (two rows): mysql> insert into test.demo values (NULL…of the changes we made. You will notice that the source table only has two columnsof the changes, respectively. Finally, note that the two insertions happened inside of the same

Post: Enum Fields VS Varchar VS Int + Joined table: What is Faster?

table) columns. In practice you can also often use 4th variant which is not comparable directly, which is using integer value and having valuesame, but join query performance is 30% lower. Also note the times themselves – traversing about same amount of rows full table