首页> 外文会议>2015 2nd 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.
机译:在Ingress空间索引(希尔伯特R链接树)算法中,在索引遍历期间,搜索操作(窗口查询或完全匹配查询)和更新操作(插入或删除)一次锁定一页。然后将目标叶子页锁定在S模式下以进行获取,并锁定在X模式下以进行更新。如果需要分页,则使用锁耦合协议将其自底向上传播。要调整最小边界矩形,需要对索引进行另一遍处理。在本文中,我们提出了对Ingress空间索引算法的改进,该算法将增强Ingres数据库中的并发性和恢复性。在我们的算法中,搜索操作通过一次锁存一个节点来遍历树,而更新操作(插入或删除)使用具有U锁存器的锁存耦合遍历树。在Hilbert R链接树上从根页面一直向下到叶页面级别,一次执行更新操作和树结构修改(例如页面拆分,合并,链接或调整最小边界矩形) 。为了简化恢复,每个树结构修改都会在树的单个级别上锁住两个页面,作为原子动作执行,并使用单个仅重做日志记录进行记录。因此,当触发此类TSM的事务中止或系统失败时,永远不会回滚中断的树结构修改(TSM)。该算法在正常处理期间和事务中止(或系统故障)之后,使希尔伯特R-link树保持平衡,以确保对数搜索路径。

著录项

相似文献

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

客服邮箱:kefu@zhangqiaokeyan.com

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

  • 服务号