zoukankan      html  css  js  c++  java
  • MMNL absent ,数据库无法连接

    周六晚上11点,正在看奥运新闻,同事打电话说数据库大量lock,无法使用,查看日志,发现如下错误,用SQLPLUS无法进入数据库,只好重新启动Service

    MMNL absent for 1201 secs; Foregrounds taking over

    首先我们从MMNL可以知道,这是一个Oracle10g的数据库。
    MMNLOracle10g引入的一个新的后台进程,其全拼名字为Memory Monitor Light ,是AWR(Automatic Workload Repository )的组件之一。

    这个错误的含义是,MMNL过长时间未激活,前台接替了它的工作。

    通常这是一个可以忽略的错误,不会对数据库产生什么影响;但是在某些情况下,该错误会导致数据库无法登陆或访问,需要重新启动数据库才能解决。
    这类错误只在10gR1中存在,在10gR2中已经修正。
    你可能看到类似的信息还有:

    Wed Nov 9 11:53:47 2005

    ALTER SYSTEM SET fast_start_mttr_target=3600 SCOPE=MEMORY;

    Wed Nov 9 11:54:03 2005

    MTTR advisory is disabled because either FAST_START_IO_TARGET or

    LOG_CHECKPOINT_INTERVAL is set

    Wed Nov 9 11:54:07 2005

    ALTER SYSTEM SET fast_start_mttr_target=1200 SCOPE=MEMORY;

    Wed Nov 9 12:23:44 2005

    KTSMG_UPDATE_MQL(): MMNL absent for 1201 secs; Foregrounds taking over

    以上是在盖国强网站上查到的原文,Metalink上也有类似的文章。可是,我的库已经是R2版本,应该不会有类似问题。

    Metalink上发现如下文章

     

    Applies to:

    Oracle Server - Enterprise Edition - Version: 10.2.0.1 to 10.2.0.3
    This problem can occur on any platform.

    Symptoms

    Alert log shows the following messages :

    Wed Oct 10 10:59:06 2007
    MMNL absent for 293161 secs; Foregrounds taking over
    Wed Oct 10 11:00:06 2007
    MMNL absent for 293223 secs; Foregrounds taking over
    Wed Oct 10 11:01:07 2007
    MMNL absent for 293283 secs; Foregrounds taking over
    Wed Oct 10 11:02:07 2007
    MMNL absent for 293343 secs; Foregrounds taking over
    Wed Oct 10 11:02:07 2007
    MMNL absent for 293343 secs; Foregrounds taking over
    MMNL absent for 293343 secs; Foregrounds taking over
    MMNL absent for 293343 secs; Foregrounds taking over

    Cause

    The maxbytes of the datafiles was reduced lower than the bytes value.

    FILE_NAME
    --------------------------------------------------------------------------------
    BYTES/1024/1024 TABLESPACE_NAME AUT MAXBYTES/1024/1024
    --------------- ------------------------------ --- ------------------
    /db/oradata/pcis/SYSSPACE001/system.dbf
    700 SYSTEM YES .0078125

    /db/oradata/pcis/UNDOTSPACE001/undotbs.dbf
    5000 UNDOTBS YES .0078125

    /db/oradata/pcis/SYSSPACE001/sysaux.dbf
    500 SYSAUX YES .0078125

    Maxbytes should not be allowed to be lower than bytes. This is infact a bug which has already been logged.
    Bug 5470031 has been raised for this issue on how the maxsize is allowed to be smaller than the actual filesize using the command ALTER DATABASE DATAFILE ...AUTOEXTEND MAXSIZE

    As of now, at the time of writing this note ( Oct'07 ) , this bug is still under development/resolution phase.

    Solution

    Either Turn off the autoextend option for the datafile or
    Increase the Maxbytes to be greater than the bytes value.

    References

    Bug 5470031 - INCORRECT MAXSIZE ON UNDO DATAFILE LEADS TO "MMNL ABSENT FOR XX SECS; FOREGROUND

    再查看我的库,发现Undo Tablespace的确是自动增长,取消自动增长选项,观察是否再次出现类似情况
  • 相关阅读:
    数据库级触发器
    Erstudio8.0怎么用?Erstudio8.0汉化版详细使用教程
    Excel 信息对比_数组版
    百万级数据查询优化(数据库)
    sql查询重复记录、删除重复记录方法大全
    工作表(Worksheet)基本操作应用示例
    cxgrid中,如何根据列名或字段名取得footer值
    cxGrid使用汇总
    Delphi XE5通过WebService开发Web服务端和手机客户端
    cxGrid 锁定列
  • 原文地址:https://www.cnblogs.com/kevinsun/p/1264886.html
Copyright © 2011-2022 走看看