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: commit after select ???

Re: commit after select ???

From: Jörn Fieg <fieg_at_wmd.de>
Date: 1997/11/04
Message-ID: <345F81E6.72574C44@wmd.de>#1/1

Hi Markus!

It seems to be right, that oracle keeps the selected data in the rollback segments for ganteeing the read-consistency. This means, if someone alters and commits the data whilst your selection, your data will appear like a snapshoot from the time you started the selection. This is importend if you are using an order clause and the alteration could break this order.
If you don't need realtime data, you migth fix this problem with a snapshoot - in the other case: it seems to me, that you have to commit your selection.

CU
Jörn

Markus Albert wrote:

> Hi everybody,
>
> I have a problem with rollback segments.
> We use ORACLE server 7.3.3.0 and have a database link from instance A
> to
> instance B. The applications connected to A and reading data (with SQL
> select statement)
> from tables/views from B, via the database link, have to commit in
> order not to fill
> up the rollback segments.
> For me this looks quite strange but I have been told that it is a
> means of security,
> because the server doesn't know what else is being done over this link
> (eventually inserts, updates...).
>
> Is there a way of getting around this problem without including commit
> - commands after
> those database link queries ???
>
> Thanks for any help !
>
> Bye, Markus.
>
Received on Tue Nov 04 1997 - 00:00:00 CST

Original text of this message

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