Bde.DBTables.TBatchMove.CommitCount

From RAD Studio API Documentation
Jump to: navigation, search

Delphi

property CommitCount: Integer read FCommitCount write FCommitCount default 0;

C++

__property int CommitCount = {read=FCommitCount, write=FCommitCount, default=0};

Properties

Type Visibility Source Unit Parent
property published
Bde.DBTables.pas
Bde.DBTables.hpp
Bde.DBTables TBatchMove

Description

Specifies how many records are batch moved before a commit occurs.

Use CommitCount to chunk batch operations into smaller operations. CommitCount allows an application to accommodate server transaction logs that are not big enough to handle the entire batch. Setting CommitCount to 0 will cause chunking into the number of records that will fit in 32Kb.

Note: If the Execute method is called within an explicit transaction on the database containing the tables, CommitCount is ignored.

See Also