Unit 1
Unit 1
Unit 1
1. Location Transparency
2. Replication Transparency
3. Failure Transparency
4. Concurrency Transparency
Transparency in a Distributed Database System
1.Location Transparency
Although data are geographically distributed and may move from
place to place, with location transparency, users (including
developers) can act as if all the data were located at a single node
Transparency in a Distributed Database System
Notice that this SQL request does not require the user to know where the data
are physically stored. The distributed DBMS at the local site (San Mateo) will consult
and determine that this request must be routed to New York .
Transparency in a Distributed Database System
2.Replication Transparency
Although the same data item may be replicated at several nodes in a network, with
replication transparency (sometimes called fragmentation transparency), the developer
(or other user) may treat the item as if it were a single item at a single node. An
identical copy of this file is maintained at all three nodes (full replication). First,
consider the problem of reading part (or all) of this file at any node. The distributed
DBMS will consult the data directory and determine that this is a local transaction (i.e.,
it can be completed using data at the local site only). Thus, the user need not be aware
that the same data are stored at other sites.
Transparency in a Distributed Database System
3.Failure Transparency
The distributed DBMS is responsible for database recovery when a failure has
occurred. The distributed DBMS at each site has a component called the transaction
manager that performs two functions:
1. Maintains a log of transactions and before and after database images
2. Maintains an appropriate concurrency control scheme to ensure data integrity
during parallel execution of transactions at that site.
Transparency in a Distributed Database System
4.Concurrency Transparency
The problem of concurrency control is more complex in a distributed
database, because the multiple users are spread out among multiple
sites and the data are often replicated at several sites, as well.
The objective of concurrency management is easy to define but often
difficult to implement in practice. Although the distributed system runs
many transactions concurrently, concurrency transparency allows
each transaction to appear as if it were the only activity in the
system.
Advantages of DDBMS…