db2 connect to <db_name> user <uid> using <pwd>
db2 list tablespaces show detail
db2 terminate
Since you have a lot of tablespaces, you probably need to write a script to calculate the size.
1 tablespace is NOT equal to 1 table.
Schema can span multiple tablespaces. Tables reside in a tablespace.
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.