Skip to content

Commit eed7698

Browse files
authored
Updates from editor
1 parent dea7ff5 commit eed7698

1 file changed

Lines changed: 12 additions & 16 deletions

File tree

Lines changed: 12 additions & 16 deletions
Original file line numberDiff line numberDiff line change
@@ -1,25 +1,21 @@
11
---
2-
title: Error 3853 When Using Incremental Statistics And Resumable Index Operations
3-
description: Resolve SQL Server error 3853 that occurs when you use incremental statistics and resumable index operations concurrently.
4-
ms.date: 03/19/2025
2+
title: Error 3853 When Using Incremental Statistics and Resumable Index Operations
3+
description: Resolves SQL Server error 3853 that occurs when you use incremental statistics and resumable index operations concurrently.
4+
ms.date: 03/26/2025
55
ms.custom: sap:File, Filegroup, Database Operations or Corruption
66
ms.reviewer: rtownsend
77
---
88

99
# SQL Server error 3853 when using incremental statistics and resumable index operations concurrently
1010

11-
## Applies to
12-
13-
- Microsoft SQL Server 2019
14-
- Microsoft SQL Server 2017
15-
- Microsoft SQL Server 2016
11+
_Applies to:_   SQL Server 2019, SQL Server 2017, SQL Server 2016
1612

1713
## Symptoms
1814

1915
When you run a [DBCC CHECKDB](/sql/t-sql/database-console-commands/dbcc-checkdb-transact-sql) command, the following output might be generated:
2016

2117
```output
22-
Corruption in database ID %I64d, object ID %ld possibly due to schema or catalog inconsistency. Run DBCC CHECKCATALOG.
18+
Corruption in database ID %I64d, object ID %Id possibly due to schema or catalog inconsistency. Run DBCC CHECKCATALOG.
2319
```
2420

2521
You might also see the following error message in the SQL Server error log:
@@ -31,26 +27,26 @@ Msg 3853, Level 16, State 1, Line 10
3127

3228
## Cause
3329

34-
The 3853 error is caused by orphaned records in the `sys.syssingleobjrefs` system table. The `stats_id` in `sys.stats` remains as `2`, while while the corresponding `stats_id` in `syssingleobjrefs` is `896002`, indicating a mismatch. The issue occurs under the following scenarios:
30+
The 3853 error is caused by orphaned records in the `sys.syssingleobjrefs` system table. The `stats_id` in `sys.stats` remains as `2`, while the corresponding `stats_id` in `syssingleobjrefs` is `896002`, indicating a mismatch. The issue occurs under the following scenarios:
3531

3632
- The source `object_id` is a partitioned table or index.
3733
- Incremental statistics are in use for a table or index.
38-
- Index creation or rebuild is performed using the **RESUMABLE** option.
39-
- Incremental statistics are updated or the index is rebuilt using the `ONLINE = ON` option.
34+
- Index creation or rebuild is performed using the `RESUMABLE` option.
35+
- Incremental statistics are updated, or the index is rebuilt using the `ONLINE = ON` option.
4036

4137
## Status
4238

43-
Microsoft has confirmed that this is a known issue in the versions of SQL Server listed in the [Applies to](#applies-to) section. Microsoft has also confirmed that the issue has been fixed in [Microsoft SQL Server 2022](https://www.microsoft.com/sql-server/sql-server-downloads).
39+
Microsoft has confirmed that this is a known issue in the versions of SQL Server listed in the "Applies to" section at the top of the article. Microsoft has also confirmed that the issue has been fixed in [Microsoft SQL Server 2022](https://www.microsoft.com/sql-server/sql-server-downloads).
4440

4541
## Resolution
4642

4743
If the issue occurs, try the following options:
4844

4945
- Contact the Microsoft Customer Support team to request assistance with correcting the metadata.
5046
- Restore the database from the most recent valid backup.
51-
- Create a new database and import the data from the corrupted database using SQL Server Import and Export Wizard, BCP utility, or manual export-import methods.
52-
- Upgrade to SQL Server 2022 where the issue has been fixed.
47+
- Create a new database and import the data from the corrupted database using the SQL Server Import and Export Wizard, Bulk Copy Program (BCP) utility, or manual export-import method.
48+
- Upgrade to SQL Server 2022, where the issue has been fixed.
5349

5450
## Workaround
5551

56-
To avoid this issue, refrain from using incremental statistics and resumable index operations on the same table or index simultaneously.
52+
To avoid this issue, don't use incremental statistics and resumable index operations on the same table or index simultaneously.

0 commit comments

Comments
 (0)