Distributed DBMS© 2001 M. Tamer Özsu & Patrick Valduriez Page 1.1 Outline  Introduction à What is a distributed DBMS à Problems à Current state-of-affairs.

Slides:



Advertisements
Similar presentations
Distributed DBMS©M. T. Özsu & P. Valduriez Ch.14/1 Outline Introduction Background Distributed Database Design Database Integration Semantic Data Control.
Advertisements

Distributed Database Systems
Outline  Introduction  Background  Distributed DBMS Architecture  Distributed Database Design  Semantic Data Control ➠ View Management ➠ Data Security.
Distributed DBMSPage 6. 1© 1998 M. Tamer Özsu & Patrick Valduriez Outline Introduction Background Distributed DBMS Architecture Distributed Database Design.
Distributed DBMS © M. T. Özsu & P. Valduriez Ch.7/1 Outline Introduction Background Distributed Database Design Database Integration Semantic Data Control.
Distributed databases
Distributed Database Systems Dr. Mohamed Osman Hegazi.
Transaction.
MIS 385/MBA 664 Systems Implementation with DBMS/ Database Management Dave Salisbury ( )
Chapter 13 (Web): Distributed Databases
1 File Processing n Data are stored in files with interface between programs and files. n Various access methods exist (e.g., Sequential, indexed, random)
1 Minggu 12, Pertemuan 23 Introduction to Distributed DBMS (Chapter , 22.6, 3rd ed.) Matakuliah: T0206-Sistem Basisdata Tahun: 2005 Versi: 1.0/0.0.
Distributed DBMSPage © 1998 M. Tamer Özsu & Patrick Valduriez Outline Introduction Background Distributed DBMS Architecture Distributed Database.
Distributed Database Management Systems
Distributed DBMSPage 4. 1© 1998 M. Tamer Özsu & Patrick Valduriez Outline Introduction Background  Distributed DBMS Architecture  Datalogical Architecture.
Distributed DBMSPage 5. 1 © 1998 M. Tamer Özsu & Patrick Valduriez Outline Introduction Background Distributed DBMS Architecture  Distributed Database.
Overview Distributed vs. decentralized Why distributed databases
Distributed DBMSPage 5. 1 © 1998 M. Tamer Özsu & Patrick Valduriez Outline Introduction Background Distributed DBMS Architecture  Distributed Database.
Chapter 12 Distributed Database Management Systems
Distributed DBMS© 2001 M. Tamer Özsu & Patrick Valduriez Page 1.1 Outline  Introduction à What is a distributed DBMS à Problems à Current state-of-affairs.
Outline Introduction Background Distributed Database Design
Distributed databases
WPI, MOHAMED ELTABAKH PARALLEL & DISTRIBUTED DATABASES 1.
Distributed Databases and DBMSs: Concepts and Design
PMIT-6103 Advanced Database Systems
Distributed DBMSPage © 1998 M. Tamer Özsu & Patrick Valduriez Outline Introduction Background Distributed DBMS Architecture Distributed Database.
Chapter 3 Database Architectures and the Web Pearson Education © 2009.
2. Introduction Chapter 1 Introduction 1.
Distributed Database The University of California Berkeley Extension Copyright © 2011 Patrick McDermott.
1 Distributed and Parallel Databases. 2 Distributed Databases Distributed Systems goal: –to offer local DB autonomy at geographically distributed locations.
III. Current Trends: 1 - Distributed DBMSsSlide 1/32 III. Current Trends Part 1: Distributed DBMSs: Concepts and Design Lecture 12 (2 hours) Lecturer:
Distributed Database Management Systems
Session-9 Data Management for Decision Support
PMIT-6102 Advanced Database Systems By- Jesmin Akhter Assistant Professor, IIT, Jahangirnagar University.
Session-8 Data Management for Decision Support
1 About the Instructor Name: Gong Zhiguo Office: N512 Phone: Remark: Some of the slides are tailored from.
Database Systems: Design, Implementation, and Management Tenth Edition Chapter 12 Distributed Database Management Systems.
Week 5 Lecture Distributed Database Management Systems Samuel ConnSamuel Conn, Asst Professor Suggestions for using the Lecture Slides.
Distributed Database Systems Overview
Distributed DBMS© 2001 M. Tamer Özsu & Patrick Valduriez Page 1.1 Outline  Introduction à What is a distributed DBMS à Problems à Current state-of-affairs.
Distributed Databases Midterm review. Lectures covered Everything until (including) March 2 nd Everything until (including) March 2 nd Focus on distributed.
DISTRIBUTED DATABASES 1. RECAP: PARALLEL DATABASES Three possible architectures Shared-memory Shared-disk Shared-nothing (the most common one) Parallel.
DDBMS Distributed Database Management Systems Fragmentation
Distributed DBMSs- Concept and Design Jing Luo CS 157B Dr. Lee Fall, 2003.
Kjell Orsborn UU - DIS - UDBL DATABASE SYSTEMS - 10p Course No. 2AD235 Spring 2002 A second course on development of database systems Kjell.
Distributed Databases
Distributed Database Systems
Chapter 12 Distributed Database Management Systems.
1 Distributed Databases BUAD/American University Distributed Databases.
Distributed database system
CS742 – Distributed & Parallel DBMSM. Tamer Özsu Page 1.1 Outline Introduction & architectural issues What is a distributed DBMS Problems Current state-of-affairs.
PMIT-6102 Advanced Database Systems By- Jesmin Akhter Assistant Professor, IIT, Jahangirnagar University.
Topic Distributed DBMS Database Management Systems Fall 2012 Presented by: Osama Ben Omran.
Distributed Database Management Systems. Reading Textbook: Ch. 1, Ch. 3 Textbook: Ch. 1, Ch. 3 For next class: Ch. 4 For next class: Ch. 4 FarkasCSCE.
 Distributed Database Concepts  Parallel Vs Distributed Technology  Advantages  Additional Functions  Distribution Database Design  Data Fragmentation.
Distributed DBMS© 2001 M. Tamer Özsu & Patrick Valduriez Page 1.1 Outline n Introduction Background Distributed DBMS Architecture Distributed Database.
Ch.1/1 Outline Introduction – What is a distributed DBMS – Distributed DBMS Architecture Background Distributed Database Design Database Integration Semantic.
IT 5433 LM1. Learning Objectives Understand key terms in database Explain file processing systems List parts of a database environment Explain types of.
1 Chapter 22 Distributed DBMSs - Concepts and Design Simplified Transparencies © Pearson Education Limited 1995, 2005.
Chapter 01 Introduction to Distributed Database. Overview File System ◦ Menyediakan suatu prosedur bagi suatu program untuk menyimpan, melakukan update,
Virtual University of Pakistan Distributed database Management Systems Lecture 03.
Distributed Database Concepts
Outline Background Introduction Distributed DBMS Architecture
Distributed Database Management Systems
DISTRIBUTED DATABASE ARCHITECTURE
OVERVIEW OF RELATIONAL DBMS PERTEMUAN 1 IR. NIZIRWAN ANWAR, MT
Outline Introduction Background Distributed DBMS Architecture
Outline Introduction Background Distributed DBMS Architecture
A View over Distributed databases
Outline Introduction Background Distributed DBMS Architecture
Presentation transcript:

Distributed DBMS© 2001 M. Tamer Özsu & Patrick Valduriez Page 1.1 Outline  Introduction à What is a distributed DBMS à Problems à Current state-of-affairs  Background  Distributed DBMS Architecture  Distributed Database Design  Semantic Data Control  Distributed Query Processing  Distributed Transaction Management o Parallel Database Systems o Distributed Object DBMS o Database Interoperability o Current Issues

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

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

Distributed DBMS© 2001 M. Tamer Özsu & Patrick Valduriez Page 1.4 Motivation Database Technology Computer Networks integrationdistribution integration integration ≠ centralization Distributed Database Systems

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

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

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

Distributed DBMS© 2001 M. Tamer Özsu & Patrick Valduriez Page 1.8 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) = DDB + D–DBMS

Distributed DBMS© 2001 M. Tamer Özsu & Patrick Valduriez Page 1.9 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 What is not a DDBS?

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

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

Distributed DBMS© 2001 M. Tamer Özsu & Patrick Valduriez Page 1.12 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.13 Shared-Memory Architecture Examples :symmetric multiprocessors (Sequent, Encore) and some mainframes (IBM3090, Bull's DPS8) P1P1 PnPn M D

Distributed DBMS© 2001 M. Tamer Özsu & Patrick Valduriez Page 1.14 Shared-Disk Architecture Examples :DEC's VAXcluster, IBM's IMS/VS Data Sharing D P1P1 M1M1 PnPn MnMn

Distributed DBMS© 2001 M. Tamer Özsu & Patrick Valduriez Page 1.15 Shared-Nothing Architecture Examples :Teradata's DBC, Tandem, Intel's Paragon, NCR's 3600 and 3700 P1P1 M1M1 D1D1 PnPn MnMn DnDn

Distributed DBMS© 2001 M. Tamer Özsu & Patrick Valduriez Page 1.16 Manufacturing - especially multi-plant manufacturing Military command and control EFT Corporate MIS Airlines Hotel chains Any organization which has a decentralized organization structure Applications

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

Distributed DBMS© 2001 M. Tamer Özsu & Patrick Valduriez Page 1.18 Transparency 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.19 Example TITLESAL PAY Elect. Eng Syst. Anal Mech. Eng Programmer24000 PROJ PNO PNAME BUDGET ENOENAMETITLE E1J. DoeElect. Eng. E2M. SmithSyst. Anal. E3A. LeeMech. Eng. E4J. MillerProgrammer E5B. CaseySyst. Anal. E6L. ChuElect. Eng. E7R. DavisMech. Eng. E8J. JonesSyst. Anal. EMP ENOPNORESP E1P1Manager12 DUR E2P1Analyst24 E2P2Analyst 6 E3P3Consultant10 E3P4Engineer48 E4P2Programmer18 E5P2Manager24 E6P4Manager48 E7P3Engineer36 E8P3Manager40 ASG P1 Instrumentation P3CAD/CAM P2Database Develop P4Maintenance E7P5Engineer23

Distributed DBMS© 2001 M. Tamer Özsu & Patrick Valduriez Page 1.20 Transparent Access SELECTENAME,SAL FROMEMP,ASG,PAY WHEREDUR > 12 ANDEMP.ENO = ASG.ENO ANDPAY.TITLE = EMP.TITLE Paris projects Paris employees Paris assignments Boston employees Montreal projects Paris projects New York projects with budget > Montreal employees Montreal assignments Boston Communication Network Montreal Paris New York Boston projects Boston employees Boston assignments Boston projects New York employees New York projects New York assignments Tokyo

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

Distributed DBMS© 2001 M. Tamer Özsu & Patrick Valduriez Page 1.22 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

Distributed DBMS© 2001 M. Tamer Özsu & Patrick Valduriez Page 1.23 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

Distributed DBMS© 2001 M. Tamer Özsu & Patrick Valduriez Page 1.24 Parallelism Requirements  Have as much of the data required by each application at the site where the application executes à Full replication How about updates? à Updates to replicated data requires implementation of distributed concurrency control and commit protocols

Distributed DBMS© 2001 M. Tamer Özsu & Patrick Valduriez Page 1.25 System Expansion Issue is database scaling Emergence of microprocessor and workstation technologies à Demise of Grosh's law à Client-server model of computing Data communication cost vs telecommunication cost

Distributed DBMS© 2001 M. Tamer Özsu & Patrick Valduriez Page 1.26 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

Distributed DBMS© 2001 M. Tamer Özsu & Patrick Valduriez Page 1.27 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

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

Distributed DBMS© 2001 M. Tamer Özsu & Patrick Valduriez Page 1.29 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 Related Issues