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

Home -> Community -> Usenet -> c.d.o.server -> Re: 10053 Trace File anomolies

Re: 10053 Trace File anomolies

From: Jonathan Lewis <jonathan_at_jlcomp.demon.co.uk>
Date: Mon, 27 Jun 2005 12:26:07 +0000 (UTC)
Message-ID: <d9or8v$eir$1@nwrdmz01.dmz.ncs.ea.ibs-infra.bt.com>

<mccmx_at_hotmail.com> wrote in message
news:1119870544.899564.139430_at_g49g2000cwa.googlegroups.com...
> OK that makes sense, but the confusing part is that these 2 databases
> were exact clones of each other 2 days ago so they should be working
> off the same datasets.
>
> The strange part is that the first join order that the optimizer checks
> in each of the 10053 traces is totally different.
>
> Shouldn't they at least start with the same join order (as stated below
> - from Wolfgang Brietling's doc: A LOOK UNDER THE HOOD OF CBO: THE
> 10053 EVENT)
>
> "The initial join order is chosen by ordering the tables in order of
> increasing computed cardinality."
>
> Matt
>

The data sets, or their statistics, are presumably no longer exact clones of each other. As a first quick check, look for the SINGLE TABLE ACCESS PATH for each table, and check for lines like:

  TABLE: CHILD ORIG CDN: 10192 ROUNDED CDN: 83 CMPTD CDN: 83 Then, if necessary, do a cross check between the two sets of Table stats just after the heading: BASE STATISTICAL INFORMATION.

-- 
Regards

Jonathan Lewis

http://www.jlcomp.demon.co.uk/faq/ind_faq.html
The Co-operative Oracle Users' FAQ

http://www.jlcomp.demon.co.uk/appearances.html
Public Appearances - schedule updated June 22nd 2005
Received on Mon Jun 27 2005 - 07:26:07 CDT

Original text of this message

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