Re: question about query optimizer




"Jan M. Nelken" <Unknown.User@xxxxxxxxxxxxxx> wrote in message
news:b--dnZIDmfoaRNDeRVn-sQ@xxxxxxxxxxxxx
> Charles Lee wrote:
> > "Jim Kennedy" <kennedy-downwithspammersfamily@xxxxxxxxx> дÈëÏûÏ¢ÐÂÎÅ
> > :4vydnaeBW4dNKNDeRVn-gw@xxxxxxxxxxxxxx
> >
> >
> >>go to unknowndatabase.com and click on the white paper link.
> >>Hard to comment on that.
> >
> >
> >
> > Thanks Jim, but that link is broken somehow ...
> >
> >
>
> Pleeeasee - since you clearly specified database engine - Jim replied with
> matching URL ...
>
> Jan M. Nelken

<joke begin>
We know it isn't true of the Mauve database because it uses more RAM.
</joke end>

Since some people didn't get the joke let me say this. Different databases
have different optimizers. For someone to make a blanket statement would be
silly. Sure it is possible that some vendor's optimizer in some particular
cases might take longer to optimize than to run the other steps of the
query. (remember people can write crappy sql also, but even subtracting
those cases out, it could happen) I could have been a wisenhimer and say
yeah I head that was true of (insert name of some database her) database.
It would be a silly statement and would just start a flame war.

Think about the problem. If someone issues a query with 35 tables in the
query then the optimizer has to figure out what order to go after the data.
Where should it start? It has a huge number of permutations (35!) to
consider. If it doesn't have any statisstics about the data it might not
make a good choice.

I'm sure if you did a google search you could find vendor X saying vendor Y
has an optimizer that...
Jim


.



Relevant Pages

  • Re: Novice needs help - solution questions
    ... > Jim Y wrote: ... I don't know enough about DAO database programming to ... > don't think that it is a bug that you have, ... > I would strongly suggest that you start again, preferable using the DAO ...
    (microsoft.public.vb.database.dao)
  • Re: Access unter Citrix - Probleme beim Komprimieren
    ... Hat mir doch keine Ruhe gelassen, war ja auch nicht in MSDN oder KB, sondern in der TechNet drin: Microsoft Jet Database Engine Programmer's Guide, Chapter 4. ... The optimizer in the Jet database engine is a cost-based optimizer, which means the optimizer assigns a cost to each task and then chooses the least expensive list of tasks to perform that will generate the desired result set. ... The algorithms that the optimizer uses depend on the accuracy of the statistics provided by the underlying engine. ... Each time you prepare a request for information, either by sending an SQL statement as an argument to the OpenRecordset method of a Database object or by saving a QueryDef object in your database, Microsoft Jet runs through a complex series of analysis and optimization steps. ...
    (microsoft.public.de.access)
  • Re: Access unter Citrix - Probleme beim Komprimieren
    ... Microsoft Jet Database Engine Programmer's Guide, ... The optimizer is one of the most complex components of the query engine. ... uses statistics to determine the most efficient way to execute a query. ... Each time you prepare a request for information, ...
    (microsoft.public.de.access)
  • Re: Code for ADO.NET: The Complete Reference
    ... It involves SQL Server 2000 and ... connect to a Database in SQL will not run and get the error. ... Jim ... website BUT when I go to the Osborne website and enter this ...
    (microsoft.public.dotnet.framework.adonet)
  • Re: Novice needs help - solution questions
    ... Jim Y wrote: ... I don't know enough about DAO database programming to ... don't think that it is a bug that you have, ... "bug fix" of destroying a form does not cause more issues, ...
    (microsoft.public.vb.database.dao)

Loading