Oracle RMAN備份單個檔案的並發執行

來源:互聯網
上載者:User

標籤:io   檔案   資料   sp   cti   on   c   size   r   

如果檔案是數千MB,或者數百萬MB,將需要並行化這一檔案的備份,通常,一個通道只能讀一個檔案,但是用多段關鍵字可以改變這一行為:

run { 

allocate channel t1 type sbt;

allocate channel t2 type sbt;

allocate channel t3 type sbt;

allocate channel t4 type sbt;

backup as compressed backupset datafile 16 section size 10g;

}

這一指令碼將啟動4個通道,每個通道讀取資料檔案16的一段10GB的段。每個通道將產生包含段的備份的片(單獨的物理檔案)。如果檔案為200GB, 將有20個這樣的片,一次產生4個。沒有section size 關鍵字,並行讀將為1(也就是序列化),用一個通道執行整個操作。

Oracle RMAN備份單個檔案的並發執行

聯繫我們

該頁面正文內容均來源於網絡整理,並不代表阿里雲官方的觀點,該頁面所提到的產品和服務也與阿里云無關,如果該頁面內容對您造成了困擾,歡迎寫郵件給我們,收到郵件我們將在5個工作日內處理。

如果您發現本社區中有涉嫌抄襲的內容,歡迎發送郵件至: info-contact@alibabacloud.com 進行舉報並提供相關證據,工作人員會在 5 個工作天內聯絡您,一經查實,本站將立刻刪除涉嫌侵權內容。

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.