select
substr(tbsp_name,1,20) as 表空间名称,
substr(tbsp_content_type,1,10) as 表空间类型,
sum(tbsp_total_size_kb)/1024/1024 as 表空间总大小(G),
sum(tbsp_used_size_kb)/1024/1024 as 已经使用的表空间大小(G),
sum(tbsp_free_size_kb)/1024/1024 as 剩余表空间大小(G),
tbsp_page_size AS 页大小
from SYSIBMADM.TBSP_UTILIZATION
group by
tbsp_name,
tbsp_content_type,
tbsp_page_size
order by 3 desc
with ur

--表空间授权用户
select * from syscat.TBSPACEAUTH with ur;

--表空间数据文件
select * from sysibmadm.CONTAINER_UTILIZATION with ur;

相关文章:

  • 2022-12-23
  • 2021-08-14
  • 2022-12-23
  • 2021-12-08
  • 2021-08-16
  • 2022-12-23
  • 2021-11-15
  • 2022-12-23
猜你喜欢
  • 2021-07-22
  • 2022-12-23
  • 2022-12-23
  • 2021-08-31
  • 2022-12-23
  • 2022-12-23
  • 2022-12-23
相关资源
相似解决方案