DISABLE database FOR INDEXING
If definitions for TPIs are entered in the ALLBASE/SQL SYSTEM
CATALOG, the DISABLE database for INDEXING command triggers removal
of the TPI information from all DBEs to which the
database is attached. The removal of TPI information
from all DBEs is necessary,
otherwise, results can be unpredictable at run-time.
If removal of this information fails in one DBE,
it proceeds with subsequent existing DBEs. If such an attempt
fails in one or more DBEs, upon completion of the last attempt, a
message is displayed as follows:
Dropping of Third-Party Indices failed
from these HP SQL DBEnvironments
|
This is followed by names of DBEs in which the dropping of TPIs failed.
In this case, the database still remains ATTACHed, however, the
ALLBASE/SQL Optimizer has no knowledge of the TPIs as that information is removed.
In brief, DETACH (of IMAGESQL) only deletes information about
TPIs from one DBE. DISABLE (of DBUTIL) attempts to
remove information on TPIs from all DBEs to which the
database is attached as the database is turned off for TPI.