Good afternoon, colleagues!
We are fighting with the spinlock locks, arising from our client.
At the moment, we are seeing a high value of Spinlock on default data cache,on 1 partition.
Spinlock::Instance per sec per xact grabs waits spins/wait contention
"default data cache :: 54 85431.7 96.5 2670445 2562951 837.9 96.0%"
Since we have version 15.7(sp 132), we use the table "monSpinlockActivity" in which we can see spinlocks for each type.
But it is impossible to obtain value "default data cache" for every partition.(for example 54. We have in "default data cache" 64 partitions)
The values from table "monSpinlockActivity" needed for understanding what “pid” runs on this partition.(and what spid and procedure)
Spinlock::Instance per sec per xact grabs waits spins/wait contention
"default data cache :: 54 85431.7 96.5 2670445 2562951 837.9 96.0%"
received from command "dbcc monitoring".
However, we can't get value from "dbcc monitoring" of the PID of the process.
How we can find pid or spid for specific "default data cache" partition?