Sybase Adaptive Server IQ 12.4.2 Administration And Performance Manual page 446

Table of Contents

Advertisement

Overview of memory use
Other considerations
Example of setting buffer cache sizes
Memory Use
Total amount of physical memory
available (approximate in MB)
Operating system use assuming a
minimum amount for a UNIX
system
Overhead from using "cooked" file
system: 30% of remaining memory
from step 3 above
Overhead for number of active
users: approximately 30 connected
users but only about 10 active at
10MB each
Overhead for inserts from flat files
assuming a 200-byte record size and
default settings
426
Adaptive Server IQ buffer cache sizes may differ from one database to the next
based on how you use it. For maximum performance, you need to change the
settings between inserting, querying the database, and mixed use. In a mixed-
use environment, however, it is not always feasible to require all users to exit
the database so that you can reset buffer cache options. In those cases, you may
need to favor either load or query performance. When possible, define the
cache sizes before doing any work in the database.
The buffer cache and memory overhead guidelines also may differ between
platforms. See your Adaptive Server IQ Installation and Configuration Guide
for any other issues.
The following table provides a list of the factors that may consume memory for
your system and how much remains for your main and temp buffer caches. It
assumes that the system has 1GB of physical memory, no other significant
applications on the hardware other than running Adaptive Server IQ, and only
one active database at a time. The table makes a distinction in the storage type
(raw versus "cooked") and the way the database is accessed (queries or inserts).
Table 12-1: Memory available for buffer caches (Example)
Memory available
using raw partitions
Amount
Used
Queries
1000
a
60
940
278
100
825
97
Memory available
using "cooked" file
systems
Inserts
Queries
1000
1000
940
940
647
547
828
Inserts
1000
940
647
550

Advertisement

Table of Contents
loading

Table of Contents