well first off backup your database that way you have a copy of it I recommend using phpMyAdmin for that secondly there is no real easy way to "prune" you can set up a sql query to delete old threads say past a Unix Time since they are stored in Unix Time but you would have to delete all polls, all posts, and hope no threads newer link to them. it's not an easy task.
Donate to UBBDev today to help aid in Operational, Server and Script Maintenance, and Development costs.
Please also see our parent organization VNC Web Services if you're in the need of a new UBB.threads Install or Upgrade, Site/Server Migrations, or Security and Coding Services.