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: SET TRANSACTION for a Distributed Transaction

Re: SET TRANSACTION for a Distributed Transaction

From: Igor Neyman <ineyman_at_perceptron.com>
Date: Wed, 20 Feb 2002 06:13:28 -0800
Message-ID: <F001.004142E4.20020220061328@fatcity.com>


Bill,

You could do your inserts calling a stored procedure which you create on your target db and specify the rollback segment inside stored procedure.

Igor Neyman, OCP DBA
ineyman_at_perceptron.com

> Can I use SET TRANSACTION USE ROLLBACK SEGMENT <RBS_NAME> for a
distributed
> transaction, where I"m doing a whole bunch of INSERTS on a target db that
> SELECT data from a source db?
>
> I was thinking of constructing this to run when logged into the source
db -
> I'd insert data to a target db across a database link. I assume the RBS
> would have to be on the target db? Or could the RBS be on the source db,
> even though the inserts are taking place on the target?
>
> Alternatively I could write the script whereby the inserts happen on the
> local db and the selects happen across the db link - in that case the SET
> TRANSACTION would use a local RBS . . .
>
> any ideas/comments on writing putting something like this together?
>
> Thanks
>
> -bill magaliff
> --
> Please see the official ORACLE-L FAQ: http://www.orafaq.com
> --
> Author: Magaliff, Bill
> INET: Bill.Magaliff_at_lendware.com
>
> Fat City Network Services -- (858) 538-5051 FAX: (858) 538-5051
> San Diego, California -- Public Internet access / Mailing Lists
> --------------------------------------------------------------------
> 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.com
-- 
Author: Igor Neyman
  INET: ineyman_at_perceptron.com

Fat City Network Services    -- (858) 538-5051  FAX: (858) 538-5051
San Diego, California        -- Public Internet access / Mailing Lists
--------------------------------------------------------------------
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 Feb 20 2002 - 08:13:28 CST

Original text of this message

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