Scalable Database Server, HiRDB Version 8 Command Reference
If you execute the facility for predicting reorganization time with the predict statement specified, you can output the prediction results to a file in CSV format.
Table 15-6 describes the execution results items of the facility for predicting reorganization time that are output in the CSV format.
Table 15-6 Execution results items of the facility for predicting reorganization time (output in CSV format)
| Title | Output item | Output format | Max. length (bytes) |
Output information | ||
|---|---|---|---|---|---|---|
| Scheduled database maintenance date | Maintenance method | Information by analysis item | ||||
| kind | Output type: p: Information about scheduled database maintenance date m: Information about maintenance method d: Information by analysis item |
Character string | 8 | Y | Y | Y |
| No | Analysis result number | Numeric value | 10 | Y | Y | Y |
| Date | Scheduled database maintenance date | YYYY/MM/DD | 10 | Y | Y | Y |
| Type | Target type: T: Table I: Index L: LOB RDAREA R: Data dictionary RDAREA, user RDAREA, or registry RDAREA |
Character string | 1 | Y | Y | Y |
| * | Asterisk identifies a resource whose maintenance has been determined to be necessary. These are the resources the user must maintain. |
Character | 1 | Space | Y | Space |
| AuthID | Authorization identifier For a data dictionary table, (Data dictionary) is displayed. |
Character string | 30 | N | Y* | Y* |
| Name | Name of the table or index | Character string | 30 | N | Y* | Y* |
| Rdarea | RDAREA name | Character string | 30 | Y | Y | Y |
| Method | Maintenance method: 0: Maintenance is not necessary 1: Reclaim S (release used free segments) 2: Reclaim P (release used free pages) 3: Reorganize (reorganize) 4: Expand (expand RDAREA) 5: Extend (extend RDAREA automatically (maintenance not necessary)) 6: Reinit (Re-initialize RDAREA) For details about the maintenance method, see 15.4.1 Output format of the execution results. |
Numeric value | 5 | N | Y | Y |
| NextExec | Recommended time for the next execution of the condition analysis result accumulation facility | YYYY/MM/DD | 10 | N | N | N |
| StateDate | Analysis information acquisition date and time. This is the date and time the most recent information was acquired among all analysis information that was used for the analysis. |
YYYY/MM/DD hh:mm:ss | 19 | Y | N | Y |
| InfoNo | Number of the analysis item type: 1: Empty Page Ratio 2: Unused Page Ratio 3: Number of Branch Row 8: Used Segment for LOB Columns 10: Used Segment for Cluster 11: Unused Page Differ From PCTFREE 13: Used Segment Ratio |
Numeric value | 5 | Y | N | Y |
| Value | Analysis value for the analysis item type | Numeric value | 5 | Y | N | Y |
| PredictBase | Standard value used for the analysis item type | Numeric value | 5 | Y | N | Y |
| Count | Number of accumulated data items | Numeric value | 5 | N | N | N |
| Segment | Number of segments released | Numeric value | 10 | N | Y | N |
| Reclaim | Predicted number of released segments in releasing used free segments | Numeric value | 10 | N | Y* | N |
| Reorganize | Predicted number of released segments in reorganization | Numeric value | 10 | N | Y* | N |
| ItemMethod | Number of the maintenance method for each analysis item | Numeric value | 5 | N | Y | Y |
| CheckNo | Number of standard values for checking | Numeric value | 5 | Y | N | Y |
| Check1 | Standard value for checking by analysis item type used for analysis | Numeric value | 5 | Y | N | Y |
| Check2 | Standard value for checking by analysis item type used for analysis | Numeric value | 5 | Y | N | Y |
The following shows an output example in the CSV format:
Kind,No,Date,Type,*,AuthID,Name,Rdarea,Method,NextExec,StateDate,InfoNo,Value,PredictBase, Count,Segment,Reclaim,Reorganize,ItemMethod,CheckNo,Check1,Check2 "p",1,2005/01/26,"R"," ",,,"RDUSER12",,,2004/12/27 15:58:08,13,50,80,,,,,,2,0,0 "p",1,2005/01/30,"R"," ",,,"rd0002",,,2004/12/27 15:58:08,13,60,80,,,,,,2,0,0 "p",1,2005/01/11,"R"," ",,,"lobrdarea701",,,2004/12/27 15:58:08,13,70,80,,,,,,2,0,0 "p",1,2005/01/15,"R"," ",,,"RDUSER02",,,2004/12/27 15:58:08,13,65,80,,,,,,2,0,0 |
Kind,No,Date,Type,*,AuthID,Name,Rdarea,Method,NextExec,StateDate,InfoNo,Value,PredictBase,
Count,Segment,Reclaim,Reorganize,ItemMethod,CheckNo,Check1,Check2
"p",1,2005/01/26,"R"," ",,,"RDUSER01",,,2004/12/27 15:58:08,13,50,80,,,,,,2,0,0
"m",1,2005/01/26,"R"," ",,,"RDUSER01",0,,,,,,,2,0,0,0,,,
"m",1,2005/01/26,"I"," ","k1234567","index01","RDUSER01",0,,,,,,,2,0,1,0,,,
"m",1,2005/01/26,"T","*","k1234567","table01","RDUSER01",3,,,,,,,2,0,4,3,,,
:
"p",1,2005/01/30,"R"," ",,,"RDUSER02",,,2004/12/27 15:58:08,13,50,80,,,,,,2,0,0
"m",1,2005/01/30,"R"," ",,,"RDUSER02",0,,,,,,,0,0,0,0,,,
"m",1,2005/01/30,"T"," ","k1234567","table03","RDUSER02",0,,,,,,,0,0,0,0,,,
:
"p",1,2005/01/21,"R"," ",,,"RDUSER02",,,2004/12/27 15:58:08,13,50,80,,,,,,2,0,0
"m",1,2005/01/21,"R","*",,,"RDUSER02",4,,,,,,,6,0,0,4,,,
"m",1,2005/01/21,"I"," ","k1234567","index03","RDUSER02",0,,,,,,,6,0,1,0,,,
"m",1,2005/01/21,"T"," ","k1234567","table03","RDUSER02",0,,,,,,,6,0,4,0,,,
:
|
Kind,No,Date,Type,*,AuthID,Name,Rdarea,Method,NextExec,StateDate,InfoNo,Value,PredictBase,CheckNo,Check1,Check2
"p",1,2005/05/31,"R",,,,"RDUSER01",,2005/05/28,2005/04/12 17:30:12:42,13,78,80,2,0,10
"m",1,2005/05/31,"T","*","k1234567","table01","RDUSER01",1,,,,,,0,,
"m",1,2005/05/31,"T",,"k1234567","table02","RDUSER01",2,,,,,,0,,
"m",1,2005/05/31,"I","*","k1234567","index01","RDUSER01",2,,,,,,0,,
"m",1,2005/05/31,"T","*","k1234567","table10","RDUSER01",2,,,,,,0,,
"d",1,2005/05/31,"T",,"k1234567","table01","RDUSER01",1,2005/05/28,2005/04/12 17:30:12:42,1,40,50,0,,
"d",1,2005/08/10,"T","*","k1234567","table10","RDUSER01",1,2005/07/31,2005/04/12 17:30:12:42,1,25,50,0,,
"d",1,2005/06/01,"T","*","k1234567","table10","RDUSER01",2,2005/05/29,2005/04/12 17:30:12:42,2,25,30,1,50,
"p",2,2005/06/01,"R",,,,"RDUSER12",,2005/05/29,2005/04/12 17:30:12:42,13,78,80,2,0,10
"m",2,2005/06/01,"T","*","k1234567","table01","RDUSER12",2,,,,,,0,,
"m",2,2005/06/01,"T","*","k1234567","table03","RDUSER12",2,,,,,,0,,
"m",2,2005/06/01,"I","*","k1234567","index01","RDUSER12",1,,,,,,0,,
"m",2,2005/06/01,"T","*","k1234567","table11","RDUSER12",1,,,,,,0,,
"p",3,2005/06/03,"R",,,,"rd0002",,2005/05/30,2005/04/12 17:30:12:42,13,78,80,2,0,10
"m",3,2005/06/03,"R",,,,"rd0002",3,,,,,,0,,
"d",3,2005/06/03,"R",,,,"rd0002",3,2005/05/30,2005/04/12 17:30:12:42,13,78,80,2,0,10
:
|
All Rights Reserved. Copyright (C) 2007, Hitachi, Ltd.