Oracle FAQ Your Portal to the Oracle Knowledge Grid
HOME | ASK QUESTION | ADD INFO | SEARCH | E-MAIL US
 

Home -> Community -> Mailing Lists -> Oracle-L -> Re: 10gR2 Upgrade .. Watch out

Re: 10gR2 Upgrade .. Watch out

From: Daniel W. Fink <daniel.fink_at_optimaldba.com>
Date: Wed, 27 Dec 2006 16:14:09 -0700
Message-ID: <4592FE41.3050108@optimaldba.com>


Unless you specify ORDER BY, the order of the result set will depend on the operation AND the execution plan. If the CBO decides to use a different index, you might get a different order to the result set without changing anything else.

Oracle changes defaults (among many other things) from release to release, so you can NEVER depend on them for specific functionality. And you can't hold Oracle accountable when things change.

Regards,
Daniel Fink

GovindanK wrote:
> In 9iRel2 (irrespective of what the manual used to say) the order by was
> taking place.. if the manual says it does not guarantee, it should not
> then sort it every time and produce the result .. yes i agree that
> unless "order by" is mentioned it should not sort .. but the 9iRel2
> optimizer was doing it (so too 10.1.0) .. this was not happening with
> 10.2.0 ..
>
> Remember one thing .. if the manual says the same for 9.2 and 10.2 as
> you had mentioned . the default behaviour should not change across
> upgrades .. correct .. BUT that is not the case..
> Hope this clarifies..
>

--
http://www.freelists.org/webpage/oracle-l
Received on Wed Dec 27 2006 - 17:14:09 CST

Original text of this message

HOME | ASK QUESTION | ADD INFO | SEARCH | E-MAIL US