| Oracle FAQ | Your Portal to the Oracle Knowledge Grid | |
Home -> Community -> Usenet -> comp.databases.theory -> Re: Deadlock in Index (where index is B+ tree) Locking with Intention Locks
D Guntermann wrote:
> "Novice" <6tc1_at_qlink.queensu.ca> wrote in message > news:b80e4a77.0212120907.7cfb153d_at_posting.google.com... >
> > > Assuming the multiple granularity locking protocol with 2PL, would the > following schedule achieve the effect you are looking for? > > > Time | T1 | T2 | T3 > -----|--------------|--------------|------------------ > T1 | IX(root) | | > T2 | IX(B) | | > T3 | IX(D) | | > T4 | IX(H) | | > T5 | | | IX(root) > T6 | | | IX(B) > T7 | | | IX(D) > T8 | | | IX(G) > T9 | X(P) | | > T10 | | IX(root) | > T11 | | IX(B) | > T12 | | IX(D) | > T13 | | IX(H) | > T14 | | IX(O) | > T15 | | waiting X(H) | > T16 | waiting X(H) | waiting X(H) | > T17 | waiting X(H) | waiting X(H) | X(N) > T17 | waiting X(H) | waiting X(H) | X(G) > T18 | waiting X(H) | waiting X(H) | waiting X(O) > T19 | waiting X(H) | waiting X(H) | waiting X(O) > > I am also assuming that alternative locking protocols such as B-link trees > are not considered in the question you pose. > > > Dan >
Try:
http://www.informatik.uni-trier.de/~ley/db/conf/vldb/Mohan90.html
I seem to remember reading about a paper (rather than reading the paper :-() which showed how you could manage locking in B+trees w/o locking the root node automatically.
I'm not sure it's the one cited above -- maybe a visit to citeseer would help too. Or even google?
-- Jonathan Leffler #include <disclaimer.h> Email: jleffler_at_earthlink.net, jleffler_at_us.ibm.com Guardian of DBD::Informix 1.04.PC1 -- http://dbi.perl.org/Received on Fri Dec 13 2002 - 23:36:21 CST
![]() |
![]() |