Setting the Async Mode
From InterBase
Go Up to Setting Database Properties Using InterBase Services
InterBase allows you to write to databases in both synchronous and asynchronous modes. In synchronous mode, the database writes are forced. In asynchronous mode, the database writes are buffered.
Set the SetAsyncMode
method of the IBConfigService
component to True
to set the database write mode to asynchronous.
procedure TDBConfigForm.CheckBox2Click(Sender: TObject);
begin
with IBConfigService1 do
begin
SetAsyncMode(True);
end;
end;
For more information, refer to “Forced writes vs. buffered writes” in the Operations Guide.