Randomized algorithms for optimizing large join queries

Author:

Ioannidis Y. E.1,Kang Younkyung1

Affiliation:

1. Computer Sciences Department, University of Wisconsin, Madison, WI

Abstract

Query optimization for relational database systems is a combinatorial optimization problem, which makes exhaustive search unacceptable as the query size grows. Randomized algorithms, such as Simulated Annealing (SA) and Iterative Improvement (II), are viable alternatives to exhaustive search. We have adapted these algorithms to the optimization of project-select-join queries. We have tested them on large queries of various types with different databases, concluding that in most cases SA identifies a lower cost access plan than II. To explain this result, we have studied the shape of the cost function over the solution space associated with such queries and we have conjectured that it resembles a 'cup' with relatively small variations at the bottom. This has inspired a new Two Phase Optimization algorithm, which is a combination of Simulated Annealing and Iterative Improvement. Experimental results show that Two Phase Optimization outperforms the original algorithms in terms of both output quality and running time.

Publisher

Association for Computing Machinery (ACM)

Subject

Information Systems,Software

Reference18 articles.

1. Query optimization by simulated annealing

2. Query Optimization in Database Systems

3. D S Johnson C R Aragon L A McGeoch and C Scheyon Opttmtzatton by S~mulated Anneahng An Experunental Evaluatwn (Part I) unpubhshed manuscnpt June 1987 D S Johnson C R Aragon L A McGeoch and C Scheyon Opttmtzatton by S~mulated Anneahng An Experunental Evaluatwn (Part I) unpubhshed manuscnpt June 1987

Cited by 84 articles. 订阅此论文施引文献 订阅此论文施引文献,注册后可以免费订阅5篇论文的施引文献,订阅后可以查看论文全部施引文献

1. Constrained Quadratic Model for Optimizing Join Orders;Workshop on Quantum Computing and Quantum-Inspired Technology for Data-Intensive Systems and Applications;2024-06-09

2. Query Optimization in Distributed Database Based on Improved Artificial Bee Colony Algorithm;Applied Sciences;2024-01-19

3. Multi-FDMF: An Agile Management Framework of Multi-domain Data in Decentralized Heterogeneous Environments;2023 9th International Conference on Big Data and Information Analytics (BigDIA);2023-12-15

4. Quantum-Inspired Digital Annealing for Join Ordering;Proceedings of the VLDB Endowment;2023-11

5. Predicting the energy consumption in buildings using the optimized support vector regression model;Energy;2023-06

同舟云学术

1.学者识别学者识别

2.学术分析学术分析

3.人才评估人才评估

"同舟云学术"是以全球学者为主线,采集、加工和组织学术论文而形成的新型学术文献查询和分析系统,可以对全球学者进行文献检索和人才价值评估。用户可以通过关注某些学科领域的顶尖人物而持续追踪该领域的学科进展和研究前沿。经过近期的数据扩容,当前同舟云学术共收录了国内外主流学术期刊6万余种,收集的期刊论文及会议论文总量共计约1.5亿篇,并以每天添加12000余篇中外论文的速度递增。我们也可以为用户提供个性化、定制化的学者数据。欢迎来电咨询!咨询电话:010-8811{复制后删除}0370

www.globalauthorid.com

TOP

Copyright © 2019-2024 北京同舟云网络信息技术有限公司
京公网安备11010802033243号  京ICP备18003416号-3