Distributed Database Systems. Prof. Dr. Carl-Christian Kanne

Similar documents
Distributed Database Management Systems

Overview of Database Management

Distributed Database Design (Chapter 5)

Distributed Databases in a Nutshell

Chapter 2: DDBMS Architecture

Distributed Databases

Outline. Distributed DBMSPage 4. 1

Distributed Database Design

Chapter 5: Overview of Query Processing

Advanced Database Management Systems

AN OVERVIEW OF DISTRIBUTED DATABASE MANAGEMENT

Principles of Distributed Database Systems

Chapter 3: Distributed Database Design

DISTRIBUTED AND PARALLELL DATABASE

Distributed and Parallel Database Systems

Distributed Databases. Concepts. Why distributed databases? Distributed Databases Basic Concepts

Data Management in the Cloud. Zhen Shi

Chapter 1: Introduction. Database Management System (DBMS)

CS 338 Join, Aggregate and Group SQL Queries

Objectives. Distributed Databases and Client/Server Architecture. Distributed Database. Data Fragmentation

Chapter 1: Introduction

Distributed Data Management

AHAIWE Josiah Information Management Technology Department, Federal University of Technology, Owerri - Nigeria jahaiwe@yahoo.

Chapter 3. Database Environment - Objectives. Multi-user DBMS Architectures. Teleprocessing. File-Server

Distributed Database Management Systems for Information Management and Access

Distributed Data Management in 2020?

B.Com(Computers) II Year DATABASE MANAGEMENT SYSTEM UNIT- V

chapater 7 : Distributed Database Management Systems

Introduction to database management systems

Introduction to Database Systems

IV Distributed Databases - Motivation & Introduction -

VII. Database System Architecture

Contents RELATIONAL DATABASES

Chapter 1 Databases and Database Users

SQL VS. NO-SQL. Adapted Slides from Dr. Jennifer Widom from Stanford

Topics. Distributed Databases. Desirable Properties. Introduction. Distributed DBMS Architectures. Types of Distributed Databases

Copyright 2011 Pearson Education, Inc. Publishing as Pearson Addison-Wesley. Chapter 1 Outline

Concepts of Database Management Seventh Edition. Chapter 7 DBMS Functions

Distributed Architectures. Distributed Databases. Distributed Databases. Distributed Databases

VALLIAMMAI ENGNIEERING COLLEGE SRM Nagar, Kattankulathur

Topics. Introduction to Database Management System. What Is a DBMS? DBMS Types

The ConTract Model. Helmut Wächter, Andreas Reuter. November 9, 1999

Chapter 18: Database System Architectures. Centralized Systems

Data Management in the Cloud

Centralized Systems. A Centralized Computer System. Chapter 18: Database System Architectures

Database Design. Marta Jakubowska-Sobczak IT/ADC based on slides prepared by Paula Figueiredo, IT/DB

SQL Server 2012 Optimization, Performance Tuning and Troubleshooting

Chapter 6 The database Language SQL as a tutorial

A Shared-nothing cluster system: Postgres-XC

Overview of Database Management Systems

SODDA A SERVICE-ORIENTED DISTRIBUTED DATABASE ARCHITECTURE

FROM RELATIONAL TO OBJECT DATABASE MANAGEMENT SYSTEMS

Distributed Database Management Systems

Database Management. Chapter Objectives

Tier Architectures. Kathleen Durant CS 3200

When an organization is geographically dispersed, it. Distributed Databases. Chapter 13-1 LEARNING OBJECTIVES INTRODUCTION

Parallel Databases. Parallel Architectures. Parallelism Terminology 1/4/2015. Increase performance by performing operations in parallel

B.Com(Computers) II Year RELATIONAL DATABASE MANAGEMENT SYSTEM Unit- I

BBM467 Data Intensive ApplicaAons

Chapter 10: Distributed DBMS Reliability

Steps to System Reconfiguration in a Distributed Database System: A Fault-tolerant Approach

Data Management in the Cloud -

Computer Information Systems (CIS)

Database System Concepts

Computer Science 4302 Operating Systems. Student Learning Outcomes

Information Systems Analysis and Design CSC John Mylopoulos. Software Architectures Information Systems Analysis and Design CSC340

Introduction to Parallel and Distributed Databases

Week 1 Part 1: An Introduction to Database Systems. Databases and DBMSs. Why Use a DBMS? Why Study Databases??

The Sierra Clustered Database Engine, the technology at the heart of

Elena Baralis, Silvia Chiusano Politecnico di Torino. Pag. 1. Query optimization. DBMS Architecture. Query optimizer. Query optimizer.

Introduction to Databases

Distributed Databases

Transaction Management in Distributed Database Systems: the Case of Oracle s Two-Phase Commit

Affordable, Scalable, Reliable OLTP in a Cloud and Big Data World: IBM DB2 purescale

An Overview of Distributed Databases

ECS 165A: Introduction to Database Systems

Distributed Database Systems

Distributed Databases

Building Multi-tenant Applications with Actian PSQL

Lesson 12: Recovery System DBMS Architectures

How To Build A Fault Tolerant Mythrodmausic Installation

Cloud Computing. Theory and Practice. Dan C. Marinescu. Morgan Kaufmann is an imprint of Elsevier HEIDELBERG LONDON AMSTERDAM BOSTON

Types & Uses of Databases

Chapter 1: Introduction

Introduction to Computing. Lectured by: Dr. Pham Tran Vu

Data Distribution with SQL Server Replication

Understanding and Controlling Transaction Logs

Introduction to Database Systems. Module 1, Lecture 1. Instructor: Raghu Ramakrishnan UW-Madison

Federated Directory Services

The Graduate Program in Information Technology at Virginia Tech

Transcription:

Distributed Database Systems Prof. Dr. Carl-Christian Kanne 1

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 2

Centralized DBMS on a Network Site 5 Site 1 Site 2 Communication Network Site 4 Site 3 3

Distributed DBMS Environment Site 5 Site 1 Communication Network Site 2 Site 4 Site 3 4

Shared-Memory Architecture P 1 P n M D 5

Shared-Disk Architecture P 1 P n D M 1 M n 6

Shared-Nothing Architecture P 1 M 1 D 1 P n M n D n 7

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 8

Transparency Fundamental issue: data independence in the distributed environment Network (distribution) transparency Replication transparency Fragmentation transparency 9

Example EMP ENO ENAME TITLE E1 J. Doe Elect. Eng. E2 M. Smith Syst. Anal. E3 A. Lee Mech. Eng. E4 J. Miller Programmer E5 B. Casey Syst. Anal. E6 L. Chu Elect. Eng. E7 R. Davis Mech. Eng. E8 J. Jones Syst. Anal. PROJ PNO PNAME BUDGET P1 Instrumentation 150000 P2 Database Develop. 135000 P3 CAD/CAM 250000 P4 Maintenance 310000 ASG ENO PNO RESP E1 P1 Manager 12 E2 P1 Analyst 24 E2 P2 Analyst 6 E3 P3 Consultant 10 E3 P4 Engineer 48 E4 P2 Programmer 18 E5 P2 Manager 24 E6 P4 Manager 48 E7 P3 Engineer 36 E7 P5 Engineer 23 E8 P3 Manager 40 PAY TITLE DUR SAL Elect. Eng. 40000 Syst. Anal. 34000 Mech. Eng. 27000 Programmer 24000 10

Transparent Access Tokyo Paris Boston Communication Network Paris projects Paris employees Paris assignments Boston employees Boston projects Boston employees Boston assignments Montreal SELECT ENAME,SAL FROM EMP,ASG,PAY WHERE DUR > 12 New York Boston projects New York employees New York projects New York assignments AND EMP.ENO = ASG.ENO AND PAY.TITLE = EMP.TITLE Montreal projects Paris projects New York projects with budget > 200000 Montreal employees Montreal assignments 11

Distributed Database - User View Distributed Database 12

Distributed DBMS - Reality DBMS Software DBMS Software DBMS Software User Query User Application DBMS Software Communication Subsystem User Query DBMS Software User Application User Query 13

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 14

Parallelism Requirements data required by each application where it executes Full replication? How about updates? require implementation of distributed concurrency control and commit protocols 15

Distributed DBMS Issues Distributed Database Design how to distribute the database replicated & non-replicated database distribution Query Processing convert user transactions to data manipulation instructions optimization problem min{cost = data transmission + local processing} 16

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 17

Relationship Between Issues Directory Management Query Processing Distribution Design Reliability Concurrency Control Deadlock Management 18

Outline Distributed DBMS Architecture Distributed Database Design Distributed Query Processing Distributed Transaction Management Cloud Computing Infrastructure 19