1、数据库不能启动
1 k' x: K8 p1 _1 C$ I2 {0 s SQL> startup
* b6 Y5 q1 B: @" `0 H l- X ORACLE 例程已经启动。- N7 {* v% _" a2 E' i; U+ e
Total System Global Area 289406976 bytes
4 b* ?3 n+ v' M+ y Fixed Size 1248576 bytes
2 Z: u9 J9 P1 E$ s2 m, Z5 J Variable Size 83886784 bytes
8 c; @9 P2 l8 y4 d Database Buffers 197132288 bytes4 V8 x; Y9 L% u. S
Redo Buffers 7139328 bytes
# l0 L! k# }, H" d9 o& W8 L 数据库装载完毕。6 ~' p+ Q8 G! b+ e/ K7 J0 `4 r
ORA-16038: 日志 2 序列号 44 无法归档4 h6 ^. \" \) w/ f$ }2 J7 G
ORA-19809: 超出了恢复文件数的限制( W5 P- r$ H7 d
ORA-00312: 联机日志 2 线程 1:- E% T2 x3 |) L: u* n8 r |
'D:\ORACLE\PRODUCT\10.2.0\ORADATA\ORCL\REDO02.LOG', e7 {6 d; f/ U! O' S
2、查看$ORACLE_HOME\admin\SID\bdump\alert_SID.log日志. j* E2 M" n8 R4 X# Y+ E, ?+ z
Thu Feb 19 09:45:33 2009
& ?* O7 R0 S) G8 R' l7 t Errors in file d:\oracle\product\10.2.0\admin\orcl\bdump\orcl_arc1_660.trc:
! b' p: x7 Z, w) W! Q* ] ORA-19815: WARNING: db_recovery_file_dest_size of 2147483648 bytes is 99.95% used, and has 1129472 remaining bytes available.! ^6 f8 _" Y/ z. T/ t3 }9 u
Thu Feb 19 09:45:33 2009- {- `; \6 x+ ?1 z* G& R
Errors in file d:\oracle\product\10.2.0\admin\orcl\udump\orcl_ora_4708.trc:
9 ]- ^+ m# D' w ORA-19815: 警告: db_recovery_file_dest_size 字节 (共 2147483648 字节) 已使用 99.95%, 尚有 1129472 字节可用。
% }$ O5 o% A" G# J Thu Feb 19 09:45:33 2009
: t k1 P% s4 P7 x/ ^; g ************************************************************************! R* `4 P0 Z- B
You have following choices to free up space from flash recovery area:
: k, ?$ M$ p2 u9 W5 o 1. Consider changing RMAN RETENTION POLICY. If you are using Data Guard,
4 W- ^+ ~1 E+ j+ J Thu Feb 19 09:45:33 2009/ }2 x& B) ?( j9 ]/ Y+ u m& V
************************************************************************
+ C2 w; q3 r* \( g then consider changing RMAN ARCHIVELOG DELETION POLICY.
' V+ I5 c- o$ j+ ^0 j; N 2. Back up files to tertiary device such as tape using RMAN; U9 e5 N7 x9 X) z7 ^* s$ [0 ?
You have following choices to free up space from flash recovery area:% K& P* B6 N" ]1 x8 S, b6 X
BACKUP RECOVERY AREA command.
; \$ p6 w% {/ }1 y6 h7 |* \ 3. Add disk space and increase db_recovery_file_dest_size parameter to B4 m0 y: j* X: Q2 K
1. Consider changing RMAN RETENTION POLICY. If you are using Data Guard,$ n5 |6 z$ V+ q" {, Y9 v/ U3 l! Z1 p+ o
reflect the new space.
! a& w! e% x! i4 {% e then consider changing RMAN ARCHIVELOG DELETION POLICY.
: z: X1 E I- m. e/ t) L# c 4. Delete unnecessary files using RMAN DELETE command. If an operating+ F9 N! ^4 @0 O# T$ R. c @
system command was used to delete files, then use RMAN CROSSCHECK and# P" [( Q" N4 f! H, f' c: F
2. Back up files to tertiary device such as tape using RMAN# {0 [+ }3 ?+ h% ~- Y3 Z* u
DELETE EXPIRED commands.
+ p, B: t1 R& K1 k' x7 y/ t: d: p ************************************************************************
1 L$ E9 h& T! N8 \ BACKUP RECOVERY AREA command.
# {+ V! Z0 m7 s, U5 Z Thu Feb 19 09:45:34 2009
- l( J2 F0 {- n: \# U Errors in file d:\oracle\product\10.2.0\admin\orcl\bdump\orcl_arc1_660.trc:; b9 L4 ^# v9 Q/ q/ Z3 S# l( x
ORA-19809: limit exceeded for recovery files
4 a/ L) e% T ~1 k6 s% Q7 q5 O ORA-19804: cannot reclaim 44217856 bytes disk space from 2147483648 limit
5 G' {- S0 h; ~2 T 从膳缦沔信息知道是flash recovery area闪回恢复空间中默认2G的空间被归档日志占满了,没有空间进行存放归档日志。[NextPage]$ t* j$ b0 P: z
3、退出sqlplus,进入rman ~, ` i8 d7 `2 [6 r# _& }$ I6 S/ c" T4 v
SQL> exit
# z: E7 N1 o, ~8 r3 g, A 从 Oracle Database 10g Enterprise Edition Release 10.2.0.1.0 - Production
/ |6 N1 i2 A( N% i6 m* \ With the Partitioning, OLAP and Data Mining options 断开) J0 B' N" k7 L, _" k! V( K" z
C:\Documents and Settings\mengzhaoliang>rman target/1 ~8 Y4 P& J Y& ^) H
恢复打点器: Release 10.2.0.1.0 - Production class=Apple-style-span> |