Lock wait tracing
    1.
    发明授权

    公开(公告)号:US11698898B2

    公开(公告)日:2023-07-11

    申请号:US17089355

    申请日:2020-11-04

    IPC分类号: G06F16/23 G06F16/22

    CPC分类号: G06F16/2365 G06F16/2282

    摘要: Techniques are disclosed relating to lock wait tracing. A computer system may operate a database that includes a lockable object. The computer may maintain a lock wait queue that stores an indication of processes waiting to acquire a lock on the lockable object. The computer system may store trace records for those processes that, upon releasing a respective lock on the lockable object when another process is waiting in the lock wait queue, have been in contention for the respective lock for over a threshold amount of time. The computer system may present ones of the trace records that identify a timeline that is usable to determine a set of processes that contributed to a delay in a process acquiring a lock on the lockable object.

    LOCK WAIT TRACING
    2.
    发明申请

    公开(公告)号:US20220138175A1

    公开(公告)日:2022-05-05

    申请号:US17089355

    申请日:2020-11-04

    IPC分类号: G06F16/23 G06F16/22

    摘要: Techniques are disclosed relating to lock wait tracing. A computer system may operate a database that includes a lockable object. The computer may maintain a lock wait queue that stores an indication of processes waiting to acquire a lock on the lockable object. The computer system may store trace records for those processes that, upon releasing a respective lock on the lockable object when another process is waiting in the lock wait queue, have been in contention for the respective lock for over a threshold amount of time. The computer system may present ones of the trace records that identify a timeline that is usable to determine a set of processes that contributed to a delay in a process acquiring a lock on the lockable object.