MySQL Forums
Forum List  »  Partitioning

Re: specific partitioning by varchar column
Posted by: Phil Hildebrand
Date: March 19, 2008 08:40PM

I think you would need to modify the table in order to allow for an integer to partition on (say, providerid that maps uniquely to provider)

I believe that key partitioning only works on varchars because it uses mod(), which is an allowed partitioning function, but wouldn't guarantee all keys get hashed to different partitions:

If you added providerid you could use that in a range or list partition.

I'd be interested to know as well though if there is some other way (without adding the column)

Options: ReplyQuote

Written By
Re: specific partitioning by varchar column
March 19, 2008 08:40PM

Sorry, you can't reply to this topic. It has been closed.

Content reproduced on this site is the property of the respective copyright holders. It is not reviewed in advance by Oracle and does not necessarily represent the opinion of Oracle or any other party.