刚才发现在目前最新的11.2.0.3版本中实例instance startup时alert.log 中会提供Large Pages Information 大内存页的信息了:
Starting ORACLE instance (normal) ****************** Large Pages Information ***************** Total Shared Global Region in Large Pages = 0 KB (0%) Large Pages used by this instance: 0 (0 KB) Large Pages unused system wide = 0 (0 KB) (alloc incr 16 MB) Large Pages configured system wide = 0 (0 KB) Large Page size = 2048 KB RECOMMENDATION: Total Shared Global Region size is 1202 MB. For optimal performance, prior to the next instance restart increase the number of unused Large Pages by atleast 601 2048 KB Large Pages (1202 MB) system wide to get 100% of the Shared Global Region allocated with Large pages *********************************************************** Starting up: Oracle Database 11g Enterprise Edition Release 11.2.0.3.0 - 64bit Production With the Partitioning, Real Application Clusters, OLAP, Data Mining and Real Application Testing options. ORACLE_HOME = /s01/orabase/product/11.2.0/dbhome_3 System name:Linux Node name:vrh2.oracle.com Release:2.6.18-274.el5 Version:#1 SMP Mon Jul 25 13:17:49 EDT 2011 Machine:x86_64 Using parameter settings in server-side spfile /s01/orabase/product/11.2.0/dbhome_3/dbs/spfileEMREP.ora
该Large Pages Information还附有配置Large Page的RECOMMENDATION设置,当SGA_Target=1202MB时,推荐配置601个2048K页。 注意Large Page不能和11g AMM 自动内存管理一起使用,否则AMM将失去其意义。
本文转自maclean_007 51CTO博客,原文链接:http://blog.51cto.com/maclean/1278136