Solved

Monitor recover process with ORacle RMAN

Posted on 2011-02-25
7
659 Views
Last Modified: 2012-08-14
Have a database with a lot data files.It will take a long time. How to montor/observe what is going on with RMAN or sql commands? How much has it already recover?
0
Comment
Question by:jl66
  • 2
  • 2
  • 2
  • +1
7 Comments
 
LVL 77

Accepted Solution

by:
slightwv (䄆 Netminder) earned 250 total points
ID: 34982989
Never tried but found the following at:
http://appsonlinedba.blogspot.com/2007/09/script-to-check-status-of-rman-backup.html

SELECT SID, SERIAL#, CONTEXT, SOFAR, TOTALWORK,ROUND(SOFAR/TOTALWORK*100,2) "%_COMPLETE"FROM V$SESSION_LONGOPSWHERE OPNAME LIKE 'RMAN%'AND OPNAME NOT LIKE '%aggregate%'AND TOTALWORK != 0AND SOFAR <> TOTALWORK;
0
 
LVL 8

Assisted Solution

by:Chakravarthi Ayyala
Chakravarthi Ayyala earned 100 total points
ID: 34983494
i used the exact above command many times to findout how much % of RMAN backup was completed.
0
 
LVL 77

Expert Comment

by:slightwv (䄆 Netminder)
ID: 34983506
Does it also work on 'restore'?
0
Resolve Critical IT Incidents Fast

If your data, services or processes become compromised, your organization can suffer damage in just minutes and how fast you communicate during a major IT incident is everything. Learn how to immediately identify incidents & best practices to resolve them quickly and effectively.

 
LVL 8

Expert Comment

by:Chakravarthi Ayyala
ID: 34984577
Ver much remember using only for backup.
Let me recollect and see if i ever used for restore.
0
 

Author Comment

by:jl66
ID: 34992404
Sorry I did not update it. I did not show anything when i issued this command. Are there any other commands?
0
 
LVL 34

Assisted Solution

by:johnsone
johnsone earned 150 total points
ID: 34998578
I have not looked at it while using RMAN, but if you look at V$RECOVERY_PROGRESS that should give you information on the recovery.
0
 

Author Closing Comment

by:jl66
ID: 35021242
Thanks alot. very close to what I need.
0

Featured Post

How our DevOps Teams Maximize Uptime

Our Dev teams are like yours. They’re continually cranking out code for new features/bugs fixes, testing, deploying, responding to production monitoring events and more. It’s complex. So, we thought you’d like to see what’s working for us. Read the use case whitepaper.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Have you ever had to make fundamental changes to a table in Oracle, but haven't been able to get any downtime?  I'm talking things like: * Dropping columns * Shrinking allocated space * Removing chained blocks and restoring the PCTFREE * Re-or…
Cursors in Oracle: A cursor is used to process individual rows returned by database system for a query. In oracle every SQL statement executed by the oracle server has a private area. This area contains information about the SQL statement and the…
Video by: Steve
Using examples as well as descriptions, step through each of the common simple join types, explaining differences in syntax, differences in expected outputs and showing how the queries run along with the actual outputs based upon a simple set of dem…
This video shows how to Export data from an Oracle database using the Original Export Utility.  The corresponding Import utility, which works the same way is referenced, but not demonstrated.

830 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