13.07.2015 Views

SAS/ACCESS 9.2 for Relational Databases: Reference, Fourth Edition

SAS/ACCESS 9.2 for Relational Databases: Reference, Fourth Edition

SAS/ACCESS 9.2 for Relational Databases: Reference, Fourth Edition

SHOW MORE
SHOW LESS

You also want an ePaper? Increase the reach of your titles

YUMPU automatically turns print PDFs into web optimized ePapers that Google loves.

448 Using DBSLICE= 4 Chapter 14Using DBSLICE=You might achieve the best possible per<strong>for</strong>mance when using threaded reads byspecifying the “DBSLICE= Data Set Option” on page 316 <strong>for</strong> Aster nCluster in your<strong>SAS</strong> operation. Using DBSLICE= allows connections to individual partitions so thatyou can configure an Aster nCluster data source <strong>for</strong> each partition. Use this option tospecify both the data source and the WHERE clause <strong>for</strong> each partition.proc print data=trilb.MYEMPS(DBSLICE=(DSN1=’EMPNUM BETWEEN 1 AND 33’DSN2=’EMPNUM BETWEEN 34 AND 66’DSN3=’EMPNUM BETWEEN 67 AND 100’));run;Using the DATASOURCE= option is not required to use DBSLICE= option withthreaded reads.Using DBSLICE= works well when the table you want to read is not stored inmultiple partitions. It gives you flexibility in column selection. For example, if youknow that the STATE column in your employee table contains only a few distinctvalues, you can tailor your DBSLICE= option accordingly.data work.locemp;set trlib2.MYEMP(DBSLICE=("STATE=’FL’" "STATE=’GA’""STATE=’SC’" "STATE=’VA’" "STATE=’NC’"));where EMPNUM

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!