Automatic Tuning of Undo Retention

简介:
Oracle 10gR2 and higher automatically tunes the undo retention period based on how the undo tablespace is configured.
  1. If the undo tablespace is configured with the AUTOEXTEND option, the database dynamically tunes the undo retention period to be somewhat longer than the longest-running active query on the system. However, this retention period may be insufficient to accommodate Oracle Flashback operations. Oracle Flashback operations resulting in "snapshot too old" errors are the indicator that you must intervene to ensure that sufficient undo data is retained to support these operations. To better accommodate Oracle Flashback features, you can either set the UNDO_RETENTION parameter to a value equal to the longest expected Oracle Flashback operation, or you can change the undo tablespace to fixed size.
  2. If the undo tablespace is fixed size, the database dynamically tunes the undo retention period for the best possible retention for that tablespace size and the current system load. This best possible retention time is typically significantly greater than the duration of the longest-running active query.
  3. To guarantee the success of long-running queries or Oracle Flashback operations, you can enable retention guarantee. If retention guarantee is enabled, the specified minimum undo retention is guaranteed; the database never overwrites unexpired undo data even if it means that transactions fail due to lack of space in the undo tablespace. If retention guarantee is not enabled, the database can overwrite unexpired undo when space is low, thus lowering the undo retention for the system. This option is disabled by default.

本文转自maclean_007 51CTO博客,原文链接:http://blog.51cto.com/maclean/1277881
相关文章
|
自然语言处理 iOS开发 C++
Alibaba.com瘦包40MB——业界最全的iOS包大小技术总结
本文总结提炼了Alibaba.com App的瘦身的技术和策略,系统化地介绍APP瘦身的业务价值、分析技术、瘦身技术、防劣化机制,让读者可以系统化地了解APP瘦身的技术体系。并基于实践经验,介绍各种瘦身技术的ROI,让读者可以避免踩雷,将资源浪费在效果不佳的技术上。希望对你有所帮助。
Alibaba.com瘦包40MB——业界最全的iOS包大小技术总结
|
11月前
|
JavaScript 前端开发 测试技术
JS都有哪些操作数组的方法
JS都有哪些操作数组的方法
270 3
|
7月前
|
人工智能 自然语言处理 API
ComfyUI-Copilot:阿里把AI助手塞进ComfyUI:一句话生成工作流,自动布线/调参/选模型,小白秒变大神!
ComfyUI-Copilot 是阿里推出的基于 ComfyUI 的 AI 智能助手,支持自然语言交互、智能节点推荐和自动工作流辅助,降低开发门槛并提升效率。
1742 6
ComfyUI-Copilot:阿里把AI助手塞进ComfyUI:一句话生成工作流,自动布线/调参/选模型,小白秒变大神!
|
关系型数据库 MySQL Linux
在Linux系统上实现高效安装与部署环境的全方位指南
在Linux系统上实现高效安装与部署环境的全方位指南
886 2
|
存储 安全 C++
《C++ Concurrencyin Action》第6章--基于锁的并发数据结构设计
《C++ Concurrencyin Action》第6章--基于锁的并发数据结构设计
153 0
《C++ Concurrencyin Action》第6章--基于锁的并发数据结构设计
|
搜索推荐 定位技术 vr&ar
探索未来教育:“虚拟现实(VR)”在教育与培训中的创新应用
传统教育模式面临着许多挑战,而虚拟现实(VR)技术为教育带来了全新的可能性。本文将深入探讨VR在教育与培训领域的应用,包括虚拟实景教学、远程协作学习以及个性化教育等方面的创新。通过VR技术的引入,我们可以为学生提供身临其境的学习体验,提高学习效果,培养创造力和解决问题的能力。
|
机器学习/深度学习 人工智能 算法
基于Transformer的人工神经网络,将有机结构的图像转换为分子结构
基于Transformer的人工神经网络,将有机结构的图像转换为分子结构
405 0
|
算法 C++ Python
Golang每日一练(leetDay0052) 寻找旋转排序数组中的最小值I\II
Golang每日一练(leetDay0052) 寻找旋转排序数组中的最小值I\II
149 0
Golang每日一练(leetDay0052) 寻找旋转排序数组中的最小值I\II
|
小程序 安全 JavaScript
HaaS技术社区大玩家,研究十几年嵌入式独爱HaaS
HaaS技术社区旨在推广物联网操作系统AliOS Things和HaaS云端钉全链路解决方案。HaaS技术涵盖物联网操作系统AliOS Things,JS轻应用,HaaS UI等软件积木,以及HaaS标准硬件和周边生态等硬件积木。HaaS为开发者提供了一种高效的积木的开发方式。
576 15
HaaS技术社区大玩家,研究十几年嵌入式独爱HaaS
|
Java 数据安全/隐私保护
springboot发邮件,javaxmail收邮件功能
springboot发邮件,javaxmail收邮件功能
322 0