首页> 外国专利> Method for Recording Transaction Log, and Database Engine

Method for Recording Transaction Log, and Database Engine

机译:记录事务日志的方法和数据库引擎

摘要

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.
机译:一种记录交易日志的方法和数据库引擎,属于数据库技术领域。该方法包括接收结构化查询语言(SQL)请求;以及根据所述SQL请求,修改所述SQL请求对应的数据页面;生成相应的交易日志进行修改;划分交易日志以获得多个日志段;将多个日志段写入多个日志缓冲区,并将多个日志缓冲区中的日志段并行写入日志文件。根据本发明,不仅减少了事务日志的日志缓冲区的锁定粒度,而且极大地提高了将日志文件写入磁盘的速度,从而提高了数据库系统的性能并增强了用户经验。

著录项

  • 公开/公告号US2015254264A1

    专利类型

  • 公开/公告日2015-09-10

    原文格式PDF

  • 申请/专利权人 HUAWEI TECHNOLOGIES CO. LTD.;

    申请/专利号US201514721600

  • 发明设计人 WEI YU;HUIJUN LIU;YUANYUAN NIE;

    申请日2015-05-26

  • 分类号G06F17/30;G06F11/14;

  • 国家 US

  • 入库时间 2022-08-21 15:24:27

相似文献

  • 专利
  • 外文文献
  • 中文文献
获取专利

客服邮箱:kefu@zhangqiaokeyan.com

京公网安备:11010802029741号 ICP备案号:京ICP备15016152号-6 六维联合信息科技 (北京) 有限公司©版权所有
  • 客服微信

  • 服务号