CHAPTER 5 Moving Data In and Out of Databases
221
For information on setting DBISQL database options, see “SET OPTION
statement” in the Adaptive Server IQ Reference Manual.
Tuning bulk loading of data
Loading large volumes of data into a database can take a long time and use a
lot of disk space. There are a few things you can do to save time.
Improving load performance during database definition
The way you define your database, tables, and indexes can have a dramatic
impact on load performance.
Optimizing for the number of distinct values
Adaptive Server IQ optimizes loading of data for a large or small set of distinct
values, based on parameters you specify when you create your database and
tables. Parameters that affect load optimization include:
•
The
UNIQUE
and
IQ UNIQUE
options, and the data type and width of the
column, all specified in the
CREATE TABLE
or
ALTER TABLE
command.
•
The
IQ PAGE SIZE
, specified in the
CREATE DATABASE
command.
For details of how these parameters affect loading, and information on how to
specify them, see “Creating tables” and “Choosing an IQ page size”.
Creating indexes
To make the best use of system resources, create all of the indexes you need
before loading data. While you can always add new indexes later, it is much
faster to load all indexes at once.
Summary of Contents for Adaptive Server IQ 12.4.2
Page 1: ...Administration and Performance Guide Adaptive Server IQ 12 4 2 ...
Page 16: ...xvi ...
Page 20: ...Related documents xx ...
Page 40: ...Compatibility with earlier versions 20 ...
Page 118: ...Troubleshooting startup shutdown and connections 98 ...
Page 248: ...Importing data by replication 228 ...
Page 306: ...Integrity rules in the system tables 286 ...
Page 334: ...Cursors in transactions 314 ...
Page 396: ...Users and permissions in the system tables 376 ...
Page 438: ...Determining your data backup and recovery strategy 418 ...
Page 484: ...Network performance 464 ...
Page 500: ...System utilities to monitor CPU use 480 ...
Page 514: ...Characteristics of Open Client and jConnect connections 494 ...
Page 536: ...Index 516 ...