oracle 体系架构 (绝对原创) (一)
来源:互联网 发布:手机通讯录软件排行 编辑:程序博客网 时间:2024/05/22 03:38
This I will intruduce Instance and Media recovery structure:
After completing this lesson, you should be able to do the following:
1: Describle the Oracle process, memory structures, and file rekating to recovery.
2: Identify the importance of checkpoints, redo log files, and archived log files.
3: Describe ways to tune instance recovery.
Step1:
Memory:
Type:
1: Data buffer cache:
Menory area used to store blocks read from data files.
Data is read into the blocks by server process and written out by DBWn asynchronously.
2: Log buffer:
Memory containing before and after image copies of changed data to be written to redo logs.
3: Large pool:
An optional area in the SGA that provides large memroy allocations for backup and restore operations.
I/O server processes, and session memory for the shared server and ORACLE XA.
4: Shared pool:
Stores parsed version of SQL statements, PL/SQL procedures, and data dictionary information.
5: Jave pool:
Used in server memory for all session-specific Jave Code and data within the java virtual mechine.
Step2 Backgroud Process:
1: Database write (DBWn):
writes dirty buffers from the data buffer cache to the data files, This activity is asynchronous.
Notice:
If you are using the linux OS , the packet: "aio" is nessary to asynchronous packet:
rpm -qa | grep aio
libaio-devel-0.3.105-2
libaio-0.3.105-2
2: Log write (LGWR)
write data from redo log buffer to the redo log files.
3: System Monotor (SMON):
Perform automatic instance recovery, Recoverys sapce in temporary segments when
they are no longer in use. Merges contiguous areas of free space depending on parameters that
are set.
4: Process Monitor (PMON):
Cleans up connection/server process dedicate to an abnormally terminated user process.
performs rollback and releas the resources held by failed process.
5: Checkpoint (CKPT):
synchronize the headers of the data files and control files with the current redo log and
checkpoint number.
6: Archiver (ARCn):
A process that automatically copies redo logs that have been marked for archiving.
Step3:
Database Files:
An oracle database consists of the following physical files:
1: datafiles:
PHysical storage of data, At least one file is needed per database. This file stores system tablespace.
2: Redo logs:
Contain before and after image copies changed data, for revocery purpose, at least, two files are required.
3: Control files:
record the status of the database, physical structure, and RMAN meta data.
4: Archive logs (optional):
physical copies of the online redo log files, created when the database is set in archivedlog mode.
It is used in recovery.
- oracle 体系架构 (绝对原创) (一)
- oracle 体系架构 - (绝对原创) (二)
- Oracle物理体系(一)
- 第二章 InnoDB体系架构(一)
- 企业级集群架构体系实战(一)
- oracle基础详解(五)oracle数据库体系架构详解
- Linux内核入门(一)——体系架构
- Linux内核入门(一)——体系架构
- Linux内核入门(一)——体系架构
- 走进JAVA虚拟机(一) -------Java虚拟机的体系架构
- Oracle体系架构
- oracle体系架构
- Oracle体系架构
- Oracle体系架构
- oracle体系架构
- ORACLE基础--体系架构
- Oracle体系架构
- 大型网站技术架构(一):架构演变过程和架构体系
- 函数
- 函数指针与软件设计
- Hadoop是怎么分块的
- MFC框架类、文档类、视图类相互访问的方法
- Jquery选择器,选择ID以"某某"字符开头的一组文本框只能输入数字
- oracle 体系架构 (绝对原创) (一)
- plsql 工具包
- 函数指针与软件设计--------回调函数
- ehcache.xml
- SystemV和BSD的区别
- JavaWeb 监听器
- POJ&&NYOJ--1328题Radar Installation
- flex webservice与wsdl
- ISR之不能做什么