•
The average number of chunks for any value in the index.
•
The size of the idx file for the index. The idx file maintains the value segment lists and
bitmaps.
•
The number of garbage bytes in the idx file. This is space in the file that was thrown
away and cannot be reclaimed. Garbage bytes can result from deleting values, updating
values, or appending values.
•
The percentage of garbage bytes in the idx file.
The average number of chunks for a segment list is a good indicator of the fragmentation
level of the value segment lists. As this value increases, it can affect the query performance
for the index. If the average number of chunks exceeds 10, you should consider reorganizing
the index to consolidate the segment lists.
The number of garbage bytes and the percentage of garbage bytes indicate the amount of
unused disk space being consumed by the index. To conserve and consolidate disk space,
consider reorganizing the index. Reorganizing the index frees up disk space when the
garbage content is high.
Retrieve Index Distribution Statistics
Use the
-dist
option of ixutil
-stats
to get the index distribution for the index:
> ixutil -stats x -dsn test -libpath /spds -dist
SAS Scalable Performance Data Server
4.5(TS M0) Build(Feb 26 2009, 11:50:08)
Index File Utility
Copyright (c) 1996-2008 by SAS Institute Inc, Cary NC 27513 USA
Statistics for Index X:
---------------------------------------------------
+--segment_size = 8192
+--n_segments_in_tbl = 5
+--n_values_in_index = 2
+--n_vdeleted_values = 1
+--percent_vdeleted = 33.33
+--n_seglist_values = 2
+--n_seglist_chunks = 3
+--avg_chunks_per_list = 1.00
+--idx_file_bytes = 13304
+--idx_garbage_bytes = 4272
+--percent_idx_garbage = 32.11
+--Distribution Stats for Non Unique Values
+----minimum segments for all values = 4
+----maximum segments for all values = 5
+----average segments of any value = 4
+----average percentage of segments of any value = 90.00
Ixutil completed successfully
The distribution statistics include the following:
•
The number of unique values in the index.
•
The number of non-unique values in the index.
Retrieve Index Distribution Statistics
223
Содержание Scalable Performance Data Server 4.5
Страница 1: ...SAS Scalable Performance Data Server 4 5 Administrator s Guide...
Страница 7: ...Part 1 Product Notes Chapter 1 SPD Server 4 5 Product Notes 3 1...
Страница 8: ...2...
Страница 12: ...6...
Страница 63: ...Part 3 Migration Chapter 5 SPD Server 3 x to SPD Server 4 5 Conversion Utility 59 57...
Страница 64: ...58...
Страница 70: ...64 Chapter 5 SPD Server 3 x to SPD Server 4 5 Conversion Utility...
Страница 72: ...66...
Страница 76: ...70 Chapter 6 Using the SPD Server Name Server to Manage Resources...
Страница 94: ...88 Chapter 7 Administering and Configuring SPD Server Using the SAS Management Console...
Страница 98: ...92 Chapter 8 SPD Server SQL Query Rewrite Facility...
Страница 116: ...110 Chapter 10 Configuring Disk Storage for SPD Server...
Страница 128: ...122 Chapter 11 Setting Up SPD Server Parameter Files...
Страница 154: ...148...
Страница 198: ...192 Chapter 14 ACL Security Overview...
Страница 212: ...206 Chapter 15 Managing SPD Server Passwords Users and Table ACLs...
Страница 214: ...208...
Страница 224: ...218 Chapter 16 SPD Server Operator Interface Procedure PROC SPDO...
Страница 236: ...230 Chapter 18 SPD Server Table List Utility Spdsls...
Страница 256: ...250 Chapter 19 SPD Server Backup and Restore Utilities...
Страница 264: ...258 Chapter 20 SPD Server Directory Cleanup Utility...
Страница 270: ......