天天看點

[每日一題] 11gOCP 1z0-053 :2013-10-13 MEMORY_TARGE初始化參數..................................51

轉載請注明出處:http://blog.csdn.net/guoyjoe/article/details/12688487

[每日一題] 11gOCP 1z0-053 :2013-10-13 MEMORY_TARGE初始化參數..................................51

正确答案ABC

   這道題比較簡單,MEMORY_TARGET參數是Oracle11g中才有的,下面我們這幅圖很清楚的描述了Oracle記憶體的關系:

[每日一題] 11gOCP 1z0-053 :2013-10-13 MEMORY_TARGE初始化參數..................................51

參數memory_max_target、 memory_target、sga_max_size、sga_target、pga_aggregate_target的關系:

(1)   sga_target=0 ,pga_aggregate_target=0 -〉完全自動管理,SGA=memory_target*60%   PGA=memory_target*40%
           
(2)   sga_target=600(最小值) ,pga_aggregate_target=200(最小值) -〉memory_target=sga_target+pga_aggregate_target
           
(3)   sga_target=600,pga_aggregate_target=0  -〉pga_aggregate_target=memory_target-sga_target
           
(4) sga_target=0,pga_aggregate_target=200  -〉sga_target=memory_target-pga_aggregate_target
           

答案解析:

答案A正确,memory_target參數的值可以小等等于memory_max_target參數的值,看下面的圖。

[每日一題] 11gOCP 1z0-053 :2013-10-13 MEMORY_TARGE初始化參數..................................51

答案B正确,如果memory_target參數不設,那麼memory_max_target預設為0

答案C正确,如上圖1-1,memory_target包括PGA和SGA

答案D不正确,memory_target參數可以直接在記憶體上修改,馬上生效而無須重新開機資料庫。

[email protected]> select ISSYS_MODIFIABLE  from v$parameter where name='memory_target';

ISSYS_MOD
---------
IMMEDIATE
[email protected]> show parameter memory_target

NAME                                 TYPE        VALUE
------------------------------------ ----------- ------------------------------
memory_target                        big integer 804M
[email protected]> alter system set memory_target=900M;

System altered.

[email protected]> show parameter memory_target

NAME                                 TYPE        VALUE
------------------------------------ ----------- ------------------------------
memory_target                        big integer 900M
           

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:[email protected]

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 

ACONG:  http://www.acoug.org/category/membership

繼續閱讀