The article is mainly about the DB2 file system is full of the correct solution, the first is to enumerate the error case to analyze it, and then give the correct solution, the following is the main content of the specific description of the article, I hope you will have a better understanding of it after browsing.
DB2 file System Full workaround:
Error Case:
Create a table space of size 20G in the DB2 database of the AIX system, with the following SQL:
CREATE REGULAR tablespace htdc_data PAGESIZE 8 K MANAGED by DATABASE
USING (FILE '/db2_tag/table_spaces/htdc_data/htdc_data.dat ' 20G)
Extentsize OVERHEAD 10.67 prefetchsize transferrate 0.04
Bufferpool BPHTDC
DROPPED TABLE RECOVERY OFF
Error code: SQLCODE 0968C
Error message: File System is full. (DB2 file system is full)
Problem reason: exceeds the maximum file size allowed by the current user ID.
Workaround:
Login to Aix terminal
Telnet IPAddress
Enter the system
Root
PassWord
Switch user to Db2admin
Su-db2admin
PassWord
Change Fsize to 100G, (209715100 blocks 512byte)
Chuser fsize=209715100 Db2admin
Restart your computer
Shutdown-fr
Login the system again and switch the user to Db2admin
Su-db2admin
PassWord
Db2start
Db2
Connect to HTDC user db2admin using ******
CREATE REGULAR tablespace htdc_data PAGESIZE 8 K MANAGED by DATABASE
USING (FILE '/db2_tag/table_spaces/htdc_data/htdc_data.dat ' 20G)
Extentsize OVERHEAD 10.67 prefetchsize transferrate 0.04
Bufferpool BPHTDC
DROPPED TABLE RECOVERY OFF
The above related content is the DB2 file system is full of solutions to the introduction, hope you can have some gains.
DB2 file system is full