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: query performance

Re: query performance

From: Niall Litchfield <n-litchfield_at_audit-commission.gov.uk>
Date: Thu, 11 Oct 2001 15:08:02 +0100
Message-ID: <3bc5a7da$0$8511$ed9e5944@reading.news.pipex.net>


you also say that the *view* contains different numbers of rows in live and development. It might also be helpful to show the difference in size of the underlying tables between the two databases.

--
Niall Litchfield
Oracle DBA
Audit Commission UK
"Ron Reidy" <ron_at_indra.com> wrote in message
news:3BC505F9.FAF58626_at_indra.com...

> Ban Spam wrote:
> >
> > "Jim Poe" <jpoe_at_fulcrumit.com> wrote in
> > news:9q2imj$7bj_at_dispatch.concentric.net:
> >
> > > Hi,
> > >
> > > I did an explain plan for each database.
> > >
> > > Test Devl
> > > Cost 379431 7048
> > > Card 359135 4969
> > > Bytes 181363175 5371489
> > >
> > >
> > > Why would there be such a substantial difference between the two
> > > databases?
> > >
> > > --
> > > Jim Poe (jpoe_at_fulcrumit.com)
> > >
> > >
> >
> > Given the fact that you get a COST in both plans,
> > it appears that you are using the CBO. Therefore
> > try ANALYZE TABLE _____ COMPUTE STATISTICS;
> > against all the table involved on the TEST instance.
> > Then re-run the query.
> >
> > It might be helpful if you posted the WHOLE explain
> > plans from both & not just the summary.
> Also, dont' forget to analyze the indexes and the indexed columns.
> --
> Ron Reidy
> Oracle DBA
> Reidy Consulting, L.L.C.
Received on Thu Oct 11 2001 - 09:08:02 CDT

Original text of this message

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