NOVOTS KMS ʻ Glossary    ϵ Contact Us
ѯ Search  
   
Browse by Category
NOVOTS KMS .: ݿ .: oracleݿORA-00257archiver error. Connect internal only, until freed Ĵ

oracleݿORA-00257archiver error. Connect internal only, until freed Ĵ


գĿoracleݿ־ORA-00257: archiver error. Connect internal only, until freed ѯϺoracleʦĹͨڹ鵵־ܽ취£

1. sysû¼

  sqlplus sys/pass@tt as sysdba

 

2. archiv logλ

SQL> show parameter log_archive_dest;

NAME                                     TYPE        VALUE

------------------------------------ ----------- ------------------------------

log_archive_dest                   string

log_archive_dest_1               string

log_archive_dest_10             string

 

3. һVALUEΪʱarchive log list;һ¹鵵Ŀ¼log sequence

SQL> archive log list;

Database log mode                 Archive Mode

Automatic archival                   Enabled

Archive destination                  USE_DB_RECOVERY_FILE_DEST

Oldest online log sequence     360

Next log sequence to archive  360

Current log sequence              362

 

4. flash recovery areaʹ,ԿarchivelogѾܴˣﵽ96.62

SQL> select * from V$FLASH_RECOVERY_AREA_USAGE;

 

FILE_TYPE    PERCENT_SPACE_USED PERCENT_SPACE_RECLAIMABLE NUMBER_OF_FILES

------------ ------------------ ------------------------- ---------------

CONTROLFILE                 .13                        0               1

ONLINELOG                  2.93                        0               3

ARCHIVELOG                96.62                       0              141

BACKUPPIECE                   0                         0               0

IMAGECOPY                      0                         0               0

FLASHBACKLOG                0                         0               0

 

5. flash recovery areaѾռõĿռ

SQL> select sum(percent_space_used)*3/100 from v$flash_recovery_area_usage;

 

SUM(PERCENT_SPACE_USED)*3/100

-----------------------------

                       2.9904

 

6. ҵrecoveryĿ¼, show parameter recover

SQL> show parameter recover;

NAME                                 TYPE        VALUE

------------------------------------ ----------- ------------------------------

db_recovery_file_dest                string           /u01/app/oracle/flash_recovery_area

db_recovery_file_dest_size        big integer   5G

recovery_parallelism                   integer         0

 

 

7 ǣ鵵λõĬֵflash_recovery_area(db_recovery_file_destĿ¼=/u01/app/oracle/flash_recovery_area)

[root@sha3 10.2.0]# echo $ORACLE_BASE

/u01/app/oracle

 

[root@sha3 10.2.0]# cd $ORACLE_BASE/flash_recovery_area/tt/archivelog

תƻӦĹ鵵־, ɾһЩõĿ¼ļעⱣ󼸸ļ360Ժģ

 

---------------------------------------------------------------------------------------

ע:

ɾ鵵־󣬱RMANάļռʾȻͷš

---------------------------------------------------------------------------------------

 

8. rman target sys/pass

[root@sha3 oracle]# rman target sys/pass

 

Recovery Manager: Release 10.2.0.4.0 - Production on Tue Jan 20 01:41:26 2009

 

Copyright (c) 1982, 2007, Oracle.  All rights reserved.

 

connected to target database: tt (DBID=4147983671)

 

 

 

9. һЩõarchivelog

RMAN> crosscheck archivelog all;

 

10. ɾڵĹ鵵

RMAN> delete expired archivelog all;

 

delete archivelog until time 'sysdate-1' ; ɾֹǰһarchivelog

 

11. ٴβѯʹѾ23.03

SQL> select * from V$FLASH_RECOVERY_AREA_USAGE;

 

FILE_TYPE    PERCENT_SPACE_USED PERCENT_SPACE_RECLAIMABLE NUMBER_OF_FILES

------------ ------------------ ------------------------- ---------------

CONTROLFILE                 .13                         0               1

ONLINELOG                  2.93                         0               3

ARCHIVELOG                23.03                         0              36

BACKUPPIECE                   0                         0               0

IMAGECOPY                     0                         0               0

FLASHBACKLOG                  0                         0               0

 

õCommand:

----------------------------------

archive logģʽ²startup,Ȼָnoarchive log,startupɹshutdown;

shutdown immediate;

startup mount;

alter database noarchivelog;

alter database open;

shutdown immediate;

 

ٴstartuparchive logģʽ

shutdown immediate;

startup mount;

show parameter log_archive_dest;  

alter database archivelog;

archive log list;                 

alter database open;

 

УɾһЩarchlog log

SQL> select group#,sequence# from v$log;

 

    GROUP# SEQUENCE#

---------- ----------

         1         62

         3         64

         2         63

 

ԭ־һ־ܹ鵵

SQL> alter database clear unarchived logfile group 1;

alter database open;

 

ҲָλArch Log,

select name from v$datafile;

alter system set log_archive_dest='/opt/app/oracle/oradata/usagedb/arch' scope=spfile

 

޸ĴС

SQL> alter system set db_recovery_file_dest_size=30G scope=both;

 

 


ƪ¶ã

article ͨJDBCoracleݿʮ
JavaݿӣJDBCAPIһϵܹJava...

(No rating)  8-28-2010    Views: 1155   
article how to Connect to the Switch through HyperTerminal

(No rating)  4-27-2011    Views: 751   
article Following error occurs while detach attachment in Lotus Notes, "Error in fGetDetachFolder: (76) Path not found at line: xx"
Remote assist into user's machine1) Go to...

(No rating)  8-21-2012    Views: 1865   

û

ǰû.


.: .: .: .: .:
[ ½ ]
Ƽ޹˾ 2006

Novots Technologies Limited