advertisement
Deliverable 1 Volume 3: Annex 2 - Data manipulation and management issues database. Oracle offers a standby database scheme, with which it maintains a copy of a primary database on duplicate hardware, in a constant recoverable state, by applying the redo logs archived off the primary database.
A full backup is an operating system backup of all of the data files, parameter files, and the control file that constitute the database. A full database backup can be taken by using the operating system’s commands or by using the host command of the
Server Manager. A full database backup can be taken online when the database is open, but only an offline database backup (taken when the database server is shut down) will necessarily be consistent. An inconsistent database backup must be recovered with the online and archived redo log files before the database will become available. The best approach is to take a full database backup after the database has been shut down with normal or immediate priority.
A partial backup is any operating system backup of a part of the full backup, such as selected data files, the control file only, or the data files in a specified tablespace only.
A partial backup is useful if the database is operated in ARCHIVELOG mode. A database operating in NOARCHIVE mode rarely has sufficient information to use a partial backup to restore the database to a consistent state. The archiving mode is usually set during database creation, but it can be reset at a later stage.
You can recover a database damaged by a media failure in one of three ways after you have restored backups of the damaged data files. These steps can be performed using the Server Manager’s Apply Recovery Archives dialog box, using the Server
Manager’s RECOVER command, or using the SQL ALTER DATABASE command:
•
You can recover an entire database using the RECOVER DATABASE command. This command performs media recovery on all of the data files that require redo processing.
•
You can recover specified tablespaces using the RECOVER TABLESPACE command. This command performs media recovery on all of the data files in the listed tablespaces. Oracle requires the database to be open and mounted in order to determine the file names of the tables contained in the tablespace.
•
You can list the individual files to be recovered using the RECOVER
DATAFILE command. The database can be open or closed, provided that Oracle can take the required media recovery locks.
In certain situations, you can also recover a specific damaged data file, even if a backup file isn’t available. This can only be done if all of the required log files are available and the control file contains the name of the damaged file. In addition,
Oracle provides a variety of recovery options for different crash scenarios, including incomplete recovery, change-based, cancel-based, and time-based recovery, and recovery from user errors.
4.2.5
Oracle 8
Oracle 8 offers to the DBA three possibilities for performing backups:
•
Recovery Manager.
•
Operating System.
•
Export.
1999 EURESCOM Participants in Project P817-PF page 103 (120)
Volume 3: Annex 2 - Data manipulation and management issues Deliverable 1
Backup Method
Recovery Manager
Operating System
Export
Version Available
Oracle8
All versions of Oracle
All versions of Oracle
Requirements
Media Manager (if backing up to tape)
O/S backup utility (for example UNIX dd)
N/A
Table 1. Requirements for different backup methods
Summarizing here comes a table wich compares the features of the methods above described.
Feature
closed database backups
Recovery Manager
Supported. Requires instance to be mounted.
open database backups Not use BEGIN/END
BACKUP commands.
Operating System Export
Supported.
Not supported.
Generates more redo when using
BEGIN/END
BACKUP commands
Not supported.
Requires RBS to generate consistent backups.
incremental backups Supported. Backs up all modified blocks.
corrupt block detection Supported. Identifies corrupt blocks and writes to
V$BACKUP_CORRUP
TION or
V$COPY_CORRUPTI
ON.
automatically backs up data
Supported. Establishes the name and locations of all files to be backed up (whole database, tablespace, datafile or control file backup).
catalogs backup performed
Supported. Backups are cataloged to the recovery catalog and to the control file, or just to the control file.
makes backups to tape Supported. Interfaces with a Media Manager.
Not supported.
Not supported.
Not supported.
Files to be backed up must be specified manually.
Not supported.
Supported. Backup to tape is manual or managed by a
Media Manager
Supported.
backs up init.ora and password files
Operating System independent language
An O/S independent scripting language.
O/S dependent.
Supported, but not a true incremental, as it backs up a whole table even if only one block is modified.
Supported. Identifies corrupt blocks in the export log.
Supported. Performes either full, user or table backups.
Not supported.
Supported.
Not supported.
O/S independent scripting language.
Table 2. Feature comparison of backup methods
page 104 (120)
1999 EURESCOM Participants in Project P817-PF
advertisement
* Your assessment is very important for improving the workof artificial intelligence, which forms the content of this project
Related manuals
advertisement
Table of contents
- 15 Part 1 Transaction Processing Monitors
- 15 1 Introduction
- 15 2 Concepts of Transactions
- 15 2.1 ACID Properties
- 15 2.2 Two Phase Commit Protocol
- 16 3 Concepts of TP Monitors
- 16 3.1 Why should you use a TP Monitor?
- 18 3.2 Standards and Architecture
- 20 3.3 Transaction management
- 21 3.4 Process management
- 21 3.4.1 Server classes
- 21 3.4.2 Reduced server resources
- 22 3.4.3 Dynamic load balancing
- 22 3.5 Robustness
- 23 3.6 Scalability
- 23 3.6.1 Shared process resources
- 23 3.6.2 Flexible hardware requirements
- 23 3.7 Performance
- 24 3.8 Security
- 24 3.9 Transaction profiles
- 25 3.10 Administration
- 25 3.11 Costs
- 26 3.12 3-tier architecture framework
- 26 3.13 When not to use a TP Monitor
- 27 4 Commercial TP Monitors
- 27 4.1 BEA Systems Inc.’s Tuxedo
- 27 4.1.1 Summary
- 28 4.1.2 History
- 29 4.1.3 Architecture
- 30 4.1.4 Web Integration
- 31 4.1.5 When to use
- 31 4.1.6 Future plans
- 32 4.1.7 Pricing
- 32 4.2 IBM’s TXSeries (Transarc’s Encina)
- 32 4.2.1 Summary
- 33 4.2.2 History
- 33 4.2.3 Architecture
- 35 4.2.4 Web Integration
- 35 4.2.5 When to use
- 36 4.2.6 Future plans
- 36 4.2.7 Pricing
- 36 4.3 IBM’s CICS
- 36 4.3.1 Summary
- 37 4.3.2 History
- 37 4.3.3 Architecture
- 39 4.3.4 Web integration
- 40 4.3.5 When to use
- 40 4.3.6 Future plans
- 41 4.3.7 Pricing
- 41 4.4 Microsoft Transaction Server MTS
- 41 4.4.1 Summary
- 41 4.4.2 History
- 42 4.4.3 Architecture
- 43 4.4.4 Web Integration
- 43 4.4.5 When to use
- 43 4.4.6 Future plans
- 43 4.4.7 Pricing
- 44 4.5 NCR TOP END
- 44 4.5.1 Summary
- 44 4.5.2 History
- 45 4.5.3 Architecture
- 46 4.5.4 Web Integration
- 47 4.5.5 When to use
- 47 4.5.6 Future plans
- 48 4.5.7 Pricing
- 48 4.6 Itautec’s Grip
- 48 4.6.1 Summary
- 48 4.6.2 History
- 49 4.6.3 Architecture
- 50 4.6.4 Web Integration
- 50 4.6.5 When to use
- 50 4.6.6 Future plans
- 51 4.6.7 Pricing
- 51 5 Analysis and recommendations
- 51 5.1 Analysis
- 51 5.2 Recommendations
- 52 References
- 53 Part 2 Retrieval and Manipulation
- 53 1 Introduction
- 53 1.1 General architecture of distributed Databases
- 53 1.1.1 Components of a distributed DBMS
- 55 1.1.2 Distributed versus Centralised databases
- 55 1.2 General architecture of federated Databases
- 56 1.2.1 Constructing Federated Databases
- 58 1.2.2 Implementing federated database systems
- 60 1.2.3 Data Warehouse Used To Implement Federated System
- 61 1.2.4 Query Processing in Federated Databases
- 61 1.2.5 Conclusion: Federated Databases
- 62 2 Organisation of distributed data
- 62 2.1 Schema integration in Federated Databases
- 63 2.2 Data Placement in Distributed Databases
- 64 2.2.1 Data Fragmentation
- 64 2.2.2 Criteria for the distribution of fragments
- 65 3 Parallel processing of retrieval
- 65 3.1 Query Processing
- 65 3.2 Query optimisation
- 66 4 Parallel processing of transactions
- 66 4.1 Characteristics of transaction management
- 66 4.2 Distributed Transaction
- 67 5 Commercial products
- 67 5.1 Tandem
- 67 5.1.1 Designed for scalability
- 67 5.1.2 High degree of manageability
- 67 5.1.3 Automatic process migration and load balancing
- 67 5.1.4 High level of application and system availability
- 68 5.2 Oracle
- 68 5.2.1 Oracle
- 69 5.2.2 A Family of Products with Oracle
- 74 5.3 Informix
- 74 5.3.1 Informix Dynamic Server
- 74 5.3.2 Basic Database Server Architecture
- 76 5.3.3 Informix Dynamic Server Features
- 78 5.3.4 Supported Interfaces and Client Products
- 80 5.4 IBM
- 80 5.4.1 DB2 Universal Database
- 83 5.4.2 IBM’s Object-Relational Vision and Strategy
- 85 5.4.3 IBM’s Business Intelligence Software Strategy
- 87 5.5 Sybase
- 87 5.5.1 Technology Overview: Sybase Computing Platform
- 90 Customer-Centric Development
- 91 5.5.3 Java for Logic in the Database
- 93 5.6 Microsoft
- 93 5.6.1 Overview
- 95 5.6.2 Microsoft Cluster Server
- 97 5.7 NCR Teradata
- 97 5.7.1 Data Warehousing with NCR Teradata
- 98 5.7.2 Teradata Architecture
- 99 5.7.3 Application Programming Interfaces
- 99 5.7.4 Language Preprocessors
- 100 5.7.5 Data Utilities
- 100 5.7.6 Database Administration Tools
- 100 5.7.7 Internet Access to Teradata
- 100 5.7.8 NCR's Commitment to Open Standards
- 101 5.7.9 Teradata at work
- 101 6 Analysis and recommendations
- 102 References
- 105 Part 3 Backup and Recovery
- 105 1 Introduction
- 105 2 Security aspects
- 107 3 Backup and Recovery Strategies
- 109 3.1 Recovery
- 110 3.2 Strategies
- 110 3.2.1 Requirements
- 111 3.2.2 Characteristics
- 111 4 Overview of commercial products
- 112 4.1 Tools
- 112 4.1.1 PC-oriented backup packages
- 113 4.1.2 UNIX packages
- 114 4.2 Databases
- 114 4.2.1 IBM DB
- 115 4.2.2 Informix
- 116 4.2.3 Microsoft SQL Server
- 116 4.2.4 Oracle
- 117 4.2.5 Oracle
- 119 4.2.6 Sybase SQL Server
- 119 5 Analysis and recommendations
- 120 References
- 121 Appendix A: Backup and Restore Investigation of Terabyte-scale Databases
- 121 A.1 Introduction
- 121 A.2 Requirements
- 121 A.3 Accurate benchmarking
- 122 A.4 The benchmark environment
- 123 A.5 Results
- 123 A.5.1 Executive summary
- 125 A.5.2 Detailed results
- 127 A.6 Interpreting the results
- 127 A.7 Summary
- 129 Appendix B: True Terabyte Database Backup Demonstration
- 129 B.1 Executive Summary
- 130 B.1.1 Definitions
- 130 B.2 Detailed Results
- 130 B.2.1 Demonstration Environment
- 131 B.2.2 Results
- 132 B.3 Interpreting the Results
- 133 B.4 Summary