5 ms·
But when do you refresh the materialized views?
by canada2020 4y ago
But when do you refresh the materialized views?
- smitty1e 4y agoPresumably when underlying data are updated.
- yCombLinks 4y agoLots of strategies are possible. I may only need to refresh the data in it once a day. I may need to refresh it on every write. It depends on the applications needs.
- canada2020 4y agoI see. Given it’s so flexible, is this pretty much like a caching layer?
- deleted 4y ago[deleted]
- quickthrower2 4y agoIn SQL Server it is part of the transaction that affected the underlying data. So you don’t worry about that. Instead you worry about lock escalations!
- dineshgowda24 4y agoFor us, real-time refreshes weren't necessary. So we ended up refreshing it every 12 hours through application crons.