六狼论坛

 找回密码
 立即注册

QQ登录

只需一步,快速开始

新浪微博账号登陆

只需一步,快速开始

搜索
查看: 44|回复: 0

Notes on 'Expert Oracle' -

[复制链接]

升级  61%

251

主题

251

主题

251

主题

进士

Rank: 4

积分
805
 楼主| 发表于 2013-1-15 02:47:21 | 显示全部楼层 |阅读模式
1.Server Process
  a.Dedicated Server: one TCP/IP connection, one server process
  b.Shared Server: Serveral tcp/ip connections => one dispatcher => A pool of processes

2.Connection V.S. Session
  In terms of Domain Logic, the two are not 'associated' with each other, they only 'depend' each other.

   a. A connection is physical network connection, TCP/IP etc.
   b. A session is a logic connection.   

A connection can be reused by many sessions, and a session can also span several connections.(Think about Http Session)
  
Question1: Is the JDBC connection an Oralce Connection, or an Oracle Session ?

Question2: What's their timeout strategies like for connections and sessions?  


3.Dedicated VS Shared
   OLTP -> Dedicated
   OLAP -> Shared. Don't use a J2EE connection pool with this, otherwise there will be two pools, one in J2EE server, the other in DB.

            
An oracle process can be a real OS process, or an OS thread. It depends on what kind of OS you are using.
您需要登录后才可以回帖 登录 | 立即注册 新浪微博账号登陆

本版积分规则

快速回复 返回顶部 返回列表