arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 1203.6405cs.DB
收藏

自适应索引的并发控制

Concurrency Control for Adaptive Indexing

Goetz Graefe, Felix Halim, Stratos Idreos, Harumi Kuno, Stefan Manegold

摘要:

作为查询处理的一个副作用,自适应索引以增量方式对索引进行优化。目标是实现索引的好处,同时隐藏或最小化创建索引的成本。但是,索引优化的副作用似乎会将只读查询转换为更新事务,例如,这可能会造成锁争用。本文研究自适应索引环境下的并发控制。我们发现,自适应索引的设计和实现严格分离索引结构的索引内容,这放松了自适应索引的约束和要求相比,传统的索引更新。我们的设计适应了这样一个事实,即自适应索引是不断完善的,并以动态的方式利用任何并发机会。一个详细的实验分析表明,(a)自适应索引保持其自适应属性,即使在运行并发查询,(b)自适应索引可以利用并行的机会,由于并发查询,(c)并发冲突的数量和任何并发管理开销遵循自适应行为,减少工作负载的演变和适应工作负载的需要。

英文摘要:

Adaptive indexing initializes and optimizes indexes incrementally, as a side effect of query processing. The goal is to achieve the benefits of indexes while hiding or minimizing the costs of index creation. However, index-optimizing side effects seem to turn read-only queries into update transactions that might, for example, create lock contention. This paper studies concurrency control in the context of adaptive indexing. We show that the design and implementation of adaptive indexing rigorously separates index structures from index contents; this relaxes the constraints and requirements during adaptive indexing compared to those of traditional index updates. Our design adapts to the fact that an adaptive index is refined continuously, and exploits any concurrency opportunities in a dynamic way. A detailed experimental analysis demonstrates that (a) adaptive indexing maintains its adaptive properties even when running concurrent queries, (b) adaptive indexing can exploit the opportunity for parallelism due to concurrent queries, (c) the number of concurrency conflicts and any concurrency administration overheads follow an adaptive behavior, decreasing as the workload evolves and adapting to the workload needs.

机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。

↑