zoukankan      html  css  js  c++  java
  • Oracle RMAN vs. Export?

    http://www.dba-oracle.com/t_rman_export_expdp.htm

    Question:  I've been using data pump (the export utility) to backup my database, but I wonder if I should be using RMAN instead.  They both do backups, so what's the advantages of each?

    Answer:  Yes, RMAN and export both backup tables, and they both support flashback database, but there are some important differences:

    • Data Pump Export (expdp) - The export utility is a "logical" backup, usually done by specifying specific tables.  If you fail to do a "consistent" export, or if you fail to include related tables and use RESTRICTED and CONSISTENT mode (with referential integrity constraints), you may not be able to recover properly.  Export is often used as a supplement to RMAN, usually for the restore of specific tables.
    • Recovery manager (rman) - RMAN is designed for backup and recovery, a extension of the Enterprise Backup Utility (EBU).  RMAN takes full, physical, consistent backups of your database files..

    Advantages & disadvantages of Export:

    • Free, and easy to use
    • Very slow, compared to RMAN (examines every data block)
    • Easy restore of a specific table
    • Does not require ARCHIVELOG mode

    Advantages & disadvantages of RMAN:

    • RMAN has block-level media recovery
    • Has a catalog for backup tracking and a report utility
    • Fast - If you dedicate a backup device for each production disk, you can backup terabytes in the time it takes to backup any single disk.
    • Does hot or cold backups
    • Backups and restores can be done in parallel
    • Allows incremental backups (block change tracking)
    • Interfaces with media management systems (TMS)
  • 相关阅读:
    使用Python创建自己的Instagram滤镜
    TensorFlow v2.0实现逻辑斯谛回归
    自动驾驶研究回顾:CVPR 2019摘要
    dp cf 20190613
    简单搜索 kuangbin C D
    树形dp compare E
    区间dp E
    Codeforces Round #564 (Div. 2)
    网络流 + 欧拉回路 = B
    网络流 A
  • 原文地址:https://www.cnblogs.com/yanlixin/p/2160284.html
Copyright © 2011-2022 走看看