此文章主要向大家讲述的是用DB2dart恢复数据的正确操作步骤,首先,DB2 "select creator,name,tid,fid from sysibm.systables where name = tablename" 查到tid与fid;以下就是文章的主要内容的讲述。
实例讲解使用DB2dart恢复数据的具体步骤
发布: 2009-4-13 16:59 | 作者: 雪儿 | 来源: 网络转载 | 查看: 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
注:尽量往大了估算。以上的相关内容就是对实例讲解使用DB2dart恢复数据的具体步骤的介绍,望你能有所收获。
上述的相关内容就是对实例讲解使用DB2dart恢复数据的具体步骤的描述,希望会给你带来一些帮助在此方面。
【编辑推荐】
然后
- 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
注:尽量往大了估算。以上的相关内容就是对实例讲解使用DB2dart恢复数据的具体步骤的介绍,望你能有所收获。
上述的相关内容就是对实例讲解使用DB2dart恢复数据的具体步骤的描述,希望会给你带来一些帮助在此方面。
【编辑推荐】
本文标题:用DB2dart恢复数据的正确操作步骤详解
转载来于:http://www.shufengxianlan.com/qtweb/news29/373729.html
网站建设、网络推广公司-创新互联,是专注品牌与效果的网站制作,网络营销seo公司;服务项目有等
声明:本网站发布的内容(图片、视频和文字)以用户投稿、用户转载内容为主,如果涉及侵权请尽快告知,我们将会在第一时间删除。文章观点不代表本网站立场,如需处理请联系客服。电话:028-86922220;邮箱:631063699@qq.com。内容未经允许不得转载,或转载时需注明来源: 创新互联