服务注册ServiceRegistration-创新互联
PMON 进程通过服务注册功能, 动态地将实例信息注册到监听器,以使监听器能将客户端的连接请求转发到适当的服务处理程序。 PMON 为监听器提供
了以下信息:
1.由数据库提供的数据库服务名称
2.与服务相关联的数据库实例名称,及其当前负载和大负载。
3.对实例可用的服务处理程序 (分派器和专用服务器),包括其类型、 协议地址, 当前负载和大负载
服务注册是动态的, 并且不需要在 listener.ora 文件中配置。动态注册减少了管理多个数据库或实例的开销。
初始化参数 SERVICE_NAMES 列出实例所属的服务。在启动时,每个实例及其属于相同服务的其他实例,被注册到所有监听器。在数据库操作期间,每个服务的实例将 CPU 使用和当前的连接计数等有关信息, 传递给监听相同服务的所有监听器。这种通信实现了动态负载平衡和连接的故障转移
Service Registration:
Service registration is a feature by which the PMON process dynamically registers instance information with a listener, which enables the listener to forward client connection requests to the appropriate service handler. PMON provides the listener with information about thefollowing:
1.Names of the database services provided by the database
2.Name of the database instance associated with the services and its current and maximum load
3.Service handlers (dispatchers and dedicated servers) available for the instance, including their type, protocol addresses, and current and maximum load
Service registration is dynamic and does not require configuration in the listener.ora file. Dynamic registration reduces administrative overhead for multiple databases or instances.
The initialization parameter SERVICE_NAMES lists the services an instance belongs to. On startup, each instance registers with the listeners of other instances belonging to the same services. During database operations, the instances of each service pass information about CPU use and current connection counts to all listeners in the same services. This communication enables dynamic load balancing and connection failover.
当前标题:服务注册ServiceRegistration-创新互联
本文地址:http://myzitong.com/article/pojoi.html