Just to comment on what SplitIce said, when deleting threads I would recommend to do a physical delete rather than a soft delete that way the post/thread is totally removed from the database.

Doing this will also mean that you can create backups a lot faster too

JGM.