Job Seekers   Employers
dbapool: Authors | Submissions | Contact Us
   Forgot password? | Sign up
  Home   Discussion Forum   Articles   Interview Questions   FAQs   Scripts   Rewards   Analyzer   White Papers   Blog   Certification   Downloads   Tools
 

Topic: Database Administration >> Range Partitioning

Disclaimer: The purpose of all dbapool forums including OCP and Other Oracle Certification forums is to help each other with specific issues but not to share dump and copyrighted exam content, materials or intellectual property. You may review the entire Oracle Certification Program Candidate Agreement online Here.



  


 Title: Range Partitioning
 murali  Posted: Apr 05, 2008 01:42:51 PM

 Total Post: 2
 Joined: Apr, 2008






 Hi,

I am doing a range partitioaning having more than 1 column as partitioning key, where 1 of the column is a DATE column and the other is a primary key column.

1. Which column takes precedence in terms of partiotionaing.
2. if a row belongs to 2 partition based on the 2 partition keys, then where will be the row posted.
Ex. I have a row whose effective date is 30-Dec-2007, Transation_id is 1000. To which partition this row will go?

3. Will this range partition gives performance improvemnet?

Oracle 9i,10g.


 Murtuja
Posted: Apr 07, 2008 12:19:44 AM  

 Total Post: 814
 Joined: Jan, 2006






 
You need only range partiotion with date column. In your situation Partition on primary key doesn't make any sense.Then also you can consider Composite Range-Hash Partitioning.

PARTITION BY RANGE (Effective_Date)
SUBPARTITION BY HASH(Transaction_id)


 murali
Posted: Apr 07, 2008 09:44:26 PM  

 Total Post: 2
 Joined: Apr, 2008






 
Thanks Murtuja.

Most of my queries depend on primary Key column value. Hence, I would like to make use of it also.
A composite Range-Hash Partitioning will not work out in this case.

 Time Zone: EDT

  




Forum Rules & Description


Who Can Read The Forum? Any registered user or guest
Who Can Post New Topics? Any registered user
Who Can Post Replies? Any registered user




 








Get FREE Magazines

Top 10 Forum User

  Murtuja Khokhar814
  Mohammed Taj694
  Jayanta Sur479
  Vigyan Kaushik386
  positive fanatic361
  Gitesh Trivedi322
  Gopu Gopi239
  neeraj sharma228
  Ramesh Jois226
  snehalatha p169






oracle Mag



  About Us Advertise Terms of Use Privacy Newsletters Contact Us    

Home   Discussion Forum   FAQs  Articles  Jobs   Newsletters  Directory  Downloads 

Our Premium Sponsor
Confio Software