Overview of memory use
422
Killing processes
affects shared
memory
Warning!
Killing processes on UNIX systems may result in semaphores or
shared memory being left behind instead of being cleaned up automatically.
The correct way to shut down an IQ server on UNIX is the
stop_asiq
utility,
described in “Stopping the database server” on page 43. For information on
cleaning up after an abnormal exit, see the chapter “Troubleshooting Hints” in
Adaptive Server IQ Troubleshooting and Error Messages Guide.
Managing buffer caches
Adaptive Server IQ needs more memory for buffer caches than for any other
purpose. Adaptive Server IQ has two buffer caches, one for the IQ Store and
one for the Temporary Store. It uses these two buffer caches for all database I/O
operations—for paging, for insertions into the database, and for backup and
restore. Data is stored in one of the two caches whenever it is in memory. All
user connections share these buffer caches. Adaptive Server IQ keeps track of
which data is associated with each connection.
Read the sections that follow for in-depth information on managing buffer
caches:
•
For information on how to calculate your memory requirements, see
“Determining the sizes of the buffer caches”
•
For information on how to set buffer cache sizes once you know what they
should be, see “Setting buffer cache sizes”
Determining the sizes of the buffer caches
The buffer cache sizes you specify for the Main IQ Store and Temporary Store
will vary based on several factors. The default values (8MB and 4MB) are too
low for most large databases. The actual values required for your application
depend on the total amount of physical memory on your system and how much
of this memory Adaptive Server IQ, the operating system, and other
applications need to do their tasks.
The following diagram shows the relationship between the buffer caches and
other memory consumption.
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 ...