oracle 体系架构 (绝对原创) (一)
2012-02-24 10:34
288 查看
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.
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 Golden Gate体系架构详解(原创) - CzmMiao的博客生活 - ITeye技术网站
- Oracle体系结构:内存结构和进程结构-体系架构
- oracle 10g体系架构
- 【转载】oracle 体系架构图
- Oracle Server 体系架构图
- MySQL 体系架构 Oracle体系架构 PostgreSQL体系架构
- Oracle Golden Gate体系架构详解(转载)
- oracle体系架构
- Oracle体系架构(四)--PGA,UGA,CGA
- 2012年1月10日 星期二(oracle读书笔记,体系架构和存储结构)
- Oracle11g温习-第一章:Oracle 体系架构
- MySQL 体系架构 Oracle体系架构 PostgreSQL体系架构
- 2012年1月12日 星期四(oracle读书笔记,oracle体系架构之数据字典)
- SAP HANA 体系架构(1) -----像学Oracle一样学习SAP HANA
- Oracle 面向服务的体系架构图
- Oracle Golden Gate体系架构详解
- java程序员菜鸟进阶(五)oracle基础详解(五)oracle数据库体系架构详解
- Oracle 体系架构--Oracle存储
- 解读Oracle12.2体系架构:Filesystem与Multitenant