Recent scalability fixes in InnoDB and also Google's and your SMP fixes almost made InnoDB results acceptable in primary key lookups queries, but secondary indexes were forgotten for some time. Now having Dell PowerEdge R900 on board (16CPU cores, 16GB RAM) I have some time for experiments, and I played with queries
PLAIN TEXT CODE:
- SELECT name FROM sbtest WHERE country_id = ? LIMIT 5
against table
PLAIN TEXT CODE:
- CREATE TABLE IF NOT EXISTS sbtest (
- id int(10) unsigned NOT NULL auto_increment,
- name varchar(64) …