RAD Studio VCL Reference
ContentsIndex
PreviousUpNext
TIBBatchMove.CommitCount Property

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

Pascal
property CommitCount: Integer;
C++
__property int CommitCount;

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 32K bytes.

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

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