DB2 file system is full

Source: Internet
Author: User
Tags db2

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

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.