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: Performance & Tuning >> Use of composite Index

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: Use of composite Index
 nocturnal  Posted: Feb 24, 2003 04:13:00 PM

 Total Post: 11
 Joined: Jan, 2003






 Hi Gurus,

If I have a composite Index on few columns and use only one column for joining a table then that joined column will use Index or Not.

For example

composite index is on (a,b,c) in a table test and I use just test.a=test2.x Here test2 is another table.

If this index is not in used and another index on column a is created then that will be used by the query or not.
Please advise,
Thanks,
Puneet

 Vegeta
Posted: Feb 24, 2003 10:39:00 PM  

 Total Post: 3
 Joined: Jan, 2003






 
Hi Puneet,
If you are using the lead columns in the composite index then it will be used.

Like in Composite index(a,b,c), If you use a, a or b, or a,b,c the your are fine.

If you use b or c or bc you are not.


 klleung
Posted: Jul 30, 2003 07:19:00 PM  

 Total Post: 2
 Joined: Jan, 2003






 
What if you use a, b, c AND D? Will it still use the composite index on (a,b,c)??

 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