3 ms·
I'm not sure I am following. Aren't materialized views just formal, cached results of a query? That wouldn't bog down a table.
by tomrod 5y ago
I'm not sure I am following. Aren't materialized views just formal, cached results of a query? That wouldn't bog down a table.
- manquer 5y agoPerhaps he means it will bog down on refresh.
- tomrod 5y agoMaybe? Not sure.
- lazide 5y agoI think their point is more ‘don’t store all that junk in your primary database and then do all your work on it there too if you can just stuff it somewhere else’. Which has pros and cons and depends a lot on various scaling factors.
- beckingz 5y agoMaterialized views are persistent tables that are typically updated when the underlying data is updated. Typically.
- Pxtl 5y agoI'm pretty sure most engines use the term "materialized views" for eventual consistency tables. The only db I've seen with that kind of ACID materialized view is MS SQL, which calls them "indexed views".