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
Solved

Materialized view, logs, and fast refresh.

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

Question has a verified solution.

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

Suggested Solutions

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 …
I remember the day when someone asked me to create a user for an application developement. The user should be able to create views and materialized views and, so, I used the following syntax: (CODE) This way, I guessed, I would ensure that use…
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 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.

828 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