OCP-1Z0-052-V8.02-53题

53. You set the following parameters in the parameter file and restarted the database:

MEMORY_MAX_TARGET=0

MEMORY_TARGET=500M

PGA_AGGREGATE_TARGET=90M

SGA_TARGET=270M

Which two statements are true about these parameters after the database instance is restarted? (Choose

two.)

A.The MEMORY_MAX_TARGET parameter is automatically set to 500 MB. 

B.The PGA_AGGREGATE_TARGET and SGA_TARGET parameters are automatically set to zero.

C.The value of the MEMORY_MAX_TARGET parameter remains zero until it is changed manually. 

D.The lower bounds of PGA_AGGREGATE_TARGET and SGA_TARGET parameters are set to 90 MB

and 270 MB, respectively.

to DBA_ALERT_HISTORY.

E.The threshold alerts related to database metrics are permanently stored in DBA_ALERT_HISTORY but

not the threshold alerts related to instance metrics.

Answer: AD  

参考:http://blog.csdn.net/rlhua/article/details/12493791

只需要设置一个目标内存大小初始化参数( MEMORY_TARGET )  和一个最大内存大小初始化参数( MEMORY_MAX_TARGET),数据库就会根据处理需求在SGA 与实例 PGA 之间动态交换内存。

自动内存管理是用两个初始化参数进行配置的:

MEMORY_TARGET:动态控制SGA和PGA时,Oracle总共可以使用的共享内存大小,这个参数是动态的,因此提供给Oracle的内存总量是可以动态增大,也可以动态减小的。它不能超过MEMORY_MAX_TARGET参数设置的大小。默认值是0。

MEMORY_MAX_TARGET:这个参数定义了MEMORY_TARGET最大可以达到而不用重启实例的值,如果没有设置MEMORY_MAX_TARGET值,默认等于MEMORY_TARGET的值。

使用动态内存管理时,SGA_TARGET和PGA_AGGREGATE_TARGET代表它们各自内存区域的最小设置,要让Oracle完全控制内存管理,这两个参数应该设置为0。但并不会因为设置了MEMORY_TARGET,这两个参数就会自动变回0。

原文地址:https://www.cnblogs.com/hzcya1995/p/13317024.html