Product Documentation

c-treeACE V10.0 Update Guide

Previous Topic

Next Topic

Efficient Key Count Updates for Transaction Controlled Files

Enhanced performance of transaction controlled files has been gained by avoiding header lock/unlock when updating the key count in the file header. Header update logic updates the key count and other information for an index file. However, this is not necessary for a transaction-controlled index file as updated user-specific state information is correctly applied to the file at transaction commit.

The index header lock and unlock calls were removed for transaction-controlled files and during automatic recovery. This benefits performance and scalability of index key insert and delete operations on a transaction-controlled index file by reducing the header update contention.

TOCIndex