Menu
Back to Discussions

when do u switch from basic db queries to materialized views

Fuyuko Tanaka
Fuyuko Tanaka
·1821 views
im noticing some of our main reporting queries are getting pretty slow. they involve a few joins and aggregations and we run them often. were thinking about adding database indexes, but im wondering if this is a spot where materialized views would be a better fit. has anyone here found a good rule of thumb for when materialized views start to make sense over just optimizing individual queries. what were the trade-offs you observed
24 comments

Comments

Loading comments...