Abstract
In order to take into account the ever increasing volumes of data to be stored in computing systems and applications, the concept of cloud computing offers appropriate environments in which elastic architectures are provided under a pay-as-you-go cost model. Thus, when it comes to exploit these huge volumes of data, it is of paramount importance that optimization techniques can be used in order to reduce the computing costs. Query rewriting and caching is one of the most popular optimization techniques in this respect.
In this work, we propose a novel approach to deal with rewriting of aggregate queries, the most common queries in data warehousing applications. We propose a new strategy to generate possible rewritings for a new query, using the content of the cache, namely previously asked queries stored as cache entries. Our solution relies on a semantic matrix, and is generic enough to consider queries involving selection, projection and any aggregation functions.
Access this chapter
Tax calculation will be finalised at checkout
Purchases are for personal use only
Similar content being viewed by others
References
Afrati, F., Kiourtis, N.: Query answering using views in the presence of dependencies. In: International Workshop on New Trends in Information Integration (NTII), pp. 8–11 (2008)
Armbrust, M., Fox, A., Griffith, R., Joseph, A.D., Katz, R.H., Konwinski, A., Lee, G., Patterson, D.A., Rabkin, A., Stoica, I., Zaharia, M.: A view of cloud computing. Commun. ACM 53(4), 50–58 (2010)
Calvanese, D., Giacomo, G.D., Lenzerini, M., Vardi, M.Y.: What is query rewriting? (Position paper), pp. 1–13. www.dis.uniroma1.it/~lenzerin/krdb01/main.ps
Chen, L., Rundensteiner, E.A., Wang, S.: Xcache: a semantic caching system for XML queries. In: ACM SIGMOD International Conference on Management of Data, p. 618. ACM (2002)
Chidlovskii, B., Borghoff, U.M.: Semantic caching of web queries. VLDB J. 9(1), 2–17 (2000)
Dar, S., Franklin, M.J., Jónsson, B., Srivastava, D., Tan, M.: Semantic data caching and replacement. In: VLDB 1996, Proceedings of 22th International Conference on Very Large Data Bases, pp. 330–341. Morgan Kaufmann (1996)
Deshpande, P., Ramasamy, K., Shukla, A., Naughton, J.F.: Caching multidimensional queries using chunks. In: ACM SIGMOD International Conference on Management of Data, pp. 259–270. ACM Press (1998)
d’Orazio, L., Traoré, M.K.: Semantic caching for pervasive grids. In: International Database Engineering and Applications Symposium (IDEAS), ACM International Conference Proceeding Series, pp. 227–233. ACM (2009)
Elghandour, I., Aboulnaga, A.: Restore: reusing results of mapreduce jobs. PVLDB 5(6), 586–597 (2012)
Elghandour, I., Aboulnaga, A.: Restore: reusing results of mapreduce jobs in pig. In: ACM SIGMOD International Conference on Management of Data, pp. 701–704. ACM (2012)
Giannikis, G., Alonso, G., Kossmann, D.: Shareddb: killing one thousand queries with one stone. PVLDB 5(6), 526–537 (2012)
Halevy, A.Y.: Answering queries using views: a survey. VLDB J. 10, 270–294 (2001)
Keller, A.M., Basu, J.: A predicate-based caching scheme for client-server database architectures. VLDB J. 5(1), 35–47 (1996)
Kimball, R.: The Datawarehouse Toolkit. Wiley, New York (1996)
Laurent, D., Spyratos, N.: Rewriting aggregate queries using functional dependencies. In: International ACM Conference on Management of Emergent Digital EcoSystems (MEDES), pp. 40–47. ACM (2011)
Lillis, K., Pitoura, E.: Cooperative xpath caching. In: ACM SIGMOD International Conference on Management of Data, pp. 327–338. ACM (2008)
Nykiel, T., Potamias, M., Mishra, C., Kollios, G., Koudas, N.: Mrshare: sharing across multiple queries in mapreduce. PVLDB 3(1), 494–505 (2010)
Park, C., Kim, M., Lee, Y.: Rewriting OLAP queries using materialized views and dimension hierarchies in data warehouses. In: International Conference on Data Engineering, (ICDE), pp. 515–523. IEEE Computer Society (2001)
Perriot, R., d’Orazio, L., Laurent, D., Spyratos, N.: Rewriting aggregate queries using functional dependencies within the cloud. In: Kawtrakul, A., Laurent, D., Spyratos, N., Tanaka, Y. (eds.) ISIP 2013. CCIS, vol. 421, pp. 31–42. Springer, Heidelberg (2014)
Ren, Q., Dunham, M.H., Kumar, V.: Semantic caching and query processing. IEEE Trans. Knowl. Data Eng. 15(1), 192–210 (2003)
Author information
Authors and Affiliations
Corresponding author
Editor information
Editors and Affiliations
Rights and permissions
Copyright information
© 2016 Springer International Publishing Switzerland
About this paper
Cite this paper
Perriot, R., d’Orazio, L., Laurent, D., Spyratos, N. (2016). A Semantic Matrix for Aggregate Query Rewriting. In: Grant, E., Kotzinos, D., Laurent, D., Spyratos, N., Tanaka, Y. (eds) Information Search, Integration, and Personalization. ISIP 2015. Communications in Computer and Information Science, vol 622. Springer, Cham. https://doi.org/10.1007/978-3-319-43862-7_3
Download citation
DOI: https://doi.org/10.1007/978-3-319-43862-7_3
Published:
Publisher Name: Springer, Cham
Print ISBN: 978-3-319-43861-0
Online ISBN: 978-3-319-43862-7
eBook Packages: Computer ScienceComputer Science (R0)