首页 > 数据库 > Oracle > 控制诊断和调优包的使用
From 11g, the CONTROL_MANAGEMENT_PACK_ACCESS parameter allows you to control which packs are utilized. This parameter can be set as one of three values:
Values:
The diagnostic pack includes AWR and ADDM while diagnostic and tuning includes sql tuning advisor and sql access advisor.
To check what is set in current environment, you can run the following:
This parameter is dynamic; so to change the parameter from default to none, the following command can be used:
To change the parameter back, run following:
Remember, the Diagnostic and Tuning Packs are extra cost, licensed features. If a license has not been acquired, then there are the options to use Statspack, a third-party tool, or to build home-grown monitoring procedures.
来自 “ ITPUB博客 ” ,链接:https://blog.itpub.net/12798004/viewspace-1762243/ ,如需转载,请注明出处,否则将追究法律责任。