首页> 外国专利> Maintains the coherence between the local index table and the global index table in multilayer index structure the manner

Maintains the coherence between the local index table and the global index table in multilayer index structure the manner

机译:以多层索引结构维护本地索引表和全局索引表之间的一致性

摘要

A multi-tiered indexing method is disclosed for a partitioned table in a parallel or distributed database system. A Local Index is created and maintained for each partition of the table and a Coarse Global Index is created and maintained. The Coarse Global Index identifies the indexed partition(s) by partition identifiers (PIDs) and associates the individual Index Key Values with their target partitions so that an access request with a highly partition-selective search predicate on the Index Key can be quickly and easily directed to the target partition(s) for processing. An index maintenance locking protocol is also disclosed which handles the insertion and deletion of index entries and assures the consistency between the Local Index entries and the Coarse Global Index entries during concurrent index accesses by different transactions. The locking protocol minimizes locking only to those cases involving an inserted or deleted key and to the key following and possibly the key preceding the inserted or deleted key to allow high concurrency between simultaneous Readers, Inserters, and Deleters. This method enhances the efficiency of complex query evaluation and index maintenance and attains a high throughput for transaction processing.
机译:公开了一种用于并行或分布式数据库系统中的分区表的多层索引方法。为表的每个分区创建和维护一个本地索引,并创建和维护一个粗略的全局索引。粗略全局索引通过分区标识符(PID)识别索引的分区,并将各个索引键值与其目标分区相关联,以便可以快速,轻松地对索引键上具有高度分区选择性搜索谓词的访问请求定向到目标分区进行处理。还公开了一种索引维护锁定协议,该协议处理索引条目的插入和删除,并确保在通过不同事务进行的并发索引访问期间,本地索引条目和粗略全局索引条目之间的一致性。锁定协议仅将锁定仅最小化到涉及插入或删除的密钥的情况以及对插入或删除的密钥之后的密钥以及可能在插入或删除的密钥之前的密钥的锁定,以允许同时的Reader,Inserters和Deleters之间高度并发。该方法提高了复杂查询评估和索引维护的效率,并为事务处理实现了高吞吐量。

著录项

相似文献

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

客服邮箱:kefu@zhangqiaokeyan.com

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

  • 服务号