RAD Studio VCL Reference
ContentsIndex
PreviousUpNext
TIBConfigService.SetSweepInterval Method

Sets the sweep interval.

Pascal
procedure SetSweepInterval(Value: Integer);
C++
__fastcall SetSweepInterval(int Value);

Call SetSweepInterval set the sweep interval for the database. The sweep interval refers to the number of transactions between database sweeps. 

To turn off database sweeps, set the sweep interval to 0. 

Sweeping a database is a systematic way of removing outdated records from the database. Periodic sweeping keeps the database from getting too large. However, sweeping can also slow performance. For more information, refer to 'Setting the sweep interval' in the InterBase 6 Operations Guide.

Note: You must install InterBase 6 to use this feature.
 

 

Copyright(C) 2009 Embarcadero Technologies, Inc. All Rights Reserved.
What do you think about this topic? Send feedback!