db_recovery_file_dest_size of 21…
2017-05-02 10:49
411 查看
Microsoft Windows XP [版本 5.1.2600]
(C) 版权所有 1985-2001 Microsoft Corp.
C:\Documents and Settings\Administrator>sqlplus
/nolog
SQL*Plus: Release 10.2.0.1.0 - Production on 星期四 9月 1 15:18:38
2011
Copyright (c) 1982, 2005, Oracle. All rights
reserved.
SQL> connect / as sysdba
已连接。
SQL> connect scott/tiger
ERROR:
ORA-01033: ORACLE initialization or shutdown in progress
SQL>
C:\Documents and Settings\Administrator>sqlplus
/nolog
SQL*Plus: Release 10.2.0.1.0 - Production on 星期四 9月 1 15:19:02
2011
Copyright (c) 1982, 2005, Oracle. All rights
reserved.
SQL> connect scott/tiger
ERROR:
ORA-01033: ORACLE initialization or shutdown in progress
SQL> connect / as sysdba
已连接。
SQL> select status
2 from v$instance;
STATUS
------------
MOUNTED
SQL> alter database open;
alter database open
*
第 1 行出现错误:
ORA-16014: 日志 1 的序列号 50 未归档, 没有可用的目的地
ORA-00312: 联机日志 1 线程 1:
'F:\ORACLE\PRODUCT\10.2.0\ORADATA\MYORACLE\REDO01.LOG'
SQL> show parameter arch
NAME
TYPE
VALUE
------------------------------------ -----------
------------------------------
archive_lag_target
integer
0
log_archive_config
string
log_archive_dest
string
log_archive_dest_1
string
log_archive_dest_10
string
log_archive_dest_2
string
log_archive_dest_3
string
log_archive_dest_4
string
log_archive_dest_5
string
log_archive_dest_6
string
log_archive_dest_7
string
NAME
TYPE
VALUE
------------------------------------ -----------
------------------------------
log_archive_dest_8
string
log_archive_dest_9
string
log_archive_dest_state_1
string
enable
log_archive_dest_state_10
string
enable
log_archive_dest_state_2
string
enable
log_archive_dest_state_3
string
enable
log_archive_dest_state_4
string
enable
log_archive_dest_state_5
string
enable
log_archive_dest_state_6
string
enable
log_archive_dest_state_7
string
enable
log_archive_dest_state_8
string
enable
NAME
TYPE
VALUE
------------------------------------ -----------
------------------------------
log_archive_dest_state_9
string
enable
log_archive_duplex_dest
string
log_archive_fo
4000
rmat
string
LOG%t_%s_%r.dbf
log_archive_local_first
boolean
TRUE
log_archive_max_processes
integer
2
log_archive_min_succeed_dest
integer
1
log_archive_start
boolean
FALSE
log_archive_trace
integer
0
remote_archive_enable
string
true
standby_archive_dest
string
%ORACLE_HOME%\RDBMS
SQL> select *
2 from v$log;
GROUP#
THREAD#
SEQUENCE#
BYTES MEMBERS
ARC STATUS
---------- ---------- ---------- ---------- ---------- ---
----------------
FIRST_CHANGE# FIRST_TIME
------------- --------------
1
1
50
52428800
1 NO INACTIVE
3831090 29-8月 -11
3
1
51
52428800
1 NO INACTIVE
3859734 30-8月 -11
2
1
52
52428800
1 NO CURRENT
3894106 30-8月 -11
SQL> shutdown immediate;
ORA-01109: 数据库未打开
已经卸载数据库。
ORACLE 例程已经关闭。
AlertLog:
Errors in file
f:\oracle\product\10.2.0\admin\myoracle\bdump\myoracle_arc1_2600.trc:
ORA-19815: WARNING: db_recovery_file_dest_size of 2147483648 bytes
is 100.00% used, and has 0 remaining bytes available.
Thu Sep 01 15:23:37 2011
************************************************************************
You have following choices to free up space from flash recovery
area:
1. Consider changing RMAN RETENTION POLICY. If you are using Data
Guard,
then consider changing RMAN
ARCHIVELOG DELETION POLICY.
2. Back up files to tertiary device such as tape using RMAN
BACKUP RECOVERY AREA
command.
3. Add disk space and increase db_recovery_file_dest_size parameter
to
reflect the new space.
4. Delete unnecessary files using RMAN DELETE command. If an
operating
system command was used to
delete files, then use RMAN CROSSCHECK and
DELETE EXPIRED commands.
************************************************************************
ARC1: Failed to archive thread 1 sequence 50 (19809)
ARCH: Archival stopped, error occurred. Will continue
retrying
Thu Sep 01 15:23:37 2011
Errors in file
f:\oracle\product\10.2.0\admin\myoracle\bdump\myoracle_arc1_2600.trc:
ORA-16038: log 1 sequence# 50 cannot be archived
ORA-19809: limit exceeded for recovery files
ORA-00312: online log 1 thread 1:
'F:\ORACLE\PRODUCT\10.2.0\ORADATA\MYORACLE\REDO01.LOG'
----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
SQL> alter system set
db_recovery_file_dest_size='20G' scope=spfile;
系统已更改。
SQL> alter database open;
alter database open
*
第 1 行出现错误:
ORA-16014: 日志 1 的序列号 50 未归档, 没有可用的目的地
ORA-00312: 联机日志 1 线程 1:
'F:\ORACLE\PRODUCT\10.2.0\ORADATA\MYORACLE\REDO01.LOG'
SQL> shutdown immediate;
ORA-01109: 数据库未打开
已经卸载数据库。
ORACLE 例程已经关闭。
SQL> startup
ORACLE 例程已经启动。
Total System Global Area 289406976 bytes
Fixed
Size
1248576 bytes
Variable
Size
92275392 bytes
Database
Buffers
188743680 bytes
Redo
Buffers
7139328 bytes
数据库装载完毕。
数据库已经打开。
SQL>
--------------------------------------------------------------------------------------------------
-------------------------------------------------------------------------------------------------
db_recovery_file_dest_size of 2147483648 bytes is 100.00% used,
and has 0 remaining bytes available.
默认的空间大小已用光,导致日志无法归档的错误
(C) 版权所有 1985-2001 Microsoft Corp.
C:\Documents and Settings\Administrator>sqlplus
/nolog
SQL*Plus: Release 10.2.0.1.0 - Production on 星期四 9月 1 15:18:38
2011
Copyright (c) 1982, 2005, Oracle. All rights
reserved.
SQL> connect / as sysdba
已连接。
SQL> connect scott/tiger
ERROR:
ORA-01033: ORACLE initialization or shutdown in progress
SQL>
C:\Documents and Settings\Administrator>sqlplus
/nolog
SQL*Plus: Release 10.2.0.1.0 - Production on 星期四 9月 1 15:19:02
2011
Copyright (c) 1982, 2005, Oracle. All rights
reserved.
SQL> connect scott/tiger
ERROR:
ORA-01033: ORACLE initialization or shutdown in progress
SQL> connect / as sysdba
已连接。
SQL> select status
2 from v$instance;
STATUS
------------
MOUNTED
SQL> alter database open;
alter database open
*
第 1 行出现错误:
ORA-16014: 日志 1 的序列号 50 未归档, 没有可用的目的地
ORA-00312: 联机日志 1 线程 1:
'F:\ORACLE\PRODUCT\10.2.0\ORADATA\MYORACLE\REDO01.LOG'
SQL> show parameter arch
NAME
TYPE
VALUE
------------------------------------ -----------
------------------------------
archive_lag_target
integer
0
log_archive_config
string
log_archive_dest
string
log_archive_dest_1
string
log_archive_dest_10
string
log_archive_dest_2
string
log_archive_dest_3
string
log_archive_dest_4
string
log_archive_dest_5
string
log_archive_dest_6
string
log_archive_dest_7
string
NAME
TYPE
VALUE
------------------------------------ -----------
------------------------------
log_archive_dest_8
string
log_archive_dest_9
string
log_archive_dest_state_1
string
enable
log_archive_dest_state_10
string
enable
log_archive_dest_state_2
string
enable
log_archive_dest_state_3
string
enable
log_archive_dest_state_4
string
enable
log_archive_dest_state_5
string
enable
log_archive_dest_state_6
string
enable
log_archive_dest_state_7
string
enable
log_archive_dest_state_8
string
enable
NAME
TYPE
VALUE
------------------------------------ -----------
------------------------------
log_archive_dest_state_9
string
enable
log_archive_duplex_dest
string
log_archive_fo
4000
rmat
string
LOG%t_%s_%r.dbf
log_archive_local_first
boolean
TRUE
log_archive_max_processes
integer
2
log_archive_min_succeed_dest
integer
1
log_archive_start
boolean
FALSE
log_archive_trace
integer
0
remote_archive_enable
string
true
standby_archive_dest
string
%ORACLE_HOME%\RDBMS
SQL> select *
2 from v$log;
GROUP#
THREAD#
SEQUENCE#
BYTES MEMBERS
ARC STATUS
---------- ---------- ---------- ---------- ---------- ---
----------------
FIRST_CHANGE# FIRST_TIME
------------- --------------
1
1
50
52428800
1 NO INACTIVE
3831090 29-8月 -11
3
1
51
52428800
1 NO INACTIVE
3859734 30-8月 -11
2
1
52
52428800
1 NO CURRENT
3894106 30-8月 -11
SQL> shutdown immediate;
ORA-01109: 数据库未打开
已经卸载数据库。
ORACLE 例程已经关闭。
AlertLog:
Errors in file
f:\oracle\product\10.2.0\admin\myoracle\bdump\myoracle_arc1_2600.trc:
ORA-19815: WARNING: db_recovery_file_dest_size of 2147483648 bytes
is 100.00% used, and has 0 remaining bytes available.
Thu Sep 01 15:23:37 2011
************************************************************************
You have following choices to free up space from flash recovery
area:
1. Consider changing RMAN RETENTION POLICY. If you are using Data
Guard,
then consider changing RMAN
ARCHIVELOG DELETION POLICY.
2. Back up files to tertiary device such as tape using RMAN
BACKUP RECOVERY AREA
command.
3. Add disk space and increase db_recovery_file_dest_size parameter
to
reflect the new space.
4. Delete unnecessary files using RMAN DELETE command. If an
operating
system command was used to
delete files, then use RMAN CROSSCHECK and
DELETE EXPIRED commands.
************************************************************************
ARC1: Failed to archive thread 1 sequence 50 (19809)
ARCH: Archival stopped, error occurred. Will continue
retrying
Thu Sep 01 15:23:37 2011
Errors in file
f:\oracle\product\10.2.0\admin\myoracle\bdump\myoracle_arc1_2600.trc:
ORA-16038: log 1 sequence# 50 cannot be archived
ORA-19809: limit exceeded for recovery files
ORA-00312: online log 1 thread 1:
'F:\ORACLE\PRODUCT\10.2.0\ORADATA\MYORACLE\REDO01.LOG'
----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
SQL> alter system set
db_recovery_file_dest_size='20G' scope=spfile;
系统已更改。
SQL> alter database open;
alter database open
*
第 1 行出现错误:
ORA-16014: 日志 1 的序列号 50 未归档, 没有可用的目的地
ORA-00312: 联机日志 1 线程 1:
'F:\ORACLE\PRODUCT\10.2.0\ORADATA\MYORACLE\REDO01.LOG'
SQL> shutdown immediate;
ORA-01109: 数据库未打开
已经卸载数据库。
ORACLE 例程已经关闭。
SQL> startup
ORACLE 例程已经启动。
Total System Global Area 289406976 bytes
Fixed
Size
1248576 bytes
Variable
Size
92275392 bytes
Database
Buffers
188743680 bytes
Redo
Buffers
7139328 bytes
数据库装载完毕。
数据库已经打开。
SQL>
--------------------------------------------------------------------------------------------------
-------------------------------------------------------------------------------------------------
db_recovery_file_dest_size of 2147483648 bytes is 100.00% used,
and has 0 remaining bytes available.
默认的空间大小已用光,导致日志无法归档的错误
相关文章推荐
- spfile 、pfile、db启动顺序 SQL> show parameter db_recovery_file_dest_size; SQL> show parameter spfile
- 自己也遇到了-db_recovery_file_dest_size 修改大一点
- db_recovery_file_dest_size空间满的问题
- DB File Size limit
- db_recovery_file_dest_size设置小 导致联机日志不能归档 Oracle不能起来
- log_archive_dest&log_archive_dest_n&db_recovery_file_dest
- ora-19815:警告:db_recovery_file_dest_size 已使用100%
- db_recovery_file_dest_size 100%used引发的web页面故障
- DB_RECOVERY_FILE_DEST_SIZE
- db_recovery_file_dest_size 修改大一点及删除归档日志
- db_recovery_file_dest_size: user-specified limit
- 如何釋放 DB_RECOVERY_FILE_DEST_SIZE
- What is the DB_RECOVERY_FILE_DEST_SIZE initialization parameter?
- 恢复db_recovery_file_dest_size参数为默认值“0”方法
- db_recovery_file_dest_size大小查看,修改
- 恢复db_recovery_file_dest_size参数为默认值“0”
- ORA-19815: WARNING: db_recovery_file_dest_size
- db_recovery_file_dest_size 满导致数据库启动失败
- db_recovery_file_dest_size空间满的问题