发明名称 Locking protocol for partitioned and distributed tables
摘要 Systems, methods and computer program product embodiments for providing a locking protocol for partitioned and distributed database tables are disclosed herein. A locking method includes executing, by at least one processor, a first database transaction on a second node, attempting to acquire and acquiring a lock on the second node in intentional exclusive mode, executing, by the at least one processor, a second database transaction on a first node, acquiring a lock on the first node in exclusive mode and waiting to acquire a lock on the second node in exclusive mode, routing, by the at least one processor, the first database transaction to the first node and unsuccessfully trying to acquire a lock on the first node and committing, by the at least one processor, the first database transaction.
申请公布号 US9501502(B2) 申请公布日期 2016.11.22
申请号 US201313750194 申请日期 2013.01.25
申请人 SAP AG 发明人 Lee Juchang;Lee Jin Yeon;Chuh Yongjae;Noh Jaeyun
分类号 G06F17/30 主分类号 G06F17/30
代理机构 Sterne, Kessler, Goldstein & Fox P.L.L.C. 代理人 Sterne, Kessler, Goldstein & Fox P.L.L.C.
主权项 1. A method, comprising: beginning, by at least one processor, execution of a first database transaction on a second node, acquiring a lock on the second node in intentional exclusive mode to perform operations required by the first database transaction; beginning, by the at least one processor, a second database transaction on a first node, acquiring a lock on the first node in exclusive mode and waiting to acquire a lock on the second node in exclusive mode to perform operations required by the second database transaction; routing, by the at least one processor, the first database transaction from the second node to the first node to perform operations required by the first database transaction; in response to determining that the lock is acquired on the second node, determining that lock acquisition on the first node is not necessary to process the first database transaction on the first node; and committing, by the at least one processor, the first database transaction.
地址 Walldorf DE