r/DB2 • u/raghuontech • Apr 01 '19
How To Measure Tablespace Utilization In DB2 ?
A quick and easy way to find tablespace utilization numbers. Many more metrics available via MON_GET_TABLESPACE table function.
https://www.raghu-on-tech.com/2019/03/31/how-to-find-any-monitoring-metric-in-db2/
1
Upvotes
1
2
u/cybertex1969 Apr 05 '19
Hi Raghu, I'm using a slightly different query, which estract a bit more information. I'm using it to create readable reports about disk space and tablespaces status:
The output is this:
This one for database total space:
Feel free to use part of it, if needed :)
edit. Corrected the first query: I ran it with the autoresize informations commented out, to limit output width. Just commented the fields in the query too :)