Oracle FAQ Your Portal to the Oracle Knowledge Grid
HOME | ASK QUESTION | ADD INFO | SEARCH | E-MAIL US
 

Home -> Community -> Usenet -> c.d.o.server -> Re: indexing issue, need alternate solution to improve the query performance

Re: indexing issue, need alternate solution to improve the query performance

From: Mladen Gogala <gogala_at_sbcglobal.net>
Date: Tue, 21 Mar 2006 03:08:19 GMT
Message-Id: <pan.2006.03.21.03.08.19.556374@sbcglobal.net>


On Mon, 20 Mar 2006 03:11:09 -0800, ramprakash wrote:

> i am having a table having around 1 million rows, and 15 columns.
> This is the logging table, mostly insertion only happens.
> the query we use from front end uses almost any one or two of the 10
> columns in the where condition.
> since it a log table and insertions are heavy, i cant create index for
> all the columns.
> Need some alternate solution.

Create index on the columns that are most frequently used in queries. You'll find out which ones are those by querying SYS.COL_USAGE$

-- 
http://www.mgogala.com
Received on Mon Mar 20 2006 - 21:08:19 CST

Original text of this message

HOME | ASK QUESTION | ADD INFO | SEARCH | E-MAIL US