How to set trace on in Oracle 8.1.7

Hi ,
is it possible to set the trace on in Oracle 8.1.7 from PL/SQL Developer
i tried set autotrace traceolny timing on , --> invalid options
set autotrace on --> invalid option
alter session set sql_trace on --> ok
how do i actually get the statistics on the no of physical reads , disk reads etc ?
pls advise
tks & rdgs

AUTOTRACE is a SQL*Plus facility, and therefore not available in PL/SQL Developer.
The PL/SQL Developer SQL Window does have a "Statistics" tab which contains some of the information you are after (to see this tab, I think you have to enable "Automatic statistics" in your Preferences (Tools->Preferences->Oracle->Options); you'll also need select privileges on the appropriate v$ views).
If you "alter session set sql_trace on", this creates a trace file on the server which can be analyzed using the tkprof utility.

Similar Messages

  • How to disable trace files in oracle version 11g

    Senario : trace file are growing
    How to disable trace files in oracle version 11g
    pls guide with best practice

    SHANOJ wrote:
    Senario : trace file are growing
    How to disable trace files in oracle version 11g
    pls guide with best practiceIn 11g, there is an extensive tracing that happens for the reasons best known to Oracle only. But if you want to disable it, Coskan had published a small post mentioning an undocumented parameter(which means you must think twice before using it) to disable it- disablehealth_check* . You may want to read the complete post here,
    http://coskan.wordpress.com/2009/06/03/too-many-trace_file-on-11g/
    Aman....

  • How to generate trace file in oracle application forms

    hi
    I want to generate trace fle in oracle application
    Regards
    9841672839

    Hi,
    Refer to the following documents.
    Note: 296559.1 - FAQ: Common Tracing Techniques within the Oracle Applications 11i/R12
    https://metalink.oracle.com/metalink/plsql/ml2_documents.showDocument?p_database_id=NOT&p_id=296559.1
    Note: 130182.1 - HOW TO TRACE FROM FORM, REPORT, PROGRAM AND OTHERS IN ORACLE APPLICATIONS
    https://metalink.oracle.com/metalink/plsql/ml2_documents.showDocument?p_database_id=NOT&p_id=130182.1
    Regards,
    Hussein

  • How to set lock level in Oracle

    Does oracle have the similar way to set the lock level as SQL Server, say I have a statement in SQL server like:
    update tablename with (rowlock) set....
    How to convert it to an oracle statement

    Update statement automatically places a row level lock, so no extra statements (and/or steps) may be necessary.
    You could optionally do a SELECT ... FOR UPDATE ...
    to explicitly lock the rows you are about to update.

  • How to set the language of oracle universal installer

    Hi all,
    I have downloaded oracle9i database release 2 Enterprise/standard/personal edition for windows. so I got the them into 3 different folders as said in the oracle site. I have few questions.
    1.i have installed oracle using the universal installer, but my operating system is winxp german version.I want the installer to be in english so that i can easily navigate, how can i set the language. Does the installer automatically detects the OS and chosses the language.
    2. I have 2 sql scripts. One with Schema(tables for database with create statements) and other file with data(insert statements).That is Schema.sql, data.sql. How can i use these scripts for querying using the installed database.
    3. I am totally confused with SID, how to set it and what does it indicate(functionality).
    4. The login for SQL PlUS, i used scott and tiger. Because i think the installer did not installled completely, i could not create my own username/password. What will be the host-string while logging to sqlplus.
    Thanks and Regards
    Babu.

    1.i have installed oracle using the universal installer, but my operating system is winxp german version.I want the installer to be in english so that i can easily navigate, how can i set the language. Does the installer automatically detects the OS and chosses the language.From the control panel, regional setting, make default for English (United States) and English as default language. While installing oracle from OU, choose only english langauge.
    2. I have 2 sql scripts. One with Schema(tables for database with create statements) and other file with data(insert statements).That is Schema.sql, data.sql. How can i use these scripts for querying using the installed database.Once you have installed oracle and create database, make sure the following and then run your scripts.
    1. Check oracle services are started or not from the windows services. If yes, then do step 2, else, start services first and then do step 2.
    2. set oracle_sid=your_database_name
    3. sqlplus /nolog -- when you give this command, if you get reply that connected to idel instance, then, your database is not up, in this case, startup your database after step 4. (startup)
    4. connect / as sysdba
    5. run your script to create schema.
    --once schem created. connec to your newly created schema.
    6. connect username/password --
    7. run the script (insert records)
    3. I am totally confused with SID, how to set it and what does it indicate(functionality).ORACLE_SID is nothing bur your oracle database name. You will be asked to provide the database name while installing and creating oracle database.
    4. The login for SQL PlUS, i used scott and tiger. Because i think the installer did not installled completely, i could not create my own username/password. What will be the host-string while logging to sqlplus.As long as you want to do it on the database server, then, you dont need tnsname. If you want to access database from other machines, then, you need to create a tnsname to connect.
    Jaffar
    OCP DBA

  • How to set Spanish, ESN CP1252, , oracle Character Sets WE8MSWIN1252

    select * from NLS_DATABASE_PARAMETERS
    database characterset is
    NLS_CHARACTERSET               AL32UTF8
    NLS_NCHAR_CHARACTERSET         AL16UTF16 
    NLS_LANGUAGE                   AMERICAN
    NLS_TERRITORY                  AMERICAselect * from NLS_INSTANCE_PARAMETERS ;
    PARAMETER                         VALUE
    NLS_LANGUAGE                      SPANISH
    NLS_TERRITORY                     SPAINhow to set Spanish, ESN CP1252, , oracle Character Sets WE8MSWIN1252
    Please suggest.
    Thanks In advance

    Is it really ok to convert AL32UTF8 to WE8MSWIN1252?
    NLS_CHARACTERSET AL32UTF8
    to
    NLS_CHARACTERSET WE8MSWIN1252
    please suggest

  • JCO3 How to set trace path or catch trace message

    In old Jco can setTracePath
    http://help.sap.com/javadocs/NW04/current/jc/com/sap/mw/jco/JCO.html#setTracePath(java.lang.String)
    but in JCO 3 how can do that ?
    I found http://help.sap.com/saphelp_nw70ehp1/helpdata/en/f6/daea401675752ae10000000a155106/content.htm
    JCO trace
    name
    JCO*.trc
    location
    directory j2ee/cluster/server* or defined path
    how to switch on and off
    set JVM options for the server via the Config Tool and restart server: -Djco.trace_level=[0-10],-Djco.trace_path=[defined_path]
    any other methods?

    Hey Jacky,
    Please browse the API of class com.sap.conn.jco.JCo. There is a method call setTrace.
    public static void setTrace(int level,  java.lang.String path)
    Turns on the JCo trace. Allowed levels are [0 .. 10]. The common used are:
    0 - nothing
    1 - errors and warnings
    2 - execution path, errors and warnings
    3 - full execution path, errors and warnings
    4 - execution path, info messages, errors and warnings
    6 - full execution path, info messages, errors and warnings
    7 - debug messages, full execution path, info messages, errors and warnings
    8 - verbose debug messages, full execution path, info messages, errors and warnings
    As path value null, stdout, stderr or an existing path are allowed. If path is equals null or stdout or stderr JCo will trace out to the standard output (error) stream. If at least one JCoTraceListener is registered, the trace output will be sent to the listener only. To redirect the JCo trace into a file, the path value has to be set to an existing directory.
    Parameters:
    level - [0 .. 10]
    path - null, stdout, stderr or an existing path

  • How to set the environment for Oracle XE-database.

    Hi,
    I have a:- lsnrctl command not found,
    And when I echo oracle host & path I got:-
    [oracle@ddcdevws02 etc]$ echo $ORACLE_HOST
    [oracle@ddcdevws02 etc]$ echo $PATH
    /usr/kerberos/bin:/usr/local/bin:/bin:/usr/bin:/u02/oracle/bin
    Now I know that my environment is not set, but could anyone please assist me how I can set the environmernt ??? I mean commands or detailed instruction step as to what needs to be set where & how, I mean the SID, port, Path ???, I am new to Linux as well as database .
    When I see the listener process using this:- ps -ef | grep tnslsnr, this is the output:-
    [oracle@ddcdevws02 ~]$ ps -ef | grep tnslsnr
    oracle 14727 1 0 14:25 ? 00:00:00 /usr/lib/oracle/xe/app/oracle/product/10.2.0/server/bin/tnslsnr LISTENER -inherit
    oracle 22618 21569 0 15:59 pts/2 00:00:00 grep tnslsnr
    So does this mean that my Oracle home is "/usr/lib/oracle/xe/app/oracle/product/10.2.0/" ???
    Also In the host file under /etc/ directory I have these settings
    127.0.0.1 localhost.localdomain localhost
    10.201.60.21 ddcdevws02.hddev.healthdialog.com ddcdevws02
    I don't know if this is correct or not ? But I doubt I could make any change in the host file, please suggest me.
    Thanks
    Sam

    user8692703 wrote:
    I am sorry Ed I reliazed that that was Phirir's suggestion to me, & Yes this is XE-Oracle database .... so the sid name would be "XE" ...?? I am sorry for my stupid questions as I am very new to ths .
    I've never worked with XE, but from everything I've seen, that would also be your SID. check the contents of /etc/oratab
    And then what other details required after I run this command ". oraenv", can I run this from any directory or some specific location ?
    Just like any command, you can run it from anywhere as long as the directory is in your PATH.
    But actually, you should be setting this in your profile, so that you just inherit it when you log on to the server. Depending on your OS, that would be either $HOME/.profile or $HOME/.bash_profile. Here are the commands you should have in that file:
    export ORACLE_HOME=pathtoyouroraclehomedirectory
    export ORACLE_SID=nameofyouroraclesid
    export PATH=$ORACLE_HOME/bin:$PATH>
    well I have this infor. with me
    HTTP port ---> 8080
    Port fopr Database ----> 1521
    Anythin else required ?

  • -Inquiry on how to set login credentials for Oracle management server?

    Dear All
    I am on my Oracle Enterprise Manager console. Can you please let me know how can I set its login credentials so other users can login to it via network?
    Thank you

    Thank you very much. I found my super administrator credentials set as 'SYSMAN/oem_temp' and it got through.

  • How to set org in a Oracle custom form

    Hi,
    We are migrating a custom form from 11i to R12. But the form and LOVs in the fields dont return any values in R12. The custom views attached to these LOVs, return values in toad when the org is set. We think that the issue is that the org is not initialized in the form.
    Can anyone help on how to resolve this?
    Would it help if we used "MO_GLOBAL.SET_POLICY_CONTEXT('S',fnd_global.ORG_ID);" in the when new form instance trigger in the form.
    Thanks

    YOu should ask your question in an ebusiness-suite related forum.

  • How to set file permission using Oracle FTP Adapter

    Hi,
    I am using Oracle SOA Suite 11.1.1.4. I am trying to put a file using Oracle FTP adapter on unix box. The file that gets written to target system has file permission as RW/R/R. But this is a legacy system, and for them to consume this file - they expect the file permission to be RW/RW/R.
    They have set the .profile with the required permissions for the ftp user account that we are using. But still when my BPEL process writes a file to unix box through ftp adapter, the file permission is RW/R/R.
    Is there any way to control file permissions while writing files using ftp adapter? Any help would be highly appreciated.

    907597 wrote:
    But these setting needs to be done on unix server. Yes, that's the way to go... There's no config for that on FtpAdapter as far as I know...
    This setting will enable the same configurations for all other ftp accounts on the server, which doesnt sound correct. Any other way of doing this? Or can this be done only for one ftp account?You have to check if your ftp server is capable of having different umask for different ftp users... I believe most do not...
    http://h30499.www3.hp.com/t5/System-Administration/Setting-FTP-umask-per-user/td-p/2590101#.UMZ0TeEe7ng
    Cheers,
    Vlad

  • How to set mandatory category with Oracle Drive?

    Hi,
    is there a way to fill a mandatory category when a file is stored via Oracle Drive?
    I have tested this in OCS 10.1.2.0 and it works only with the web frontend but not in Oracle Drive. If i save a file in a directory which has categories assigned then i get an error that metadata are required but i got no chance to set them anywhere.

    Hi,
    we have the same problem in our system. We become an answer from Oracle that in the next ODrivepatch (end of Q2) this will be fixed. At the moment you can only use a none mandatory category to copy files over ODrive in the system and then change to the WebUI and fill out the category that you need.
    zenman
    systemmitwasauchimmer

  • How to set block attributes in oracle forms 6i

    Dear gents,
    I have two blocks on one canvas, How can I set different attributes (say different colors) for each record separately given a certain condition in a multi record block.?
    Looking forward hearing from you.
    Many thanks,
    Steve

    Hi,
    You can use SET_ITEM_INSTANCE property.
    Regards,
    Chris.

  • How to set autocommit false in Oracle Weblogic console?

    Hi All,
    While invoking the oracle Ebiz custom package from Oracle SOA 11g BPEL we are getting below error:-
    java.sql.SQLSyntaxErrorException: ORA-02089: COMMIT is not allowed in a subordinate session.
    Wondering if there is some properties through which we can set the autocommit false on the Oracle Weblogic Console.
    Highly appreciate any pointers for the same.
    Thanks in advance.

    Yes I did set global transaction (XA) up in the db adapter. True, there are couple of commits in the API and from outside BPEL that works fine, the error i am getting when trying to access the API through BPEL. I am calling this only API from the BPEL.
    Do you think there needs to setup explicit "autoCommit=false" somewhere in the weblogic console?

  • How to set up calendar in Oracle Forms

    Hi All,
    I have a requirement where I have to create calendar based upon user inputs:
    for e.g the calendar should of 12 periods each period having 4 weeks in the year 2007.
    How to approach the requirement...???
    Can I use the approach on the calendar object in forms or I have to create a Package for that.
    Regards
    Saugata

    iCloud will not sync calendars from an external account such as Google.  If you have a Google calendar and want to sync it with your iPad, add your Gmail account to your iPad by going to Settings>Mail,Contacts,Calendars>Add Account>Google and turn Calendars on.  Your Google calendar will then appear in the Calendar app on your iPad and you can leave your other devices the way they are now and they will all sync using Google.

Maybe you are looking for

  • Wrong logical system for partner profile

    Dear gurus, we have been sending ORDERS Idocs for some time now, using to a logical system called MSC_MM_PRD, a RFC connection called MSC_MM_PRD and a port for Idoc processing called A000000003. Now, we would like to send ORDERS Idocs to another logi

  • Missing default filter presets in Library View [Lightroom 3.6]

    Hi there, It's my first topic on this forum. Yesterday I have installed Windows 8. At beggining everything was fine with lightroom. I have left computer turned on whole night to let lightroom generate previews to my whole collection. In the morning I

  • Transfer of Vendor Balance from one profit center to other

    Hi All I need some help regarding Transfer of Vendor Balance from one profit Center to other profit cneter. I am in ECC 6.0 and activated document splitting. Regards Venkat

  • I can't open files in the Downloads menu

    Every time I download a file (either open or save), it never opens automatically, and I can't open it by clicking the entry in the Downloads menu/panel. I am able to "Open Containing Folder" and use the file normally from there, or go to the Library

  • Creating storage repository in OVM 3.0.x

    Hi, I am new to OVM. I have installed OVM 3.0.1 version Manager and Server. And I am trying to create a Virtual machine (domU) and want to install one of OEL template as guest OS. Now I am in the process of creating a storage repository where in whic