METHOD FOR REPLAYING LOG ON DATA NODE, DATA NODE, AND SYSTEM

    公开(公告)号:US20230137119A1

    公开(公告)日:2023-05-04

    申请号:US18147507

    申请日:2022-12-28

    Abstract: A method for replaying a log on a data node, a data node, and a database system are described. The method is used to improve a log replay speed, and includes: the data node obtaining a plurality of logs, wherein the plurality of logs includes at least one transaction commit log and at least one page operation log; and a first thread of a plurality of threads replaying the at least one page operation log, and a same second thread replaying all page operation logs including an operation on a same page. As such, log replay progress does not need to be synchronized between threads. A process in which the first thread replays the transaction commit log is independent of a process in which at least one second thread replays the at least one page operation log.

    DATABASE SYSTEM UPDATE METHOD AND RELATED APPARATUS

    公开(公告)号:US20240345999A1

    公开(公告)日:2024-10-17

    申请号:US18756014

    申请日:2024-06-27

    CPC classification number: G06F16/214 G06F16/2379 G06F16/278

    Abstract: This application discloses a database system update method, applied to a database including a first node, a second node, and a shared storage device. The method includes: The first node sends a first instruction to the second node, where the first instruction is used to request storage location information of first data in the shared storage device, and the first data is data transferred by the second node to the first node for processing; and the first node obtains first information sent by the second node, and obtains mapping information from the shared storage device based on the first information, where the mapping information indicates a storage location of the first data in the shared storage device. The method is used to improve update efficiency of the database system, and ensure that different nodes can simultaneously process different data in a shared storage device.

Patent Agency Ranking