Solved

Materialized view, logs, and fast refresh.

Posted on 2013-10-23
5
359 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

PRTG Network Monitor: Intuitive Network Monitoring

Network Monitoring is essential to ensure that computer systems and network devices are running. Use PRTG to monitor LANs, servers, websites, applications and devices, bandwidth, virtual environments, remote systems, IoT, and many more. PRTG is easy to set up & use.

Join & Write a Comment

Suggested Solutions

Note: this article covers simple compression. Oracle introduced in version 11g release 2 a new feature called Advanced Compression which is not covered here. General principle of Oracle compression Oracle compression is a way of reducing the d…
How to Create User-Defined Aggregates in Oracle Before we begin creating these things, what are user-defined aggregates?  They are a feature introduced in Oracle 9i that allows a developer to create his or her own functions like "SUM", "AVG", and…
This video shows, step by step, how to configure Oracle Heterogeneous Services via the Generic Gateway Agent in order to make a connection from an Oracle session and access a remote SQL Server database table.
This video shows information on the Oracle Data Dictionary, starting with the Oracle documentation, explaining the different types of Data Dictionary views available by group and permissions as well as giving examples on how to retrieve data from th…

707 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

12 Experts available now in Live!

Get 1:1 Help Now