This utility, which creates a log file, works with both the Oracle database and the SQLserver database. It automatically determines the current database type and identifies it in the log file.
A recap of the different cases encountered and corresponding index numbers is displayed at the end of the log file. This recap also displays the number of indexes linked to long objects (Clob/Blob) for an Oracle data base.
Screen management
This function is run by answering Yes to the confirmation box that is displayed. Next, the log file is displayed.
An example of a log file that can be generated is given below.
Example of a log file created by the function
| List of the dictionary's indexes that do not exist on Oracle ******************************************************************************** Table Index Description -------------------------------------------------------------------------------- AABREV AAB1 MOT ABANK ABN0 CRY+BAN --------------------------------------------------------------------------------
-
List of internal indexes on Oracle ******************************************************************************** Table Oracle Index -------------------------------------------------------------------------------- SYSBLBK SYSBLBK_IDX SYSBLBK SYS_IL0000005817C00002$$ SYSCLBK SYSCLBK_IDX SYSCLBK SYS_IL0000005821C00002$$ --------------------------------------------------------------------------------
- Oracle Index not described in the dictionary ******************************************************************************** Table Oracle Index -------------------------------------------------------------------------------- TRCABX3 IDX_TRCABX3 ZZVPO1 INDEXTXT2_VPO1 ZZVPO1 ZZVPO_VPO01 ZZVPO1 SYS_IL0000009573C00047$$ --------------------------------------------------------------------------------
- Oracle Index not complying to adonix norms ******************************************************************************** Table Oracle Index -------------------------------------------------------------------------------- TRCABX3 IDX_TRCABX3 --------------------------------------------------------------------------------
- Number of indexes described in the dictionary 396 Number of indexes that do not exist because non active activity - 0 -> 396 Number of indexes that do not exist because of inactive tables - 0 -> 396 Number of indexes in the dictionary that do not exist - 2 -> 394 Number of adonix internal indexes + 4 -> 398 Number of Oracle index non described in the dictionary + 4 -> 402 Number of indexes for long objects (Clob/Blob) + 3 -> 405 ----- Number of indexes found in the Oracle database = 405
- Normal end of log file 27/03/06 15:15:15
|
Note: The indexes non described in the dictionary are not anomalous, but are identified for information. Also, Oracle creates internal indexes for all the tables containing long texts (clobs) or long objects (blobs) such as images.
Batch task
This function can be run in batch mode, but no dedicated standard task is delivered to run it.
Error messages
The only error messages are the generic ones.