Skip to content

Commit 71d70f8

Browse files
authored
Merge pull request #230 from danrcarollo/patch-1
Update SQL Server Trace Flag.md
2 parents 796bc09 + 62ff596 commit 71d70f8

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

SQL Server Trace Flag.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -2819,9 +2819,9 @@ Link: https://support.microsoft.com/kb/3003760
28192819
<a id="3895"></a>
28202820
#### Trace Flag: 3895
28212821
**Undocumented trace flag**<br />
2822-
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.
2823-
When you disable that feature, the trace flag is automatically removed after the next restart.
2824-
Also if you add race flag 3895 to startup parameters after restarting SQL Server option `IsTempdbMetadataMemoryOptimized` will be enabled.<br />
2822+
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 as a global session flag after the next restart.
2823+
When you disable that feature, the trace flag is automatically removed as a global session flag after the next restart.
2824+
Also, if you add trace flag 3895 to startup parameters after restarting SQL Server option `IsTempdbMetadataMemoryOptimized` will be enabled. NOTE: It is NOT recommended to add trace flag 3895 as a startup trace flag to enable TempDB Memory-Optimized Metadata. Although this technically enables the option, you will no longer be able to disable it using sp_configure or ALTER SERVER CONFIGURATION. The only way you'll be able to disable this feature is to manually remove this trace flag from startup parameters in the SQL Server Configuration Manager startup properties<br />
28252825
Link: https://github.com/ktaranov/sqlserver-kit/blob/master/Scripts/Trace_Flag/Trace_Flag_3895.sql<br />
28262826
Scope: global only
28272827

0 commit comments

Comments
 (0)