vacuum_db function

Vacuum a database