For 35 million records I have this table
CREATE TABLE IF NOT EXISTS `records` (
`code` varchar(12) NOT NULL,
`type` varchar(255) NOT NULL,
`used` set('y','n') NOT NULL default 'n',
PRIMARY KEY (`code`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8;
The code is alphanumerical and unique. I just have to check if a code exists and whether or not it has been used.
What server specs would you recommend? Any other suggestions on arquitechture? We will probably be using Rackspace so if you have any experience with them that would be great.