Setting the Page Buffers

From InterBase
Jump to: navigation, search

Go Up to Setting Database Properties Using InterBase Services


The SetPageBuffers method of the IBConfigService component lets you set the number of database page buffers. For example, you could set up an application that allows a user to set the number of page buffers in an Edit component:

procedure TDBConfigForm.Button1Click(Sender: TObject);
begin
  with IBConfigService1 do
  begin
    SetPageBuffers(StrtoInt(Edit2.Text));
  end;
end;

For more information on page buffers, refer to “Default cache size per database” in the Operations Guide.

Advance To: