ITPub博客

首页 > Linux操作系统 > Linux操作系统 > OPEN_LINKS(转)

OPEN_LINKS(转)

原创 Linux操作系统 作者:tochar 时间:2007-07-27 00:00:00 0 删除 编辑

OPEN_LINKS

Parameter type

Integer

Default value

4

Parameter class

Static

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 of databases referred to in typical distributed transactions (that is, a single SQL statement that references multiple databases), so that all the databases can be open to execute the statement. For example, if queries alternately access databases A, B, and C, and OPEN_LINKS is set to 2, time will be lost waiting while one connection is broken and another made. Increase the value if many different databases are accessed over time.

This parameter refers only to connections used for distributed transactions. Direct connections to a remote database specified as an application connects are not counted.

If you set OPEN_LINKS to 0, then no distributed transactions are allowed.


来自 “ ITPUB博客 ” ,链接:http://blog.itpub.net/9078678/viewspace-45132/,如需转载,请注明出处,否则将追究法律责任。

上一篇: OPEN_CURSORS(转)
请登录后发表评论 登录
全部评论

注册时间:2007-12-11

  • 博文量
    118
  • 访问量
    788512