Monitor database job-find out current statement and bind values

Hi all,
we have a job running on one of our databases which sometimes runs for a very long time.
Sometimes it it is necessary to kill that job because it is blocking normal work.
Therefore it is important to find out the current statements the job is processing in order to avoid too much trouble after killing.
Job processing is a chain of several procedures that insert, update, delete from different tables dependant on initital user input.
Database is 10203 on solaris 10. Job was created with dbms_job (no em job).
Is there any way to find out the job's current statement and relevant bind values?
FJH

http://www.orafaq.com/wiki/SQL_Trace

Similar Messages

  • How to find out resultset,statements and connections are not closed

    Hello,
    In Jdeveloper 10.1.2 how can I find out that in my code,
    I have resultset,statements and connections are not being closed.
    Any help is highly appreciable.
    Thanks

    Hello Vijay,
    On MSSQL truncation of transaction log does not shrink the size of the transaction log. It simply removes the content within the transaction log and writes it to the backup.
    Meaning the free percentage within the transaction log will increase.
    If you want to Resize the transaction log size, you need to do something else.
    The shrinking procedure is given here:
    http://support.microsoft.com/kb/907511
    Regards,
    Siddhesh

  • How to search this value in oracle database to find out the table

    Hi expert,
    I know there is a value in oracle database, please show me how to search this value in oracle database to find out the table holding this value.
    Many Thanks,

    918440 wrote:
    Hi friends,
    this question is really practical, I already know there is value from application saved in database, I want to search the whole database to figure out which table the value is contained.write SQL that writes SQL to query every table.
    Handle:     918440
    Status Level:     Newbie
    Registered:     Mar 2, 2012
    Total Posts:     20
    Total Questions:     10 (10 unresolved)
    why do you waste time here when you NEVER get any answer to any question you post?

  • To find out the min and max memory been used by each parameter under SGA_MA

    Hi,
    Can any please tell me how to find out the min and max memory been used by each parameter under SGA_MAX and SGA_TARGET ? below is the db CRMS65T. If any such script is there please provide me
    SQL> select name from v$database;
    NAME
    CRMS65T
    SQL> show parameter sga
    NAME                                 TYPE        VALUE
    lock_sga                             boolean     FALSE
    pre_page_sga                         boolean     FALSE
    sga_max_size                         big integer 1000M
    sga_target                           big integer 1000MThanks in advance

    Can any please tell me how to find out the min and max memory been used by each parameter under SGA_MAX and SGA_TARGET ? below is the db CRMS65T. If any such script is there please provide meI guess your question is, each memory components of SGA? if so
    SQL> select * from v$sgainfo;
    NAME                                  BYTES RES
    Fixed SGA Size                      2088504 No
    Redo Buffers                       18882560 No
    Buffer Cache Size                 616562688 Yes
    Shared Pool Size                  301989888 Yes
    Large Pool Size                     4194304 Yes
    Java Pool Size                      4194304 Yes
    Streams Pool Size                         0 Yes
    Granule Size                        4194304 No
    Maximum SGA Size                  947912704 No
    Startup overhead in Shared Pool   125829120 No
    Free SGA Memory Available                 0Also check
    SQL> select COMPONENT,CURRENT_SIZE,MIN_SIZE,MAX_SIZE,USER_SPECIFIED_SIZE from v$sga_dynamic_components;
    shared pool                                                         301989888  301989888          0           209715200
    large pool                                                            4194304    4194304          0             4194304
    java pool                                                             4194304    4194304          0             4194304
    streams pool                                                                0          0          0                   0
    DEFAULT buffer cache                                                616562688  616562688          0           603979776
    KEEP buffer cache                                                           0          0          0                   0
    RECYCLE buffer cache                                                        0          0          0                   0
    DEFAULT 2K buffer cache                                                     0          0          0                   0
    DEFAULT 4K buffer cache                                                     0          0          0                   0
    DEFAULT 8K buffer cache                                                     0          0          0                   0
    DEFAULT 16K buffer cache                                                    0          0          0                   0
    DEFAULT 32K buffer cache                                                    0          0          0                   0
    ASM Buffer Cache                                                            0          0          0           603979776
    13 rows selected.
    SQL>Edited by: CKPT on Sep 19, 2011 8:55 AM

  • How to find out current archtecture

    I have installed Oracle Database Express Edition 11g Release 2. APEX 4.0 has been installed automatically. (I didn't configure any servers, just clicked 'next')
    Now I have to upgrade APEX to 4.1 , but I must know, what should I configure - Oracle Application Express Listener, the Embedded PL/SQL Gateway, or Oracle HTTP Server?
    So, how to find out current archtecture of APEX 4.0 ?
    Thank you,
    Kseniya.

    Kseniya wrote:
    I have installed Oracle Database Express Edition 11g Release 2. APEX 4.0 has been installed automatically. (I didn't configure any servers, just clicked 'next')In that case, it should be Embedded PL/SQL Gateway. Is there a port number in the URL? What is it?

  • How to find out peak workload and peak workload hours ?

    We have recieved a query from client.
    they want us to tell them peak work load (volume of data database manage at peak work load hours).
    now the question is how to find out peak workload and peak workload hour in live prod database?
    i do not think AWR report will give any clue on this even if when extract it for the hours when my database is into some daily planned activity with lots of transactions.
    share your findings? thanks

    The OEM portal allows you to view performance data in a chart over time, based on data in the AWR tables. If you don't have OEM configured, then you can select directly from the tables and sum by snap. Or if you are collecting data at OS level, (SAR etc) then use that.
    If they are just interested in data changes, then you could just select FIRST_TIME, blocks *block_size from v$archived_log and break it down by hour etc.                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                       

  • How can i find out the resolution and accuracy of PXI-6602 module?

    I have a 32 bit  8 channel PXI-6602 counter module.  PXI card is interfaced to PC with MXI-4 link. How can i find out the resolution and accuracy of this system.What is the maximum accuracy and resolution i will get from this system. Because optical signal to cmos conversion signal is given as a input to the counter.

    Hi chandhu,
    Were you referring to the accuracy of the count register or the timing clock? 
    PXI-6602 specifications can be found in the NI 660x Specifications.  The resolution of the count register is, as you’ve noted, 32 bits.  This corresponds to a maximum count value of 4,294,967,295.  As long as all of the edges are in accordance with TTL specifications, the accuracy of the count register is 100%.
    On the other hand, the PXI-6602 baseclock accuracy takes on the baseclock accuracy of the PXI CLK 10 signal.  Again, this is all found in the specifications.
    You may also want to check out the NI 660x User Manual – it contains a lot of details on the operation of these counter/timer devices.
    I hope this helps.  Please post back if you have further questions.
    Ed W.
    Applications Engineer
    National Instruments

  • HT1349 How can i find out the size and length of my playlist?

    How can i find out the size and length of my playlist? Anybody?

    It shows up in iTunes on your computer as seen here:

  • How to find the current state in web dynpro

    Hi,
       Can any one tell me how to find the current state of system (idle /not idle).
    Thanks,
    Krishna..

    Please explain further.  I don't understand how you are expecting to test for idle.  If ABAP code is being executed, then you know that the application is not idle. Only a server event could trigger code execution. Only a timedTrigger would be able to tell you that a certain amount of time has passed without activitity - although the event of the timer itself will be a server event that constitutes activity.

  • Where can I find the current time and date of Time Capsule?

    I have a home network consisint of 2 x Time Capsules and 1 x Airport Express.  All is working fine.  I would like to set up access control for one machine connecting to the network and I can see I can do this under Access Control on the Airport Utility.  My question is where can I find the current time and date setting for these devices? 
    I can set them to use the time.apple.com server to set the time automatically, but I can't find where to see the current time and date of the device.  The only place I can see reference to the time and date is on the logs and statistics under the Advanced tab of the AirPort Untility.

    I don't think you can change the time and date on the TC itself, it just connects to a time server (and you set your own time zone).

  • How do I find out the date and time a picture was taken on my Ipad?

    How do I find out the date and time a picture was taken on my Ipad?

    Photo Manager Pro
    http://i1224.photobucket.com/albums/ee374/Diavonex/Album%202/7a2b3650710f4bded81 ab75dda6a3ee5.jpg

  • Can any one let me know how to  find out current internet explorer version

    Can any one let me know how to find out current internet explorer version

    Don;t use annoyed repeated words. Try to explain exactly what is your problem.
    <script LANGUAGE="JavaScript">
    document.write("Your browser Name: <B>" + navigator.appName + "</B>.<br>")
    //Detect IE Version Only
    if (navigator.appVersion.indexOf("MSIE")!=-1){
    var temp=navigator.appVersion.split("MSIE")
    var version=parseFloat(temp[1])
    document.write(" Your Browser version: <B>" + version + "</B>.")
    </script>

  • How to find out the plants and storage location for a given company code

    hi
    How to find out the plants and storage location for a given company code

    Hi
    Check for Assignem,ent of Plant & compnay code in OX18
    & for Combination of Plant & Storage location in OX09
    The total org structure can be viewed in EC01 - Click on Structure  -> navigation
    & Continue, Click on the Compnay code & the wole structure can be viewed
    Thanks & Regards
    Kishore

  • How to find out relevant Infosources and Infocubes for Datasources

    Hi All,
    I am BIW beginner, have system installed BW 3.0B, I want to use r/3 Datasources and find out relevant Infosources and Infocubes, can any one help on this issue.
    Thanks in Advance.

    hi,
    before going to install the infocube, infosource use follwing link to find the respective infosource belong to which infocube and chara, keyfigures.
    then do the in stallion in bi content
    http://help.sap.com/saphelp_nw2004s/helpdata/en/3d/5fb13cd0500255e10000000a114084/frameset.htm
    regards
    harikrishna N

  • How to find out relevant Infosources and Infocubes for Datasources (LO)

    Hi Gems,
    I am new to BW.
    How to find out relevant Infosources and Infocubes for Datasources for LO Cockpit
    any help site pls.
    Thanks in advance

    1. make sure that your datasources have activated (trans RSA5 in SAP Source System) from the SAP Source system (Ex: R/3 or SCM System)
    2. after that you have to run trans RSA9 in SAP Source System to transfer new datasource in to BI System.
    3. log-on into BI System, run trans RSA1, choose SourceSystem Tab in the left panel. Right click on to your SAP Source System then choose <b>Replicate</b>.
    4. in the left panel choose BI Content tab, select infoObjects by infoArea.
    5. then Click on Grouping, select in <b>Dataflow Before and afterward</b>. Click Collection Mode, select Collect Automatically.
    6.in the middle panel, expand "Supply Chain Management" infoArea, select both <b>Characteristics: Logistics General</b> and <b>Key Figures: Logistics General</b>. Right click on it and select <b>Insert Objects for Collections</b>.
    7. After the objects have been inserted into Collected Objects then choose install with option Install in Background.
    8. Wait for the result.
    <b>Pls give point if you see its helpful.</b>
    Regards,
    Chuong Hoang

Maybe you are looking for