Create A Join Index; Generate Join Index Statistics - SAS Scalable Performance Data Server 4.5 Administrator's Manual

Table of Contents

Advertisement

+--n_seglist_chunks
+--avg_chunks_per_list = 1.00
+--idx_file_bytes
+--idx_garbage_bytes
+--percent_idx_garbage = 0.00

Create a Join Index

Assume there are SPD Server tables in a domain in directory
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
> ixutil -crejidx Table1,ID Table2,ID
SAS Scalable Performance Data Server
Index File Utility
Copyright (c) 1996-2009 by SAS Institute Inc, Cary NC 27513
Ixutil completed successfully.

Generate Join Index Statistics

Now, get statistics on the join index that you created, using 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
SAS Scalable Performance Data Server
Index File Utility
Copyright (c) 1996-2009 by SAS Institute Inc, Cary NC 27513
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
option of the SPD Server ixutil command to create the join index.
-crejidx
-libpath /tmp
-joinparts 4
4.5(TS M0) Build(Feb 26 2009, 11:50:08)
-libpath /tmp
4.5(TS M0) Build(Feb 26 2009, 11:50:08)
= 2
= 9008
= 0
Generate Join Index Statistics
. A user has created two
/tmp
USA
option of the
-statjidx
USA
225

Advertisement

Table of Contents
loading
Need help?

Need help?

Do you have a question about the Scalable Performance Data Server 4.5 and is the answer not in the manual?

Table of Contents