RESIDENT configuration parameter
Use the RESIDENT configuration parameter to specify whether resident and virtual segments of shared memory remain resident in operating-system physical memory.
- onconfig.std value
- RESIDENT 0
- values
- -1 - 99
0
= off1
= lock the resident segment only-1
= lock all resident and virtual segmentsn
= lock the resident segment and the next n -1 virtual segments. For example, if you specify99
as the value, the resident segment is locked and the next 98 virtual segments are locked.Certain platforms have different values. For information, see your machine notes.
- takes effect
- After you edit your onconfig file and restart the database server.
Usage
On AIX®, Solaris, or Linux™ systems that support large pages of memory, the DBSA can use operating system commands to configure a pool of large pages.
- Enable large page sizes by setting the IFX_LARGE_PAGES environment variable.
- For virtual memory segments that you intend to store on large pages, set the RESIDENT parameter to lock those segments in physical memory, so that they cannot be swapped to disk
Storing virtual memory segments on large pages can offer significant performance benefits in large memory configurations.