Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commit 462c209

Browse files
committed
Update some trace flags info and some code format
1 parent dc46dc2 commit 462c209

File tree

1 file changed

+17
-12
lines changed

1 file changed

+17
-12
lines changed

‎SQL Server Trace Flag.md‎

Lines changed: 17 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -2064,10 +2064,13 @@ Link: https://blogs.msdn.microsoft.com/sqlserverfaq/2009/05/27/info-sql-2000-msd
20642064

20652065
<a id="3604"></a>
20662066
#### Trace Flag: 3604
2067-
Function: Enables the output from a large number of trace flags and DBCC commands to be sent back to the client. The Connect issue notes that problems can occur when using 3604 with a query that executes across a linked server. [This CSS page](https://blogs.msdn.microsoft.com/psssql/2009/05/11/how-do-i-determine-which-dump-triggers-are-enabled/) points out that 3604 is necessary for DBCC DumpTrigger(‘display’)<br />
2067+
Function: Enables the output from a large number of trace flags and DBCC commands to be sent back to the client.
2068+
The Connect issue notes that problems can occur when using 3604 with a query that executes across a linked server.
2069+
[This CSS page](https://blogs.msdn.microsoft.com/psssql/2009/05/11/how-do-i-determine-which-dump-triggers-are-enabled/) points out that 3604 is necessary for DBCC DumpTrigger(‘display’)<br />
20682070
Link: http://blogs.msdn.com/b/askjay/archive/2011/01/21/why-do-we-need-trace-flag-3604-for-dbcc-statements.aspx<br />
20692071
Link: [Internals of the Seven SQL Server Sorts – Part 1]<br />
2070-
Link: https://connect.microsoft.com/SQLServer/feedback/details/306380/trace-flag-issue-7300-3604
2072+
Link: https://connect.microsoft.com/SQLServer/feedback/details/306380/trace-flag-issue-7300-3604<br />
2073+
Link: [How to Find the Statistics Used to Compile an Execution Plan]
20712074

20722075

20732076
<a id="3605"></a>
@@ -3576,7 +3579,7 @@ Function: Converts a global log pool memory object into NUMA node partitioned me
35763579
Link: https://support.microsoft.com/en-us/kb/2809338<br />
35773580
Link: [Docs Trace Flags]<br />
35783581
Scope: global only<br />
3579-
Related to: 8048
3582+
Related to: [8048](#8048)
35803583

35813584

35823585
<a id="9050"></a>
@@ -3698,21 +3701,21 @@ Link: None
36983701
Function: Cardinality estimates for literals that are outside the
36993702
histogram range are very low<br />
37003703
Link: None
3701-
Related to: 9205
3704+
Related to: [9205](#9205)
37023705

37033706

37043707
<a id="9204"></a>
37053708
#### Trace Flag: 9204
37063709
Function: Output Statistics used by Query Optimizer. When enabled and a plan is compiled or recompiled there is a listing of statistics which is being fully loaded & used to produce cardinality and distribution estimates for some plan alternative or other.<br />
3707-
Link: http://sqlblog.com/blogs/paul_white/archive/2011/09/21/how-to-find-the-statistics-used-to-compile-an-execution-plan.aspx<br />
3708-
Related to: 9292
3710+
Link: [How to Find the Statistics Used to Compile an Execution Plan]<br />
3711+
Related to: [9292](#9292)
37093712

37103713

37113714
<a id="9205"></a>
37123715
#### Trace Flag: 9205
37133716
Function: Cardinality estimates for literals that are outside the histogram range are very low for tables that have parent-child relationships<br />
37143717
Link: None
3715-
Related to: 9185
3718+
Related to: [9185](#9185)
37163719

37173720

37183721
<a id="9207"></a>
@@ -3755,8 +3758,8 @@ Link: None
37553758
<a id="9292"></a>
37563759
#### Trace Flag: 9292
37573760
Function: Output Statistics considered to be used by Query Optimizer<br />
3758-
Link: http://sqlblog.com/blogs/paul_white/archive/2011/09/21/how-to-find-the-statistics-used-to-compile-an-execution-plan.aspx<br />
3759-
Related to: 9204
3761+
Link: [How to Find the Statistics Used to Compile an Execution Plan]<br />
3762+
Related to: [9204](#9204)
37603763

37613764

37623765
<a id="9288"></a>
@@ -4103,9 +4106,10 @@ Scope: global or session
41034106

41044107
<a id="11023"></a>
41054108
#### Trace Flag: 11023
4106-
Function: Disables the use of the last persisted sample rate, for all subsequent statistics update where a sample rate is not specified explicitly as part of the [UPDATE STATISTICS](https://docs.microsoft.com/en-us/sql/t-sql/statements/update-statistics-transact-sql) statement.
4109+
Function: Disables the use of the last persisted sample rate, for all subsequent statistics update where a sample rate is not specified explicitly as part of the [UPDATE STATISTICS](https://docs.microsoft.com/en-us/sql/t-sql/statements/update-statistics-transact-sql) statement.<br />
41074110
Link: http://support.microsoft.com/kb/4039284<br />
4108-
Link: [Docs Trace Flags]
4111+
Link: [Docs Trace Flags]<br />
4112+
Scope: global or session
41094113

41104114

41114115
<a id="11024"></a>
@@ -4117,7 +4121,7 @@ Additionally, the modification count of the root node is reset to zero. This may
41174121
When trace flag 11024 is enabled, the modification count of the root node is kept as the sum of modification counts of all partitions.<br />
41184122
**Note: This trace flag applies to SQL Server 2017 CU3 and higher builds.**<br />
41194123
Link: http://support.microsoft.com/en-us/kb/4041811<br />
4120-
Scope: ?
4124+
Scope: global or session
41214125

41224126

41234127
[Query Store Trace Flags]:https://www.sqlskills.com/blogs/erin/query-store-trace-flags/
@@ -4153,3 +4157,4 @@ Scope: ?
41534157
[Bad Idea Jeans: Finding Undocumented Trace Flags]:https://www.brentozar.com/archive/2017/10/bad-idea-jeans-finding-undocumented-trace-flags/
41544158
[SQL Server - estimates outside of the histogram - half-baked draft]:http://sql-sasquatch.blogspot.ru/2017/09/sql-server-estimates-outside-of.html
41554159
[Upgrading an expired SQL Server 2016 Evaluation Edition]:https://www.codykonior.com/2017/11/30/upgrading-an-expired-sql-server-2016-evaluation-edition/
4160+
[How to Find the Statistics Used to Compile an Execution Plan]:http://sqlblog.com/blogs/paul_white/archive/2011/09/21/how-to-find-the-statistics-used-to-compile-an-paul_white

0 commit comments

Comments
(0)

AltStyle によって変換されたページ (->オリジナル) /