发明名称 METHOD AND DATABASE ENGINE FOR RECORDING TRANSACTION LOG
摘要 A method and database engine for recording a transaction log, related to the technical field databases. The method comprises: receiving a SQL request; modifying, on the basis of the SQL request, a data page corresponding to the SQL request; generating a corresponding transaction log for the modification; partitioning the transaction log to acquire multiple log fragments, writing the multiple log fragments into multiple buffer queues, and in parallel, writing log fragments in the multiple buffer queues into a log file. The database engine comprises: a receiving module, a modifying module, a generating module, and a write module. This implements parallel recording of transaction logs, and because multiple buffer queues are provided and writing into a log file is processed in a parallel mode, not only is the lock granularity of the transaction log buffer queues reduced, but the speed at which the log file is written into a magnetic disk also is greatly improved, thus increasing the performance of a database system, and enhancing user experience.
申请公布号 WO2015100985(A1) 申请公布日期 2015.07.09
申请号 WO2014CN81106 申请日期 2014.06.30
申请人 HUAWEI TECHNOLOGIES CO., LTD. 发明人 YU, WEI;LIU, HUIJUN;NIE, YUANYUAN
分类号 G06F17/30 主分类号 G06F17/30
代理机构 代理人
主权项
地址