Hi,
I am looking to create a query that returns the number of blocked processes from the dpa repository, without going through system tables in the monitored instance. The repository is SQL Server.
I understand that the CONSW_X table holdes detailed information on this reported in seconds, but the column names are very difficult to make sense of without any referance to what they mean.
I am currently trying this query to count the number of blocks for the last 60 minutes with the following query:
select count(*) from consw_1 sw
INNER JOIN conev_1 ev ON sw.keeq = ev.id
WHERE sw.d >= DATEADD(minute, -60, CURRENT_TIMESTAMP)
and ev.id = 23
and blee < 0
The problem is that the query does not match the information I have in my DPA GUI. Could anybody care to reveal what the columns in the table mean (especially the column blee) or correct my query so that it returns number of blocked processes (not interested in how many seconds)?
Best regards