Recursive SQL for Data Mining

Maximilian Emanuel Schüle, Alfons Kemper, Thomas Neumann

Research output: Chapter in Book/Report/Conference proceedingConference contributionpeer-review

Abstract

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.

Original languageEnglish
Title of host publicationScientific and Statistical Database Management - 34th International Conference, SSDBM 2022 - Proceedings
EditorsElaheh Pourabbas, Yongluan Zhou, Yuchen Li, Bin Yang
PublisherAssociation for Computing Machinery
ISBN (Electronic)9781450396677
DOIs
StatePublished - 6 Jul 2022
Event34th International Conference on Scientific and Statistical Database Management, SSDBM 2022 - Copenhagen, Denmark
Duration: 6 Jul 20228 Jul 2022

Publication series

NameACM International Conference Proceeding Series

Conference

Conference34th International Conference on Scientific and Statistical Database Management, SSDBM 2022
Country/TerritoryDenmark
CityCopenhagen
Period6/07/228/07/22

Fingerprint

Dive into the research topics of 'Recursive SQL for Data Mining'. Together they form a unique fingerprint.

Cite this