context ids ???

context ids ???

Post by Walter Mall » Wed, 09 Apr 2003 20:16:38



What does the context ID column in the SQL Agent>Current
Activity>Process Info screen indicate.  It seems that when queries are
running slow, they increment context ids but the process details shows
the same sql code for each context ID.

Thanks,


 
 
 

context ids ???

Post by Greg Linwoo » Wed, 09 Apr 2003 21:45:08


Hi Walter.

ContextID is ECID - "Execution Context ID". It's used during operations that
require sub-threads (eg paralellism) to display the relationship between
sub-threads and their parent thread. This will be zero for parent threads
and 1,2,3.. for sub threads..

Regards,
Greg Linwood


> What does the context ID column in the SQL Agent>Current
> Activity>Process Info screen indicate.  It seems that when queries are
> running slow, they increment context ids but the process details shows
> the same sql code for each context ID.

> Thanks,