Skip to main content
Erschienen in: Software and Systems Modeling 4/2021

02.11.2020 | Regular Paper

Improving query performance on dynamic graphs

verfasst von: Gala Barquero, Javier Troya, Antonio Vallecillo

Erschienen in: Software and Systems Modeling | Ausgabe 4/2021

Einloggen

Aktivieren Sie unsere intelligente Suche, um passende Fachinhalte oder Patente zu finden.

search-config
loading …

Abstract

Querying large models efficiently often imposes high demands on system resources such as memory, processing time, disk access or network latency. The situation becomes more complicated when data are highly interconnected, e.g. in the form of graph structures, and when data sources are heterogeneous, partly coming from dynamic systems and partly stored in databases. These situations are now common in many existing social networking applications and geo-location systems, which require specialized and efficient query algorithms in order to make informed decisions on time. In this paper, we propose an algorithm to improve the memory consumption and time performance of this type of queries by reducing the amount of elements to be processed, focusing only on the information that is relevant to the query but without compromising the accuracy of its results. To this end, the reduced subset of data is selected depending on the type of query and its constituent filters. Three case studies are used to evaluate the performance of our proposal, obtaining significant speedups in all cases.

Sie haben noch keine Lizenz? Dann Informieren Sie sich jetzt über unsere Produkte:

Springer Professional "Wirtschaft+Technik"

Online-Abonnement

Mit Springer Professional "Wirtschaft+Technik" erhalten Sie Zugriff auf:

  • über 102.000 Bücher
  • über 537 Zeitschriften

aus folgenden Fachgebieten:

  • Automobil + Motoren
  • Bauwesen + Immobilien
  • Business IT + Informatik
  • Elektrotechnik + Elektronik
  • Energie + Nachhaltigkeit
  • Finance + Banking
  • Management + Führung
  • Marketing + Vertrieb
  • Maschinenbau + Werkstoffe
  • Versicherung + Risiko

Jetzt Wissensvorsprung sichern!

Springer Professional "Wirtschaft"

Online-Abonnement

Mit Springer Professional "Wirtschaft" erhalten Sie Zugriff auf:

  • über 67.000 Bücher
  • über 340 Zeitschriften

aus folgenden Fachgebieten:

  • Bauwesen + Immobilien
  • Business IT + Informatik
  • Finance + Banking
  • Management + Führung
  • Marketing + Vertrieb
  • Versicherung + Risiko




Jetzt Wissensvorsprung sichern!

Springer Professional "Technik"

Online-Abonnement

Mit Springer Professional "Technik" erhalten Sie Zugriff auf:

  • über 67.000 Bücher
  • über 390 Zeitschriften

aus folgenden Fachgebieten:

  • Automobil + Motoren
  • Bauwesen + Immobilien
  • Business IT + Informatik
  • Elektrotechnik + Elektronik
  • Energie + Nachhaltigkeit
  • Maschinenbau + Werkstoffe




 

Jetzt Wissensvorsprung sichern!

Anhänge
Nur mit Berechtigung zugänglich
Fußnoten
1
Note that we used the in-memory implementation for OrientDB and the BerkeleyDB backend [28] for JanusGraph.
 
2
Even if CrateDB is not a graph database, we included it in our study because of its high scalability.
 
3
A TraversalParent in Gremlin includes steps that imply one or more subqueries, namely where, and, or and not.
 
4
The SDR algorithm adds an initial graph step at the beginning of a traversal subquery. For this reason, a traversal subquery always has one more step than its size, i.e. S.size = 4 in this case.
 
Literatur
15.
Zurück zum Zitat Bergmann, G., Ökrös, A., Ráth, I., Varró, D., Varró, G.: Incremental pattern matching in the VIATRA model transformation system. In: Proc. of GRAMOT’08, pp. 25–32. ACM (2008) Bergmann, G., Ökrös, A., Ráth, I., Varró, D., Varró, G.: Incremental pattern matching in the VIATRA model transformation system. In: Proc. of GRAMOT’08, pp. 25–32. ACM (2008)
16.
Zurück zum Zitat Besta, M., Fischer, M., Kalavri, V., Kapralov, M., Hoefler, T.: Practice of streaming and dynamic graphs: concepts, models, systems, and parallelism. CoRR arXiv:1912.12740 (2019) Besta, M., Fischer, M., Kalavri, V., Kapralov, M., Hoefler, T.: Practice of streaming and dynamic graphs: concepts, models, systems, and parallelism. CoRR arXiv:​1912.​12740 (2019)
17.
Zurück zum Zitat Besta, M., Peter, E., Gerstenberger, R., Fischer, M., Podstawski, M., Barthels, C., Alonso, G., Hoefler, T.: Demystifying graph databases: analysis and taxonomy of data organization, system designs, and graph queries. CoRR arXiv:1910.09017 (2019) Besta, M., Peter, E., Gerstenberger, R., Fischer, M., Podstawski, M., Barthels, C., Alonso, G., Hoefler, T.: Demystifying graph databases: analysis and taxonomy of data organization, system designs, and graph queries. CoRR arXiv:​1910.​09017 (2019)
23.
Zurück zum Zitat Etzion, O., Niblett, P.: Event Processing in Action. Manning Publications, New York (2010) Etzion, O., Niblett, P.: Event Processing in Action. Manning Publications, New York (2010)
27.
Zurück zum Zitat Gonzalez, J.E., Xin, R.S., Dave, A., Crankshaw, D., Franklin, M.J., Stoica, I.: GraphX: graph processing in a distributed dataflow framework. In: Proc. of OSDI’14, pp. 599–613 (2014) Gonzalez, J.E., Xin, R.S., Dave, A., Crankshaw, D., Franklin, M.J., Stoica, I.: GraphX: graph processing in a distributed dataflow framework. In: Proc. of OSDI’14, pp. 599–613 (2014)
38.
Zurück zum Zitat Luckham, D.C.: The Power of Events: An Introduction to Complex Event Processing in Distributed Enterprise Systems. Addison-Wesley, Boston (2002) Luckham, D.C.: The Power of Events: An Introduction to Complex Event Processing in Distributed Enterprise Systems. Addison-Wesley, Boston (2002)
39.
Zurück zum Zitat Luckham, D.C.: Event Processing for Business: Organizing the Real-Time Enterprise. Wiley, New York (2012)CrossRef Luckham, D.C.: Event Processing for Business: Organizing the Real-Time Enterprise. Wiley, New York (2012)CrossRef
40.
Zurück zum Zitat Malewicz, G., Austern, M.H., Bik, A.J.C., Dehnert, J.C., Horn, I., Leiser, N., Czajkowski, G.: Pregel: a system for large-scale graph processing. In: Proceedings of the ACM SIGMOD International Conference on Management of Data, SIGMOD 2010, Indianapolis, June 6–10, 2010, pp. 135–146 (2010). https://doi.org/10.1145/1807167.1807184 Malewicz, G., Austern, M.H., Bik, A.J.C., Dehnert, J.C., Horn, I., Leiser, N., Czajkowski, G.: Pregel: a system for large-scale graph processing. In: Proceedings of the ACM SIGMOD International Conference on Management of Data, SIGMOD 2010, Indianapolis, June 6–10, 2010, pp. 135–146 (2010). https://​doi.​org/​10.​1145/​1807167.​1807184
43.
Zurück zum Zitat Mhedhbi, A., Gupta, P., Khaliq, S., Salihoglu, S.: A+ indexes: lightweight and highly flexible adjacency lists for graph database management systems. CoRR arXiv:2004.00130 (2020) Mhedhbi, A., Gupta, P., Khaliq, S., Salihoglu, S.: A+ indexes: lightweight and highly flexible adjacency lists for graph database management systems. CoRR arXiv:​2004.​00130 (2020)
48.
Zurück zum Zitat Page, L., Brin, S., Motwani, R., Winograd, T.: The pagerank citation ranking: Bringing order to the web. Tech. rep, Stanford Digital Library Technologies Project (1998) Page, L., Brin, S., Motwani, R., Winograd, T.: The pagerank citation ranking: Bringing order to the web. Tech. rep, Stanford Digital Library Technologies Project (1998)
53.
Zurück zum Zitat Richardson, M., Domingos, P.M.: The intelligent surfer: probabilistic combination of link and content information in PageRank. In: proc. of NIPS’01, pp. 1441–1448. MIT Press (2001) Richardson, M., Domingos, P.M.: The intelligent surfer: probabilistic combination of link and content information in PageRank. In: proc. of NIPS’01, pp. 1441–1448. MIT Press (2001)
56.
Zurück zum Zitat Szárnyas, G., Marton, J., Maginecz, J., Varró, D.: Reducing property graph queries to relational algebra for incremental view maintenance. CoRR arXiv:1806.07344 (2018) Szárnyas, G., Marton, J., Maginecz, J., Varró, D.: Reducing property graph queries to relational algebra for incremental view maintenance. CoRR arXiv:​1806.​07344 (2018)
61.
Zurück zum Zitat Troya, J., Wimmer, M., Burgueño, L., Vallecillo, A.: Towards approximate model transformations. In: Proc. of AMT@MoDELS’14, pp. 44–53. CEUR-WS (2014) Troya, J., Wimmer, M., Burgueño, L., Vallecillo, A.: Towards approximate model transformations. In: Proc. of AMT@MoDELS’14, pp. 44–53. CEUR-WS (2014)
63.
Zurück zum Zitat Trushkowsky, B., Kraska, T., Franklin, M.J., Sarkar, P.: Answering enumeration queries with the crowd. Commun. ACM 59(1), 118–127 (2016)CrossRef Trushkowsky, B., Kraska, T., Franklin, M.J., Sarkar, P.: Answering enumeration queries with the crowd. Commun. ACM 59(1), 118–127 (2016)CrossRef
68.
Zurück zum Zitat Webber, J., Robinson, I., Eifrem, E.: Graph databases. O’Reilly Media (2013) Webber, J., Robinson, I., Eifrem, E.: Graph databases. O’Reilly Media (2013)
69.
Zurück zum Zitat Wohlin, C., Runeson, P., Höst, M., Ohlsson, M.C., Regnell, B.: Experimentation in Software Engineering. Springer, Berlin (2012)CrossRef Wohlin, C., Runeson, P., Höst, M., Ohlsson, M.C., Regnell, B.: Experimentation in Software Engineering. Springer, Berlin (2012)CrossRef
Metadaten
Titel
Improving query performance on dynamic graphs
verfasst von
Gala Barquero
Javier Troya
Antonio Vallecillo
Publikationsdatum
02.11.2020
Verlag
Springer Berlin Heidelberg
Erschienen in
Software and Systems Modeling / Ausgabe 4/2021
Print ISSN: 1619-1366
Elektronische ISSN: 1619-1374
DOI
https://doi.org/10.1007/s10270-020-00832-3

Weitere Artikel der Ausgabe 4/2021

Software and Systems Modeling 4/2021 Zur Ausgabe