Hi,
we followed the rule to set the maxdop = numer of schedulers per NUMA node. I now want to check how often parallel queries can use different schedulers within the same NUMA node. Following scripts works fine for me.
select DISTINCT session_id , scheduler_id from sys.dm_os_tasks WHERE parent_task_address IS NOT NULL ORDER BY 1,2
But this is ad-hoc. I would like to be able to setup an extended event session on the sql_statement_completed event to collect the same info. But I noticed the scheduler_id collected here is only the one linked to the parent_task, but I'm more interested in the parallel tasks.
Any ideas?
Geert Vanhove DCOD ------ http://geertvanhove.wordpress.com/ ----------- Please click the Mark as Answer or Vote As Helpful if a post solves your problem or is helpful!