成人免费xxxxx在线视频软件_久久精品久久久_亚洲国产精品久久久_天天色天天色_亚洲人成一区_欧美一级欧美三级在线观看

兩種DB2分區(qū)數(shù)據(jù)庫恢復(fù)方式

數(shù)據(jù)庫
DB2分區(qū)數(shù)據(jù)庫恢復(fù)分為兩種方法,即串行和并行的方式。下文對(duì)這兩種方式作了詳細(xì)的介紹,如果您對(duì)此方面感興趣的話,不妨一看。

DB2分區(qū)數(shù)據(jù)庫恢復(fù)分為·分區(qū)間串行方式和分區(qū)間并行方式。下面就為您詳細(xì)介紹這兩種DB2分區(qū)數(shù)據(jù)庫恢復(fù)方式,供您參考學(xué)習(xí)。

分區(qū)數(shù)據(jù)庫的恢復(fù)操作:

由于備份和恢復(fù)操作都只作用于當(dāng)前數(shù)據(jù)庫分區(qū),因此也可分為串行和并行的方式。為了在前滾恢復(fù)中介紹OVERFLOW 選項(xiàng)的使用,這里我們將 SAMPLE 數(shù)據(jù)庫恢復(fù)到同實(shí)例的一個(gè)名為SAMPNEW的新數(shù)據(jù)庫中,其命令應(yīng)為:

·DB2分區(qū)數(shù)據(jù)庫恢復(fù)--分區(qū)間串行方式:

  1. db2_all "db2 restore db sample into sampnew without prompting" 

注:由于是分區(qū)數(shù)據(jù)庫,因此在完成了***個(gè)分區(qū)的恢復(fù)操作,開始第二個(gè)分區(qū)的恢復(fù)操作時(shí)系統(tǒng)會(huì)出現(xiàn)SQL2529W的警告,表明數(shù)據(jù)庫已存在,是否要覆蓋數(shù)據(jù)恢復(fù)的提示,而在某些平臺(tái)下,如Linux,這一提示會(huì)導(dǎo)致分區(qū)數(shù)據(jù)庫恢復(fù)操作的失敗,如:

$ db2_all "db2 restore db sample into sapmnew"

DB20000I The RESTORE DATABASE command completed successfully.
rhas3: db2 restore db sample into sapmnew completed ok

SQL2529W Warning! Restoring to an existing database that is different from the backup image database, and the alias name "SAPMNEW" of the existing database do es not match the alias name "SAMPLE" of the backup image, and the database name "SAPMNEW" of the existing database does not match the database name "SAMPLE" of the backup image. The target database will be overwritten by the backup version. The Roll-forward recovery logs associated with the target database will be deleted.
Do you want to continue ? (y/n) SQL2001N The utility was interrupted. The output data may be incomplete.
rhas3: db2 restore db sample into sapmnew completed rc=4

因此建議在上述硬盤數(shù)據(jù)恢復(fù)命令中加入了“WITHOUT PROMPTING”的選項(xiàng),以避免該提示的出現(xiàn)。

DB2分區(qū)數(shù)據(jù)庫恢復(fù)--分區(qū)間并行方式

  1. db2_all "<<+0< db2 restore db sample into sampnew"  
  2. db2_all "||<<-0< db2 restore db sample into sampnew without prompting" 

  1. db2_all "<<-0<; db2 restore db sample into sampnew without prompting" 

因編目分區(qū)是***個(gè)進(jìn)行恢復(fù)的分區(qū),所以無需加“WITHOUT PROMPTING”選項(xiàng)。

由于我們使用的備份映象文件是通過聯(lián)機(jī)備份產(chǎn)生的,因此在恢復(fù)操作結(jié)束后,數(shù)據(jù)庫將處于前滾暫掛狀態(tài),必須通過前滾操作前滾歸檔日志,以取消前滾暫掛狀態(tài),使數(shù)據(jù)庫最終可用。

 

 

 

【編輯推薦】

三類DB2數(shù)據(jù)庫備份方案

DB2批量執(zhí)行SQL腳本的實(shí)現(xiàn)

在線改變DB2頁大小的實(shí)現(xiàn)

windows下創(chuàng)建DB2表空間的過程

DB2字符串連接的實(shí)現(xiàn)過程

 

責(zé)任編輯:段燃 來源: 互聯(lián)網(wǎng)
相關(guān)推薦

2010-08-31 10:38:30

DB2恢復(fù)分區(qū)

2010-11-02 10:35:59

DB2分區(qū)數(shù)據(jù)庫

2010-11-02 10:16:22

DB2分區(qū)數(shù)據(jù)庫備份

2010-08-31 17:14:24

DB2表空間

2010-08-18 11:17:29

DB2分區(qū)數(shù)據(jù)庫DB2

2010-11-04 10:16:38

db2日志保存

2010-08-26 15:15:18

DB2備份

2011-03-03 14:52:40

DB2數(shù)據(jù)庫恢復(fù)

2010-07-27 14:33:24

DB2數(shù)據(jù)庫

2010-08-17 09:48:40

DB2 分區(qū)數(shù)據(jù)庫

2010-11-04 10:09:23

DB2存儲(chǔ)過程

2010-08-03 14:40:05

DB2數(shù)據(jù)庫

2010-08-02 13:52:04

DB2數(shù)據(jù)庫

2010-08-12 10:54:21

IBM DB2數(shù)據(jù)庫

2010-08-12 11:38:21

DB2數(shù)據(jù)庫

2010-11-29 09:56:00

sybase數(shù)據(jù)庫備份

2010-08-27 10:20:11

DB2數(shù)據(jù)庫優(yōu)化

2010-08-27 09:55:40

db2兼容性并置

2010-08-06 09:39:27

DB2數(shù)據(jù)庫分區(qū)

2009-03-11 14:59:17

數(shù)據(jù)庫DB2數(shù)據(jù)庫分區(qū)
點(diǎn)贊
收藏

51CTO技術(shù)棧公眾號(hào)

主站蜘蛛池模板: 日韩在线不卡 | 国产精品免费在线 | 蜜桃在线视频 | 亚洲精品视频一区 | 91精品国产综合久久久久久丝袜 | 欧洲一级毛片 | 你懂的av| 99热精品在线 | 日韩一区二区三区视频 | 999久久久免费精品国产 | 天天澡天天操 | 国产成人久久 | 国产精品一区二区视频 | 亚洲一二三区在线观看 | 欧美黑人激情 | 综合色在线 | 91免费看片 | 91精品国产欧美一区二区 | 91久久国产综合久久 | 91在线精品视频 | www.久久久 | av三级 | 中文字幕日韩一区 | 超碰97人人人人人蜜桃 | 日韩中文字幕视频 | 激情综合五月 | 天堂视频免费 | 精品欧美一区二区三区久久久 | 成人福利电影 | 精品国产成人 | 国产伦精品一区二区三区视频金莲 | 北条麻妃一区二区三区在线视频 | 成人精品一区二区 | 国产精品国产成人国产三级 | 欧美极品少妇xxxxⅹ免费视频 | 91看片网 | 久久精品99久久 | 亚洲国产精品91 | 午夜影视在线观看 | 国产日韩欧美激情 | 亚洲一区二区三区四区五区中文 |