OCP考試第18題
18. You create a new Automatic Database Diagnostic Monitor (ADDM) task: instance_analysis_mode_task.
To view the ADDM report, you use the following command:
SQL> SELECT dbms_addm.get_report('my_instance_analysis_mode_task') FROM dual;
You want to suppress ADDM output relating to Segment Advisor actions on user SCOTT's segments. What would you do to achieve this?
你想要ADDM輸出關於segment的建議
A. Add a finding directive for the ADDM task.
B. Add a segment directive for the ADDM task.
C. Add a parameter directive for the ADDM task.
D. Disable the Segment Advisor from the Automatic Maintenance Task.
知識點:
ADDM是Oracle一個實現效能自我診斷的最佳利器。它依賴於AWR,也就是說ADDM要診斷,必要要有診斷的依據。
要使用ADDM,兩個重要的引數應進行正確的配置。
statistics_level:該引數建議設定為TYPICAL
control_management_pack_access:該引數建議設定為DIAGNOSTIC+TUNING,及診斷和優化包都被使用。
ADDM取樣 @?/rdbms/admin/addmrpt.sql
主要哪些問題導致了過高的DB Time 佔用,並提供建議。
參考:https://blog.csdn.net/leshami/article/details/70859672
|
Returns a string containing the SQL text of an ASH query identifying the rows in ASH with impact for the finding |
Retrieves the default text report of an executed ADDM task |
|
Creates a directive to limit reporting of a specific finding type. |
|
Creates a directive to prevent ADDM from creating actions to alter the value of a specific system parameter |
|
Creates a directive to prevent ADDM from creating actions to "run Segment Advisor" for specific segments |
|
Creates a directive to limit reporting of actions on specific SQL |
可以提供Creates a directive to prevent ADDM from creating actions to "run Segment Advisor" for specific segments
答案:B