[x]
Posted via EE Mobile

Search, ask, and monitor your questions on the go with EE Mobile. Visit Experts Exchange from your mobile device and never be out of touch again.

Question
[x]
Attachment Details
[x]
The Solution Rating System

With so many solutions, how can you tell which solutions are most likely to help you and which ones are not? To provide you with a tool to use, we rate our solutions based on various elements that most accurately determine if a solution is a quality solution. To explain what factors affect the solution rating, here are the elements we take into consideration when formulating our solution rating.

  • The Grade of the Solution
  • The Zone Rank of the Expert Providing the Solution
  • The Number of Author and Expert Comments
  • The Number of Experts Contributing
  • The Feedback of the Community

Your Input Matters
Because of the way the system is set up, the most important variable in this equation is you. As a member of Experts Exchange, you are able to cast your vote on the quality of the solutions in regard to how complete, accurate, helpful and easy to understand each solution is. When you provide your feedback, each rating is adjusted accordingly. So, if you see a solution that has a poor rating that you think is a good solution, let us know by rating it. As you do, the rating will be adjusted and will become more accurate for other members of our site.

If you have any suggestions that you would like to make for our rating system, please ask a question in the Suggestions Zone of Community Support.

Thank you!

8.2

How can I delete archived redo logs not needed to flash back to a guaranteed restore point?

Asked by cholman in Oracle 10.x

Tags: oracle 10g, flashback database, delete redo logs

In a test environment, we set guaranteed restore points at various points in an update process, so we can flash the database back to a selected state and re-test a portion of the code.  I had two restore points established, both created with the 'guarantee flashback database' option.

 We are short on disk space on this particular test server, and I needed to clean up the old, unneeded redo logs.  I selected the 'current_scn' from v$restore_point, and used RMAN to 'delete archivelog until SCN', and gave it an SCN a little earlier than the earliest 'current_SCN' from v$restore_point.  

We had flashed back to the second restore point point several times.  Each time, I dropped and re-created that restore point so subsequent flashbacks would go quicker.  (Necessary?  I have no idea.  I'm still learning how all this works.)  

Finally we wanted to start again from the top, so I issued the command to flash back to the first restore point.  It failed due to a missing redo log.  I checked the archived redo logs, and there are tons out there older than the timestamp I was trying to flash back to.  That's odd, and I still don't understand it.

Here's my question:  How can I reliably determine which redo logs are needed to support a guaranteed restore point, and which ones I can safely remove?

One thing that may be important here:  We have the archive log destination configured separate from the db_recovery_file_dest.  I won't muddy the waters with why, although I'm happy to go into it if it will help answer my question.

Thanks for your help -

[+][-]09/07/09 05:15 AM, ID: 25274484Accepted Solution

View this solution now by starting your 30-day free trial. Setting up your free trial is quick, easy, and secure. We will return you to this solution, unlocked, when you're done.

About this solution

Zone: Oracle 10.x
Tags: oracle 10g, flashback database, delete redo logs
Sign Up Now!
Solution Provided By: cholman
Participating Experts: 1
Solution Grade: A
 
[+][-]09/03/09 11:07 PM, ID: 25257114Assisted Solution

Assisted solutions are selected by the member who asked the question as a comment that contributed to their question's solution.

Start your 30-day free trial to view this Assisted Solution or ask the Experts your question.

 
[+][-]09/04/09 03:42 AM, ID: 25258205Author Comment

Often, when Experts are collaborating with members who have asked questions, they will request additional information about the problem. Askers respond with an author comment like this one.

Start your 30-day free trial to view this Author Comment or ask the Experts your question.

 
[+][-]09/04/09 10:00 AM, ID: 25261421Expert Comment

At Experts Exchange, members can ask their questions to thousands of technology professionals, also known as Experts. Experts compete and collaborate to answer those questions by leaving comments like this one.

Start your 30-day free trial to view this Expert Comment or ask the Experts your question.

 
[+][-]09/04/09 10:17 AM, ID: 25261596Author Comment

Often, when Experts are collaborating with members who have asked questions, they will request additional information about the problem. Askers respond with an author comment like this one.

Start your 30-day free trial to view this Author Comment or ask the Experts your question.

 
 
Loading Advertisement...
20091111-EE-VQP-92 - Hierarchy / EE_QW_3_20080625