DBCC checkdb report error : marked allocated in the GAM, but no SGAM or IAM has allocated it.

Shi, Hui 1 Reputation point
2021-01-15T02:06:28.387+00:00

hi folks:
DBCC check reported error: marked allocated in the GAM, but no SGAM or IAM has allocated it.
and I've used dbcc check with repair_allow_data_loss . It did fix all allocation errors.

Question: Did I still lose any data ?

Thanks

Hui

SQL Server Other
0 comments No comments
{count} votes

7 answers

Sort by: Most helpful
  1. Shi, Hui 1 Reputation point
    2021-01-15T16:46:15.56+00:00

    No object in the database has assigned that extent (1 allocation error … not associated with any single object).

    0 comments No comments

  2. Stacy Clark 31 Reputation points
    2021-01-20T11:01:05.467+00:00

    As you know Repair allow data loss explicitly indicates that SQL Server can try to recover with a data loss as well. So, the best way to know whether we have any data loss or not is by comparing or verifying the last known data with repaired database

    0 comments No comments

Your answer

Answers can be marked as Accepted Answers by the question author, which helps users to know the answer solved the author's problem.