> According to database.mysql there is no index on cid. Can you try adding > one? Length 15 or so should do. What's this in database.mysql then? CREATE TABLE cache ( ... PRIMARY KEY (cid) Splitting cache table is a good idea though.