All technological notes.
client process / user process to run the user application.
Client processes vs Oracle processes:
Oracle processes:
client process
Example:
database connection
client process and a database instance.a connection occurs
client process and a server process or dispatcher,client process and Oracle Connection Manager (CMAN).database session:
A session lasts from the time the user is authenticated by the database until the time the user disconnects or exits the database application.
connection vs session
connection can have 0, 1, or more sessions established on it. 连接可以由多个会话sessions are independent: a commit in one session does not affect transactions in other sessions.会话间独立.User vs session
Multiple sessions can exist concurrently for a single database user.
server process on behalf of each connection.独享连接: 服务器进程即连接.client process that causes the dedicated server to be created uses it. 用户进程触发独享服务器进程的创建; 也只有用户能专用In a shared server connection
client processes access a single shared server process. 单一共享服务器进程
- user hr can have multiple connections to a database. 单一用户可以由多个连接

- user hr can have single connections to a database with multiple sessions. 单一用户可以有多个会话
V$SESSIONV$SESSION:
SELECT sid, serial#, paddr FROM V$SESSION WHERE username = user;

DISCONNECT command actually ends the sessions, not the connection.database operation
simple database operation:
composite database operation:
User can divide a large set of tasks into database operations, and subdivide operations into phases.
Each execution of a database operation is uniquely identified by a pair of attributes:
operation name and execution ID.One session can start or stop a database operation in a different session by specifying its session ID and serial number.
database operation can execute at the same time using the same name but different execution IDs.database operation with the same name can contain different statements.| Target | Identified |
|---|---|
| database operation | operation name + execution ID |
| session | session ID + serial number |