Oracle FAQ Your Portal to the Oracle Knowledge Grid
HOME | ASK QUESTION | ADD INFO | SEARCH | E-MAIL US
 

Home -> Community -> Usenet -> c.d.o.misc -> Re: copy

Re: copy

From: <mike7411_at_gmail.com>
Date: 10 Aug 2006 08:29:39 -0700
Message-ID: <1155223779.062890.291070@p79g2000cwp.googlegroups.com>


The problem we're having is that there doesn't appear to be an easy way to take data from a Materialized View and put it back into normal tables on the backup server.

The backup server needs to have an identical table setup compared to the main server.

Vladimir M. Zakharychev wrote:
> mike7411_at_gmail.com wrote:
> > I want to create a PL/SQL procedure that takes about 30 Oracle database
> > tables and copies them to a remote server. However, I'm not sure how
> > to deal with certain referential integrity issues. One issue is that
> > the database may be getting updated while the copy is being performed.
> > Another issue is that, even if the database isn't being updated, at
> > times during the copy, constraints may be violated.
> >
> > So do I have to basically disable each constraint individually and
> > exclusively lock all the tables? Or is there an easier way?
>
> There IS an easier way: Advanced Replication. It will do everything for
> you automagically from replicating a set of tables as a transactionally
> consistent group to resolving conflicts if remote materialized views
> are modifiable. Don't invent what's already invented, implemented in
> the database kernel and proven working.
>
> Regards,
> Vladimir M. Zakharychev
> N-Networks, makers of Dynamic PSP(tm)
> http://www.dynamicpsp.com
Received on Thu Aug 10 2006 - 10:29:39 CDT

Original text of this message

HOME | ASK QUESTION | ADD INFO | SEARCH | E-MAIL US