Difference between revisions of "SET FASTINDEX"

From Recital Documentation Wiki
Jump to: navigation, search
 
Line 15: Line 15:
  
 
==See Also==
 
==See Also==
INDEX ON
+
[[INDEX]]
  
  
Line 33: Line 33:
 
[[Category:Documentation]]
 
[[Category:Documentation]]
 
[[Category:Commands]]
 
[[Category:Commands]]
[[Category:Set_Commands]]
+
[[Category:Set_Commands|FASTINDEX]]

Revision as of 13:22, 11 March 2009

SET FASTINDEX

Class

Indexing


Purpose

Quickly build temporary indexes


Syntax

SET FASTINDEX <ON | OFF>


See Also

INDEX


Description

The Recital DBMS supports two types of index creation: normal and fast indexing. When SET FASTINDEX is set ON, index files will be built faster at the expense of a well balanced b-tree, this means updates will take longer because the tree is re-balanced as it is being used. When SET FASTINDEX is OFF, indexes may take longer to build, but will be completely balanced when the INDEX command has finished. This is the preferred method for creating indexes. Regardless of the method used to create the index, as keys are added, modified and removed from the index, balancing of the b-tree will continue. The SET FASTINDEX command has no effect when using the REINDEX command.

CAUTION: The intended proper use of SET FASTINDEX is for the rapid creation of temporary indexes that are only meant to be used once and then discarded. It is not recommended for building a permanent index of any kind.


Example

set fastindex off


Products

Recital Database Server, Recital Mirage Server, Recital Terminal Developer