Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • Home
  • SEARCH
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 8056581
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 5, 20262026-06-05T08:45:04+00:00 2026-06-05T08:45:04+00:00

We are implementing some system to our customers which uses DB2 database and we

  • 0

We are implementing some system to our customers which uses DB2 database and we hadn’t have problem with table spaces free pages before! But now in implementation phase I can see low level of database free pages. We had 56304 pages and now we have only 288 free. Can some one tell me does it can be harmful and dangerous? How to solve it? I tried with making some attributes of tables to decrease their size (on example ALN from 250 I set it to 100) but instead of growing my table spaces got smaller? How to solve this? I will be very thankful

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-06-05T08:45:07+00:00Added an answer on June 5, 2026 at 8:45 am

    Yes, if you run out of free pages, then DB2 will not be able to write any more data to the table.

    There are a few ways you can increase the number of free pages. You need to know how many file containers are assigned to the tablespace and how many free and used pages you have using the following query (or db2 list tablespaces show detail from the command line):

    SELECT SUBSTR(TBSP_NAME,1,15) NAME
          ,TBSP_TYPE TYPE
          ,TBSP_AUTO_RESIZE_ENABLED AUTO_RESIZE
          ,TBSP_NUM_CONTAINERS CONTAINERS
          ,TBSP_TOTAL_PAGES TOTAL_PGS
          ,TBSP_USED_PAGES USED_PGS
          ,TBSP_FREE_PAGES FREE_PGS
          ,TBSP_MAX_SIZE MAX_SZ
          ,TBSP_PAGE_SIZE PG_SZ
    FROM SYSIBMADM.TBSP_UTILIZATION
    WHERE TBSP_CONTENT_TYPE IN ('ANY','SYSTEMP')
    

    You can then calculate the number of pages to increase using the formula:

    numPages = (usedPages - freePages) / numberOfContainersInTS
    

    You’ll then take the result and use ALTER TABLESPACE to extend the tablespace:

    ALTER TABLESPACE <yourTS> EXTEND (ALL <numPages>)
    

    Additionally, you may be able to REORG the table, which may free up some unused pages.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

We are implementing some EF data repositories, and we have some queries which would
we are using some private MSMQ queues with our production system. Since implementing, we've
I have a system implementing Camel and ActiveMQ for communication between some servers. I
While implementing some security aspects with Spring Security, I have noticed that both Authentication
I am implementing some networking stuff in our project. It has been decided that
I'm having a little problem implementing some jQuery into a page I am doing.
in a bash script I am implementing some functions, that take parameters The problem
I am looking at implementing a Web Service API for our product. I have
I'm writing a CRUD system using CodeIgniter, implementing some 'one to many' dependencies between
I'm currently working on implementing the Distributed Annotation System-standard for our project openSNP.org, however,

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.