+ -
当前位置:首页 → 问答吧 → 请教SYBASE数据库表Page linkage is not consistent的问题

请教SYBASE数据库表Page linkage is not consistent的问题

时间:2010-08-12

来源:互联网

1> dbcc checktable(LSHSPZ)
2> go
Checking LSHSPZ: Logical pagesize is 2048 bytes
Msg 2503, Level 16, State 1:
Server 'SYBASE', Line 1:
Table Corrupt: Page linkage is not consistent; check the following pages:
(current page#=38247126;  page# pointing to this page=38247125; previous page#
indicated in this page=38247126)
DBCC execution completed. If DBCC printed error messages, contact a user with
System Administrator (SA) role.

有一个数据库出问题,BCP往外导的时候,陷入死循环,总是导不完

请问有朋友遇到过此类问题吗,怎么解决?
谢谢!!

作者: xgene   发布时间: 2010-08-12

呵呵,我以前确实也碰到过这个情况,这个需要修改页链了
请看
http://www.sybedit.com/?p=82

作者: hobbylu   发布时间: 2010-08-12

dbcc checkdb和dbcc checktable只负责检查错误,那么如何来修复呢?

作者: sybfresher   发布时间: 2010-08-12

我开发了工具,powersybedit,我的网站上也有介绍

作者: hobbylu   发布时间: 2010-08-12

非官方的,修出问题怎么办?

有没有官方的修复办法?

作者: sybfresher   发布时间: 2010-08-12

系统本身就有问题,不修复你的数据就无法得到,再说修复是一个过程,验证好数据之后,重新建表,避免风险
如果你考虑到怕影响现有可以将数据库dump出来,进行数据恢复也可以。

作者: hobbylu   发布时间: 2010-08-12

同情LZ。。。

作者: sybfresher   发布时间: 2010-08-12

再给一个你要的官方的解决方法!
Please contact Sybase Technical Support.

作者: hobbylu   发布时间: 2010-08-12

作者: sybfresher   发布时间: 2010-08-12