Results 1 to 2 of 2

Thread: indexes

  1. #1
    Join Date
    Nov 2003
    Posts
    33

    Unanswered: indexes

    Hi all,

    I have creatd three indexes on the table and when I tried to drope the same one i am getting the error like

    ORA-00054: resource busy and acquire with NOWAIT specified

    I did comiit, and also waited enough if someone using the same table to release the lock but no luck.

    Is there a way i can find out is there any process or program is using/locking my table which prevent me dropping the indexes.

    Thanks in advance

  2. #2
    Join Date
    Aug 2003
    Location
    Where the Surf Meets the Turf @Del Mar, CA
    Posts
    7,776
    Provided Answers: 1
    Code:
    SELECT DECODE(request,0,'Holder: ','Waiter: ')||sid sess, 
             id1, id2, lmode, request, type
        FROM V$LOCK
       WHERE (id1, id2, type) IN
                 (SELECT id1, id2, type FROM V$LOCK WHERE request>0)
       ORDER BY id1, request;
    You can lead some folks to knowledge, but you can not make them think.
    The average person thinks he's above average!
    For most folks, they don't know, what they don't know.
    Good judgement comes from experience. Experience comes from bad judgement.

Posting Permissions

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