Or indexes, which are after all a structured way of duplicating data for performance, sometimes so much so that they entirely replace the actual table row lookup.
> This is why we have indexes in databases, which, if you squint a little, are just another kind of materialized view, at least in their covering form.
cwillu|2 months ago
gunnarmorling|2 months ago
> This is why we have indexes in databases, which, if you squint a little, are just another kind of materialized view, at least in their covering form.
samdoesnothing|2 months ago
As always it's an engineering decision full of tradeoffs. You should never duplicate your data, except when you need to...etc etc.