<span id="mktg5"></span>

<i id="mktg5"><meter id="mktg5"></meter></i>

        <label id="mktg5"><meter id="mktg5"></meter></label>
        最新文章專題視頻專題問(wèn)答1問(wèn)答10問(wèn)答100問(wèn)答1000問(wèn)答2000關(guān)鍵字專題1關(guān)鍵字專題50關(guān)鍵字專題500關(guān)鍵字專題1500TAG最新視頻文章推薦1 推薦3 推薦5 推薦7 推薦9 推薦11 推薦13 推薦15 推薦17 推薦19 推薦21 推薦23 推薦25 推薦27 推薦29 推薦31 推薦33 推薦35 推薦37視頻文章20視頻文章30視頻文章40視頻文章50視頻文章60 視頻文章70視頻文章80視頻文章90視頻文章100視頻文章120視頻文章140 視頻2關(guān)鍵字專題關(guān)鍵字專題tag2tag3文章專題文章專題2文章索引1文章索引2文章索引3文章索引4文章索引5123456789101112131415文章專題3
        問(wèn)答文章1 問(wèn)答文章501 問(wèn)答文章1001 問(wèn)答文章1501 問(wèn)答文章2001 問(wèn)答文章2501 問(wèn)答文章3001 問(wèn)答文章3501 問(wèn)答文章4001 問(wèn)答文章4501 問(wèn)答文章5001 問(wèn)答文章5501 問(wèn)答文章6001 問(wèn)答文章6501 問(wèn)答文章7001 問(wèn)答文章7501 問(wèn)答文章8001 問(wèn)答文章8501 問(wèn)答文章9001 問(wèn)答文章9501
        當(dāng)前位置: 首頁(yè) - 科技 - 知識(shí)百科 - 正文

        Oracle11gR2DatabaseUNDO表空間使用率居高不下

        來(lái)源:懂視網(wǎng) 責(zé)編:小采 時(shí)間:2020-11-09 14:28:05
        文檔

        Oracle11gR2DatabaseUNDO表空間使用率居高不下

        Oracle11gR2DatabaseUNDO表空間使用率居高不下:客戶的數(shù)據(jù)庫(kù)是Oracle Database 11.2.0.3.0 for AIX 6.1 64bit的單機(jī)數(shù)據(jù)庫(kù)。客戶查詢DBA_FREE_SPACE發(fā)現(xiàn)UNDO表空間的使用率高達(dá) 客戶的數(shù)據(jù)庫(kù)是Oracle Database 11.2.0.3.0 for AIX 6.1 64bit的單機(jī)數(shù)據(jù)庫(kù)。客戶查詢DBA_FR
        推薦度:
        導(dǎo)讀Oracle11gR2DatabaseUNDO表空間使用率居高不下:客戶的數(shù)據(jù)庫(kù)是Oracle Database 11.2.0.3.0 for AIX 6.1 64bit的單機(jī)數(shù)據(jù)庫(kù)。客戶查詢DBA_FREE_SPACE發(fā)現(xiàn)UNDO表空間的使用率高達(dá) 客戶的數(shù)據(jù)庫(kù)是Oracle Database 11.2.0.3.0 for AIX 6.1 64bit的單機(jī)數(shù)據(jù)庫(kù)。客戶查詢DBA_FR

        客戶的數(shù)據(jù)庫(kù)是Oracle Database 11.2.0.3.0 for AIX 6.1 64bit的單機(jī)數(shù)據(jù)庫(kù)。客戶查詢DBA_FREE_SPACE發(fā)現(xiàn)UNDO表空間的使用率高達(dá)

        客戶的數(shù)據(jù)庫(kù)是Oracle Database 11.2.0.3.0 for AIX 6.1 64bit的單機(jī)數(shù)據(jù)庫(kù)。客戶查詢DBA_FREE_SPACE發(fā)現(xiàn)UNDO表空間的使用率高達(dá)98%以上。客戶的UNDO表空間已經(jīng)手動(dòng)擴(kuò)展到了25GB,且一直在增加,為了UNDO表空間能及時(shí)的被釋放,UNDO表空間對(duì)應(yīng)的所有數(shù)據(jù)文件自動(dòng)擴(kuò)展都被關(guān)閉。查詢DBA_UNDO_EXTENTS發(fā)現(xiàn)在UNDO表空間中當(dāng)前沒(méi)有ACTIVE的EXTENT存在,UNEXPIRED的占到總空間的60%,有30%是EXPIRED,但Oracle并沒(méi)有及時(shí)的釋放這些空間。

        客戶的UNDO表空間并沒(méi)有設(shè)置成GUARANTEE模式,所以根據(jù)我們的知識(shí)都明白UNDO表空間中的EXPIRED和UNEXPIRED都是可能被重用的,但是這么高的UNDO表空間使用率看著讓人不踏實(shí)。

        雖然我們?cè)诔跏蓟瘏?shù)中設(shè)置了UNDO_RETENTION等參數(shù),但從Oracle 10gR2開(kāi)始,默認(rèn)Oracle都開(kāi)啟了UNDO表空間的自動(dòng)調(diào)整功能,查找V$UNDOSTAT.TUNED_UNDORETENTION發(fā)現(xiàn)最近一段時(shí)間該值都被自動(dòng)調(diào)整到了3500多分鐘,也就是說(shuō)UNDO表空間中的數(shù)據(jù)要保留接近3天才會(huì)過(guò)期,正是因?yàn)檫@么長(zhǎng)的數(shù)據(jù)未過(guò)期時(shí)間,且表空間又足夠的大,才導(dǎo)致了UNDO表空間的空間一致未被釋放,同時(shí)也找到了Oracle下面的一段解釋:


        Why TUNED_UNDORETENTION is calculated so high making undo space grow fast ?

        When non-autoextensible undo space is used, tuned_undoretention is calculated based on a percentage of the undo tablespace size. In some cases especially with large undo tablespace, This will make it to be calculated so large.

        To fix this behaviour, Set the following instance parameter:

        _smu_debug_mode=33554432

        With this setting, TUNED_UNDORETENTION is not calculated based on a percentage of the fixed size undo tablespace. Instead it is set to the maximum of (MAXQUERYLEN secs + 300) and UNDO_RETENTION.

        簡(jiǎn)單的說(shuō),就是當(dāng)UNDO表空間對(duì)應(yīng)的數(shù)據(jù)文件非自動(dòng)擴(kuò)展,,且UNDO表空間又比較大的時(shí)候,tuned_undoretention的值是根據(jù)UNDO表空間大小的百分比來(lái)計(jì)算的,在一些情況下會(huì)將tuned_undoretention的值調(diào)整得特別大。

        解決辦法,如果設(shè)置_smu_debug_mode=33554432,那么Oracle的UNDO RETENTION自動(dòng)調(diào)整功能依然被開(kāi)啟,但是計(jì)算tuned_undoretention是根據(jù)MAXQUERYLEN secs +300來(lái)計(jì)算,而不是根據(jù)UNDO表空間大小的百分比來(lái)計(jì)算,這樣就可以避免TUNED_UNTORETENTION出現(xiàn)特別大的值。

        以上內(nèi)容摘自:《FAQ – Automatic Undo Management (AUM) / System Managed Undo (SMU) (Doc ID 461480.1)》。

        同樣我們還參考了另一篇文章:

        Automatic Tuning of Undo_retention Causes Space Problems (Doc ID 420525.1)


        In this Document

        Symptoms

        Cause

        Solution

        References

        Applies to:
        Oracle Database - Enterprise Edition - Version 10.2.0.4 to 10.2.0.4 [Release 10.2]
        Information in this document applies to any platform.
        Oracle Server Enterprise Edition - Version: 10.2.0.1 to 10.2.0.3 -- fixed by patchset 10.2.0.4 and no issues on this at 11g

        *** Checked for currency: 13-SEP-2012 ***


        Symptoms

        You have verified that Document 413732.1 is not applicable and the problem is not a misunderstanding in the way EXPIRED/UNEXPIRED are used and reused over time.

        Look for:
        1. Whether the undo is automatically managed by the database by checking the following instance parameter:

        UNDO_MANAGEMENT=AUTO

        2. Whether the undo tablespace is fixed in size:

        SQL> SELECT autoextensible
        FROM dba_data_files
        WHERE tablespace_name=''

        This returns "NO" for all the undo tablespace datafiles.
        3. The undo tablespace is already sized such that it always has more than enough space to store all the undo generated within the undo_retention time, and the in-use undo space never exceeds the undo tablespace warning alert threshold (see below for the query to show the thresholds).
        4. The tablespace threshold alerts recommend that the DBA add more space to the undo tablespace:

        SQL> SELECT creation_time, metric_value, message_type, reason, suggested_action
        FROM dba_outstanding_alerts
        WHERE object_name='';

        This returns a suggested action of: "Add space to the tablespace".

        Or,

        This recommendation has been reported in the past but the condition has now cleared:

        SQL> SELECT creation_time, metric_value, message_type, reason, suggested_action, resolution
        FROM dba_alert_history
        WHERE object_name='';

        5. The undo tablespace in-use space exceeded the warning alert threshold at some point in time. To see the warning alert percentage threshold, issue:

        SQL> SELECT object_type, object_name, warning_value, critical_value
        FROM dba_thresholds
        WHERE object_type='TABLESPACE';

        To see the (current) undo tablespace percent of space in use:

        SQL> SELECT
        ((SELECT (NVL(SUM(bytes),0))
        FROM dba_undo_extents
        WHERE tablespace_name=''
        AND status IN ('ACTIVE','UNEXPIRED')) * 100)/
        (SELECT SUM(bytes)
        FROM dba_data_files
        WHERE tablespace_name='')
        "PCT_INUSE"
        FROM dual;


        Cause

        The cause of this problem has been identified in:
        Bug:5387030 - AUTOMATIC TUNING OF UNDO_RETENTION CAUSING SPACE PROBLEMS

        It is caused by a wrong calculation of the tuned undo retention value.

        Bug:5387030 is fixed in RDBMS 11.1.

        Solution

        To implement a solution for Bug:5387030, please execute any of the below alternative solutions:
        • Upgrade to 11.1 in which Bug:5387030 is fixed

        OR
        • Apply patchset release 10.2.0.4 or higher in which Bug:5387030 is fixed.

        聲明:本網(wǎng)頁(yè)內(nèi)容旨在傳播知識(shí),若有侵權(quán)等問(wèn)題請(qǐng)及時(shí)與本網(wǎng)聯(lián)系,我們將在第一時(shí)間刪除處理。TEL:177 7030 7066 E-MAIL:11247931@qq.com

        文檔

        Oracle11gR2DatabaseUNDO表空間使用率居高不下

        Oracle11gR2DatabaseUNDO表空間使用率居高不下:客戶的數(shù)據(jù)庫(kù)是Oracle Database 11.2.0.3.0 for AIX 6.1 64bit的單機(jī)數(shù)據(jù)庫(kù)。客戶查詢DBA_FREE_SPACE發(fā)現(xiàn)UNDO表空間的使用率高達(dá) 客戶的數(shù)據(jù)庫(kù)是Oracle Database 11.2.0.3.0 for AIX 6.1 64bit的單機(jī)數(shù)據(jù)庫(kù)。客戶查詢DBA_FR
        推薦度:
        • 熱門焦點(diǎn)

        最新推薦

        猜你喜歡

        熱門推薦

        專題
        Top
        主站蜘蛛池模板: 亚洲图片一区二区| 国产禁女女网站免费看| 最新精品亚洲成a人在线观看| 亚洲av日韩综合一区二区三区| 99精品国产免费久久久久久下载| 亚洲精品在线播放视频| 精品无码无人网站免费视频| 亚洲狠狠综合久久| 67pao强力打造高清免费| 亚洲精品美女久久久久| 亚洲免费观看网站| 亚洲综合一区二区| 日本免费人成在线网站| 色偷偷女男人的天堂亚洲网| 蜜桃精品免费久久久久影院| 国产亚洲欧美在线观看| 免费日本黄色网址| 国产伦精品一区二区免费| 亚洲成AV人片在线观看无| 毛片无码免费无码播放 | 最近国语视频在线观看免费播放| 国产亚洲精品影视在线产品| 男人j进入女人j内部免费网站| 亚洲人成电影福利在线播放| 免费精品国产日韩热久久| 亚洲性色AV日韩在线观看 | 亚洲AV无码片一区二区三区| 亚洲欧洲日产国码高潮αv| 久久国产精品免费一区二区三区| 亚洲AV无码国产精品麻豆天美| 午夜亚洲乱码伦小说区69堂| 色久悠悠婷婷综合在线亚洲 | 天天天欲色欲色WWW免费| 色五月五月丁香亚洲综合网| 亚洲人成网站在线播放vr| 3d动漫精品啪啪一区二区免费| 亚洲AV永久无码天堂影院| 久久亚洲色一区二区三区| 91精品手机国产免费| 粉色视频成年免费人15次| 亚洲国产一区二区a毛片|