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 > Growth in index part is more than Growth in data part of table!!!! How come?

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1 (permalink)  
Old 03-17-06, 10:21
M_RAS M_RAS is offline
Registered User
 
Join Date: Sep 2003
Location: canada
Posts: 230
Growth in index part is more than Growth in data part of table!!!! How come?

Hi All.
I am working with db2 v8.2.2 and AIX 5.2

Recently after monitoring of production database I found out in period of time for some table growthing of index is a lot larger than growthing of data in that table.

Could you please let me know how is it possible?

Thank you in advance for your help.
Reply With Quote
  #2 (permalink)  
Old 03-17-06, 17:21
Peter.Vanroose Peter.Vanroose is offline
Registered User
 
Join Date: Sep 2004
Location: Belgium
Posts: 1,079
If you have an index on each column (or combined indices on all columns) your index storage will always be larger than your data storage, since the index stores the full column data, in addition to the index structure data and data pointers.
So even with indices on half of the columns I would expect there will be slightly more index storage than data storage.
__________________
--_Peter Vanroose,
__IBM Certified Database Administrator, DB2 9 for z/OS
__IBM Certified Application Developer
__ABIS Training and Consulting
__http://www.abis.be/
Reply With Quote
  #3 (permalink)  
Old 03-17-06, 19:42
M_RAS M_RAS is offline
Registered User
 
Join Date: Sep 2003
Location: canada
Posts: 230
Quote:
Originally Posted by Peter.Vanroose
If you have an index on each column (or combined indices on all columns) your index storage will always be larger than your data storage, since the index stores the full column data, in addition to the index structure data and data pointers.
So even with indices on half of the columns I would expect there will be slightly more index storage than data storage.
Thank you so much Peter.
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