免费注册 查看新帖 |

Chinaunix

  平台 论坛 博客 文库
12下一页
最近访问板块 发新帖
查看: 3690 | 回复: 11
打印 上一主题 下一主题

表损坏的严重问题 [复制链接]

论坛徽章:
0
跳转到指定楼层
1 [收藏(0)] [报告]
发表于 2005-07-19 13:51 |只看该作者 |倒序浏览
db2 v5数据库可能表损坏了,只能查询到2003年以前的数据,如果查询以后的数据线程就会掉下来,报sql1224n,而且表导出到一百多万条数据的时候也报错!各位高手帮帮忙吧,有没有办法恢复?以前的备份也没有了

论坛徽章:
0
2 [报告]
发表于 2005-07-19 15:07 |只看该作者

表损坏的严重问题

建议用db2dart诊断一下是否是表物理损坏了。

论坛徽章:
0
3 [报告]
发表于 2005-07-19 16:54 |只看该作者

表损坏的严重问题

具体的命令是什么?如何知道是物理损坏?有办法修复嘛?感谢

论坛徽章:
0
4 [报告]
发表于 2005-07-20 10:56 |只看该作者
提示: 作者被禁止或删除 内容自动屏蔽

论坛徽章:
0
5 [报告]
发表于 2005-07-20 11:23 |只看该作者

表损坏的严重问题

bpmf,你懂db2吗,导出数据是用db2dart吗?不懂不要瞎说,多学习才对。
用db2dart  dbname命令,把诊断信息写入了一个文件,打开这个文件,你可以看到是否有物理损坏。

论坛徽章:
0
6 [报告]
发表于 2005-07-21 01:11 |只看该作者
提示: 作者被禁止或删除 内容自动屏蔽

论坛徽章:
0
7 [报告]
发表于 2005-07-21 10:33 |只看该作者

表损坏的严重问题

难道不是db2dart导出数据吗?这么说有什么问题?

论坛徽章:
0
8 [报告]
发表于 2005-07-21 15:01 |只看该作者

表损坏的严重问题

能不能虚心点。db2dart是db2的分析和报告工具。

论坛徽章:
0
9 [报告]
发表于 2005-09-14 09:33 |只看该作者
提示: 作者被禁止或删除 内容自动屏蔽

论坛徽章:
0
10 [报告]
发表于 2005-09-14 19:09 |只看该作者

表损坏的严重问题

DB2DART HELP                        
  Syntax:                                                               
    DB2DART  <DB Alias>;  <option>;  ...                                 
                                                                        
  Help:                                                                 
    /H     Help.  This help text.                                       

  Inspect Action:                                                      
    /DB    (default) Inspects entire database.                          
    /T     Inspects a single table.  (See notes 1, 3)                  
    /TSF   Inspects only the tablespace files and containers.           
    /TSC   Inspects a tablespace's constructs (but not its tables).     
    /TS    Inspects a single tablespace and its tables.                 
           (/TSC and /TS require a tablespace id.  See notes 1, 2)
    /ATSC  Inspect constructs of all tablespaces (but not their tables).

  Data Format Action:                                                   
    /DD    Dumps formatted table data.  (See notes 1, 4)               
    /DM    Dumps formatted block map data (See notes 1, 4)              
    /DI    Dumps formatted index data.  (See notes 1, 4)               
    /DP    Dumps pages in hex format.   (See notes 1, 7)               
    /DTSF  Dumps formatted tablespace file information.                 
    /DEMP  Dumps formatted EMP information for a DMS table.            
           (See notes 1, 3)                                             
  /DDEL  Dumps formatted table data in delimited ASCII format.          
    /DHWM  Dumps highwater mark information.  (See notes 1, 2)         
    /LHWM  Suggests ways of lowering highwater mark.  (See notes 1,
您需要登录后才可以回帖 登录 | 注册

本版积分规则 发表回复

  

北京盛拓优讯信息技术有限公司. 版权所有 京ICP备16024965号-6 北京市公安局海淀分局网监中心备案编号:11010802020122 niuxiaotong@pcpop.com 17352615567
未成年举报专区
中国互联网协会会员  联系我们:huangweiwei@itpub.net
感谢所有关心和支持过ChinaUnix的朋友们 转载本站内容请注明原作者名及出处

清除 Cookies - ChinaUnix - Archiver - WAP - TOP