June 19, 2013

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

rows affected (41 min 52.04 sec) Data dictionary Here is a quick example of the list of tablessame as the one specified above. Both views took about 40 minutes to build Deleted 100 order lines. Refreshed both views. Compared

Post: A case for MariaDB's Hash Joins

row scanned performing a lookup in the hash table by using values of the columns participating in the equijoin condition. The hash tablecompared 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…Handler_read_key and Innodb_rows_read to be incremented by TWO. It does not …value for counter Handler_read_key is more or less the same for MariaDB 5.5 when compared

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

compare query results between MyISAM FTS and InnoDB FTS over the samevalue of an ID column that you defined for the underlying table, or it can be a sequence value generated by InnoDB when the tableof the other I_S tables, I do find that the number of rows in I_S.innodb_ft_index_table

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

comparedtwo rows): mysql> insert into test.demo values (NULL,2),(NULL,3); Query OK, 2 rowsrows in the changelog, each representing one of the changes we made. You will notice that the source table only has two columns

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, oftwo extents same as primary key tree or stored in the same extent ? HT: An InnoDB extent is a contiguous block ofof threads allowed inside InnoDB. Valuecolumns form a consecutive set of leftmost columns of

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 amount of rows full table scan performs about 25 times better than accessing rows

Post: Dynamic row format for MEMORY tables

tables can have BLOB and TEXT columns, and VARCHAR columns will not waste space due to implicit extension to CHAR. The lack ofsame for both row formats. (Speaking very strictly, the VM Peak value is not comparable due to slightly different number of rows… The results of this test (two client threads…