dbTalk Databases Forums  

determine how much space indexes are utilizing

comp.databases.ibm-db2 comp.databases.ibm-db2


Discuss determine how much space indexes are utilizing in the comp.databases.ibm-db2 forum.



Reply
 
Thread Tools Display Modes
  #1  
Old   
shorti
 
Posts: n/a

Default determine how much space indexes are utilizing - 01-24-2011 , 03:00 PM






Hello, I am running DB2 V9.7 ESE on AIX. The current database has the
indexes contained inside the tablespaces. For performance purposes we
are wanting to move the indexes to a separate disk space. Is there a
way to tell how much of the utilized space/pages in a table space is
taken up by our indexes?

Thanks in advanced.

Reply With Quote
  #2  
Old   
Ian
 
Posts: n/a

Default Re: determine how much space indexes are utilizing - 01-24-2011 , 05:57 PM






On Jan 24, 2:00*pm, shorti <lbrya... (AT) juno (DOT) com> wrote:
Quote:
Hello, I am running DB2 V9.7 ESE on AIX. *The current database has the
indexes contained inside the tablespaces. *For performance purposes we
are wanting to move the indexes to a separate disk space. *Is there a
way to tell how much of the utilized space/pages in a table space is
taken up by our indexes?
Yes, look at the INDEX_OBJECT_P_SIZE column in
SYSIBMADM.ADMINTABINFO. This view shows the allocation on a per
table basic, but you can pretty easily join with SYSCAT.TABLES to
get the amount per tablespace.


Good luck,


Ian

Reply With Quote
  #3  
Old   
shorti
 
Posts: n/a

Default Re: determine how much space indexes are utilizing - 01-27-2011 , 05:29 PM



On Jan 24, 4:57*pm, Ian <ianb... (AT) mobileaudio (DOT) com> wrote:
Quote:
On Jan 24, 2:00*pm, shorti <lbrya... (AT) juno (DOT) com> wrote:

Hello, I am running DB2 V9.7 ESE on AIX. *The current database has the
indexes contained inside the tablespaces. *For performance purposes we
are wanting to move the indexes to a separate disk space. *Is there a
way to tell how much of the utilized space/pages in a table space is
taken up by our indexes?

Yes, look at the INDEX_OBJECT_P_SIZE column in
SYSIBMADM.ADMINTABINFO. *This view shows the allocation on a per
table basic, but you can pretty easily join with SYSCAT.TABLES to
get the amount per tablespace.

Good luck,

Ian
Thanks Ian....this is exactly what I was looking for!

Reply With Quote
Reply




Thread Tools
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

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off



Powered by vBulletin Version 3.5.3
Copyright ©2000 - 2012, Jelsoft Enterprises Ltd.