Re: Poor Oracle performance? getting rid of bind variables
Re: Poor Oracle performance? getting rid of bind variables
- Subject: Re: Poor Oracle performance? getting rid of bind variables
- From: Wiktor Moskwa <email@hidden>
- Date: Tue, 21 Aug 2007 21:45:53 +0200
- Organization: PowerMedia
Guido Neitzer wrote:
> That makes no sense if it works with non-bound variables. You need the
> statistics for both ...
>
No you don't statistics for executing a query.
In absence of them the Rule Based Optimizer was used in releases
prior to 10g. I'm not sure about 10g's behaviour.
In this case statistics are probably incomplete: not available for
all necessary columns or not for all indexes. Or some indexes are missing.
On the other hand low cardinality column "Is_option_contract" can
confuse the optimizer.
Of course without knowledge about that particular table we can only
guess.
--
Wiktor Moskwa
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Webobjects-dev mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden