The difference between restore database and recover database

Source: Internet
Author: User
Restore is only restored with backup, recover with archivelog or online log
An example is provided:
Let's say I have a time point A, a backup, a time point B database Hang up
Restore Database//This operation is restored using a backup made by Point-in-time A, which is returned to point a
Recover database//This operation uses Archivelog and online log to do recover,
From point A, advance to time point B
Restore is a dump is also a corrupted file (Rman often used)

Recover is recovering via Redo Log & archive log

Restore is a physical copy that copies the data file from the backup set to the path of the data file
Recover is the application archive log and the current online redo log. Restore to the best transaction point

Restore copies the data from the backup to your database and overwrites it (data, control, redo);
Recover will post the generated log in application, where to apply (SCN,TIME,LOGSEQ), so that the database redo a backup of what happened;

A building collapses and you rebuild it and restore it to its original form.
Restore is the first reconstruction of the foundation, the foundation after the recover is based on the archive log or incremental backup put your arms around 1.1 points up and then back to the original look

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.