DBMS 2 Marks QA
DBMS 2 Marks QA
A functional dependency (FD) occurs when one attribute uniquely determines another attribute.
Example: If A -> B, then for each value of A, there is exactly one value of B.
2. Infer the maximum number of superkeys for the relation R(A, B, C, D) with A as key
Since A is the key, any combination containing A and any subset of {B, C, D} is a superkey.
3. What are the anomalies present when a bad relation is not decomposed into set of
relations?
- Exclusive Lock (X): Allows only one transaction to read and write the data item.
6. What is normalisation?
Normalization is the process of organizing data to reduce redundancy and improve data integrity by
- Dependency Preservation
BCNF eliminates all redundancy caused by functional dependencies, including those not handled by
It occurs when the failure of one transaction leads to rollback of other dependent transactions.
Example: T1 writes a value, T2 reads it. If T1 fails, T2 must also roll back.
Serializability ensures that a concurrent schedule of transactions results in a database state that