You should
consider using the optimized SAS/ACCESS engine bulk loaders to bulk
load the data into database tables. Many of the SAS/ACCESS engines
for DBMS support the BULKLOAD option, and this loading capability
is one of the fastest ways to insert large data volumes into a relational
database.
By default,
the SAS/ACCESS engines load data into tables by preparing an SQL INSERT
statement, executing the INSERT statement for each row, and periodically
issuing a COMMIT. If you specify BULKLOAD=YES as a data set or a LIBNAME
option, a database bulk-load method is used. This can significantly
enhance performance, especially when database tables are indexed.
Consult SAS documentation to determine whether the BULKLOAD option is supported for
your
target database type and whether it can be specified as a LIBNAME or a data set option.
For each database there are additional options to specify behavior of the bulkload
option. These options can be found in the
SAS/ACCESS documentation for the specific database.
The names of these options normally start with BL_.
Perform
one of the following tasks to specify the BULKLOAD option: