Prepare for your Next Interview
|
Welcome to the Geeks Talk forums. You are currently viewing our boards as a guest which gives you limited access to view most discussions and access our other features. By joining our free community you will have access to post topics, communicate privately with other members (PM), respond to polls, upload content and access many other special features. Registration is fast, simple and absolutely free so please, join our community today! If you have any problems with the registration process or your account login, please contact contact us. |
This is a discussion on Materailized view within the Oracle forums, part of the Databases category; What is the use of a materialized view? I created a materialized view as follows Create materialized view xxx tablespace sagar_test refresh complete start with sysdate next sysdate+1 enable query ...
|
|||||||
| Oracle Oracle 9i & Oracle 10g Knowledge Base Learn and Share Oracle Technology related articles, white papers, tutorials / study materials, example codes, FAQ's, Tips and Tricks. |
![]() |
| LinkBack | Thread Tools | Display Modes |
|
|||
|
Materailized view
What is the use of a materialized view?
I created a materialized view as follows Create materialized view xxx tablespace sagar_test refresh complete start with sysdate next sysdate+1 enable query rewrite as select * from ab Then I inserted two records in the table ab. But these two records are not updated in view xxx. How to update these two records ? |
| Sponsored Links |
|
|||
|
Re: Materailized view
A materialized view is a database object that contains the results of a query. They are local copies of data located remotely, or are used to create summary tables based on aggregations of a table's data. Materialized views, which store data based on remote tables are also, know as snapshots.
A materialized view can query tables, views, and other materialized views. Collectively these are called master tables (a replication term) or detail tables (a data warehouse term). For replication purposes, materialized views allow you to maintain copies of remote data on your local node. These copies are read-only. If you want to update the local copies, you have to use the Advanced Replication feature. You can select data from a materialized view as you would from a table or view. For fast refresh use create materialized view log on emp Create materialized view empmview tablespace tspa parallel build immediate refresh fast on commit as select * from emp note :for fast refresh option Materialized view log is created on base table |
![]() |
|
| Thread Tools | |
| Display Modes | |
|
|
Similar Threads
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| How to view constraints? | Bhuvana07 | Oracle | 6 | 02-13-2009 07:27 PM |
| Insert values in view | amaravadi.krishna81 | OOPS | 3 | 05-28-2008 08:00 AM |
| Normal View, Materialised View and Bitmap Index | Geek_Guest | Oracle | 3 | 05-28-2008 12:59 AM |
| Not able to view the script | Geek_Guest | LoadRunner | 5 | 01-23-2008 08:15 PM |
| A View Doubt | krishnaindia2007 | Oracle | 5 | 11-13-2007 08:59 AM |