Re: Optimizers

From: Graeme Sargent <graeme_at_pyra.co.uk>
Date: Mon, 16 Aug 1993 15:51:58 GMT
Message-ID: <1993Aug16.155158.12944_at_pyra.co.uk>


In <1993Aug16.233027.1_at_otago.ac.nz> is40511_at_otago.ac.nz writes:

>Hi,
> I just wanna' get something straight.
 

>There are 2 types of query optimizers, rule-based and cost-based.
>Rule-based optimizers have certain rules that they use to optimize the 'where'
>clauses.
>Cost-based uses statistics about tables (cardinality etc.) to optimize.
 

>Oracle V6. has a rule-based, but no cost-based optimizer.
>Oracle V7 has both, but there has been complaints of that the cost-based one is
>slow.

All of the above are true. But bear in mind that those users who run queries where the cost-based optimiser is faster have no reason to make a big noise about it.

>I'd be grateful if anyone could tell me whether, I'm right, wrong, in the
>ballpark ...

>Thanks,
> Rowan.

graeme

--
Disclaimer:	The author's opinions are his own, and not necessarily
		those of Pyramid Technology Ltd. or Pyramid Technology Inc.
---------------------------------------------------------------------------
      -m------- Graeme Sargent                 Voice: +44 (0)252 373035
    ---mmm----- Senior Database Consultant     Fax  : +44 (0)252 373135
  -----mmmmm--- Pyramid Technology Ltd.        Telex: Tell who???
-------mmmmmmm- Farnborough, Hants  GU14 7PL   Email: graeme_at_pyra.co.uk
---------------------------------------------------------------------------
    We have the technology.  The tricky bit is learning how to use it.
Received on Mon Aug 16 1993 - 17:51:58 CEST

Original text of this message