Exhaustive greedy algorithm for optimizing intermediate result sizes of join queries
The size of the intermediate results produced while executing queries has a direct impact on query optimizers. Larger size of intermediate results requires more memory usage and more computational power to evaluate their join predicates. Furthermore, if memory size is not big enough, secondary stora...
Saved in:
Main Authors: | , |
---|---|
Other Authors: | |
Format: | Conference or Workshop Item |
Published: |
2018
|
Subjects: | |
Online Access: | https://repository.li.mahidol.ac.th/handle/123456789/27486 |
Tags: |
Add Tag
No Tags, Be the first to tag this record!
|
Institution: | Mahidol University |
id |
th-mahidol.27486 |
---|---|
record_format |
dspace |
spelling |
th-mahidol.274862018-09-13T13:33:55Z Exhaustive greedy algorithm for optimizing intermediate result sizes of join queries Areerat Trongratsameethong Jarernsri L. Mitrpanont Mahidol University Computer Science The size of the intermediate results produced while executing queries has a direct impact on query optimizers. Larger size of intermediate results requires more memory usage and more computational power to evaluate their join predicates. Furthermore, if memory size is not big enough, secondary storage will be needed. This paper proposes the Exhaustive Greedy (EG) algorithm to optimize the intermediate result sizes of join queries. Exhaustive search and greedy algorithm are combined and modified to identify good join orders. Based on the similar concept of the Greedy Operator Ordering (GOO) algorithm, in order to determine join order selection at subsequent steps, our algorithm also updates join graphs to reflect new size of join nodes and new join selectivities of edges associated with the join nodes at each step. Experiments are conducted and the results reveal that the EG algorithm determines the good join orders. In addition, most intermediate result sizes of join queries estimated by the EG algorithm are comparable to the results estimated by the Exhaustive Search algorithm that is modified to update join graphs, we name it ESU algorithm. © 2009 IEEE. 2018-09-13T06:33:55Z 2018-09-13T06:33:55Z 2009-11-10 Conference Paper Proceedings of the 2009 8th IEEE/ACIS International Conference on Computer and Information Science, ICIS 2009. (2009), 463-468 10.1109/ICIS.2009.195 2-s2.0-70350741582 https://repository.li.mahidol.ac.th/handle/123456789/27486 Mahidol University SCOPUS https://www.scopus.com/inward/record.uri?partnerID=HzOxMe3b&scp=70350741582&origin=inward |
institution |
Mahidol University |
building |
Mahidol University Library |
continent |
Asia |
country |
Thailand Thailand |
content_provider |
Mahidol University Library |
collection |
Mahidol University Institutional Repository |
topic |
Computer Science |
spellingShingle |
Computer Science Areerat Trongratsameethong Jarernsri L. Mitrpanont Exhaustive greedy algorithm for optimizing intermediate result sizes of join queries |
description |
The size of the intermediate results produced while executing queries has a direct impact on query optimizers. Larger size of intermediate results requires more memory usage and more computational power to evaluate their join predicates. Furthermore, if memory size is not big enough, secondary storage will be needed. This paper proposes the Exhaustive Greedy (EG) algorithm to optimize the intermediate result sizes of join queries. Exhaustive search and greedy algorithm are combined and modified to identify good join orders. Based on the similar concept of the Greedy Operator Ordering (GOO) algorithm, in order to determine join order selection at subsequent steps, our algorithm also updates join graphs to reflect new size of join nodes and new join selectivities of edges associated with the join nodes at each step. Experiments are conducted and the results reveal that the EG algorithm determines the good join orders. In addition, most intermediate result sizes of join queries estimated by the EG algorithm are comparable to the results estimated by the Exhaustive Search algorithm that is modified to update join graphs, we name it ESU algorithm. © 2009 IEEE. |
author2 |
Mahidol University |
author_facet |
Mahidol University Areerat Trongratsameethong Jarernsri L. Mitrpanont |
format |
Conference or Workshop Item |
author |
Areerat Trongratsameethong Jarernsri L. Mitrpanont |
author_sort |
Areerat Trongratsameethong |
title |
Exhaustive greedy algorithm for optimizing intermediate result sizes of join queries |
title_short |
Exhaustive greedy algorithm for optimizing intermediate result sizes of join queries |
title_full |
Exhaustive greedy algorithm for optimizing intermediate result sizes of join queries |
title_fullStr |
Exhaustive greedy algorithm for optimizing intermediate result sizes of join queries |
title_full_unstemmed |
Exhaustive greedy algorithm for optimizing intermediate result sizes of join queries |
title_sort |
exhaustive greedy algorithm for optimizing intermediate result sizes of join queries |
publishDate |
2018 |
url |
https://repository.li.mahidol.ac.th/handle/123456789/27486 |
_version_ |
1763489882839187456 |