Symptom
You cannot save another record.BMXAA4211E – There is a database error number -289 to operate longDescription Ldownertable Ldkey = 83,212 = Worklog Language = EN Ldownercol = DESCRIPTION. Unable to allocate new pages to the tablespace “MAXDATA”.
Resolving the problem
- Run –> cmd
- Type: db2cmd
- Another command prompt will open up
- type: db2
- you will now be at db2 prompt
- type: connect to maxdb71 user db2admin using <db2admin’s password>
- it will say you are connected
- type: set schema = maximo
- it will say command completed successfully
- type: LIST TABLESPACES show detail
- Locate/Find the “Tablespace ID” (TS ID) of the MAXDATA
- ie: MAXDATA is TSID of 3
- type: LIST TABLESPACE CONTAINERS FOR <TS ID of MAXDATA> SHOW DETAIL
- example: LIST TABLESPACE CONTAINERS FOR 3 SHOW DETAIL
- Output will be like below
Tablespace Containers for Tablespace 3
Container ID = 0
Name = C:\CTGINST1\NODE0000\SQL00001\CTGDAT\MAXDATA\container1
Type = File
Total pages = 152587
Useable pages = 152544
Accessible = Yes16. Notice the containers already added (at the end of path, the file name). You can not use same container name for your new container.
17. Choose some new name. If already added one is container1, let’s name ours as container2
18. Add another container file.
19. this command will add a 6.4GB file of space on your existing drive (200,000 pages of 32KB)
20. type: alter tablespace MAXDATA add ( file ‘container2′ 200000 )
No comments:
Post a Comment