Product Documentation

V9 Update Guide

Previous Topic

Next Topic

c-treeDB Transaction Begin Modes

FairCom DB offers a rich array of data integrity options. Full transaction processing offers the safest and best performance of all the available options. There are times when other FairCom DB options, such as PREIMG, might be advantageous. c-treeDB has been enhanced to accept the following transaction processing modes:

  • CTBEGIN_NONE - No begin transaction mode set. This is the default mode.
  • CTBEGIN_PREIMG - Transaction atomicity only. Auto-recovery is not available. Mutually exclusive with CTBEGIN_TRNLOG.
  • CTBEGIN_TRNLOG - Full transaction processing functionality including auto-recovery. Mutually exclusive to CTBEGIN_PREIMG. This is the default begin transaction mode.
  • CTBEGIN_DEFER - Defer begin transaction until update.
  • CTBEGIN_AUTOSAVE - Automatically invokes savepoints after each successful record or resource update.

c-treeDB C API

  • ctdbGetTransactionMode()
  • ctdbSetTransactionMode()

c-treeDB C++ API

  • CTBase::GetTransactionMode()
  • CTBase::SetTransactionMode()

TOCIndex