Home | Previous Page | Next Page   Environment Variables > Environment Variables >

DEFAULT_ATTACH

The DEFAULT_ATTACH environment variable supports the legacy behavior of Version 7.x of Dynamic Server, which required that only nonfragmented B-tree indexes on nonfragmented tables can be attached.

Read syntax diagramSkip visual syntax diagram>>-setenv--DEFAULT_ATTACH--1-----------------------------------><
 

If DEFAULT_ATTACH is set to 1, then all other indexes that you create, including R-trees and UDR functional indexes, must be detached, unless you specify the IN TABLE keywords as the Storage clause of the CREATE INDEX statement. (An attached index is one that has the same distribution scheme as the table on which it is built. Any index that does not is a detached index.)

If DEFAULT_ATTACH is not set, then any CREATE INDEX statement that does not specify IN TABLE as its Storage clause creates detached indexes by default. This release of Dynamic Server can support attached indexes that were created by Version 7.x of Dynamic Server.

Important:
Future releases of Informix database servers might not continue to support DEFAULT_ATTACH. Developing new applications that depend on this deprecated feature is not recommended.
Home | [ Top of Page | Previous Page | Next Page | Contents | Index ]