Product Documentation

Database Administrator's Guide

Previous Topic

Next Topic

Efficient Single Savepoint for Large Transactions

The FairCom Server uses the ReplaceSavePoint() function internally to provide a fast, efficient means to carry along a save point in large transactions, so that an error can be undone by calling RestoreSavePoint() and then continuing the transaction. Compared to SetSavePoint(), which inserts a separate save point for each call, ReplaceSavePoint() simply updates some pre-image space links to effectively move the save point.

The ReplaceSavePoint() API call is now included in the c-tree client API. If your c-tree application needs the ability to undo only the last change in a transaction consider using ReplaceSavePoint().

TOCIndex