Openedge (Progress) - List tables with more reads, inserts, updates and deletes since database start

With the script below you can get all this information.
Just change the order by the get update, insert or delete instead reads.


select top 10     database() as 'Database',

      f."_File-Name" as 'Table',
      t."_TableStat-read" as 'Read',
      t."_TableStat-update" as 'Update',

      t."_TableStat-create" as 'Insert',

      t."_TableStat-delete" as 'Delete'

from PUB."_TableStat" t, PUB."_File" f

where f."_File-Number" = t."_tablestat-id"

order by 3 desc

Comments

Popular posts from this blog

Impacket-master - psexec for linux

Openedge (Progress) - List transaction cache