The patent badge is an abbreviated version of the USPTO patent document. The patent badge does contain a link to the full patent document.

The patent badge is an abbreviated version of the USPTO patent document. The patent badge covers the following: Patent number, Date patent was issued, Date patent was filed, Title of the patent, Applicant, Inventor, Assignee, Attorney firm, Primary examiner, Assistant examiner, CPCs, and Abstract. The patent badge does contain a link to the full patent document (in Adobe Acrobat format, aka pdf). To download or print any patent click here.

Date of Patent:
Nov. 17, 2015

Filed:

May. 26, 2015
Applicant:

Huawei Technologies Co., Ltd., Shenzhen, CN;

Inventors:

Wei Yu, Beijing, CN;

Huijun Liu, Beijing, CN;

Yuanyuan Nie, Beijing, CN;

Assignee:
Attorneys:
Primary Examiner:
Assistant Examiner:
Int. Cl.
CPC ...
G06F 17/30 (2006.01); G06F 11/14 (2006.01);
U.S. Cl.
CPC ...
G06F 17/30097 (2013.01); G06F 11/1469 (2013.01); G06F 17/30 (2013.01); G06F 17/30109 (2013.01); G06F 17/30368 (2013.01); G06F 17/30371 (2013.01); G06F 17/30575 (2013.01); G06F 2201/80 (2013.01);
Abstract

A method for recording a transaction log, and a database engine, and pertains to the field of database technologies. The method includes receiving an structured query language (SQL) request; modifying, according to the SQL request, a data page corresponding to the SQL request; generating a corresponding transaction log for the modifying; partitioning the transaction log to obtain a plurality of log segments; and writing the plurality of log segments into a plurality of log buffers, and writing the log segments in the plurality of log buffers into a log file in parallel. According to the present invention, not only lock granularities of the log buffers of the transaction log are reduced, but also a speed at which a log file is written into a magnetic disk is greatly increased, thereby improving performance of a database system and enhancing user experience.


Find Patent Forward Citations

Loading…