Openedge (Progress) - List database size with AI and BI
Use the select below to list your database, AI and BI size without go to operation system.
select *
from
(SELECT database() as
'Database',sum(f."_FileList-Size")/1024 as 'Database size' FROM
PUB."_Filelist" f where f."_FileList-Name" like '%.d%') d,
(SELECT sum(f."_FileList-Size")/1024
as 'AI' FROM PUB."_Filelist" f where f."_FileList-Name"
like '%.a%') a,
(SELECT sum(f."_FileList-Size")/1024
as 'BI' FROM PUB."_Filelist" f where f."_FileList-Name" like
'%.b%') b
Comments
Post a Comment