How can I get information about tablespace in DB2 9.5?
I need to review information about if the autoresize
option is enabled or disabled.
db2monitoringtablespaces
How can I get information about tablespace in DB2 9.5?
I need to review information about if the autoresize
option is enabled or disabled.
Best Answer
Use the TBSP_UTILIZATION administrative view - Retrieve table space configuration and utilization information. See the "Essential DB2 Health Check" for a recommendation on how to use it, especially the sections on File System Free Space and DMS Tablespace Free Space.
Example:
Specifically, you are after the tbsp_increase_size field from the SYSIBMADM.TBSP_UTILIZATION table, where tbsp_type = 'DMS' as show in the query above. (The query has a few other things that are helpful in it too.)