Saving Memory - Sybase Adaptive Server IQ 12.4.2 Administration And Performance Manual

Table of Contents

Advertisement

Data compression

Saving memory

Decrease buffer cache settings
Decrease memory used for loads
Adjust blocking factor for loads
Table 12-3: Default block sizes
Page Size (KB)
64
128
256
512
Adaptive Server IQ compresses all data when storing it on disk. Data
compression both reduces disk space requirements and contributes to
performance. The amount of compression is determined automatically, based
on the IQ page size.
If your machine does not have enough memory, to save memory you can try
the following adjustments.
You may be able to save memory by decreasing buffer cache sizes. Keep in
mind that if you decrease the buffer caches too much, you could make your
data loads or queries inefficient or incomplete due to insufficient buffers.
You can set the
LOAD_MEMORY_MB
memory used for loads and other similar operations. See "Memory for loads,
synchronizations, and deletions" on page 421.
Use
to reduce I/O when loading from a flat file. The
BLOCK FACTOR
option of the
FACTOR
LOAD
of records per block, that were used when the input file was created. The
default
BLOCK FACTOR
The syntax for this load option is as follows:
BLOCK FACTOR = integer
CHAPTER 12
Managing System Resources
Block Size (bytes)
4096
8192
16384
32768
option to limit the amount of heap
command specifies the blocking factor, or number
is 10,000.
BLOCK
431

Advertisement

Table of Contents
loading

Table of Contents