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.

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
Transaction.
MIS 385/MBA 664 Systems Implementation with DBMS/ Database Management Dave Salisbury ( )
Chapter 13 (Web): Distributed Databases
Manajemen Basis Data Pertemuan 9 Matakuliah: M0264/Manajemen Basis Data Tahun: 2008.
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.
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
©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.
Definition of terms Definition of terms Explain business conditions driving distributed databases Explain business conditions driving distributed databases.
Outline Introduction Background Distributed Database Design
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.
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.
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 Tenth Edition Chapter 12 Distributed Database Management Systems.
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.
Replicated Databases. Reading Textbook: Ch.13 Textbook: Ch.13 FarkasCSCE Spring
The Evolution of Distributed DBMS 4Social and Technical Changes in the 1980’s u Business operations became more decentralized geographically. u Competition.
DDBMS Distributed Database Management Systems Fragmentation
Distributed Databases DBMS Textbook, Chapter 22, Part II.
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
ASMA AHMAD 28 TH APRIL, 2011 Database Systems Distributed Databases I.
1 Distributed Databases BUAD/American University Distributed Databases.
Databases Illuminated
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.
 Distributed Database Concepts  Parallel Vs Distributed Technology  Advantages  Additional Functions  Distribution Database Design  Data Fragmentation.
Chapter 1 Database Access from Client Applications.
1 Chapter 22 Distributed DBMS Concepts and Design CS 157B Edward Chen.
Distributed Database Design Bayu Adhi Tama, MTI Fasilkom-Unsri Adapted from Connolly, et al., Database Systems 4 th Edition, Pearson Education Limited,
Ch.1/1 Outline Introduction – What is a distributed DBMS – Distributed DBMS Architecture Background Distributed Database Design Database Integration Semantic.
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.
Distributed Databases
1 Chapter 22 Distributed DBMSs - Concepts and Design Simplified Transparencies © Pearson Education Limited 1995, 2005.
Distributed Databases “Fundamentals”
CHAPTER 25 - Distributed Databases and Client–Server Architectures
Distributed Database Concepts
Distributed Database Management Systems
Chapter 19: Distributed Databases
Distributed Database Management Systems
Outline Introduction Background Distributed DBMS Architecture
Presentation transcript:

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 8242

FarkasCSCE 8243 Database Management System (DBMS) Collection of Collection of –interrelated data and –set of programs to access the data Convenient and efficient processing of data Convenient and efficient processing of data Database Application Software Database Application Software

FarkasCSCE 8244 Abstraction View level: different perspectives View level: different perspectives –application programs hide irrelevant data Logical level: data models 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 Physical level: how data is stored

Motivation for DBMS Integrate related data Integrate related data Provide centralized and controlled access to data Provide centralized and controlled access to data FarkasCSCE 8245

Computer Network Distributed processing: Distributed processing: –Number of autonomous processing elements that are interconnected by computer network –Cooperate to perform their assigned tasks FarkasCSCE 8246

What to distribute? Processing logic/element Processing logic/element Functions Functions Data Data Control of execution Control of execution FarkasCSCE 8247

Why to distribute? Intuition Intuition Reliability Reliability Performance Performance FarkasCSCE 8248

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

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

DDBMS Services Transparent data management Transparent data management –Distributed, replicated data –Transparency: network, replica, fragmentation Reliable access to data Reliable access to data –Distributed transactions –Failure atomicity Improved performance Improved performance Flexible expansion Flexible expansion FarkasCSCE 82411

Difficulties Everything that is present in traditional DBs Everything that is present in traditional DBs Fragmentation and replica control Fragmentation and replica control –Data retrieval –Data update Dealing with failures Dealing with failures Synchronization Synchronization FarkasCSCE 82412

DDBMS Issues Database design Database design Directory management Directory management Query processing Query processing Concurrency control Concurrency control Deadlock management Deadlock management Reliability Reliability Replication Replication FarkasCSCE 82413

DDBMS Architecture Chapter 1.7 (read only) Chapter 1.7 (read only) –Client/server –P2P –Multi-database FarkasCSCE 82414

DISTRIBUTED DATABASE DESIGN FarkasCSCE 82415

Design Issues Placing of data and programs (DBMS and application) Placing of data and programs (DBMS and application) Network issues Network issues FarkasCSCE 82416

Level of Sharing No sharing No sharing Data sharing Data sharing Data and program sharing Data and program sharing FarkasCSCE Heterogeneous environment!

Access Pattern Static Static Dynamic Dynamic FarkasCSCE 82418

Level of Knowledge on Access Behavior Complete information Complete information Partial information Partial information FarkasCSCE 82419

Top-Down Design Figure 3.2 Figure 3.2 FarkasCSCE 82420

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

Fragmentation Types: Types: –Horizontal –Vertical –Hybrid Degree: Degree: –From no fragmentation to individual tuples/attributes FarkasCSCE 82422

Correctness of Fragmentation 1. Completeness: F R ={R 1, …, R n } 2. Reconstruction: R=  R i,  R i  R 3. Disjointness: –Horizontal: does not  d j  R i such that d j  R k where k  i –Vertical: same as horizontal for non- primary key attributes FarkasCSCE &2: Lossless-join (normalization)

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

Fragmentation Design Information need: Information need: –Database information –Application information –Communication network information –Computer system information FarkasCSCE 82425

Horizontal Fragmentation Primary horizontal fragmentation: defined by selection operation on the relations of a database schema, R i =  Fi (R) Primary horizontal fragmentation: defined by selection operation on the relations of a database schema, R i =  Fi (R) Correctness: Correctness: –Completeness –Reconstruction (union) –Disjointness FarkasCSCE 82426

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

Vertical Fragmentation Correctness: Correctness: –Completeness –Reconstruction (join) –Disjointness FarkasCSCE 82428

Hybrid Fragmentation Horizontal or vertical fragmentations are not sufficient the user application requirements Horizontal or vertical fragmentations are not sufficient the user application requirements Nested or mixed fragmentation Nested or mixed fragmentation FarkasCSCE 82429

Data Directory Global vs. local conceptual schemas Global vs. local conceptual schemas –How to search? –Where to store? –Single vs. multiple copies? FarkasCSCE 82430

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

FarkasCSCE Next Class Commit Protocols