-
Notifications
You must be signed in to change notification settings - Fork 2
Open
Description
just noticed that Postgres actually lacks incremental updating of materialized views. this means that the materialized view tables are locked for the ~50 seconds that it takes to update them. this isn't really acceptable since it would just cause our queries to them to timeout.
proposed resolution:
- remake materialized views w/ different names then rename them
- would be done in a PG transaction (means every step works or no steps work)
- would reduce the update time
- still takes ~50 seconds
- how many indexes can we add?
- experiment and see if we can index enough things to make the materialized view creation faster
- try a different database?
- MySQL doesn't seem to have this from my brief googling (possibly with this plugin)
- Oracle actually does have them (but there's licensing fees I think?)
CC @adicu/density @rbtying
Metadata
Metadata
Assignees
Labels
No labels