首页> 外文会议>World Symposium on Web Applications and Networking >Enhancing concurrency and recovery in Ingres database
【24h】

Enhancing concurrency and recovery in Ingres database

机译:增强Ingres数据库中的并发和恢复

获取原文

摘要

In Ingress spatial index (Hilbert R-link tree) algorithms, a search operation (window query or exact-match query) and an update operation (insert or delete) S-lock one page at a time during index traversal. Then the target leaf pages are locked in S mode for fetching and locked in X mode for updating. If a page split is needed, then it is propagated bottom-up using lock-coupling protocol. To adjust minimum bounding rectangles another pass over the index is needed. In this paper, we present improvements to Ingress spatial index algorithms that would enhance concurrency and recovery in Ingres database. In our algorithms, a search operation traverses the tree by latching one node at time while an update operation (insert or delete) traverses the tree using latch-coupling with U latches. Update operations and tree-structure-modifications (such as page split, merge, link, or adjusting minimum-bounding-rectangle) are executed together in one pass over the Hilbert R-link tree from the root page down to the leaf-page level. To simplify recovery, each tree-structure-modification latches two pages on a single level of the tree, executed as an atomic action, and logged using a single redo-only log record. Thus, interrupted tree-structure-modifications (TSM) is never rolled back when transaction that triggered such TSM aborts or system fails. The algorithms keep the Hilbert R-link tree balanced during normal processing and after transaction aborts (or system failure) to guarantee logarithmic search path.
机译:在入口空间索引(HILBERT R-LINK树)算法中,在索引遍历期间,在索引遍历期间,搜索操作(窗口查询或精确匹配查询)和更新操作(插入或删除)S-LOCK一页。然后将目标叶页锁定在S模式中,以便以X模式锁定并锁定以进行更新。如果需要页面拆分,则使用锁定耦合协议将其自下而上传播。为了调整最小边界矩形,需要通过索引的另一个通过。在本文中,我们提高了对Ingres数据库中的并发和恢复的入口空间指数算法的改进。在我们的算法中,搜索操作在更新操作(插入或删除)时锁存一个节点,使用与U锁存器锁定树来遍历树。在从根页面上从根页面到叶页面级别,在一个传递到叶页面级别的传递中执行更新操作和树结构 - 修改(例如页面分割,合并,链接或调整最小边界矩形) 。为了简化恢复,每个树结构修改锁存在树的单个级别上的两个页面,作为原子动作执行,并使用单个重做日志记录记录。因此,在触发此类TSM中止或系统的事务发生故障时,中断的树木结构 - 修改(TSM)永远不会回滚。算法在正常处理期间和交易中止(或系统故障)后保证对数搜索路径后的算法保持均衡的HILBERT R-LINK树。

著录项

相似文献

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

客服邮箱:kefu@zhangqiaokeyan.com

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

  • 服务号