Oracle FAQ | Your Portal to the Oracle Knowledge Grid |
![]() |
![]() |
Home -> Community -> Usenet -> c.d.o.server -> several process collide when updating one table
Hi people,
I got a tiny little problem with perl, working on an ORA-DB. I start several (up to 8) perl-processes which all work on one table. Each process among them shall be able to read a row from the table, mark it as processed and work down what ever to do. First I tried to do it the following way:
Ok... the problem which occurred was, that during selecting and updating from one process, a second process selected the same item and did also his job with that row. So I decided to go another way:
Well... the number of collisions was hardly reduced, but in the end there still remained some collisions.
Now my question is: What to do in this case... ? Doesn't Oracle manage those update-statements in a sequential way ?
Hopin' for any ideas...
Regards.
Marcus
-- __________________________________________________________ News suchen, lesen, schreiben mit http://newsgroups.web.deReceived on Mon Jul 30 2001 - 13:48:56 CDT
![]() |
![]() |