does the query needs a hint to access a materialized view?



does the query needs a hint to access a materialized view?..

Answer / gautam choudhury

It's important to note that init.ora parameters
query_rewrite_integrity and query_rewrite_enabled are
required to use materialized views and function-based
indexes. if these two parameters are declared then hint is
not required to access a materialized view.

QUERY_REWRITE_INTEGRITY =ENFORCED
QUERY_REWRITE_ENABLED = TRUE

There are three acceptable values for
query_rewrite_integrity:

enforced (default) - Presents materialized view with fresh
data

trusted - Assumes that the materialized view is current

stale_tolerated - Presents materialized view with both
stale and fresh data

Is This Answer Correct ?    1 Yes 0 No

Post New Answer

More Oracle General Interview Questions

What is Parallel Server ?

3 Answers  


how to find out largest value in a table

2 Answers  


what is cartesian product?

2 Answers  


What is Read-Only Transaction ?

3 Answers  


What is Hash Cluster ?

2 Answers  


How to view the data files in the current database?

0 Answers  


What query tells you how much space a tablespace named test is taking up, and how much space is remaining?

0 Answers   Infosys,


Why packages are used in oracle?

0 Answers  


How do you store pictures in a database?

0 Answers  


When do I need to use a semicolon vs a slash in oracle sql?

0 Answers  


Create table Employee ( Employee_Id varchar2(8) Constraint emp_id_pk primary key, FirstName varchar2(50), LastName varchar2(50), DeptID Number(5) Constraint dept_id_fk Foreign Key(DeptId) References Department(DeptId) ) Error I am getting: Constraint specification are not allowed here

2 Answers  


What is tns name?

0 Answers  


Categories
  • Oracle General Interview Questions Oracle General (1808)
  • Oracle DBA (Database Administration) Interview Questions Oracle DBA (Database Administration) (261)
  • Oracle Call Interface (OCI) Interview Questions Oracle Call Interface (OCI) (10)
  • Oracle Architecture Interview Questions Oracle Architecture (90)
  • Oracle Security Interview Questions Oracle Security (38)
  • Oracle Forms Reports Interview Questions Oracle Forms Reports (510)
  • Oracle Data Integrator (ODI) Interview Questions Oracle Data Integrator (ODI) (120)
  • Oracle ETL Interview Questions Oracle ETL (15)
  • Oracle RAC Interview Questions Oracle RAC (93)
  • Oracle D2K Interview Questions Oracle D2K (72)
  • Oracle AllOther Interview Questions Oracle AllOther (241)