June 18, 2013

Post: MySQL Query Patterns, Optimized - Webinar questions followup

the query optimizer take care the execution decisions? Since they are all logically the same, I believe it should all translate to the samevalues against multiple columns in a compound index, then the order would matter, and it would have to match the order of columns in the

Post: Implementing SchemaSpy in your MySQL environment

the impression that this is the only component of the tool.  There are additional tabs: Tables – Names, number of children, parents, count of columns, rowcolumn tables, incrementing column names in tables, and tables with the string NULL instead of the actual SQL NULL value

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

the word ‘arizona’ appears in over 6900 of the 7150 rows, and the word ‘records’ appears in 7082 ofthevaluecolumn the PK, but neither of those worked. Also, trying to set innodb_ft_user_stopword_table produced the same

Post: A case for MariaDB's Hash Joins

…scanning the right operand and for each row scanned performing a lookup in the hash table by using values of the columns participating in the equijoin condition. The … as compared to doing batched index lookups (BKA). However, in Test C the cost of hash join remains the same but the cost of BKA …

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

the values returned from Step 1 are sorted by the secondary key column ‘key_column‘, and then for each value of ‘pk_column‘ which is a part of thethe counters behave with MRR, but the value for counter Handler_read_key is more or less the same for MariaDB 5.5 when compared

Post: Multi Column indexes vs Index Merge

the query takes 360ms Note also the estimated values ofrows” is very wrong here. This happens because Optimizer assumes columnsof rows it will find using both indexes and as they are about the same it picks smaller index. The

Post: To pack or not to pack - MyISAM Key compression

the block boundaries – first index value is stored fully while for following value index will contain value of the bytes sames as in previous cases + thethe biggest reason joins using string keys is so much slower comparedof benchmarks now. I’ve created simple table with 100.000 rows with columns

Post: Data compression in InnoDB for text and blob fields

… FROM `t1` WHERE `id` < 1000 compare this to: SELECT AVG(LENGTH(COMPRESS…the choice of ROW_FORMAT=COMPACT and ROW_FORMAT=REDUNDANT where InnoDB stored the first 768 bytes of variable length columns (BLOB, VARCHAR, TEXT) in the… that is the same value of the InnoDB page size of 16KB?  As the fine MySQL…

Post: Using Flexviews - part two, change data capture

the transaction order and the source of the changes, respectively. Finally, note that the two insertions happened inside of the same transaction, and that the insertions happened before the

Post: Dynamic row format for MEMORY tables

the same for both row formats. (Speaking very strictly, the VM Peak value is not comparable due to slightly different number of rows inserted). In the