If this is your first visit, be sure to check out the FAQ by clicking the link above. You may have to register before you can post: click the register link above to proceed. To start viewing messages, select the forum that you want to visit from the selection below.

 
Go Back  dBforums > Database Server Software > DB2 > Tablespace Pages Question

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1 (permalink)  
Old 08-23-04, 16:12
redwolf redwolf is offline
Registered User
 
Join Date: Apr 2004
Posts: 179
Tablespace Pages Question

I noticed that one of the tablespaces on a database that I support was growing rapidly. So I checked the to see which tables in the tablespace were using the most space by selecting the npages from syscat.tables. I also have a tool I use which shows the overall available space for the tablespace. The tool shows used pages for this tablespace to be 950720 pages. However, when I add all the npages values up I only got 25644.

Is there some other method I could use to see what tables are using the majority space? Is there an explanation why these numbers would be so different? I have a script that runs on the AIX box, and it agrees with the tool values.

Thanks in advance
Reply With Quote
  #2 (permalink)  
Old 08-24-04, 11:21
rubystep rubystep is offline
Registered User
 
Join Date: Sep 2003
Posts: 85
Is this in a DPF (aka EEE) environment? Have there been lots of deletes and inserts?
Which version and fixpak?
Ruby
Reply With Quote
  #3 (permalink)  
Old 08-24-04, 14:02
sathyaram_s sathyaram_s is offline
Super Moderator
 
Join Date: Aug 2001
Location: UK
Posts: 4,534
Look at fpages also ...

reorgchk may give a better idea about the usage of table pages

Cheers
Sathyaram
__________________
Visit the new-look IDUG Website , register to gain access to the excellent content.
Reply With Quote
Reply

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On