RE: Gathering statistics on EM tables

From: Upendra N <nupendra_at_hotmail.com>
Date: Thu, 14 May 2009 04:18:57 -0400
Message-ID: <BLU129-W314FD094F01C08E75AF474D85E0_at_phx.gbl>


It is set to TYPICAL.

NAME                                 TYPE        VALUE
------------------------------------ ----------- ------------------------------
statistics_level                     string      TYPICAL
timed_os_statistics                  integer     0
timed_statistics                     boolean     TRUE

Thanks

From: John.Hallas_at_morrisonsplc.co.uk
To: nupendra_at_hotmail.com; niall.litchfield_at_gmail.com; oracle-l_at_freelists.org Date: Thu, 14 May 2009 08:23:57 +0100
Subject: RE: Gathering statistics on EM tables

Check value of statistics_level. It needs to be TYPICAL or ALL to allow the auto gathering of statistics  

NAME                                
TYPE        VALUE

------------------------------------
----------- ------------------------------

optimizer_use_pending_statistics    
boolean     FALSE

statistics_level                    
string      TYPICAL

timed_os_statistics                 
integer     0

timed_statistics                    
boolean     TRUE

 









From:
oracle-l-bounce_at_freelists.org
[mailto:oracle-l-bounce_at_freelists.org] On Behalf Of Upendra N

Sent: 14 May 2009 02:58

To: niall.litchfield_at_gmail.com;
oracle-l_at_freelists.org

Subject: RE: Gathering statistics
on EM tables  

Hi Niall,

Thanks for your suggestion.

I did check, I don't see stats gathered.

  1 select trunc(last_analyzed) date_analyzed, count(*) from dba_tables where owner='SYSMAN'

  2* group by trunc(last_analyzed)

SQL> / DATE_ANALYZED COUNT(*)

  • ----------

15

08/05/2009 00:00:00 1

07/05/2009 00:00:00 2

09/05/2009 00:00:00 1

23/03/2007 00:00:00 762

I will also get the information on cardinality soon.

-Upendra

> Date: Wed, 13 May 2009 09:34:42 +0100

> Subject: Re: Gathering statistics on EM tables

> From: niall.litchfield_at_gmail.com

> To: nupendra_at_hotmail.com; oracle-l_at_freelists.org

>

> Well as the repository is a 10g database, you'll be gathering stats

> every night by default anyway. Do the execution plans show bad

> cardinality estimates?

>

> On 5/13/09, Upendra N <nupendra_at_hotmail.com> wrote:

> >

> > We have Oracle Grid control 10.2.0.2 on solaris 10. Some of the
custom

> > written reports are eating up quite a bit of CPU cycles (tables are
not

> > large). The issue seems to be incorrect query plan. Do we need to
anything

> > special on gathering schema/object statistics?

> > I am thinking of gathering statistics once a week for the entire
schema.

> > Any suggestions?

> >

> > Thanks

> > -Upendra

> >

> >

> > _________________________________________________________________

> > Windows Live™: Keep your life in sync.

> > http://windowslive.com/explore?ocid=TXT_TAGLM_BR_life_in_synch_052009

>

> --

> Sent from Google Mail for mobile | mobile.google.com

>

> Niall Litchfield

> Oracle DBA

> http://www.orawin.info

Hotmail® has ever-growing storage! Don’t worry about storage limits. Check it out.


Wm Morrison Supermarkets Plc is registered in England with number 358949. The registered office of the company is situated at Gain Lane, Bradford, West Yorkshire BD3 7DL. This email and any attachments are intended for the addressee(s) only and may be confidential.

If you are not the intended recipient, please inform the sender by replying to the email that you have received in error and then destroy the email.

If you are not the intended recipient, you must not use, disclose, copy or rely on the email or its attachments in any way.

Wm Morrison Supermarkets PLC accepts no liability or responsibility for anything said in the email or its attachments and gives no warranty as to accuracy. It is the policy of Wm Morrison Supermarkets PLC not to enter into any contractual or other obligations by email.

Although we have taken steps to ensure the email and its attachments are virus-free, we cannot guarantee this or accept any responsibility,

and it is the responsibility of recipients to carry out their own virus checks.




Insert movie times and more without leaving Hotmail®. http://windowslive.com/Tutorial/Hotmail/QuickAdd?ocid=TXT_TAGLM_WL_HM_Tutorial_QuickAdd1_052009
--
http://www.freelists.org/webpage/oracle-l
Received on Thu May 14 2009 - 03:18:57 CDT

Original text of this message