DBAsupport.com Forums - Powered by vBulletin
Results 1 to 3 of 3

Thread: Current Table Activity

  1. #1
    Join Date
    Aug 2000
    Posts
    68

    Exclamation

    Hey

    is there any way i can see the current activity on a table / DML ,

    i was performing some updates, and then i issue a simple delete statement & sqlplus hung completley?

    Having a bad monday, so any help is again greatly appreciatated?

    Thanks
    Carpe Diem

  2. #2
    Join Date
    Mar 2002
    Location
    Mesa, Arizona
    Posts
    1,204
    You could select from v$sqlarea for the table name .. but ..

    I'll bet you have a blocking lock.

    A session with a blocking lock will sit in a status of "enqueue" until the exclusive lock is released. The following query shows sessions waiting for an exclusive lock:

    SELECT * FROM V$SESSION_WAIT WHERE EVENT = 'enqueue';



    "I do not fear computers. I fear the lack of them." Isaac Asimov
    Oracle Scirpts DBA's need

  3. #3
    Join Date
    Feb 2001
    Posts
    389
    From v$access , u can verify if anybody is using that object,
    then from v$lock and v$session u can check who is using and if it is locked.
    From v$transaction u can confirm if any transactions are going on any of the blocks
    of that object.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  


Click Here to Expand Forum to Full Width