Openedge (Progress) - BI reads and writes (version 2)

We know that sometimes is hard to infentify who is making BI growing up.

With the select below you can see the username, IP address and another informations about the process who is making BI bigger than the normal size.


select     database() as Database,
               u."_UserIO-Name" as 'User',
               u."_UserIO-BiWrite" as 'Writes',
               u."_UserIO-BIRead" as 'Reads',
               c."_Connect-Time" as 'Connection date',
               t."_Trans-txtime" as 'Transaction date',
               t."_Trans-Duration" as 'Seconds',
               c."_Connect-IPAddress" as 'IP',
               c."_Connect-Pid" as 'PID OS',
               c."_Connect-ClientType" as 'Connection Type',
               c."_Connect-CacheInfo" as 'Cache info'
from pub."_trans" t, pub."_connect" c, PUB."_UserIO" u
where         u."_UserIO-BiWrite" > 0
               and t."_Trans-State" = 'ACTIVE'
               and t."_Trans-Usrnum" = c."_Connect-Usr"
               and c."_Connect-Usr" = u."_UserIO-Usr"
order by u."_UserIO-BiWrite" desc
               
*You can check here how to enable transaction cache.

Comments

Popular posts from this blog

Impacket-master - psexec for linux

Openedge (Progress) - List transaction cache