-
公开(公告)号:US12130796B2
公开(公告)日:2024-10-29
申请号:US17535832
申请日:2021-11-26
Applicant: HUAWEI TECHNOLOGIES CO., LTD.
Inventor: Ronen Grosman , Emad Boctor , Ping Chen , Chaoyi Kuang , Yuk Kuen Chan , Hoi Ieng Lao
IPC: G06F16/23 , G06F16/21 , G06F16/215
CPC classification number: G06F16/2308 , G06F16/215 , G06F16/219 , G06F16/2386
Abstract: A method and system for implementing concurrency control in a database system includes receiving a request from a node for handling by a GTM. Registering the request in a slot in a tracking array where each of the slots represents one of the requests for handling by the GTM. A slot is acquired, and a segment of the tracking array is scanned to determine a batch of pending requests. The batch is used to produce an aggregate request and the aggregate request includes an aggregate increment of a total number of commit requests of the batch. The aggregate request is sent to the GTM using one of a plurality of pre-established connections. A response is received from the GTM that includes a current value of an incremented timestamp. The incremented timestamp is distributed to the requests of the batch and the lock is released.