Abstract
In current “Big Data” scenarios, graph databases are increasingly being used. Online Analytical Processing (OLAP) operations can expand the possibilities of graph analysis beyond the traditional graph-based computation. This paper studies graph databases as an alternative to implement star and snowflake schemas, the typical choices for data warehouse design. For this, the MusicBrainz database is used. A data warehouse for this database is designed, and implemented over a Postgres relational database. This warehouse is also represented as a graph, and implemented over the Neo4j graph database. A collection of typical OLAP queries is used to compare both implementations. The results reported here show that in ten out of thirteen queries tested, the graph implementation outperforms the relational one, in ratios that go from 1.3 to 26 times faster, and performs similarly to the relational implementation in the three remaining cases.
Access this chapter
Tax calculation will be finalised at checkout
Purchases are for personal use only
References
Angles, R.: A comparison of current graph database models. In: Proceedings of ICDE Workshops, Arlington, VA, USA, pp. 171–177 (2012)
Angles, R., Arenas, M., Barceló, P., Hogan, A., Reutter, J.L., Vrgoc, D.: Foundations of modern query languages for graph databases. ACM Comput. Surv. 50(5), 68:1–68:40 (2017)
Angles, R., Gutierrez, C.: Survey of graph database models. ACM Comput. Surv. 40(1), 1:1–1:39 (2008)
Gómez, L.I., Kuijpers, B., Vaisman, A.A.: Performing OLAP over graph data: query language, implementation, and a case study. In: Proceedings of BIRTE, Munich, Germany, 28 August 2017, pp. 6:1–6:8 (2017)
Hartig, O.: Reconciliation of RDF* and property graphs. CoRR, abs/1409.3288 (2014)
Kimball, R.: The Data Warehouse Toolkit. Wiley, New York (1996)
Robinson, I., Webber, J., Eifrém, E.: Graph Databases. O’Reilly Media, Sebastopol (2013)
Vaisman, A., Zimányi, E.: Data Warehouse Systems: Design and Implementation. Springer, Heidelberg (2014). https://doi.org/10.1007/978-3-642-54655-6
Acknowledgments
Alejandro Vaisman was partially supported by project PICT-2017-1054, from the Argentinian Scientific Agency.
Author information
Authors and Affiliations
Corresponding author
Editor information
Editors and Affiliations
Rights and permissions
Copyright information
© 2019 Springer Nature Switzerland AG
About this paper
Cite this paper
Vaisman, A., Besteiro, F., Valverde, M. (2019). Modelling and Querying Star and Snowflake Warehouses Using Graph Databases. In: Welzer, T., et al. New Trends in Databases and Information Systems. ADBIS 2019. Communications in Computer and Information Science, vol 1064. Springer, Cham. https://doi.org/10.1007/978-3-030-30278-8_18
Download citation
DOI: https://doi.org/10.1007/978-3-030-30278-8_18
Published:
Publisher Name: Springer, Cham
Print ISBN: 978-3-030-30277-1
Online ISBN: 978-3-030-30278-8
eBook Packages: Computer ScienceComputer Science (R0)