Oracle FAQ | Your Portal to the Oracle Knowledge Grid |
![]() |
![]() |
Home -> Community -> Mailing Lists -> Oracle-L -> Re: V$SEGMENT_STATISTICS
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 NAMECONTEXT
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
-- 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
![]() |
![]() |