Solved

Archive stuck

Posted on 2015-02-05
4
82 Views
Last Modified: 2015-06-23
I have a ddl running on database for few hours and while it's running my archivelog filled up to 100%. After clean up should I re-excute the ddl process again or it should have pickedup after cleanup?

I have this running under nohup and log file is showing no progress but it doesn't show any error either.
0
Comment
Question by:k khnn
4 Comments
 
LVL 2

Expert Comment

by:Smita Melinmani
Comment Utility
May be you can query v$session table to check your process is in active or not. If INACTIVE, may be its not doing anything and  just kill the process and rerun.

Something like :

select * from v$session where paddr in (select paddr from v$process where pid='your OS process id ')
0
 
LVL 76

Accepted Solution

by:
slightwv (䄆 Netminder) earned 500 total points
Comment Utility
If you didn't kill the process then it should resume.

>>my archivelog filled up to 100%. After clean up

What was the error and how did you clean it up?

If the error was about the archive destination being full and to clean it up, you just deleted files, this isn't good enough.

You will need to connect through RMAN and tell RMAN you deleted the files:
rman target /
crosscheck archivelog all;
delete expired archivelog all;

If you have available disk space but are still receiving this error, you might also look at increasing the spfile parameter db_recovery_file_dest_size:
alter system set db_recovery_file_dest_size=nnn;

where nnn is some new number.  You can use G or M to specify Gig or Meg.

Once this is done, the process should pick back up.
0
 
LVL 22

Expert Comment

by:Steve Wales
Comment Utility
This question has been classified as abandoned and is closed as part of the Cleanup Program. See the recommendation for more details.
0

Featured Post

PRTG Network Monitor: Intuitive Network Monitoring

Network Monitoring is essential to ensure that computer systems and network devices are running. Use PRTG to monitor LANs, servers, websites, applications and devices, bandwidth, virtual environments, remote systems, IoT, and many more. PRTG is easy to set up & use.

Join & Write a Comment

Truncate is a DDL Command where as Delete is a DML Command. Both will delete data from table, but what is the difference between these below statements truncate table <table_name> ?? delete from <table_name> ?? The first command cannot be …
How to Unravel a Tricky Query Introduction If you browse through the Oracle zones or any of the other database-related zones you'll come across some complicated solutions and sometimes you'll just have to wonder how anyone came up with them.  …
This video shows setup options and the basic steps and syntax for duplicating (cloning) a database from one instance to another. Examples are given for duplicating to the same machine and to different machines
This video shows how to recover a database from a user managed backup

763 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

7 Experts available now in Live!

Get 1:1 Help Now