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,