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

Home -> Community -> Usenet -> c.d.o.misc -> Re: O9i: general index question

Re: O9i: general index question

From: Andreas Mosmann <mosmann_at_expires-30-04-2007.news-group.org>
Date: Wed, 04 Apr 2007 14:28:22 +0200
Message-ID: <1175689702.23@user.newsoffice.de>


Hi ng,

I found a solution:

I should have analyzed my table for all indexed colums. In that case the cbo finds out that only 1% of the data is asked for and it uses many indexes.
My query now needs less than 1 sec.

@Thorsten: I do not know my mistake but second try with NULL- values solved the problem too. This time I still do not know, whether I step to NULL- values or keep on '0000000000'. I think next time I will keep '00..' and next version I turn to NULL to save storage.

Special thanks to sybrand and Thorsten. You helped me a lot.

Andreas Mosmann

-- 
wenn email, dann AndreasMosmann <bei> web <punkt> de
Received on Wed Apr 04 2007 - 07:28:22 CDT

Original text of this message

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