Abstract
Ensuring relative consistency in executing temporal queries to access real-time sensor data streams maintained in a database is a challenging problem, particularly when data transmission delays are lengthy and highly variable. Due to the unordered arrivals of sensor data, the databases may contain numerous open data versions (ODVs) with undefined validity intervals. Accessing ODVs may violate the relative consistency requirements of temporal queries, resulting in incorrect results. Although the Re-execution with Every Update (REU) method can resolve this issue, it may introduce heavy re-execution costs and significant delays in query completion. In this paper, we study the problem of retrieving data items with temporal consistency requirements in a multi-data-stream database. To balance response time and meet the relative consistency requirements of queries, we introduce an enhanced REU mechanism called Re-Execution with Deadline (RED). Moreover, we propose a novel optional mechanism called Backward Execution Option (BEO) for temporal queries to achieve relative consistency in their execution with quick results by relaxing the data freshness constraints. By combining RED with BEO, we formulate the Repeated BEO (RBEO) to further reduce the query response time. We extend the timestamped key-value store MVLevelDB into MVLevelDB+ to implement the proposed mechanisms. To reduce the query re-execution cost as required in RED and REU, we designed the Query Pool with Execution State (QpES) mechanism to achieve relative consistency in query execution with lower checking overhead and only one re-execution. We conducted extensive evaluation experiments on MVLevelDB+ using benchmark programs to illustrate their performance characteristics on handling temporal queries in the modeled IoT system. © 2024 Copyright held by the owner/author(s). Publication rights licensed to ACM.
| Original language | English |
|---|---|
| Article number | 7 |
| Number of pages | 26 |
| Journal | ACM Transactions on Embedded Computing Systems |
| Volume | 24 |
| Issue number | 1 |
| Online published | 4 Sept 2024 |
| DOIs | |
| Publication status | Published - Jan 2025 |
Research Keywords
- Information systems
- Data access methods
- Data streams
- Temporal data
- Inconsistent data
- Uncertainty
- Sensor networks
- IoT
- sensor data management
- temporal consistency
- temporal query
- validity interval
Fingerprint
Dive into the research topics of 'MVLevelDB+: Meeting Relative Consistency Requirements of Temporal Queries in Sensor Streams Databases'. Together they form a unique fingerprint.Cite this
- APA
- Author
- BIBTEX
- Harvard
- Standard
- RIS
- Vancouver