on 02-11-2016 4:07 PM
In case of monSysWaits event 150 - how can I interpret the waits "Number of times tasks waited...".
Is this always the number of blocked processes?
And why the counter changes only after block has released, but not during the block.
Actually when block started the system already waits, but the monSysWaits doesn't indicate this.
WaitEventId 150 is Waiting for a lock.
So :
select count(*) from monProcess where WaitEventId = 150
go
will give you the number of blocked processes at that point in time.
SAP/Sybase document mentions only these as historical tables
monErrorLog
monDeadLock
monSysStatement
monSysSQLText
monSysPlanText
My guess is that monSysWaits table is also a historical (aka pipe) table.
So the data gets in SYS mon tables only AFTER the completion as a history
i.e not while current execution is still in progress.
HTH
Avinash
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
I may stand corrected !
monSysWaits is different than the other historical MDA tables mentioned above --- in the sense that repeated query on a single connection includes rows shown earlier. On the historical tables above repeated queries on the same connection will exclude the rows shown earlier.
HTH
Avinash
User | Count |
---|---|
90 | |
10 | |
10 | |
10 | |
7 | |
7 | |
6 | |
5 | |
4 | |
3 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.