{"title":"On supporting compilation in spatial query engines: (vision paper)","authors":"Ruby Y. Tahboub, Tiark Rompf","doi":"10.1145/2996913.2996945","DOIUrl":null,"url":null,"abstract":"Today's 'Big' spatial computing and analytics are largely processed in-memory. Still, evaluation in prominent spatial query engines is neither fully optimized for modern-class platforms nor taking full advantage of compilation (i.e., generating low-level query code). Query compilation has been rapidly rising inside in-memory relational database management systems (RDBMSs) achieving remarkable speedups; how can we bring similar benefits to spatial query engines? In this research, we bring in proven Programming Languages (PL) approaches e.g., partial evaluation, generative programming, etc. and leverage the power of modern hardware to extend query compilation inside spatial query engines. We envision a fully compiled spatial query engine that is efficient and feasible to implement in a high-level language. We describe LB2-Spatial; a prototype for a fully compiled spatial query engine that employs generative and multi-stage programming to realize query compilation. Furthermore, we discuss challenges, and conduct a preliminary experiment to highlight potential gains of compilation. Finally, we sketch potential avenues for supporting spatial query compilation in Postgres/ PostGIS; a traditional RDBMS and Spark/ Spark SQL; a main-memory cluster computing framework.","PeriodicalId":20525,"journal":{"name":"Proceedings of the 24th ACM SIGSPATIAL International Conference on Advances in Geographic Information Systems","volume":"85 1","pages":""},"PeriodicalIF":0.0000,"publicationDate":"2016-10-31","publicationTypes":"Journal Article","fieldsOfStudy":null,"isOpenAccess":false,"openAccessPdf":"","citationCount":"11","resultStr":null,"platform":"Semanticscholar","paperid":null,"PeriodicalName":"Proceedings of the 24th ACM SIGSPATIAL International Conference on Advances in Geographic Information Systems","FirstCategoryId":"1085","ListUrlMain":"https://doi.org/10.1145/2996913.2996945","RegionNum":0,"RegionCategory":null,"ArticlePicture":[],"TitleCN":null,"AbstractTextCN":null,"PMCID":null,"EPubDate":"","PubModel":"","JCR":"","JCRName":"","Score":null,"Total":0}
引用次数: 11
Abstract
Today's 'Big' spatial computing and analytics are largely processed in-memory. Still, evaluation in prominent spatial query engines is neither fully optimized for modern-class platforms nor taking full advantage of compilation (i.e., generating low-level query code). Query compilation has been rapidly rising inside in-memory relational database management systems (RDBMSs) achieving remarkable speedups; how can we bring similar benefits to spatial query engines? In this research, we bring in proven Programming Languages (PL) approaches e.g., partial evaluation, generative programming, etc. and leverage the power of modern hardware to extend query compilation inside spatial query engines. We envision a fully compiled spatial query engine that is efficient and feasible to implement in a high-level language. We describe LB2-Spatial; a prototype for a fully compiled spatial query engine that employs generative and multi-stage programming to realize query compilation. Furthermore, we discuss challenges, and conduct a preliminary experiment to highlight potential gains of compilation. Finally, we sketch potential avenues for supporting spatial query compilation in Postgres/ PostGIS; a traditional RDBMS and Spark/ Spark SQL; a main-memory cluster computing framework.