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

Home -> Community -> Usenet -> c.d.o.server -> Re: Allow 2 processes access to same table

Re: Allow 2 processes access to same table

From: Brian Peasland <dba_at_remove_spam.peasland.com>
Date: Wed, 22 Oct 2003 14:40:33 GMT
Message-ID: <3F9696E1.112114A1@remove_spam.peasland.com>


> but both applications have to modify the table at the same time - I'm worried about locks etc as the sql takes around 10 hours to
> run and i can't have the JVM waiting on the table for that long.

As long as they both don't modify the same rows of data, then one process won't lock out the other. That is how Oracle's transaction processing works. Oracle locks on the row level, not the table or block level like other RDMBS vendor's products.

If they are modifying the same rows of data, then you'll surely want the rows locked to transaction isolation.

HTH,
Brian

-- 
===================================================================

Brian Peasland
dba_at_remove_spam.peasland.com

Remove the "remove_spam." from the email address to email me.


"I can give it to you cheap, quick, and good. Now pick two out of
 the three"
Received on Wed Oct 22 2003 - 09:40:33 CDT

Original text of this message

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