JAWAHARLAL NEHRU TECHNOLOGICAL UNIVERSITY HYDERABAD

JAWAHARLAL NEHRU TECHNOLOGICAL UNIVERSITY HYDERABAD MCA 2022 DISTRIBUTED DATABASES Previous Question Paper (February - 2022 - R17)

MCA | 2022 | V | R17 | February - 2022

Answer PaperPaper Code: 845ADMaximum Marks: 75Time: 3 Hours

Answer any five questions

All questions carry equal marks

Main

1

Explain with examples various types of data fragmentation.

15 marks

Answer

Data fragmentation is a design technique in distributed databases used to divide a global relation into smaller logical units called fragments. This process improves performance by storing data closer to where it is most frequently accessed and enhances parallelism. The three primary types of fragmentation are:

1. Horizontal Fragmentation: This involves partitioning a relation into subsets of tuples based on a selection predicate. Each fragment contains a subset of the rows of the original table, while all fragments share the same schema. For example, a global Employee table can be fragmented by location:

Employee_Hyd = σlocation='Hyderabad'(Employee)
Employee_Bang = σlocation='Bangalore'(Employee)

2. Vertical Fragmentation: This divides a relation into subsets of attributes (columns). Each fragment contains a subset of columns, and to ensure the original relation can be reconstructed, a primary key is included in every fragment. This is useful when different applications require only specific columns. For example, an Employee table can be split into personal details and salary details:

Emp_Personal = πEmpID, Name, Address(Employee)
Emp_Salary = πEmpID, Salary, Tax(Employee)

3. Mixed (Hybrid) Fragmentation: This is a combination of horizontal and vertical fragmentation. A relation is first fragmented horizontally and then vertically, or vice-versa. This is used in complex scenarios where data access patterns are highly specific. For example, one might first fragment the Employee table by location, and then further split the Hyderabad fragment into personal and salary components.

Fragmentation must satisfy three rules: Completeness (all data must be mapped to at least one fragment), Reconstruction (the original relation must be recoverable using relational operators like Union or Join), and Disjointness (data should not be redundant unless intentionally replicated).

215 marks
a

Describe the reference architecture of distributed database systems.

8 marks

Answer

The reference architecture for distributed database systems is defined by the ISO/ANSI SPARC three-level schema architecture, extended to accommodate distribution and fragmentation. It consists of three primary levels:

  1. Global Conceptual Schema (GCS): Defines the entire distributed database as if it were centralized, describing all data entities, relationships, and constraints without considering physical distribution.
  2. Fragmentation and Allocation Schema: This level maps the GCS to local data fragments. It specifies how data is partitioned (horizontal, vertical, or hybrid fragmentation) and where these fragments are physically stored across the network nodes.
  3. Local Mapping Schema (LMS): Each local site maintains its own local schema, which describes the physical data organization and access paths for the fragments stored at that specific node.

This architecture ensures data independence, allowing users to access data without needing knowledge of its physical location or the underlying distribution strategy.

b

What are integrity constraints explain in detail.

7 marks

Answer

Sign in to view the complete answer paper.

315 marks
a

Illustrate with examples query optimization of aggregate functions and parametric functions.

8 marks

Answer

Sign in to view the complete answer paper.

b

Discuss the process of query optimization.

7 marks

Answer

Sign in to view the complete answer paper.

415 marks
a

What is query translation? Explain equivalence query transformation.

8 marks

Answer

Sign in to view the complete answer paper.

b

How a global query is transformed into fragment query?

7 marks

Answer

Sign in to view the complete answer paper.

5

Define dead lock? Discuss in detail various control organizations for distributed dead lock detection.

15 marks

Answer

Sign in to view the complete answer paper.

6

What is a correct distributed concurrency control mechanism? List some correct distributed concurrency control mechanism. Prove that time stamp based protocol is correct.

15 marks

Answer

Sign in to view the complete answer paper.

715 marks
a

What is check point? Explain its roles in recovery procedures.

7 marks

Answer

Sign in to view the complete answer paper.

b

List out optimistic methods for distributed concurrency? Explain them in brief.

8 marks

Answer

Sign in to view the complete answer paper.

8

Write a short note on:

15 marks
a

Pointer swizzling

7 marks

Answer

Sign in to view the complete answer paper.

b

Object Migration.

8 marks

Answer

Sign in to view the complete answer paper.

About this paper

This page contains the question paper of DISTRIBUTED DATABASES from JAWAHARLAL NEHRU TECHNOLOGICAL UNIVERSITY HYDERABAD for MCA 2022 V, February - 2022, R17.

For the solved question paper with answers, switch to the Answer Paper tab.

Other papers in DISTRIBUTED DATABASES

Loading Question Papers

Fetching data from database...