0 Thoughts: filtering databases
Richard Newman edited this page 2017-05-30 15:01:29 +00:00

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.