首页> 外国专利> Logging and recovery method for supporting high performance transaction in main memory resident database system

Logging and recovery method for supporting high performance transaction in main memory resident database system

机译:在主存驻留数据库系统中支持高性能事务的记录和恢复方法

摘要

PURPOSE: A logging and recovery method of a main memory database system is provided to perform a speedy transaction process by reducing an IO operation in a disk, and to maintain a consistency of a database in the case of restarting the database system caused by a wrong operation of the system or abortion of a transaction. CONSTITUTION: The method comprises steps of performing an insertion, deletion or update operation on tuples of database tables at a start of a transaction(S1), modifying the database stored in a main memory device(S2), generating a prior and a posterior log data on the tuples(S3), modifying an index(S4), checking if the transaction is completed(S5), if it is done, returning to the step S1 and otherwise checking if a state of the transaction completion is a commitment or an abortion(S6), and recording the log record at a log file in a disk if a state of the transaction completion is a commitment(S14). The DBMS of the main memory maintains all the data in the main memory, and supports a real time transaction process. To maintain a consistency of a database, IO operations occur at a disk for storing log data. The more the IO operations occur at the disk, the lower the system performance gets. So the IO operations have to be reduced in order to support a high performance transaction process.
机译:目的:提供一种主存储器数据库系统的日志和恢复方法,以通过减少磁盘中的IO操作来执行快速的事务处理,并在由于错误导致的数据库系统重新启动的情况下保持数据库的一致性。系统操作或事务中止。组成:该方法包括以下步骤:在事务开始时对数据库表的元组执行插入,删除或更新操作(S1),修改存储在主存储设备中的数据库(S2),生成先验和后验日志元组上的数据(S3),修改索引(S4),检查交易是否完成(S5),是否完成,返回步骤S1以及否则检查交易完成的状态是承诺还是交易中止(S6),如果事务完成的状态为承诺,则将日志记录记录在磁盘上的日志文件中(S14)。主存储器的DBMS维护主存储器中的所有数据,并支持实时事务处理。为了保持数据库的一致性,IO操作在磁盘上进行,用于存储日志数据。磁盘上发生的IO操作越多,系统性能越低。因此,必须减少IO操作以支持高性能事务处理。

著录项

  • 公开/公告号KR20020030223A

    专利类型

  • 公开/公告日2002-04-24

    原文格式PDF

  • 申请/专利权人 ALADDINSOFT INC.;

    申请/专利号KR20000060817

  • 发明设计人 KIM JIN HO;KWON SUN CHEOL;

    申请日2000-10-16

  • 分类号G06F17/40;

  • 国家 KR

  • 入库时间 2022-08-22 00:31:11

相似文献

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

客服邮箱:kefu@zhangqiaokeyan.com

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

  • 服务号