What are materialized views? When are they used? Materialized view is like a view but stores both definition of a view plus the rows resulting from execution of the view. It uses a query as the bases and the query is executated at the time the view is created and the results are stored in a table. You can define the Materialized view with the same storage parametes as any other table and place it in any tablespace of your choice. You can also index and partition the Materialized view table like other tables to improve performance of queries executed aginst them. Use of Meterialized view:- Expensive operations such as joins and aggregations do
not need to be re executed.
What is a functional index - explain? Function-based indexes can use any Function or Object method that is declared as repeatable. Queries using expressions can use the index.
Sql> SELECT ordid
We have to enable Function-based indexes by enableing the following initialization parameters: ALTER SESSION SET QUERY_REWRITE_ENABLED = TRUE;
Have a Oracle Question
Oracle Books
Oracle Application
Oracle Home
All the site contents are Copyright © www.erpgreat.com
and the content authors. All rights reserved.
|