亚洲av成人无遮挡网站在线观看,少妇性bbb搡bbb爽爽爽,亚洲av日韩精品久久久久久,兔费看少妇性l交大片免费,无码少妇一区二区三区

  免費(fèi)注冊 查看新帖 |

Chinaunix

  平臺 論壇 博客 文庫
最近訪問板塊 發(fā)新帖
查看: 3829 | 回復(fù): 4
打印 上一主題 下一主題

sybase數(shù)據(jù)庫系統(tǒng)表被破壞,如何修復(fù)? [復(fù)制鏈接]

論壇徽章:
0
跳轉(zhuǎn)到指定樓層
1 [收藏(0)] [報(bào)告]
發(fā)表于 2013-01-25 10:08 |只看該作者 |倒序?yàn)g覽
一臺服務(wù)器,估計(jì)是由于突然斷電的緣故,發(fā)現(xiàn)數(shù)據(jù)庫的系統(tǒng)表有被破壞的現(xiàn)象。執(zhí)行一些簡單的select語句,服務(wù)器的cpu占用率馬上是100%,查詢不出來。
dbcc檢查了系統(tǒng)表:
syscolumns,出來的提示是:
Checking dbo.syscolumns: Logical pagesize is 2048 bytes
Keys of index id 1 for table 'syscolumns' in data page not in correct order. Drop and re-create the index. (index page 100137)
Keys of index id 1 for table 'syscolumns' in data page not in correct order. Drop and re-create the index. (index page 100137)
Keys of index id 1 for table 'syscolumns' in data page not in correct order. Drop and re-create the index. (index page 100137)
Keys of index id 1 for table 'syscolumns' in data page not in correct order. Drop and re-create the index. (index page 100137)
Keys of index id 1 for table 'syscolumns' in data page not in correct order. Drop and re-create the index. (index page 100137)
Keys of index id 1 for table 'syscolumns' in data page not in correct order. Drop and re-create the index. (index page 100137)
Table Corrupt: Page linkage is not consistent; check the following pages: (current page#=49526;  page# pointing to this page=100137; previous page# indicated in this page=182461)
DBCC execution completed. If DBCC printed error messages, contact a user with System Administrator (SA) role.

dbcc系統(tǒng)表syscomments,出來的提示是:
Checking dbo.syscomments: Logical pagesize is 2048 bytes
Table Corrupt: Page linkage is not consistent; check the following pages: (current page#=100195;  page# pointing to this page=43267; previous page# indicated in this page=31431)
DBCC execution completed. If DBCC printed error messages, contact a user with System Administrator (SA) role.

請各位大俠看看,這是什么問題?應(yīng)該怎樣處理?謝謝。

論壇徽章:
0
2 [報(bào)告]
發(fā)表于 2013-01-25 10:36 |只看該作者
mark~
嘗試dbcc tablealloc  加fix選項(xiàng)修復(fù)下。

論壇徽章:
0
3 [報(bào)告]
發(fā)表于 2013-01-25 22:43 |只看該作者
估計(jì)是DML操作的時(shí)候斷電了,索引page還沒有寫完就悲劇了~

論壇徽章:
0
4 [報(bào)告]
發(fā)表于 2013-02-01 11:04 |只看該作者
本帖最后由 2BeSybPro 于 2013-02-01 11:27 編輯

關(guān)鍵的生產(chǎn)環(huán)境,一定要用備份恢復(fù),手工操作不敢保證完全修復(fù)。實(shí)在沒有備份,就只有手工修復(fù)了。

論壇徽章:
0
5 [報(bào)告]
發(fā)表于 2013-02-02 16:36 |只看該作者
建議先備份數(shù)據(jù)庫包括數(shù)據(jù)庫的備份和bcp的備份,然后再想其他的辦法,看是否能夠通過修改系統(tǒng)表頁面數(shù)據(jù)的方法來進(jìn)行修改等
您需要登錄后才可以回帖 登錄 | 注冊

本版積分規(guī)則 發(fā)表回復(fù)

  

北京盛拓優(yōu)訊信息技術(shù)有限公司. 版權(quán)所有 京ICP備16024965號-6 北京市公安局海淀分局網(wǎng)監(jiān)中心備案編號:11010802020122 niuxiaotong@pcpop.com 17352615567
未成年舉報(bào)專區(qū)
中國互聯(lián)網(wǎng)協(xié)會會員  聯(lián)系我們:huangweiwei@itpub.net
感謝所有關(guān)心和支持過ChinaUnix的朋友們 轉(zhuǎn)載本站內(nèi)容請注明原作者名及出處

清除 Cookies - ChinaUnix - Archiver - WAP - TOP