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

本站中文解释

LOCAL_LISTENER为本地监听程序,是监听网络消息的程序,接受在本地实例上所有传入的连接请求,控制所有客户端会话管理请求,传输表空间,恢复操作和检查点等操作,是多个实例在同一台服务器上很有必要的配置;

设置正确的LOCAL_LISTENER主要有以下几点:

1.同一机器上的两个数据库实例所配置的LOCAL_LISTENER设置必须不一样,不能指向同一服务器上的监听程序,而应该指向相应的本地服务器上的监听程序;

2.同一机器上的多个Oracle实例,对监听程序的监听设置,要使用不一样的端口号,而且不能出现端口号重复的情况;

3.在启动的时候,考虑到机器的网咯带宽及连接数的限制,尽量设置LOCAL_LISTENER监听的连接数;

4.在设置LOCAL_LISTENER时,尽量使用标准的IP地址+端口号的形式,而不要使用自定义的服务名;

5.最好在数据库初始化的时候就使用最终的LOCAL_LISTENER设置,而不要在后续的服务启动的时候才设置这个参数。

官方英文解释

LOCAL_LISTENER specifies a network name that resolves to an address or address list of Oracle Net local listeners (that is, listeners that run on the same system as this instance). The address or address list is specified in the TNSNAMES.ORA file or other address repository as configured for your system.
Property Description

Parameter type

String

Syntax

LOCAL_LISTENER = network_name

Default value

(ADDRESS = (PROTOCOL=TCP)(HOST=hostname)(PORT=1521)) where hostname is the network name of the local host.

Modifiable

ALTER SYSTEM

Modifiable in a PDB

Yes

Basic

No

See Also:

  • Oracle Database
    Concepts
    for more information about listener processes and dispatcher processes

  • Oracle Database Net
    Services Administrator’s Guide
    and your operating system-specific Oracle documentation for more information about specifying network addresses for the protocols on your system


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