zoukankan      html  css  js  c++  java
  • How to calculate the undo_retention time

    UNDO_RETENTION 


    The undo_retention is a initialization parameter of the undo tablespace. The initialization parameter of undo_retention used to control the maximum data retention time, the undo_retention default value is 900 seconds. The undo_retention is a parameter in the spfile.ora initialization parameters file that specifies the time period in seconds for which a system retains undo data for committed transactions. 
    UNDO_RETENTION = 900

    How to calculate the undo_retention time? 

    As the following formula.
    Formula: 
    Optimal Undo Retention =Actual Undo Size / (DB_BLOCK_SIZE  — UNDO_BLOCK_REP_ESC)

    How to determine the undo_block_rep_sec?

    SELECT MAX(undoblks/((end_time-begin_time)*3600*24)) 
    "UNDO_BLOCK_PER_SEC"
    FROM v$undostat; 


  • 相关阅读:
    死锁
    不能复制文件到服务器
    JWT
    身份验证
    依赖注入
    ml.net
    swift 枚举、结构、类
    nginx 负载均衡
    sql 时间函数大全
    更新SVN时提示要清理,但清理失败,乱码得解决方案
  • 原文地址:https://www.cnblogs.com/james1207/p/3313293.html
Copyright © 2011-2022 走看看