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 > V8 Tablespace Utilization

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1 (permalink)  
Old 10-02-03, 11:31
dbamota dbamota is offline
Registered User
 
Join Date: Sep 2003
Posts: 237
V8 Tablespace Utilization

How does one get V8 Tablespace Utilization? Control center on V8FP3 DB does not give Size used, Allocated size,percentage used, maximum ever used as was given in V7 DB? Which system table has these values? Does anybody have an equivalent SQL?
__________________
mota
Reply With Quote
  #2 (permalink)  
Old 10-02-03, 11:52
achiola achiola is offline
Registered User
 
Join Date: May 2002
Location: General Deheza, Cba, Arg.
Posts: 273
If your tablespace is DMS, use this command "list tablespaces show detail", else, view the space in the folder in win.

For explample:
SMS:
------------------------------------------------
db2 => list tablespaces show detail

Tablespaces for Current Database

Tablespace ID = 0
Name = SYSCATSPACE
Type = System managed space
Contents = Any data
State = 0x0000
Detailed explanation:
Normal
Total pages = 11661
Useable pages = 11661
Used pages = 11661
Free pages = Not applicable
High water mark (pages) = Not applicable
Page size (bytes) = 4096
Extent size (pages) = 32
Prefetch size (pages) = 16
Number of containers = 1
--------------------------------

for DMS:
----------------------------------
Tablespace ID = 5
Name = TBATTRIB
Type = Database managed space
Contents = Any data
State = 0x0000
Detailed explanation:
Normal
Total pages = 7680000
Useable pages = 7679920
Used pages = 295248
Free pages = 7384672
High water mark (pages) = 6144016
Page size (bytes) = 4096
Extent size (pages) = 16
Prefetch size (pages) = 8
Number of containers = 5
-----------------------------


Abel.
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