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

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

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

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

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

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

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

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

注:由于是分區(qū)數(shù)據(jù)庫(kù),因此在完成了***個(gè)分區(qū)的恢復(fù)操作,開始第二個(gè)分區(qū)的恢復(fù)操作時(shí)系統(tǒng)會(huì)出現(xiàn)SQL2529W的警告,表明數(shù)據(jù)庫(kù)已存在,是否要覆蓋數(shù)據(jù)恢復(fù)的提示,而在某些平臺(tái)下,如Linux,這一提示會(huì)導(dǎo)致分區(qū)數(shù)據(jù)庫(kù)恢復(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ù)庫(kù)恢復(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ù)庫(kù)將處于前滾暫掛狀態(tài),必須通過前滾操作前滾歸檔日志,以取消前滾暫掛狀態(tài),使數(shù)據(jù)庫(kù)最終可用。

 

 

 

【編輯推薦】

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

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

在線改變DB2頁(yè)大小的實(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ù)庫(kù)

2010-11-02 10:16:22

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

2010-08-31 17:14:24

DB2表空間

2010-08-18 11:17:29

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

2010-11-04 10:16:38

db2日志保存

2010-08-26 15:15:18

DB2備份

2011-03-03 14:52:40

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

2010-07-27 14:33:24

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

2010-08-17 09:48:40

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

2010-11-04 10:09:23

DB2存儲(chǔ)過程

2010-08-02 13:52:04

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

2010-08-03 14:40:05

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

2010-08-12 11:38:21

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

2010-08-12 10:54:21

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

2010-11-29 09:56:00

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

2010-08-27 10:20:11

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

2010-07-27 13:46:08

DB2提高IMPORT

2010-08-03 11:27:01

DB2分區(qū)兼容性

2010-08-27 09:55:40

db2兼容性并置
點(diǎn)贊
收藏

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

主站蜘蛛池模板: 日韩一区二区三区在线播放 | 情侣酒店偷拍一区二区在线播放 | 国产精品美女久久久久久免费 | 国产资源视频 | 一区二区三区欧美在线观看 | 久久国产电影 | 国产二区三区 | 日本精品裸体写真集在线观看 | 欧美电影在线观看网站 | 午夜视频在线播放 | 亚州综合在线 | 黄网站在线观看 | 午夜精品一区二区三区在线 | 亚洲男女视频在线观看 | 99久久婷婷国产综合精品 | 亚洲精品在线免费看 | 国产精品视频久久久 | 日本精品久久久一区二区三区 | 国产精品福利视频 | 国产欧美精品一区二区 | 国产精品一区二区欧美黑人喷潮水 | 国内精品久久久久 | 国产一区2区 | 国产精品不卡视频 | 一区二区三区四区av | 精品亚洲一区二区三区四区五区 | 天天干天天爱天天操 | 日韩一级电影免费观看 | 久草视 | 一级片在线免费看 | 成人精品一区二区三区中文字幕 | 中文字幕日韩欧美一区二区三区 | 色综合视频在线 | 亚洲成人中文字幕 | 久久久91精品国产一区二区三区 | 毛片站 | 男女羞羞视频在线免费观看 | 在线看av网址 | 91在线影院 | 中文视频在线 | 日韩成人在线播放 |