June 19, 2013

Post: Join performance of MyISAM and Innodb

We had discussion today which involved benchmarks of Join speed for MyISAM and Innodb storage engines for CPU bound workload, this is when… the following: Innodb primary key joins are very fast as data is clustered together with index and generally highly optimized Innodb builds hash indexes which helps to speed

Comment: Using CHAR keys for joins, how much is the overhead ?

… BIGINT slowed down join speed for MyISAM tables from 1.7 seconds to 3.8 seconds, which is slower than Innodb with chars… joins I also tested few storage options. First one is LATIN1 which improved join speed from 6.1 to 4.4 seconds for Innodb…) in my “short” varchar join tests for Innodb table with utf8 encoding. This caused some degradation slowing down join speed from 4.5 seconds…

Post: Heikki Tuuri Innodb answers - Part I

… may not see a “free space” in Innodb tablespace to grow significantly. Q6: Does Innodb policy replacement algorithm takes into account page… so that we can see the full write speed of the disk for throughput. INNODB uses fuzzy checkpointing to commit data to… denormalized database (for example, if ORDER and ORDERLINE tables are joined to form a single table), it might make sense for…

Post: Innodb row size limitation

…, fcopyright TEXT, fstylesheet TEXT, fterms TEXT, PRIMARY KEY (id) ) Engine=InnoDB; Now you insert some test data into it: mysql> INSERT… http://www.mysqlperformanceblog.com/2010/02/09/blob-storage-in-innodb/ for further reference). It’s worth mentioning that this limit…. It will also impact both read and modification speed, precisely for the added join complexity. However, if you have too much variable…

Post: SHOW INNODB STATUS walk through

… thread is not runniing inside innodb kernel status could be “waiting in InnoDB queue” or “sleeping before joining InnoDB queue”. Latest one is quite interesting – to avoid too many threads competing to enter innodb queue… efficiency. Adaptive hash index is hash index Innodb builds for some pages to speed up row lookup replacing btree search with hash…

Post: XtraDB/InnoDB CPU bound benchmarks on 24cores server

…_group=2 innodb_log_file_size=512M innodb_status_file=0 innodb_thread_concurrency=0 innodb_io_capacity=1000 innodb_write_io_threads = 16 innodb_read_io_threads = 16 join_buffer… 16 threads the result is dropping down with the same speed as it grew, and with 128 connections we have the…

Post: Innodb Performance Optimization Basics

… out detailed guide on tuning innodb buffer pool innodb_log_file_size – This depends on your recovery speed needs but 256M seems to be a good balance between reasonable recovery time and good performance innodb_log_buffer… to use it in joins), large unpacked indexes (try to be easy on indexes). With these basic innodb performance tunings you will…

Post: How to recover deleted rows from an InnoDB Tablespace

…-14 13:10:08 ETA(in 00:00 hours). Processing speed: 104857600 B/sec All pages are stored in a single…) > select i.INDEX_ID, i.NAME FROM INNODB_SYS_INDEXES as i INNER JOIN INNODB_SYS_TABLES as t USING(TABLE_ID) WHERE t.NAME=’salaries’; +———-+———+ | INDEX_ID | NAME | +———-+———+ | 26 | PRIMARY | | 27 | emp_no | +———-+———+ B) InnoDB

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

….10 at the MySQL 5.5.30 data directory.  Tthe speed was essentially the same.   I did some further investigation and…> set global innodb_old_blocks_time=0; Query OK, 0 rows affected (0.00 sec) mysql> select straight_join sum(lo_extendedprice… with innodb_old_blocks_time=0: mysql> select straight_join sum(lo_extendedprice*lo_discount) as revenue from dim_date join lineorder on…

Post: Why MySQL could be slow with large tables ?

…places – this may affect index scan/range scan speed dramatically. The rows referenced by indexes also could…are scanned. There are also clustered keys in Innodb which combine index access with data access, saving…gap but I doubt it will be closed. Joins Joins are used to compose the complex object …