To monitor the free space available in a DB2 tablespace
To extend a DB2 tablespace by a fixed amount
-
$ db2 connect to database
$ db2 alter tablespace tablespace-name extend (ALL amount)
$ db2 terminate
$ db2 connect to PROD
$ db2 list tablespaces show detail
$ db2 terminate
This example shows how to extend the three DB2 containers owned by tablespace EMP by 500MB using the qiomkfile command:$ /opt/VRTS/bin/qiomkfile -e 500M tbsEMP_cont001
$ /opt/VRTS/bin/qiomkfile -e 500M tbsEMP_cont002
$ /opt/VRTS/bin/qiomkfile -e 500M tbsEMP_cont003
$ db2 connect to PROD
$ db2 alter tablespace EMP extend (ALL 500M)
$ db2 terminate
$ db2 connect to PROD
$ db2 list tablespaces show detail
No comments:
Post a Comment