As Marcus has explained, the primary consideration when choosing a partioning key should be to avoid/minimize data shipping ...
There are no hard and fast rules for choosing the partitioning key ..
For example, if for two large tables , say 90%, of theie workload join on 3 columns , make these three columns as the partitioning key , irrespective of what the primary key column(s) is ....
From my point of view, OLTP or OLAP, the considerations remain the same ... Ask yourself which queries are critical,important and design your partitioning key based on this ..
HTH
Sathyaram
Quote:
Originally posted by koganti
Thank You Marcus.
Administration Guide really does not provide much details in terms of picking up a Partition key.
Iam also looking at the performance issues when picking up a partion key.
I was wondering what situations you might pick up primary key as partition key and in what situations you will pick up non primary key and what situations you will pick up multiple columns for a partion key and what are its advantages and disadvantages.
Does the partition key design be different in OLAP and OLTP environments
Thanks
Prasad
|