During a refresh, which aspect of materialized views is replicated to the secondary database?

Master the SnowPro Advanced Architect Test with flashcards, multiple-choice questions, and detailed explanations. Prepare thoroughly for your certification!

Multiple Choice

During a refresh, which aspect of materialized views is replicated to the secondary database?

Explanation:
When thinking about how materialized views behave in a replication or DR scenario, the important idea is that the saved, precomputed results are not moved around with every refresh. A materialized view is a cached result set built from a query, and keeping the secondary in sync focuses on the object’s definition rather than its cached data. The definition—essentially the SQL that creates the MV and its metadata—needs to exist on the secondary so the MV can be managed and refreshed there, but the actual data that the MV stores is tied to the primary location and is refreshed there. In practice, this means only the MV’s definition is replicated to the secondary; the materialized data itself is not transferred during the refresh process.

When thinking about how materialized views behave in a replication or DR scenario, the important idea is that the saved, precomputed results are not moved around with every refresh. A materialized view is a cached result set built from a query, and keeping the secondary in sync focuses on the object’s definition rather than its cached data. The definition—essentially the SQL that creates the MV and its metadata—needs to exist on the secondary so the MV can be managed and refreshed there, but the actual data that the MV stores is tied to the primary location and is refreshed there. In practice, this means only the MV’s definition is replicated to the secondary; the materialized data itself is not transferred during the refresh process.

Subscribe

Get the latest from Passetra

You can unsubscribe at any time. Read our privacy policy