| 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
 
 

c-tree HUGE file Support with c-treeSQL

The c-treeSQL Server by default does not create HUGE files, allowing as much backward compatibility as possible with existing applications. However, HUGE files can be enabled at table creation time. Use the following extended syntax when specifying a c-treeSQL CREATE TABLE command:

CREATE TABLE my_big_table(name CHAR(20), age INT) STORAGE_ATTRIBUTES 'HUGE'

The STORAGE_ATTRIBUTES syntax allows you to specify the specific c-tree storage attribute of HUGE. Note that the parameter HUGE must be surrounded by single quotes when using this c-treeSQL syntax.

When designing c-tree Plus applications for later use with c-treeSQL, HUGE attributes are retained during the import process. When building your tables with ISAM, this requires extended header support by defining an XCREblk and OR'ing ctFILEPOS8 into the file mode parameter. With the easy-to-use c-treeDB API, simply OR CTCREATE_HUGEFILE into the file mode parameter.


 
FairCom support has been the best that I have experienced. Here at FedEx we say thanks a lot with what we call a BZ (Bravo Zulu)!

Danny Baser
Federal Express

 
WEB COMMENTS
Copyright 2007 FairCom Corporation. All rights reserved.