Product Documentation

V9 Update Guide

Previous Topic

Next Topic

New Mode for Table Rebuilds with Missing Index Files

c-treeDB .NET lacked a facility to rebuild data and index files, due to the impossibility of using RBLIFIL() function under modes of transaction dependent creates. c-treeDB .NET could only rebuild a table with the table opened with the CORRUPT_OPEN mode and perform a full alter table by calling Rebuild() or by implicitly calling Alter(ALTER_TABLE.FULL). While this method works quite well when a table is corrupt, it did not work if one or more of the index files were missing.

A new open mode of DATAONLY_OPEN was introduced to c-treeDB .NET. When an Open() is passed with the DATAONLY_OPEN mode, c-treeDB .NET can invoke a full alter table call and rebuild all the indices, if they are missing or not.

TOCIndex