关于undo_retention

xianggu2008 2010-04-27 09:33:57
undo_retention参数如何把值调大点???

该参数作用是干么的???
...全文
617 3 打赏 收藏 转发到动态 举报
写回复
用AI写文章
3 条回复
切换为时间正序
请发表友善的回复…
发表回复
liuyi8903 2010-04-27
  • 打赏
  • 举报
回复
UNDO_RETENTION specifies (in seconds) the amount of committed undo information to retain in the database. You can use UNDO_RETENTION to satisfy queries that require old undo information to rollback changes to produce older images of data blocks. You can set the value at instance startup.

The UNDO_RETENTION parameter works best if the current undo tablespace has enough space for the active transactions. If an active transaction needs undo space and the undo tablespace does not have any free space, then the system will start reusing undo space that would have been retained. This may cause long queries to fail. Be sure to allocate enough space in the undo tablespace to satisfy the space requirement for the current setting of this parameter.

tangren 2010-04-27
  • 打赏
  • 举报
回复
该参数用来指定,undo保留时间,以秒为单位
超过该参数指定的时间,undo段的数据被标识为过期,空间可被重用
设定undo_retention
sql>alter system set undo_retention=1800 scope=both;

liuyi8903 2010-04-27
  • 打赏
  • 举报
回复
这是一个目标值,用于保留undo data ,以用于flashback ,但仅是一个目标值。

17,377

社区成员

发帖
与我相关
我的任务
社区描述
Oracle 基础和管理
社区管理员
  • 基础和管理社区
加入社区
  • 近7日
  • 近30日
  • 至今
社区公告
暂无公告

试试用AI创作助手写篇文章吧