What is Oracle Auto-recovery operation

Source: Internet
Author: User

    This is a recovery that is performed by the system. No human management and operation is required. This method is generally used when the system fails due to sudden power failure. Automatic recovery occurs when the database is started again.
    Unlike a simple DOS system, the Oracle system has many transactions to process at run time, and there are many processes. These transactions and processes are present and running regardless of whether the person is operating on the system at this time. As a result, Oracle systems are very complex and do not allow sudden power-off in the middle, which can damage the system.
    But sometimes it is not voluntary, the power supply is not good and suddenly lose power, or unannounced sudden power outage, and do not use UPS, then the database system will inevitably be compromised. Because of the power-down, the execution of the transaction is halfway down, and some of the committed data in shared memory has not yet been written to the data file, which is also known as a "system crash."
    So how do you recover a database system in this situation? It looks awful. In fact, it is very simple, only by the system automatically, and users do nothing, recovery work is completely transparent to the user.
    So what is the specific operation?
    recovery work is done when you start the database again. If the system crashes and causes the database to restart, the start-up will use a lot longer than usual. This is because before you open the database. The system must first perform an automatic crash recovery.
    But auto-recovery is not all-powerful, for example, when some special transaction is being carried out, it may damage some key parts of the database, such as the system table space, at which time recovery may be invalid. It shows that the database can no longer be opened in any way. And the crash recovery can be done even though. The loss is unavoidable, and some data cannot be recovered because it is not stored in the file. Therefore, the best way is to avoid the system crashes, on the one hand with a relatively stable power supply, the best use of UPS, on the other hand to avoid the use of more dangerous operation, avoid the key components of the system, so that the recovery work can be completed smoothly. This digest is from http://www.gzsam.com.cn

Related Article

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.