The Space-Time Complexity of Sum-Product Queries
While extensive research on query evaluation has achieved consistent improvements in the time complexity of algorithms, the space complexity of query evaluation has been largely ignored. This is a particular challenge in settings with strict pre-defined space constraints. In this paper, we examine the combined space-time complexity of conjunctive queries (CQs) and, more generally, of sum-product queries (SPQs). We propose several classes of space-efficient algorithms for evaluating SPQs, and we show that the optimal time complexity is almost always achievable with asymptotically lower space complexity than traditional approaches.
Authors
- Kyle Deeds (ORCID: https://orcid.org/0000-0003-2267-3276)
- Dan Suciu (ORCID: https://orcid.org/0000-0002-4144-0868)
- Timo Camillo Merkl (ORCID: https://orcid.org/0009-0003-7206-2518)
- Reinhard Pichler (ORCID: https://orcid.org/0000-0002-1760-122X)
Institutions
- TU Wien (AT)
- University of Washington (US)
Publication Details
- Journal
- Proceedings of the ACM on Management of Data
- Published
- 2025-11-10
- DOI
- https://doi.org/10.1145/3767719
- Primary Topic
- Advanced Database Systems and Queries
- Type
- article
- Field-Weighted Citation Impact
- 0.00