To Tune or To use Hints (merged) [message #413462] |
Wed, 15 July 2009 20:21 |
ap_karthi
Messages: 87 Registered: October 2007 Location: Bangalore
|
Member |
|
|
Hello,
1. A Table contains 40 columns and 20 million rows(records).
Only one column have '*' (asterisk) as data in all the 20 million rows for some reason.
2. When I ran Oracle Tuning Advisor in Toad, it says create an index for this column which contains '*'.
3. My question is what type of index should be created?
4. Whether /*+HINTS*/ will be helpful?
Pls suggest. Thanks
-Karthik
|
|
|
|
|
Re: To Tune or To use Hints [message #413470 is a reply to message #413467] |
Wed, 15 July 2009 22:36 |
rleishman
Messages: 3728 Registered: October 2005 Location: Melbourne, Australia
|
Senior Member |
|
|
An index will only speed up identifiction of a REDUCED row set. If every row has the same value, then any WHERE clause you apply on the column will not reduce the results. An index is likely to be useless.
Ross Leishman
|
|
|
|