{"status":"ok","message-type":"work","message-version":"1.0.0","message":{"indexed":{"date-parts":[[2026,9,4]],"date-time":"2026-09-04T00:43:18Z","timestamp":1788482598303,"version":"build-2803163510"},"reference-count":17,"publisher":"Springer Science and Business Media LLC","issue":"3","license":[{"start":{"date-parts":[[2023,5,12]],"date-time":"2023-05-12T00:00:00Z","timestamp":1683849600000},"content-version":"tdm","delay-in-days":0,"URL":"https:\/\/creativecommons.org\/licenses\/by\/4.0"},{"start":{"date-parts":[[2023,5,12]],"date-time":"2023-05-12T00:00:00Z","timestamp":1683849600000},"content-version":"vor","delay-in-days":0,"URL":"https:\/\/creativecommons.org\/licenses\/by\/4.0"}],"funder":[{"DOI":"10.13039\/501100001659","name":"Deutsche Forschungsgemeinschaft","doi-asserted-by":"publisher","award":["SA 782\/28-2"],"award-info":[{"award-number":["SA 782\/28-2"]}],"id":[{"id":"10.13039\/501100001659","id-type":"DOI","asserted-by":"publisher"}]},{"DOI":"10.13039\/501100001659","name":"Deutsche Forschungsgemeinschaft","doi-asserted-by":"publisher","award":["SA 782\/28-2"],"award-info":[{"award-number":["SA 782\/28-2"]}],"id":[{"id":"10.13039\/501100001659","id-type":"DOI","asserted-by":"publisher"}]},{"DOI":"10.13039\/100007569","name":"Carl-Zeiss-Stiftung","doi-asserted-by":"publisher","id":[{"id":"10.13039\/100007569","id-type":"DOI","asserted-by":"publisher"}]},{"DOI":"10.13039\/501100007826","name":"Technische Universit\u00e4t Ilmenau","doi-asserted-by":"crossref","id":[{"id":"10.13039\/501100007826","id-type":"DOI","asserted-by":"crossref"}]}],"content-domain":{"domain":["link.springer.com"],"crossmark-restriction":false},"short-container-title":["Distrib Parallel Databases"],"published-print":{"date-parts":[[2023,9]]},"abstract":"<jats:title>Abstract<\/jats:title>\n                  <jats:p>Compiling database queries into compact and efficient machine code has proven to be a great technique to improve query performance and exploit characteristics of modern hardware. Particularly for graph database queries, which often execute the exact instructions for processing, this technique can lead to an improvement. Furthermore, compilation frameworks like LLVM provide powerful optimization techniques and support different backends. However, the time for generating and optimizing machine code becomes an issue for short-running queries or queries which could produce early results quickly. In this work, we present an adaptive approach integrating graph query interpretation and compilation. While query compilation and code generation are running in the background, the query execution starts using the interpreter. When the code generation is finished, the execution switches to the compiled code. Our evaluation of the approach using short-running and complex queries show that autonomously switching execution modes helps to improve the runtime of all types of queries and additionally to hide compilation times and the additional latencies of the underlying storage.<\/jats:p>","DOI":"10.1007\/s10619-023-07430-4","type":"journal-article","created":{"date-parts":[[2023,5,12]],"date-time":"2023-05-12T13:03:01Z","timestamp":1683896581000},"page":"359-386","update-policy":"https:\/\/doi.org\/10.1007\/springer_crossmark_policy","source":"Crossref","is-referenced-by-count":4,"title":["Adaptive query compilation in graph databases"],"prefix":"10.1007","volume":"41","author":[{"given":"Alexander","family":"Baumstark","sequence":"first","affiliation":[],"role":[{"vocabulary":"crossref","role":"author"}]},{"given":"Muhammad Attahir","family":"Jibril","sequence":"additional","affiliation":[],"role":[{"vocabulary":"crossref","role":"author"}]},{"given":"Kai-Uwe","family":"Sattler","sequence":"additional","affiliation":[],"role":[{"vocabulary":"crossref","role":"author"}]}],"member":"297","published-online":{"date-parts":[[2023,5,12]]},"reference":[{"issue":"1","key":"7430_CR1","doi-asserted-by":"publisher","first-page":"47","DOI":"10.1016\/0096-0551(81)90048-5","volume":"6","author":"GJ Chaitin","year":"1981","unstructured":"Chaitin, G.J., Auslander, M.A., Chandra, A.K., Cocke, J., Hopkins, M.E., Markstein, P.W.: Register allocation via coloring. Comput. Lang. 6(1), 47\u201357 (1981)","journal-title":"Computer languages"},{"key":"7430_CR2","unstructured":"Deutsch, A., Xu, Y., Wu, M., Lee, V.E.: Tigergraph: a native MPP graph database. CoRR. (2019). arXiv:1901.08248"},{"issue":"1","key":"7430_CR3","first-page":"22","volume":"37","author":"C Freedman","year":"2014","unstructured":"Freedman, C., Ismert, E., Larson, P.: Compilation in the microsoft SQL server hekaton engine. IEEE Data Eng. Bull. 37(1), 22\u201330 (2014)","journal-title":"IEEE Data Eng Bull"},{"key":"7430_CR4","doi-asserted-by":"publisher","unstructured":"Funke, H., Teubner, J.: Low-latency compilation of SQL queries to machine code. Proc. VLDB Endow. 14(12):2691\u20132694 (2021). https:\/\/doi.org\/10.14778\/3476311.3476321","DOI":"10.14778\/3476311.3476321"},{"key":"7430_CR5","doi-asserted-by":"publisher","unstructured":"Funke, H., M\u00fchlig, J., Teubner, J.: Efficient generation of machine code for query compilers. In: 16th International Workshop on Data Management on New Hardware, DaMoN 2020, Portland, OR, USA, 15 June 2020. ACM, New York, pp 6:1\u20136:7 (2020). https:\/\/doi.org\/10.1145\/3399666.3399925","DOI":"10.1145\/3399666.3399925"},{"key":"7430_CR6","doi-asserted-by":"publisher","first-page":"701","DOI":"10.1007\/978-3-642-59412-0_40","volume-title":"Software Pioneers","author":"E Gamma","year":"2002","unstructured":"Gamma, E., Helm, R., Johnson, R.E., Vlissides, J.M.: Design patterns: abstraction and reuse of object-oriented design. In: Broy, M., Denert, E. (eds.) Software Pioneers, pp. 701\u2013717. Springer, Berlin (2002). https:\/\/doi.org\/10.1007\/978-3-642-59412-0_40"},{"key":"7430_CR7","unstructured":"H\u00f6lsch, J., Grossniklaus, M.: An algebra and equivalences to transform graph patterns in NEO4J. In: Proceedings of the Workshops of the EDBT\/ICDT 2016 Joint Conference, EDBT\/ICDT Workshops 2016, Bordeaux, France, 15 March 2016"},{"key":"7430_CR8","unstructured":"Jibril, M.A., Baumstark, A., G\u00f6tze, P., Sattler, K.U.: Jit happens: transactional graph processing in persistent memory meets just-in-time compilation. In: 24th International Conference on Extending Database Technology (EDBT) 2021, Nicosia, Cyprus (2021)"},{"issue":"13","key":"7430_CR9","doi-asserted-by":"publisher","first-page":"2209","DOI":"10.14778\/3275366.3284966","volume":"11","author":"T Kersten","year":"2018","unstructured":"Kersten, T., Leis, V., et al.: Everything you always wanted to know about compiled and vectorized queries but were afraid to ask. Proc. VLDB Endow. 11(13), 2209\u20132222 (2018)","journal-title":"Proc VLDB Endow"},{"issue":"5","key":"7430_CR10","doi-asserted-by":"publisher","first-page":"883","DOI":"10.1007\/s00778-020-00643-4","volume":"30","author":"T Kersten","year":"2021","unstructured":"Kersten, T., Leis, V., Neumann, T.: Tidy tuples and flying start: fast compilation and fast execution of relational queries in umbra. VLDB J. 30(5), 883\u2013905 (2021). https:\/\/doi.org\/10.1007\/s00778-020-00643-4","journal-title":"VLDB J"},{"key":"7430_CR11","doi-asserted-by":"crossref","unstructured":"Kohn, A., Leis, V., Neumann, T.: Adaptive execution of compiled queries. In: 34th IEEE International Conference on Data Engineering, ICDE 2018, Paris, France, 16\u201319 April 2018. IEEE Computer Society, pp 197\u2013208 (2018)","DOI":"10.1109\/ICDE.2018.00027"},{"key":"7430_CR12","doi-asserted-by":"crossref","unstructured":"Leis, V., Boncz, P.A., Kemper, A., Neumann, T.: Morsel-driven parallelism: a numa-aware query evaluation framework for the many-core age. In: International Conference on Management of Data, SIGMOD 2014, Snowbird, UT, USA, 22\u201327 June 2014, pp 743\u2013754 (2014)","DOI":"10.1145\/2588555.2610507"},{"issue":"1","key":"7430_CR13","first-page":"3","volume":"37","author":"T Neumann","year":"2014","unstructured":"Neumann, T., Leis, V.: Compiling database queries into machine code. IEEE Data Eng. Bull. 37(1), 3\u201311 (2014)","journal-title":"IEEE Data Eng Bull"},{"issue":"14","key":"7430_CR14","doi-asserted-by":"publisher","first-page":"1707","DOI":"10.14778\/3007328.3007336","volume":"9","author":"H Pirk","year":"2016","unstructured":"Pirk, H., Moll, O.R., Zaharia, M., Madden, S.: Voodoo - A vector algebra for portable database performance on modern hardware. Proc. VLDB Endow. 9(14), 1707\u20131718 (2016)","journal-title":"Proc VLDB Endow"},{"key":"7430_CR15","doi-asserted-by":"publisher","unstructured":"Shaikhha, A., Klonatos, Y., et al.: How to architect a query compiler. In: \u00d6zcan, F., Koutrika, G., Madden, S. (eds.) Proceedings of the 2016 International Conference on Management of Data, SIGMOD Conference 2016, San Francisco, CA, June 26\u2013July 01, 2016. ACM, New York, pp 1907\u20131922 (2016). https:\/\/doi.org\/10.1145\/2882903.2915244","DOI":"10.1145\/2882903.2915244"},{"key":"7430_CR16","doi-asserted-by":"publisher","first-page":"e10","DOI":"10.1017\/S0956796818000102","volume":"28","author":"A Shaikhha","year":"2018","unstructured":"Shaikhha, A., Dashti, M., Koch, C.: Push versus pull-based loop fusion in query engines. J. Funct. Program. 28, e10 (2018)","journal-title":"J Funct Program"},{"key":"7430_CR17","doi-asserted-by":"publisher","unstructured":"Tahboub, R.Y., Essertel, G.M., Rompf, T.: How to architect a query compiler, revisited. In: Proceedings of the 2018 International Conference on Management of Data, SIGMOD Conference 2018, Houston, TX, USA, 10\u201315 June 2018. ACM, New York, pp 307\u2013322 (2018). https:\/\/doi.org\/10.1145\/3183713.3196893","DOI":"10.1145\/3183713.3196893"}],"container-title":["Distributed and Parallel Databases"],"original-title":[],"language":"en","link":[{"URL":"https:\/\/link.springer.com\/content\/pdf\/10.1007\/s10619-023-07430-4.pdf","content-type":"application\/pdf","content-version":"vor","intended-application":"text-mining"},{"URL":"https:\/\/link.springer.com\/article\/10.1007\/s10619-023-07430-4\/fulltext.html","content-type":"text\/html","content-version":"vor","intended-application":"text-mining"},{"URL":"https:\/\/link.springer.com\/content\/pdf\/10.1007\/s10619-023-07430-4.pdf","content-type":"application\/pdf","content-version":"vor","intended-application":"similarity-checking"}],"deposited":{"date-parts":[[2023,9,14]],"date-time":"2023-09-14T10:53:38Z","timestamp":1694688818000},"score":1,"resource":{"primary":{"URL":"https:\/\/link.springer.com\/10.1007\/s10619-023-07430-4"}},"subtitle":[],"short-title":[],"issued":{"date-parts":[[2023,5,12]]},"references-count":17,"journal-issue":{"issue":"3","published-print":{"date-parts":[[2023,9]]}},"alternative-id":["7430"],"URL":"https:\/\/doi.org\/10.1007\/s10619-023-07430-4","relation":{"has-preprint":[{"id-type":"doi","id":"10.21203\/rs.3.rs-2223228\/v1","asserted-by":"object"}]},"ISSN":["0926-8782","1573-7578"],"issn-type":[{"value":"0926-8782","type":"print"},{"value":"1573-7578","type":"electronic"}],"subject":[],"published":{"date-parts":[[2023,5,12]]},"assertion":[{"value":"20 April 2023","order":1,"name":"accepted","label":"Accepted","group":{"name":"ArticleHistory","label":"Article History"}},{"value":"12 May 2023","order":2,"name":"first_online","label":"First Online","group":{"name":"ArticleHistory","label":"Article History"}},{"order":1,"name":"Ethics","group":{"name":"EthicsHeading","label":"Declarations"}},{"value":"The authors declare no competing interests.","order":2,"name":"Ethics","group":{"name":"EthicsHeading","label":"Competing interests"}}]}}