Assignment 01
Assignment 01
Assignment # : 01
1. Homogeneous Database:
2. Heterogeneous Database:
2. Fragmentation
In this approach, the relations are fragmented (i.e., they’re divided into smaller
parts) and each of the fragments is stored in different sites where they’re
required. It must be made sure that the fragments are such that they can be used
to reconstruct the original relation (i.e, there isn’t any loss of data).
Fragmentation is advantageous as it doesn’t create copies of data, consistency is
not a problem.
Fragmentation of relations can be done in two ways:
The database is divided into multiple locations and stores the data in Site1, Site2,Site3
and Site4.
The advantages and disadvantages of Distributed database management systems are
as follows −
Advantages of DDBMS-
The database is easier to expand as it is already spread across multiple systems
and it is not too complicated to add a system.
The distributed database can have the data arranged according to different levels
of transparency i.e data with different transparency levels can be stored at
different locations.
The database can be stored according to the departmental information in an
organisation. In that case, it is easier for a organisational hierarchical access.
there were a natural catastrophe such as fire or an earthquake all the data would
not be destroyed it is stored at different locations.
It is cheaper to create a network of systems containing a part of the database.
This database can also be easily increased or decreased.
Even if some of the data nodes go offline, the rest of the database can continue
its normal functions.
Disadvantages of DDBMS-
The distributed database is quite complex and it is difficult to make sure that a
user gets a uniform view of the database because it is spread across multiple
locations.
This database is more expensive as it is complex and hence, difficult to maintain.
It is difficult to provide security in a distributed database as the database needs
to be secured at all the locations it is stored. Moreover, the infrastructure
connecting all the nodes in a distributed database also needs to be secured.
It is difficult to maintain data integrity in the distributed database because of its
nature. There can also be data redundancy in the database as it is stored at
multiple locations.
The distributed database is complicated and it is difficult to find people with the
necessary experience who can manage and maintain it.