|
1 | 1 | # Microsoft SQL Server Trace Flags
|
2 |
| -Complete list of Microsoft SQL Server trace flags (529 trace flags) |
| 2 | +Complete list of Microsoft SQL Server trace flags (530 trace flags) |
3 | 3 |
|
4 | 4 | **REMEMBER: Be extremely careful with trace flags, test in your test environment first. And consult professionals first if you are the slightest uncertain about the effects of your changes.**
|
5 | 5 | **Trace flag behavior may not be supported in future releases of SQL Server.**
|
@@ -30,23 +30,24 @@ A lowercase "t" is accepted by SQL Server, but this sets other internal trace fl
|
30 | 30 | - [Derik Hammer Trace Flag Recommendation](http://www.sqlhammer.com/deriks-favorite-trace-flags/)
|
31 | 31 |
|
32 | 32 | **Great thanks to:**
|
33 |
| - - Aaron Morelli ([blog](https://sqlcrossjoin.wordpress.com) | [@sqlcrossjoin](https://twitter.com/sqlcrossjoin)) |
34 |
| - - Steinar Andersen ([blog](http://www.sqlservice.se/) | [@SQLSteinar](https://twitter.com/SQLSteinar)) |
35 |
| - - Brent Ozar ([blog](https://www.brentozar.com/) | [@BrentO](https://twitter.com/BrentO)) |
| 33 | + - Aaron Morelli ([b](https://sqlcrossjoin.wordpress.com) | [@sqlcrossjoin](https://twitter.com/sqlcrossjoin)) |
| 34 | + - Steinar Andersen ([b](http://www.sqlservice.se/) | [@SQLSteinar](https://twitter.com/SQLSteinar)) |
| 35 | + - Brent Ozar ([b](https://www.brentozar.com/) | [@BrentO](https://twitter.com/BrentO)) |
36 | 36 | - Yusuf Anis
|
37 | 37 | - Lars Utterström
|
38 | 38 | - Martin Höglund
|
39 | 39 | - Håkan Winther
|
40 | 40 | - Toine Rozemeijer
|
41 |
| - - Robert L Davis ([blog](http://www.sqlsoldier.com/wp/) | [@SQLSoldier](https://twitter.com/SQLSoldier)) |
42 |
| - - Lonny Niederstadt ([blog](http://sql-sasquatch.blogspot.ru/) | [@sql_handle](https://twitter.com/@sql_handle)) |
| 41 | + - Robert L Davis ([b](http://www.sqlsoldier.com/wp/) | [@SQLSoldier](https://twitter.com/SQLSoldier)) |
| 42 | + - Lonny Niederstadt ([b](http://sql-sasquatch.blogspot.ru/) | [@sql_handle](https://twitter.com/@sql_handle)) |
43 | 43 | - Andrzej Kukuła
|
44 | 44 | - Alexander Titenko ([gtihub](https://github.com/AlexTitenko))
|
45 | 45 | - Albert van der Sel
|
46 | 46 | - Amit Banerjee
|
47 |
| - - Erin Stellato ([blog](http://www.sqlskills.com/blogs/erin/) | [@erinstellato](https://twitter.com/erinstellato)) |
48 |
| - - Darik Hammer ([blog](http://www.sqlhammer.com/) | [@drayhammer](https://twitter.com/drayhammer)) |
49 |
| - - Erik Darling ([blog](https://www.brentozar.com/archive/author/erik-darling/)) |
| 47 | + - Erin Stellato ([b](http://www.sqlskills.com/blogs/erin/) | [@erinstellato](https://twitter.com/erinstellato)) |
| 48 | + - Darik Hammer ([b](http://www.sqlhammer.com/) | [@drayhammer](https://twitter.com/drayhammer)) |
| 49 | + - Erik Darling ([b](https://www.brentozar.com/archive/author/erik-darling/)) |
| 50 | + - Joe Obbish ([b](https://orderbyselectnull.com/)) |
50 | 51 |
|
51 | 52 |
|
52 | 53 | <a id="what-are-microsoft-sql-server-trace-flags"></a>
|
@@ -163,7 +164,7 @@ Use this trace flag if SQL Server is experiencing high number of QDS_LOADDB wait
|
163 | 164 |
|
164 | 165 | <a id="trace-flags-list"></a>
|
165 | 166 | ## Trace Flags List
|
166 |
| -Summary: **526 trace flags** |
| 167 | +Summary: **530 trace flags** |
167 | 168 |
|
168 | 169 |
|
169 | 170 | <a id="-1"></a>
|
@@ -1930,6 +1931,14 @@ hes the start of the recovery phase and releasing more worker threads to be used
|
1930 | 1931 | Link: https://support.microsoft.com/en-us/help/2970421/fix-the-database-sticks-in-role-configuration-phase-when-you-perform-a-manual-failover-of-a-mirrored-database
|
1931 | 1932 |
|
1932 | 1933 |
|
| 1934 | +<a id="3449"></a> |
| 1935 | +#### Trace Flag: 3449 |
| 1936 | +Function: If you enable global TF 3449 (and you are on SQL Server 2012 SP3 CU3 or later or SQL Server 2014 SP1 CU7 or later), you will get much better performance by avoiding a FlushCache call in a number of different common scenarios, such as backup database, backup transaction log, create database, add a file to a database, restore a transaction log, recover a database, shrink a database file, and a SQL Server “graceful” shutdown. |
| 1937 | +Link: https://support.microsoft.com/en-us/help/3158396/fix-sql-server-database-creation-on-a-system-with-a-large-volume-of-me<br /> |
| 1938 | +Link: https://blogs.msdn.microsoft.com/psssql/2017/06/29/sql-server-large-ram-and-db-checkpointing/<br /> |
| 1939 | +Scope: global only |
| 1940 | + |
| 1941 | + |
1933 | 1942 | <a id="3499"></a>
|
1934 | 1943 | #### Trace Flag: 3499
|
1935 | 1944 | Function: Provides a workaround for doing a rolling upgrade from SQL 2005 to SQL 2008 with a DB that has a full-text index<br />
|
|
0 commit comments