CS FundamentalsVery hardGATE CS
R(A, B, C, D, E) has the functional dependencies A -> B, BC -> D, D -> E and E -> B. The decomposition R1(A, B), R2(B, C, D), R3(A, D, E) is
- A. lossy and dependency preserving
- B. lossless and not dependency preserving
- C. lossy and not dependency preserving
- D. lossless and dependency preserving
Correct answer: C. lossy and not dependency preserving
The tableau chase and the closure test give: lossy and not dependency preserving. Check the chase by merging rows on equal determinants, and test each FD by closing its left side under the FDs projected onto the fragments.
More DBMS and SQL questions
- Transactions are T1: R(A) W(A) R(B); T2: W(A) R(B) W(B); T3: R(B) W(A) (each executes its operations in the order shown). Of all possible…
- Basic timestamp ordering assigns timestamps TS(T1) < TS(T2) < TS(T3) < TS(T4) = 1, 2, 3, 4. For a data item Q, R(Q) is rejected if TS(T) <…
- An extendible hash index has bucket capacity 2 and uses the low-order bits of the integer key as the hash value (the directory starts with…
- A file of 32,000 pages is sorted with an external merge sort using 32 buffer pages: pass 0 produces sorted runs of 32 pages, and every…
- ARIES log: LSN1 T1 update P1; LSN2 T2 update P2; LSN3 T1 update P3; LSN4 begincheckpoint; LSN5 endcheckpoint with active transactions {T1…
- Sa(m, amt) holds monthly sales (2024-01, 100), (2024-02, 130), (2024-03, 130), (2024-04, 90), (2024-05, 150), (2024-06, 150), (2024-07…