| Oracle FAQ | Your Portal to the Oracle Knowledge Grid | |
Home -> Community -> Usenet -> c.d.o.server -> Re: Table Design - Index Method
dyou98_at_aol.com (D.Y.) wrote in message news:<f369a0eb.0301241501.c37fe2d_at_posting.google.com>...
> Create an index on every column which can be used alone in the where clause.
> If a combination of these columns is used in the search criteria then let
> Oracle choose an index. If the partitioning feature is available, you can
> partition your table on the least selective columns (up to two columns if
> you use composite partitioning) such as zipcode. That may still give you
> acceptable performance but you don't need indexes on these columns. The
> fewer indexes you have, the faster your DML will be.
>
> If this is an OLTP database you may want to reconsider using the less
> selective columns to do your search. A common mistake people make is allow
> searches on city, county, zipcode, etc. only to find out that they are not
> going to get fast response time. Nor are the search results very useful.
> But for reporting purposes it's perfectly fine.
>
>
Oliver and D.Y, thanks a lot !
-S Madhusudhanan
Received on Fri Jan 24 2003 - 22:32:01 CST
![]() |
![]() |