码迷,mamicode.com
首页 > 其他好文 > 详细

UNDO

时间:2020-05-26 01:06:47      阅读:100      评论:0      收藏:0      [点我收藏+]

标签:dba   acl   stat   ril   rom   nsa   another   form   before   

UNDO

What Is Undo?

Oracle Database creates and manages information that is used to roll back, or undo, changes to the database. Such information consists of records of the actions of transactions, primarily before they are committed. These records are collectively referred to as undo.

Undo records are used to:

  • Roll back transactions when a ROLLBACK statement is issued
  • Recover the database
  • Provide read consistency
  • Analyze data as of an earlier point in time by using Oracle Flashback Query
  • Recover from logical corruptions using Oracle Flashback features

When a ROLLBACK statement is issued, undo records are used to undo changes that were made to the database by the uncommitted transaction. During database recovery, undo records are used to undo any uncommitted changes applied from the redo log to the datafiles. Undo records provide read consistency by maintaining the before image of the data for users who are accessing the data at the same time that another user is changing it.

Links:https://dbaplus.cn/news-10-88-1.html

UNDO

标签:dba   acl   stat   ril   rom   nsa   another   form   before   

原文地址:https://www.cnblogs.com/TiAmero/p/12961910.html

(0)
(0)
   
举报
评论 一句话评论(0
登录后才能评论!
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!