ABCSG - Distributed Database 1 Data Management Distributed Database Data Replication.

Slides:



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

Database Architectures and the Web
ISOM Distributed Databases Arijit Sengupta. ISOM Learning Objectives Understand the concept and necessity of distributed databases Understand the types.
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.
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 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
©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
Chapter 4: Database Management. Databases Before the Use of Computers Data kept in books, ledgers, card files, folders, and file cabinets Long response.
©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
DATABASE MANAGEMENT SYSTEMS 2 ANGELITO I. CUNANAN JR.
Distributed Databases
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.
12 1 Chapter 12 Distributed Database Management Systems Database Systems: Design, Implementation, and Management, Seventh Edition, Rob and Coronel.
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:
Database Systems Design, Implementation, and Management Coronel | Morris 11e ©2015 Cengage Learning. All Rights Reserved. May not be scanned, copied or.
DISTRIBUTED DATABASES IN ADBMS Shilpa Seth
1 Adapted from Pearson Prentice Hall Adapted form James A. Senn’s Information Technology, 3 rd Edition Chapter 7 Enterprise Databases and Data Warehouses.
Session-9 Data Management for Decision Support
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.
2Object-Oriented Analysis and Design with the Unified Process Objectives  Describe the differences and similarities between relational and object-oriented.
Distributed Databases Midterm review. Lectures covered Everything until (including) March 2 nd Everything until (including) March 2 nd Focus on distributed.
Lecture # 3 & 4 Chapter # 2 Database System Concepts and Architecture Muhammad Emran Database Systems 1.
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.
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.
Distributed Databases
1 Distributed Databases BUAD/American University Distributed Databases.
CS338Parallel and Distributed Databases11-1 Parallel and Distributed Databases Lecture Topics Multi-CPU and distributed systems Monolithic system Client–server.
Distributed database system
Topic Distributed DBMS Database Management Systems Fall 2012 Presented by: Osama Ben Omran.
Chapter 12 Distributed Data Bases. Learning Objectives What a distributed database management system (DDBMS) is and what its components are How database.
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.
Chapter 1 Database Access from Client Applications.
1 Chapter 22 Distributed DBMS Concepts and Design CS 157B Edward Chen.
Lecture On Introduction (DBMS) By- Jesmin Akhter Assistant Professor, IIT, Jahangirnagar University.
1 Information Retrieval and Use De-normalisation and Distributed database systems Geoff Leese September 2008, revised October 2009.
Distributed Databases
1 Chapter 22 Distributed DBMSs - Concepts and Design Simplified Transparencies © Pearson Education Limited 1995, 2005.
PERFORMANCE MANAGEMENT IMPROVING PERFORMANCE TECHNIQUES Network management system 1.
Managing Data Resources File Organization and databases for business information systems.
James A. Senn’s Information Technology, 3rd Edition
Distributed Database Management Systems
Chapter 19: Distributed Databases
MANAGING DATA RESOURCES
Introduction of Week 14 Return assignment 12-1
Presentation transcript:

ABCSG - Distributed Database 1 Data Management Distributed Database Data Replication

2ABCSG - Distributed Database Distributed Database Distributed Database (DDB) - collection of multiple, logically interelated databases distributed over a computer network. Distributed Database Management System (DDBMS) – software system that permits the management of the DDB and makes the distribution transparent to the users. A distributed database

3ABCSG - Distributed Database DDB - Motivation Sharing data – users at one site may be able to access the data residing at other sites. Sharing data – users at one site may be able to access the data residing at other sites. Autonomy – each site is able to retain a degree of control over data that is locally stored. Autonomy – each site is able to retain a degree of control over data that is locally stored. Availability – if one site fails in a distributed system, the remaining sites may be able to continue operating. Availability – if one site fails in a distributed system, the remaining sites may be able to continue operating.

4ABCSG - Distributed Database DDB – Client-Server Architecture Client (query site) – dispatch the SQL queries over to the servers for processing. Client (query site) – dispatch the SQL queries over to the servers for processing. Server (data site) – manages the database and handles user queries that are passed on by the clients. Server (data site) – manages the database and handles user queries that are passed on by the clients.

5ABCSG - Distributed Database DDB – Peer-to-Peer Architecture A peer database management system (PDMS) consist of autonomous peers with mappings to other peers. Each site (peer) has equal funcionality for processing. Queries submitted at a peer are answered with data residing at that peer and by data that is reached along the path.

6ABCSG - Distributed Database DDB - Distributed Data Storage Given a relation r that is to be stored in the DB: Replication – the system maintains several identical replicas (copies) of the relation, and stores each replica at a different site. Replication – the system maintains several identical replicas (copies) of the relation, and stores each replica at a different site. Fragmentation – the system partitions the relation into several fragments, and stores each fragment at a different site. Fragmentation – the system partitions the relation into several fragments, and stores each fragment at a different site. Horizontal – subsets of tuples (rows) from the relation Horizontal – subsets of tuples (rows) from the relation Vertical – subsets of attributes (columns) from the relation Vertical – subsets of attributes (columns) from the relation Transparency – the user of a DB should not be required to know either where the user data are phisically or how the data can be accessed at the specific local site. Transparency – the user of a DB should not be required to know either where the user data are phisically or how the data can be accessed at the specific local site.

7ABCSG - Distributed Database DDB – Advantages & Disadvantages Advantages: Reflects organizational structure Reflects organizational structure Local autonomy Local autonomy Improved availability Improved availability Improved performance Improved performance Economics (hardware cost) Economics (hardware cost) Modularity ModularityDisadvantages: Complexity Complexity Economics (labour cost) Economics (labour cost) Security Security Difficulty to maintain integrity Difficulty to maintain integrity Inexperience Inexperience

8ABCSG - Distributed Database Distributed File Systems vs DDB  No explicit structure and the relationships among data in different files are not managed by the system.  Provide a simple interface to users which allows them to open, read/write (records or bytes), close files.  The user has to know (to some extent) the location of the data.  Organized according to a schema that defines both the structure and the relationships among the data.  Provides high-level, declaritive query capability, transaction management and integrity enforcement.  From a users perspective a DDB is logically a single database.

9ABCSG - Distributed Database Data Mining & Data Warehouse Key: decision support (activities) Data Mining aka Knowledge-Discovery in Databases Data Mining aka Knowledge-Discovery in Databases Process of automatically searching large volumes of data for patterns. Process of automatically searching large volumes of data for patterns. Data Warehouse Data Warehouse Repository of information gathered from multiple sources, stored under a unified schema, at a single site. Repository of information gathered from multiple sources, stored under a unified schema, at a single site. DB that collects, integrates and stores an organization's computer data with the aim of producing accurate and timely management information and supporting data analysis. DB that collects, integrates and stores an organization's computer data with the aim of producing accurate and timely management information and supporting data analysis.

10ABCSG - Distributed Database DDB – Mobile Devices Oracle Database Lite Synchronization Process Component Overview

11ABCSG - Distributed Database DDB – A Case Study Improving communication among the pregnant woman and all the healthcare professionals. Improving communication among the pregnant woman and all the healthcare professionals. Improving support for the pregnant woman (and her partner) in handling information. Improving support for the pregnant woman (and her partner) in handling information. IT Support for Pregnancies

12ABCSG - Distributed Database Discussion How could ABC benefit from the DDB features? Is there a need for relational data?

13ABCSG - Data Replication Data Replication Maintenance of copies of data at multiple computers Provides: High availability – elevated interest for mobile computing and consequently disconnected operation. High availability – elevated interest for mobile computing and consequently disconnected operation. Fault Tolerance – continuous concern for services provided in safety-critical and other important systems. Fault Tolerance – continuous concern for services provided in safety-critical and other important systems.

14ABCSG - Data Replication Data Replication - Motivation Performance enhancement Performance enhancement replication of immutable data replication of immutable data replication of changing data replication of changing data Increased availability Increased availability server failures server failures network partitions and disconnected operations network partitions and disconnected operations Fault tolerance Fault tolerance correctness correctness freshness of data freshness of data timeliness timeliness 1 – probability (all managers failed or unreachable) = 1 – p n

15ABCSG - Data Replication Data Replication - Requirements Transparency – clients should not be aware that multiple physical copies of data exist. Transparency – clients should not be aware that multiple physical copies of data exist. Consistency – operations performed upon replicas should produce results that meet the specification of correcteness (data integrity). Consistency – operations performed upon replicas should produce results that meet the specification of correcteness (data integrity).

16ABCSG - Data Replication Data Replication – System Model 1. Front-End – issues the request to one or more RMs 2. Coordination – RMs coordinate in preparation to execute the request consistently 3. Execution – RMs execute the request 4. Agreement – RMs reach consensus on the effect of the request 5. Response – one or more RMs responds to the FE C – Client FE – Front-End RM – Replica Manager A basic architectural model for the management of replicated data

17ABCSG - ABC Data Strategies ABC – Data Strategies

18ABCSG - ABC Data Strategies ABC – Replication Strategies