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

Home -> Community -> Usenet -> c.d.o.misc -> Re: Optimisation issues.

Re: Optimisation issues.

From: Daniel Morgan <damorgan_at_exxesolutions.com>
Date: Wed, 16 Jul 2003 20:38:48 -0700
Message-ID: <3F161A48.2E57C460@exxesolutions.com>


Craig Burtenshaw wrote:

> Hi,
> Okay, so I didn't realise what information was required.
> Here it goes:
>
> Sun Solaris 2.7 - Enterprise 450.
> Oracle 8.1.7
> Optimiser = CHOOSE
> Statistics were with Explain Plan in TOAD.
>
> Cheers
>
> "Daniel Morgan" <damorgan_at_exxesolutions.com> wrote in message
> news:3F16072F.A725B5C3_at_exxesolutions.com...
> <SNIP
> >
> > Lets see ... no hardware, no operating system, no version, no edition, no
> init
> > parmeters, no indication of RBO or CBO, no indication as to whether
> statistics
> > were created using DBMS_STATS, no EXPLAIN PLAN.
> >
> > So you want someone to guess?
> >
> > I guess it is the humidity. ;-)
> >
> > Seriously ... give us something to work with.
> > --
> > Daniel Morgan
> > http://www.outreach.washington.edu/extinfo/certprog/oad/oad_crs.asp
> > damorgan_at_x.washington.edu
> > (replace 'x' with a 'u' to reply)
> >
> >

Those statistics are worthless. You must run DBMS_STATS regularly as follows:

SQL> exec DBMS_STATS.GATHER_SCHEMA_STATS(ownname=>'schema_name', CASCADE=>TRUE); TOAD is incapable of performing this function. Then, if the problem persists run EXPLAIN PLAN and post the two plans.

--
Daniel Morgan
http://www.outreach.washington.edu/extinfo/certprog/oad/oad_crs.asp
damorgan_at_x.washington.edu
(replace 'x' with a 'u' to reply)
Received on Wed Jul 16 2003 - 22:38:48 CDT

Original text of this message

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