June 20, 2013

Post: MySQL and the SSB - Part 2 - MyISAM vs InnoDB low concurrency

MySQL version used: 5.6….indexes were built using ALTER TABLE fast index creation (merge sort). For the MyISAM tests I used a 10GB key buffer. I used ALTER TABLEALTER TABLE ENABLE KEYS. my.cnf [mysqld] datadir=/mnt/mysql56/data basedir=/usr/local/mysql socket=/var/lib/mysql/mysql…-links=0 innodb_…

Post: The small improvements of MySQL 5.6: Duplicate Index Detection

… new features that MySQL 5.6 brought: GTID-based …0 mysql> ALTER TABLE test ADD INDEX (col2); Query OK, 0 rows affected (0.25 sec) Records: 0 Duplicates: 0 Warnings: 0 mysql> SHOW CREATE TABLE test\G *************************** 1. row *************************** Table: test Create Table: CREATE TABLE

Post: Hacking to make ALTER TABLE online for certain changes

ALTER TABLE `huge_table` CHANGE `id` `id` int(6) NOT NULL and then wait hours for table

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

table that has never had a full-text index on it, and then I create one, the following warning is generated: mysql> alter table…_table_name | | | use_stopword | 1 | | table_state | 0 | +—————————+———+ I ran OPTIMIZE TABLE several more times, and each execution took between 6

Post: Concatenating MyISAM files

0 rows affected (0.01 sec) mysql> alter table test_concat add data varchar(10); Query OK, 0 rows affected (0.01 sec) Records: 0 Duplicates: 0 Warnings: 0 mysql> alter table

Post: Thinking about running OPTIMIZE on your Innodb Table ? Stop!

mysql> alter table a drop key c; Query OK, 0 rows affected (0.46 sec) Records: 0 Duplicates: 0 Warnings: 0 mysql> optimize table a; +——–+———-+———-+——————————————————————-+ | Table

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

… upgrading to 5.6 and running ALTER TABLE foo ENGINE=InnoDB. In …| full_name | score | +———+——————+——-+ | 1310720 | Terry Lynn Suter | 0 | +———+——————+——-+ In the immortal words of …dropped/rebuilt the InnoDB index, and tried again. mysql: SELECT id, full…

Post: How Percona does a MySQL Performance Audit

0 | 0 | | Binlog_cache_use | 9630066 | 468 | | Bytes_received | 38563413074 | 1708212 | | Bytes_sent | 216162991863 | 7796961 | | Com_admin_commands | 255868807 | 11893 | | Com_alter_db | 0 | 0… This is happening 6 times every …mysql.* tables, running mk-duplicate-key-checker to find redundant indexes

Post: Copying InnoDB tables between servers

tables=tpcc.order_line* –target-dir=/data/vadim/mysql/export/ xtrabackup: tables regcomp(): Success xtrabackup Ver 0.8.1rc Rev 78 for 5.0… When it’s done, final import command: alter table order_line import tablespace; now some …: import: 2 indexes are detected. InnoDB: Progress in %: 1 2 3 4 5 6 7 …

Post: Announcing Percona Server 5.6.6-60.1 Alpha

… it. fast_index_creation variable has been removed, it is replaced by the MySQL 5.6’s ALGORITHM= option to ALTER TABLE HandlerSocket has been removed from the tree. It was not built with the 5.6.5-60.0