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: SQLTrace

RE: SQLTrace

From: <Riyaj_Shamsudeen_at_i2.com>
Date: Mon, 23 Apr 2001 12:19:27 -0700
Message-ID: <F001.002EF81E.20010423122608@fatcity.com>

Hi Lisa

     This is an underscore parameter. Hence v$parameter will not show this parameter.. You got to look at x$ksppi and x$psppcv fixed tables to see this parameter..Here is the SQL used if you are interested:
------cut----

set linesize 80 pagesize 50 newpage 0

col param_dflt form a5 head 'Dflt?'
col param_name form a41 head 'Parameter'
col param_value form a31 head 'Value'

select decode (ksppstdf, 'FALSE', 'NO', ' ') param_dflt,
        ksppinm param_name,ksppdesc descp, ksppstvl param_value
from x$ksppi, x$ksppcv
where x$ksppi.indx = x$ksppcv.indx
order by ksppinm
-----cut----

Thanks
Riyaj "Re-yas" Shamsudeen
Certified Oracle DBA
i2 technologies www.i2.com
                                                                                       
                       
                    "Koivu, Lisa"                                                      
                       
                    <lkoivu_at_qode.        To:     Multiple recipients of list ORACLE-L 
<ORACLE-L_at_fatcity.com>  
                    com>                 cc:                                           
                       
                    Sent by:             Subject:     RE: SQLTrace                     
                       
                    root_at_fatcity.                                                      
                       
                    com                                                                
                       
                                                                                       
                       
                                                                                       
                       
                    04/23/01                                                           
                       
                    11:40 AM                                                           
                       
                    Please                                                             
                       
                    respond to                                                         
                       
                    ORACLE-L                                                           
                       
                                                                                       
                       
                                                                                       
                       




Hi Riyas,

I had used this in previous versions. I'm on 8.1.6 now. I looked before sending this response and I didn't see this in v$parameter. What version are you on?

-----Original Message-----

Sent: Monday, April 23, 2001 11:56 AM
To: Multiple recipients of list ORACLE-L

You can also set _trace_files_public=TRUE in the init. ora file.This will

create trace files with 644 file permissions.. Thanks
Riyaj "Re-yas" Shamsudeen
Certified Oracle DBA
i2 technologies www.i2.com
"My opinions. Use at your risk"

                    "Koivu, Lisa"

                    <lkoivu_at_qode.        To:     Multiple recipients of
list ORACLE-L <ORACLE-L_at_fatcity.com>
                    com>                 cc:

                    Sent by:             Subject:     RE: SQLTrace

                    root_at_fatcity.

                    com



                    04/23/01

                    09:10 AM

                    Please

                    respond to

                    ORACLE-L









Dave, you can also set a command in the cron to chmod the trace files frequently so everyone can access them.

Lisa Rutland Koivu
Oracle Database Administrator
Certified Self-Important Database Deity
Slayer of Unix Administrators
Wanton Kickboxing Goddess

lkoivu_at_qode.com

 NeoMedia

2201 Second St., Suite 600
Fort Myers, FL 33901, USA
Phone: 941-337-3434
Fax: 941-337-3668

www.neom.com <http://www.neom.com>
www.paperclick.com <http://www.paperclick.com>
www.qode.com <http://www.qode.com>


P a p e r C l i c k . c o m <http://www.paperclick.com/home.htm>

 Enter Your PaperClick Code Here!

-----Original Message-----

Sent: Monday, April 23, 2001 9:26 AM
To: Multiple recipients of list ORACLE-L

You can also set the user_dump_dest in init.ora to /tmp/oracle where all users have access.

>>> RROGERS_at_galottery.org 04/20/01 05:27PM >>> If I remember correctly the user can set autotrace on in the session and the output if sent to the terminal after the sql command is completed.

Give it a try.. You might have to set up permessions or privileges to get it to work for a user.
ROR mª¿ªm

>>> turner_at_tellme.com 04/20/01 03:54PM >>> I've got a developer that says they need the unix password for oracle so they can do a trace and run tkprof without having to jump through a bunch of hoops. Anyone set up trace so someone other than oracle can do this?

The permissions on the trace files only allow reading by the file owner, so

setting the user into the dba group won't help.

Thanks, Dave Turner

--

++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
And you thought James Bond's watch was cool... http://www.tellme.com Call 1-800-555-TELL for stocks, sports, news...& much more!
--

Please see the official ORACLE-L FAQ: http://www.orafaq.com
--

Author: David Turner
  INET: turner_at_tellme.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: Ron Rogers
  INET: RROGERS_at_galottery.org

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: Gene Sais
  INET: Gsais_at_co.palm-beach.fl.us

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:
  INET: Riyaj_Shamsudeen_at_i2.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:
  INET: Riyaj_Shamsudeen_at_i2.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). Received on Mon Apr 23 2001 - 14:19:27 CDT

Original text of this message

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