SAS / Teradata Fastexport – dbsliceparm = all

This post was kindly contributed by AFHood Analytics Group - Blogs » SAS - go there to comment and to read the full post.

Fastexport is the fastest way to get large data out of teradata. Fastexport utilizes multiple connections to deliver data and therefore speeding up the transfer of data between Teradata and SAS.

Here are a few examples of fastexport.

/* libname statement*/

libname teradb  teradata username=&un password=&pw dbsliceparm=all;

/* explicit sql */

proc sql;

connect to teradata(username=&un password=&pw dbsliceparm=all);

<SQL STATMENT>

quit;run;

How do you know if fastexport was used?

Use this option:

options sastrace=’,,,d’ sastraceloc=saslog;

If it is working, you should see something in your log like:

Select was processed with fastexport.

There are many other factors that come into play if fastexport doesn’t work. Check the requirements on the SAS support page for troubleshooting.

This post was kindly contributed by AFHood Analytics Group - Blogs » SAS - go there to comment and to read the full post.