How Track&monitor the history of executed sql /plsql on 10g database server

I want to keep and track the history of all sql/plsql that is being execute on database server. how it is to be done.
pls help
prabhaker

To keep track of executed SQL statements, you can use database auditing : see http://oraclelon1.oracle.com/docs/cd/B19306_01/server.102/b14200/statements_4007.htm#i2059073
I am not sure that PL/SQL execution can be traced using database auditing.

Similar Messages

  • How to export the result from executing sql statement to excel file ?

    HI all,
    Great with Oracle SQL Developer, but I have have a trouble as follwing :
    I want to export the result from executing sql statement to excel file . I do easily like that in TOAD ,
    anyone can help me to do that ? Thanks so much
    Sigmasvn

    Hello Sue,
    I just tried to export to excel with the esdev extension and got java.lang.NumberFormatException. I found the workaround at Re: Windows Multi-language env, - how do I set English for application lang?
    open the file sqldeveloper\jdev\bin\sqldeveloper.conf and add the following two lines:
    AddVMOption -Duser.language=en
    AddVMOption -Duser.country=USyet now my date formats in excel are 'american-style' instead of german. For example 01-DEC-01 so excel does not recognize it as date and therefore I can not simply change the format.
    When export to excel will be native to 1.1 perhaps someone can have a look at this 'feature'
    Regards
    Marcus

  • How to set the debug port for Eclipse for OracleAS 10g Enterprise Server

    Hi All,
    I want to debug a java class, which is exposed as webservice. what are the settings I need to do in OracleAS 10g Enterprise Server to debug a java class using a eclipse.
    Thanks in advance,
    Vidyasagar.

    Hi, have you double checked that your oc4j is started with Sun's JVM or any other JVM that recognizes the kind of remote debug option as above? You can find the JVM used by oc4j in the ORACL_HOME/opmn/conf/opmn.xml.
    To double check that your oc4j is started in debug mode, you can test with another remote debugger. Say, with the jdb in sun's jdk jdb -connect com.sun.jdi.SocketAttach:hostname=yourHost,port=4000 (Personally, I also use Jdeveloper or Jswat to double check.) If you can connect with jdb, then you have to check your Eclipse. Can its remote debugger connect to any java application at all?

  • How to set the timeout to execute sql by jdbc?

    Connection con = getConnection();
    Statement stmt = con.createStatement();
    stmt.execute("update table1 set colum1='abc' where key = '1' ");before run this java class
    I exectue the sql(update table1 set colum1='abc' where key = '1' ) in sqlplus
    but not commit.thus the database will lock the item .
    then I run the java class.
    so the class will waite the sqlplus commit.
    I want kill the run thread when the java class waite 1000 seconds.
    how can I do?

    o
    I have tried it.
    but it seems the method can not work well
    if I use
    stmt.setQueryTimeout(30) the jdbc operate will be cancled after 4 minutes not 30seconds

  • How to see the history of the commands ran in the Airwave CLI (bash) and also in the DB (psql)

    Q: How to check the old commands (history of commands) ran in the Airwave CLI and also in the DB (pgsql) ?
    A: Any commands we ran on the Airwave CLI or in the DB they are logged in a file in /root directory.
    we could log in to the Airwave CLI and execute the below commands to see the history in the files below:
    # cd /root
    # ls  -al
    This above command will print out a list of files, among those are the below two files:
    .bash_history  (If we open the file either with cat or less, we will see the list of commands which we executed on the Airwave CLI)
    .psql_history  (This file will have all the sql commands executed in Airwave DB)
    These files will have the history from the installation, unless, if any user manaully edits or deletes the file. 

    Hi Heather,
    it is correct that there is no sample iView that shows the History of Crystal Reports that are stored in Crystal Enterprise but there a sample codes on our web site and there are sample codes as part of the SDK documentation that show how to call the history and you should be able to take the code and create your own Java or ASP iView based on that.
    the link to our developer library :
    http://www.businessobjects.com/products/dev_zone/default.asp?intcmp=products12
    hope this helps
    Ingo

  • How to restore the Password backup in sql server 2005

    How to restore the Password backup in sql server 2005

    Hello,
    THANKS............ BUT
    I executed this query 
    RESTORE DATABASE new_data1
    FROM DISK = 'd:\UK_DETAILS.bak'
    with password ='selfinity123'
    WITH MOVE 'UK_DETAILS.bak' TO 'D:\Program Files\Microsoft SQL Server\MSSQL.1\MSSQL\Data\new_data1.mdf',
    MOVE 'UK_DETAILS.bak' TO 'D:\Program Files\Microsoft SQL Server\MSSQL.1\MSSQL\Data\new_data1.ldf'
    I got the error 
    Msg 319, Level 15, State 1, Line 4
    Incorrect syntax near the keyword 'with'. If this statement is a common table expression or an xmlnamespaces clause, the previous statement must be terminated with a semicolon.

  • How to change the SERVICE_NAME in PL/SQL

    The service_name in PL/SQL Developer is PLSExtProc,but my database's ture name is ORCL.How to change the service_name in PL/SQL Developer?

    I am not sure about how to change SERVICE_NAME in PL/SQL Developer (if at all it can be done in that ), but you will have to change the SERVICE_NAME in the TNSNAMES.ORA file.
    1. Locate the entry for PLSExtProc in the file tnsnames.ora at:
    $ORACLE_HOME/network/admin/tnsnames.ora
    2. Change the SERVICE_NAME = ORCL
    3. Save and reconnect
    Aalap Sharma :)

  • How to monitor the database growth?

    Dear All,
    How to monitor the database growth in SAP.
    Is there any t.code available to check the same.
    advance thanks,
    Sundar  C
    Note: suitable answers will get maximum reward points.

    Hai,
          You can check the database growth using tcode -db02.
    and also use tcode-db02old(if the SAP is Netweaver2004s version)  and click on space statistics for monitoring the datbase growth,
    Thanks and Regards,

  • May i ask how to find the history website from safari in the new Mavericks?

    may i ask how to find the history website from safari in the new Mavericks?

    Choose Show All History from the History menu.
    (93509)

  • How to revome the history  output...

    Hi
    I want to know how to remove the history command output.....
    Thanks
    Mohammed Tanvir

    in bash;
    to remove the history file:
    rm ~/.bash_history
    to make sure you won't get any history file add the following to your .bashrc:
    export HISTSIZE=0
    in cshrc:
    remove the .history file
    add
    set history=0 (or is it setenv history 0?) to your .cshrc
    .. and so on, refer to the manpage of your shell..

  • I cannot figure out how to view the history of pages so I can easily go back to a page I may have been in 10 clicks ago.

    In the latest version, I cannot figure out how to view the history of pages so I can easily go back to a page I may have been in 10 clicks ago. I don't want to have to hit the back button 10 times, I want to be able to view a list of the past clicks and pick where I want to go back to. How do I do that now?

    Click-hold the unified Back / Forward button, or right-click it to get the Back / Forward history for that tab.
    Or install this extension to get the old "drop-marker" button restored. <br />
    https://addons.mozilla.org/en-US/firefox/addon/backforedrop/

  • How to view the History of a Crystal Reports iView in EP6?

    How to view the History of a Crystal Reports iView in EP6?
    Our Crystal reports are viewed via Crystal Enterprise and are both BW and non-BW Crystal reports.
    I have looked at the three supplied iViews from Business Objects (alert, folder and thumbnail) but I have only been able to access the last instance or run on demand a CR.
    Our users would prefer to see a listing of the past runs of the report and choose which report to view.  What parameters need set in the EP6 iView to see the history of a report?

    Hi Heather,
    it is correct that there is no sample iView that shows the History of Crystal Reports that are stored in Crystal Enterprise but there a sample codes on our web site and there are sample codes as part of the SDK documentation that show how to call the history and you should be able to take the code and create your own Java or ASP iView based on that.
    the link to our developer library :
    http://www.businessobjects.com/products/dev_zone/default.asp?intcmp=products12
    hope this helps
    Ingo

  • How to monitor the performances of VMs & Hyper-v Cluster host node running on SCVMM Cluster.

    hello...,
    How to monitor the performances of VMs & Hyper-v Cluster hosts node running on SCVMM Cluster from SCOM so that we can
    Identify the highest utilized(CPU and Memory ) VM on that from cluster  hyper-v host.
    Identify the lowest utilized (CPU and Memory )Hyper-v Host in the Cluster .
    After identifies VMs and Hyper-v cluster  host on SCVMM , so that we  can  proceed to do migrate the Highest Utilized VM to Lowest Utilized
    Hyper-v cluster host. 
    To identified and implement above ,what are the things I need to do or configured on SCOM.
    Thanks
    RICHA KM

    hello...,
    How to monitor the performances of VMs & Hyper-v Cluster hosts node running on SCVMM Cluster from SCOM
    so that we can
    Identify the highest utilized(CPU and Memory ) VM on that from cluster  hyper-v
    host.
    Identify the lowest utilized (CPU and Memory )Hyper-v Host in the Cluster .
    After identifies VMs and Hyper-v cluster  host on SCVMM , so that we  can  proceed
    to do migrate the Highest Utilized VM to Lowest Utilized Hyper-v cluster host. 
    To identified and implement above ,what are MPs i need to installed on SCOM for implementing
    this.
    Thanks
    RICHA KM

  • How to suspend the script be executed before Alert.show() completed?

    how to suspend the script be executed before Alert.show()
    completed?
    In a window, when users want query and display new data, they
    should be asked whether to save the old data. The
    queryAndDispleyNewData script should not be executed untile the old
    data is saved or be gived up.
    queryNewData(){
    if (Alert.show(askSaveOrNot)==YES) doSave();
    queryAndDisplyNewDate_Script;
    however, the face if the queryAndDisplyNewDate_Script is
    always executed before doSave(). how could I do?
    Any suggestion will be appreciated.

    You cannot suspend the script. Flex/ActionScript is
    event-driven. When you post a dialog box - modal or not - you
    assign event listeners to it. It is in the event listeners that you
    do whatever it is the dialog is asking - saving data back to the
    server, for example.
    Requesting and posting data to the server is event-driven
    too. If you request data from the server you must process it in an
    event handler (which includes data binding).
    If you are going to develop Flex applications you will need
    to understand event-driven programming.

  • How to find the history of the sales order

    hi
    how to find the history of the sales order

    the history can be of two types:
    1) Changes to the Document:
        The changes made to the sales order which can be viewed using:
        Menu-> environment -> changes.
       the changes to the documents are shown from Change documents with selection on
       tables CDHDR with objectclas = 'VERKBELEG' and objectid = <document number>.
    2) Preceding or Follow-on Documents:
        The document flow for the sales order which can be viewed using:
        Menu-> environment ->Display Document flow.
        this is obtained from the table VBFA.
       Hope this solves ur Query.
       Please award points if u feel the answer was useful.
       thanks,
       Nivin Joseph
    Message was edited by:
            Nivin Joseph Varkey

Maybe you are looking for