您的位置:首页 > 其它

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.

默认的空间大小已用光,导致日志无法归档的错误

 

 
内容来自用户分享和网络整理,不保证内容的准确性,如有侵权内容,可联系管理员处理 点击这里给我发消息
标签: