June 19, 2013

Post: Dynamic row format for MEMORY tables

…. The lack of these features in the MEMORY storage engine (also known as HEAP) in MySQL has been one of the long-standing… in the documentation. What of course interests us is the MEMORY engine performance with this feature added. For that we run a…_INCREMENT, c VARCHAR(4096) NOT NULL DEFAULT ”, PRIMARY KEY (id)) ENGINE=MEMORY ROW_FORMAT=DYNAMIC DEFAULT CHARSET=latin1; Also we modify the…

Post: InnoDB in self-compiled MySQL 5.1

… storage engine | NO | NO | NO | | MRG_MYISAM | YES | Collection of identical MyISAM tables | NO | NO | NO | | MEMORY | YES | Hash based, stored in memory, useful for temporary tables | NO | NO | NO | | MyISAM | DEFAULT | Default engine as of MySQL 3.23…

Post: Should we give a MySQL Query Cache a second chance ?

… hard. Query Cache Storage Engines MySQL Query Cache now stores queries in local memory, which is great however memory amount might be limited especially… local memory, Memcache or for example local flash storage for storage. Compression You can see it as a property of Storage Engine

Post: Cache Performance Comparison

… them for MySQL Performance tuning ? Not surpising associative array cache performs the best, almost 4 times faster than APC shared memory cache… as there will be some syncronization contention while accessing shared memory cache which does not happen in this case. File cache… MySQL Cache to work CREATE TABLE `test` ( `k` varchar(60) NOT NULL default ”, `val` varchar(255) default NULL, PRIMARY KEY (`k`) ) ENGINE

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

… name, address, and the like. We are using MySQL 5.5.30 and MySQL 5.6.10 with no configuration tuning other… `INNODB_FT_DEFAULT_STOPWORD` ( `value` varchar(18) NOT NULL DEFAULT ” ) ENGINE=MEMORY DEFAULT CHARSET=utf8 The docs tell us that we need… the latin1 character set. mysql: CREATE TABLE innodb_ft_list2 ( value VARCHAR(18) NOT NULL DEFAULT ”) ENGINE=InnoDB DEFAULT CHARSET=latin1; Query…

Post: MySQL Upgrade Webinar Questions Followup

… in future MySQL versions also MyISAM tables are essentially at the state they were in MySQL 4.1 while Innodb storage engine got… note the default storage engine changed to Innodb in MySQL 5.5, meaning you might need to set storage_engine=MYISAM if you… other has full resources (including memory) available. Another thing to mention having multiple instances of different MySQL versions on the same box…

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

… 1: Default config for MySQL 5.5 and MySQL 5.6, no tuning at all Config 2: MySQL 5.6 with all default…). 12GB memory 4 disk 7200RPM RAID 10 array with 512MB write-back cache  Star Schema Benchmark – Scale Factor 1 – Mysql 5.5… access the table by primary key.  This forces the storage engine to touch the same page numerous times in rapid succession…

Post: Is there room for more MySQL IO Optimization?

…with 6GB allocated for innodb_buffer_pool which with other memory needs leaves roughly 1GB for OS Cache. Here is …the production over time: mysql> show table status like “post_channel” \G *************************** 1. row *************************** Name: post_channel Engine: InnoDB Version: 10 Row…

Post: The Doom of Multiple Storage Engines

… In Memory storage engines vs Distributed ones. Trying to handle all different cases in Optimizer – such as in memory nature of MEMORY storage engine, clustering… run for different storage engines, but really this is not enough as MySQL allows you using multiple storage engines in the query you…

Post: MySQL Server Memory Usage

… may require 768MB of memory. Storage Engines. In general storage engines may have their own per thread or global memory allocations which are not tuned as buffers. Watch for these especially now with many storage engines being released for MySQL by…