June 19, 2013

Post: Understanding the maximum number of columns in a MySQL table

of columns is this: /* Hack to avoid bugs with small static rows in MySQL */ reclength=max(file->min_record_length(tablecolumns, you can only have 255 ENUM columns with unique valuessame as what I can create. That’s right folks, in MySQL 5.6 you can create a table with a few more columns

Post: Is Synchronous Replication right for your app?

…) between any two nodes in … touch the same row.  Row locks are…column to the users_groups table so we don’t need to update the parent group row so often? INSERT INTO users_groups (user_id, group_id, joined) VALUESof us are used to the tradeoffs we take when deploying conventional stand-alone MySQL

Post: Follow these basics when migrating to Percona XtraDB Cluster for MySQL

MySQL is a hot…same enabled. MyISAM in PXC May Lead to Inconsistencies and May Not Even Work! MyISAM tables…-Incrementing Columns PXC/Galera controls auto-incrementing values … described on these two bugs. Galera use… master can use ROW based binlog format … when automatic creation of primary keys for …

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…_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 to MySQL

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

column `mview$pk` which is an auto_increment BIGINT surrogate key for the tabletable, three orders of magnitude more quickly than COUNT(*). mysql> select count(*) cnt from order_lines\G *************************** 1. row *************************** cnt: 155187034 1 row

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

of two things will happen; either the results returned from a MyISAM FTS query will be exactly identical to the samevalue of ‘test/innodb_myisam_stopword’ And here’s what appeared in the server’s error log: InnoDB: invalid column type for stopword table

Post: High-Performance Click Analysis with MySQL

… you need. Because I’ve built two such systems to manage online ads …tables… Optimize For I/O It is pretty much inevitable: if you do this kind of data processing in MySQLcolumn, and we just moved those other values around to store them “next, to in the same row” instead of “below, in the next row

Post: On Character Sets and Disappearing Tables

VALUES (‘value_fk1_to_2′, ‘value_fk1_to_3′, ‘value_fk3_to_1′); INSERT INTO dos2 VALUES (‘value_fk1_to_2′, ‘valueof InnoDB file formats.  Moreover, trying to modify any of the remaining tables could cause the sameof an inconsistency present when MySQL won’t allow us to change an FK-referenced column

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

value of an ID column that you defined for the underlying table, or it can be a sequence value generated by InnoDB when the tableMySQL 5.6, and that was to change innodb_ft_min_token_size from the default of 3 to a value of

Post: A case for MariaDB's Hash Joins

of two phases, a build phase and a probe phase. Let’s consider the case of joining two tablesrow scanned performing a lookup in the hash table by using values of the columns participating in the equijoin condition. The hash table