Chapter 12 Distributed Data Bases. Learning Objectives What a distributed database management system (DDBMS) is and what its components are How database.

Slides:



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

Database Architectures and the Web
Distributed Databases John Ortiz. Lecture 24Distributed Databases2  Distributed Database (DDB) is a collection of interrelated databases interconnected.
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
Manajemen Basis Data Pertemuan 9 Matakuliah: M0264/Manajemen Basis Data Tahun: 2008.
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
DISTRIBUTED DATABASE. Centralized & Distributed Database  Single site database – centralized database –A database is located at a single site or distributed.
Chapter 9 : Distributed Database.
Overview Distributed vs. decentralized Why distributed databases
1 © Prentice Hall, 2002 Chapter 13: Distributed Databases Modern Database Management 6 th Edition Jeffrey A. Hoffer, Mary B. Prescott, Fred R. McFadden.
Data Storage and Data Processing Architectures The difficulty is in the choice George Moore, 1900.
Distributed Database Management Systems
©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
©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.
DISTRIBUTED DATABASE MANAGEMENT SYSTEM CHAPTER 07.
Distributed Databases and DBMSs: Concepts and Design
DISTRIBUTED DATABASES AND DDBMS.  Understand the concept of “Distributed Data”  Describe various Distributed Data and DDBMS implementations  Explain.
Distributed Database The University of California Berkeley Extension Copyright © 2011 Patrick McDermott.
Client/Server Databases and the Oracle 10g Relational Database
12 1 Chapter 12 Distributed Database Management Systems Database Systems: Design, Implementation, and Management, Seventh Edition, Rob and Coronel.
Data Storage and Data Processing Architectures The difficulty is in the choice George Moore, 1900.
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:
1 Chapter 13: Distributed Databases. Chapter 13 2 Definitions Distributed Database: A single logical database that is spread physically across computers.
Database Systems Design, Implementation, and Management Coronel | Morris 11e ©2015 Cengage Learning. All Rights Reserved. May not be scanned, copied or.
CORE 2: Information systems and Databases CENTRALISED AND DISTRIBUTED DATABASES.
Lecture 5: Sun: 1/5/ Distributed Algorithms - Distributed Databases Lecturer/ Kawther Abas CS- 492 : Distributed system &
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
Unit 9 Transaction Processing. Key Concepts Distributed databases and DDBMS Distributed database advantages. Distributed database disadvantages Using.
Personal Computer - Stand- Alone Database  Database (or files) reside on a PC - on the hard disk.  Applications run on the same PC and directly access.
10 1 Chapter 10 Distributed Database Management Systems Database Systems: Design, Implementation, and Management, Sixth Edition, Rob and Coronel.
The Evolution of Distributed DBMS 4Social and Technical Changes in the 1980’s u Business operations became more decentralized geographically. u Competition.
Oracle's Distributed Database Bora Yasa. Definition A Distributed Database is a set of databases stored on multiple computers at different locations and.
Chapter One (Database System) Objectives Introduction to Database Management Systems (DBMS) Data and Information History of DB Types of DB.
Kjell Orsborn UU - DIS - UDBL DATABASE SYSTEMS - 10p Course No. 2AD235 Spring 2002 A second course on development of database systems Kjell.
Distributed Databases
Chapter 12 Distributed Database Management Systems.
1 Distributed Databases BUAD/American University Distributed Databases.
Databases Illuminated
Chapter 10 Distributed Database Management System
Distributed database system
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 Concepts  Parallel Vs Distributed Technology  Advantages  Additional Functions  Distribution Database Design  Data Fragmentation.
Distributed DBMS, Query Processing and Optimization
Chapter 1 Database Access from Client Applications.
1 Chapter 22 Distributed DBMS Concepts and Design CS 157B Edward Chen.
1 Information Retrieval and Use De-normalisation and Distributed database systems Geoff Leese September 2008, revised October 2009.
© 2009 Pearson Education, Inc. Publishing as Prentice Hall 1 Lecture 11 Distributed Databases Modern Database Management 9 th Edition Jeffrey A. Hoffer,
Distributed DBMSs – Concepts and Design Chapter 24 in Textbook.
1 Chapter 22 Distributed DBMSs - Concepts and Design Simplified Transparencies © Pearson Education Limited 1995, 2005.
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:
CHAPTER 25 - Distributed Databases and Client–Server Architectures
Distributed DBMS Concepts of Distributed DBMS
Distributed Databases
Introduction of Week 14 Return assignment 12-1
Presentation transcript:

Chapter 12 Distributed Data Bases

Learning Objectives What a distributed database management system (DDBMS) is and what its components are How database implementation is affected by different levels of data and process distribution How transactions are managed in a distributed database environment How database design is affected by the distributed database environment

Objectives of DDS B Provide ease of access to users at different sites Local autonomy Create transparency Faster response

DDB A DB PHYSICALLY SPREAD ACROSS COMPUTERS AT MULTIPLE LOCATIONS CONNECTED BY A NETWORK AND IN WHICH USERS CAN ACCESS DATA AT ANY SITE IN THE NETWORK IS DEFINED AS DDB

DISTRIBUTE DBMS A DBMS CAPABLE OF SUPPORTING AND MANIPULATING DDB DETERMINE LOCATION OF REQUESTED DATA TRANSFER REQUEST FROM ONE NODE TO ANOTHER NODE RECOVERY, CONCURRENCY, DEADLOCK etc

DDBMS a DDBMS is like a DBMS with additional responsibilities of communication and coordination of data storage and processing over several distributed sites

Advantages of DDB Data is located at the demand site faster data access faster data processing growth facilitation better communication reduced operating costs user-friendly interface less problem of a single point failure

DDB disadvantages management & control security lack of standards storage problem

A Fully Distributed Database Management System

Distributed processing & distributed Databases Distributed processing: Data is processed at multiple sites (Data maybe all in ONE location) DDB: Database is actually located on multiple sites (see fig 12.3) Skip pp

Levels of processing Single site processing; single site data (see fig 12.6) Multiple site process; single site data (MPSD) All work is done (locking, selection etc. is done at user level) Multiple-site processing; multiple site data

TRANSPARENCY: 1.DISTRIBUTION 1.FRAGMENTATION HIGHEST LEVEL DO NOT NEED TO SPECIFY FRAGMENT NAME OR LOCATION 2. LOCATION MUST SPECIFY NAME BUT not LOCATION 3. LOCAL Must specify both name and location of fragment

Transparency Assuming part table is fragmented based on warehouse # Select * from Part Where warehouse =1; Select * from part1 Where warehouse=1; Select * from part1 node Chicago Where warehouse =1;

Data fragmentation A process of splitting data in two or more fragments Horizontal Vertical mixed

Using SQL type statements Begin: Define fragment fragment-name AS SQL statements End; Horizontal Fragmentation: (Based on warehouse) Ex: Begin: Define fragment PART1 AS Select * From PART Where warehouse=1 End;

Vertical (based on say price) Inventory department maybe interested in on hand inventory only but other may be interested in other attributes Inventory..partnum,onhand,part desc Production..partnum,class,warehouse,price

Mixed Each item by warehouse number (horizontal) and then by inventory & production

Transaction Transparency Remote request (see 12.10) (single request) Remote transaction (multiple requests)

Distributed transaction (12.12/p472) (allows a transaction to reference several different locations Each single request can reference only one single site

Distributed Request Each transaction can request data from multiple sites

Data Allocation: data should be as close to the user as possible

ISSUES IN DDB SOFTWARE COSTS & COMPLEXITY COORDINATION AMONG SITES DATA INTEGRITY SLOW RESPONSE Q1/p487