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

Home -> Community -> Mailing Lists -> Oracle-L -> Re: V$SEGMENT_STATISTICS

Re: V$SEGMENT_STATISTICS

From: Arup Nanda <orarup_at_hotmail.com>
Date: Wed, 10 Mar 2004 00:40:47 -0500
Message-ID: <BAY12-DAV45jJNbrl260000d8de@hotmail.com>


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

> 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_at_freelists.org
> put 'unsubscribe' in the subject line.
> --
> Archives are at http://www.freelists.org/archives/oracle-l/
> FAQ is at http://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_at_freelists.org put 'unsubscribe' in the subject line.
--
Archives are at http://www.freelists.org/archives/oracle-l/
FAQ is at http://www.freelists.org/help/fom-serve/cache/1.html
-----------------------------------------------------------------
Received on Tue Mar 09 2004 - 23:32:40 CST

Original text of this message

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