Re: V$SEGMENT_STATISTICS

  • From: "Arup Nanda" <orarup@xxxxxxxxxxx>
  • To: <oracle-l@xxxxxxxxxxxxx>
  • Date: Wed, 10 Mar 2004 00:40:47 -0500

Juan,

I'm the author of that article. You don't have to use STATSPACK to get the
segment stats data. All you have to do is to set the STATISTICS_LEVEL
init.ora parameter to TYPICAL, or just don;t define it at all and the
v$segstat will be populated. If it's not populated, I would suspect the
parameter has been set to BASIC. You can reset it using ALTER SYSTEM.

You can check the settings by:
SELECT ACTIVATION_LEVEL, STATISTICS_NAME, SYSTEM_STATUS, SESSION_STATUS
FROM V$STATISTICS_LEVEL
ORDER BY ACTIVATION_LEVEL, STATISTICS_NAME;

Hope this helps.

Arup

----- Original Message ----- 
From: "Juan Cachito Reyes Pacheco" <jreyes@xxxxxxxxxxxxxxxx>
To: <oracle-l@xxxxxxxxxxxxx>
Sent: Tuesday, March 09, 2004 4:34 PM
Subject: V$SEGMENT_STATISTICS


> Hi, I read an article http://www.dbazine.com/nanda1.html
> And this some tests, some one can share his experience using it,
> some tricks?
>
> For example is there a way to fill them without using statpacks
> I tried
>   EXECUTE IMMEDIATE 'alter session set TIMED_STATISTICS=TRUE';
>   EXECUTE IMMEDIATE 'alter session set STATISTICS_LEVEL=ALL';
>   EXECUTE IMMEDIATE 'alter session set max_dump_file_size=UNLIMITED';
>   EXECUTE IMMEDIATE 'ALTER SESSION SET EVENTS ''10046 TRACE NAME CONTEXT
> FOREVER, LEVEL 12''';
> and didn't worked
>
> Thank you :)
>
>
> p.d. there is a free oracle database day dba.
> http://download-west.oracle.com/docs/cd/B12037_01/server.101/b10742.pdf
>
>
> ----------------------------------------------------------------
> Please see the official ORACLE-L FAQ: http://www.orafaq.com
> ----------------------------------------------------------------
> To unsubscribe send email to:  oracle-l-request@xxxxxxxxxxxxx
> put 'unsubscribe' in the subject line.
> --
> Archives are at //www.freelists.org/archives/oracle-l/
> FAQ is at //www.freelists.org/help/fom-serve/cache/1.html
> -----------------------------------------------------------------
>
----------------------------------------------------------------
Please see the official ORACLE-L FAQ: http://www.orafaq.com
----------------------------------------------------------------
To unsubscribe send email to:  oracle-l-request@xxxxxxxxxxxxx
put 'unsubscribe' in the subject line.
--
Archives are at //www.freelists.org/archives/oracle-l/
FAQ is at //www.freelists.org/help/fom-serve/cache/1.html
-----------------------------------------------------------------

Other related posts: