Documente Academic
Documente Profesional
Documente Cultură
2
DISTRIBUTED DATABASE
So far we have mostly used Access databases
Access databases consist of a single file in a
single location
However, it is not always ideal to have all data
stored at the same physical location
A distributed database is a single logical
database that is spread physically across
computers in multiple locations that are
connected by data communications.
3
SINGLE LOGICAL DATABASE
4
ARCHITECTURE
5
EXAMPLE
6
EXAMPLE
From: McFadden, F., Hoffer, J. & Prescott, M. 1998, Modern Database Management, 4th edn, Addison-
Wesley, New Jersey.
7
HOMOGENEOUS VS HETEROGENEOUS
8
DISTRIBUTED VS DECENTRALISED
9
DISTRIBUTED VS DECENTRALISED
Distributed database
Appears as one database to the user
Users should not normally be aware of the
location of any given data
Decentralised database:
Does not appear as one database to the user
User will have to manually navigate to data at
another site – will have to know where it is.
10
GOALS OF DISTRIBUTED DATABASE
Continuous operation
Fragmentation independence
Replication independence
11
GOALS OF DISTRIBUTED DATABASE
Goals continued:
Distributed transaction management
Hardware independence
Network independence
DBMS independence
12
LOCATION TRANSPARENCY
13
LOCAL AUTONOMY
14
OPTIONS FOR DISTRIBUTING
Vertical partitioning
15
DATA REPLICATION
16
DATA REPLICATION
Advantages include:
Fasterlocal access
Greater autonomy
Disadvantages include:
Difficulty maintaining consistent copies of the
data
17
PARTITIONING
18
PHYSICAL DISTRIBUTION
19
SUMMARY
20
SUMMARY
Vertical partitioning
Combinations of these.
21