oracle concepts中文,Oracle Concepts

Purpose of Instance Recovery 实例恢复的目的 Instance recovery ensures that the database is in a consistent state after an instance failure. The files of a database can be left in an inconsistent state because of how Oracle Database manages

Purpose of Instance Recovery

实例恢复的目的

Instance recovery ensures that the database is in a consistent state after an instance failure. The files of a database can be left in an inconsistent state because of how Oracle Database manages database changes.

实例恢复可确保数据库在一个实例失败后仍能回到一个一致的状态。由于Oracle

数据库对数据文件更改的管理方式所致,数据库的文件可以处于不一致的状态。

Aredo

threadis a record of all of the changes generated by an instance. A single-instance database has one thread of redo, whereas an Oracle RAC database has multiple redo threads, one for each database

instance.

重做线程是对实例生成的所有更改的记录。单实例数据库拥有一个重做线程,而一个

Oracle RAC 数据库拥有多个重做线程——每个数据库实例有一个。

When atransactionis

committed,log

writer (LGWR)writes both the remaining redo entries in memory and the transaction SCN to theonline

redo log. However, thedatabase

writer (DBW)process writes modified data blocks to the data files whenever it is most efficient. For this reason, uncommitted changes may temporarily exist in the data files while committed changes

do not yet exist in the data files.

当事务提交时,日志写入器 (LGWR) 将内存中的重做条目和事务 SCN 同时写入联机重做日志。但是,数据库写入器

(DBWn) 进程只在最有利的时机将已修改的数据块写入数据文件。由于这个原因,未提交的更改可能会暂时存在于数据文件中,而已提交的更改也可能还不在数据文件中。

If an instance of an open database fails, either because of a SHUTDOWN ABORT statement or abnormal termination, then the following situations can result:

如果某个打开的数据库的实例失败,或者由于 SHUTDOWN ABORT 语句或异常终止,则可能会导致下列情况:

Data

blocks committed by a transaction are not written to the data files and appear only in theonline

redo log. These changes must be reapplied to the database.

 由某事务已提交的数据块更新还未写入数据文件,而仅写入了联机重做日志中。这些更改必须重新应用到数据库。

The data files contains changes that had not been committed when the instance failed. These changes must be rolled back to ensure transactional consistency.

 数据文件包含实例失败时尚未提交的更改。这些更改必须回滚,以确保事务一致性。

Instance recovery uses only online redo log files and current online data files to synchronize the data files and ensure that they are consistent.

实例恢复只使用联机重做日志文件和当前在线的数据文件,以同步数据文件,并确保它们一致。

See Also:

"Database

Writer Process (DBWn)"and"Database

Buffer Cache"

"Introduction

to Data Concurrency and Consistency"

本文原创发布php中文网,转载请注明出处,感谢您的尊重!

  • 1
    点赞
  • 1
    收藏
    觉得还不错? 一键收藏
  • 0
    评论
Oracle Concepts 中文版 (10g R2) 订阅 RSS<br> <br><br>--------------------------------------------------------------------------------<br><br> <br>Part I What Is Oracle? 第一部分 何为 Oracle? <br>Chapter 1, Introduction to the Oracle Database 第 1 章,Oracle 数据库简介 <br>Part II Oracle Database Architecture 第二部分 Oracle 数据库体系结构 <br>Chapter 2, Data Blocks, Extents, and Segments 第 2 章,数据块,数据扩展,及数据段 <br>Chapter 3, Tablespaces, Datafiles, and Control Files 第 3 章,表空间,数据文件,及控制文件 <br>Chapter 4, Transaction Management 第 4 章,事务管理 <br>Chapter 5, Schema Objects 第 5 章,方案对象 <br>Chapter 6, Dependencies Among Schema Objects 第 6 章,方案对象间的依赖关系 <br>Chapter 7, The Data Dictionary 第 7 章,数据字典 <br>Chapter 8, Memory Architecture 第 8 章,内存体系结构 <br>Chapter 9, Process Architecture 第 9 章,进程体系结构 <br>Chapter 10, Application Architecture 第 10 章,应用体系结构 <br>Chapter 11, Oracle Utilities 第 11 章,Oracle 工具 <br>Chapter 12, Database and Instance Startup and Shutdown 第 12 章,数据库及实例的启动与关闭 <br>Part III Oracle Database Features 第三部分 Oracle 数据库特性 <br>Chapter 13, Data Concurrency and Consistency 第 13 章,数据并发性与数据一致性 <br>Chapter 14, Manageability 第 14 章,可管理性 <br>Chapter 15, Backup and Recovery 第 15 章,备份与恢复 <br>Chapter 16, Business Intelligence 第 16 章,业务智能 <br>Chapter 17, High Availability 第 17 章,高可用性 <br>Chapter 18, Partitioned Tables and Indexes 第 18 章,分区表及分区索引 <br>Chapter 19, Content Management 第 19 章,内容管理 <br>Chapter 20, Database Security 第 20 章,数据库安全 <br>Chapter 21, Data Integrity 第 21 章,数据完整性 <br>Chapter 22, Triggers 第 22 章,触发器 <br>Chapter 23, Information Integration 第 23 章,信息整合 <br>Part IV Oracle Database Application Development 第四部分 Oracle 数据库应用程序开发 <br>Chapter 24, SQL, PL/SQL, and Java 第 24 章,SQL,PL/SQL,及 Java <br>Chapter 25, Overview of Application Development Languages 第 25 章,应用程序开发语言概述 <br>Chapter 26, Native Datatypes 第 26 章,原生数据类型 <br>Chapter 27, Object Datatypes and Object Views 第 27 章,对象数据类型及对象视图 <br><br>转载请注明出处,谢谢合作。<br><br>zw1840@hotmail.com <br>

“相关推荐”对你有帮助么?

  • 非常没帮助
  • 没帮助
  • 一般
  • 有帮助
  • 非常有帮助
提交
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值