← RGPV CS-502 DBMS December 2020 solved question paper
← RGPV CS-502-CBGS DBMS June 2020 solved question paper
CS-502 (CBGS) | December 2020 | Q1(b) | 7 marks
Question (restated): Describe database fragmentation and its forms.
Answer
Fragmentation divides a logical relation into smaller relations that can be stored at different sites of a distributed database. Applications may access the original logical relation without knowing where each fragment resides. A good fragmentation scheme satisfies completeness, reconstruction and, where appropriate, disjointness.
Horizontal fragmentation partitions rows using predicates. For Employee(ID, Name, Dept, Salary), let E1 contain Dept = Sales and E2 contain all other departments, assuming Dept is non-null. E1 and E2 have the same columns as Employee. Their union reconstructs Employee. Derived horizontal fragmentation partitions a related table according to fragments of its parent, for example orders by the region of their customers.
Vertical fragmentation partitions columns. E3(ID, Name, Dept) and E4(ID, Salary) retain the primary key ID in both fragments. Joining on ID reconstructs the original relation without spurious combinations. The repeated key is necessary for reconstruction. Salary information can be placed at a restricted site.
Mixed fragmentation combines horizontal and vertical fragmentation. For instance, split employees by region and then separate salary columns within each region. Reconstruction reverses these operations using joins and unions.
Fragmentation improves locality, parallel processing and selective access. However, queries spanning multiple sites incur communication costs, and integrity checks may require coordination. Fragmentation differs from replication, which stores additional copies of data rather than partitioning it. The choice depends on query patterns, update frequency, network costs and security requirements.

Further reading: Silberschatz, Korth and Sudarshan, Database System Concepts.
June 2020 – Q7(b)
Question: Explain data fragmentation with types.
Data fragmentation divides a relation into smaller logical pieces for distribution across database sites. Horizontal fragmentation divides rows using selection predicates. For Employee(EID,Name,Dept,Salary), fragments for Dept=Sales and Dept=IT can be reconstructed by union if the predicates cover all rows. Vertical fragmentation divides columns using projection; the key EID is retained in each fragment so the original relation can be reconstructed by joining on EID. Mixed fragmentation combines horizontal and vertical division. Derived horizontal fragmentation uses the fragmentation of a related relation, for example distributing orders according to the customer region.
Correct fragmentation requires completeness (all original data is represented), reconstructability (the original relation can be recovered), and appropriate disjointness (horizontal fragments generally do not overlap; vertical fragments repeat keys). Fragmentation improves locality, parallelism and access control, but distributed joins and updates can increase communication and coordination costs.
Discussion
Ask a question, share your thoughts or report an error.
Sign in to participate in the discussion.
Join the discussion