Docsity
Docsity

Prepare for your exams
Prepare for your exams

Study with the several resources on Docsity


Earn points to download
Earn points to download

Earn points by helping other students or get them with a premium plan


Guidelines and tips
Guidelines and tips

Distributed Databases: Concepts, Architectures, and Fragmentation, Exercises of Database Programming

Data base systems chapter 3 Data base systems chapter 3

Typology: Exercises

2022/2023

Uploaded on 06/24/2023

ch-subhash
ch-subhash 🇮🇳

5 documents

1 / 2

Toggle sidebar

This page cannot be seen from the preview

Don't miss anything!

bg1
Distributed database
-> Data in distributed database system is stored across serveral
Properties
-> Distributed data independence :Ask Queries without specifying where referenced
relations
are located
-> Distributed transaction atomicity: Write transcations that access and update
data at
several sites
Type of Distributed Database
-> Homogenous Distributed Database System: If data is distributed, but all server
run the same Dbms Software
-> Heterogenous Distributed Database Systems:It is a system where different sites
use different dbms but ar connected to access to data from various sites
ARCHITECTURE
->Client -server systems:
* This systems has one or more client process and server process
*A client process can send a query to any one server process
*Client are responsiable for user interfaces
*Server manage data and execute trasactions
*Client process can run on a personal computer and send queries to server running
mainframe.
*Architectures not allow single query to span multiple servers
->Collaborating Server Systems
* The client process would have to be capable of breaking of query into subquery
* The collaborating server system can have a collections of database servers each
capable of running trasactions against local data
* When a server receives a query that requires access to data at other server ,It
generates appropriate subqueries to be executed by other servers
*Puts the results together to compute answers to the original query
-> Middleware systems
*Middleware is and intermediate layer of software that sits b.w applications and
network.
*Message -oriented middleware is designed for the purpose of transporting message
between two or more applications and best suited for distributed applications thath
requires transactions
Types of fragmentation:
->Horizantal fragmentation:The union of the horizantal fragments must be equal to
original relations. Fragments are disjoint
->Vertical Fragmentation : The collection of vertical fragments should be
lossless-join decomposition.
pf2

Partial preview of the text

Download Distributed Databases: Concepts, Architectures, and Fragmentation and more Exercises Database Programming in PDF only on Docsity!

Distributed database -> Data in distributed database system is stored across serveral Properties -> Distributed data independence :Ask Queries without specifying where referenced relations are located -> Distributed transaction atomicity: Write transcations that access and update data at several sites Type of Distributed Database -> Homogenous Distributed Database System: If data is distributed, but all server run the same Dbms Software -> Heterogenous Distributed Database Systems:It is a system where different sites use different dbms but ar connected to access to data from various sites ARCHITECTURE ->Client -server systems:

  • This systems has one or more client process and server process *A client process can send a query to any one server process *Client are responsiable for user interfaces *Server manage data and execute trasactions *Client process can run on a personal computer and send queries to server running mainframe. *Architectures not allow single query to span multiple servers ->Collaborating Server Systems
  • The client process would have to be capable of breaking of query into subquery
  • The collaborating server system can have a collections of database servers each capable of running trasactions against local data
  • When a server receives a query that requires access to data at other server ,It generates appropriate subqueries to be executed by other servers *Puts the results together to compute answers to the original query -> Middleware systems *Middleware is and intermediate layer of software that sits b.w applications and network. *Message -oriented middleware is designed for the purpose of transporting message between two or more applications and best suited for distributed applications thath requires transactions Types of fragmentation: ->Horizantal fragmentation:The union of the horizantal fragments must be equal to original relations. Fragments are disjoint ->Vertical Fragmentation : The collection of vertical fragments should be lossless-join decomposition.

Replication: ->Synchrouns replications : It is a process of writing data to two systems at once ,rather one at a time ->Asynchrouns replication :It is a process of copy data to replica after the data is already written to the primary storage