Oracle 参数 CONTROL_MANAGEMENT_PACK_ACCESS 官方解释,作用,如何配置最优化建议

本站中文解释

(控制管理包访问)

CONTROL_MANAGEMENT_PACK_ACCESS控制管理包访问参数,它可以控制用户是否可以执行某个治理历程的包的内容,如DBMS_ADVISOR,DBMS_CRYPTO和DBMS_MVIEW等。

该参数可以设置为ALWAYS, NONE, or 111(表示允许访问所有包):

1.ALWAYS:表示该用户允许执行所有治理历程的包的内容;

2.NONE:表示该用户禁止执行治理历程的包的内容;

3.111:表示允许访问所有包。

设置该参数可以通过以下两种方式:

A.使用ALTER SYSTEM语句进行设置:

alter system set control_management_pack_access=always scope=both

B.使用命令行实用程序设置:

sqlplus / as sysdba
SQL>alter system set control_management_pack_access=always scope=both;

正确设置CONTROL_MANAGEMENT_PACK_ACCESS参数时,一定要仔细确认,用户是否允许访问某个治理历程的包的内容,或者是禁止执行治理历程的包的内容。

官方英文解释

CONTROL_MANAGEMENT_PACK_ACCESS specifies which of the Server Manageability Packs should be active.

Property Description

Parameter type

String

Syntax

CONTROL_MANAGEMENT_PACK_ACCESS = { NONE | DIAGNOSTIC | DIAGNOSTIC+TUNING }

Default value

Enterprise Edition: DIAGNOSTIC+TUNING

All other editions: NONE

Modifiable

ALTER SYSTEM

Modifiable in a PDB

No

Basic

No

The following packs are available:

  • The DIAGNOSTIC pack includes AWR, ADDM, and so on.

  • The TUNING pack includes SQL Tuning Advisor, SQLAccess Advisor, and so on.

    A license for DIAGNOSTIC is required for enabling the TUNING pack.

Values

  • NONE

    Both packs are not available.

  • DIAGNOSTIC

    Only the DIAGNOSTIC pack is available.

  • DIAGNOSTIC+TUNING

    Both packs are available. This is the default.

See Also:

Oracle Database Licensing
Information User Manual


数据运维技术 » Oracle 参数 CONTROL_MANAGEMENT_PACK_ACCESS 官方解释,作用,如何配置最优化建议