June 19, 2013

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

column named “value”. OK, sounds easy enough: mysql: SHOW CREATE TABLE innodb_myisam_stopword\G *************************** 1. row *************************** Table: innodb_myisam_stopword Create Table: CREATE TABLE… the case with multi-byte character sets…. How does the speed of InnoDB FTS …

Post: 3 ways MySQL uses indexes

…first place. Most popular index type in MySQL – BTREE can speed up equality and prefix range matches. …row lookup. Very common problem I see is multi column indexes which are used but only to …type in explain which correspond to scanning (potentially) complete table in the index order. It is very …

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

… in preparation for the talk comparing the optimizer enhancements in MySQL 5.6 and MariaDB 5.5. We are taking a… optimizer enhancement Index Condition Pushdown (ICP). Its available in both MySQL 5.6 and MariaDB 5.5 Now let’s take…

Post: Why MySQL could be slow with large tables ?

…stored in different servers), multi-server partitioning to …column in this table has 10000 distinct value, so range 1..100 selects about 1% of the table. The times for full table scan vs range scan by index: mysql… index scan/range scan speed dramatically. The rows …

Post: Realtime stats to pay attention to in Percona XtraDB Cluster and Galera

…currently. Let’s go through the columns. Cluster There are 4 columns in the cluster section, and it… really just tells you if multi-threaded replication could help improve replication speed at all. Conflct Replication conflicts,…on the third.  I had to decrease my table size from 250k to 2.5k to start…

Post: MySQL Users Conference - Innodb

…be much larger than table itself) The index build speed is however not …table locks which are taken for statement duration for Inserts with auto-increment column….full statement duration. The problem with multi value inserts however is the following …which may come in MySQL 5.2 or even MySQL 5.1. I …

Post: Recovery deleted ibdata1

… –oltp-table-size=1000000 –max-time=3600 –mysql-user=root run sysbench 0.4.12: multi-…column Threads started! Screen1: root@localhost:/var/lib/mysql# rm ib* root@localhost:/var/lib/mysql# Now the files have gone, but MySQL… To speed up flushing we can set dirty pages percentage to zero: mysql> set …

Post: Innodb row size limitation

…; Now you insert some test data into it: mysql> INSERT INTO example -> VALUES ( ->   NULL, ->Â… table definition, but at row insertion. You may just have a table with 50 variable length columns,… any multi table update in a transaction. It will also impact both read and modification speed, precisely…