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: Stephen Andert <StephenAndert_at_firsthealth.com>
Date: Tue, 09 Mar 2004 16:00:48 -0700
Message-ID: <s04dea49.051@SLCM02.firsthealth.com>


Hola,

Why are you doing these as EXECUTE IMMEDIATE? Try alter session set TIMED_STATISTICS=TRUE; which should work as long as your session has alter session privilege (if not, connect as sysdba and grant it :)

After you do the 10046 command, do some work (run a query or something) and then exit the SQL*Plus session and look for your tracefile. I like to use
alter session set TRACEFILE_IDENTIFIER='myname'; Which will make identification of the tracefile easier since it places myname (or whatever you put there) in the tracefile name.

Mucha Suerte
Esteban Andert  

>>> jreyes_at_dazasoftware.com 03/09/04 02:34PM >>>
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 - 16:58:34 CST

Original text of this message

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