数据库做DBCC时,出现的错误,请高手帮忙看下啊。
<p>Checking xlsz_d_hs<br/>The total number of data pages in this table is 186288.<br/>Msg 2583, Level 18, State 1:<br/>Procedure 'neil_dump2', Line 14:<br/>Number of data pages (186288) counted by DBCC differs from count in the data OAM<br/>(186307) for dbid 5 object 953054431.<br/>Table has 3870707 data rows.</p><p></p><p>那位高手能帮忙看下这个OAM错误,应该用什么方法解决啊。</p> try dbcc fix, or try bcp and rebuild the table<br/> <p>use master<br/>go<br/>sp_dboption temis_pos,single,true<br/>go<br/>use temis_pos<br/>go<br/>checkpoing<br/>go<br/>use master<br/>go<br/>dbcc tablealloc(953054431,full,fix)<br/>go<br/>sp_dboption temis_pos,single,false<br/>go<br/>use temis_pos<br/>go<br/>checkpoint<br/>go</p><p></p><p>完整的SQL应该是这样吧.<br/>就是不知道,这样做了能否修复这个错误.另3870707条数据做这样的修复大概需要多长时间(联想2100的服务器,未做RAID)</p><p>还请高手帮帮忙.</p>
页:
[1]