如果要使用自动内存管理,设定memory_target值就可以了,在以后数据库启动完成后查看文件系统tmpfs,会发现它被使用了,另外tmpfs(/dev/shm)最小不能低于300M,memory_target的设定值也不能大于文件系统tmpfs的设定值,否则启动时会报错ORA-00845: MEMORY_TARGET not supported on this system,可能时由于tmpfs的特性问题,memory_target和lock_sga参数不能共用。
如果要使用大内存(调整shm,见server安装部分,那里700m只是个例子,呵呵)需要设定USE_INDIRECT_DATA_BUFFERS为true,这个参数的解释如下:
USE_INDIRECT_DATA_BUFFERS controls how the system global area (SGA) uses memory. It enables or disables the use of the extended buffer cache mechanism for 32-bit platforms that can support more than 4 GB of physical memory. On platforms that do not support this much physical memory, this parameter is ignored.
感觉相对于AIX、HP-UX系统来说,linux对oracle的支持一直不是很智能,5版本到底有何变化,还有待于以后的发现了。对于我这个linux菜鸟来说,要了解的东西会更多。
