本章提要
----------------------------------------------
所有的 process 都是在 PGA 内(memory)
server process: 与 client 连接有关(在PGA中)
bakground process: 作维护工作(在PGA中)
slave process: 很像background process, 但是他们做额外的工作帮助server process或background process(在PGA中)
----------------------------------------------

1. server process
    它是 client session 的一个代理, They are the processes that ultimately receive and act on the SQL
    statements our applications send to the database.
    Both dedicated and shared server processes have the same job: they process all of the SQL you give
    to them.( 都是要做将client提交的sql语句解析, 并将它放到shared pool中 等 )这个进程负荷很高,占用CPU也
    很多.
connection VS session: 一个connection只是一个物理的连接(client 进程 与 server 端的某个进程), 网络连接
    在一个connection 上可以有0~N个独立的session, 另外, 借助于其他媒介, session也可以没有connection,比如
    connection pooling 连接池, A session is a logical entity that exists in the instance, It is your
    session state, or a collection of data structures in memory that represents your unique session.
    查询的结果集会返回给你这个session,
AUTOTRACE: When we enable AUTOTRACE in SQL*Plus, SQL*Plus will perform the following actions when we
    execute DML operations (INSERT, UPDATE, DELETE, SELECT, and MERGE):
    1) It will create a new session using the current connection, if the secondary session does not
       already exist.
    2) It will ask this new session to query the V$SESSTAT view to remember the initial statistics values
        for the session in which we will run the DML.
    3) It will run the DML operation in the original session. (执行dml在之前的session)
    4) Upon completion of that DML statement, SQL*Plus will request the other session to query V$SESSTAT again
        and produce the report displayed previously showing the difference in the statistics for the session
        that executed the DML.
2. background process
    instance 是由 SGA 和 background process 组成.
        picture: 5-4
    中心进程介绍:
    1) pmon, 负责在出现异常中断连接之后完成清理. 另外, 它还向 oracle tns 监听器注册这个实例(动态注册)
    2) smon, 完成系统级任务, 清理临时空间, 合并空闲空间 等
    3) reco, 分布式数据库恢复
    4) ckpt, 检查点进程
    5) dbwn, 数据库写入器
    6) lgrw, 日志写入器
    7) arch, 归档进程
    8) diag, 诊断进程
    9) fbda, 闪回数据归档进程
    10) dbrm, 数据库资源管理进程
    11) gen0, 通用任务进程

05 Oracle process的更多相关文章

  1. 黑马oracle_day02:04.oracle对象&&05.oracle编程(a)

    01.oracle体系结构 02.oracle的基本操作 03.oracle的查询 04.oracle对象&&05.oracle编程(a) 05.oracle编程(b) 04.orac ...

  2. For oracle databases, if the top showing the oracle database, then oracle process is using the top c

    Note 805586.1   Troubleshooting Session Administration (Doc ID 805586.1)Note 822527.1   How To Find ...

  3. Tracing Memory access of an oracle process : Intel PinTools

    https://mahmoudhatem.wordpress.com/2016/11/07/tracing-memory-access-of-an-oracle-process-intel-pinto ...

  4. Oracle Process Cloud流程云实践

    本篇适合对Oracle Unified BPM有一定基础的人参考,本篇也是参考Oracle A-team  John Featherly的文章进行的实践. 1.      流程创建 打开cloud.o ...

  5. 密码过期导致Oracle process耗尽问题

    oracle忽然连不上! 大致是报这样的错: ORA-12516: TNS: 监听程序找不到符合协议堆栈要求的可用处理程序 ORA-12520: TNS: 监听程序无法为请求的服务器类型找到可用的处理 ...

  6. 避免因为Arcgis Server服务设置不当导致Oracle Process溢出的方法

    我之前写过一篇文章<arcsoc进程无限增长导致oracle processes溢出>(见链接:https://www.cnblogs.com/6yuhang/p/9379086.html ...

  7. SQL Tuning 基础概述05 - Oracle 索引类型及介绍

    一.B-Tree索引 三大特点:高度较低.存储列值.结构有序 1.1利用索引特性进行优化 外键上建立索引:不但可以提升查询效率,而且可以有效避免锁的竞争(外键所在表delete记录未提交,主键所在表会 ...

  8. 05 oracle中lock和latch的用途

    oracle中lock和latch的用途   本文向各位阐述Oracle的Latch机制,Latch,用金山词霸翻译是门插栓,闭锁,专业术语叫锁存器,我开始接触时就不大明白为什么不写Lock,不都是锁 ...

  9. 如何设置Oracle process值

    参考链接:http://blog.51cto.com/sunwayle/88870 su - oracle sqlplus system as sysdba; show parameter proce ...

随机推荐

  1. http://www.cnblogs.com/txw1958/p/alipay-f2fpay.html

    一.条码支付及二维码支付介绍 1. 条码支付 条码支付是支付宝给到线下传统行业的一种收款方式.商家使用扫码枪等条码识别设备扫描用户支付宝钱包上的条码/二维码,完成收款.用户仅需出示付款码,所有收款操作 ...

  2. [Android开发那点破事]解决android.os.NetworkOnMainThreadException

    [Android开发那点破事]解决android.os.NetworkOnMainThreadException 昨天和女朋友换了手机,我的iPhone 4S 换了她得三星I9003.第一感觉就是好卡 ...

  3. TCP客户/服务器简单Socket程序

    建立一个 TCP 连接时会发生下述情形: 1. 服务器必须准备好接受外来的连接.这通常通过调用 socket.bind 和 listen 这三个函数来完成,我们称之为被动打开. 2. 客户通过调用 c ...

  4. 【驱动笔记10】再谈IRP

    文章作者:grayfox作者主页:http://nokyo.blogbus.com原始出处:http://www.blogbus.com/nokyo-logs/34010655.html 这一节会对I ...

  5. .net数据库连接池(转载)

    如何实现连接池? 确保你每一次的连接使用相同的连接字符串(和连接池相同):只有连接字符串相同时连接池才会工作.如果连接字符串不相同,应用程序就不会使用连接池而是创建一个新的连接. 优点 使用连接池的最 ...

  6. javascript array操作

    首先来看一下怎么判断一个对象是不是数组: 1.Array.isArray(obj) 调用数组的isArray方法 2.obj instanceof Array 判断对象是否是Array的实例 3.Ob ...

  7. RTB竞价中的cookie mapping技术

    首先通过一些关键词解释普及或者回顾一下背景, ADX: Ad exchange的简称.一般特指Ad exchange平台模块 DMP: Data Management Platform的简称.DMP存 ...

  8. Spring mvc中DispatcherServlet详解

    简介 DispatcherServlet是前端控制器设计模式的实现,提供SpringWebMVC的集中访问点,而且负责职责的分派,而且与spring IOC容器无缝集成,从而可以获得Spring的优势 ...

  9. 将数据库select出来的数据转化为与相应databean相应的字典

    例如以下图: 从user_logs表格select出来的数据放在一个可变数组NSMutableArray中,如 user_logs,如今要 把数据一条条转化为Userlog databean,User ...

  10. iptables的自定义链--子链

    我个人理解:子链的作用就是为了减少重复设置,有的时候可能对数据包进行一系列的处理,而且还被多种规则引用.这样就可以设置成子链,一起跳转过去处理. -j subchain 子链用-N来创建. iptab ...