Oracle database backup and recovery

Source: Internet
Author: User
Users can pay attention to several common Oracle backup problems. First, backing up an Oracle database includes not only physical data backup (copies of database files), but also Logical Data

Users can pay attention to several common Oracle backup problems. First, backing up an Oracle database includes not only physical data backup (copies of database files), but also Logical Data

Users can pay attention to several common Oracle backup problems. First, backing up an Oracle database includes not only physical data backup (copies of database files ), it also includes Logical Data Backup-data export using SQL commands and submitted and uncommitted CHANGES IN THE redo log file cache.

When the Oracle database fails, relevant database files need to be restored. The Restoration Operation must use the redo data to update the backup to a new time point, and roll back the database to a consistent state without errors before the transaction is committed. If the database or IT system administrator has used the database snapshot, you may only need to use the snapshot to restore the data of the application.

In Oracle Database Backup, many files need to be backed up. They are data files, control files, online redo log files, and archived redo log files. Oracle databases are organized into one or more physical files, which are logically called tablespaces. Data files are divided into data blocks. The control file contains the database name, creation timestamp, data file, redo log file, a checkpoint and backup metadata. Redo log files record all changes to the database.

Each database has a mechanism to roll back and undo changes to curb and eliminate changes. In Oracle, this is called automatic management revocation. Withdrawing records helps roll back transaction operations, recovery, and data read consistency.

Oracle Database Backup Method

Oracle provides many methods to back up databases. These include the recovery Manager (RMAN), which can automate backup and recovery operations; Oracle data pump, which is used for logical backup of databases; and user management. User Management allows users to manually back up databases through operating system commands.

There are also a variety of other database backup and recovery software that enhances Oracle's backup utilities, such as CommVault's Simpana and IBM's Tivoli Storage Manager.

Matthew Staver, the manager of the Information Technology Department at Pentel Inc. in atosans, California, uses a series of tools. Staver said, "When we handle some special transactions, we will use the HP (Hewlett-Packard's) Storage Service EVA commercial copy software for snapshot processing, if we need to release a new database patch to Oracle, we will first create a snapshot so that we can roll back in case of any errors."

Staver has an HP Enterprise Virtual Array and a variety of HP Blade System servers to deploy and manage Oracle databases. Oracle RMAN is used for routine database backup operations. Staver also relies on HP's replication solution Management Service to clone his database for testing and development.

"When we want to refresh the Oracle instance we use for testing and development, we will take a snapshot of the product database," Staver said, "This is what we can do when the database runs together with a script called the replication solution manager by Hewlett-Packard. [This] enables your scripts to be related to the storage Region network, enables your database to enter the hot backup mode, and places snapshots Based on Time points on SAN's VMware Host, then run the Oracle database quick clone script to back up all data within one or two minutes"

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.