| Home | About FairCom | Products | Support | Sales | Contact Info | Site Map | Download | Newsletter |

Company Overview
History
Our Customers
Success Stories
Contact Information
Why FairCom
FairCom Logos
Press Releases
Customer Quotes
Site Map
Read the Dr. Dobb's Journal article on cross-platform database Programming
Read HP WORLD's article on the c-tree Server
Read the Linux Journal review on c-tree Plus
FairCom Brochure
 
 

Deferred Flush of Transaction Begin

It is not uncommon for a higher-level application API to start transactions without knowledge of whether or not any updates will occur. To reduce the overhead of unnecessary log flushes, FairCom added a new mode, ctDEFERBEG, to the c-tree API function Begin(), which is used to begin a transaction. ctDEFERBEG, causes the actual transaction begin entry in the transaction log to be delayed until an attempt is made to update a transaction-controlled file. If a transaction commit or abort is called without any updates, then the transaction begin and end log entries are not flushed to disk.

FairCom applied this change after finding that c-treeSQL SELECT statements performed in auto-commit mode involved transaction log activity due to the transaction begin and abort calls. The c-treeSQL engine now includes the ctDEFERBEG, mode in transaction begin calls, eliminating transaction log I/O for transactions that do not involve updates.

If your ISAM or c-treeDB applications begin transactions that might not involve updates, consider adding the ctDEFERBEG, mode to your transaction begin calls.


 
We have found FairCom to be very responsive and accommodating to our development and deployment needs. The product has always performed well and the FairCom group has always released high quality product. But the best thing is that our customers have told us that they love it, they simply install the server and forget about it.

George J. Gatsis
Executive Director, Development Products,
Follett Software Company

 
WEB COMMENTS
Copyright 2007 FairCom Corporation. All rights reserved.