转载请注明出处:http://blog.csdn.net/guoyjoe/article/details/11664185
答案 BC
sys@OCM> alter system set fast_start_mttr_target=0; ----显示设为0
答案A不正确,这两参数与SGA顾问器无关。
答案B:正确,当fast_start_mttr_target 默认为0(即没有手工设0)说明是开启了自动检查点,(fast_start_mttr_target=0或默认,mttr顾问器都会被禁用)。
答案C正确,显式设置FAST_START_MTTR_TARGET = 0,自动检查点调整被禁用了(来自MOS:Automatic checkpoint tuning is enabled by default. If it is disabled, by setting the parameter to zero explicitly)
Automatic Checkpoint Tuning in Oracle 10g (文档 ID 265831.1) |
SQL> alter system set FAST_START_MTTR_TARGET=10;
1、默认是开启的自动检查点!!!!,即fast_start_mttr_target没做任何设。
sys@OCM> show parameter mttr
NAME TYPE VALUE
------------------------------------ -----------------------------------------
fast_start_mttr_target integer 0
隐藏参数“_disable_selftune_checkpointing”(Disable self-tune checkpointing )= FALSE
sys@OCM> show parameter dump
NAME TYPE VALUE
------------------------------------ -----------------------------------------
background_core_dump string partial
background_dump_dest string /u01/app/oracle/diag/rdbms/ocm
/ocm/trace
core_dump_dest string /u01/app/oracle/diag/rdbms/ocm
/ocm/cdump
max_dump_file_size string unlimited
shadow_core_dump string partial
user_dump_dest string /u01/app/oracle/diag/rdbms/ocm
/ocm/trace
[root@mydb ~]# su - oracle
[oracle@mydb ~]$ more /u01/app/oracle/diag/rdbms/ocm/ocm/trace/
ARC1 started with pid=25, OS id=10803
Thread 1 opened at log sequence 12
Current log# 3 seq# 12 mem# 0:/u01/app/oracle/oradata/ocm/redo03.log
Successful open of redo thread 1
MTTR advisory is disabled because FAST_START_MTTR_TARGET is not set
Sun Sep 08 14:38:03 2013
ARC2 started with pid=26, OS id=10805
2、如果说显式的设置alter system set FAST_START_MTTR_TARGET=0就是关闭自动调节。
idle> alter system set fast_start_mttr_target=0;
System altered.
sys@OCM> startup force;
ORACLE instance started.
Total System Global Area 839282688 bytes
Fixed Size 2233000 bytes
Variable Size 515902808 bytes
Database Buffers 314572800 bytes
Redo Buffers 6574080 bytes
Database mounted.
Database opened.
[root@mydb trace]# vi alert_ocm.log
MTTR advisory is disabled because FAST_START_MTTR_TARGET is not set
MTTR advisory was turned off because FAST_START_MTTR_TARGET was disabled.
3、当FAST_START_MTTR_TARGET显示设为非零
idle> alter system set fast_start_mttr_target=120;
System altered.
idle> startup force;
ORACLE instance started.
Total System Global Area 839282688 bytes
Fixed Size 2233000 bytes
Variable Size 515902808 bytes
Database Buffers 314572800 bytes
Redo Buffers 6574080 bytes
Database mounted.
Database opened.
[root@mydb trace]# vi alert_ocm.log
当FAST_START_MTTR_TARGET显示设为非0,没发现MTTR advisory 相关的信息。
总结:FAST_START_MTTR_TARGET默认或显示设为在alert日志中都会有MTTR advisory is disabled。
MOS Automatic Checkpoint Tuning in Oracle 10g [ID 265831.1]
答案D不正确的,跟这个参数有关,如果设为ture就会把检查点信息写到aler日志
sys@OCM> show parameter alert
NAME TYPE VALUE
------------------------------------ -----------------------------------------
log_checkpoints_to_alert boolean FALSE
QQ:252803295
技术交流QQ群:
DSI&Core Search Ⅰ 群:127149411(2000人技术群:未满)
DSI&Core Search Ⅱ 群:177089463(1000人技术群:未满)
DSI&Core Search Ⅲ 群:284596437(500人技术群:未满)
DSI&Core Search Ⅳ 群:192136702(500人技术群:未满)
DSI&Core Search Ⅴ 群:285030382(500人闲聊群:未满)
MAIL:dbathink@hotmail.com
BLOG: http://blog.csdn.net/guoyjoe
WEIBO:http://weibo.com/guoyJoe0218
ITPUB: http://www.itpub.net/space-uid-28460966.html
OCM: http://education.oracle.com/education/otn/YGuo.HTM