I have a table for a tag cloud, but I get lots of cpu exceeded messages when I get over 10,000 rows. Is there a script or something I can run using cron that would keep the rows to around 10,000?
they should all have id's in table (i guess) write a php page which gets the number of rows and then randomly deletes rows till it reachs 10.000 rows. Just google for "random number using php" and "delete row from mysql using php" and you'll be able to do it.