Nonstop Database, HiRDB Version 9 Command Reference
The utility analyzes the segment status of a table or index storage page and the status of all storage pages by RDAREA.
You can determine the degree of disorganization of tables or indexes. For a table or index that has been partitioned and stored in multiple RDAREAs, you can determine whether or not partitions are distributed uniformly among the RDAREAs.
The following shows the results of condition analysis by table or index:
pddbst
pddbst VV-RR(Object Option) ** Table Analysis ** 2008/12/25 15:54:13 [1]
Table Name : TBL02 [2]
Auth Id : user1 [3]
Hash : [4]
Total Segment : 15 [5] Max Sum Segment : 15 [7]
Total Page : 75 [6] Max Sum Page : 75 [8]
Total Row : 16 [9]
RD Area Count : 1/ 1 [10]
--------------------------------------------------------------------------------
RD Area Name : user_rdarea_1 [11]
Server : bes01 [12]
Status : [38]
Reference Pending Status : [41]
Check Pending Status : [42]
Original RD Area Name : user_rdarea_1 [28]
Generation Number : 0[29] Replica RD Area Count : 0[30]
[31] [32] [33] [34]
History1 Hold Status : Hold Code : 0 Hold Time :
History2 Hold Status : Hold Code : 0 Hold Time :
Job Name : [25] Line Count : [26] Index Method : [27]
Unit : [43] Generation : [44]
Unused Segment: 9 [13]
Segment Reuse : - segments [36]
Segment Reuse Option : - [60]
Row Count : 16 [24]
<Base row segment>
Search Mode : INS [35]
Branch Row Search Mode : - [61]
Reuse Search Failure : 0/ 0 [37]
Used(Full) Used( Full) Sum
[14] [15] [16] [17] [18]
Segment [45] 100%( 0%) 1( 0) 1
[19] [20] [21] [22] [23]
Page [46] 60%( 0%) 3( 0) 5
Collect On Segment : 0 [59]
Collect Prearranged Page : 0 [39]
Collect Prearranged Full Page : 0[62]
Used Page Ratio Page(Ratio) [40]
0% : 2( 40%)
1- 10% : 1( 20%)
11- 20% : 1( 20%)
21- 30% : 0( 0%)
31- 40% : 1( 20%)
41- 50% : 0( 0%)
51- 60% : 0( 0%)
61- 70% : 0( 0%)
71- 80% : 0( 0%)
81- 90% : 0( 0%)
91-100% : 0( 0%)
Total 5
Del RowID : 0 [63]
<BINARY segment>
Search Mode : INS
Branch Row Search Mode : -
Reuse Search Failure : 0/ 0
Used(Full) Used( Full) Sum
[47] [48] [49] [50] [51]
Segment [52] 100%( 93%) 14( 13) 14
[53] [54] [55] [56] [57]
Page [58] 96%( 95%) 67( 66) 70
Collect On Segment : 0
Collect Prearranged Page : 0
Collect Prearranged Full Page : 0
Used Page Ratio Page(Ratio)
0% : 3( 5%)
1- 10% : 0( 0%)
11- 20% : 0( 0%)
21- 30% : 0( 0%)
31- 40% : 0( 0%)
41- 50% : 0( 0%)
51- 60% : 0( 0%)
61- 70% : 0( 0%)
71- 80% : 0( 0%)
81- 90% : 0( 0%)
91-100% : 67( 96%)
Total 70
|
pddbst VV-RR(Object Option) ** Table Analysis ** 2008/12/25 15:54:14 [1]
Table Name : TBL03 [2]
Auth Id : user1 [3]
Hash : [4]
Total Segment : 1247 [5] Max Sum Segment : 1234 [7]
Total Page : 1299 [6] Max Sum Page : 1234 [8]
Total Row : 1,234 [9]
RD Area Count : 2/ 2 [10]
--------------------------------------------------------------------------------
RD Area Name : user_rdarea_3 [11]
Server : bes01 [12]
Status : [42]
Reference Pending Status :
Check Pending Status :
Original RD Area Name : user_rdarea_3 [32]
Generation Number : 0 [33] Replica RD Area Count : 0[34]
[35] [36] [37] [38]
History1 Hold Status : Hold Code : 0 Hold Time :
History2 Hold Status : Hold Code : 0 Hold Time :
Job Name : [29] Line Count : [30] Index Method : [31]
Unused Segment: 137 [13]
Segment Reuse : - segments [40]
Segment Reuse Option : - [46]
Row Count : 1,234 [24]
<Base row segment>
Search Mode : INS [39]
Branch Row Search Mode : - [47]
Reuse Search Failure : 0/ 0 [41]
Used(Full) Used( Full) Sum
[14] [15] [16] [17] [18]
Segment [43]100%( 85%) 13( 11) 13
[19] [20] [21] [22] [23]
Page [44]100%( 97%) 65( 63) 65
Collect On Segment : 0 [45]
Collect Prearranged Page : 0
Collect Prearranged Full Page : 0 [48]
Used Page Ratio Page(Ratio)
0% : 0( 0%)
1- 10% : 0( 0%)
11- 20% : 0( 0%)
21- 30% : 1( 2%)
31- 40% : 0( 0%)
41- 50% : 0( 0%)
51- 60% : 0( 0%)
61- 70% : 0( 0%)
71- 80% : 0( 0%)
81- 90% : 0( 0%)
91-100% : 64( 99%)
Total 65
Del RowID : 0 [49]
RD Area Name : user_rdlob_2
Server : bes01
Status :
Column Name : C4 [25]
Original RD Area Name : user_rdlob_2
Generation Number : 0 Replica RD Area Count : 0
History1 Hold Status : Hold Code : 0 Hold Time :
History2 Hold Status : Hold Code : 0 Hold Time :
Unused Segment: 266( 266)
Used Used Sum
Segment 100% 1234 1234
Segment Over : N [26] Last Segment : 1234/ 1500 [27]
Lobmap Over : N [28]
|
pddbst VV-RR(Object Option) ** Index Analysis ** 2008/12/25 18:56:00 [1]
Index Name : IDX_TBL01_C1 [2]
Auth Id : user1 [3]
Total Segment : 70 [4] Max Sum Segment : 70 [6]
Total Page : 700 [5] Max Sum Page : 700 [7]
RD Area Count : 1/ 1 [8]
--------------------------------------------------------------------------------
RD Area Name : user_rdarea_1 [9]
Server : bes1 [10]
Status : [22]
Original RD Area Name : user_rdarea_1 [23]
Generation Number : 0[24] Replica RD Area Count : 0[25]
[26] [27] [28] [29]
History1 Hold Status : Hold Code : 0 Hold Time :
History2 Hold Status : Hold Code : 0 Hold Time :
Unused Segment: 815 [11]
Used(Full) Used( Full) Sum
[12] [13] [14] [15] [16]
Segment 100%( 0%) 70( 0) 70
[17] [18] [19] [20] [21]
Page 99%( 0%) 693( 0) 700
Collect On Segment : 0 [37]
Collect Prearranged Page : 26 [30]
Collect On Page : 0 [31]
Used Page Ratio Page(Ratio) [32] Del RowID [33]
0% : 33( 5%) 85
1- 10% : 1( 1%) 17
11- 20% : 2( 1%) 52
21- 30% : 1( 1%) 45
31- 40% : 0( 0%) 0
41- 50% : 0( 0%) 0
51- 60% : 0( 0%) 0
61- 70% : 663( 95%) 633
71- 80% : 0( 0%) 0
81- 90% : 0( 0%) 0
91-100% : 0( 0%) 0
Total 700 832 [34]
Del RowID : 832 ( 1%) [36]
RowID Count : 95,998 [35]
|
pddbst VV-RR(Object Option) ** Index Analysis ** 2002/03/29 18:05:06 [1]
Index Name : IDX05 [2]
Auth Id : MANUAL [3]
Total Segment : 9501[4] Max Sum Segment : 9501 [6]
Total Page : 9501[5] Max Sum Page : 9501 [7]
RD Area Count : 1/ 1 [8]
--------------------------------------------------------------------------------
RD Area Name : USER_RDLOB_10 [9]
Server : BES02 [10]
Status : [15]
Original RD Area Name : USER_RDLOB_10 [19]
Generation Number : 0[20] Replica RD Area Count : 0 [21]
[22] [23] [24] [25]
History1 Hold Status : Hold Code : 0 Hold Time :
History2 Hold Status : Hold Code : 0 Hold Time :
Unused Segment: 499( 499) [11]
[12] [13] [14]
Used Used Sum
Segment 100% 9501 9501
[16] [17]
Segment Over : N Last Segment : 9501/ 10000
[18]
Lobmap Over : N
|
You can analyze the results of condition analysis by table or index in the same manner as for condition analysis by RDAREA (logical analysis).
If the storage rows are not distributed uniformly among RDAREAs, you are not making the best use of the HiRDB/Parallel Server's performance. In such a case, take appropriate measures, such as checking and revising key range partitioning or applying flexible hash partitioning or FIX hash partitioning (or changing the hash functions). The result should be to partition the storage uniformly among the RDAREAs.
If you have analyzed the status of an RDAREA the stores the LOB attribute of a plug-in-provided abstract data type or an RDAREA that stores a plug-in index, the percentage of used segments in the RDAREA depends on the method used by the plug-in to allocate segments.
All Rights Reserved. Copyright (C) 2014, Hitachi, Ltd.