ORA - 00257: 압축 파일 프로그램 오류 가 발생 했 습 니 다. 풀 리 기 전에 내부 연결 에 만 제 한 됩 니 다.

3135 단어 Oacle
          ,  user  ,    :ORA-00257:       。            

    :FLASH_RECOVERY_AREA      60G。       FLASH_RECOVERY_AREA    ,         。

    :

   :   FLASH_RECOVERY_AREA   

SQL>alter system setdb_recovery_file_dest_size=100G scope=both;

SQL> show parameter db_recovery_file_dest_size;

NAME    TYPE    VALUE
------------------------------------ ----------- ------------------------------
db_recovery_file_dest_size  big integer 100G

   :      

2.1           
SQL> show parameter recover;

NAME    TYPE    VALUE
------------------------------------ ----------- ------------------------------
db_recovery_file_dest   string  /u01/app/oracle/rdbms/archivelog/
db_recovery_file_dest_size  big integer 100G
db_unrecoverable_scn_tracking   boolean TRUE
recovery_parallelism    integer 0

2.2              
[oracle@kmb2b-db01 root]$ cd /u01/app/oracle/rdbms/archivelog/KMB2B/archivelog/
[oracle@kmb2b-db01 archivelog]$ rm -rf 2017_*

2.3       
SQL> select * from V$FLASH_RECOVERY_AREA_USAGE;

2.4      rman         
>rman target/
>crosscheck archivelogall;
>delete expired archivelog all;
>exit

 :                  archivelog:
DELETE ARCHIVELOG ALL COMPLETED BEFORE'SYSDATE-7';(    7       )

   :             
[oracle@kmb2b-db01 init]$ cat oracle_del_archivelog.sh 
#!/bin/bash

export ORACLE_SID=kmb2b
export TERM=vt100
export ORACLE_BASE=/u01/app/oracle/rdbms
export NLS_DATE_FORMAT="yyyy-mm-dd hh24:mi:ss"
export ORACLE_DOC=$ORACLE_BASE/doc
export TMP=/tmp
export ORACLE_HOME=$ORACLE_BASE/product/11.2.0
export PATH=$ORACLE_HOME/bin:$PATH
export NLS_LANG='SIMPLIFIED CHINESE_CHINA.AL32UTF8'

source /home/oracle/.bash_profile

$ORACLE_HOME/bin/rman target / <'sysdate-30';
exit;
EOF

좋은 웹페이지 즐겨찾기