掃二維碼與項目經(jīng)理溝通
我們在微信上24小時期待你的聲音
解答本文疑問/技術(shù)咨詢/運營咨詢/技術(shù)建議/互聯(lián)網(wǎng)交流
此文章主要向大家講述的是用DB2dart恢復數(shù)據(jù)的正確操作步驟,首先,DB2 "select creator,name,tid,fid from sysibm.systables where name = tablename" 查到tid與fid;以下就是文章的主要內(nèi)容的講述。

實例講解使用DB2dart恢復數(shù)據(jù)的具體步驟
發(fā)布: 2009-4-13 16:59 | 作者: 雪兒 | 來源: 網(wǎng)絡轉(zhuǎn)載 | 查看: 28次
首先,DB2 "select creator,name,tid,fid from sysibm.systables where name = tablename" 查到tid和fid;
然后
- D:\>DB2dart SAMPLE /DDEL
- Table object data formatting start.
- Please enter
- Table ID or name, tablespace ID, first page, num of pages:
- (suffic page number with 'p' for pool relative)
- 2,2,0,999
- 5 of 5 columns in the table will be dumped.
- Column numbers and datatypes of the columns dumped:
- 0 SMALLINT
- 1 VARCHAR() -VARIABLE LENGTH CHARACTER STRING
- 2 SMALLINT
- 3 VARCHAR() -VARIABLE LENGTH CHARACTER STRING
- 4 VARCHAR() -VARIABLE LENGTH CHARACTER STRING
- Default filename for output data file is TS2T2.DEL,
- do you wish to change filename used? y/n
- N
- Filename used for output data file is TS2T2.DEL. If existing file, data will
- be appended to it.
- Formatted data being dumped ...
- Dumping Page 0 ....
- Table object data formatting end.
- The requested DB2DART processing has completed successfully!
- Complete DB2DART report found in:
- C:\PROGRA~1\IBM\SQLLIB\DB2\DART0000\SAMPLE.RPT
- D:\>
- Table ID or name, tablespace ID, first page, num of pages:
- (suffic page number with 'p' for pool relative)
- 2,2,0,999=
- FID,TID,first page為0,num of pages
注:盡量往大了估算。以上的相關(guān)內(nèi)容就是對實例講解使用DB2dart恢復數(shù)據(jù)的具體步驟的介紹,望你能有所收獲。
上述的相關(guān)內(nèi)容就是對實例講解使用DB2dart恢復數(shù)據(jù)的具體步驟的描述,希望會給你帶來一些幫助在此方面。
【編輯推薦】
然后
- D:\>DB2dart SAMPLE /DDEL
- Table object data formatting start.
- Please enter
- Table ID or name, tablespace ID, first page, num of pages:
- (suffic page number with 'p' for pool relative)
- 2,2,0,999
- 5 of 5 columns in the table will be dumped.
- Column numbers and datatypes of the columns dumped:
- 0 SMALLINT
- 1 VARCHAR() -VARIABLE LENGTH CHARACTER STRING
- 2 SMALLINT
- 3 VARCHAR() -VARIABLE LENGTH CHARACTER STRING
- 4 VARCHAR() -VARIABLE LENGTH CHARACTER STRING
- Default filename for output data file is TS2T2.DEL,
- do you wish to change filename used? y/n
- N
- Filename used for output data file is TS2T2.DEL. If existing file, data will
- be appended to it.
- Formatted data being dumped ...
- Dumping Page 0 ....
- Table object data formatting end.
- The requested DB2DART processing has completed successfully!
- Complete DB2DART report found in:
- C:\PROGRA~1\IBM\SQLLIB\DB2\DART0000\SAMPLE.RPT
- D:\>
- Table ID or name, tablespace ID, first page, num of pages:
- (suffic page number with 'p' for pool relative)
- 2,2,0,999=
- FID,TID,first page為0,num of pages
注:盡量往大了估算。以上的相關(guān)內(nèi)容就是對實例講解使用DB2dart恢復數(shù)據(jù)的具體步驟的介紹,望你能有所收獲。
上述的相關(guān)內(nèi)容就是對實例講解使用DB2dart恢復數(shù)據(jù)的具體步驟的描述,希望會給你帶來一些幫助在此方面。
【編輯推薦】

我們在微信上24小時期待你的聲音
解答本文疑問/技術(shù)咨詢/運營咨詢/技術(shù)建議/互聯(lián)網(wǎng)交流