• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Re: Poor Oracle performance? getting rid of bind variables
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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

  • Follow-Ups:
    • Re: Poor Oracle performance? getting rid of bind variables
      • From: Ken Anderson <email@hidden>
References: 
 >Re: Poor Oracle performance? getting rid of bind variables (From: Ken Anderson <email@hidden>)
 >Re: Poor Oracle performance? getting rid of bind variables (From: Wiktor Moskwa <email@hidden>)
 >Re: Poor Oracle performance? getting rid of bind variables (From: Ken Anderson <email@hidden>)
 >Re: Poor Oracle performance? getting rid of bind variables (From: Wiktor Moskwa <email@hidden>)
 >Re: Poor Oracle performance? getting rid of bind variables (From: Guido Neitzer <email@hidden>)

  • Prev by Date: Re: Poor Oracle performance? getting rid of bind variables
  • Next by Date: Re: Poor Oracle performance? getting rid of bind variables
  • Previous by thread: Re: Poor Oracle performance? getting rid of bind variables
  • Next by thread: Re: Poor Oracle performance? getting rid of bind variables
  • Index(es):
    • Date
    • Thread