ExamGecko
Question list
Search
Search

List of questions

Search

Question 26 - DEA-C01 discussion

Report
Export

Which Scenario Data engineer decide Materialized views are not useful. Select All that apply.

A.
Query results contain a small number of rows and/or columns relative to the base table (the table on which the view is defined).
Answers
A.
Query results contain a small number of rows and/or columns relative to the base table (the table on which the view is defined).
B.
Query results contain results that require significant processing.
Answers
B.
Query results contain results that require significant processing.
C.
The query is on an external table (i.e. data sets stored in files in an external stage), which might have slower performance compared to querying native database tables.
Answers
C.
The query is on an external table (i.e. data sets stored in files in an external stage), which might have slower performance compared to querying native database tables.
D.
The view's base table change frequently.
Answers
D.
The view's base table change frequently.
Suggested answer: D

Explanation:

A materialized view is a pre-computed data set derived from a query specification (the SELECT in the view definition) and stored for later use. Because the data is pre-computed, querying a material-ized view is faster than executing a query against the base table of the view. This performance dif-ference can be significant when a query is run frequently or is sufficiently complex. As a result, ma-terialized views can speed up expensive aggregation, projection, and selection operations, especially those that run frequently and that run on large data sets.

Materialized views require Enterprise Edition.

Materialized views are designed to improve query performance for workloads composed of common, repeated query patterns. However, materializing intermediate results incurs additional costs.

As such, before creating any materialized views, you should consider whether the costs are offset by the savings from re-using these results frequently enough.

Materialized views are particularly useful when:

· Query results contain a small number of rows and/or columns relative to the base table (the table on which the view is defined).

· Query results contain results that require significant processing, including:

1. Analysis of semi-structured data.

2. Aggregates that take a long time to calculate.

· The query is on an external table (i.e. data sets stored in files in an external stage), which might have slower performance compared to querying native database tables.

The view's base table does not change frequently.

asked 23/09/2024
owais mansoor
46 questions
User
Your answer:
0 comments
Sorted by

Leave a comment first