beginnerViews — Simple View & Materialized View

What's the fundamental difference between a simple view and a materialized view?

A simple view stores only the query text — every access re-runs the underlying query against current data, so it's always fresh but pays the full query cost every time. A materialized view physically stores the query's result set on disk like a table — fast to read, but only as fresh as its last REFRESH.

This is a Pro chapter

Sign in, then upgrade to Pro or Power to unlock this and the full Databases Mastery library.

What's the fundamental difference between a simple view and a materialized view?

Next Step

Continue to Why does REFRESH MATERIALIZED VIEW block concurrent readers, and how do you avoid that?← Back to all SQL questions