TY - GEN
T1 - Recursive SQL for Data Mining
AU - Schüle, Maximilian Emanuel
AU - Kemper, Alfons
AU - Neumann, Thomas
N1 - Publisher Copyright:
© 2022 ACM.
PY - 2022/7/6
Y1 - 2022/7/6
N2 - To implement algorithms within database systems beyond the design of SQL as a data query language, library functions or external tools were used that require the extraction of data first. To eliminate the need of data extraction out of database systems, we argue that SQL-92 plus recursive tables is capable of expressing user-defined algorithms. To underline this claim, we transform selected algorithms out of graph mining, clustering and association rule analysis into recursive common table expressions (CTEs). We compare their performance to the one of user-defined functions and external tools. Our evaluation shows a competitive performance when using recursive CTEs to library functions either when using a disk-based database systems or a modern in-memory engine.
AB - To implement algorithms within database systems beyond the design of SQL as a data query language, library functions or external tools were used that require the extraction of data first. To eliminate the need of data extraction out of database systems, we argue that SQL-92 plus recursive tables is capable of expressing user-defined algorithms. To underline this claim, we transform selected algorithms out of graph mining, clustering and association rule analysis into recursive common table expressions (CTEs). We compare their performance to the one of user-defined functions and external tools. Our evaluation shows a competitive performance when using recursive CTEs to library functions either when using a disk-based database systems or a modern in-memory engine.
UR - http://www.scopus.com/inward/record.url?scp=85137693652&partnerID=8YFLogxK
U2 - 10.1145/3538712.3538746
DO - 10.1145/3538712.3538746
M3 - Conference contribution
AN - SCOPUS:85137693652
T3 - ACM International Conference Proceeding Series
BT - Scientific and Statistical Database Management - 34th International Conference, SSDBM 2022 - Proceedings
A2 - Pourabbas, Elaheh
A2 - Zhou, Yongluan
A2 - Li, Yuchen
A2 - Yang, Bin
PB - Association for Computing Machinery
T2 - 34th International Conference on Scientific and Statistical Database Management, SSDBM 2022
Y2 - 6 July 2022 through 8 July 2022
ER -