open_links_per_instance 和 open_links 参数说明

本文介绍了Oracle数据库中关于分布式连接的两个参数:OPEN_LINKS和OPEN_LINKS_PER_INSTANCE。OPEN_LINKS限制了单个会话并发打开的远程数据库连接数,而OPEN_LINKS_PER_INSTANCE限制了每个数据库实例的迁移性打开连接数。这两个参数影响分布式事务的执行,过高或过低都会影响性能。当超过限制时,会触发ORA-02020错误。修改这些参数需要重启实例,并确保数据库是以SPFILE启动。
摘要由CSDN通过智能技术生成

1.1  OPEN_LINKS

Property

Description

Parameter type

Integer

Default value

4

Modifiable

No --即修改需要重启实例

Range of values

0 to 255

 

       OPEN_LINKS specifies the maximum number of concurrent open connections to remote databases in one session. These connections include database links, as well as external procedures and cartridges, each of which uses a separate process.

 

Oracle counts one open link for the following:

       For each user that references a public or private database link

       For each external procedure or cartridge connection when it is executed for the first time

 

Both types of connections close when the session ends. You can also close a database link connection explicitly by issuing an ALTER SESSION CLOSE DATABASE LINK statement.

       You should set this parameter to allow for the external procedure and cartridge connections expected during the session plus the number

  • 0
    点赞
  • 1
    收藏
    觉得还不错? 一键收藏
  • 0
    评论

“相关推荐”对你有帮助么?

  • 非常没帮助
  • 没帮助
  • 一般
  • 有帮助
  • 非常有帮助
提交
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值