Skip to main content

Ant Colony-Based Approach for Query Optimization

  • Conference paper
  • First Online:
Data Mining and Big Data (DMBD 2016)

Part of the book series: Lecture Notes in Computer Science ((LNISA,volume 9714))

Included in the following conference series:

  • 2922 Accesses

Abstract

Many approaches have been proposed aiming to reduce the cost of join operations. Such join operations represent the key factor of the inquiry process to retrieve related information from different data tables in large relational databases. Yet, there is still a need for more intelligent query optimizing approaches to reduce the response time of query execution. This paper proposes an approach for reaching optimal query access plans for complex relational database queries including a set of join operations. The proposed approach is based on ant colony optimization technique to benefit from its ability of parallel search over several constructive computational threads which aims to reach an optimal query access plan. A comparative study shows the added value of the proposed approach.

This is a preview of subscription content, log in via an institution to check access.

Access this chapter

Chapter
USD 29.95
Price excludes VAT (USA)
  • Available as PDF
  • Read on any device
  • Instant download
  • Own it forever
eBook
USD 39.99
Price excludes VAT (USA)
  • Available as EPUB and PDF
  • Read on any device
  • Instant download
  • Own it forever
Softcover Book
USD 54.99
Price excludes VAT (USA)
  • Compact, lightweight edition
  • Dispatched in 3 to 5 business days
  • Free shipping worldwide - see info

Tax calculation will be finalised at checkout

Purchases are for personal use only

Institutional subscriptions

Similar content being viewed by others

References

  1. Chaudhuri, S.: An Overview of Query Optimization in Relational Systems, pp. 34–43. ACM Press, New York (1998)

    Google Scholar 

  2. Dong, H., Liang, Y.: Genetic Algorithms for Large Join Query Optimization, pp. 1211–1218. ACM, New York (2007)

    Google Scholar 

  3. Hlaing, Z., Khine, A.: Solving traveling salesman problem by using improved ant colony optimization algorithm. Int. J. Inf. Educ. Technol. 1(5), 404–409 (2011)

    Article  Google Scholar 

  4. Jin, L., Li, C.: Selectivity estimation for fuzzy string predicates in large data sets. In: Proceedings of the 31st VLD Conference, Trondheim, Norway, pp. 397–408 (2005)

    Google Scholar 

  5. Krynicki, K., Jean, J.: AntElements: an extensible and scalable ant colony optimization middleware. In: GECCO 2015, Madrid, Spain, 11–15 July 2015, pp. 1109–1116 (2015)

    Google Scholar 

  6. Mahmoud, F., Shaban, S., Abd El-Naby, H.: A proposed query optimizer based on genetic algorithms. Egypt. Comput. J. 37(1), 1–22 (2010)

    Google Scholar 

  7. Mavrovouniotis, M., Müller, F., Yang, S.: An ant colony optimization based memetic algorithm for the dynamic travelling salesman problem. In: GECCO 2015, pp. 49–56 (2015)

    Google Scholar 

  8. Mishra, P., Eich, M.H.: Join processing in relational databases. ACM Comput. Surv. 24, 63–113 (1992)

    Article  Google Scholar 

  9. Steinbrunn, M., Moerkotte, G., Kemper, A.: Heuristic and randomized optimization for the join ordering problem. VLDB J. 6, 191–208 (1997)

    Article  Google Scholar 

  10. Yu, P.S., Cornell, D.W.: Buffer management based on return on consumption in a multi-query environment. VLDB J. 2, 1–37 (1993)

    Article  Google Scholar 

  11. Yu, X., Chen, W., Zhang, J.: A set-based comprehensive learning particle swarm optimization with decomposition for multiobjective traveling salesman problem. In: GECCO 2015, Madrid, Spain, 11– 15 July 2015, pp. 89–96 (2015)

    Google Scholar 

  12. Selinger, P.G., Astrahan, M.M., Chamberlin, D.D., Lorie, R.A., Price, T.G.: Access Path Selection in a Relational Database Management System. ACM Inc. (1979)

    Google Scholar 

  13. Favaretto, D., Moretti, E., Pellegrini, P.: An ant colony system approach for variants of the traveling salesman problem with time windows. J. Inf. Optim. Sci. 27(1), 35–54 (2006)

    MATH  Google Scholar 

  14. Ioannidis, Y.E., Kang, Y.C.: Randomized algorithms for optimizing large join queries. In: ACM (1990)

    Google Scholar 

  15. Swami, A.: Optimization of large join queries: combining heuristics and combinatorial techniques. In: ACM, SIGMOD Conference, pp. 367–376 (1989)

    Google Scholar 

  16. Ioannidis, Y.E., Wong, E.: Query optimization by simulated annealing. In: ACM, SIGMOD Conference, pp. 9–22 (1987)

    Google Scholar 

  17. Lanzelotte, R., Valduries, P., Zait, M.: On the effectiveness of optimization search strategies for parallel execution spaces. In: Proceedings of the Conference on Very Large Databases, pp. 493–504 (1993)

    Google Scholar 

  18. Galindo-Legaria, C., Pellenkoft, A., Kersten, M.: Fast, randomized join-order selection why use transformations? In: Proceedings of the 20th International Conference on Very Large Databases, pp. 85–95 (1994)

    Google Scholar 

Download references

Author information

Authors and Affiliations

Authors

Corresponding author

Correspondence to Hany A. Hanafy .

Editor information

Editors and Affiliations

Rights and permissions

Reprints and permissions

Copyright information

© 2016 Springer International Publishing Switzerland

About this paper

Cite this paper

Hanafy, H.A., Gadallah, A.M. (2016). Ant Colony-Based Approach for Query Optimization. In: Tan, Y., Shi, Y. (eds) Data Mining and Big Data. DMBD 2016. Lecture Notes in Computer Science(), vol 9714. Springer, Cham. https://doi.org/10.1007/978-3-319-40973-3_43

Download citation

  • DOI: https://doi.org/10.1007/978-3-319-40973-3_43

  • Published:

  • Publisher Name: Springer, Cham

  • Print ISBN: 978-3-319-40972-6

  • Online ISBN: 978-3-319-40973-3

  • eBook Packages: Computer ScienceComputer Science (R0)

Publish with us

Policies and ethics