Skip to Main Content

Oracle Database Discussions

Announcement

For appeals, questions and feedback about Oracle Forums, please email oracle-forums-moderators_us@oracle.com. Technical questions should be asked in the appropriate category. Thank you!

Create Histogram or Index ?

549855Mar 16 2009 — edited Mar 16 2009
Hi ,
Version 10gR2.

If i have a table with 100,000 records.
One of the column have 99,990 rows with the same value, and only 10 rows with a different value.
From time to time i am running query againt one of those 10 records.
Should i create index on this column , or should i gather histogram on this column (or mybe both) ?

Thanks
Comments
Locked Post
New comments cannot be posted to this locked post.
Post Details
Locked on Apr 13 2009
Added on Mar 16 2009
2 comments
571 views