i do DBCC CHECKDB after upgrade sql server from 2012 vesion to 2017 then find the database error as below:
Page (1:214377) is marked with the wrong type in PFS page
then i run DBCC CHECKDB ([MSDB], REPAIR_ALLOW_DATA_LOSS)
so the first error is repaired and the new error appear as bellow:
Msg 8906, Level 16, State 1, Line 4
Page (1:214377) in database ID 9 is allocated in the SGAM (1:3) and PFS (1:210288), but was not allocated in any IAM. PFS flags 'MIXED_EXT ALLOCATED 0_PCT_FULL'.
Msg 8906, Level 16, State 1, Line 4
Page (1:214378) in database ID 9 is allocated in the SGAM (1:3) and PFS (1:210288), but was not allocated in any IAM. PFS flags 'MIXED_EXT ALLOCATED 0_PCT_FULL'.
Msg 8906, Level 16, State 1, Line 4
Page (1:214379) in database ID 9 is allocated in the SGAM (1:3) and PFS (1:210288), but was not allocated in any IAM. PFS flags 'MIXED_EXT ALLOCATED 0_PCT_FULL'.
Msg 8906, Level 16, State 1, Line 4
Page (1:214380) in database ID 9 is allocated in the SGAM (1:3) and PFS (1:210288), but was not allocated in any IAM. PFS flags 'MIXED_EXT ALLOCATED 0_PCT_FULL'.
Msg 8906, Level 16, State 1, Line 4
Page (1:214381) in database ID 9 is allocated in the SGAM (1:3) and PFS (1:210288), but was not allocated in any IAM. PFS flags 'MIXED_EXT ALLOCATED 0_PCT_FULL'.
Msg 8906, Level 16, State 1, Line 4
Page (1:214382) in database ID 9 is allocated in the SGAM (1:3) and PFS (1:210288), but was not allocated in any IAM. PFS flags 'MIXED_EXT ALLOCATED 0_PCT_FULL'.
Msg 8906, Level 16, State 1, Line 4
Page (1:214383) in database ID 9 is allocated in the SGAM (1:3) and PFS (1:210288), but was not allocated in any IAM. PFS flags 'MIXED_EXT ALLOCATED 0_PCT_FULL'.
so what should i do guys?is the DBCC CHECKDB ([MSDB], REPAIR_ALLOW_DATA_LOSS) wrong or not?im so worry to lost data and corruption in database.!!!!