<<

Contents

Search

>>

 

EBUS_PRIMARY_KEY_ONLY

 

 

Variable

 

 

Meaning:

If this variable is set to 1, only the primary key is inserted into the index files when new data records are written. When data records are rewritten the secondary keys are not adjusted. When data records are deleted only the primary key is deleted.

 

This leads to a significant speed increase when big quantities of data are read or with Index Files with many secondary keys. After the data are read the index file must be reorganised with the instruction REORG, since the index tree is faulty due to missing secondary key entries.

 

This variable is set to 0 at the start of the program.

 

Changeable:

Yes

 

Sample:

EBUS_PRIMARY_KEY_ONLY = 1

 

See also:

WRITE

DELETE

REORG