By default, Sybase IQ sets the size of the main and temporary buffer caches to 32MB and 24MB respectively. Most applications will require much higher values (limited by the total amount of physical memory). See the preceding sections to determine the right settings for your system.
Once you know what settings you need, use the options described in Table 4-1 to set buffer cache sizes. You may also use the options described in Table 4-2 to make more memory available for buffer caches.
Method |
When to use it |
How long the setting is effective |
For more information, see |
---|---|---|---|
-iqmc and -iqtc server switches |
Recommended method. Sets cache sizes when the database and server are not running. Allows cache sizes >4GB. Especially useful for 64-bit platforms, or if cache size database options are set larger than your system can accommodate. |
From the time the server is started until it is stopped |
Method |
When to use it |
How long the setting is effective |
For more information, see |
---|---|---|---|
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, inserts, updates, synchronizations, and deletions” |