[Search for users] [Overall Top Noters] [List of all Conferences] [Download this site]

Conference orarep::nomahs::rdb_60

Title:Oracle Rdb - Still a strategic database for DEC on Alpha AXP!
Notice:RDB_60 is archived, please use RDB_70..
Moderator:NOVA::SMITHISON
Created:Fri Mar 18 1994
Last Modified:Fri May 30 1997
Last Successful Update:Fri Jun 06 1997
Number of topics:5118
Total number of notes:28246

4391.0. "Outline/query mismatch" by M5::GHODSON () Thu Aug 15 1996 16:31

T.RTitleUserPersonal
Name
DateLines
4391.1NOVA::SMITHIDon't understate or underestimate Rdb!Thu Aug 15 1996 16:386
4391.2log showing query outline + errorM5::GHODSONFri Aug 16 1996 12:12206
4391.3NOVA::SMITHIDon't understate or underestimate Rdb!Fri Aug 16 1996 12:236
4391.4Source locationM5::GHODSONFri Aug 16 1996 17:1533
4391.5Is the file spec correct?BOUVS::OAKEYI'll take Clueless for $500, AlexSun Aug 18 1996 20:1312
4391.6my mistake..M5::GHODSONWed Aug 21 1996 10:3612
4391.7Still a problem with Rdb 7.0M5::GHODSONWed Nov 27 1996 11:032
4391.8NOVA::SMITHIDon't understate or underestimate Rdb!Wed Nov 27 1996 11:095
4391.9fyi: problem found and fixedNOVA::SMITHIDon't understate or underestimate Rdb!Fri May 30 1997 00:1320
Prior versions of Rdb generated incorrect query outlines for
multistatement procedures (this includes stored procedures, stored
functions and anonomous compound statements) which contained nested
queries.  

The order of the queries in the query outline represents a flattened
tree structure that represents the complex execution profile of the
compound statement.  When extracting this tree structure Rdb was
generating an order related to the top down structure of the
procedure, however, the optimizer requires a bottom up representation
of the optimization phase.

This means that query outlines generated for any procedure with nested
statements can not be used by the query optimizer.  A work around is
to edit the generated query outline and move the query in the outline
to the correct position.

This problem is corrected in the next ECO to Rdb V6.1A and Rdb7. The
query outline now correctly represents the query optimizers query
tree.