TurboDB ADO.NET Data Provider
|Previous Top Next|
Compacts a TurboDB database file.
public void CompressDatabase()
Public Sub CompressDatabase
CompressDatabase eliminates all free storage space from shortened or deleted storage objects within the database file. For performance reasons, this storage space is kept within the file and re-used for the next allocation request during normal operation. Sometimes, for example before a database is going to be deployed, it is useful to compact it in order to reduce its size on the disk.