SGA的 large pool
1、会话共享服务和XA interface
2、I/O服务进程(异步好)
3、备份和恢复操作
show parameter large_pool;
SGA的java pool and streams pool
streams pool已被OGG替代
SGA的keep buffer pool 保持缓存池 (频繁读写的)
SGA的recycle buffer pool 读完即丢弃
SGA的 nk buffer cache 非标准块缓存
PGA 用户私有,为用户提供进程服务
show parameter multiple block_size;
进程架构
1、User process ,如APP,SQL*PLUS , SQL DEVELOPER等
Is the application or tool that connects to the Oracle database
2、Database processes
Server process: Connects to the Oracle instance and is started when a user establishes a session
服务进程为连接会话到实例
Background processes: Are started when an Oracle instance is started
实例启动就会启动后台进程
3、Daemon / Application processes 守护进程
Networking listeners 网络监听,监听比如为保安的角色
Grid infrastructure daemons GI守护
DataBase Write number 即DBWn 进程
n为变量, 数据库写进程
内存database buffer cache (脏数据) ----(DBWn) -----> 磁盘datafile
SQL> ! ps -ef |grep dbw;
Log Write Process 即 LGWR进程
日志写进程 , commit即OK
内存redo log buffer ---(LGWR) --> 磁盘redo log file
Check Point Process 即CKPT进程
检查点进程
CKPT --> control file , CKPT -->data file
alter system checkpoint ;关数据库之前,做这个同步操作,将脏数据写入磁盘。
SMON进程
1、实例恢复(DB重启后)
2、执行临时段
PMON 进程
1、用户进程失败时,清理缓存
2、空闲资源, 空闲会话超时,动态注册通过监听到DB服务
lsnrctl status ready; 动态监听
RECO 进程 recover process 恢复进程
分布式事务,分布式DB
ARCn 归档进程
(1)-->(2)-->(3)-->(1)-->(1)ARCn归档
通过redo log 保留, 主 --(日志同步)-->备,如DG架构。