dbTalk Databases Forums  

Reasonable number of table partitions?

comp.databases.sybase comp.databases.sybase


Discuss Reasonable number of table partitions? in the comp.databases.sybase forum.



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

Default Reasonable number of table partitions? - 07-06-2009 , 03:39 AM






I'm currently doing the prep for a move from ASE 12.5.4 to 15.0.3 and
am looking at table partitioning (in particular range-based
partitions) and thinking they could be awfully useful to us.

Is there some maximum number of partitions it is reasonable to use? I
have data going back up to ten years and am trying to figure out if I
should partition it based on year, month, or quarter. Typically once
data goes in it's never changed, so should I even look at just having
one big partition for everything that could be considered "archival"
and then do a new partition each month or quarter?

I've looked in the performance and tuning manuals plus the references
and there doesn't appear to be much discussion of how to best make use
of table partitions.

Thanks,

Matt

Reply With Quote
  #2  
Old   
Rob V [Sybase]
 
Posts: n/a

Default Re: Reasonable number of table partitions? - 07-06-2009 , 04:10 AM






For range partitions, you can safely have a few hundred partitions in your
table (as opposed to list partitions where this is not recommended and you'd
typically have not more than,say, 10).

HTH,

Rob V.
-----------------------------------------------------------------
Rob Verschoor

Certified Sybase Professional DBA for ASE 15.0/12.5/12.0/11.5/11.0
and Replication Server 15.0.1/12.5 // TeamSybase

Author of Sybase books (order online at www.sypron.nl/shop):
"Tips, Tricks & Recipes for Sybase ASE" (ASE 15 edition)
"The Complete Sybase ASE Quick Reference Guide"
"The Complete Sybase Replication Server Quick Reference Guide"

mailto:rob (AT) sypron (DOT) nl
http://www.sypron.nl
Sypron B.V., Amersfoort, The Netherlands
Chamber of Commerce 27138666
-----------------------------------------------------------------

"Matt McLeod" <mattmcle (AT) gmail (DOT) com> wrote

Quote:
I'm currently doing the prep for a move from ASE 12.5.4 to 15.0.3 and
am looking at table partitioning (in particular range-based
partitions) and thinking they could be awfully useful to us.

Is there some maximum number of partitions it is reasonable to use? I
have data going back up to ten years and am trying to figure out if I
should partition it based on year, month, or quarter. Typically once
data goes in it's never changed, so should I even look at just having
one big partition for everything that could be considered "archival"
and then do a new partition each month or quarter?

I've looked in the performance and tuning manuals plus the references
and there doesn't appear to be much discussion of how to best make use
of table partitions.

Thanks,

Matt

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.