• <ul id="mayc0"></ul>
    <ul id="mayc0"><center id="mayc0"></center></ul>
    <strike id="mayc0"><input id="mayc0"></input></strike>
    <ul id="mayc0"></ul>
  • 始創于2000年 股票代碼:831685
    咨詢熱線:0371-60135900 注冊有禮 登錄
    • 掛牌上市企業
    • 60秒人工響應
    • 99.99%連通率
    • 7*24h人工
    • 故障100倍補償
    您的位置: 網站首頁 > 幫助中心>文章內容

    一個TB級Oracle數據庫的備份時間及備份記錄

    發布時間:  2012/8/21 16:36:29

    昨晚,為一個客戶的數據庫做了一次臨時性的備份留存,數據庫的整體容量大約在1.5T左右,一般中低端存儲:

    SQL*Plus: Release 10.2.0.2.0 - Production on Thu Sep 10 14:27:39 2009

    Copyright (c) 1982, 2005, Oracle.  All Rights Reserved.
    -
     


    Connected to:
    Oracle Database 10g Enterprise Edition Release 10.2.0.2.0 - 64bit Production
    With the Partitioning, Real Application Clusters, OLAP and Data Mining options

    SQL> select sum(bytes)/1024/1024/1024 GB from v$datafile;

            GB
    ----------
    1527.83266

    Linux 系統,整個備份過程大約持續了5個小時左右,備份出來的容量如下:

    [Oracle@sms backup]$ du -sk
    1448023700      .

    備份腳本:

    run{
    allocate channel d1 type disk maxpiecesize=50G;
    allocate channel d2 type disk maxpiecesize=50G;
    backup full database filesperset 10 include current controlfile format '/backup/fullbak_%d_%T_%s_%p'
    plus archivelog format '/backup/archbak_%d_%T_%s' delete all input;
    release channel d1;
    release channel d2;
    }

    備份自9:30開始:

    Recovery Manager: Release 10.2.0.2.0 - Production on Wed Sep 9 21:30:23 2009

    Copyright (c) 1982, 2005, Oracle.  All rights reserved.

    connected to target database: ORADB (DBID=2409970687)

    RMAN> run{
    2> allocate channel d1 type disk maxpiecesize=50G;
    3> allocate channel d2 type disk maxpiecesize=50G;
    4> backup full database filesperset 10 include current controlfile format '/backup/fullbak_%d_%T_%s_%p'
    5> plus archivelog format '/backup/archbak_%d_%T_%s' delete all input;
    6> release channel d1;
    7> release channel d2;
    8> }
    9>
    using target database control file instead of recovery catalog
    allocated channel: d1
    channel d1: sid=819 instance=oradb1 devtype=DISK

    allocated channel: d2
    channel d2: sid=799 instance=oradb1 devtype=DISK


    Starting backup at 09-SEP-09
    current log archived
    channel d1: starting archive log backupset
    channel d1: specifying archive log(s) in backup set
    input archive log thread=1 sequence=39695 recid=82786 stamp=697023074
    input archive log thread=1 sequence=39696 recid=82789 stamp=697024187

    結束時間是 Sep 10 02:43,五個小時左右。


    本文出自:億恩科技【www.vbseamall.com】

    服務器租用/服務器托管中國五強!虛擬主機域名注冊頂級提供商!15年品質保障!--億恩科技[ENKJ.COM]

  • 您可能在找
  • 億恩北京公司:
  • 經營性ICP/ISP證:京B2-20150015
  • 億恩鄭州公司:
  • 經營性ICP/ISP/IDC證:豫B1.B2-20060070
  • 億恩南昌公司:
  • 經營性ICP/ISP證:贛B2-20080012
  • 服務器/云主機 24小時售后服務電話:0371-60135900
  • 虛擬主機/智能建站 24小時售后服務電話:0371-60135900
  • 專注服務器托管17年
    掃掃關注-微信公眾號
    0371-60135900
    Copyright© 1999-2019 ENKJ All Rights Reserved 億恩科技 版權所有  地址:鄭州市高新區翠竹街1號總部企業基地億恩大廈  法律顧問:河南亞太人律師事務所郝建鋒、杜慧月律師   京公網安備41019702002023號
      0
     
     
     
     

    0371-60135900
    7*24小時客服服務熱線