Quantcast
Channel: SQL Server Database Engine forum
Viewing all articles
Browse latest Browse all 15264

How to re-construct PFS page in corrupted database

$
0
0

Hi All,

I am troubleshooting one database in which some pages are corrupted. As Paul say we can re-construct the PFS_PAGE( please refer the below url), could you tell me step by step please how to re-reconstruct PFS pages?

 

My database is online and in multi user mode but if we query the data which belongs to corrupted pages, then it give error. Until we fix PFS_Page, we can't run DBCC with allow_data_loss or rebuild option.I am getting below error If I run DBCC CHECKDB with ALLOW_DATA_LOSS or REBUILD:

Msg 8946, Level 16, State 12, Line 1

Table error: Allocation page (1:2329344) has invalid PFS_PAGE page header values. Type is 0. Check type, alloc unit ID and page ID on the page.

 

Please tell me how can I take fix it? 

Thanks in Advance!!

Vikas

 

Viewing all articles
Browse latest Browse all 15264

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>