February 2020
Intermediate to advanced
734 pages
38h 13m
English
There are a few unfortunate aspects of materialized views that we must consider:
By static, we mean that the rows stored in the materialized view are the result of the SELECT statement that we used to define it. It would be a great way to bootstrap a reporting table of some kind, but then we encounter the next item in our list: no modifications. A natural consequence of this is that we can't build manual maintenance procedures designed to top off the contents. This means that we must refresh the contents of the materialized view all at once with the following statement:
REFRESH MATERIALIZED ...
Read now
Unlock full access