Materialized views
CREATE MATERIALIZED VIEW and REFRESH MATERIALIZED VIEW, including concurrent refresh. Introduced in PostgreSQL 9.3.
Versions
- PostgreSQL 20 · in-development · improved · minor · 1 commit · +4 / -3 lines
- PostgreSQL 19 · shipped · improved · minor · 1 commit · +9 / -1 lines
- PostgreSQL 18 · shipped · improved · minor · 1 commit · +39 / -15 lines
- PostgreSQL 17 · worked-on · improved · moderate
- PostgreSQL 16 · worked-on · improved · minor
- PostgreSQL 15 · worked-on · improved · moderate
Threads
- Unlogged materialized views
- Two issues with REFRESH MATERIALIZED VIEW CONCURRENTLY
- Inconsistency with EXPLAIN ANALYZE CREATE MATERIALIZED VIEW
- [PATCH v1] Fix tab completion for concurrent materialized view refresh
- CREATE OR REPLACE MATERIALIZED VIEW
- [Patch] Add WHERE clause support to REFRESH MATERIALIZED VIEW
- Add statistics refresh materialized view
- Avoid calling SetMatViewPopulatedState if possible
- refresh materialized view: concurrently + with no data
- Review observations for partial REFRESH MATERIALIZED VIEW patc
- Update documentation to note that REFRESH MATERIALIZED VIEW CONCURRENTLY uses the pg_temp tablespace
- tab complete for COPY populated materialized view TO
- in BeginCopyTo make materialized view using COPY TO instead of COPY (query).
- EphemeralNamedRelation and materialized view
- Remove unlogged materialized view persistence handling
- column_name of ALTER MATERIALIZED VIEW should only refer to an existing column
- Materialized views and check constraints
- PSQL Should \sv & \ev work with materialized views?
- BUG #18387: Erroneous permission checks and/or misleading error messages with refresh materialized view
- Skip Orderby Execution for Materialized Views
- Wrong statement on the materialized views page
- BUG #17714: Refresh materialized view does not update all date
- BUG #17679: REFRESH MATERIALIZED VIEW CONCURRENTLY leaves temporary files?
- 41.3. Materialized Views: Create table should be create view?
- Cannot refresh materialized view concurrently if you have a column name called "mv"
- ORDER BY in materialized view example?
- refresh concurrently: limitation of diff refreshing
- Alias collision in `refresh materialized view concurrently`
- EXPLAIN/EXPLAIN ANALYZE REFRESH MATERIALIZED VIEW
- Performance degradation of REFRESH MATERIALIZED VIEW
- Consider Parallelism While Planning For REFRESH MATERIALIZED VIEW
- BUG #16853: Materialized view not behaving in fully MVCC-compliant way
- REFRESH MATERIALIZED VIEW and completion tag output
- BUG #16119: pg_dump omits columns specification for matviews
- Typo on Refresh Materialized View page
- don't see materialized views in information_schema
- REFRESH MATERIALIZED VIEW CONCURRENTLY interaction with ORDER BY
- BUG #15851: Concurrent Refresh of Materialized views not preserving the order of the underlying query
- Docs for refresh materialized view concurrently
- Feature: triggers on materialized views
- order by in materialized views
- Feature: temporary materialized views
- Fix for REFRESH MATERIALIZED VIEW ownership error message
- docs: note ownership requirement for refreshing materialized views
- neqjoinsel versus "refresh materialized view concurrently"
- Fixing some issues in matview.c's refresh-query construction
- Materialized views WIP patch