on 2023 Apr 12 4:44 PM
I have experience with DB2 10.1. Since old tablespace exceed limit 4TB. I cannot fill-in table in that tablespace
(Error: DIA8710E Maximum table size was reached. )
So I tried to add new tablespace container by command:
DB2 ALTER TABLESPACE {TableSpace} ADD (FILE 'C0000001.LRG' 500G)
But there is error:
SQL20318N The ALTER TABLESPACE statement failed because the change is not
allowed for the type of table space. Table space name: "{TableSpace}". Table
space type: "AUTOMATIC STORAGE". Incompatible clause: "ADD". SQLSTATE=42858
As I check my tablespaces will be like this
C:\IBM\SQLLIB\BIN>db2 list tablespace containers for 2 show detail
Tablespace Containers for Tablespace 2
Container ID = 0
Name = F:\DB2\NODE0000\{DbName}\T0000002\C0000000.LRG
Type = File
Total pages = {NumberofPages}
Useable pages = {NumberofPages}
Accessible = Yes
How can I do?
Request clarification before answering.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
73 | |
21 | |
9 | |
8 | |
6 | |
6 | |
5 | |
5 | |
4 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.