0% found this document useful (0 votes)
6 views1 page

Archive Remove

Command to remove archivelog

Uploaded by

vikash Sharma
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as TXT, PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
6 views1 page

Archive Remove

Command to remove archivelog

Uploaded by

vikash Sharma
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as TXT, PDF, TXT or read online on Scribd
You are on page 1/ 1

select name,total_mb,free_mb, (free_mb/total_mb)*100 "%Free" from v$asm_diskgroup;

1. ps -ef|grep mgr

2. ./ggsci

3. info all
Status should be running.

To delete
***********
delete force archivelog until time 'sysdate - 30' backed up 1 times to sbt_tape;

delete force archivelog until time 'sysdate - 10'; backed up 1 times to sbt_tape;

delete force archivelog until time 'sysdate - 1' backed up 1 times to sbt_tape;

delete force archivelog until time 'sysdate - 1' backed up 1 times to sbt_tape;

To list The same


*****************

list archivelog backed up 1 times to sbt_tape;

list archivelog until time 'sysdate - 1/8' backed up 1 times to sbt_tape;

list archivelog until time 'sysdate - 1/6' backed up 1 times to sbt_tape;

delete force archivelog until time 'sysdate - 2' backed up 1 times to sbt_tape;

force

Keep Current Day Archive log and delete all Archive log before current sysadate.
DELETE ARCHIVELOG ALL COMPLETED BEFORE ‘sysdate-1’;

list archivelog all backed up 1 times to sbt_tape;

You might also like