SQL> startup;
ORACLE instance started.
Total System Global Area 285212672 bytes
Fixed Size 2083368 bytes
Variable Size 184550872 bytes
Database Buffers 92274688 bytes
Redo Buffers 6303744 bytes
Database mounted.
ORA-16014: log 6 sequence# 156 not archived, no available destinations
ORA-00312: online log 6 thread 1: '/psva/oradata/psva/redo06.log'
SQL>
Existe la posibilidad de aumentar el parametro definido por el motor de datos para asignar mayor espacio de FileSystems para este tipo de logs.
SQL> show parameter background_dump_dest
NAME TYPE VALUE
------------------------------------ ----------- ------------------------------
background_dump_dest string /psva/admin/psva/bdump
SQL> archive log list
Database log mode Archive Mode
Automatic archival Enabled
Archive destination USE_DB_RECOVERY_FILE_DEST
Oldest online log sequence 156
Next log sequence to archive 156
Current log sequence 161
SQL>
Sin embargo si no existe más espacio disponible o si es preferible reservar espacio para otras operaciones, se pueden borrar los archivelog que se encuentran para la BD a partir de cierta fecha en particular.
[oracle@QUICO ~]$ rman target /
Recovery Manager: Release 10.2.0.4.0 - Production on Mon Jan 21 15:34:15 2013
Copyright (c) 1982, 2007, Oracle. All rights reserved.
connected to target database: PSVA (DBID=2344442492, not open)
RMAN> DELETE ARCHIVELOG UNTIL TIME 'SYSDATE-2';
using target database control file instead of recovery catalog
allocated channel: ORA_DISK_1
channel ORA_DISK_1: sid=152 devtype=DISK
List of Archived Log Copies
Key Thrd Seq S Low Time Name
------- ---- ------- - --------- ----
23979 1 93 A 07-NOV-12 /psva/flash_recovery_area/PSVA/archivelog/2012_11_14/o1_mf_1_93_8b7t11fk_.arc
...
Do you really want to delete the above objects (enter YES or NO)? YES
deleted archive log
archive log filename=/psva/flash_recovery_area/PSVA/archivelog/2012_11_14/o1_mf_1_93_8b7t11fk_.arc recid=23979 stamp=799343477
deleted archive log
...
Deleted 63 objects
RMAN> exit
De esta forma se ha liberado espacio en el FS donde se encuentran los archivelog y es posible continuar levantando la instancia de BD:
SQL> startup;
ORA-01081: cannot start already-running ORACLE - shut it down first
SQL> shutdown immediate;
ORA-01109: database not open
Database dismounted.
ORACLE instance shut down.
SQL> startup;
ORACLE instance started.
Total System Global Area 285212672 bytes
Fixed Size 2083368 bytes
Variable Size 184550872 bytes
Database Buffers 92274688 bytes
Redo Buffers 6303744 bytes
Database mounted.
Database opened.
SQL>
No hay comentarios:
Publicar un comentario