If indexes exist on
a DBMS table and are of the correct type, you can use this option
to potentially improve performance when you are processing a join
query that involves a large DBMS table and a relatively small SAS
data set that is passed to the DBMS.
Queries must be issued
to the necessary DBMS control or system tables to extract index information
about a specific table or validate the index that you specified.
You can enter the DBINDEX=
option as a LIBNAME option, SAS data set option, or an option with
PROC SQL. Here is the order in which the engine processes it:
-
DATA step or PROC SQL
specification.
-
LIBNAME statement specification
Specifying the DBKEY=
data set option takes precedence over DBINDEX=.