Oracle FAQ | Your Portal to the Oracle Knowledge Grid |
Home -> Community -> Usenet -> c.d.o.server -> Re: Concurrency and consistency - Please help me.
The mystery gets bigger and bigger
<<ROW SHARE and ROW EXCLUSIVE table locks offer the highest degree of concurrency. You might use these locks if: Your transaction needs to prevent another transaction from acquiring an intervening share, share row, or exclusive table lock for a table before the table can be updated in your transaction.
If another transaction acquires an intervening share, share row, or exclusive table lock, no other transactions can update the table until the locking transaction commits or rolls back. Your transaction needs to prevent a table from being altered or dropped before the table can be modified later in your transaction.>>
Jim Kennedy wrote:
> In real life it just doesn't get that complex. I let the database handle > the lock levels itself based upon what I am doing. I don't ever issue those > locks explicitly. On the other hand, if I was dropping a table then Oracle > is going to take out an exclusive lock on the table. (right? I can't drop a > table with transactions against it.) > Jim > > -- > Replace part of the email address: kennedy-down_with_spammers_at_attbi.com > with family. Remove the negative part, keep the minus sign. You can figure > it out. > "Sherlock" <sherlock_at_mailmetoday.com> wrote in message > news:4d1a3c52.0304222001.619241d2_at_posting.google.com... >
> > - >
> > - >
> > >Received on Wed Apr 23 2003 - 01:59:49 CDT