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: Autotrace on

RE: Autotrace on

From: John Hallas <john.hallas_at_mail.com>
Date: Wed, 1 Nov 2000 10:25:41 -0000
Message-Id: <10667.120782@fatcity.com>


This is a multi-part message in MIME format.

------=_NextPart_000_0026_01C043EE.163ABEC0 Content-Type: text/plain;

        charset="iso-8859-1"
Content-Transfer-Encoding: 7bit

I have just discovered that at least on Oracle 8.0.5 (VMS) there is a bug whereby running autotrace as an OPS$ user causes the "Error enabling STATISTICS report" message. The explain plan still works. This is fixed in 8.1.6 . Bug 556180

HTH John Hallas
 -----Original Message-----
From: root_at_fatcity.com [mailto:root_at_fatcity.com]On Behalf Of Garrity Ed R Sent: 13 October 2000 01:36
To: Multiple recipients of list ORACLE-L Subject: RE: Autotrace on

  I'm not sure if you are on NT or UNIX. On Solaris, you will find a file called plustrce.sql in $ORACLE_HOME/sqlplus/admin. Look for it in the equivalent location on NT. Check in the top portion of the script to make sure, but I believe you run it as sys. It creates the PLUSTRACE role.

  After the script completes, grant the PLUSTRACE role to those who need to set autotrace on.

  Ed
    -----Original Message-----
    From: Ajay K [mailto:ajay_at_tems.com]
    Sent: Thursday, October 12, 2000 4:40 PM     To: Multiple recipients of list ORACLE-L     Subject: Autotrace on

    Hi DBAs ,
    While trying to set autorace on I am getting the message :

        SP2-0618: Cannot find the Session Identifier. Check PLUSTRACE role is enabled

        SP2-0611: Error enabling STATISTICS report

    but if i try to connect as system I am able to explain plan.     what should be the reason.

    thanks in advance
    ajay

------=_NextPart_000_0026_01C043EE.163ABEC0 Content-Type: text/html;

        charset="iso-8859-1"
Content-Transfer-Encoding: quoted-printable

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML><HEAD>
<META content=3D"text/html; charset=3Diso-8859-1" =
http-equiv=3DContent-Type>
<META content=3D"MSHTML 5.00.2614.3500" name=3DGENERATOR>
<STYLE></STYLE>
</HEAD>
<BODY bgColor=3D#ffffff>
<DIV><FONT color=3D#0000ff face=3DArial size=3D2><SPAN =
class=3D370381810-01112000>I have=20
just discovered that at least on Oracle 8.0.5 (VMS) there is a bug = whereby=20
running autotrace as an OPS$ user causes the </SPAN></FONT></DIV>
<DIV><FONT color=3D#0000ff face=3DArial size=3D2><SPAN =
class=3D370381810-01112000>"Error=20
enabling STATISTICS report" message. The explain plan still works. This = is fixed=20
in 8.1.6 . Bug 556180</SPAN></FONT></DIV>
<DIV><FONT color=3D#0000ff face=3DArial size=3D2><SPAN=20
class=3D370381810-01112000></SPAN></FONT>&nbsp;</DIV>
<DIV><FONT color=3D#0000ff face=3DArial size=3D2><SPAN =
class=3D370381810-01112000>HTH=20
</SPAN></FONT></DIV>
<DIV><FONT color=3D#0000ff face=3DArial size=3D2><SPAN=20
class=3D370381810-01112000></SPAN></FONT>&nbsp;</DIV>
<DIV><FONT color=3D#0000ff face=3DArial size=3D2><SPAN =
class=3D370381810-01112000>John=20
Hallas</DIV>
<DIV><FONT face=3DArial size=3D2></FONT>&nbsp;</SPAN></FONT><FONT =
face=3DTahoma=20
size=3D2>-----Original Message-----<BR><B>From:</B> root_at_fatcity.com=20 [mailto:root_at_fatcity.com]<B>On Behalf Of </B>Garrity Ed = R<BR><B>Sent:</B> 13=20
October 2000 01:36<BR><B>To:</B> Multiple recipients of list=20 ORACLE-L<BR><B>Subject:</B> RE: Autotrace on <BR><BR></DIV>
<BLOCKQUOTE style=3D"MARGIN-RIGHT: 0px"></FONT>
  <DIV><SPAN class=3D937541823-12102000><FONT color=3D#0000ff = face=3DArial size=3D2>I'm=20
  not sure if you are on NT or UNIX.&nbsp; On Solaris, you will find a = file=20
  called plustrce.sql in $ORACLE_HOME/sqlplus/admin.&nbsp; Look for it = in the=20
  equivalent location on NT.&nbsp; Check in the top portion of the = script to=20
  make sure, but I believe you run it as sys.&nbsp; It creates the = PLUSTRACE=20
  role.&nbsp; </FONT></SPAN></DIV>
  <DIV><SPAN class=3D937541823-12102000><FONT color=3D#0000ff = face=3DArial=20
  size=3D2></FONT></SPAN>&nbsp;</DIV>
  <DIV><SPAN class=3D937541823-12102000><FONT color=3D#0000ff = face=3DArial=20
  size=3D2>After the script completes, grant the PLUSTRACE role to those = who need=20
  to set autotrace on.</FONT></SPAN></DIV>   <DIV><SPAN class=3D937541823-12102000><FONT color=3D#0000ff = face=3DArial=20
  size=3D2></FONT></SPAN>&nbsp;</DIV>
  <DIV><SPAN class=3D937541823-12102000><FONT color=3D#0000ff = face=3DArial=20
  size=3D2>Ed</FONT></SPAN></DIV>
  <BLOCKQUOTE>
    <DIV class=3DOutlookMessageHeader><FONT face=3D"Times New Roman"=20     size=3D2>-----Original Message-----<BR><B>From:</B> Ajay K=20     [mailto:ajay_at_tems.com]<BR><B>Sent:</B> Thursday, October 12, 2000 = 4:40=20

    PM<BR><B>To:</B> Multiple recipients of list = ORACLE-L<BR><B>Subject:</B>=20

    Autotrace on <BR><BR></FONT></DIV>
    <DIV><FONT face=3DArial size=3D2>Hi DBAs ,</FONT></DIV>     <DIV><FONT face=3DArial size=3D2>While trying to set autorace on I = am getting=20

    the message :</FONT></DIV>
    <DIV><FONT face=3DArial size=3D2>&nbsp;&nbsp;&nbsp; SP2-0618: Cannot = find the=20

    Session Identifier.&nbsp; Check PLUSTRACE role is=20     enabled<BR>&nbsp;&nbsp;&nbsp; SP2-0611: Error enabling STATISTICS=20     report</FONT></DIV>
    <DIV><FONT face=3DArial size=3D2></FONT>&nbsp;</DIV>     <DIV><FONT face=3DArial size=3D2>but if i try to connect as system I = am able to=20

    explain plan. </FONT></DIV>
    <DIV><FONT face=3DArial size=3D2>what should be the = reason.</FONT></DIV>

    <DIV><FONT face=3DArial size=3D2></FONT>&nbsp;</DIV>
    <DIV><FONT face=3DArial size=3D2>thanks in advance </FONT></DIV>
    <DIV><FONT face=3DArial=20
Received on Wed Nov 01 2000 - 04:25:41 CST

Original text of this message

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