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

  免費注冊 查看新帖 |

Chinaunix

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

求助sysprocedures和syscomments表損壞 [復(fù)制鏈接]

論壇徽章:
0
跳轉(zhuǎn)到指定樓層
1 [收藏(0)] [報告]
發(fā)表于 2013-12-06 21:10 |只看該作者 |倒序瀏覽
本帖最后由 其實我有點暈 于 2013-12-06 21:20 編輯

因為盤柜硬盤壞了,更換后硬盤后,用戶庫恢復(fù)失敗,做rebuild_log后正常,但sysprocedures和syscomments做dbcc報錯,按照How to Fix a Corrupted Index on System Tables修復(fù)不成功。

一、對sysprocedures表做dbcc,tablealloc正常,checktable報錯
1> dbcc checktable(sysprocedures)
2> go
Checking sysprocedures: Logical pagesize is 8192 bytes
Msg 2507, Level 16, State 1:
Server 'TVM_DS', Line 1:
Table Corrupt: Offset table is incorrect (page#=5507  row#=8 offset in offset
table is=62  correct offset is=18)
Msg 614, Level 16, State 7:
Server 'TVM_DS', Line 1:
Adaptive Server accessed a row that has an illegal length of 18458 while in data
base 'tvmdb'.
Invalid pointer param number 4, pointer value 0x(nil)
     . The
minimum row length is 16. The page size is 8192.
DBCC execution completed. If DBCC printed error messages, contact a user with
System Administrator (SA) role.

select * from sysprocedures報錯

     // 省略前邊的  //

      2   884195169          50   1152      1       12500
      2   887671179           0   1152      1  -939191599
CT-LIBRARY error:
        ct_fetch(): protocol specific layer: external error: There is a tds protocol error. An illegal token was received.


二、對syscomments表做dbcc,tablealloc正常,checktable報錯
1> dbcc checktable(syscomments)
2> go
Checking syscomments: Logical pagesize is 8192 bytes
Msg 2507, Level 16, State 2:
Server 'TVM_DS', Line 1:
Table Corrupt: Offset table is incorrect (page#=3066  row#=22 offset in offset
table is=17  correct offset is=35)
The total number of data pages in this table is 96.
Table has 2874 data rows.
DBCC execution completed. If DBCC printed error messages, contact a user with
System Administrator (SA) role.

select * from syscomments正常。


在數(shù)據(jù)庫日志里,也沒有見到這兩個表的報錯信息。
請問,還有其它解決方法嗎?謝謝。


論壇徽章:
7
數(shù)據(jù)庫技術(shù)版塊每日發(fā)帖之星
日期:2015-08-09 06:20:00數(shù)據(jù)庫技術(shù)版塊每日發(fā)帖之星
日期:2015-11-03 06:20:00數(shù)據(jù)庫技術(shù)版塊每日發(fā)帖之星
日期:2016-02-20 06:20:00數(shù)據(jù)庫技術(shù)版塊每日發(fā)帖之星
日期:2016-07-13 06:20:00數(shù)據(jù)庫技術(shù)版塊每日發(fā)帖之星
日期:2016-07-31 06:20:00數(shù)據(jù)庫技術(shù)版塊每日發(fā)帖之星
日期:2016-08-01 06:20:00數(shù)據(jù)庫技術(shù)版塊每日發(fā)帖之星
日期:2016-08-18 06:20:00
2 [報告]
發(fā)表于 2013-12-06 22:17 |只看該作者
從DDL再重導(dǎo)procedure, triger和view吧

論壇徽章:
0
3 [報告]
發(fā)表于 2013-12-10 11:13 |只看該作者
回復(fù) 2# Eisen


    謝謝,工作量挺大,沒修復(fù),現(xiàn)在業(yè)務(wù)好像也沒啥影響。

論壇徽章:
6
水瓶座
日期:2014-06-04 03:34:37水瓶座
日期:2014-06-17 13:20:31數(shù)據(jù)庫技術(shù)版塊每日發(fā)帖之星
日期:2016-07-09 06:20:00數(shù)據(jù)庫技術(shù)版塊每日發(fā)帖之星
日期:2016-07-17 06:20:00數(shù)據(jù)庫技術(shù)版塊每日發(fā)帖之星
日期:2016-08-01 06:20:00數(shù)據(jù)庫技術(shù)版塊每日發(fā)帖之星
日期:2016-08-04 06:20:00
4 [報告]
發(fā)表于 2013-12-10 18:55 |只看該作者
導(dǎo)出syscomments的數(shù)據(jù),根據(jù)syscomments生成存儲過程、視圖的創(chuàng)建語法,重建procedure, triger和view吧~

論壇徽章:
0
5 [報告]
發(fā)表于 2013-12-11 08:04 |只看該作者
回復(fù) 4# andkylee


    謝謝

論壇徽章:
7
數(shù)據(jù)庫技術(shù)版塊每日發(fā)帖之星
日期:2015-08-09 06:20:00數(shù)據(jù)庫技術(shù)版塊每日發(fā)帖之星
日期:2015-11-03 06:20:00數(shù)據(jù)庫技術(shù)版塊每日發(fā)帖之星
日期:2016-02-20 06:20:00數(shù)據(jù)庫技術(shù)版塊每日發(fā)帖之星
日期:2016-07-13 06:20:00數(shù)據(jù)庫技術(shù)版塊每日發(fā)帖之星
日期:2016-07-31 06:20:00數(shù)據(jù)庫技術(shù)版塊每日發(fā)帖之星
日期:2016-08-01 06:20:00數(shù)據(jù)庫技術(shù)版塊每日發(fā)帖之星
日期:2016-08-18 06:20:00
6 [報告]
發(fā)表于 2013-12-12 14:59 |只看該作者
ddlgen能幫你很快地從syscomments導(dǎo)出那些DDL來
您需要登錄后才可以回帖 登錄 | 注冊

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

  

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

清除 Cookies - ChinaUnix - Archiver - WAP - TOP