Quantcast
Channel: SQL Server Database Engine Forum
Viewing all articles
Browse latest Browse all 15872

Extended Events large query statements

$
0
0

I need to setup Extended Events sessions on a couple of servers running SQL 2012/2014 Ent.

Session should capture the statements (inside procs/ad-hoc queries/rpcs ) that have the largest impact . 

I do not do the multiple executions with same hash/ analyze at this step , just focusing on largest impact statements/queries.

As I see I should only be capturing the sp_statement_completed, sql_statement_completed, rpc_completed and not the module_end or sql_batch_completed, correct?

I am good with the DDL for it, actions/options/targets, etc, just the set of events to capture the high impact statements/queries.

Thank you,


Viewing all articles
Browse latest Browse all 15872


<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>