Lokasi ngalangkungan proxy:   [ UP ]  
[Ngawartoskeun bug]   [Panyetelan cookie]                
Skip to content

Commit e9aa8b7

Browse files
authored
Merge pull request #15855 from Guillaume-Fourrat/patch-1
SQL2017 query_post_execution_plan_profile overhead
2 parents b2a8a2e + 223fc79 commit e9aa8b7

1 file changed

Lines changed: 3 additions & 0 deletions

File tree

docs/relational-databases/performance/query-profiling-infrastructure.md

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -190,6 +190,9 @@ For more information on the performance overhead of query profiling, see the blo
190190
> [!NOTE]
191191
> Extended Events that leverage lightweight profiling will use information from standard profiling in case the standard profiling infrastructure is already enabled. For example, an extended event session using `query_post_execution_showplan` is running, and another session using `query_post_execution_plan_profile` is started. The second session will still use information from standard profiling.
192192
193+
> [!NOTE]
194+
> On [!INCLUDE[ssSQL17](../../includes/sssql17-md.md)], Lightweight Profiling is off by default but is activated when an XEvent trace relying on `query_post_execution_plan_profile` is started, and is then deactivated again when the trace is stopped. As a consequence, if Xevent traces based on `query_post_execution_plan_profile` are frequently started and stopped on a [!INCLUDE[ssSQL17](../../includes/sssql17-md.md)] instance, it is strongly advised to activate Lightweight Profiling at global level with traceflag 7412 to avoid the repeated activation/deactivation overhead.
195+
193196
## See Also
194197
[Monitor and Tune for Performance](../../relational-databases/performance/monitor-and-tune-for-performance.md)
195198
[Performance Monitoring and Tuning Tools](../../relational-databases/performance/performance-monitoring-and-tuning-tools.md)

0 commit comments

Comments
 (0)