- 1、本文档共13页,可阅读全部内容。
- 2、有哪些信誉好的足球投注网站(book118)网站文档一经付费(服务费),不意味着购买了该文档的版权,仅供个人/单位学习、研究之用,不得用于商业用途,未经授权,严禁复制、发行、汇编、翻译或者网络传播等,侵权必究。
- 3、本站所有内容均由合作方或网友上传,本站不对文档的完整性、权威性及其观点立场正确性做任何保证或承诺!文档内容仅供研究参考,付费前请自行鉴别。如您付费,意味着您自己接受本站规则且自行承担风险,本站不退款、不进行额外附加服务;查看《如何避免下载的几个坑》。如果您已付费下载过本站文档,您可以点击 这里二次下载。
- 4、如文档侵犯商业秘密、侵犯著作权、侵犯人身权等,请点击“版权申诉”(推荐),也可以打举报电话:400-050-0827(电话支持时间:9:00-18:30)。
查看更多
ORACLE体系结构概述1
ORACLE体系结构概述 Oracle 数据库构成 Oracle 数据库由两部分组成: 数据库 实例 物理结构 数据文件 逻辑结构 表空间 块 扩展 段 (数据段、索引段、临时段、回滚段) 方案 表 视图 簇 同义词 Oracle 内存结构 Oracle 实例 共享全局区自动管理 共享池 共享池的组成: 数据字典缓存区 包含数据库对象,存储和权限等的信息 库缓存 库缓存,数据字典缓存区,并行执行消息缓冲区,以及用于系统控制的各种内存结构。 共享池如何影响性能: 减少磁盘读 提供SQL共享区,减少sql语句的解析,以节约CPU 减少资源锁的使用,增强系统稳定性 共享SQL区 程序全局区PGA PGA 包含: Session 信息 Cursor 信息 SQL 执行工作区 实例连接 SQL 语句执行过程 参考论坛 / / ?2005 iSoftStone Information Service Corporation. All rights reserved. iSoftStone Information Service Corporation * * 主讲人:Monica 联机重做日志文件 密码文件 参数文件 归档日志文件 控制文件 跟踪文件 SGA Java 池 共享池 大型池 数据流池 重做日志缓冲区 数据缓冲区 Server process 1 PGA Server process 2 PGA Server process 3 PGA 系统监控进程 SMON 数据库写进程 DBWn 日志写进程 LGWR 进程监控进程 PMON 归档 ARC0 检查点 CKPT SGA Java 池 共享池 大型池 数据流池 重做日志缓冲区 数据缓存区 控制文件 数据文件 重做日志文件 归档重做日志文件 SGA Java 池 Fixed SGA 重做日志缓存区 数据缓存区 各种内存的大小确定? 大型池 共享池 SGA 共享SQL Cursor forSELECT statement 2 Cursor forSELECT statement 1 User A User B User C SELECTstatement 1 SELECTstatement 2 SELECTstatement 1 用户n Server Server 用户1 客户端 用户2 Server Oracle database 数据库服务器 应用服务器 浏览器 Close Open Fetch Bind Parse Execute Oracle Database Architecture: Overview An Oracle server consists of an Oracle database and an Oracle instance. The database consists of physical files such as: The control file where the database configuration is stored The redo log files, which have information required for database recovery The data files where all data is stored The parameter file, which contains the parameters that control the size and properties of an instance The password file, which contains the superuser (SYSOPER and SYSDBA) passwords The instance consists of memory structures such as System Global Area (SGA) and Program Global Area (PGA) and background processes that perform tasks within the database as well as the server processes that are initiated for each user session. The size and structure of an Oracle database and instance impact performance. The physical structure of the database impacts the I/
文档评论(0)