Quantcast
Channel: SQL Server Database Engine forum
Viewing all articles
Browse latest Browse all 15264

Connection explanation in sp_who2

$
0
0

Hi All,

Hope this is a simple dumb question.. in sp_who2 i'm trying to get the correct explanation of what is seen say in the following instances:

1) 1 row for 1 SPID = this means one connection from a source application

2) Multiple rows for 1 SPID = this means multiple connections from the same source transaction, or does it mean multiple threads for the same transaction?

3) I always though that multiple rows for the same SPID meant it was executing the query in parallel (true?) - does this mean that i should only have as many rows as i do have logical CPUs? If i have 8 CPUs, then theoretically i should, at most, see 8 rows for the same SPID? I don't think i understand quite right b/c yesterday i saw one SPID with 15 rows, but there were only 8 CPUs on the server

Please clarify for me, much appreciated!


Viewing all articles
Browse latest Browse all 15264

Trending Articles



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