DB2获取表空间

能够获取到表空间名称: select distinct tbspace from SYSIBM.SYSTABLESPACES
如何获取各表空间的详细信息,IBM官方网站给出获取DMS的SQL:
SELECT CHAR(TABLESPACE_NAME,25) AS TABLESPACE_NAME, TABLESPACE_ID, USED_PAGES, PAGE_SIZE FROM TABLE(SNAPSHOT_TBS_CFG(CAST(NULL AS VARCHAR(1)), CAST (NULL AS INTEGER))) AS SNAPSHOT_TBS_CFG

你可能感兴趣的:(db2)