Re: Optimizing Queries in OODBs (was: Dreaming About Redesigning SQL)
Date: 10 Oct 2003 22:51:11 -0700
Message-ID: <366a1430.0310102151.3ce41288_at_posting.google.com>
paul_geoffrey_brown_at_yahoo.com (Paul G. Brown) wrote in message news:<57da7b56.0310101405.37bcab79_at_posting.google.com>...
> "Mikito Harakiri" <mikharakiri_at_iahu.com> wrote in message news:<DIChb.34$qu2.112_at_news.oracle.com>...
>
> [ snip ]
>
> > I just went through simple stupidity test for Object Relational yesterday.
> > Yes, Object Relational folks are not totally dumb, their stuff doesn't have
> > *obvious* flaws. Therefore, yes it seems possible in principle to optimize
> > queries in Object Extensions to SQL, and maybe in even OQL as well.
> >
> > The problem is that they raise complexity so significatly that it is
> > extremely challenging for the optimizer to catch up. Note, that sql
> > optimization is struggling to solve all problems in "simple" area of "flat"
> > relations. Or, to put it in other words, how large is optimization team in
> > your little PyPerSyst?
>
> Which bit of object relational drew your ire?
>
> Extensible domains adds some complexity, but it also simplifies some
> stuff. Queries over UDTs/UDFs works pretty good in Postgres. Check out the
> Sequoia 2000 and Bucky benchmarks.
>
> References and table inheritance make a lot harder.
Yes, UDTs with inheritance simplifies queries. This white paper includes good examples: http://www.matisse.com/pdf/product_information/Whitepapers/SQLTechBrief.pdf
bob Received on Sat Oct 11 2003 - 07:51:11 CEST