Setting Server Startup Options; Adjusting Your Environment At Load Time - Sybase Adaptive Server IQ 12.4.2 Administration And Performance Manual

Table of Contents

Advertisement

Tuning bulk loading of data
Adding dbspaces

Setting server startup options

Adjusting your environment at load time

222
If you run out of space while loading data, Adaptive Server IQ prompts you to
create another dbspace, and then continues the operation after you add the
dbspace. To avoid this delay, make sure that you have enough room for all of
the data you are loading before you start the load operation. Use the
or
sp_estspace
sp_iqestdbspaces
space you need for the database and its dbspaces.
To that ensure are you able to add a new dbspace if you do run out of space, see
the "RESERVED_TEMP_DBSPACE_MB" and
"RESERVED_MAIN_DBSPACE_MB" options in the Adaptive Server IQ
Administration and Performance Guide.
On some platforms you can set command-line options to adjust the amount of
memory available. Increasing memory can improve load performance. See
Chapter 2, "Running Adaptive Server IQ" for command-line options that
affect performance.
When you load data, you can adjust several factors to improve load
performance:
Use the
LOAD TABLE
ASCII or binary format. especially for all loads of over a hundred rows.
The
command is the fastest insertion method.
LOAD TABLE
When loading from a flat file, use binary data if you have a choice of using
binary or character data. This can improve performance by eliminating
conversion costs and reducing I/O.
Set
command options appropriately, as described in "Bulk
LOAD TABLE
loading data using the LOAD TABLE statement". In particular, if you
have sufficient memory to do so, or if no other users are active during the
load, increase the
BLOCK FACTOR
Place data files on a separate physical disk drive from the database file, to
avoid excessive disk head movement during the load.
stored procedure to help you estimate the
command whenever you have access to raw data in
.

Advertisement

Table of Contents
loading

Table of Contents