Sybase Adaptive Server IQ 12.4.2 Administration And Performance Manual page 448

Table of Contents

Advertisement

Overview of memory use
Method
and
server
-iqmc
-iqtc
switches
and
-iqsmem
-iqwmem
server switches
LOAD_MEMORY_MB
database option
Setting buffer cache size database options
428
When to use it
Reset cache sizes when
the database is not
running. Especially useful
if cache sizes are larger
than your system can
accommodate.
Use on some UNIX
platforms to provide
additional memory for use
as buffer caches.
Indirectly affects buffer
cache size, by controlling
the memory that can be
used for loads. On some
platforms, allowing
unlimited memory for
loads means less memory
is available for buffer
caches.
To set buffer cache sizes permanently (that is, until you explicitly reset them)
use the
statement. Follow the procedure below.
SET OPTION
To change the buffer cache sizes permanently:
1
If the database whose cache sizes you are changing is not already started,
start it now:
START DATABASE dbfile [AS dbname ] [ON engine_name ]
2
Set one or both cache sizes.
To set the buffer cache size for the IQ Store (the main buffer cache)
use the following syntax:
SET OPTION "PUBLIC".MAIN_CACHE_MEMORY_MB =
#_of_MB
To set the buffer cache size for the Temporary Store (the temp buffer
cache) use the following syntax:
SET OPTION "PUBLIC".TEMP_CACHE_MEMORY_MB =
#_of_MB
How long the setting is
effective
From the time the server is
started until it is stopped
From the time the server is
started until it is stopped
Immediately until you reset
the option
For more
information, see
"Setting buffer cache
size server switches" on
page 429
"Platform-specific
memory options" on
page 434
"Memory for loads,
synchronizations, and
deletions" on page 421

Advertisement

Table of Contents
loading

Table of Contents