Now the key K 50 is deleted from the B+ tree resulting after the two insertions made earlier. Consider the following statements about the B+ tree resulting after this deletion.
i) The height of the tree remains the same.
ii) The node (disregarding the links) is present in the tree.
iii) The root node remains unchanged (disregarding the links).
Which one of the following options is true ?T1: read (A); T2: read (B);
read (B); read (A);
if A = 0 then B ← B + 1; if B ≠ 0 then A ← A - 1;
write (B); write (A);
Which of the following schemes, using shared and exclusive locks, satisfy the requirements for strict two phase locking for the above transactions?S1: r1(X); r1(Y); r2(Y); r2(X); w2(Y); w1(X);
S2: r1(X); r2(X); r2(Y); w2(Y); r1(Y); w1(X);
b-Schema = (b-name, b-city, assets)
a-Schema = (a-num, b-name, bal)
d-Schema = (c-name, a-number)
Let branch, account and depositor be respectively instances of the above schemas. Assume that account and depositor relations are much bigger than the branch relation.
Consider the following query:Пc-name (σb-city = “Agra” ⋀ bal < 0 (branch $$ \Join $$ (account $$ \Join $$ depositor))
Which one of the following queries is the most efficient version of the above query ?