IBX.IBServices.TIBConfigService.SetSweepInterval

From RAD Studio API Documentation
Jump to: navigation, search

Delphi

procedure SetSweepInterval (Value: Integer);

C++

void __fastcall SetSweepInterval(int Value);

Properties

Type Visibility Source Unit Parent
procedure
function
public
IBX.IBServices.pas
IBX.IBServices.hpp
IBX.IBServices TIBConfigService

Description

Sets the sweep interval.

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.