Register Login

Do timeouts for lock waits exist?

Updated May 18, 2018

Do timeouts for lock waits exist?


Comments

  • 17 Feb 2015 6:18 pm Sushma Helpful Answer

    Transactional lock waits are terminated when the time limit defined with the following parameter is exceeded:

    indexserver.ini -> [transaction] -> lock_wait_timeout

    Its default value 1800000 which represents 1800000 ms / 1800 s / 30 minutes. This means that a lock wait is terminated after 30 minutes and the following error message is issued:

    SQL error 131: transaction rolled back by lock wait timeout

    This behavior is different from other databases like Oracle where no timeout for exclusive lock waits exist and transactions willl wait for the lock until the lock is available or the transaction is manually terminated.

    For internal lock waits no timeout is implemented.


×