Abstract
Optimizing query in distributed database is considered as the most important part of a database system. The optimizer tries to find an optimal join order which reduces the query execution cost. Many factors may affect the execution cost of a query, including communication costs, resources, and access to large distributed data sets. When the number of relations and number of joins in a query increases, the complexity of the optimizer also increases. The success of query execution heavily influenced by the search method which is performed using the query optimizer. Processing of queries is considered as NP-hard problem and many researchers are focused on this problem in recent years. Researches are trying to build an appropriate algorithm to seek an optimal solution especially when the size of the database increases. In this paper, an ant colony algorithm as one of the hybrid strategy of evolutionary algorithms is utilized to find a solution for join query optimization problem in the distributed database systems. Unlike traditional ant colony-based query optimization techniques that based on static cost, the suggested model relies on dynamic cost which calculates the cost while the execution plan is built. Using this strategy, the algorithm aims to find an optimal join order which minimizes the total execution time. Experimental results show that the proposed model can handle different number of join entities. Also, the algorithm is affected by the number of ants used. Better results are obtained in case of large joined if the number of used ants increased.
Access this chapter
Tax calculation will be finalised at checkout
Purchases are for personal use only
References
Ramakrishnan, R.: Databases Management Systems, 3rd edn. McGraw-Hill Inc., New York (2003)
Tiwari, M.P., Chande, S.V.: Query optimization strategies in distributed databases. Int. J. Adv. Eng. Sci. 3(3), 23–29 (2013)
Dökeroğlu, T., Coşar, A.: Dynamic programming with ant colony optimization metaheuristic for optimization of distributed database queries. In: Proceedings of 26th International Symposium on Computer and Information, pp. 107–113. Springer, London (2011)
Sharma, M., Singh, G., Singh, R.: A review of different cost-based distributed query optimizers. Progr. Artif. Intell. 8(1), 45–62 (2019)
Hameurlain, A., Morvan, F.: Evolution of query optimization methods. Lect. Note Comput. Sci. 5740, 211–242 (2009)
Chen, M., Yu, P.: Using join operations as reducers in distributed query processing. In: Proceedings of 2nd International Symposium on Databases in Parallel and Distributed System, July 1990
Pramanik, S., Vineyard, D.: Optimizing join queries in distributed database. IEEE Trans. Softw. Eng. 14, 1391–1426 (1988)
Rothnie, J.B., Bernstein, P.A., Fox, S.: Introduction to a system for distributed database. ACM Trans. Database Syst. 5(1), 1–17 (1980)
Aljanaby, A., Abuelrub, E., Odeh, M.: A Survey of distributed query optimization. Int. Arab J. Inform. Technol. 2(1), 48–57 (2005)
Yannis, Y.C.K., Ioannidis, E.: Randomized algorithms for optimizing large join queries. ACM Sigmod Rec. 19(2), 312–321 (1990)
Horng, J.T., Kao, C.Y., Jhiune, B.: A Genetic algorithm for database query optimization. In: Proceedings of the First IEEE Conference on Evolutionary Computation, Orlando, FL, USA, pp. 432–444 (1994)
Sevinc, E., Cosar, A.: An evolutionary genetic algorithm for optimization of distributed database queries. Comput. J. 54(5), 717–725 (2010)
Sukheja, D., Singh, U.: A Novel approach of query optimization for distributed database system. Int. J. Comput. Sci. 8(4), 307–312 (2011). No. 1
Dorigo, M., Birattari, M., Stützle, T.: Ant colony optimization. IEEE Comput. Intell. Mag. 1(4), 28–39 (2006)
Dorigo, M., Stuzle, T.: Ant Colony Optimization. MIT Press, Cambridge (2004)
Kossmann, D.: The state of art in distributed query optimization. ACM Comput. Surv. 32, 422–469 (2000)
Kossmann, D., Stocker, K.: Iterative dynamic programming: a new class of query optimization algorithm. ACM Trans. Database Syst. 25, 43–82 (2000)
Steinbrunn, M., Moerkotte, G., Kemper, A.: Heuristic and randomized optimization for the join-ordering problem. Int. J. Very Large Data Bases 6(3), 191–208 (1997)
Zhou, Z.: Using heuristics and genetic algorithms for largescale database query optimization. J. Inform. Comput. Sci. 2(4), 261–280 (2007)
Rho, S., March, S.T.: Optimizing distributed join queries: a genetic algorithm approach. Ann. Oper. Res. 71, 199–228 (1997)
Li, N., Liu, Y., Dong, Y., et al.: Application of ant colony optimization algorithm to multi-join query optimization. In: Proceedings of the 3rd International Symposium on Advances in Computation and Intelligence. Springer, Wuhan (2008)
Golshanara, L., Rankoohi, S.M.T.R., Shah-Hosseini, H.: A multi-colony ant algorithm for optimizing join queries in distributed database systems. Knowl. Inform. Syst. 39(1), 175–206 (2014)
Tiwari, P., Chande, S.: Optimal ant and join cardinality for distributed query optimization using ant colony optimization algorithm. In: Proceedings of the 2nd International Symposium on Emerging Trends in Expert Applications and Security, Singapore, February 2019
Author information
Authors and Affiliations
Corresponding authors
Editor information
Editors and Affiliations
Rights and permissions
Copyright information
© 2020 Springer Nature Switzerland AG
About this paper
Cite this paper
Mohsin, S.A., Darwish, S.M., Younes, A. (2020). Dynamic Cost Ant Colony Algorithm for Optimize Distributed Database Query. In: Hassanien, AE., Azar, A., Gaber, T., Oliva, D., Tolba, F. (eds) Proceedings of the International Conference on Artificial Intelligence and Computer Vision (AICV2020). AICV 2020. Advances in Intelligent Systems and Computing, vol 1153. Springer, Cham. https://doi.org/10.1007/978-3-030-44289-7_17
Download citation
DOI: https://doi.org/10.1007/978-3-030-44289-7_17
Published:
Publisher Name: Springer, Cham
Print ISBN: 978-3-030-44288-0
Online ISBN: 978-3-030-44289-7
eBook Packages: Intelligent Technologies and RoboticsIntelligent Technologies and Robotics (R0)