Skip to main navigation Skip to search Skip to main content

MVLevelDB+: Meeting Relative Consistency Requirements of Temporal Queries in Sensor Streams Databases

Research output: Journal Publications and Reviews › RGC 21 - Publication in refereed journal › peer-review

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 languageEnglish
Article number7
Number of pages26
JournalACM Transactions on Embedded Computing Systems
Volume24
Issue number1
Online published4 Sept 2024
DOIs
Publication statusPublished - 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