undo基础内容
来源:互联网 发布:过山车大亨3mac版 编辑:程序博客网 时间:2024/06/06 17:59
一、什么是undo(引用官方文档)
Every Oracle Database must have a method of maintaining 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的作用(引用官方文档)
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.
三、undo相关参数
参数名
描述undo_retention
指定事务commit或者rollback后,对应的undo段 的过期(expired )时间,过期的段可以被后续事务重用,单位为分钟undo_tablespace
undo自动管理方式下,指定管理undo信息的表空间_undo_autotune禁用undo的自动调整UNDO_MANAGEMENT指定undo段(非系统)的管理方式,9i以后默认为自动管理,推荐设置为自动管理方式
四、undo相关视图
五、undo表空间的使用方式
由于undo段空间保存的内容为数据块改变的前映像数据,因此这些空间的内容是循环使用,跟redo日志文件差不多,基本都是最早被使用的内容被最先覆盖。
- undo基础内容
- undo基础内容
- undo基础内容
- UNDO管理之一:UNDO基础
- oracle_基础八(Undo)
- UNDO管理之二:UNDO基础
- UNDO
- Undo
- undo
- undo
- Undo
- undo
- Undo
- 基础内容
- make_file 基础内容
- Weka一些基础内容
- android基础--内容提供者
- 黑客基础内容
- socket select 例子
- C语言资源
- php生成二维码(调用google接口)
- c/c++中string类型的构造
- 英语六级真题高频词汇之听力
- undo基础内容
- 为android应用添加菜单
- uml 9种图不同角度分类
- Tomcat 安装错误
- 超级人工智能:大数据的未来?
- 360网络攻防试题第一题
- abap猜想面试题
- python 在不同层级目录import 模块的方法
- oracle连接报错