Oracle Database faults

Source: Internet
Author: User

Oracle Database faults

Common Oracle Database faults:

1. system faults: sudden power outages and system restarts caused by operating system errors during server operation.

Problems: memory data loss and database data inconsistency.

Database data inconsistency: uncommitted transactions have committed data modifications to the data file + committed transactions have not committed data modifications to the data file

Because the database writes the log file first and then writes the update mechanism of the data file, and the two are asynchronous (improving performance ).

1) For "uncommitted transactions have submitted data modifications to the data file"

When the database is restarted, log files are scanned reversely from the end to the end, and undo uncommitted transactions. Undo

2) For "The data modification of committed transactions has not been submitted to the data file"

When the database is restarted, log files are scanned forward from start to end to redo committed transactions. Redo

Fault recovery: Oracle automatically completes fault recovery based on log files without user intervention. All data will not be lost.

2. Media fault: the database hard disk is damaged.

Cause: Hard Disk data is lost, which is extremely destructive.

Fault recovery:

1. reinstall the Database System

2. Mount the latest Database Backup

3. Mount all log file backups after the latest Database Backup

You must manually complete the first three tasks. If there is no log file backup, some data will be lost.

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.