服务注册:

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.

 

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

转载于:http://blog.itpub.net/31397003/viewspace-2147598/

服务注册Service Registration相关推荐

  1. linux中.service文件,linux 服务注册 service文件 在service文件中设置变量和环境变量...

    [Unit] Description=  #服务描述 After=syslog.target     #服务启动依赖 [Service] Type=forking          #服务启动类型 可 ...

  2. python服务发现与注册_(转)微服务架构中服务注册与发现

    https://blog.csdn.net/u011537073/article/details/69663858 想象一下,如果你在写代码调用一个有REST API或Thrift API的服务,你的 ...

  3. 服务注册与发现的原理和实现

    什么是服务注册发现? 对于搞微服务的同学来说,服务注册.服务发现的概念应该不会太陌生. 简单来说,当服务A需要依赖服务B时,我们就需要告诉服务A,哪里可以调用到服务B,这就是服务注册发现要解决的问题. ...

  4. Spring Cloud中使用Consul作为服务注册中心时如何获得local service id?

    微服务是目前非常流行和实用的软件架构设计.Spring Cloud是java开发领域最受欢迎也是常用的微服务框架.Spring Cloud Finchley版本已经发布,与此同时Eureka 2.0的 ...

  5. GO微服务实战第十四节 案例:如何在 Go-kit 和 Service Meh 中进行服务注册与发现?

    今天我和你分享的是如何在 Go-kit 和 Service Mesh 中进行服务注册与发现的案例. 在上一课时中,我们基于搭建好的 Consul 集群,通过 Consul 中提供的 HTTP API ...

  6. 三、向SpringCloud注册Service服务(Restful服务)

    第一步:在该工程中pom.xml中追加引入jar包定义 ①spring-cloud-starter-eureka ②spring-cloud-starter-parent ③ ④ <!-- sp ...

  7. 微服务架构 — 服务治理 — 服务注册与发现、服务订阅与通知

    目录 文章目录 目录 应用与服务的关系 服务注册与发现(Service Registration and Discovery) Service Registration Service Registr ...

  8. .NET Core 使用 Consul 服务注册发现

    Consul是一个用来实现分布式系统服务发现与配置的开源工具.它内置了服务注册与发现框架.分布一致性协议实现.健康检查.Key/Value存储.多数据中心方案,不再需要依赖其他工具,使用起来也较为简单 ...

  9. .NET Core + Consul 服务注册与发现

    在分布式架构中,服务治理是必须面对的问题,如果缺乏简单有效治理方案,各服务之间只能通过人肉配置的方式进行服务关系管理,当遇到服务关系变化时,就会变得极其麻烦且容易出错. Consul[1] 是一个用来 ...

最新文章

  1. 看完2017年这10大AI失败案例,就知道什么是人工智障了
  2. 聊聊flink的InternalTimeServiceManager
  3. 多层数据源处理复杂数据结构
  4. linux删除缓存脚本,Linux 设置定时清除buff/cache的脚本
  5. Centos 7安装Postfix用于发送提醒邮件
  6. 如何使用FM RH_STRUC_GET获得user assign的Organization unit
  7. 数学特级教师:数学除了做习题,我还他让他们看这十部纪录片!
  8. k8s 安装nfs_K8s--06 K8s数据持久化
  9. ASP非模板生成静态页
  10. 文档加载状态_我们如何确定技术文档的状态?
  11. 简单的遗传算法java实例
  12. 备战数学建模10-主成分分析模型与因子分析模型
  13. 编写一个油猴脚本,去除百度首页的广告卡片(亲测有效)
  14. java保留字详解_java复习基础知识——java保留字
  15. opengl模型加载
  16. 进制怎么用计算机算,Win10计算器怎么算二进制,win10计算器二进制使用教程
  17. 文学类的小说,言情类的,没有排行榜上的
  18. MySQL表连接算法
  19. 端粒效应《The Telemere Effect》程序员的养生指南(一)压力、端粒与衰老
  20. 飞行的小鸟论文python_80+行代码实现简单的“飞行的小鸟”游戏

热门文章

  1. Win系统蓝牙设备删除失败 - 解决方案
  2. unity----lua调用c#之lua调用c#中的数组,list,字典
  3. US Domain Center域名注册| 域名注册商
  4. UOJ147 斗地主
  5. 微信小程序实现简单的瀑布流式布局
  6. Python网络相关面试题
  7. C#毕业设计——基于C#+asp.net+SQL Server的电子书城系统设计与实现(毕业论文+程序源码)——电子书城系统
  8. disk drill 中文版|disk drill pro v4.0.533中文便携版
  9. glut 配置,解决“gl/glut.h”: No such file or directory
  10. 湖南科技大学Android课程设计之个人理财小助手APP