Re:SirixDB – An Evolutionary, Temporal NoSQL Storage System
by reykjavik on Sunday May 05, 2019 @10:38PM
(#19836421)
What's the use-case for time-travel queries vs. just using time series databases? (ie. influx, timescale, kdb etc.)
[ Parent
| on HN ]
Re:SirixDB – An Evolutionary, Temporal NoSQL Storage System
by lichtenberger on Sunday May 05, 2019 @11:34PM
(#19836642)
Hey, I think best explanation is this:
https://stackoverflow.com/questions/51533143/temporal-vs-tim...
:-)
Re:SirixDB – An Evolutionary, Temporal NoSQL Storage System
by reykjavik on Monday May 06, 2019 @04:14PM
(#19843336)
The use-case listed there (the change of address) can be implemented perfectly fine with any rational or non-rational database. I personally would not switch to a completely new database and new paradigm just because of the requirement to show user's address based on the date. And for data that changes a lot - time series db still seems like a better choice.
So what's the real use-case?
Re:SirixDB – An Evolutionary, Temporal NoSQL Storage System
by lichtenberger on Tuesday May 07, 2019 @06:09PM
(#19853918)
You can reconstruct a revision in O(n), you can search for a specific revision in O(log n) and the transaction time is stored in a revision root page (time the transaction commits). Thus, you do not have to store the time for each node (even start- and end-time).
Furthermore Sirix does not have to copy whole record pages which have changed, it depends on the chosen versioning algorithm. The whole structure is highly concurrent and allows client side parallelism. We also do not have to write in a WAL first, but the structure is always consistent (if no hardware failure occurs...).