The SDL Component Suite is an industry leading collection of components supporting scientific and engineering computing. Please visit the SDL Web site for more information....



GarbageCollection


Unit:SDL_geodb
Class:TGeoDB
Declaration:procedure GarbageCollection;

For performance reasons BLOBs and polygons are only marked as "deleted" and not actually removed from the database when a database entry is deleted. Thus you may want to perform a garbage collection in order to make the database files smaller if many BLOBs have been deleted.

Hint: Please note that the method GarbageCollection may require considerable time for large databases, and it needs additional temporary disk space (up to the size of the current .gdd file). In order to allow easy feedback during garbage collection, the OnPercentDone event is called regularly during the garbage collection.



Last Update: 2012-Oct-20