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

本站中文解释

IONS

DRCP_DEDICATED_OPTIONS 参数指定由客户程序使用的DRCP会话的一些选项。正确的设置步骤如下:

1、通过以下SQL查询语句查看当前DRCP_DEDICATED_OPTIONS值:

select value from v$parameter where name=’DRCP_DEDICATED_OPTIONS’;

2、如果没有当前参数,使用以下 SQL 语句新建 DRCP_DEDICATED_OPTIONS 参数 或者 修改已存在参数:

alter system set drcp_dedicated_options = ‘value’;

其中value详细描述如下:

value:

1、“CONNECT_POOLING”:此值启用 DRCP 连接池服务,它可使客户程序无需重新建立实例和会话,只需与连接池服务器连接即可以池方式复用已有的会话。

2、“TRANSPARENT_APPCTX”:当启用时,客户程序能够发送进入的应用程序上下文指定,并接收处理的应用程序上下文回应。

3、“SESS_SURROGATE”:当启用时,存储在会话中的信息可被多个相同用户的会话共享,以减少几乎相同的会话数量,例如:应用程序中定义的会话变量值等。

4、可以通过拼接形式将指定多个选项一起启动,例如:CONNECT_POOLING,TRANSPARENT_APPCTX,SESS_SURROGATE

官方英文解释

Use DRCP_DEDICATED_OPT to enable or disable the use of dedicated optimization with Database Resident Connection Pooling (DRCP).

Dedicated optimization causes DRCP to behave like a dedicated server when the number of connections to the DRCP broker is less than the DRCP maximum size.

Property Description

Parameter type

String

Syntax

DRCP_DEDICATED_OPT = { YES | NO }

Default value

NO

Modifiable

ALTER SYSTEM

Modifiable in a PDB

Yes, according to the following guidelines:

  • When the ENABLE_PER_PDB_DRCP initialization parameter is set to true, DRCP_DEDICATED_OPT can be modified only at the PDB level; it cannot be modified for the CDB root.

  • When the ENABLE_PER_PDB_DRCP initialization parameter is set to false, DRCP_DEDICATED_OPT can be modified only for the CDB root; it cannot be modified at the PDB level.

Basic

No

Oracle RAC

Different instances can use different values.

When the value of this parameter is set to YES, the use of dedicated optimization with DRCP is enabled. When it is set to NO, the use of dedicated optimization with DRCP is disabled.

Note:

This parameter is available starting with Oracle Database release 19c, version 19.11.

See Also:

  • Oracle Database
    Administrator’s Guide
    for more information about setting this parameter

  • “ENABLE_PER_PDB_DRCP”


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