Presentation is loading. Please wait.

Presentation is loading. Please wait.

Distributed DBMS© 2001 M. Tamer Özsu & Patrick Valduriez Page 1.1 Outline n Introduction Background Distributed DBMS Architecture Distributed Database.

Similar presentations


Presentation on theme: "Distributed DBMS© 2001 M. Tamer Özsu & Patrick Valduriez Page 1.1 Outline n Introduction Background Distributed DBMS Architecture Distributed Database."— Presentation transcript:

1 Distributed DBMS© 2001 M. Tamer Özsu & Patrick Valduriez Page 1.1 Outline n Introduction Background Distributed DBMS Architecture Distributed Database Design (Briefly) Distributed Query Processing (Briefly) Distributed Transaction Management (Extensive) n Building Distributed Database Systems (RAID) Mobile Database Systems Privacy, Trust, and Authentication Peer to Peer Systems

2 Distributed DBMS© 2001 M. Tamer Özsu & Patrick Valduriez Page 1.2 Distributed Database - User View Distributed Database

3 Distributed DBMS© 2001 M. Tamer Özsu & Patrick Valduriez Page 1.3 Distributed DBMS - Reality Communication Subsystem User Query DBMS Software DBMS Software User Application DBMS Software User Application User Query DBMS Software User Query DBMS Software

4 Distributed DBMS© 2001 M. Tamer Özsu & Patrick Valduriez Page 1.4 Potentially Improved Performance Proximity of data to its points of use à Requires some support for fragmentation and replication Parallelism in execution à Inter-query parallelism à Intra-query parallelism

5 Distributed DBMS© 2001 M. Tamer Özsu & Patrick Valduriez Page 1.5 System Expansion Issue is database scaling Peer to Peer systems Communication overhead

6 Distributed DBMS© 2001 M. Tamer Özsu & Patrick Valduriez Page 1.6 Distributed DBMS Issues Distributed Database Design à how to distribute the database à replicated & non-replicated database distribution à a related problem in directory management  Query Processing à convert user transactions to data manipulation instructions à optimization problem à min{cost = data transmission + local processing} à general formulation is NP-hard

7 Distributed DBMS© 2001 M. Tamer Özsu & Patrick Valduriez Page 1.7 Distributed DBMS Issues Concurrency Control à Synchronization of concurrent accesses à Consistency and isolation of transactions' effects à Deadlock management Reliability à How to make the system resilient to failures à Atomicity and durability Privacy/Security à Keep database access private à Protect against malicious activities Trusted Collaborations (Emerging requirements) à Evaluate trust among users and database sites à Enforce policies for privacy à Enforce integrity

8 Distributed DBMS© 2001 M. Tamer Özsu & Patrick Valduriez Page 1.8 Directory Management Relationship Between Issues Reliability Deadlock Management Query Processing Concurrency Control Distribution Design

9 Distributed DBMS© 2001 M. Tamer Özsu & Patrick Valduriez Page 1.9 Operating System Support à operating system with proper support for database operations à dichotomy between general purpose processing requirements and database processing requirements Open Systems and Interoperability à Distributed Multidatabase Systems à More probable scenario à Parallel issues Network Behavior Related Issues

10 Distributed DBMS© 2001 M. Tamer Özsu & Patrick Valduriez Page 1.10 Outline Introduction Background  Distributed DBMS Architecture à Introduction to Database Concepts  Architecture, Schema, Views à Alternatives in Distributed Database Systems à Datalogical Architecture à Implementation Alternatives à Component Architecture Distributed Database Design (Briefly) Distributed Query Processing (Briefly) Distributed Transaction Management (Extensive) n Building Distributed Database Systems (RAID) Mobile Database Systems Privacy, Trust, and Authentication Peer to Peer Systems

11 Distributed DBMS© 2001 M. Tamer Özsu & Patrick Valduriez Page 1.11 Background materials of database architecture Defines the structure of the system à components identified à functions of each component defined à interrelationships and interactions between components defined Architecture of a Database System

12 Distributed DBMS© 2001 M. Tamer Özsu & Patrick Valduriez Page 1.12 ANSI/SPARC Architecture External Schema Conceptual Schema Internal Schema Internal view Users External view Conceptual view External view External view

13 Distributed DBMS© 2001 M. Tamer Özsu & Patrick Valduriez Page 1.13 Reference Model à A conceptual framework whose purpose is to divide standardization work into manageable pieces and to show at a general level how these pieces are related to one another. Approaches à Component-based  Components of the system are defined together with the interrelationships between components.  Good for design and implementation of the system. à Function-based  Classes of users are identified together with the functionality that the system will provide for each class.  The objectives of the system are clearly identified. But how do you achieve these objectives? à Data-based  Identify the different types of describing data and specify the functional units that will realize and/or use data according to these views. Standardization

14 Distributed DBMS© 2001 M. Tamer Özsu & Patrick Valduriez Page 1.14 RELATION EMP [ KEY = {ENO} ATTRIBUTES = { ENO :CHARACTER (9) ENAME : CHARACTER (15) TITLE :CHARACTER (10) } ] RELATION PAY [ KEY = {TITLE} ATTRIBUTES = { TITLE :CHARACTER (10) SAL :NUMERIC (6) } ] Conceptual Schema Definition

15 Distributed DBMS© 2001 M. Tamer Özsu & Patrick Valduriez Page 1.15 RELATION PROJ [ KEY = {PNO} ATTRIBUTES = { PNO :CHARACTER (7) PNAME :CHARACTER (20) BUDGET :NUMERIC (7) } ] RELATION ASG [ KEY = {ENO,PNO} ATTRIBUTES = { ENO :CHARACTER (9) PNO :CHARACTER (7) RESP :CHARACTER (10) DUR :NUMERIC (3) } ] Conceptual Schema Definition

16 Distributed DBMS© 2001 M. Tamer Özsu & Patrick Valduriez Page 1.16 RELATION EMP [ KEY = {ENO} ATTRIBUTES = { ENO :CHARACTER (9) ENAME :CHARACTER (15) TITLE :CHARACTER (10) } ]   INTERNAL_REL EMPL [ INDEX ON E# CALL EMINX FIELD = { HEADER : BYTE (1) E# : BYTE (9) ENAME : BYTE (15) TIT : BYTE (10) } ] Internal Schema Definition

17 Distributed DBMS© 2001 M. Tamer Özsu & Patrick Valduriez Page 1.17 Create a BUDGET view from the PROJ relation CREATE VIEW BUDGET(PNAME, BUD) AS SELECT PNAME, BUDGET FROM PROJ External View Definition – Example 1

18 Distributed DBMS© 2001 M. Tamer Özsu & Patrick Valduriez Page 1.18 Create a Payroll view from relations EMP and TITLE_SALARY CREATEVIEW PAYROLL (ENO, ENAME, SAL) AS SELECT EMP.ENO,EMP.ENAME,PAY.SAL FROM EMP, PAY WHERE EMP.TITLE = PAY.TITLE External View Definition – Example 2


Download ppt "Distributed DBMS© 2001 M. Tamer Özsu & Patrick Valduriez Page 1.1 Outline n Introduction Background Distributed DBMS Architecture Distributed Database."

Similar presentations


Ads by Google