TurboDB ADO.NET Data Provider

TurboDBConnection.CreateDatabase Method

Previous  Top  Next

Compacts a TurboDB database file.

C#

public void CompressDatabase()

Visual Basic

Public Sub CompressDatabase

Description

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.

See also

TurboDBConnection class | TurboDBConnection members