MVSFORUMS.com Forum Index MVSFORUMS.com
A Community of and for MVS Professionals
 
 FAQFAQ   SearchSearch   Quick Manuals   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

DB2 Partition Tables

 
Post new topic   Reply to topic   printer-friendly view    MVSFORUMS.com Forum Index -> Database
View previous topic :: View next topic  
Author Message
LEO
Beginner


Joined: 26 Jan 2006
Posts: 11
Topics: 4
Location: Minneapollis

PostPosted: Wed Jul 19, 2006 4:53 pm    Post subject: DB2 Partition Tables Reply with quote

Hi,

I would like to know if there is way to find out the PART VALUES that were used while creating partition index ?

I have access to platinum ? I could see that there are 100 partitions in the table. But I could not see any column that say Partitioning value.
ex: Part 1 - 1 to 2000
part 2 - 2001 t0 4000 etc

I do not have access to DDLs that were used. Is there a way to find out this ?

Please advise

Thanks
Back to top
View user's profile Send private message
videlord
Beginner


Joined: 09 Dec 2004
Posts: 147
Topics: 19

PostPosted: Wed Jul 19, 2006 6:24 pm    Post subject: Reply with quote

If you have access DB2 catalog table, check the table SYSIBM.SYSINDEXPART
column LIMITKEY contain this information
Back to top
View user's profile Send private message
LEO
Beginner


Joined: 26 Jan 2006
Posts: 11
Topics: 4
Location: Minneapollis

PostPosted: Fri Jul 21, 2006 1:31 pm    Post subject: Reply with quote

Thanks alot
Back to top
View user's profile Send private message
coolman
Intermediate


Joined: 03 Jan 2003
Posts: 283
Topics: 27
Location: US

PostPosted: Wed Jul 26, 2006 3:31 pm    Post subject: Reply with quote

Videlord,

Who determines this LIMITKEY? or depending on the number of partitions, does DB2 determine itself and when you do a REORG, I suppose this LIMITKEY would change. Correct?
________
vaporizer wholesale


Last edited by coolman on Sat Feb 05, 2011 1:44 am; edited 1 time in total
Back to top
View user's profile Send private message
CZerfas
Intermediate


Joined: 31 Jan 2003
Posts: 211
Topics: 8

PostPosted: Thu Jul 27, 2006 2:05 am    Post subject: Reply with quote

The values in LIMITKEY stem from the CREATE INDEX DDL; that means, that the person creating the object is responsible for the partitioning design.

A REORG does not reballance the contents of the partition.

regards
Christian
Back to top
View user's profile Send private message
coolman
Intermediate


Joined: 03 Jan 2003
Posts: 283
Topics: 27
Location: US

PostPosted: Thu Jul 27, 2006 10:16 am    Post subject: Reply with quote

If that's the case, you create a partition on a tbsp and then lots of updates/inserts happens on this tbsp. Then there's a possibility that one partition might become really huge when compared to the other. So, in this case do you drop the index and create it ?
________
vaporizer shop
Back to top
View user's profile Send private message
Display posts from previous:   
Post new topic   Reply to topic   printer-friendly view    MVSFORUMS.com Forum Index -> Database All times are GMT - 5 Hours
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


MVSFORUMS
Powered by phpBB © 2001, 2005 phpBB Group