Comments are available to members only. Sign up or Log in to view these comments.
Main Topics
Browse All TopicsIn 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 -
This Question has been solved and asker verified All Experts Exchange premium technology solutions are available to subscription members.
Experts Exchange has been collecting answers to technology questions since 1996…3 million and counting! If you have a question, chances are we already have your answer.
If you can't find the exact answer you're looking for, ask our exclusive community of 50,000 experts. You’ll get a personalized answer from a trusted professional.
Thousands of free tech tips, tricks, how-to’s and tutorials are available in our peer reviewed articles section. See for yourself how smart our experts are, no login required.
Access the answers to your technology questions today.
30-day free trial. Register in 60 seconds.
Members of the expert community talk about why the experience at Experts Exchange is different than what you will find anywhere else.

Try it out and discover for yourself.
30-day free trial. Register in 60 seconds.
Join the community of experts here and help other tech pros by answering question in your area of expertise. You can earn FREE access to all Experts Exchange's premium features and resources.
Business Accounts
Answer for Membership
by: mrjoltcolaPosted on 2009-09-03 at 23:07:13ID: 25257114
Comments are available to members only. Sign up or Log in to view these comments.