The INDEXPATH= is designed to take advantage of multiple file systems. SPD Server
4.5, index components can take advantage of the SPD Server RANDOMPLACEDPF
feature. The RANDOMPLACEDPF feature enables administrators to configure smaller
disk partitions for index space, which benefits SPD Server backup and recovery operations.
The WORKPATH= specified for the Example 2 SKULIST domain allows domain users
to override the default workpath, if any, specified in the
spdsserv.parm
file.
Example 3: Query-Rewrite Domain Configuration
Example 3 demonstrates how to use temporary tables to configure a LIBNAME domain
for performance when using the SPD Server SQL query rewrite facility.
The SPD Server SQL query rewrite facility does 'behind the scenes' work to find the most
processor-efficient method to evaluate submitted SQL statements. The SQL query rewrite
facility uses numerous temporary tables that are distributed across a parallelized
environment to rapidly evaluate and process the SQL statements.
At the end of the SPD Server session, temporary tables are automatically deleted. Some
SPD Server users might use the QRW domain for its temporary table space, even if they
are not submitting code for an SPD Server SQL query rewrite job.
Example 3 creates a query rewrite domain named 'QRW' that uses distributed temporary
SPD Server tables. In order to use SPD Server QRW, the following must be done:
•
A specific domain for the query rewrite operations should be created in the
libnames.parm
file. This example names the query rewrite domain 'QRW'.
•
The
spdsserv.parm
file should contain a TMPDOMAIN=<QRW-domain-name>
statement that references the QRW domain that was created in the
libnames.parm
file.
Libnames.parm
file code (note the LIBNAME=QRW statement creates a specific domain
for the query rewrite tables):
LIBNAME=QRW PATHNAME=/metadata/qrw
options="
DATAPATH=('/data01/qrw'
'/data02/qrw'
'/data03/qrw'
'/data04/qrw'
'/data05/qrw'
'/data06/qrw'
'/data07/qrw'
'/data08/qrw'
'/data09/qrw')
INDEXPATH=('/idx01/qrw'
'/idx02/qrw'
'/idx03/qrw'
'/idx04/qrw'
'/idx05/qrw')";
Spdsserv.parm
file code (note the TMPDOMAIN=QRW statement references the domain
created for query rewrite tables):
SORTSIZE=128M;
INDEX_SORTSIZE=128M;
GRPBYROWCACHE=128M;
BINBUFSIZE=32K;
Example 3: Query-Rewrite Domain Configuration
137
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: ......