-
公开(公告)号:US20230136417A1
公开(公告)日:2023-05-04
申请号:US18146947
申请日:2022-12-27
Applicant: HUAWEI TECHNOLOGIES CO., LTD.
Inventor: Jiangjun JIANG , Jiang Wang
IPC: G06F16/23
Abstract: A database system is provided, including a first global transaction manager (GTM), a first data node) DN, and a coordinator node (CN). The CN is configured to send a query to the first DN. The first DN is configured to, in response to the query, determine a target commit sequence number (CSN), determine a committed transaction on the first DN based on the target CSN, and determine a query result corresponding to the query based on the committed transaction. The target CSN is allocated by the first GTM. The target CSN is used to distinguish between the committed transaction and an active transaction on the first DN. The active transaction is a transaction that is being executed. In addition, a corresponding transaction management method is provided. The CSN is used to replace an active transaction linked list. This reduces network traffic and improves concurrency and scalability of the database system.