首页 > Linux操作系统 > Linux操作系统 > SGA_MAX_SIZE
9i的concepts是这样描述的:
If SGA_MAX_SIZE specified in the initialization parameter file is
less than the sum of all components specified or defaulted at initialization time,
then the setting in the initialization parameter file is ignored.
10g的concepts是这样描述的:
If the value for SGA_MAX_SIZE in the initialization parameter file or server parameter file (SPFILE) is less than the sum the memory allocated for all components, either explicitly in the parameter file or by default, at the time the instance is initialized, then the database ignores the setting for SGA_MAX_SIZE.
其实两段话是一个意思:
1 首先参数文件中SGA中各组件的内存分配和可以大于SGA_MAX_SIZE,此时SGA_MAX_SIZE参数被忽略,实际上就是将这个值修改为了各组件的内存分配和
2 如果在实例启动过程中,修改任一组件的内存分配,与其他组件的内存分配之和,不能超过当时的SGA_MAX_SIZE,想超过可以,修改SGA_MAX_SIZE的参数大小
v$sga_dynamic_components中记录的组件可以在实例运行过程中修改内存大小
其他组件需要scope=spfile才可以修改
来自 “ ITPUB博客 ” ,链接:https://blog.itpub.net/22111412/viewspace-661992/ ,如需转载,请注明出处,否则将追究法律责任。