Distributed Database Management Systems

Slides:



Advertisements
Similar presentations
Database Systems: Design, Implementation, and Management
Advertisements

Enterprise Systems Distributed databases and systems - DT
Distributed Databases John Ortiz. Lecture 24Distributed Databases2  Distributed Database (DDB) is a collection of interrelated databases interconnected.
Distributed databases
Chapter 13 (Web): Distributed Databases
Chapter 25 Distributed Databases and Client-Server Architectures Copyright © 2004 Pearson Education, Inc.
ABCSG - Distributed Database 1 Data Management Distributed Database Data Replication.
Copyright © 2007 Ramez Elmasri and Shamkant B. Navathe Slide
Distributed Database Management Systems
Overview Distributed vs. decentralized Why distributed databases
Ch1: File Systems and Databases Hachim Haddouti
©Silberschatz, Korth and Sudarshan19.1Database System Concepts Lecture-10 Distributed Database System A distributed database system consists of loosely.
Chapter 12 Distributed Database Management Systems
Distributed Database Management Systems. Reading Textbook: Ch. 4 Textbook: Ch. 4 FarkasCSCE Spring
©Silberschatz, Korth and Sudarshan18.1Database System Concepts Centralized Systems Run on a single computer system and do not interact with other computer.
Outline Introduction Background Distributed Database Design
Distributed databases
Distributed Databases
Distributed Database and Replication. Distributed Database A logically interrelated collection of shared data and a description of this data physically.
Distributed Databases and DBMSs: Concepts and Design
Distributed Databases Dr. Lee By Alex Genadinik. Distributed Databases? What is that!?? Distributed Database - a collection of multiple logically interrelated.
1 Distributed and Parallel Databases. 2 Distributed Databases Distributed Systems goal: –to offer local DB autonomy at geographically distributed locations.
Database Design – Lecture 16
III. Current Trends: 1 - Distributed DBMSsSlide 1/32 III. Current Trends Part 1: Distributed DBMSs: Concepts and Design Lecture 12 (2 hours) Lecturer:
DISTRIBUTED DATABASES IN ADBMS Shilpa Seth
Session-9 Data Management for Decision Support
Massively Distributed Database Systems - Distributed DBS Spring 2014 Ki-Joune Li Pusan National University.
Session-8 Data Management for Decision Support
10 1 Chapter 10 Distributed Database Management Systems Database Systems: Design, Implementation, and Management, Sixth Edition, Rob and Coronel.
Database Systems: Design, Implementation, and Management Ninth 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 Databases Midterm review. Lectures covered Everything until (including) March 2 nd Everything until (including) March 2 nd Focus on distributed.
DDBMS Distributed Database Management Systems Fragmentation
Kjell Orsborn UU - DIS - UDBL DATABASE SYSTEMS - 10p Course No. 2AD235 Spring 2002 A second course on development of database systems Kjell.
ASMA AHMAD 28 TH APRIL, 2011 Database Systems Distributed Databases I.
1 Distributed Databases BUAD/American University Distributed Databases.
Distributed Database. Introduction A major motivation behind the development of database systems is the desire to integrate the operational data of an.
PMIT-6101 Advanced Database Systems By- Jesmin Akhter Assistant Professor, IIT, Jahangirnagar University.
CS338Parallel and Distributed Databases11-1 Parallel and Distributed Databases Lecture Topics Multi-CPU and distributed systems Monolithic system Client–server.
CS742 – Distributed & Parallel DBMSM. Tamer Özsu Page 1.1 Outline Introduction & architectural issues What is a distributed DBMS Problems Current state-of-affairs.
Topic Distributed DBMS Database Management Systems Fall 2012 Presented by: Osama Ben Omran.
Introduction to Distributed Databases Yiwei Wu. Introduction A distributed database is a database in which portions of the database are stored on multiple.
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.
1 Chapter 22 Distributed DBMS Concepts and Design CS 157B Edward Chen.
Distributed DBMSs – Concepts and Design Chapter 24 in Textbook.
CMS Advanced Database and Client-Server Applications Distributed Databases slides by Martin Beer and Paul Crowther Connolly and Begg Chapter 22.
1 Chapter 22 Distributed DBMSs - Concepts and Design Simplified Transparencies © Pearson Education Limited 1995, 2005.
Distributed Databases “Fundamentals”
LM 9. Distributed Database Dr. Lei Li 1. Note: The content of the slides including figures are mainly based on a publicly available textbook chapter:
Geographic Information Systems GIS Data Databases.
Distributed Databases and Client-Server Architectures
CHAPTER 25 - Distributed Databases and Client–Server Architectures
Distributed Database Concepts
Chapter 1: Introduction
Chapter 12 Distributed Database Management Systems
DISTRIBUTED DATABASE ARCHITECTURE
Distributed DBMS Concepts of Distributed DBMS
Chapter 19: Distributed Databases
Outline Introduction Background Distributed DBMS Architecture
Distributed Databases and DBMSs: Concepts and Design
Distributed Databases
Database Architecture
Distributed Database Management Systems
Introduction of Week 14 Return assignment 12-1
Outline Introduction Background Distributed DBMS Architecture
Distributed Databases
Geographic Information Systems
Presentation transcript:

Distributed Database Management Systems

Reading Textbook: Ch. 1, Ch. 3 For next class: Ch. 4 Farkas CSCE 824

Database Management System (DBMS) Collection of interrelated data and set of programs to access the data Convenient and efficient processing of data Database Application Software Farkas CSCE 824

Abstraction View level: different perspectives application programs hide irrelevant data Logical level: data models Logical representation of data Different approaches: relational, hierarchical, network, object oriented, semi-structured, etc. Data independence principle Physical level: how data is stored Farkas CSCE 824

Motivation for DBMS Integrate related data Provide centralized and controlled access to data Farkas CSCE 824

Computer Network Distributed processing: Number of autonomous processing elements that are interconnected by computer network Cooperate to perform their assigned tasks Farkas CSCE 824

What to distribute? Processing logic/element Functions Data Control of execution Farkas CSCE 824

Why to distribute? Intuition Reliability Performance Farkas CSCE 824

Distributed Database Systems Collection of multiple, logically interrelated databases that are distributed over a computer network Distributed DBMS: software system that Permits the management of the distributed database and Makes the distribution transparent to the user Farkas CSCE 824

Data Delivery Data storage and query processing Data delivery: Delivery mode: push, pull, hybrid Frequency: periodic, conditional, ad-hoc, irregular Communication method: unicast, one-to-many Farkas CSCE 824

DDBMS Services Transparent data management Reliable access to data Distributed, replicated data Transparency: network, replica, fragmentation Reliable access to data Distributed transactions Failure atomicity Improved performance Flexible expansion Farkas CSCE 824

Difficulties Everything that is present in traditional DBs Fragmentation and replica control Data retrieval Data update Dealing with failures Synchronization Farkas CSCE 824

DDBMS Issues Database design Directory management Query processing Concurrency control Deadlock management Reliability Replication Farkas CSCE 824

DDBMS Architecture Chapter 1.7 (read only) Client/server P2P Multi-database Farkas CSCE 824

Distributed Database Design Farkas CSCE 824

Design Issues Placing of data and programs (DBMS and application) Network issues Farkas CSCE 824

Level of Sharing Heterogeneous environment! No sharing Data sharing Data and program sharing Heterogeneous environment! Farkas CSCE 824

Access Pattern Static Dynamic Farkas CSCE 824

Level of Knowledge on Access Behavior Complete information Partial information Farkas CSCE 824

Top-Down Design Figure 3.2 Farkas CSCE 824

Fragmentation Why to fragment the data? Application views Limit replication while increase availability Increased concurrency Farkas CSCE 824

Fragmentation Types: Degree: Horizontal Vertical Hybrid From no fragmentation to individual tuples/attributes Farkas CSCE 824

Correctness of Fragmentation Completeness: FR={R1, …, Rn} Reconstruction: R=Ri, RiR Disjointness: Horizontal: does not  djRi such that djRk where ki Vertical: same as horizontal for non-primary key attributes 1&2: Lossless-join (normalization) Farkas CSCE 824

Allocation Replication or single copy? Issues: (Figure 3.6) Read-only transactions Issues: (Figure 3.6) Query processing Directory management Concurrency control Reliability Real world applications Farkas CSCE 824

Fragmentation Design Information need: Database information Application information Communication network information Computer system information Farkas CSCE 824

Horizontal Fragmentation Primary horizontal fragmentation: defined by selection operation on the relations of a database schema, Ri= Fi(R) Correctness: Completeness Reconstruction (union) Disjointness Farkas CSCE 824

Vertical Fragmentation R={R1, …, Rn}, where each Ri (i=1, …, n) contains a primary key and some of the attributes in R More difficult than horizontal fragmentation – heuristics Grouping Splitting Farkas CSCE 824

Vertical Fragmentation Correctness: Completeness Reconstruction (join) Disjointness Farkas CSCE 824

Hybrid Fragmentation Horizontal or vertical fragmentations are not sufficient the user application requirements Nested or mixed fragmentation Farkas CSCE 824

Data Directory Global vs. local conceptual schemas How to search? Where to store? Single vs. multiple copies? Farkas CSCE 824

Current Research Allocation: new requirements, technology, etc. Where to store the fragments? Dynamic environment Usage pattern Application characteristics Network changes Security Farkas CSCE 824

Next Class Commit Protocols Farkas CSCE 824