Solved

Materialized view, logs, and fast refresh.

Posted on 2013-10-23
5
362 Views
Last Modified: 2013-10-31
Can someone please give me the correct steps to getting a materialized view to do a fast refresh.

I added primary keys to the table and create the MV log, but I still get an error when trying to  do a fast refresh, i have to do a complete refresh each time, and this table is about 8 gigs on a remote MSSQL server.

Any hellp would be appreciated. Thanks
0
Comment
Question by:FutureDBA-
  • 2
  • 2
5 Comments
 

Author Comment

by:FutureDBA-
ID: 39596071
anyone?
0
 
LVL 100

Expert Comment

by:mlmcc
ID: 39596271
I don't think I can really help, but the experts who can probably will want to know what the error message is

mlmcc
0
 
LVL 15

Expert Comment

by:Franck Pachot
ID: 39596633
Hi,
You can use dbms_mview.explain_mview to know the reason that prevent fast refresh.
But if the base table is remote on MSSQL  you can't do fast refresh.
Regards,
Franck.
0
 

Author Comment

by:FutureDBA-
ID: 39597419
>> "But if the base table is remote on MSSQL  you can't do fast refresh."

yes, the remote table is remote on MSSQL, are you absolutely sure?
0
 
LVL 15

Accepted Solution

by:
Franck Pachot earned 500 total points
ID: 39598777
Yes I'm sure because fast refresh necessitate snapshot logs.

Materialized views is not the solution if you can't do full refresh.
Replication solution such as Golden Gate can acheive that - but not at the same price :(
0

Featured Post

Is Your Active Directory as Secure as You Think?

More than 75% of all records are compromised because of the loss or theft of a privileged credential. Experts have been exploring Active Directory infrastructure to identify key threats and establish best practices for keeping data safe. Attend this month’s webinar to learn more.

Question has a verified solution.

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

Subquery in Oracle: Sub queries are one of advance queries in oracle. Types of advance queries: •      Sub Queries •      Hierarchical Queries •      Set Operators Sub queries are know as the query called from another query or another subquery. It can …
Working with Network Access Control Lists in Oracle 11g (part 2) Part 1: http://www.e-e.com/A_8429.html Previously, I introduced the basics of network ACL's including how to create, delete and modify entries to allow and deny access.  For many…
This video shows how to copy a database user from one database to another user DBMS_METADATA.  It also shows how to copy a user's permissions and discusses password hash differences between Oracle 10g and 11g.
This video shows how to Export data from an Oracle database using the Datapump Export Utility.  The corresponding Datapump Import utility is also discussed and demonstrated.

914 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

Need Help in Real-Time?

Connect with top rated Experts

15 Experts available now in Live!

Get 1:1 Help Now