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 usage pages in catalog

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1 (permalink)  
Old 07-13-10, 22:00
L_DBA_L L_DBA_L is offline
Registered User
 
Join Date: Sep 2009
Posts: 49
tablespace usage pages in catalog

How to find tablespace used pages from the catalog? Version 9.5.5
Reply With Quote
  #2 (permalink)  
Old 07-13-10, 23:17
n_i n_i is offline
:-)
 
Join Date: Jun 2003
Location: Toronto, Canada
Posts: 4,449
This information is not in the catalog.
Reply With Quote
  #3 (permalink)  
Old 07-14-10, 01:06
L_DBA_L L_DBA_L is offline
Registered User
 
Join Date: Sep 2009
Posts: 49
Where is this information stored?
Reply With Quote
  #4 (permalink)  
Old 07-14-10, 05:19
przytula_guy przytula_guy is offline
Registered User
 
Join Date: Apr 2006
Location: Belgium
Posts: 1,159
with list tablespaces command or with views owned by sysibmadm...
see doc for complete list of views to get this info
in previous versions there used to be table functions for this also
__________________
Best Regards, Guy Przytula
Database Software Consultant
DB2 UDB LUW Certified V7-V8-V9-V9.7 DB Admin - Dprop..
Information Server Datastage Certified
http://www.infocura.be
Reply With Quote
  #5 (permalink)  
Old 07-14-10, 06:14
nvk@vhv nvk@vhv is offline
Registered User
 
Join Date: Jan 2010
Posts: 294
select * from SYSIBMADM.TBSP_UTILIZATION where TBSP_ID=0
Reply With Quote
  #6 (permalink)  
Old 07-14-10, 21:13
L_DBA_L L_DBA_L is offline
Registered User
 
Join Date: Sep 2009
Posts: 49
Where is this information coming from?
Reply With Quote
  #7 (permalink)  
Old 07-14-10, 21:58
db2girl db2girl is offline
∞∞∞∞∞∞
 
Join Date: Aug 2008
Location: Toronto, Canada
Posts: 1,816
Tablespace control files - SQLSPCS.1 / SQLSPCS.2. Take a look at:
IBM DB2 9.5 Information Center for Linux, UNIX, and Windows
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