db_recovery_file_dest_size: user-specified limit

db_recovery_file_dest_size: user-specified limit


节点告警信息:

This is a

user-specified limit on the amount of space that will be used by this

database for recovery-related files, and does not reflect the amount of

space available in the underlying filesystem or ASM diskgroup

原因 

每次rman 备份都是备份到archdg 闪回盘 总共20G  上面说的意思是说用了闪回去53%的空间,告警我

做实验 

1 自动rman备份 看 是不是备份到闪回去  猜想 可能是asm的omf 

2 手动自动 +data/数据库名字/arch路径 看看 查看闪回去占用情况

参考

Hi expert,
in my alert log i'm seeing this message. This after I add on 1gb to my recovery file dest.

ALTER SYSTEM SET DB_RECOVERY_FILE_DEST_SIZE = 2G scope = both;

this is the message:

db_recovery_file_dest_size of 2048 MB is 49.54% used. This is a
user-specified limit on the amount of space that will be used by this
database for recovery-related files, and does not reflect the amount of
space available in the underlying filesystem or ASM diskgroup.

what's it? my istance is in archivelog, but the path /oradata/data07/archive is empty

SQL> archive log list;
Database log mode              Archive Mode
Automatic archival             Enabled
Archive destination            /oradata/data07/archive
Oldest online log sequence     7120
Next log sequence to archive   7122
Current log sequence           7122
SQL> SELECT * FROM V$FLASH_RECOVERY_AREA_USAGE;

FILE_TYPE    PERCENT_SPACE_USED PERCENT_SPACE_RECLAIMABLE NUMBER_OF_FILES
------------ ------------------ ------------------------- ---------------
CONTROLFILE                   0                         0               0
ONLINELOG                     0                         0               0
ARCHIVELOG                49.54                         0              16
BACKUPPIECE                   0                         0               0
IMAGECOPY                     0                         0               0
FLASHBACKLOG                  0                         0               0

6 rows selected.

SQL>
SQL> show parameter DB_RECOVERY_FILE_DEST;

NAME                                 TYPE                             VALUE
------------------------------------ -------------------------------- ----------------------------
db_recovery_file_dest                string                           /oradata/data01/flash_recov
                                                                      ery_area
db_recovery_file_dest_size           big integer                      2G

SQL> show parameter DB_FLASHBACK_RETENTION_TARGET;

NAME                                 TYPE                             VALUE
------------------------------------ -------------------------------- ------------------------------
db_flashback_retention_target        integer                          1440

many thanks for all suggest.

SQL> col name format a30

SQL> set pagesize 6000

SQL> set linesize 500

SQL> col name format a30

SQL> col value format a35

SQL> select name, value from v$parameter where name like 'db_recovery_%';

NAME                           VALUE

------------------------------ -----------------------------------

db_recovery_file_dest          +ARCHDG

db_recovery_file_dest_size     21474836480

select flashback_on from v$database;

 select name,
    floor(space_limit/1024/1024) "Size_MB",
  ceil(space_used/1024/1024) "Used_MB"
   from v$recovery_file_dest
    order by name

 ORA-19527与ORA-00312和db_recovery_file_dest_size
of 2048 MB is 0.00% used
 

Errors in file d:\oracle\product\10.2.0\admin\billing\bdump\billing_mrp0_2216.trc:

ORA-19527: 必须重命名物理备用重做日志

ORA-00312: 联机日志 1 线程 1: 'E:\CZ\BILLING\REDO01.LOG'

Clearing online redo logfile 1 complete

Media Recovery Waiting for thread 1 sequence 13364

Tue Aug 21 13:41:52  2012

Completed: alter database recover managed standby database disconnect from session

Tue Aug 21 13:55:58  2012

db_recovery_file_dest_size of 2048 MB is 0.00% used. This is a

user-specified limit on the amount of space that will be used by this

database for recovery-related files, and does not reflect the amount of

space available in the underlying filesystem or ASM diskgroup.



这是10g以后,oracle为了加快swtichover的速度,在can
become a primary之前就去clear the online logfiles了,而如果没有设置log_file_name_convert,这个时候oracle可能就不认识哪怕是你copy过来的一模一样的logfile了

这个说法也在taobao dba team的blog中得到证实:

http://www.taobaodba.com/html/80_oracle10g_standby_ora_00367_ora_19527.html

解决的办法就是设置log_file_name_convert参数,其实这个standby库建立的时候就是从primary冷备copy过来的文件,路径也完全一样。

alter system set log_file_name_convert='/u02/oradata/felixdb/','/u02/oradata/felixdb/' scope=spfile;

当设置完成,重启standby,apply日志以后,看到后台中果然可以clear了online logfiles,也就没有了问题

db_recovery_file_dest_size of 2048 MB is 0.00% used. This is a

user-specified limit on the amount of space that will be used by this

database for recovery-related files, and does not reflect the amount of

space available in the underlying filesystem or ASM diskgroup.

就是警告而已,不过如果你用archivelog mode,又没有指定归档路径,就会自动归档到
show parameter db_recovery_file_dest,所以你要监控select * from v$flash_recovery_area_usage

节点告警信息:

This is a

user-specified limit on the amount of space that will be used by this

database for recovery-related files, and does not reflect the amount of

space available in the underlying filesystem or ASM diskgroup

原因 

每次rman 备份都是备份到archdg 闪回盘 总共20G  上面说的意思是说用了闪回去53%的空间,告警我

做实验 

1 自动rman备份 看 是不是备份到闪回去  猜想 可能是asm的omf 

2 手动自动 +data/数据库名字/arch路径 看看 查看闪回去占用情况

参考

Hi expert,
in my alert log i'm seeing this message. This after I add on 1gb to my recovery file dest.

ALTER SYSTEM SET DB_RECOVERY_FILE_DEST_SIZE = 2G scope = both;

this is the message:

db_recovery_file_dest_size of 2048 MB is 49.54% used. This is a
user-specified limit on the amount of space that will be used by this
database for recovery-related files, and does not reflect the amount of
space available in the underlying filesystem or ASM diskgroup.

what's it? my istance is in archivelog, but the path /oradata/data07/archive is empty

SQL> archive log list;
Database log mode              Archive Mode
Automatic archival             Enabled
Archive destination            /oradata/data07/archive
Oldest online log sequence     7120
Next log sequence to archive   7122
Current log sequence           7122
SQL> SELECT * FROM V$FLASH_RECOVERY_AREA_USAGE;

FILE_TYPE    PERCENT_SPACE_USED PERCENT_SPACE_RECLAIMABLE NUMBER_OF_FILES
------------ ------------------ ------------------------- ---------------
CONTROLFILE                   0                         0               0
ONLINELOG                     0                         0               0
ARCHIVELOG                49.54                         0              16
BACKUPPIECE                   0                         0               0
IMAGECOPY                     0                         0               0
FLASHBACKLOG                  0                         0               0

6 rows selected.

SQL>
SQL> show parameter DB_RECOVERY_FILE_DEST;

NAME                                 TYPE                             VALUE
------------------------------------ -------------------------------- ----------------------------
db_recovery_file_dest                string                           /oradata/data01/flash_recov
                                                                      ery_area
db_recovery_file_dest_size           big integer                      2G

SQL> show parameter DB_FLASHBACK_RETENTION_TARGET;

NAME                                 TYPE                             VALUE
------------------------------------ -------------------------------- ------------------------------
db_flashback_retention_target        integer                          1440

many thanks for all suggest.

SQL> col name format a30

SQL> set pagesize 6000

SQL> set linesize 500

SQL> col name format a30

SQL> col value format a35

SQL> select name, value from v$parameter where name like 'db_recovery_%';

NAME                           VALUE

------------------------------ -----------------------------------

db_recovery_file_dest          +ARCHDG

db_recovery_file_dest_size     21474836480

select flashback_on from v$database;

 select name,
    floor(space_limit/1024/1024) "Size_MB",
  ceil(space_used/1024/1024) "Used_MB"
   from v$recovery_file_dest
    order by name

 ORA-19527与ORA-00312和db_recovery_file_dest_size
of 2048 MB is 0.00% used
 2012-08-21 14:42:19

分类: Linux

Tue Aug 21 13:41:52  2012

Errors in file d:\oracle\product\10.2.0\admin\billing\bdump\billing_mrp0_2216.trc:

ORA-19527: 必须重命名物理备用重做日志

ORA-00312: 联机日志 1 线程 1: 'E:\CZ\BILLING\REDO01.LOG'

Clearing online redo logfile 1 complete

Media Recovery Waiting for thread 1 sequence 13364

Tue Aug 21 13:41:52  2012

Completed: alter database recover managed standby database disconnect from session

Tue Aug 21 13:55:58  2012

db_recovery_file_dest_size of 2048 MB is 0.00% used. This is a

user-specified limit on the amount of space that will be used by this

database for recovery-related files, and does not reflect the amount of

space available in the underlying filesystem or ASM diskgroup.

这是10g以后,oracle为了加快swtichover的速度,在can
become a primary之前就去clear the online logfiles了,而如果没有设置log_file_name_convert,这个时候oracle可能就不认识哪怕是你copy过来的一模一样的logfile了

   这个说法也在taobao dba team的blog中得到证实:

   http://www.taobaodba.com/html/80_oracle10g_standby_ora_00367_ora_19527.html

   解决的办法就是设置log_file_name_convert参数,其实这个standby库建立的时候就是从primary冷备copy过来的文件,路径也完全一样。

   alter system set log_file_name_convert='/u02/oradata/felixdb/','/u02/oradata/felixdb/' scope=spfile;

   当设置完成,重启standby,apply日志以后,看到后台中果然可以clear了online logfiles,也就没有了问题

db_recovery_file_dest_size of 2048 MB is 0.00% used. This is a

user-specified limit on the amount of space that will be used by this

database for recovery-related files, and does not reflect the amount of

space available in the underlying filesystem or ASM diskgroup.

就是警告而已,不过如果你用archivelog mode,又没有指定归档路径,就会自动归档到
show parameter db_recovery_file_dest,所以你要监控select * from v$flash_recovery_area_usage

时间: 2024-11-09 00:17:20

db_recovery_file_dest_size: user-specified limit的相关文章

ORA-19815,ORA-19809 :limit exceeded for recovery files

    数据库重新启动的时候,收到了ORA-19815的错误.从错误的提示来看,是由于闪回区的空间被填满导致无法成功启动.这种情形我们通常考虑的是清除归档日志,那就直接在OS层面rm了,真的是这样吗?客官,如果你有相同的情形,接下往下看......   1.故障现象idle> startupORACLE instance started. Total System Global Area  238530560 bytesFixed Size                  1335724 by

在oracle中限制返回结果集的大小,类似于mysql的limit(转译)

mysql|oracle Oracle不支持类似于 MySQL 中的 limit. 但你还是可以rownum来限制返回的结果集的行数. 如果你只希望返回前十行纪录,你可以这样写: SELECT * FROM table WHERE ROWNUM<10; 但是下面的语句是不对的: SELECT * FROM table WHERE ROWNUM>90 AND ROWNUM<100; 这是因为 Oracle 认为这个条件不成立,所以没有返回.你应该这样写: SELECT * FROM tab

Mixed format + DML limit 引发的血案

背景 MySQL版本 5.6.16 DB架构(级联复制) M --> New_M(log_slave_update)--> S 相信做DB拆分,机房搬迁,数据库升级,都会用到这种类似的架构吧. 那么问题来了,最近做数据校验的时候,发现New_S 的数据竟然比 M,New_M 还多,是否奇怪? 案例&分析 如何做数据校验? pt-table-checksum ,或自己写对比程序. 校验出来后,发现A表在M,S,New_M三个实例上 有300条记录, New_S,Bak_etl 却有500

详解MySQL limit查询优化的实际操作步骤

详解MySQL limit查询优化的实际操作步骤

经典分享MySQL的limit查询优化

以下的文章主要是对MySQL limit查询优化的具体内容的介绍,我们大家都知道MySQL数据库的优化是相当重要的.其他最为常用也是最为需要优化的就是limit.MySQL的limit给分页带来了极大的方便,但数据量一大的时候,limit的性能就急剧下降. 同样是取10条数据 select * from yanxue8_visit limit 10000,10        select * from yanxue8_visit limit 0,10     就不是一个数量级别的. 网上也很多关

APACHE利用Limit模块限制IP连接数

系统版本:centos6.3 APACHE版本:apache2.42(编译安装) 1.配置Limit模块 #wget http://dominia.org/djao/limit/mod_limitipconn-0.24.tar.bz2 安装: #tar jxvf mod_limitipconn-0.24.tar.bz2 #cd mod_limitipconn-0.24 #vi Makefile 找到APXS这行,改成 APXS=/usr/local/apache2/bin/apxs #make

MYSQL的limit优化

MySQL的优化是非常重要的.其他最常用也最需要优化的就是limit.mysql的limit给分页带来了极大的方便,但数据量一大的时候,limit的性能就急剧下降. 同样是取10条数据 select * from yanxue8_visit limit 10000,10 和 select * from yanxue8_visit limit 0,10 就不是一个数量级别的. 网上也很多关于limit的五条优化准则,都是翻译自mysql手册,虽然正确但不实用.今天发现一篇文章写了些关于limit优

深入研究mysql中的varchar和limit(容易被忽略的知识)

 为什么标题要起这个名字呢?commen sence指的是那些大家都应该知道的事情,但往往大家又会会略这些东西,或者对这些东西一知半解,今天我总结下自己在mysql中遇到的一些commen sense类型的问题. 1.varchar(5)可以存储多少个汉字,多少个字母数字? 相信有好多人应该跟我一样,对这个已经很熟悉了,根据经验我们能很快的做出决定,比如说用varchar(200)去存储url等等,但是,即使你用了很多次也很熟悉了,也有可能对上面的问题做出错误的回答. 这个问题我查了好多资料,有

MySql中取前几行数据使用limit来完成

在mysql中是没有top关键字的,不过可以用limit来完成此功能,下面举例为大家详细介绍下它的使用方法,不会的朋友可以学习下   在mysql中是没有top关键字的,在mysql中可以用limit来完成功能. order by id desc limit 10 按照id的倒序排序 取出前10条 order by id desc limit 0,10 按照id的倒序排序 取出前10条 order by id limit 5,10 按照id的正序排序 从第5条开始取10条 复制代码 代码如下: