Home Database Mysql Tutorial Oracle 11g New 使用RMAN 增强功能

Oracle 11g New 使用RMAN 增强功能

Jun 07, 2016 pm 05:32 PM
oracle

备份和恢复操作是一个关键的重要部分,即使存在各种级别的潜在故障和错误时,它也可保证信息对组织的可用性。使用Oracle Databas

描述Oracle Database 11g中新增的和增强的RMAN 功能

• 配置归档日志删除策略

• 使用Oracle 网络复制活动的数据库(无备份)

• 以多个部分的形式备份大型文件

• 创建归档备份以进行长期存储

• 管理恢复目录,例如合并多个目录版本

• 描述虚拟专用目录的用法

 

  • RMAN:新增功能
  • • 以下改进提高了性能:

    – 物理备用数据库上的快速增量备份

    – 改进的块介质恢复

     

     

    RMAN 的新增功能

    备份和恢复操作是一个关键的重要部分,即使存在各种级别的潜在故障和错误时,它也可保证信息对组织的可用性。使用Oracle Database 11g,Recovery Manager (RMAN) 增强功能可以提供以下优势:

    物理备用数据库上的快速增量备份

    可以在物理备用数据库上启用块更改跟踪(使用现有的ALTER DATABASE ENABLE/DISABLE BLOCK CHANGE TRACKINGSQL 语句)。之后RMAN 便会在备用

    受管恢复期间跟踪更改的块。这样便可以卸载对备用数据库的块跟踪,,并且相同的快速增量备份可以使用主数据库上可用的更改跟踪文件。此功能支持在物理备用数据库上以比以前版本更快的速度进行增量备份。

    改进的块介质恢复性能

    可使用RECOVER命令(以前的BLOCKRECOVER命令)恢复单个数据块。如果启用了闪回事件记录,并且此事件记录包含比较旧而又完好的块,则RMAN 可以使用这些块,从而提高块介质恢复的速度。

    Oracle Database 11g:面向管理员的新增功能10-4

    版权所有©2007,Oracle。保留所有权利。 10-4

  • 优化的备份
  • • 使用ZLIB算法加快了压缩速度

    CONFIGURE COMPRESSION ALGORITHM TO ZLIB;

    • 增强了检测块损坏的功能,因而强化了保护功能

     

     

    保留备份空间的同时加快了压缩速度

    可使用CONFIGURE命令为RMAN 备份选择BZIP2或ZLIB压缩算法。新的ZLIB备份压缩算法比以前的BZIP2算法快40%。一个大型制药公司的实际数据仓库数据库使用这

    两种算法的情况如下:使用BZIP2算法时压缩比率为2.0:1,而使用ZLIB算法时压缩比率为1.68:1。用下列命令配置备份压缩算法(用BZIP2或ZLIB替换alg_name):

    CONFIGURE COMPRESSION ALGORITHM TO 'alg_name';

     

    加强了块损坏的检测功能

    除RMAN检测到的块损坏外,Oracle Database 11g还在V$DATABASE_BLOCK_CORRUPTION视图中记录活动的块损坏。检测或修复块损坏后,

    Oracle DB 会自动更新此视图。由于新增了许多选项(如VALIDATE ... BLOCK和VALIDATE DATABASE等),VALIDATE命令得到了增强。

     

  • 优化的备份
  • • 优化的还原备份可自动减少备份时间和存储空间

    • 灵活使用支持VSS 的软件

    – 允许数据库参与由符合VSS 的备份管理工具和存储产品协调的快照

    – 通过RMAN 根据快照还原自动恢复数据库

     

    优化的还原备份

    对于事务处理恢复不需要的还原数据(例如,对于已提交的事务处理),不进行备份。优点是从总体上减少了备份时间和存储空间,因为它不备份应用到已提交的事务处理的还原数据。此优化是自动启用的。

    与支持VSS 的应用程序集成

    卷影复制服务(VSS) 是Windows 上的一个基础结构。Oracle VSS 写进程与支持VSS 的应

     

  • 优化的备份
  • • 简化了多组件环境中的归档日志管理

    • 通过将备份故障转移到可选目标提高了可用性

     

    简化了多组件环境中的归档日志管理

    此功能简化了多组件环境中的归档日志管理。它还提高了当快速恢复区中的归档日志丢失或无法访问时,备份归档日志时的可用性。

    增强了删除策略的配置

    仅当任何必需的组件(如Data Guard、流、闪回数据库等)不需要归档重做日志时,才能将其删除。

    在Data Guard 环境中,将归档日志标识为删除之前,需要考虑所有备用目标(而不仅仅考虑必需的目标)。此配置是使用CONFIGURE ARCHIVELOG DELETION POLICY TO APPLIED ON STANDBY命令指定的。

    配置了归档日志删除策略后,该配置会应用到所有归档目标,包括快速恢复区。像快速恢

    更多详情见请继续阅读下一页的精彩内容

    推荐阅读:

    Oracle基础教程之通过RMAN复制数据库

    RMAN备份策略制定参考内容

    RMAN备份学习笔记

    Oracle数据库备份加密 RMAN加密

    linux

    Statement of this Website
    The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn

    Hot AI Tools

    Undresser.AI Undress

    Undresser.AI Undress

    AI-powered app for creating realistic nude photos

    AI Clothes Remover

    AI Clothes Remover

    Online AI tool for removing clothes from photos.

    Undress AI Tool

    Undress AI Tool

    Undress images for free

    Clothoff.io

    Clothoff.io

    AI clothes remover

    Video Face Swap

    Video Face Swap

    Swap faces in any video effortlessly with our completely free AI face swap tool!

    Hot Tools

    Notepad++7.3.1

    Notepad++7.3.1

    Easy-to-use and free code editor

    SublimeText3 Chinese version

    SublimeText3 Chinese version

    Chinese version, very easy to use

    Zend Studio 13.0.1

    Zend Studio 13.0.1

    Powerful PHP integrated development environment

    Dreamweaver CS6

    Dreamweaver CS6

    Visual web development tools

    SublimeText3 Mac version

    SublimeText3 Mac version

    God-level code editing software (SublimeText3)

    What to do if the oracle can't be opened What to do if the oracle can't be opened Apr 11, 2025 pm 10:06 PM

    Solutions to Oracle cannot be opened include: 1. Start the database service; 2. Start the listener; 3. Check port conflicts; 4. Set environment variables correctly; 5. Make sure the firewall or antivirus software does not block the connection; 6. Check whether the server is closed; 7. Use RMAN to recover corrupt files; 8. Check whether the TNS service name is correct; 9. Check network connection; 10. Reinstall Oracle software.

    How to solve the problem of closing oracle cursor How to solve the problem of closing oracle cursor Apr 11, 2025 pm 10:18 PM

    The method to solve the Oracle cursor closure problem includes: explicitly closing the cursor using the CLOSE statement. Declare the cursor in the FOR UPDATE clause so that it automatically closes after the scope is ended. Declare the cursor in the USING clause so that it automatically closes when the associated PL/SQL variable is closed. Use exception handling to ensure that the cursor is closed in any exception situation. Use the connection pool to automatically close the cursor. Disable automatic submission and delay cursor closing.

    How to create cursors in oracle loop How to create cursors in oracle loop Apr 12, 2025 am 06:18 AM

    In Oracle, the FOR LOOP loop can create cursors dynamically. The steps are: 1. Define the cursor type; 2. Create the loop; 3. Create the cursor dynamically; 4. Execute the cursor; 5. Close the cursor. Example: A cursor can be created cycle-by-circuit to display the names and salaries of the top 10 employees.

    How to stop oracle database How to stop oracle database Apr 12, 2025 am 06:12 AM

    To stop an Oracle database, perform the following steps: 1. Connect to the database; 2. Shutdown immediately; 3. Shutdown abort completely.

    What steps are required to configure CentOS in HDFS What steps are required to configure CentOS in HDFS Apr 14, 2025 pm 06:42 PM

    Building a Hadoop Distributed File System (HDFS) on a CentOS system requires multiple steps. This article provides a brief configuration guide. 1. Prepare to install JDK in the early stage: Install JavaDevelopmentKit (JDK) on all nodes, and the version must be compatible with Hadoop. The installation package can be downloaded from the Oracle official website. Environment variable configuration: Edit /etc/profile file, set Java and Hadoop environment variables, so that the system can find the installation path of JDK and Hadoop. 2. Security configuration: SSH password-free login to generate SSH key: Use the ssh-keygen command on each node

    What to do if the oracle log is full What to do if the oracle log is full Apr 12, 2025 am 06:09 AM

    When Oracle log files are full, the following solutions can be adopted: 1) Clean old log files; 2) Increase the log file size; 3) Increase the log file group; 4) Set up automatic log management; 5) Reinitialize the database. Before implementing any solution, it is recommended to back up the database to prevent data loss.

    Oracle's Role in the Business World Oracle's Role in the Business World Apr 23, 2025 am 12:01 AM

    Oracle is not only a database company, but also a leader in cloud computing and ERP systems. 1. Oracle provides comprehensive solutions from database to cloud services and ERP systems. 2. OracleCloud challenges AWS and Azure, providing IaaS, PaaS and SaaS services. 3. Oracle's ERP systems such as E-BusinessSuite and FusionApplications help enterprises optimize operations.

    How to create oracle dynamic sql How to create oracle dynamic sql Apr 12, 2025 am 06:06 AM

    SQL statements can be created and executed based on runtime input by using Oracle's dynamic SQL. The steps include: preparing an empty string variable to store dynamically generated SQL statements. Use the EXECUTE IMMEDIATE or PREPARE statement to compile and execute dynamic SQL statements. Use bind variable to pass user input or other dynamic values ​​to dynamic SQL. Use EXECUTE IMMEDIATE or EXECUTE to execute dynamic SQL statements.

    See all articles