September 30, 2013
Power Pack Your c‑treeACE Application with V10 Upgrades
The V10 release of FairCom’s c‑treeACE has a wealth of new features and enhancements. Be sure your system and application are prepared for these latest additions and take advantage of this power-packed release.
This article provides the most notable V10 tips to empower your c‑treeACE application—both to simplify, and enable new features.
Shared Memory to Boost Performance
V10 now supports shared memory on localhost connections for Unix systems. Enabling this should give a major performance boost for those applications. The following keyword enables this feature:
This support is enabled by default. However, be sure your system is configured to take advantage of this big performance booster.
Adjust MEMORY_HASH for Best Performance
A new configuration option tunes the memory suballocator subsystem for multi-CPU systems. We strongly recommend testing with this option for performance comparison. Set this value to the number of CPUs available to the c‑treeACE process for optimal advantage.
The RECOVER_DETAILS setting is now the default. This will output detailed information about an autorecovery event in theCTSTATUS.FCS file. ALWAYS check this file are an unplanned outage to be sure your system has properly recovered.
LOGIDX Improves Recovery
In V10, the LOGIDX mode is enabled by default. This potentially adds slightly more overhead than earlier releases. However, the payoff is great on recovery. We recommend leaving this default in place (and note it could slightly change the performance comparison of transaction log writes with earlier releases).
RECOVER_MEMLOG Speeds Recovery Times
We recommend adding the RECOVER_MEMLOG keyword to your configuration. It can greatly speed recovery times, especially with large transaction log sizes, and has no effect during normal operation.
Encrypted User/Group Information
ADMIN_ENCRYPT YES is the default in V10 to bring additional levels of protection to your system. This encrypts the user and group information file FAIRCOM.FCS using FairCom’s camouflage. AES encryption is used if ADVANCED_ENCRYPTION YES is specified in ctsrvr.cfg.
A GUEST account is used when no user name is presented to c‑treeACE at connection time. Guest logons are now disabled by default. Add GUEST_LOGONS YES to your ctsrvr.cfg configuration file if you wish to continue using the guest account, which, of course, is now strongly discouraged for security concerns.
COMPATIBILITY LOG_WRITETHRU Replaces SYNC_LOG
The COMPATIBILITY SYNC_LOG setting is now deprecated. Replace it with the new keyword (which has exactly the same behavior):
COMPATIBILITY LOG_WRITETHRU (Exact same behavior)
Commit read locks prevent dirty record reads during the commit phase of a transaction.
The compatibility keyword now defaults to COMPATIBILITY COMMIT_READ_LOCK.
The SERVER_DIRECTORY keyword has been deprecated and the server will no longer recognize this keyword on startup. The much more flexible LOCAL_DIRECTORY keyword is now the only supported configuration.