Oracle FAQ | Your Portal to the Oracle Knowledge Grid |
Home -> Community -> Mailing Lists -> Oracle-L -> Re: Set Autotrace on
Friend :
I did it :
as sys :
design:sys> create role plustrace;
Role created.
design:sys> grant select on v_$sesstat to plustrace;
Grant succeeded.
design:sys> grant select on v_$statname to plustrace;
Grant succeeded.
design:sys> grant select on v_$session to plustrace;
Grant succeeded.
design:sys> grant plustrace to dba with admin option;
Grant succeeded.
>>>Running the set command :
design:scott> set autotrace on explain statistics And received the message :
Cannot find the Session Identifier. Check PLUSTRACE role is enabled Error enabling STATISTICS report
Scott doesnīt have a DBA grant
If I do it for a user with DBA grant it works correctly.
What is happening ?
Eriovaldo do Carmo Andrietta
Widesoft Sistemas Ltda.
> give in full..
> set autotrace on explain statistics
>
> it will do .
> ----- Original Message -----
> To: Multiple recipients of list ORACLE-L <ORACLE-L_at_fatcity.com>
> Sent: Wednesday, February 14, 2001 9:00 PM
>
>
> Friends :
>
> I have created the table Plantable on the schema and tryed the command
> bellow .
> I received the error message but it works the plan of execution.
>
> What can I do for donīt receive this error message ?
>
> sql > set autotrace on
> Unable to verify PLAN_TABLE format or existence
> Error enabling EXPLAIN report
> Cannot find the Session Identifier. Check PLUSTRACE role is enabled
> Error enabling STATISTICS report
>
> Thanks
>
> Eriovaldo do Carmo Andrietta
> Widesoft Sistemas Ltda.
> Limeira/SP - Brasil
>
>
> --
> Please see the official ORACLE-L FAQ: http://www.orafaq.com
> --
> Author: Eriovaldo do Carmo Andrietta
> INET: eca_at_widesoft.com.br
>
> Fat City Network Services -- (858) 538-5051 FAX: (858) 538-5051
> San Diego, California -- Public Internet access / Mailing Lists
> --------------------------------------------------------------------
> To REMOVE yourself from this mailing list, send an E-Mail message
> to: ListGuru_at_fatcity.com (note EXACT spelling of 'ListGuru') and in
> the message BODY, include a line containing: UNSUB ORACLE-L
> (or the name of mailing list you want to be removed from). You may
> also send the HELP command for other information (like subscribing).
>
> --
> Please see the official ORACLE-L FAQ: http://www.orafaq.com
> --
> Author: Saurabh Sharma
> INET: saurabhs_at_fcsltd.com
>
> Fat City Network Services -- (858) 538-5051 FAX: (858) 538-5051
> San Diego, California -- Public Internet access / Mailing Lists
> --------------------------------------------------------------------
> To REMOVE yourself from this mailing list, send an E-Mail message
> to: ListGuru_at_fatcity.com (note EXACT spelling of 'ListGuru') and in
> the message BODY, include a line containing: UNSUB ORACLE-L
> (or the name of mailing list you want to be removed from). You may
> also send the HELP command for other information (like subscribing).
-- Please see the official ORACLE-L FAQ: http://www.orafaq.com -- Author: Eriovaldo do Carmo Andrietta INET: eca_at_widesoft.com.br Fat City Network Services -- (858) 538-5051 FAX: (858) 538-5051 San Diego, California -- Public Internet access / Mailing Lists -------------------------------------------------------------------- To REMOVE yourself from this mailing list, send an E-Mail message to: ListGuru_at_fatcity.com (note EXACT spelling of 'ListGuru') and in the message BODY, include a line containing: UNSUB ORACLE-L (or the name of mailing list you want to be removed from). You may also send the HELP command for other information (like subscribing).Received on Thu Feb 15 2001 - 08:33:08 CST