Created Thoughts: filtering databases (markdown)

Richard Newman 2017-05-30 15:01:29 +00:00
parent 5d2d7ca5c9
commit 7c80055d46

@ -0,0 +1,5 @@
Consumers will typically only be interested in particular subsets of a store: perhaps only the attributes of some set of entities, or only assertions using certain schema fragments. (Those fragments will overlap.)
We can imagine being able to get a handle to a filtered version of a database which appears to only contain assertions that are relevant to the consumer.
This has some amount of value when applied to the current DB: it's equivalent to introducing some complication to queries, and so improves clarity. However, if the filtering logic can be pushed a little lower, it makes instant-in-time ideas much more tractable: a consumer might be able to back a Time Machine-esque interface by a filtered database, one that appears to only contain relevant transactions, and materializing only relevant datoms as needed.