What are the correct steps to crack the DB2 file system when it is full?

Source: Internet
Author: User

The following article mainly tells you about the correct brute force password cracking solution for the DB2 file system. I saw the correct brute force password cracking solution for the DB2 File System on the relevant website two days ago, here is a detailed description of the content.

Solution to the problem that the DB2 database file system is full:

Case study:

Create a 20 GB tablespace In the DB2 database of the AIX system. The specific SQL statement is as follows:

 
 
  1. CREATE REGULAR TABLESPACE HTDC_DATA PAGESIZE 8 K MANAGED BY DATABASE   
  2. USING ( FILE '/db2_tag/TABLE_SPACES/HTDC_DATA/HTDC_DATA.dat' 20G)   
  3. EXTENTSIZE 16 OVERHEAD 10.67 PREFETCHSIZE 16 TRANSFERRATE 0.04   
  4. BUFFERPOOL BPHTDC   
  5. DROPPED TABLE RECOVERY OFF   

Error code: SQLCODE 0968C

Error message: File System is full. (The File System is full)

Cause: the maximum file size allowed by the current user identity is exceeded.

Solution:

Log on to the AIX Terminal

 
 
  1. telnet IPAddress  

Enter System

 
 
  1. root   
  2. PassWord   

Switch

 
 
  1. db2admin   
  2. su - db2admin   
  3. PassWord   

Change the fsize to 100 GB (209715100 bytes)

 
 
  1. chuser fsize=209715100 db2admin  

Restart the computer

 
 
  1. shutdown -Fr  

Log on to the system again and switch the user to db2admin.

 
 
  1. su - db2admin   
  2. PassWord   
  3. db2start   
  4. db2   
  5. connect to HTDC user db2admin using ******   
  6. CREATE REGULAR TABLESPACE HTDC_DATA PAGESIZE 8 K MANAGED BY DATABASE   
  7. USING ( FILE '/db2_tag/TABLE_SPACES/HTDC_DATA/HTDC_DATA.dat' 20G)   
  8. EXTENTSIZE 16 OVERHEAD 10.67 PREFETCHSIZE 16 TRANSFERRATE 0.04   
  9. BUFFERPOOL BPHTDC   
  10. DROPPED TABLE RECOVERY OFF   

The above content is an introduction to the solutions for the DB2 file system being full. I hope you will get something better.

The above content is a description of the solution for the DB2 file system that is full. I hope it will help you in this regard.

Related Article

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.