|
> 关键是现在使用TOP命令和GLANCE命令看,内存都没有剩余的了,就觉得有问题了。
I'm not familiar with HPUX. But if the system is indeed out of memory, particularly based on high scan rate shown in vmstat, that *is* a problem. You may need to reduce the number of connections or use shared server config (MTS).
The way I look at a process's memory is get the virtual memory size (top -p [pid] and it's under VIRT) minus Oracle's SGA. I think ps -ovsz -p [pid] reports *private* virtual memory which already has SGA taken out. Oracle v$process.pga_alloc_mem is Oracle's view of its PGA usage, which is always smaller than OS's private memory usage.
Yong Huang |
|