Edit D:\app\Administrator\product\11.2.0\dbhome_1\oc4j\j2ee\oc4j_applications\applications\em\em\online_help\tdpdw\tdpdw_bandr.htm
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> <html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en"> <head> <meta http-equiv="Content-Type" content="text/html; charset=us-ascii" /> <meta http-equiv="Content-Style-Type" content="text/css" /> <meta http-equiv="Content-Script-Type" content="text/javascript" /> <title>Backing up and Recovering a Data Warehouse</title> <meta name="generator" content="Oracle DARB XHTML Converter (Mode = ohj/ohw) - Version 5.1" /> <meta name="date" content="2009-04-27T11:26:24Z" /> <meta name="robots" content="noarchive" /> <meta name="doctitle" content=" Backing up and Recovering a Data Warehouse" /> <meta name="relnum" content="11g Release 2 (11.2)" /> <meta name="partnum" content="E10578-01" /> <meta name="topic-id" content="TDPDW00274" /> <link rel="copyright" href="./dcommon/html/cpyr.htm" title="Copyright" type="text/html" /> <link rel="stylesheet" href="./dcommon/css/blafdoc.css" title="Oracle BLAFDoc" type="text/css" /> <link rel="contents" href="toc.htm" title="Contents" type="text/html" /> <link rel="prev" href="tdpdw_perform.htm" title="Previous" type="text/html" /> <link rel="next" href="tdpdw_security.htm" title="Next" type="text/html" /> <script src="./callback.js" type="text/javascript"></script> <noscript>Your browser does not support JavaScript. This help page requires JavaScript to render correctly.</noscript> </head> <body> <div class="zz-skip-header"><a href="#BEGIN">Skip Headers</a></div> <table class="simple oac_no_warn" summary="" cellspacing="0" cellpadding="0" width="100%"> <col width="86%" /> <col width="*" /> <tr valign="bottom"> <td align="left"></td> <td align="center"><a href="tdpdw_perform.htm"><img src="./dcommon/gifs/leftnav.gif" alt="Previous" /><br /> <span class="icon">Previous</span></a> </td> <td align="center"><a href="tdpdw_security.htm"><img src="./dcommon/gifs/rightnav.gif" alt="Next" /><br /> <span class="icon">Next</span></a></td> </tr> </table> <p><a id="CHDIBIGG" name="CHDIBIGG"></a><a id="TDPDW00274" name="TDPDW00274"></a></p> <h1><a name="TDPDW013|Basics of DW Backup and Recovery"></a> Backing up and Recovering a Data Warehouse</h1> <p><a name="BEGIN" id="BEGIN"></a></p> <p>This section discusses some considerations for data warehouse backup and recovery, and includes the following topics:</p> <ul> <li> <p><a href="#CHDBCDHH">How Should I Handle Backup and Recovery for a Data Warehouse?</a></p> </li> <li> <p><a href="#BFGCJCAA">Strategies and Best Practices for Backup and Recovery</a></p> </li> </ul> <p><a id="CHDBCDHH" name="CHDBCDHH"></a><a id="TDPDW0111" name="TDPDW0111"></a></p> <div class="sect1"><!-- infolevel="all" infotype="General" --> <h2><a name="TDPDW0111|Handling Backup and Recovery"></a>How Should I Handle Backup and Recovery for a Data Warehouse?</h2> <p>Backup <a id="sthref257" name="sthref257"></a><a id="sthref258" name="sthref258"></a>and recovery are among the most important tasks for an administrator, and data warehouses are no different. However, because of the sheer size of the database, data warehouses introduce new challenges for an administrator in the backup and recovery area.</p> <p>Data warehouses are unique in that the data can come from a myriad of resources and it is transformed before finally being inserted into the database; but mostly because it can be very large. Managing the recovery of a large data warehouse can be a daunting task and traditional OLTP backup and recovery strategies may not meet the needs of a data warehouse.</p> <p>Data warehouses differ from OLTP systems in the following ways:</p> <ul> <li> <p>Data warehouses are typically much larger.</p> </li> <li> <p>A data warehouse may have different availability requirements than an operational system. Even though business decisions do rely on information from the data warehouse, a situation in which for example a service desk cannot operate is much worse. Also, due to the size of data warehouses, there is a much higher cost involved in guaranteeing the same level of availability for a data warehouse.</p> </li> <li> <p>Data warehouses are typically populated through more controlled processes, usually referred to as ETL (Extraction, Transformation, and Loading). As a result, updates in a data warehouse are better known and may be reproducible from data sources.</p> </li> <li> <p>A data warehouse typically stores a lot of historical data, that is often not subject to change. Data that does not change only must be backed up once.</p> </li> </ul> <p>You should plan a backup strategy as part of your system design and consider what to back up and how frequently to back up. The most important variables in your backup design are the amount of available resources to perform a backup or recovery, and the recovery time objective (the amount of time you can afford the system or part of the system to be unavailable).</p> <p><code>NOLOGGING</code> operations must be taken into account when planning a backup and recovery strategy. Traditional recovery, restoring a backup and applying the changes from the archive log, does not apply for <code>NOLOGGING</code> operations. On top of that, subsequent operations that rely on the data that was manipulated by the nologging operation fail. The <code>NOLOGGING</code> operations must be taken into account when designing a backup and recovery strategy.</p> <p>Never make a backup when a <code>NOLOGGING</code> operation is taking place.</p> <p>Plan for one of the following or a combination of the following strategies:</p> <ul> <li> <p>The ETL strategy. Recover a backup that does not contain non-recoverable transactions and replay the ETL that has taken place between the backup and the failure.</p> </li> <li> <p>The incremental backup strategy. Perform a backup immediately after an otherwise non-recoverable transaction has taken place. Oracle provides a tracking file feature that enables incremental backups based on changed data blocks. RMAN leverages the tracking file feature.</p> </li> </ul> </div> <!-- class="sect1" --> <p><a id="BFGCJCAA" name="BFGCJCAA"></a><a id="TDPDW0112" name="TDPDW0112"></a></p> <div class="sect1"><!-- infolevel="all" infotype="General" --> <h2><a name="TDPDW0112|Strategies and Best Practices for Backup and Recovery"></a>Strategies and Best Practices for Backup and Recovery</h2> <p>Devising <a id="sthref259" name="sthref259"></a><a id="sthref260" name="sthref260"></a>a backup and recovery strategy can be a daunting task. And when you have hundreds of gigabytes of data that must be protected and recovered in the case of a failure, the strategy can be very complex.</p> <p>The following best practices can help you implement your warehouse's backup and recovery strategy:</p> <ul> <li> <p><a href="#BFGCHHEE">Best Practice A: Use ARCHIVELOG Mode</a></p> </li> <li> <p><a href="#BFGEDFEF">Best Practice B: Use RMAN</a></p> </li> <li> <p><a href="#BFGJDBBI">Best Practice C: Use Read-Only Tablespaces</a></p> </li> <li> <p><a href="#BFGIJDAH">Best Practice D: Plan for NOLOGGING Operations</a></p> </li> <li> <p><a href="#BFGHJCCJ">Best Practice E: Not All Tablespaces are Equally Important</a></p> </li> </ul> <a id="BFGCHHEE" name="BFGCHHEE"></a><a id="TDPDW01121" name="TDPDW01121"></a> <div class="sect2"><!-- infolevel="all" infotype="General" --> <h3><a name="TDPDW01121|Use ARCHIVELOG Mode"></a>Best Practice A: Use ARCHIVELOG Mode</h3> <p>Archived<a id="sthref261" name="sthref261"></a><a id="sthref262" name="sthref262"></a> redo logs are crucial for recovery when no data can be lost, because they constitute a record of changes to the database. Oracle can be run in either of two modes:</p> <ul> <li> <p><code>ARCHIVELOG</code> -- Oracle archives the filled online redo log files before reusing them in the cycle.</p> </li> <li> <p><code>NOARCHIVELOG</code> -- Oracle does not archive the filled online redo log files before reusing them in the cycle.</p> </li> </ul> <p>Running the database in <code>ARCHIVELOG</code> mode has the following benefits:</p> <ul> <li> <p>The database can be completely recovered from both instance and media failure.</p> </li> <li> <p>The user can perform backups while the database is open and available for use.</p> </li> <li> <p>Oracle supports multiplexed archive logs to avoid any possible single point of failure on the archive logs</p> </li> <li> <p>The user has more recovery options, such as the ability to perform tablespace-point-in-time recovery (TSPITR).</p> </li> <li> <p>Archived redo logs can be transmitted and applied to the physical standby database, which is an exact replica of the primary database.</p> </li> <li> <p>The database can be completely recovered from both instance and media failure.</p> </li> </ul> <p>Running the database in <code>NOARCHIVELOG</code> mode has the following consequences:</p> <ul> <li> <p>The user can only back up the database while it is completely closed after a clean shutdown.</p> </li> <li> <p>Typically, the only media recovery option is to restore the whole database, which causes the loss of all transactions since the last backup.</p> </li> </ul> <a id="TDPDW01126" name="TDPDW01126"></a> <div class="sect3"><!-- infolevel="all" infotype="General" --><a id="sthref263" name="sthref263"></a> <h4><a name="TDPDW01126|Is Downtime Acceptable"></a>Is Downtime Acceptable?</h4> <p>Oracle database backups can be made while the database is open or closed. Planned downtime of the database can be disruptive to operations, especially in global enterprises that support users in multiple time zones, up to 24-hours per day. In these cases it is important to design a backup plan to minimize database interruptions.</p> <p>Depending on your business, some enterprises can afford downtime. If your overall business strategy requires little or no downtime, then your backup strategy should implement an online backup. The database needs never to be taken down for a backup. An online backup requires the database to be in <code>ARCHIVELOG</code> mode.</p> <p>There is essentially no reason not to use <code>ARCHIVELOG</code> mode. All data warehouses (and for that matter, all mission-critical databases) should use <code>ARCHIVELOG</code> mode. Specifically, given the size of a data warehouse (and consequently the amount of time to back up a data warehouse), it is generally not viable to make an offline backup of a data warehouse, which would be necessitated if one were using <code>NOARCHIVELOG</code> mode.</p> <p>Of course, large-scale data warehouses may undergo large amounts of data-modification, which in turn will generate large volumes of log files. To accommodate the management of large volumes of archived log files, RMAN provides the option to compress log files as they are archived. This will enable you to keep more archive logs on disk for faster accessibility for recovery.</p> <p>In summary, a best practice is to put the database in archive log mode to provide online backups and point-in-time recovery options.</p> </div> <!-- class="sect3" --></div> <!-- class="sect2" --> <a id="BFGEDFEF" name="BFGEDFEF"></a><a id="TDPDW01122" name="TDPDW01122"></a> <div class="sect2"><!-- infolevel="all" infotype="General" --> <h3><a name="TDPDW01122|Use RMAN"></a>Best Practice B: Use RMAN</h3> <p>There <a id="sthref264" name="sthref264"></a><a id="sthref265" name="sthref265"></a>are many reasons to adopt RMAN. Some of the reasons to integrate RMAN into your backup and recovery strategy are that it offers:</p> <ul> <li> <p>extensive reporting</p> </li> <li> <p>incremental backups</p> </li> <li> <p>downtime free backups</p> </li> <li> <p>backup and restore validation</p> </li> <li> <p>backup and restore optimization</p> </li> <li> <p>easily integrates with media managers</p> </li> <li> <p>block media recovery</p> </li> <li> <p>archive log validation and management</p> </li> <li> <p>corrupt block detection</p> </li> </ul> </div> <!-- class="sect2" --> <a id="BFGJDBBI" name="BFGJDBBI"></a><a id="TDPDW01123" name="TDPDW01123"></a> <div class="sect2"><!-- infolevel="all" infotype="General" --> <h3><a name="TDPDW01123|Use Read-Only Tablespaces"></a>Best Practice C: Use Read-Only Tablespaces</h3> <p>One <a id="sthref266" name="sthref266"></a><a id="sthref267" name="sthref267"></a>of the biggest issues facing a data warehouse is sheer size of a typical data warehouse. Even with powerful backup hardware, backups may still take several hours. Thus, one important consideration in improving backup performance is minimizing the amount of data to be backed up. Read-only tablespaces are the simplest mechanism to reduce the amount of data to be backed up in a data warehouse.</p> <p>The advantage of a read-only tablespace is that the data only need to be backed up once. So, if a data warehouse contains five years of historical data, and the first four years of data can be made read-only. Theoretically, the regular backup of the database would only back up 20% of the data. This can dramatically reduce the amount of time required to back up the data warehouse.</p> <p>Most data warehouses store their data in tables that have been range-partitioned by time. In a typical data warehouse, data is generally 'active' for a period ranging anywhere from 30 days to one year. During this period, the historical data can still be updated and changed (for example, a retailer may accept returns up to 30 days beyond the date of purchase, so that sales data records could change during this period). However, once a data has reached a certain date, it is often known to be static.</p> <p>By taking advantage of partitioning, users can make the static portions of their data read-only. RMAN supports read-only tablespaces rather than read-only partitions or tables. To take advantage of the read-only tablespaces and reduce the backup window, a strategy of storing constant data partitions in a read-only tablespace should be devised. Two strategies for implementing a rolling window are as follows:</p> <ul> <li> <p>Implement a regularly scheduled process to move partitions from a read/write tablespace to a read-only tablespace when the data matures to the point where it is entirely static.</p> <p>The best practice in this case is to put the database in <code>ARCHIVELOG</code> mode to provide online backups and point-in-time recovery options.</p> </li> <li> <p>Create a series of tablespaces, each containing a small number of partitions and regularly modify one tablespace from read/write to read-only as the data in that tablespaces ages.</p> <p>One consideration is that backing up data is only half of the recovery process. If you configure a tape system so that it can backup the read/write portions of a data warehouse in 4 hours, the corollary is that a tape system might take 20 hours to recover the database if a complete recovery is necessary when 80% of the database is read-only.</p> </li> </ul> <p>In summary, a best practice is to place static tables and partitions into read-only tablespaces. A read-only tablespace must be backed up only once.</p> </div> <!-- class="sect2" --> <a id="BFGIJDAH" name="BFGIJDAH"></a><a id="TDPDW01124" name="TDPDW01124"></a> <div class="sect2"><!-- infolevel="all" infotype="General" --> <h3><a name="TDPDW01124|Plan for NOLOGGING Operations"></a>Best Practice D: Plan for NOLOGGING Operations</h3> <p>In gener<a id="sthref268" name="sthref268"></a><a id="sthref269" name="sthref269"></a>al, one of the highest priorities for a data warehouse is performance. Not only must the data warehouse provide good query performance for online users, but the data warehouse must also be efficient during the ETL process so that large amount of data can be loaded in the shortest amount of time.</p> <p>One common optimization leveraged by data warehouses is to execute bulk-data operations using the <code>NOLOGGING</code> mode. The database operations which support <code>NOLOGGING</code> modes are direct-path loads and inserts, index creation, and table creation. When an operation runs in <code>NOLOGGING</code> mode, data is not written to the redo log (or more precisely, only a small set of metadata is written to the redo log). This mode is widely used within data warehouses and can improve the performance of bulk data operations by up to 50%.</p> <p>However, the trade-off is that a <code>NOLOGGING</code> operation cannot be recovered using conventional recovery mechanisms, since the necessary data to support the recovery was never written to the log file. Moreover, subsequent operations to the data upon which a nologging operation has occurred also cannot be recovered even if those operations were not using nologging mode. Because of the performance gains provided by <code>NOLOGGING</code> operations, it is generally recommended that data warehouses utilize nologging mode in their ETL process.</p> <p>The presence of <code>NOLOGGING</code> operations must be taken into account when devising the backup and recovery strategy. When a database relies on <code>NOLOGGING</code> operations, the conventional recovery strategy (of recovering from the latest tape backup and applying the archived logfiles) is no longer applicable because the log files cannot recover the <code>NOLOGGING</code> operation.</p> <p>The first principle to remember is, do not make a backup when a <code>NOLOGGING</code> operation is occurring. Oracle does not currently enforce this rule, so the DBA must schedule the backup jobs and the ETL jobs such that the nologging operations do not overlap with backup operations.</p> <p>There are two approaches to backup and recovery in the presence of <code>NOLOGGING</code> operations: ETL or incremental backups. If you are not using <code>NOLOGGING</code> operations in your data warehouse, then you do not have to choose either of the following options: you can recover your data warehouse using archived logs. However, the following options may offer some performance benefits over an archive-log-based approach in the event of recovery.</p> <ul> <li> <p><a href="#BFGEFHAJ">Extraction, Transformation, and Loading</a></p> </li> <li> <p><a href="#BFGJJDCA">Incremental Backup</a></p> </li> </ul> <a id="BFGEFHAJ" name="BFGEFHAJ"></a><a id="TDPDW01127" name="TDPDW01127"></a> <div class="sect3"><!-- infolevel="all" infotype="General" --> <h4><a name="TDPDW01127|Extraction, Transformation, and Loading"></a>Extraction, Transformation, and Loading</h4> <p>The ETL process uses several Oracle features or tools and a combination of methods to load (re-load) data into a data. These features or tools may consist of:</p> <ul> <li> <p>Transportable Tablespaces. The Oracle Transportable Tablespace feature enables users to quickly move a tablespace across Oracle databases. It is the most efficient way to move bulk data between databases. Oracle Database provides the ability to transport tablespaces across platforms. If the source platform and the target platform are of different endianness, then RMAN will convert the tablespace being transported to the target format.</p> </li> <li> <p>SQL*Loader. SQL*Loader loads data from external flat files into tables of an Oracle database. It has a powerful data-parsing engine that puts little limitation on the format of the data in the datafile.</p> </li> <li> <p>Data Pump (export/import). Oracle Database offers the Oracle Data Pump technology, which enables very high-speed movement of data and metadata from one database to another. This technology is the basis for Oracle's data movement utilities, Data Pump Export and Data Pump Import.</p> </li> <li> <p>External Tables. The external tables feature is a complement to existing SQL*Loader functionality. It enables you to access data in external sources as if it were in a table in the database.</p> </li> </ul> <a id="TDPDW01128" name="TDPDW01128"></a> <div class="sect4"><!-- infolevel="all" infotype="General" --><a id="sthref270" name="sthref270"></a> <h5><a name="TDPDW01128|The ETL Strategy and NOLOGGING Operations"></a>The ETL Strategy and NOLOGGING Operations</h5> <p>One approach is to take regular database backups and store the necessary data files to re-create the ETL process for that entire week. If a recovery is necessary, the data warehouse could be recovered from the most recent backup. Then, instead of rolling forward by applying the archived redo logs (as would be done in a conventional recovery scenario), the data warehouse could be rolled forward by re-running the ETL processes. This paradigm assumes that the ETL processes can be easily replayed, which would typically involve storing a set of extract files for each ETL process (many data warehouses do this already as a best practice, in order to be able to identify repair a bad data feed for example).</p> <p>A sample implementation of this approach is make a backup of the data warehouse every weekend, and then store the necessary files to support the ETL process for each night. Thus, at most, seven days of ETL processing would need to be re-applied in order to recover a database. The data warehouse administrator can easily project the length of time to recover the data warehouse, based upon the recovery speeds from tape and performance data from previous ETL runs.</p> <p>Essentially, the data warehouse administrator is gaining better performance in the ETL process through nologging operations, at a price of slight more complex and less-automated recovery process. Many data warehouse administrators have found that this is a desirable trade-off.</p> <p>One downside to this approach is that the burden is upon the data warehouse administrator to track all of the relevant changes that have occurred in the data warehouse. This approach will not capture changes that fall outside of the ETL process. For example, in some data warehouses, end-users may create their own tables and data structures. Those changes will be lost in the event of a recovery. This restriction must be conveyed to the end-users. Alternatively, one could also mandate that end-users create all of private database objects in a separate tablespace, and during recovery, the DBA could recover this tablespace using conventional recovery while recovering the rest of the database using the approach of replaying the ETL process.</p> <p>In summary, a best practice is to restore a backup that does not contain non-recoverable (nologging) transactions. Then replay the ETL process to reload the data.</p> </div> <!-- class="sect4" --> <a id="TDPDW01129" name="TDPDW01129"></a> <div class="sect4"><!-- infolevel="all" infotype="General" --><a id="sthref271" name="sthref271"></a> <h5><a name="TDPDW01129|Sizing the Blocak Change Tracking File"></a>Sizing the Block Change Tracking File</h5> <p>The size of the block change tracking file is proportional to:</p> <ul> <li> <p>Database size in bytes. The block change tracking file contains data representing data file blocks in the database. The data is approximately 1/250000 of the total size of the database.</p> </li> <li> <p>The number of enabled threads. All Real Application Cluster (RAC) instances have access to the same block change tracking file, however, the instances update different areas of the tracking file without any locking or inter-node block swapping. You enable block change tracking for the entire database and not for individual instances.</p> </li> <li> <p>Changed Block Metadata. The block change tracking file keeps a record of all changes between previous backups, in addition to the modifications since the last backup. The tracking file retains the change history for a maximum of eight backups. If the tracking file contains the change history for eight backups then the Oracle database overwrites the oldest change history information.</p> </li> </ul> <p>Let us take an example of a 500 GB database, with only one thread, and having eight backups kept in the RMAN repository will require a block change tracking file of 20 MB.</p> <pre xml:space="preserve" class="oac_no_warn"> ((Threads * 2) + number of old backups) * (database size in bytes) ------------------------------------------------------------------ = 20MB 250000 </pre></div> <!-- class="sect4" --></div> <!-- class="sect3" --> <a id="BFGJJDCA" name="BFGJJDCA"></a><a id="TDPDW01130" name="TDPDW01130"></a> <div class="sect3"><!-- infolevel="all" infotype="General" --> <h4><a name="TDPDW01130|Incremental Backup"></a>Incremental Backup</h4> <p>A more automated backup and recovery strategy in the presence of nologging operations leverages RMAN's incremental backup capability Incremental backups have been part of RMAN since it was first released. Incremental backups provide the capability to backup only the changed blocks since the previous backup. Incremental backups of datafiles capture data changes on a block-by-block basis, rather than requiring the backup of all used blocks in a datafile. The resulting backups set are generally smaller and more efficient than full datafile backups, unless every block in the datafile is change.</p> <p>Oracle Database delivers the ability for faster incrementals with the implementation of the change tracking file feature. When you enable block change tracking, Oracle tracks the physical location of all database changes. RMAN automatically uses the change tracking file to determine which blocks must be read during an incremental backup and directly accesses that block to back it up.</p> <a id="TDPDW01131" name="TDPDW01131"></a> <div class="sect4"><!-- infolevel="all" infotype="General" --><a id="sthref272" name="sthref272"></a> <h5><a name="TDPDW01131|The Incremenatl Approach"></a>The Incremental Approach</h5> <p>A typical backup and recovery strategy using this approach is to backup the data warehouse every weekend, and then take incremental backups of the data warehouse every night following the completion of the ETL process. Note that incremental backups, like conventional backups, must not be run concurrently with nologging operations. In order to recover the data warehouse, the database backup would be restored, and then each night's incremental backups would be re-applied. Although the nologging operations were not captured in the archive logs, the data from the nologging operations is present in the incremental backups. Moreover, unlike the previous approach, this backup and recovery strategy can be completely managed using RMAN.</p> <p>The replay ETL approach and the incremental backup approach are both recommended solutions to efficiently and safely backing up and recovering a database which is a workload consisting of many <code>NOLOGGING</code> operations. The most important consideration is that your backup and recovery strategy must take these <code>NOLOGGING</code> operations into account.</p> <p>In summary, a best practice is to implement Block Change Tracking functionality and make an incremental backup after a direct load that leaves objects unrecoverable due to <code>NOLOGGING</code> operations.</p> </div> <!-- class="sect4" --></div> <!-- class="sect3" --></div> <!-- class="sect2" --> <a id="BFGHJCCJ" name="BFGHJCCJ"></a><a id="TDPDW01125" name="TDPDW01125"></a> <div class="sect2"><!-- infolevel="all" infotype="General" --> <h3><a name="TDPDW01125|Not All Tablespaces are Equally Important"></a>Best Practice E: Not All Tablespaces are Equally Important</h3> <p>While<a id="sthref273" name="sthref273"></a> the simplest backup and recovery scenario is to treat every tablespace in the database the same, Oracle provides the flexibility for a DBA to devise a backup and recovery scenario for each tablespace as needed.</p> <p>Not all of the tablespaces in a data warehouse are equally significant from a backup and recovery perspective. DBAs can leverage this information to devise more efficient backup and recovery strategies when necessary. The basic granularity of backup and recovery is a tablespace, so different tablespaces can potentially have different backup and recovery strategies. On the most basic level, temporary tablespaces never need to be backed up (a rule that RMAN enforces).</p> <p>Moreover, in some data warehouses, there may be tablespaces that are not explicit temporary tablespaces but are essentially functioning as temporary tablespaces as they are dedicated to scratch space for end-users to store temporary tables and incremental results. Depending upon the business requirements, these tablespaces may not need to backed up and restored. Instead, in the case of a loss of these tablespaces, the end users would re-create their own data objects.</p> <p>In many data warehouses, some data is more important than other data. For example, the sales data in a data warehouse may be crucial and, in a recovery situation, this data must be online as soon as possible. But, in the same data warehouse, a table storing clickstream data from the corporate Web site may be much less critical. The business may tolerate this data being offline for a few days or may even be able to accommodate the loss of several days of clickstream data in the event of a loss of database files. In this scenario, the tablespaces containing sales data must be backed up often, while the tablespaces containing clickstream data need only to be backed up once every week or two.</p> </div> <!-- class="sect2" --></div> <!-- class="sect1" --> <!-- Start Footer --> <div class="footer"> <table class="simple oac_no_warn" summary="" cellspacing="0" cellpadding="0" width="100%"> <col width="86%" /> <col width="*" /> <tr> <td align="left"><span class="copyrightlogo">Copyright © 2007, 2009, Oracle and/or its affiliates. All rights reserved.</span><br /> <a href="./dcommon/html/cpyr.htm"><span class="copyrightlogo">Legal Notices</span></a></td> <td align="center"><a href="tdpdw_perform.htm"><img src="./dcommon/gifs/leftnav.gif" alt="Previous" /><br /> <span class="icon">Previous</span></a> </td> <td align="center"><a href="tdpdw_security.htm"><img src="./dcommon/gifs/rightnav.gif" alt="Next" /><br /> <span class="icon">Next</span></a></td> </tr> </table> </div> <!-- class="footer" --> </body> </html>
Ms-Dos/Windows
Unix
Write backup
jsp File Browser version 1.2 by
www.vonloesch.de