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

即时索引

Just In Time Indexing

Pinaki Mitra, Girish Sundaram, Sreedish PS

摘要:

当今数据库管理员面临的主要挑战之一是管理复杂SQL查询的性能,这些查询本质上是动态的。由于查询的动态特性,不可能对每个查询都进行调优,因此如果不对这些查询进行调优,它们很可能会导致严重的数据库性能问题。常规索引仅适用于那些频繁执行的查询或SQL查询中频繁连接的列。本发明涉及一种用于优化数据库管理系统中的数据库查询的方法、查询优化器。即时(JIT)索引是按需的,是根据当前需求动态创建的临时索引,以便它们能够满足任何类型的查询。仅当查询的资源消耗超过配置的阈值时,才会创建JIT索引。JIT索引将临时存储,并将在一段时间内被新的JIT索引取代。该建议得到证实的实验方案的帮助下,并与各种测试用例。并行编程的思想也被带入画面,因为它可以有效地用于多处理器系统。采用多个线程,而一组线程以常规方式进行,另一组线程以所提出的方式进行。当达到合适的阶段时,进行现场切换,从那时起,所提出的方法将只出现在画面中。

英文摘要:

One of the major challenges being faced by Database managers today is to manage the performance of complex SQL queries which are dynamic in nature. Since it is not possible to tune each and every query because of its dynamic nature, there is a definite possibility that these queries may cause serious database performance issues if left alone. Conventional indexes are useful only for those queries which are frequently executed or those columns which are frequently joined in SQL queries. This proposal is regarding a method, a query optimizer for optimizing database queries in a database management system. Just In Time(JIT) indexes are On Demand, temporary indexes created on the fly based on current needs so that they would be able to satisfy any kind of queries. JIT indexes are created only when the configured threshold values for resource consumption are exceeded for a query. JIT indexes will be stored in a temporary basis and will get replaced by new JIT indexes in course of time. The proposal is substantiated with the help of experimental programs and with various test cases. The idea of parallel programming is also brought into picture as it can be effectively used in a multiprocessor system. Multiple threads are employed while one set of threads proceed in the conventional way and the other set of threads proceed with the proposed way. A live switch over is made when a suitable stage is reached and from then onwards the proposed method will only come into picture.

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

↑