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

Home -> Community -> Mailing Lists -> Oracle-L -> Re: Replication?

Re: Replication?

From: Arup Nanda <orarup_at_hotmail.com>
Date: Wed, 14 May 2003 12:02:24 -0800
Message-ID: <F001.00598BFB.20030514120224@fatcity.com>


You could use relication but it's not absolutely necessary. You could do something like this

On Server:
Run a query: SELECT * FROM MAINTAB
If they like it, issue INSERT INTO LOCALTAB_at_LOCALMACHINE SELECT * FROM MAINTAB;
OR From the local machine : INSERT /*+ APPEND */ INTO LOCALTAB SELECT * FROM MAINTAB;
When done with the edits, you can merge with the main table. If the changes are exclusively done by a single user, you could - delete the records from MAINTAB
- and, insert /*+ APPEND */ into MAINTAB select * from LOCALTAB_at_LOCALMACHINE.
If that's not possible, use a simple PL/SQL block to read the localtab and insert/update/delete the MAINTAB.

This operation will be much simpler than replication.

HTH. Arup Nanda
www.proligence.com

> Hello DBAs
>
> I am going to experiment with copying subset of data to another database
and
> merging changes. In short I need the user to run a query against the
master
> database, copy the resultset to their local database, do whatever they
need
> and later merge the changes in their local DB to the master DB.
> It looks like replication is the technology to look into. Is there
anything
> else in the big Oracle world?
>
> Thanks
>
> Witold
>
> --
> Please see the official ORACLE-L FAQ: http://www.orafaq.net
> --
> Author: Witold Iwaniec
> INET: wiwaniec_at_novalistech.com
>
> Fat City Network Services -- 858-538-5051 http://www.fatcity.com
> San Diego, California -- Mailing list and web hosting services
> ---------------------------------------------------------------------
> To REMOVE yourself from this mailing list, send an E-Mail message
> to: ListGuru_at_fatcity.com (note EXACT spelling of 'ListGuru') and in
> the message BODY, include a line containing: UNSUB ORACLE-L
> (or the name of mailing list you want to be removed from). You may
> also send the HELP command for other information (like subscribing).
>
>

-- 
Please see the official ORACLE-L FAQ: http://www.orafaq.net
-- 
Author: Arup Nanda
  INET: orarup_at_hotmail.com

Fat City Network Services    -- 858-538-5051 http://www.fatcity.com
San Diego, California        -- Mailing list and web hosting services
---------------------------------------------------------------------
To REMOVE yourself from this mailing list, send an E-Mail message
to: ListGuru_at_fatcity.com (note EXACT spelling of 'ListGuru') and in
the message BODY, include a line containing: UNSUB ORACLE-L
(or the name of mailing list you want to be removed from).  You may
also send the HELP command for other information (like subscribing).
Received on Wed May 14 2003 - 15:02:24 CDT

Original text of this message

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