We present a comprehensive time-travel query system for embedded SQL databases that enables point-in-time data access through three complementary resolution modes: wall-clock timestamps (AS OF TIMESTAMP), transaction identifiers (AS OF TRANSACTION), and Oracle-compatible system change numbers (AS OF SCN). Our implementation combines MVCC-integrated versioning, LRU-cached snapshot retrieval with O(log N) complexity using reverse timestamp indexing, and configurable garbage collection policies optimized for embedded deployments. This approach addresses the gap between heavy-weight enterprise solutions (Oracle Flashback, SQL Server Temporal Tables) and the needs of embedded databases by providing Oracle-compatible syntax with lightweight resource management suitable for edge computing and IoT scenarios.
Daniel Moya Vaca (Fri,) studied this question.
Synapse has enriched 5 closely related papers on similar clinical questions. Consider them for comparative context: