Recover database vs. recover database until cancel

Posted on 2012-08-23
Last Modified: 2012-08-27
Dear experts,

could you please explain the difference between the two oracle commands "recover database" and "recover database until cancel"?

As far as I know, "recover database" applies all archive-logs that are registered in the database. If they are missing for some reason, the recovery will finish incomplete. Applying "recover database until cancel" in turn is applying all archivelogs and if not found will prompt for the archivelog destination to guarantee a complete media recovery.

Are these assumptions true?

Thanks for your explanations!

Question by:skahlert2010
    LVL 10

    Expert Comment


    Author Comment

    Still don't know the axact difference but I suppose my suggestion is correct after having had a look at Burleson's site.

    LVL 76

    Accepted Solution

    If you are missing archived redo logs recovery will be incomplete with either recovery.  Its note really 'failed'.  Just incomplete.

    Recover database brings the database back to the point of failure.

    Recover until cancel brings the database back to the point you cancel it which will be prior to the point of failure.

    Author Closing Comment

    Thank you slightwv for that excellent and short explanation!

    I appreciate it!

    Best regards,


    Write Comment

    Please enter a first name

    Please enter a last name

    We will never share this with anyone.

    Featured Post

    Looking for New Ways to Advertise?

    Engage with tech pros in our community with native advertising, as a Vendor Expert, and more.

    Note: this article covers simple compression. Oracle introduced in version 11g release 2 a new feature called Advanced Compression which is not covered here. General principle of Oracle compression Oracle compression is a way of reducing the d…
    How to Create User-Defined Aggregates in Oracle Before we begin creating these things, what are user-defined aggregates?  They are a feature introduced in Oracle 9i that allows a developer to create his or her own functions like "SUM", "AVG", and…
    This video explains at a high level about the four available data types in Oracle and how dates can be manipulated by the user to get data into and out of the database.
    This videos aims to give the viewer a basic demonstration of how a user can query current session information by using the SYS_CONTEXT function

    761 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