{"status":"ok","message-type":"work","message-version":"1.0.0","message":{"indexed":{"date-parts":[[2024,6,11]],"date-time":"2024-06-11T05:40:15Z","timestamp":1718084415457},"reference-count":26,"publisher":"Association for Computing Machinery (ACM)","issue":"12","content-domain":{"domain":[],"crossmark-restriction":false},"short-container-title":["Proc. VLDB Endow."],"published-print":{"date-parts":[[2015,8]]},"abstract":"<jats:p>The emerging category of self-service enterprise applications motivates support for \"live programming\" in the database, where the user's iterative data exploration triggers changes to installed application code and its output in real time.<\/jats:p><jats:p>This paper discusses the technical challenges in supporting live programming in the database and presents the solution implemented in the LogicBlox commercial system. The workhorse architectural component is a \"meta-engine\" that incrementally maintains metadata representing application code, guides its compilation into an internal representation in the database kernel, and orchestrates maintenance of materialized views based on those changes. Our approach mirrors LogicBlox's declarative programming model and describes the maintenance of application code using declarative meta-rules; the meta-engine is essentially a \"bootstrap\" version of the database engine proper.<\/jats:p><jats:p>Beyond live programming, the meta-engine turns out effective for a range of static analysis and optimization tasks. Outside of the database context, we speculate that our design may even provide a novel means of building incremental compilers for general-purpose programming languages.<\/jats:p>","DOI":"10.14778\/2824032.2824075","type":"journal-article","created":{"date-parts":[[2015,9,16]],"date-time":"2015-09-16T12:18:17Z","timestamp":1442405897000},"page":"1782-1791","source":"Crossref","is-referenced-by-count":4,"title":["Live programming in the LogicBlox system"],"prefix":"10.14778","volume":"8","author":[{"given":"Todd J.","family":"Green","sequence":"first","affiliation":[{"name":"LogicBlox, Inc."}],"role":[{"role":"author","vocabulary":"crossref"}]},{"given":"Dan","family":"Olteanu","sequence":"additional","affiliation":[{"name":"LogicBlox, Inc."}],"role":[{"role":"author","vocabulary":"crossref"}]},{"given":"Geoffrey","family":"Washburn","sequence":"additional","affiliation":[{"name":"LogicBlox, Inc."}],"role":[{"role":"author","vocabulary":"crossref"}]}],"member":"320","published-online":{"date-parts":[[2015,8]]},"reference":[{"key":"e_1_2_1_1_1","volume-title":"Quotes about Python","author":"Language Website Python Programming","year":"2014","unstructured":"Python Programming Language Website . Quotes about Python , 2014 . http:\/\/www.python.org\/about\/quotes\/. Python Programming Language Website. Quotes about Python, 2014. http:\/\/www.python.org\/about\/quotes\/."},{"key":"e_1_2_1_2_1","volume-title":"Foundations of Databases","author":"Abiteboul S.","year":"1995","unstructured":"S. Abiteboul , R. Hull , and V. Vianu . Foundations of Databases . Addison-Wesley , 1995 . S. Abiteboul, R. Hull, and V. Vianu. Foundations of Databases. Addison-Wesley, 1995."},{"issue":"1","key":"e_1_2_1_3_1","doi-asserted-by":"crossref","first-page":"1","DOI":"10.1007\/s12532-008-0001-1","article-title":"Solving constraint integer programs","volume":"1","author":"Achterberg T.","year":"2009","unstructured":"T. Achterberg . SCIP : Solving constraint integer programs . Math. Programming Computation , 1 ( 1 ): 1 -- 41 , 2009 . T. Achterberg. SCIP: Solving constraint integer programs. Math. Programming Computation, 1(1):1--41, 2009.","journal-title":"Math. Programming Computation"},{"key":"e_1_2_1_4_1","first-page":"1371","volume-title":"SIGMOD","author":"Aref M.","year":"2015","unstructured":"M. Aref , B. ten Cate , T. J. Green , B. Kimelfeld , D. Olteanu , E. Pasalic , T. L. Veldhuizen , and G. Washburn . Design and implementation of the LogicBlox system . In SIGMOD , pages 1371 -- 1382 , 2015 . 10.1145\/2723372.2742796 M. Aref, B. ten Cate, T. J. Green, B. Kimelfeld, D. Olteanu, E. Pasalic, T. L. Veldhuizen, and G. Washburn. Design and implementation of the LogicBlox system. In SIGMOD, pages 1371--1382, 2015. 10.1145\/2723372.2742796"},{"key":"e_1_2_1_5_1","first-page":"16","volume-title":"SPAA","author":"Blelloch G. E.","year":"1998","unstructured":"G. E. Blelloch and M. Reid-Miller . Fast set operations using treaps . In SPAA , pages 16 -- 26 , 1998 . 10.1145\/277651.277660 G. E. Blelloch and M. Reid-Miller. Fast set operations using treaps. In SPAA, pages 16--26, 1998. 10.1145\/277651.277660"},{"key":"e_1_2_1_6_1","first-page":"1529","volume-title":"1st int. workshop on live programming (live). In ICSE","author":"Burg B.","year":"2013","unstructured":"B. Burg , A. Kuhn , and C. Parnin . 1st int. workshop on live programming (live). In ICSE , pages 1529 -- 1530 , 2013 . B. Burg, A. Kuhn, and C. Parnin. 1st int. workshop on live programming (live). In ICSE, pages 1529--1530, 2013."},{"key":"e_1_2_1_7_1","first-page":"63","volume-title":"SNAPL","author":"Chin B.","year":"2015","unstructured":"B. Chin , D. von Dincklage , V. Ercegovak , P. Hawkins , M. S. Miller , F. Och , C. Olston , and F. Pereira . Yedalog: Exploring knowledge at scale . In SNAPL , pages 63 -- 78 , 2015 . B. Chin, D. von Dincklage, V. Ercegovak, P. Hawkins, M. S. Miller, F. Och, C. Olston, and F. Pereira. Yedalog: Exploring knowledge at scale. In SNAPL, pages 63--78, 2015."},{"key":"e_1_2_1_8_1","doi-asserted-by":"publisher","DOI":"10.14778\/1453856.1453978"},{"key":"e_1_2_1_9_1","doi-asserted-by":"crossref","DOI":"10.1007\/978-3-642-24206-9","volume-title":"Datalog Reloaded: Proceedings of the First International Datalog 2.0 Workshop. Springer","author":"de Moor O.","year":"2011","unstructured":"O. de Moor , G. Gottlob , T. Furche , and A. Sellers , editors . Datalog Reloaded: Proceedings of the First International Datalog 2.0 Workshop. Springer , 2011 . O. de Moor, G. Gottlob, T. Furche, and A. Sellers, editors. Datalog Reloaded: Proceedings of the First International Datalog 2.0 Workshop. Springer, 2011."},{"key":"e_1_2_1_10_1","doi-asserted-by":"publisher","DOI":"10.1145\/344788.344808"},{"key":"e_1_2_1_11_1","doi-asserted-by":"publisher","DOI":"10.1561\/1900000017"},{"key":"e_1_2_1_12_1","doi-asserted-by":"publisher","DOI":"10.1007\/s00224-011-9323-x"},{"key":"e_1_2_1_13_1","doi-asserted-by":"crossref","first-page":"157","DOI":"10.1145\/170035.170066","volume-title":"SIGMOD","author":"Gupta A.","year":"1993","unstructured":"A. Gupta , I. S. Mumick , and V. S. Subrahmanian . Maintaining views incrementally . In SIGMOD , pages 157 -- 166 , 1993 . 10.1145\/170036.170066 A. Gupta, I. S. Mumick, and V. S. Subrahmanian. Maintaining views incrementally. In SIGMOD, pages 157--166, 1993. 10.1145\/170036.170066"},{"key":"e_1_2_1_14_1","volume-title":"Gurobi optimizer reference manual","year":"2015","unstructured":"Gurobi. Gurobi optimizer reference manual , 2015 . http:\/\/www.gurobi.com. Gurobi. Gurobi optimizer reference manual, 2015. http:\/\/www.gurobi.com."},{"key":"e_1_2_1_15_1","doi-asserted-by":"crossref","DOI":"10.1201\/b17711","volume-title":"LogiQL: A Query Language for Smart Databases","author":"Halpin T.","year":"2014","unstructured":"T. Halpin and S. Rugaber . LogiQL: A Query Language for Smart Databases . CRC Press , 2014 . T. Halpin and S. Rugaber. LogiQL: A Query Language for Smart Databases. CRC Press, 2014."},{"key":"e_1_2_1_16_1","first-page":"1213","volume-title":"SIGMOD","author":"Huang S. S.","year":"2011","unstructured":"S. S. Huang , T. J. Green , and B. T. Loo . Datalog and emerging applications: An interactive tutorial . In SIGMOD , pages 1213 -- 1216 , 2011 . 10.1145\/1989323.1989456 S. S. Huang, T. J. Green, and B. T. Loo. Datalog and emerging applications: An interactive tutorial. In SIGMOD, pages 1213--1216, 2011. 10.1145\/1989323.1989456"},{"key":"e_1_2_1_17_1","doi-asserted-by":"publisher","DOI":"10.14778\/2732951.2732959"},{"key":"e_1_2_1_18_1","first-page":"87","volume-title":"PODS","author":"Koch C.","year":"2010","unstructured":"C. Koch . Incremental query evaluation in a ring of databases . In PODS , pages 87 -- 98 , 2010 . 10.1145\/1807085.1807100 C. Koch. Incremental query evaluation in a ring of databases. In PODS, pages 87--98, 2010. 10.1145\/1807085.1807100"},{"issue":"1","key":"e_1_2_1_19_1","first-page":"70","article-title":"Abstraction without regret in database systems building: a manifesto","volume":"37","author":"Koch C.","year":"2014","unstructured":"C. Koch . Abstraction without regret in database systems building: a manifesto . IEEE Data Eng. Bull. , 37 ( 1 ): 70 -- 79 , 2014 . C. Koch. Abstraction without regret in database systems building: a manifesto. IEEE Data Eng. Bull., 37(1):70--79, 2014.","journal-title":"IEEE Data Eng. Bull."},{"key":"e_1_2_1_20_1","volume-title":"Survey results: Are developers more productive in Scala?","author":"Lea G.","year":"2013","unstructured":"G. Lea . Survey results: Are developers more productive in Scala? , 2013 . http:\/\/www.grahamlea.com\/2013\/02\/survey-results-are-developers-more-productive-in-scala\/. G. Lea. Survey results: Are developers more productive in Scala?, 2013. http:\/\/www.grahamlea.com\/2013\/02\/survey-results-are-developers-more-productive-in-scala\/."},{"key":"e_1_2_1_21_1","doi-asserted-by":"publisher","DOI":"10.1145\/1592761.1592785"},{"key":"e_1_2_1_22_1","volume-title":"Computing With Logic: Logic Programming With Prolog","author":"Maier D.","year":"1988","unstructured":"D. Maier and D. S. Warren . Computing With Logic: Logic Programming With Prolog . Addison-Wesley , 1988 . D. Maier and D. S. Warren. Computing With Logic: Logic Programming With Prolog. Addison-Wesley, 1988."},{"key":"e_1_2_1_23_1","volume-title":"Purely functional data structures","author":"Okasaki C.","year":"1999","unstructured":"C. Okasaki . Purely functional data structures . Cambridge University Press , 1999 . C. Okasaki. Purely functional data structures. Cambridge University Press, 1999."},{"issue":"4","key":"e_1_2_1_24_1","doi-asserted-by":"crossref","first-page":"464","DOI":"10.1007\/BF01940876","article-title":"Randomized search trees","volume":"16","author":"Seidel R.","year":"1996","unstructured":"R. Seidel and C. R. Aragon . Randomized search trees . Algorithmica , 16 ( 4\/5 ): 464 -- 497 , 1996 . R. Seidel and C. R. Aragon. Randomized search trees. Algorithmica, 16(4\/5):464--497, 1996.","journal-title":"Algorithmica"},{"key":"e_1_2_1_25_1","first-page":"96","volume-title":"ICDT","author":"Veldhuizen T. L.","year":"2014","unstructured":"T. L. Veldhuizen . Triejoin : A simple, worst-case optimal join algorithm . In ICDT , pages 96 -- 106 , 2014 . Also CoRR abs\/1210.0481 (2012). T. L. Veldhuizen. Triejoin: A simple, worst-case optimal join algorithm. In ICDT, pages 96--106, 2014. Also CoRR abs\/1210.0481 (2012)."},{"key":"e_1_2_1_26_1","first-page":"78","volume-title":"SIGMOD","author":"Wolfson O.","year":"1991","unstructured":"O. Wolfson , H. M. Dewan , S. J. Stolfo , and Y. Yemini . Incremental evaluation of rules and its relationship to parallelism . In SIGMOD , pages 78 -- 87 , 1991 . 10.1145\/119995.115799 O. Wolfson, H. M. Dewan, S. J. Stolfo, and Y. Yemini. Incremental evaluation of rules and its relationship to parallelism. In SIGMOD, pages 78--87, 1991. 10.1145\/119995.115799"}],"container-title":["Proceedings of the VLDB Endowment"],"original-title":[],"language":"en","link":[{"URL":"https:\/\/dl.acm.org\/doi\/pdf\/10.14778\/2824032.2824075","content-type":"unspecified","content-version":"vor","intended-application":"similarity-checking"}],"deposited":{"date-parts":[[2024,6,11]],"date-time":"2024-06-11T05:06:03Z","timestamp":1718082363000},"score":1,"resource":{"primary":{"URL":"https:\/\/dl.acm.org\/doi\/10.14778\/2824032.2824075"}},"subtitle":["a MetaLogiQL approach"],"short-title":[],"issued":{"date-parts":[[2015,8]]},"references-count":26,"journal-issue":{"issue":"12","published-print":{"date-parts":[[2015,8]]}},"alternative-id":["10.14778\/2824032.2824075"],"URL":"https:\/\/doi.org\/10.14778\/2824032.2824075","relation":{},"ISSN":["2150-8097"],"issn-type":[{"value":"2150-8097","type":"print"}],"subject":[],"published":{"date-parts":[[2015,8]]}}}