首页> 外文会议>International conference on Very Large Data Bases >Commit_LSN: A Novel and Simple Method for Reducing Locking and Latching in Transaction Processing Systems
【24h】

Commit_LSN: A Novel and Simple Method for Reducing Locking and Latching in Transaction Processing Systems

机译:commit_lsn:一种简单的简单方法,用于减少交易处理系统中的锁定和锁存

获取原文

摘要

This paper presents a novel and simple method, called Commit_LSN, for determining if a piece of data is in the committed state in a transaction processing system. This method is a much cheaper alternative to the locking approach used by the prior art for this purpose. The method takes advantage of the concept of a log sequence number (LSN). In many systems, an LSN is recorded in each page of the data base to relate the state of the page to the log of update actions for that page. Our method uses information about the LSN of the first log record (call it CommitLSN) of the oldest update transaction still executing in the system to infer that all the updates in pages with pageLSN less than Commit_LSN have been committed. This reduces locking and latching. In addition, the method may also increase the level of concurrency that could be supported. The Commit_LSN method makes it possible to use fine-granularity locking without unduly penalizing transactions which read numerous records. It also benefits update transactions by reducing the cost of fine-granularity locking when contention is not present for data on a page. We discuss in detail many applications of this method and illustrate its potential benefits for various environments. In order to apply the Commit_LSN method, extensions are also proposed for those systems in which (1) LSNs are not associated with pages (AS/400,SOL/DS, System R), (2) LSNs are used only partially (IMS), and/or (3) not all objects' changes are logged (AS/400, SOL/DS, System R).
机译:本文介绍了一种名为Commit_LSN的新颖且简单的方法,用于确定事务处理系统中是否在已提交状态中。该方法是现有技术用于此目的的锁定方法的更便宜的替代方案。该方法利用日志序列号(LSN)的概念。在许多系统中,在数据库的每个页面中记录LSN,以将页面的状态与该页面的更新操作的日志相关联。我们的方法使用关于在系统中仍在执行的最旧的更新事务的第一个日志记录的LSN的信息(调用IT Commentlsn),以推断使用小于Commit_LSN的Pagelsn中的所有更新。这减少了锁定和锁定。另外,该方法还可以增加可以支持的并发水平。 Commit_LSN方法使得可以使用细粒度锁定而不会过度惩罚读取众多记录的交易。它还通过降低争用在页面上的数据不存在时,通过降低细粒度锁定的成本来利益。我们详细讨论了这种方法的许多应用,并说明了各种环境的潜在益处。为了应用Commit_LSN方法,还提出了用于这些系统(1)LSN与页面(AS / 400,SOL / DS,系统R)相关联的系统(2)LSN仅部分地(IMS)来提出扩展。 ,和/或(3)并非所有对象的更改都被记录(AS / 400,SOL / DS,System R)。

著录项

相似文献

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

客服邮箱:kefu@zhangqiaokeyan.com

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

  • 服务号