Oracle
1Z0-074 · Question #14
QUERY_REWRITE_INTEGRITY and QUERY_REWRITE_ENABLED are set to TRUSTED and TRUE respectively in an Oracle 12c Release 2 database. You create the SALES_EVAL real-time materialized view (MV) on the…
The correct answer is E. from the SALES_EVAL MV because the WHERE clause in the query and in the SALES_EVAL. Explanation/Reference:
Creating Other Schema Objects
Question
QUERY_REWRITE_INTEGRITY and QUERY_REWRITE_ENABLED are set to TRUSTED and TRUE respectively in an Oracle 12c Release 2 database. You create the SALES_EVAL real-time materialized view (MV) on the SALES, CUSTOMERS, and PRODUCTS tables, which supports COMPLETE REFRESH by executing these statements. There is a constraint on the PRODUCTS table with ENABLE, NOVALIDATE, and RELY attributes. No updates have been done to SALES, CUSTOMERS, or PRODUCTS since the MV was created. From where are rows returned and why?
Exhibit
Options
- Afrom the SALES_EVAL MV because the QUERY_REWRITE_ENABLED setting permits rewrites on
- Bfrom the SALES, CUSTOMERS, and PRODUCTS tables because QUERY_REWRITE_INTEGRITY is
- Cfrom the SALES, CUSTOMERS, and PRODUCTS tables because the column in the GROUP BY
- Dfrom the SALES, CUSTOMERS, and PRODUCTS tables because the columns used in the SELECT list
- Efrom the SALES_EVAL MV because the WHERE clause in the query and in the SALES_EVAL
How the community answered
(27 responses)- A4% (1)
- C4% (1)
- D7% (2)
- E85% (23)
Explanation
Explanation/Reference:
Topics
#materialized view#query rewrite#QUERY_REWRITE_INTEGRITY#real-time MV
Community Discussion
No community discussion yet for this question.
