|
1 | 1 | # Microsoft SQL Server Trace Flags |
2 | | -Detailed list of all discovered (documented and undocumented) Microsoft SQL Server trace flags (**602** trace flags). |
| 2 | +Detailed list of all discovered (documented and undocumented) Microsoft SQL Server trace flags (**603** trace flags). |
3 | 3 |
|
4 | 4 | ⚠ **REMEMBER: Be extremely careful with trace flags, test in your development environment first. |
5 | 5 | And consult professionals first if you are the slightest uncertain about the effects of your changes.** |
@@ -280,7 +280,7 @@ Use this trace flag if SQL Server is experiencing high number of [QDS_LOADDB](ht |
280 | 280 |
|
281 | 281 | <a id="trace-flags-list"></a> |
282 | 282 | ## Trace Flags List |
283 | | -Summary: **602 trace flags** |
| 283 | +Summary: **603 trace flags** |
284 | 284 |
|
285 | 285 |
|
286 | 286 | <a id="-1"></a> |
@@ -2735,14 +2735,19 @@ Link: None |
2735 | 2735 |
|
2736 | 2736 | <a id="3861"></a> |
2737 | 2737 | #### Trace Flag: 3861 |
2738 | | -Function: This flag allows the SQL Server DB startup code to move system tables to the primary filegroup. Introduced due to behavior in the SQL 2014 upgrade process, where system tables could be created in a secondary filegroup (if that FG was the default).<br /> |
| 2738 | +Function: This flag allows the SQL Server DB startup code to move system tables to the primary filegroup. |
| 2739 | +Introduced due to behavior in the SQL 2014 upgrade process, where system tables could be created in a secondary filegroup (if that FG was the default).<br /> |
2739 | 2740 | Link: https://support.microsoft.com/help/3003760/ |
2740 | 2741 |
|
2741 | 2742 |
|
2742 | 2743 | <a id="3895"></a> |
2743 | 2744 | #### Trace Flag: 3895 |
2744 | | -Function: In SQL Server 2019, when you enable the Memory-Optimized TempDB Metadata feature, this trace flag is automatically enabled after the next restart. When you disable that feature, the trace flag is automatically removed after the next restart.<br /> |
2745 | | -Link: None |
| 2745 | +**Undocumented trace flag**<br /> |
| 2746 | +Function: In SQL Server 2019, when you enable the [Memory-Optimized TempDB Metadata](https://docs.microsoft.com/en-us/sql/relational-databases/databases/tempdb-database) feature, this trace flag is automatically enabled after the next restart. |
| 2747 | +When you disable that feature, the trace flag is automatically removed after the next restart. |
| 2748 | +Also if you add race flag 3895 to startup parameters after restarting SQL Server option `IsTempdbMetadataMemoryOptimized` will be enabled.<br /> |
| 2749 | +Link: https://github.com/ktaranov/sqlserver-kit/blob/master/Scripts/Trace_Flag/Trace_Flag_3895.sql<br /> |
| 2750 | +Scope: global only |
2746 | 2751 |
|
2747 | 2752 |
|
2748 | 2753 | <a id="3913"></a> |
|
0 commit comments