SQL_ID row locks
DBAsupport.com Forums - Powered by vBulletin
Results 1 to 4 of 4

Thread: SQL_ID row locks

  1. #1
    Join Date
    Jul 2007
    Posts
    1

    SQL_ID row locks

    Hi,

    Every day from 23.00 to 01.00 the performance of the database becomes slow, when i traced i found the following "The SQL statement with SQL_ID "4pgt142s271gy" was blocked on row locks.", which i think is the reason for poor performance and also i found the query with this SQL_ID.

    Dut to this my Application at this time Hangs.

    What should be my next step,i can't change this query because till last week the database was going fine.

    Please advice me ASAP.

  2. #2
    Join Date
    Mar 2007
    Location
    Ft. Lauderdale, FL
    Posts
    3,554
    so... what changed during the last week?
    Pablo (Paul) Berzukov

    Author of Understanding Database Administration available at amazon and other bookstores.

    Disclaimer: Advice is provided to the best of my knowledge but no implicit or explicit warranties are provided. Since the advisor explicitly encourages testing any and all suggestions on a test non-production environment advisor should not held liable or responsible for any actions taken based on the given advice.

  3. #3
    Join Date
    Nov 2006
    Location
    Sofia
    Posts
    630
    See what is locking the row.
    Select blocking_Session from v$session where sid=YOUR SESSON SID
    can look also at v$lock

    Regards

  4. #4
    Join Date
    Jun 2000
    Location
    Madrid, Spain
    Posts
    7,447
    row locks means you have more than one session modifying same set of rows so if one modifies row 1 and the other tries to modify the same row it will have to wait until the first completes his transaction

    application issue, not a performance issue

    thanks

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