In my MusicBrainz test base, the track table creates a PRIMARY KEY and three secondary indexes in 25 minutes:
CREATE TABLE `track` ( `id` int(11) NOT NULL, `artist` int(11) NOT NULL, `name` varchar(255) NOT NULL, `gid` char(36) NOT NULL, `length` int(11) DEFAULT '0', `year` int(11) DEFAULT '0', `modpending` int(11) DEFAULT '0', PRIMARY KEY (`id`), KEY `gid` (`gid`), KEY `artist` (`artist`), KEY `name` (`name`) ) DEFAULT CHARSET=utf8
The table has 9001870 entries.
Intel(R) Core(TM)2 CPU 6400 @ 2.13GHz with 2Gb RAM , Fedora Core 12 , MySQL 5.1.42 .
@@myisam_sort_buffer_size 256M .
Quassnoi
source share