Reputation: 11
Is there a way by which we could map Oracle SGA memory into physical files in solaris? We could find these physical files in /dev/shm/ folder in linux environment but they are missing in solaris.
Upvotes: 1
Views: 146
Reputation: 1
Is there a way by which we could map Oracle SGA memory into physical files in solaris?
Not that I'm aware of.
The SGA on Solaris uses Sys V shared memory. See System V IPC vs POSIX IPC for a discussion of the differences between the two.
Solaris provides significant platform-specific performance-enhancing features in its implementation of Sys V shared memory. For example, Solaris provides "intimate shared memory". From the Solaris shmat
man page:
When (shmflg&
SHM_SHARE_MMU
) is true, virtual memory resources in addition to shared memory itself are shared among processes that use the same shared memory.
Those performance enhancements are not available using POSIX shared memory, so Sys V shared memory is likely to remain in use on Solaris for a long time.
Upvotes: 2