Oracleã§ã¢ã¼ã«ã¤ããã°ã大éã«
éç¨ä¸ã®Oracleãã¼ã¿ãã¼ã¹ã§ãå¤éã«ã¢ã¼ã«ã¤ããã°ã大éã«åããã¦åæ¢å¯¸åã«ãªã£ãã
æ®æ®µã®10åãããã®ãµã¤ãºã«ãªã£ã¦ããã
ã¡ãªã¿ã«Oracleã®ãã¼ã¸ã§ã³ã¯11.2.0.1 (SE)ã
æåã¯ãããå¦çã®ä¸å ·åã§ã大éã«ã¬ã³ã¼ããæ´æ°ããã®ã ããã¨æã£ã¦ããããã¢ã¼ã«ã¤ããã°ã®ãµã¤ãºã®ç£è¦ã¹ã¯ãªãããè¦ç´ãã¦ããã¢ã¼ã«ã¤ããã°ãæ¥å¢ããæé帯ã«ãããå¦çãªã©ã¯ã»ã¨ãã©èµ°ã£ã¦ããªãã
ãã ãå½è©²ã®æé帯ã«ãOracleã«ããã©ã«ãã§æå¹ã«ãªã£ã¦ããèªåãã¼ã¿ãã¼ã¹ã»ã¡ã³ããã³ã¹ã»ã¿ã¹ã¯ãèµ°ã£ã¦ããã
Oracleã®èªåãã¼ã¿ãã¼ã¹ã»ã¡ã³ããã³ã¹ã»ã¿ã¹ã¯ã«ã¯ä»¥ä¸ã®ï¼ç¨®é¡ãããã
- ãªããã£ãã¤ã¶çµ±è¨åé(auto optimizer stats collection)
- ã»ã°ã¡ã³ãã»ã¢ããã¤ã¶(auto space advisor)
- SQLãã¥ã¼ãã³ã°ã»ã¢ããã¤ã¶(sql tuning advisor)
æå¾ã®ãSQLãã¥ã¼ãã³ã°ã»ã¢ããã¤ã¶ãã¯ç¡å¹ã«ãªã£ã¦ãããããæªããã®ã¯ããªããã£ãã¤ã¶çµ±è¨åéãã¨ãã»ã°ã¡ã³ãã»ã¢ããã¤ã¶ãã§ããã
ã¢ã¼ã«ã¤ããã°ã大éã«åãããæ¥ã¨åãããªãæ¥ããããããç¹å®ã®ãã¼ãã«ã®çµ±è¨æ
å ±ã失å¹ããã®ãããªã¬ã¼ã§ã¯ï¼ã¨èããã¾ãã¯ããªããã£ãã¤ã¶çµ±è¨åéãããªãã«ãã¦ã¿ãã
BEGIN
dbms_auto_task_admin.disable(
client_name => 'auto optimizer stats collection',
operation => NULL,
window_name => NULL);
END;
/
ããããããã§ã¯æ¹åããªããããããä¸æ¹ã®ãã»ã°ã¡ã³ãã»ã¢ããã¤ã¶ãã®ã»ããç¡å¹åãã¦ã¿ãã¨ãããã¢ã¼ã«ã¤ããã°ã大éã«åãããç¾è±¡ã¯åã¾ã£ãã
BEGIN
dbms_auto_task_admin.disable(
client_name => 'auto space advisor',
operation => NULL,
window_name => NULL);
END;
/
å¾ã§èª¿ã¹ãã¨ãããã©ããç¹å®ã®Oracleã®ãã¼ã¸ã§ã³ã«åå¨ãããã°ã®ããã ã