Outline Introduction What is a distributed DBMS Problems

Outline Introduction à What is a distributed DBMS à Problems à Current state-of-affairs Distributed DBMS Background Distributed DBMS Architecture Distributed Database Design (Briefly) Distributed Query Processing (Briefly) Distributed Transaction Management (Extensive) Building Distributed Database Systems (RAID) Mobile Database Systems Privacy, Trust, and Authentication Peer to Peer Systems © 2001 M. Tamer Özsu & Patrick Valduriez Page 1. 1

File Systems program 1 data description 1 File 1 program 2 data description 2 File 2 program 3 data description 3 Distributed DBMS © 2001 M. Tamer Özsu & Patrick Valduriez File 3 Page 1. 2

Database Management Application program 1 (with data semantics) Application program 2 (with data semantics) DBMS description manipulation control database Application program 3 (with data semantics) Distributed DBMS © 2001 M. Tamer Özsu & Patrick Valduriez Page 1. 3

Integrate Databases and Commuinication Database Technology Computer Networks integration distribution Distributed Database Systems integration Distributed DBMS © 2001 M. Tamer Özsu & Patrick Valduriez Page 1. 4

Distributed Computing Distributed DBMS A number of autonomous processing elements (not necessarily homogeneous) that are interconnected by a computer network and that cooperate in performing their assigned tasks. © 2001 M. Tamer Özsu & Patrick Valduriez Page 1. 5

Distributed Computing Synonymous terms à distributed data processing à multiprocessors/multicomputers à satellite processing à backend processing à dedicated/special purpose computers à timeshared systems à functionally modular systems à Peer to Peer Systems Distributed DBMS © 2001 M. Tamer Özsu & Patrick Valduriez Page 1. 6

What is distributed … Distributed DBMS Processing logic Functions Data Control © 2001 M. Tamer Özsu & Patrick Valduriez Page 1. 7

What is a Distributed Database System? A distributed database (DDB) is a collection of multiple, logically interrelated databases distributed over a computer network. A distributed database management system (D–DBMS) is the software that manages the DDB and provides an access mechanism that makes this distribution transparent to the users. Distributed database system (DDBS) = DB + Communication Distributed DBMS © 2001 M. Tamer Özsu & Patrick Valduriez Page 1. 8

What is not a DDBS? A timesharing computer system A loosely or tightly coupled multiprocessor system A database system which resides at one of the nodes of a network of computers - this is a centralized database on a network node Distributed DBMS © 2001 M. Tamer Özsu & Patrick Valduriez Page 1. 9

Centralized DBMS on a Network Site 1 Site 2 Site 5 Communication Network Site 4 Distributed DBMS Site 3 © 2001 M. Tamer Özsu & Patrick Valduriez Page 1. 10

Distributed DBMS Environment Site 1 Site 2 Site 5 Communication Network Site 4 Distributed DBMS Site 3 © 2001 M. Tamer Özsu & Patrick Valduriez Page 1. 11

Implicit Assumptions Data stored at a number of sites each site logically consists of a single processor. Processors at different sites are interconnected by a computer network no multiprocessors à parallel database systems Distributed database is a database, not a collection of files data logically related as exhibited in the users’ access patterns à relational data model D-DBMS is a full-fledged DBMS à not remote file system, not a TP system Distributed DBMS © 2001 M. Tamer Özsu & Patrick Valduriez Page 1. 12

Shared-Memory Architecture P 1 Pn M D Examples : symmetric multiprocessors (Sequent, Encore) and some mainframes (IBM 3090, Bull's DPS 8) Distributed DBMS © 2001 M. Tamer Özsu & Patrick Valduriez Page 1. 13

Shared-Nothing Architecture P 1 Pn D 1 M 1 Examples : Distributed DBMS Dn Mn Teradata's DBC, Tandem, Intel's Paragon, NCR's 3600 and 3700 © 2001 M. Tamer Özsu & Patrick Valduriez Page 1. 14

Applications Distributed DBMS Manufacturing - especially multi-plant manufacturing Military command control Electronic fund transfers and electronic trading Corporate MIS Airline restrictions Hotel chains Any organization which has a decentralized organization structure © 2001 M. Tamer Özsu & Patrick Valduriez Page 1. 15

Distributed DBMS Promises Distributed DBMS Transparent management of distributed, fragmented, and replicated data Improved reliability/availability through distributed transactions Improved performance Easier and more economical system expansion © 2001 M. Tamer Özsu & Patrick Valduriez Page 1. 16

Transparency is the separation of the higher level semantics of a system from the lower level implementation issues. Fundamental issue is to provide data independence in the distributed environment à Network (distribution) transparency à Replication transparency à Fragmentation transparency horizontal fragmentation: selection vertical fragmentation: projection hybrid Distributed DBMS © 2001 M. Tamer Özsu & Patrick Valduriez Page 1. 17

Example ASG EMP ENO ENAME E 1 E 2 E 3 E 4 E 5 E 6 E 7 E 8 J. Doe M. Smith A. Lee J. Miller B. Casey L. Chu R. Davis J. Jones TITLE Elect. Eng. Syst. Anal. Mech. Eng. Programmer Syst. Anal. Elect. Eng. Mech. Eng. Syst. Anal. PROJ Distributed DBMS ENO PNO E 1 E 2 E 3 E 4 E 5 E 6 E 7 E 8 P 1 P 2 P 3 P 4 P 2 P 4 P 3 P 5 P 3 RESP Manager Analyst Consultant Engineer Programmer Manager Engineer Manager DUR 12 24 6 10 48 18 24 48 36 23 40 PAY PNO PNAME BUDGET TITLE SAL P 1 P 2 P 3 P 4 Instrumentation Database Develop. CAD/CAM Maintenance 150000 135000 250000 310000 Elect. Eng. Syst. Anal. Mech. Eng. Programmer 40000 34000 27000 24000 © 2001 M. Tamer Özsu & Patrick Valduriez Page 1. 18

Transparent Access SELECT FROM WHERE AND ENAME, SAL EMP, ASG, PAY DUR > 12 EMP. ENO = ASG. ENO PAY. TITLE = EMP. TITLE Tokyo Paris Boston Communication Network Paris projects Paris employees Paris assignments Boston employees Boston projects Boston employees Boston assignments Montreal New York Boston projects New York employees New York projects New York assignments Distributed DBMS © 2001 M. Tamer Özsu & Patrick Valduriez Montreal projects Paris projects New York projects with budget > 200000 Montreal employees Montreal assignments Page 1. 19
- Slides: 19