Answer Any FIVE Questions All Questions Carry Equal Marks
Answer Any FIVE Questions All Questions Carry Equal Marks
Answer Any FIVE Questions All Questions Carry Equal Marks
2. (a) For given EMP and DEPT relations, assuming the necessary attributes a query to give the names of
employees who work in a department whose manager has number 373 but who do not earn more than
Rs.100000/- is as given below. Simplify the query explaining the steps involved. PJEMP.NAME ((EMP
JN
DEPTNUM=DEPTNUM SLMGRNUM=373DEPT) DF (SLSAL> 100000 EMP
JN
DEPTNUM=DEPTNUMSLMGRNUM=373DEPT)
(b) Discuss query processing in detail with an example. [8+8]
7. Why do client-server object DBMSs primarily employ data shipping architecture while relational
DBMSs employ function shipping? [16]
2. (a) Draw an operator tree and show the simplification for the following query. For given EMP and DEPT
relations, assuming the necessary attributes, a query to give the names of employees who work in a
department whose manager has number 373 but who do not earn more than Rs.100000/- is as given below.
PJ
EMP.NAME((EMP JNDEPTNUM=DEPTNUM SLMGRNUM=373DEPT ) DF(SLSAL>100000 EMP
JN
DEPTNUM=DEPTNUMSLMGRNUM=373DEPT )
(b) Explain parametric queries in detail. [8+8]
7. Describe in detail cash consistency and object identifier management in object management? [16]
4. (a) Write about the atomicity of transactions in distributed databases with emphasis on failures and logs
and recovery methods.
(b) Explain the 2-phase commitment protocol. [8+8]
6. Explain in detail about Object Naming and Catalog Management with Site Autonomy? [16]
2. (a) Draw an operator tree and show the simplification for the following query. For given EMP and DEPT
relations, assuming the necessary attributes, a query to give the names of employees who work in a
department whose manager has number 373 but who do not earn more than Rs.100000/- is as given below.
PJEMP.NAME((EMP JNDEPTNUM=DEPTNUM SLMGRNUM=373DEPT )
DF (SLSAL>100000 EMP JNDEPTNUM=DEPTNUMSLMGRNUM=373DEPT )
(b) Explain parametric queries in detail.
6. Write the termination algorithm for 3-phase-commitment assuming that the coordinator site has failed,
that no network partition has occurred, and that the operational sites have a consistent view of the network.
1. Explain with neat diagram the reference architecture for distributed databases
2. Explain how simplification of vertically fragmented relations can be done with example.
1. Write about the features of distributed versus centralized databases with illustrations.
1. (a) With a neat diagram explain the reference architecture for distributed databases.
(b) Given a global relation EMP (EMPNUM,NAME,SAL,TAX,MGRNUM,DEPTNUM). Write the mixed
fragmentation definition and fragmentation tree of relation EMP.
2. (a) For given EMP and DEPT relations, assuming the necessary attributes a queryto give the names of
employees who work in a department whose manager has number 373 but who do not earn more than
Rs.100000/- is as given below. Simplify the query explaining the steps involved. PJEMP.NAME((EMP
JN
DEPTNUM=DEPTNUM SLMGRNUM=373DEPT ) DF (SLSAL> 100000 EMP
JN
DEPTNUM=DEPTNUMSLMGRNUM=373DEPT )
(b) Discuss query processing in detail with an example. [8+8]
5. What is Concurrency Control and explain about Serializability in a Centralized Database? [16]
2. (a) Prove that the following two queries have the same semantics
PJ
NAME,DEPTNUMSLDEPTNUM=15EMP SLDEPTNUM=15PJNAME,DEPTNUMEMP
(b) Draw an operator tree for the following query PJSNUMSLAREA=“North”(SUPPLY
JNDEPTNUM=DEPTNUMDEPT )[8+8]
3. (a) Discuss the problems in Query Optimization.
(b) Discuss how query optimisation is useful in distributed databases. [8+8]
7. Describe in detail cash consistency and object identifier management in object management? [16]
2. (a) Draw an operator tree and show the simplification for the following query. For
given EMP and DEPT relations, assuming the necessary attributes, a query
to give the names of employees who work in a department whose manager has
number 373 but who do not earn more than Rs.100000/- is as given below.
PJ
EMP.NAME((EMP JNDEPTNUM=DEPTNUM SLMGRNUM=373DEPT )
DF (SLSAL>100000 EMP JNDEPTNUM=DEPTNUMSLMGRNUM=373DEPT )
(b) Explain parametric queries in detail. [8+8]
4. (a) Write about the atomicity of transactions in distributed databases with emphasis on failures and logs
and recovery methods.
(b) Explain the 2-phase commitment protocol. [8+8]
6. Explain the various problems which arise when trying to design a reliable distributed database system?
[16]
2. (a) Prove that the following two queries have the same semantics
PJ
NAME,DEPTNUMSLDEPTNUM=15EMP
SL
DEPTNUM=15PJNAME,DEPTNUMEMP
(b) Draw an operator tree for the following query
PJ
SNUMSLAREA=“North”(SUPPLY JNDEPTNUM=DEPTNUMDEPT )[8+8]
3. (a) Explain the use of semi-Join for Join quarics with example.
(b) Discuss how query optimization is useful in distributed databases. [8+8]