Figure 9 shows the DBSPACE Analysis Utilities screen.
Figure 9. DBSPACE Analysis Utilities Screen
+--------------------------------------------------------------------------------+ | mm/dd/yyyy CONTROL CENTER hh:mm:ss | |*----------------------- DBSPACE ANALYSIS UTILITIES -------------------------* | || DATABASE => SQLDBA | | || OPTION ===> 3 REFRESH => 1 (1=YES 2=NO) | | || | | || 1=INITIALIZE CONTROL TABLE 2=UPDATE STATISTICS CANDIDATES | | || 3=LIST REORG CANDIDATES | | || | | || **************************** SELECTION OPTIONS ************************* | | || | | || OWNER ===> ALL DBSPACENAME => ___________________ | | || | | || MIN(PAGES) ==> 0 MAX(PAGES) => 9999999 | | || | | || DAYS SINCE ======> 14 | | || | | || CRITERIA ==> 1 | | || | | || 1=CLUSTERRATIO < 9999 2=UNCLUSTERED INDEX | | || 3=NOVERFLOW > 1 % 4=APPLY ALL CRITERIA | | |*------------------------------------------------------------------ SQC08-----* | | | |PRESS ENTER TO PROCESS | |ENTER F1=HELP F3=EXIT | +--------------------------------------------------------------------------------+
Most fields are initialized to some value. The first two parameters (DATABASE and OPTION) are required. They identify the function you want to perform and what database the function will be performed upon. These fields are initialized to Option 3 (List REORG Candidates) and the database to which Control Center is currently connected.
The option field can have the following values:
updated. The candidate list is displayed based upon the other selection options chosen.
based on the specified criteria. It lists each candidate and advises the DBA of the need for reorganization. This is the default option when the screen is first displayed.
The REFRESH parameter (defaults to YES) updates the SQLMAINT table:
This is done in real time PRIOR to performing the analysis selected. Other DBSPACE entries are not affected and their maintenance data remains intact.
All parameters below the line labeled "SELECTION OPTIONS"
allow you to control the maintenance activity by restricting the number and type of DBSPACEs that will be selected for analysis. In the case of the UPDATE STATISTICS tool, the selected DBSPACEs will all be candidates. In the REORG tool, candidates retrieved from the SQLMAINT table then have the reorganization CRITERIA applied against them and a final status is presented that states whether the DBSPACE is a REORG candidate.
This parameter applies an additional test to
selected DBSPACEs to determine whether they are candidates for reorganization. After the selection options above have been used to select DBSPACE names from the SQLMAINT table, the reorganization CRITERIA chosen are checked against those DBSPACEs and the results are displayed on a list screen (see Figure 11). Those DBSPACEs meeting the criteria should be considered candidates for reorganization. You can select them from the REORG CANDIDATES LIST screen for job submission and scheduling.
You can select one of four different methods of analyzing the need for reorganization in the list of retrieved DBSPACEs. They are:
CLUSTER RATIO < 9999 is the default criterion.