May 26, 2012

Post: Multi Column indexes vs Index Merge

… multi-column index on (AGE,STATE). Lets see why it is the case. MySQL indexes are (with few exceptions) BTREE indexes – this index type… now: CREATE TABLE `idxtest` ( `i1` int(10) unsigned NOT NULL, `i2` int(10) unsigned NOT NULL, `val` varchar(40) DEFAULT NULL, KEY `i1… to use second index and hence index merge, what does it turn to ? It is not combined index but single index on another column…

Post: Enum Fields VS Varchar VS Int + Joined table: What is Faster?

…, city varchar(255) NOT NULL, PRIMARY KEY (id), KEY state (state) ) ENGINE=MyISAM; 2) Table with VARCHAR: CREATE TABLE cities_varchar ( id int(10) unsigned NOT NULL auto_increment, state varchar(50) NOT NULL, city varchar(255) NOT NULL… quite expected – This is MyISAM table which is accessed via index, which means to retrieve each row MySQL will have to…

Post: InnoDB vs MyISAM vs Falcon benchmarks - part 1

… extra indexes. CREATE TABLE IF NOT EXISTS `$tableName` ( `id` int(10) unsigned NOT NULL auto_increment, `name` varchar(64) NOT NULL default ”, `email` varchar(64) NOT NULL default ”, `password` varchar(64) NOT…

Post: MySQL 6.0 vs 5.1 in TPC-H queries

varcharindex condition; Using where; Using MRR | +—-+————-+———-+——-+—————+—————+———+——+———+———————————————–+ See there are new Extra notes USING INDEX

Post: Analyzing air traffic performance with InfoBright and MonetDB

INT(11) DEFAULT NULL, `FirstDepTime` varchar(10) DEFAULT NULL, `TotalAddGTime` varchar(10) DEFAULT NULL, `LongestAddGTime` varchar(10) DEFAULT NULL, `DivAirportLandings` varchar(10) DEFAULT NULL, `DivReachedDest` varchar… about InfoBright vs MonetDB comparison… not have indexes like InfoBright, but…

Post: PBXT benchmarks

… tested only READ queries, similar to ones in benchmark InnoDB vs MyISAM vs Falcon (http://www.mysqlperformanceblog.com/2007/01/08/innodb… extra indexes. CREATE TABLE IF NOT EXISTS `$tableName` ( `id` int(10) unsigned NOT NULL auto_increment, `name` varchar(64) NOT NULL default ”, `email` varchar