See which procedure is hanging

One of my users is running a package and within the package a particular procedure keeps hanging but he doesnt know which one. Is there as a dba to see which procedure is mucking things up?
thanks in advance
SR

I found another one too, this works as well.
Thanks for all the responses
----Queries the job that is running during the current session
---get session id (sid) from oracle instance manager
select t.sql_text
from v$sqltext t, v$session s
where s.sid = 48 and s.sql_address = t.address
order by t.piece
SR

Similar Messages

  • Which user and which procedure takes snapshots for AWR in 10g??

    Hi, all.
    Which user and which procedure takes snapshots for AWR in 10g??
    The snapshot interval is 1 hour.
    I checked dba_scheduler_job, and dba_job.
    However, I was not able to find a job which takes a snapshot.
    On EM, I can see snapshots are being taken per one hour.
    Thanks and Regards.
    Message was edited by:
    user507290

    Dear Shmyg and VAS.
    Thanks for your reply.
    MMON takes a snapshot and stores snapshot information in DBA_HIST_** tables.
    Right??
    Does MMON have something to do with dbconsole and emagent??
    Even when I stopped dbconsole and emagent, snapshots are being taken.
    If so, what does do dbconsole and emagent??
    Thanks and Regards.
    Message was edited by:
    user507290

  • Grant to let user just see a procedure from another user!

    Hi,
    Is there a GRANT to let a user see a procedure from another user but not compile it?
    Tks,
    Paulo.

    The problem is that is not just one procedure, but more then 30 and a lot of developments want this privilege.
    Tks,
    Paulo
    ps: can you help me on my other post "ALTER TABLESPACE tbs READ ONLY" --hang                                                                                                                                                                                                                                                                                                                                                                                                                           

  • Can you see which timeline clips are being used in Media Browser?

    I'm a relatively new user and may not be familiar enough with cs5.5 but
    is there a way to see what clips are being used on the editing timeline in the media browser.
    I open premiere pro - Project is loaded. I edit the scene until it is finished.
    When I look over at the media browser, all my raw clips (some of which I'm
    using on the editing timeline) look the same - I can't tell which ones I using on the timeline.
    The reason I ask - when I fiinish editing a scene it would be nice to glance over at the
    media brower folder where my raw clips are located - easily see which ones I'm using because they
    are highlighted or checked and then delete the ones I no longer need.
    Is there a way to do this now?
    Thanks
    Jeff

    I dont think so  but a better way is to look in the top of the Project Window and there is a drop down that will show you all the useage instances of the clip.  You can click on them to go to them in the timeline.

  • HT1391 I have accidantally created anoth iTunes library file and ripped a lot of music in it. Than I discovered that this music was not arrived in one library file. Know I would like to merge all my music in one library file but don't see which library is

    Hi,
    Regarding my Itunes library:
    I'll try to explain my situation  (sorry for my english).
    I have a networkdrive where all my music is stored on. Itunes is installed on my macbook and I entered the network drive as my media file location. 
    I use my macbook to rip music and buy itunes music assuming it will all be placed in the media folder that I once entered.
    Recently I found out that itunes had changed the location of my media folder to the local drive.
    Since a time now (I can't exactly say when) I'm ripping many of my music collection to itunes.
    Today i discovered the change of my media file location by itunes after I ripped some collections. When clicking the info button on some of the ripped files I see that they are not stored on my networkdrive, very normal, since the location of the media file is changed to local computer.
    When I look in the finder I can find a local libray file (xml file) from 13 april and also one on my network drive but the date is from March. So this one is even older.
    I suppose that the libray file is updated each time I add a song in itunes. So there must be anonther library file somewhere?
    Is there a way to see which libarary file is used in itunes? I know you can start Itunes with the option key to select another library file but is it also possible to view in itunes which library file is used so I can consult the path of the library file in use?
    What should i do to put all the local music to to my network drive and update the correct library to the new location of these files?
    Why is there no alert when Itunes changes the location of the media files path?
    Thanks

    hi i had the same problem today when i updated my itunes to latest version. however, i have just found my songs in the 'itunes media' folder. this was accessed through 'my music'  then keep clicking through until you find itunes media and all my library songs were in there and i then just added these files to my library and all were restored however, i have lost all my playlists but at least my 700 songs are back. very dissapointed with apple that they have let this happen with their latest update, the previous version was miles better than this one . hope you find them. stevo

  • Can not see Stored Procedures owned by "Code Owner"

    Post Author: BinChen
    CA Forum: Deployment
    I am using Data Source defined with "CR Oracle ODBC Driver 5.0" in "Data Source (ODBC)".
    But in Crystal Report XI, I can not see CodeOwner when I can created a new connection using ODBC (RDO).
    I can see CodeOwner and all SP defined under it when I use "Oracle Server" directly or use sqlplus.

    Post Author: BinChen
    CA Forum: Deployment
    I'm using Window XP with Oracle 10g2R
    To be more clear,
    I have an ODBC Data Source defined as "DEV" and when I created a connection using ODBC, I can only see some database account section like: APP, APPREF, PUBLIC, SYS, SUSTEM. But I can not see CodeOwner.
    If I connected without using ODBC, I can also see CODEOWNER and then all its stored procedures.
    So why I can not see Stored Procedures defined under CODEOWNER using ODBC?
    I have an exsiting report, even I can not see CODEOWNER, but I have no problem to run and preview the report also to "verify database".

  • In SQL Trace how to see which statement getting more time .

    Hi Expart,
    In SQL Trace (T-code ST05) . I am running the standard transaction . how to see which statement
    running more time and less time . suppose one statement running more time so how resolve the
    performance .
    Plz. reply me
    Regards
    Razz

    > The ones in 'RED' color are the statement which are taking a lot of time and you need to
    > optimise the same.
    No, that is incorrect, the red ones show only the ones which need several hundret milliseconds in one execution. This can even be correct for hard tasks. And there are lots of problem, which you will not see
    I have said everything here:
    SQL trace:
    /people/siegfried.boes/blog/2007/09/05/the-sql-trace-st05-150-quick-and-easy
    Go to 'Tracelist' -> Summarize by SQL statements', this is the view which you want to see!
    I summarizes all executions of the same statement.
    There are even the checks explained, the slow ones are the one which need a lot of time per record!
    See MinTime/Rec > 10.000 microseconds.
    Check all number of records, executions, buffer, identicals.
    The SE30 Tipps and Tricks will not help much.
    Siegfried

  • I am using Outlook 2010 and have a iphone 4s.  In Outlook I have issues with my contacts not being the same as what I have corrected them to be.  Is there a way to check and see which file Outlook is sharing with I-cloud?

    I am using Outlook 2010 and I also use a Iphone 4s. I use Outlook to correct all my contacts and them it sync with my phone BUT I get different variations of the contacts.  Almost as if there is another file it is going to.  Can I check to see which file it is reading from??

    This may be helpful.
    http://itconflict.com/2012/01/08/troubleshooting-icloud-sync-with-outlook/

  • See which clips are already used in the sequence

    hi there,
    I am a complete newby for mac and fce
    I started a project for my dive video in the Filippines.
    I have like a 1000 clips in the browser.
    Is there a way in fce to see which clips are already use in the sequence and which are not?
    In pinacle studio they were marked with a red v

    This is a way to solve your problem.
    http://discussions.apple.com/thread.jspa?threadID=2283002&tstart=0

  • Can you see which apps are open and/or running like you can on an android phone by going to settings applications running services?

    can you see which apps are open and/or running (like you can on an android phone by going to settings>applications>running services)?

    Hi wjosten,
    thank you for the help.  I should have said I had a iphone 3.  A friend has the same phone and she showed me how she can see what web pages are open when she double taps the home button.  Mine is set to bring up favourites when I double tap (chosen from settings>general>home button).. BUT my choices are only HOME; SEARCH; PHONE FAVORITES; CAMERA or IPOD.  I changed my choice to HOME but that just defeats the purpose as when I am at the home page and double tap nothing happens.  Am I making sense?

  • How can I see which roles or users have access to a table?

    How can I see which roles or users have access to a table?
    For a given table, how can I see the grants, who and what?
    Many thanks

    dba_tab_privs.
    Grantee can be a role or an user, as roles are fake users.
    Sybrand Bakker
    Senior Oracle DBA

  • How can I see which and how many iCloud accounts have been created on my Mac?

    I have reached the limit of iCloud accounts that can be created on my Mac (bit of a shock, I was blissfully unaware that there is a limit). In the past I had an iCloud account for each user but have since consolidated the users, now I am wondering if there is some way of seeing which accounts are attached to my Mac ID.
    Additionally if I delete some of those iCloud accounts, does the available limit reset? (From posts it seems not, but no real clarity on the issue).
    Thanx

    AFAIK this information is not available, but in any case there is nothing you can do once the limit has been reached. Of course you can check which accounts are signed in, but not accounts which may have been created but signed out from. Deleting accounts won't reset the limit, it's tied to the hardware (not the user account).
    If you want another account the only way is to create it on another device: then you can sign into it on your Mac.

  • How can I see which computers (computer name) Creative Cloud is installed on?

    How can I see which computers (computer name) Creative Cloud is installed on?

    Hi Arno ten Hagen,
    To check for activation you need to go to all the machines in which you have installed CC apps, launch any of the CC software, go to help and you will see the email address mentioned by which you are logged in to that machine.
    Kb: http://helpx.adobe.com/x-productkb/policy-pricing/activation-deactivation-products.html .
    Regards,
    Romit Sinha

  • How do i see which devices are connected to my airport router

    How do I see which wi fi devices are hooked up to my router?  Also, my Verizon Network Extender is not working with my new airport express router?  How do I get it to work?  My system and GPS lights are red on the extender.

    How do I see which wi fi devices are hooked up to my route
    Open AirPort Utility
    Hold down the option key on your Mac while you double click on the AirPort icon
    Click on each wireless device displayed for more info about that device
    Also, my Verizon Network Extender is not working with my new airport express router?
    Apple uses proprietary settings for their "extend" feature on their routers, so it would be extremely unlikely that a device from another manufacturer would be compatible for this purpose.

  • How can i see which devices are connected to my wireless network?

    how can i see which devices are connected to my wireless network?

    Login to your router and view the DHCP clients.

Maybe you are looking for