Online aggregation query space optimization technology for streaming data
Abstract We present a novel subspace segment tree data structure designed for online aggregation queries on streaming data, addressing the challenge of efficient query processing under limited storage space in embedded systems. Traditional segment tree structures require several times the storage space of the original data, making them impractical for resource-constrained embedded devices. The proposed Subspace Segment Tree optimizes space utilization by partitioning the tree structure into three hierarchical layers, namely the solid, dynamic, and imaginary layers, and implementing a dynamic memory allocation and reclamation strategy based on a memory pool. This approach allocates memory only when nodes are actively used, significantly reducing space overhead. Experimental results demonstrate that the proposed method achieves over 90% space optimization compared to traditional segment trees while maintaining comparable time complexity, effectively resolving the space efficiency issue for aggregation queries in embedded systems.
Authors
- Xiaoou Ding (ORCID: https://orcid.org/0000-0002-9426-1820)
- Jiaxuan Su (ORCID: https://orcid.org/0009-0004-1470-142X)
- Haibin Qin
- Hongzhi Wang
Publication Details
- Journal
- Tsinghua Science & Technology
- Published
- 2026-10-08
- DOI
- https://doi.org/10.26599/tst.2026.9010074
- Primary Topic
- Advanced Database Systems and Queries
- Type
- article
- Field-Weighted Citation Impact
- 0.00