Hesam Shahrokhi, Amirali Kaboli, Mahdi Ghorbani, Amir Shaikhha
{"title":"PyTond:数据库肩上的高效 Python 数据科学","authors":"Hesam Shahrokhi, Amirali Kaboli, Mahdi Ghorbani, Amir Shaikhha","doi":"arxiv-2407.11616","DOIUrl":null,"url":null,"abstract":"Python data science libraries such as Pandas and NumPy have recently gained\nimmense popularity. Although these libraries are feature-rich and easy to use,\ntheir scalability limitations require more robust computational resources. In\nthis paper, we present PyTond, an efficient approach to push the processing of\ndata science workloads down into the database engines that are already known\nfor their big data handling capabilities. Compared to the previous work, by\nintroducing TondIR, our approach can capture a more comprehensive set of\nworkloads and data layouts. Moreover, by doing IR-level optimizations, we\ngenerate better SQL code that improves the query processing by the underlying\ndatabase engine. Our evaluation results show promising performance improvement\ncompared to Python and other alternatives for diverse data science workloads.","PeriodicalId":501197,"journal":{"name":"arXiv - CS - Programming Languages","volume":"60 1","pages":""},"PeriodicalIF":0.0000,"publicationDate":"2024-07-16","publicationTypes":"Journal Article","fieldsOfStudy":null,"isOpenAccess":false,"openAccessPdf":"","citationCount":"0","resultStr":"{\"title\":\"PyTond: Efficient Python Data Science on the Shoulders of Databases\",\"authors\":\"Hesam Shahrokhi, Amirali Kaboli, Mahdi Ghorbani, Amir Shaikhha\",\"doi\":\"arxiv-2407.11616\",\"DOIUrl\":null,\"url\":null,\"abstract\":\"Python data science libraries such as Pandas and NumPy have recently gained\\nimmense popularity. Although these libraries are feature-rich and easy to use,\\ntheir scalability limitations require more robust computational resources. In\\nthis paper, we present PyTond, an efficient approach to push the processing of\\ndata science workloads down into the database engines that are already known\\nfor their big data handling capabilities. Compared to the previous work, by\\nintroducing TondIR, our approach can capture a more comprehensive set of\\nworkloads and data layouts. Moreover, by doing IR-level optimizations, we\\ngenerate better SQL code that improves the query processing by the underlying\\ndatabase engine. Our evaluation results show promising performance improvement\\ncompared to Python and other alternatives for diverse data science workloads.\",\"PeriodicalId\":501197,\"journal\":{\"name\":\"arXiv - CS - Programming Languages\",\"volume\":\"60 1\",\"pages\":\"\"},\"PeriodicalIF\":0.0000,\"publicationDate\":\"2024-07-16\",\"publicationTypes\":\"Journal Article\",\"fieldsOfStudy\":null,\"isOpenAccess\":false,\"openAccessPdf\":\"\",\"citationCount\":\"0\",\"resultStr\":null,\"platform\":\"Semanticscholar\",\"paperid\":null,\"PeriodicalName\":\"arXiv - CS - Programming Languages\",\"FirstCategoryId\":\"1085\",\"ListUrlMain\":\"https://doi.org/arxiv-2407.11616\",\"RegionNum\":0,\"RegionCategory\":null,\"ArticlePicture\":[],\"TitleCN\":null,\"AbstractTextCN\":null,\"PMCID\":null,\"EPubDate\":\"\",\"PubModel\":\"\",\"JCR\":\"\",\"JCRName\":\"\",\"Score\":null,\"Total\":0}","platform":"Semanticscholar","paperid":null,"PeriodicalName":"arXiv - CS - Programming Languages","FirstCategoryId":"1085","ListUrlMain":"https://doi.org/arxiv-2407.11616","RegionNum":0,"RegionCategory":null,"ArticlePicture":[],"TitleCN":null,"AbstractTextCN":null,"PMCID":null,"EPubDate":"","PubModel":"","JCR":"","JCRName":"","Score":null,"Total":0}
PyTond: Efficient Python Data Science on the Shoulders of Databases
Python data science libraries such as Pandas and NumPy have recently gained
immense popularity. Although these libraries are feature-rich and easy to use,
their scalability limitations require more robust computational resources. In
this paper, we present PyTond, an efficient approach to push the processing of
data science workloads down into the database engines that are already known
for their big data handling capabilities. Compared to the previous work, by
introducing TondIR, our approach can capture a more comprehensive set of
workloads and data layouts. Moreover, by doing IR-level optimizations, we
generate better SQL code that improves the query processing by the underlying
database engine. Our evaluation results show promising performance improvement
compared to Python and other alternatives for diverse data science workloads.