Overview of memory use
428
Setting buffer cache size database options
To set buffer cache sizes permanently (that is, until you explicitly reset them)
use the
SET OPTION
statement. Follow the procedure below.
❖
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
-iqmc
and
-iqtc
server
switches
Reset cache sizes when
the database is not
running. Especially useful
if cache sizes are larger
than your system can
accommodate.
From the time the server is
started until it is stopped
“Setting buffer cache
size server switches” on
page 429
-iqsmem
and
-iqwmem
server switches
Use on some UNIX
platforms to provide
additional memory for use
as buffer caches.
From the time the server is
started until it is stopped
“Platform-specific
memory options” on
page 434
LOAD_MEMORY_MB
database option
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.
Immediately until you reset
the option
“Memory for loads,
synchronizations, and
deletions” on page 421
Method
When to use it
How long the setting is
effective
For more
information, see
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 ...