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 > DMS file system

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1 (permalink)  
Old 10-20-11, 08:51
Beemer Beemer is offline
Registered User
 
Join Date: Sep 2011
Posts: 7
DMS file system

Hi, all
I got a strange file system usage from DMS file system. One of tablesapces (DMS) says it uses 18G already and it continues to increase the size (about 500M) every day....but when I look each tables on the table space, there are no tables took that much of file systems or size.....Any idea?
Thank you for your help!!!
Reply With Quote
  #2 (permalink)  
Old 10-20-11, 10:40
nvk@vhv nvk@vhv is offline
Registered User
 
Join Date: Jan 2010
Posts: 294
Hmmm,
Fragmentation? Have you checked, if your tables need reorgs?
Reply With Quote
  #3 (permalink)  
Old 10-20-11, 11:33
n_i n_i is offline
:-)
 
Join Date: Jun 2003
Location: Toronto, Canada
Posts: 4,449
Quote:
Originally Posted by Beemer View Post
when I look each tables on the table space, there are no tables took that much of file systems or size
And how exactly do you do that?
Reply With Quote
  #4 (permalink)  
Old 10-20-11, 15:33
Beemer Beemer is offline
Registered User
 
Join Date: Sep 2011
Posts: 7
Not really

come tables needed but again...very small size of table....from my observation through table level, (I am using the data studio to see the estimate size of table), overall size of tables that use the tablespace should be around 300 - 400 M....but DMS file system says 17 - 18G used...Any help would be greatly appreciated.
Reply With Quote
  #5 (permalink)  
Old 10-20-11, 16:49
db2girl db2girl is offline
∞∞∞∞∞∞
 
Join Date: Aug 2008
Location: Toronto, Canada
Posts: 1,816
I'm not sure how data studio estimates the size, but I would verify this info using some other method.

Check the number of used pages and HWM displayed with db2pd -tablespaces. It could be that the HWM >>> used pages.

You can also check the size of objects using the following query:
Size of DB2 Schema

Note that you have to check the size of tables, indexes, lobs/xml. But it looks like you can't filter by the tablespace name.


Another option (and the one I prefer) is to use the inspect command. For example:
db2 "inspect check tablespace tbspaceid <tablespace id> results keep inspect.out"

You would need to format the output file using db2inspf.


Also, check what else is stored on this filesystem. db logs? non-db2 files?
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