oracle:net-service

一、oracle NET知识点
1、每个数据库由一个或多个service用service name代表,如sales.us.example.com,客户端用service name来定义要访问的数据库。
2、名称方法(naming methods)存储数据库服务和位置信息,一个database service有多个naming methods.
例如,一个公司有三个数据库,每个数据库有不同的service name.

sales.us.example.com
hr.us.example.com
and mktg.us.example.com
客户端在 repository查找sales.us.example.com信息.查到后连接数据库

image

二、共享服务架构
当使用共享服务时,客户端不和数据库服务进程直接通信,客户端请求路由到一个或多个调度dispathchers。共享服务从服务进程的shared pool选择进程处理客户端请求。

image

 

 

posted @ 2026-03-19 16:56  hopeccie  阅读(14)  评论(0)    收藏  举报