Scalable Database Server, HiRDB Version 8 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 VV-RR(Object Option) ** Table Analysis ** 2003/03/31 18:53:24 [1]
Table Name : TBL01 [2]
Auth Id : user1 [3]
Hash : [4]
Total Segment : 104 [5] Max Sum Segment : 104 [7]
Total Page : 520 [6] Max Sum Page : 520 [8]
Total Row : 500 [9]
RD Area Count : 1/ 1 [10]
--------------------------------------------------------------------------------
RD Area Name : user_rdarea_1 [11]
Server : bes1 [12]
Reference Pending Status : P [41]
Check Pending Status : P [42]
Original RD Area Name : user_rdarea_1 [28]
Generation Number : 0[29] Replica RD Area Count : 0[30]
Status : [38]
[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]
Unused Segment: 24 [13]
Search Mode : INS [35] Segment Reuse : - segments [36]
Reuse Search Failure : 0/ 0 [37]
Used(Full) Used( Full) Sum
[14] [15] [16] [17] [18]
Segment 100%( 0%) 104( 0) 104
[19] [20] [21] [22] [23]
Page 100%( 0%) 518( 0) 520
Row Count : 500 [24]
Collect Prearranged Page : 55 [39]
Used Page Ratio Page(Ratio) [40]
0% : 57( 11%)
1- 10% : 19( 4%)
11- 20% : 28( 6%)
21- 30% : 70( 14%)
31- 40% : 95( 19%)
41- 50% : 71( 14%)
51- 60% : 69( 14%)
61- 70% : 58( 12%)
71- 80% : 37( 8%)
81- 90% : 14( 3%)
91-100% : 2( 1%)
Total 520
|
pddbst VV-RR(Object Option) ** Table Analysis ** 2003/04/03 12:37:22 [1]
Table Name : TBL03 [2]
Auth Id : user1 [3]
Hash : [4]
Total Segment : 1826 [5] Max Sum Segment : 1822 [7]
Total Page : 1842 [6] Max Sum Page : 1822 [8]
Total Row : 500 [9]
RD Area Count : 2/ 2 [10]
--------------------------------------------------------------------------------
RD Area Name : user_rdarea_3 [11]
Server : bes1 [12]
Status : [42]
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: 145 [13]
Search Mode : INS [39] Segment Reuse : - segments [40]
Reuse Search Failure : 0/ 0 [41]
Used(Full) Used( Full) Sum
[14] [15] [16] [17] [18]
Segment 100%( 0%) 4( 0) 4
[19] [20] [21] [22] [23]
Page 85%( 0%) 17( 0) 20
Row Count : 500 [24]
RD Area Name : user_rdlob_2
Server : bes1
Status :
Column Name : C2 [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: 9178( 9178)
Used Used Sum
Segment 100% 1822 1822
Segment Over : N [26] Last Segment : 1822/ 11000 [27]
Lobmap Over : N [28]
|
pddbst VV-RR(Object Option) ** Index Analysis ** 2003/03/31 18:56:00 [1]
Index Name : IDX_TBL01_C1 [2]
Auth Id : user1 [3]
Total Segment : 1 [4] Max Sum Segment : 1 [6]
Total Page : 5 [5] Max Sum Page : 5 [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: 24 [11]
Used(Full) Used( Full) Sum
[12] [13] [14] [15] [16]
Segment 100%( 0%) 1( 0) 1
[17] [18] [19] [20] [21]
Page 100%( 0%) 5( 0) 5
Collect Prearranged Page : 0 [30]
Collect On Page : 0 [31]
Used Page Ratio Page(Ratio) [32]
0% : 0( 0%)
1- 10% : 1( 20%)
11- 20% : 0( 0%)
21- 30% : 3( 60%)
31- 40% : 0( 0%)
41- 50% : 1( 20%)
51- 60% : 0( 0%)
61- 70% : 0( 0%)
71- 80% : 0( 0%)
81- 90% : 0( 0%)
91-100% : 0( 0%)
Total 5
|
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) 2007, Hitachi, Ltd.