2-36 IBM Informix OnLine Database Server Administrator’s Guide

Shared Memory and Process Communication

Shared Memory and Process Communication
Sharedmemory refers to the use of the same memory segments by more than
one OnLine user process, enabling interprocess communication.Figure 2-4
onpage 2-37shows how multiple user processes can communicate by way of
shared memory.
Interprocess communication via shared memory has the following advan-
tagesover systems in which server processes each maintain their own private
copy of data:
Disk I/O is reduced because buffers, which are managed as a
common pool, are flushed on a system-wide basis instead of a per-
process basis.
Execution time is reduced because only one copy of a data or index
page is maintained in shared memory. Processes do not need to
reread shared-memory buffers to ensure that their data is current.
Often, processes do not need to read a page in from disk if the page
is already in shared memory as a result of an earlier query.