Solved

Oracle Materialized View

Posted on 2014-03-20
4
503 Views
Last Modified: 2014-03-21
Hi,

Can you please let me know what will happen if I query a oracle materialized view during materialized view refresh?

Thanks.
0
Comment
Question by:GouthamAnand
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 2
4 Comments
 
LVL 35

Accepted Solution

by:
johnsone earned 250 total points
ID: 39941966
Fast refresh or complete refresh?

During a complete refresh you should see no rows in the view.  A complete does a truncate and load.  Once complete the load is committed and you will see all data.

During a fast refresh you should see the pre-refresh data.  It is transactional and committed at the end.
0
 
LVL 143

Expert Comment

by:Guy Hengel [angelIII / a3]
ID: 39941977
I confirm above.
which is the reason why, on my MV which are complete refresh, I have 2 of them, and a view that is directed to the "other" one I am refreshing, and the applications use the view, not the MV .
0
 
LVL 35

Expert Comment

by:johnsone
ID: 39942013
We did it with 2 mviews and a synonym.  Everything used the synonym and didn't know the name of the mview.  Once the refresh completed successfully, the synonym was changed.
0
 

Author Closing Comment

by:GouthamAnand
ID: 39944852
Thank you.
0

Featured Post

VIDEO: THE CONCERTO CLOUD FOR HEALTHCARE

Modern healthcare requires a modern cloud. View this brief video to understand how the Concerto Cloud for Healthcare can help your organization.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

This article started out as an Experts-Exchange question, which then grew into a quick tip to go along with an IOUG presentation for the Collaborate confernce and then later grew again into a full blown article with expanded functionality and legacy…
From implementing a password expiration date, to datatype conversions and file export options, these are some useful settings I've found in Jasper Server.
This video explains at a high level with the mandatory Oracle Memory processes are as well as touching on some of the more common optional ones.
This video explains at a high level about the four available data types in Oracle and how dates can be manipulated by the user to get data into and out of the database.
Suggested Courses

632 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question