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 |
Send this thread to your friend |
|
|
|
|
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 Khokhar | 814 |
| Mohammed Taj | 694 |
| Jayanta Sur | 479 |
| Vigyan Kaushik | 386 |
| positive fanatic | 361 |
| Gitesh Trivedi | 322 |
| Gopu Gopi | 239 |
| neeraj sharma | 228 |
| Ramesh Jois | 226 |
| snehalatha p | 169 |
|
|