Re:ReadySet Core: next-generation SQL caching, freely available
by umanwizard on Friday June 17, 2022 @06:58AM
(#31776447)
Updates and deletes work fine, because Differential Dataflow stores everything as a (row, timestamp, cardinality) tuple. Materializes uses signed integers as its cardinality type. Thus deletes are modeled as (“the row”, t2, -1), which will cancel out with (“the row”, t1, +1), and thus nothing will be returned for that row when the view is queried at any time >= t2. Eventually compaction will cause these cancelled rows to be annihilated entirely and so there will be no lingering space impact.
[ Parent
| on HN ]
There are no comments on this comment yet.