-
公开(公告)号:US11669518B1
公开(公告)日:2023-06-06
申请号:US17550547
申请日:2021-12-14
申请人: Yuk Kuen Chan , Ronen Grosman , Seyyed Mohammad Hadi Sajjadpour , Hoi leng Lao , Wen Hao Zhang , Chung Yin Alan Wong
发明人: Yuk Kuen Chan , Ronen Grosman , Seyyed Mohammad Hadi Sajjadpour , Hoi leng Lao , Wen Hao Zhang , Chung Yin Alan Wong
IPC分类号: G06F16/23 , G06F16/245
CPC分类号: G06F16/2379 , G06F16/245
摘要: A method and system of processing database transactions in a distributed online transaction processing (OLTP) database is provided. Overhead and network bandwidth associated with a global transaction manager are reduced and scalability improved by determining whether incoming statements are single-shard or multi-shard. For single-shard statements, a local transaction identifier (TXID) stored and associated with a data record reference by the statement is retrieved. The retrieved TXID is compared against a copy of a list of prepared transactions that are pending in a respective data node. If the TXID is in the copy of the prepared list, the statement is caused to await until the previous transaction has been committed or aborted. The visibility of a change committed by the previous is then determined, and the statement is processed.
-
2.
公开(公告)号:US20230185795A1
公开(公告)日:2023-06-15
申请号:US17550547
申请日:2021-12-14
申请人: Yuk Kuen CHAN , Ronen GROSMAN , Seyyed Mohammad Hadi SAJJADPOUR , Hoi leng LAO , Wen Hao ZHANG , Chung Yin Alan WONG
发明人: Yuk Kuen CHAN , Ronen GROSMAN , Seyyed Mohammad Hadi SAJJADPOUR , Hoi leng LAO , Wen Hao ZHANG , Chung Yin Alan WONG
IPC分类号: G06F16/23 , G06F16/245
CPC分类号: G06F16/2379 , G06F16/245
摘要: A method and system of processing database transactions in a distributed online transaction processing (OLTP) database is provided. Overhead and network bandwidth associated with a global transaction manager are reduced and scalability improved by determining whether incoming statements are single-shard or multi-shard. For single-shard statements, a local transaction identifier (TXID) stored and associated with a data record reference by the statement is retrieved. The retrieved TXID is compared against a copy of a list of prepared transactions that are pending in a respective data node. If the TXID is in the copy of the prepared list, the statement is caused to await until the previous transaction has been committed or aborted. The visibility of a change committed by the previous is then determined, and the statement is processed.
-