June 19, 2013

Post: MySQL 5.6 vs MySQL 5.5 and the Star Schema Benchmark

speed is very consistent, just a few tenths of a second off per run.  I then rebooted the machine and fired up… in pages afterwards: mysql> select sq.*, pages / (@@innodb_buffer_pool_size / 16384) * 100 pct_buffer_pool from ( select table_name, index_name, count(*) pages, sum…

Post: Why MySQL could be slow with large tables ?

speed up accesses to database. Some people would also remember if indexes are helpful or not depends on index selectivitymysql> select count(pad) from large; +————+ | count(pad) | +————+ | 31457280 | +————+ 1 row in set (4 min 58.63 sec) mysql> select count… in Innodb which …

Post: Recovery deleted ibdata1

…age 7782360 To speed up flushing we can set dirty pages percentage to zero: mysql> set global innodb_max_dirty…mysql# And restart MySQL: root@localhost:/var/lib/mysql# /etc/init.d/mysql restart After the restart all InnoDB tables are reachable: mysql> select count(*) from sbtest; +———-+ | count

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

speed up bulk loading into an InnoDBmysql> select * from information_schema.innodb_ft_config; +—————————+———+ | KEY | VALUE | +—————————+———+ | optimize_checkpoint_limit | 180 | | synced_doc_id | 1032677 | | last_optimized_word | | | deleted_doc_count

Post: SHOW INNODB STATUS walk through

…event counters – “reservation count” and “signal count” show how actively innodb uses internal sync array …InnoDB 442 mysql tables in use 1, locked 0 MySQL thread id 8079, query id 728899 localhost root Sending data select… is hash index Innodb builds for some pages to speed up row lookup replacing …

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: Join performance of MyISAM and Innodb

… KEY `c` (`c`) ) ENGINE=MyISAM DEFAULT CHARSET=utf8; select count(t1.pad),count(t2.pad) from t1,t1 t2 …index and generally highly optimized Innodb builds hash indexes which helps to speed up lookup by indexes by passing…the index, so there is no need for MySQL to request next row matching index Note: …