Abstract
Multiple Query Optimization (MQO) is a technique for processing a batch of queries in such a way that shared tasks in these queries are executed only once, resulting in significant savings in the total evaluation. The first phase of MQO requires producing alternative query execution plans so that the shared tasks between queries are identified and maximized. The second phase of MQO is an optimization problem where the goal is selecting exactly one of the alternative plans for each query to minimize the total execution cost of all queries. A-star, branch-and-bound, dynamic programming (DP), and genetic algorithm (GA) solutions for MQO have been given in the literature. However, the performance of optimal algorithms, A-star and DP, is not sufficient for solving large MQO problems involving large number of queries. In this study, we propose an Integer Linear Programming (ILP) formulation to solve the MQO problem exactly for a large number of queries and evaluate its performance. Our results show that ILP outperforms the existing A-star algorithm.
Access this chapter
Tax calculation will be finalised at checkout
Purchases are for personal use only
References
E. Angel, E. Bampis, L. Gourvès, On the minimum hitting set of bundles problem, Algorithmic Aspects in Information and Management (Springer, Berlin, 2008), pp. 3–14
M.A. Bayir, I.H. Toroslu, A. Cosar, Genetic algorithm for the multiple-query optimization problem. Syst. Man Cybern. Part C: Appl. Rev. IEEE Trans. 37(1), 147–153 (2007)
J.R. Bernardino, P.S. Furtado, H.C. Madeira, Approximate query answering using data warehouse striping. J. Intell. Inf. Syst. 19(2), 145–167 (2002)
F.C. Chen, M.H. Dunham, Common subexpression processing in multiple-query processing. Knowl. Data Eng. IEEE Trans. 10(3), 493–499 (1998)
A. Cosar, E.P. Lim, J. Srivastava, Multiple query optimization with depth-first branch-and-bound and dynamic query ordering. in Proceedings of the second international conference on Information and knowledge management (ACM, 1993), (pp. 433–438)
A. Cosar, J. Srivastava, S. Shekhar, On the multiple pattern multiple object (MPMO) match problem. Army High Perform. Comput. Res. Cent. (1991)
A.A. Diwan, S. Sudarshan, D. Thomas, Scheduling and caching in multi-query optimization. In Proceedings of 13th International Conference Management of Data (2006)
S. Finkelstein, Common expression analysis in database applications. in Proceedings of the 1982 ACM SIGMOD international conference on Management of data (ACM, 1982), pp. 235–245
F. Polat, A. Cosar, R. Alhajj, Semantic information-based alternative plan generation for multiple query optimization. Inform. Sci. 137(1), 103–133 (2001)
H.H. Lee, W.S. Lee, Adaptive two-level optimization for selection predicates of multiple continuous queries. J. Intell. Inform. Syst. 39(2), 317–334 (2012)
R. Lee, M. Zhou, H. Liao, Request Window: an approach to improve throughput of RDBMS-based data integration system by utilizing data sharing across concurrent distributed queries. in Proceedings of the 33rd international conference on VLDB (2007), pp. 1219–1230
X. Lin, M. Orlowska, An Integer Linear Programming approach to data allocation with the minimum total communication cost in distributed database systems. Inform. Sci. 85(1), 1–10 (1995)
G. Nan, M. Li, Energy-efficient query management scheme for a wireless sensor database system. EURASIP J. Wirel. Commun. Netw. (2010)
S.G. Nash, A. Sofer, Linear and Nonlinear Programming, vol. 692 (McGraw-Hill, New York, 1996)
S. Papadomanolakis, A. Ailamaki, An integer linear programming approach to database design. in Data Engineering Workshop, 2007 IEEE 23rd International Conference on (2007), pp. 442–449
J. Rao, K.A. Ross, Reusing invariants: a new strategy for correlated queries. in ACM SIGMOD Record, vol. 27, No. 2, (1998), pp. 37–48
A. Rosenthal, U.S. Chakravarthy, Anatomy of a Modular Multiple Query Optimizer. In VLDB (1988), pp. 230–239
P. Roy, S. Seshadri, S. Sudarshan, S. Bhobe, Efficient and extensible algorithms for multi query optimization. in ACM SIGMOD Record, vol. 29, No. 2, (2000), pp. 249–260
T.K. Sellis, Multiple-query optimization. ACM Trans. Database Syst. (TODS) 13(1), 23–52 (1988)
I.H. Toroslu, A. Cosar, Dynamic programming solution for multiple query optimization problem. Inform. Process. Lett. 92(3), 149–155 (2004)
E. Wong, K. Youssefi, Decomposition—a strategy for query processing. ACM Trans. Database Syst. (TODS) 1(3), 223–241 (1976)
T. Dokeroglu, S.A. Sert, M.S. Cinar, Evolutionary multiobjective query workload optimization of Cloud data warehouses. Sci. World J. (2014)
Author information
Authors and Affiliations
Corresponding author
Editor information
Editors and Affiliations
Rights and permissions
Copyright information
© 2014 Springer International Publishing Switzerland
About this paper
Cite this paper
Dokeroglu, T., Bayır, M.A., Cosar, A. (2014). Integer Linear Programming Solution for the Multiple Query Optimization Problem. In: Czachórski, T., Gelenbe, E., Lent, R. (eds) Information Sciences and Systems 2014. Springer, Cham. https://doi.org/10.1007/978-3-319-09465-6_6
Download citation
DOI: https://doi.org/10.1007/978-3-319-09465-6_6
Published:
Publisher Name: Springer, Cham
Print ISBN: 978-3-319-09464-9
Online ISBN: 978-3-319-09465-6
eBook Packages: Computer ScienceComputer Science (R0)