+--n_seglist_chunks = 2
+--avg_chunks_per_list = 1.00
+--idx_file_bytes = 9008
+--idx_garbage_bytes = 0
+--percent_idx_garbage = 0.00
Create a Join Index
Assume there are SPD Server tables in a domain in directory
/tmp
. A user has created two
tables,
Table1
and
Table2
that can be joined on column
ID
. An SPD Server index exists
on the column
ID
for both tables. A join index is created on the tables to allow a Parallel
Range Join on column ID.
Use the
-crejidx
option of the SPD Server
ixutil
command to create the join index.
> ixutil -crejidx Table1,ID Table2,ID
-libpath /tmp
-joinparts 4
SAS Scalable Performance Data Server
4.5(TS M0) Build(Feb 26 2009, 11:50:08)
Index File Utility
Copyright (c) 1996-2009 by SAS Institute Inc, Cary NC 27513 USA
Ixutil completed successfully.
Generate Join Index Statistics
Now, get statistics on the join index that you created, using the
-statjidx
option of the
ixutil
command. The statistics are printed for each join range of the index, as well as for
the overall index. The range statistics identify each range (sobs=starting observation,
eobs=ending observation), the number of unique join keys that exist in the range, and the
number of keys that will be joined in the range for each table.
> ixutil -statjidx Table1,ID Table2,ID
-libpath /tmp
SAS Scalable Performance Data Server
4.5(TS M0) Build(Feb 26 2009, 11:50:08)
Index File Utility
Copyright (c) 1996-2009 by SAS Institute Inc, Cary NC 27513 USA
Stat of Join Index Table1.jdxid.table2.jdxid.0.0.0.spds9: Nranges=4
-----------------------------------------------------------------------
+-Range 0
+----<Table1,ID>: sobs=1 eobs=25000 (Sorted)
+-------unique_keys=25000, max_occurance=1
+-------obs=25000, joinobs=25000, rangepct=100.00
+----<Table2,ID>: sobs=1 eobs=10000 (Sorted)
+-------unique_keys=10000, max_occurance=1
+-------obs=10000, joinobs=10000, rangepct=100.00
+-Range 1
Generate Join Index Statistics
225
Summary of Contents for Scalable Performance Data Server 4.5
Page 1: ...SAS Scalable Performance Data Server 4 5 Administrator s Guide...
Page 7: ...Part 1 Product Notes Chapter 1 SPD Server 4 5 Product Notes 3 1...
Page 8: ...2...
Page 12: ...6...
Page 63: ...Part 3 Migration Chapter 5 SPD Server 3 x to SPD Server 4 5 Conversion Utility 59 57...
Page 64: ...58...
Page 70: ...64 Chapter 5 SPD Server 3 x to SPD Server 4 5 Conversion Utility...
Page 72: ...66...
Page 76: ...70 Chapter 6 Using the SPD Server Name Server to Manage Resources...
Page 94: ...88 Chapter 7 Administering and Configuring SPD Server Using the SAS Management Console...
Page 98: ...92 Chapter 8 SPD Server SQL Query Rewrite Facility...
Page 116: ...110 Chapter 10 Configuring Disk Storage for SPD Server...
Page 128: ...122 Chapter 11 Setting Up SPD Server Parameter Files...
Page 154: ...148...
Page 198: ...192 Chapter 14 ACL Security Overview...
Page 212: ...206 Chapter 15 Managing SPD Server Passwords Users and Table ACLs...
Page 214: ...208...
Page 224: ...218 Chapter 16 SPD Server Operator Interface Procedure PROC SPDO...
Page 236: ...230 Chapter 18 SPD Server Table List Utility Spdsls...
Page 256: ...250 Chapter 19 SPD Server Backup and Restore Utilities...
Page 264: ...258 Chapter 20 SPD Server Directory Cleanup Utility...
Page 270: ......