Distributed DBMS Concepts of Distributed DBMS

Slides:



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

Database Architectures and the Web
Distributed databases
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.
ABCSG - Distributed Database 1 Data Management Distributed Database Data Replication.
Distributed Database Management Systems
Overview Distributed vs. decentralized Why distributed databases
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.
Chapter 12 Distributed Database Management Systems
McGraw-Hill/Irwin Copyright © 2007 by The McGraw-Hill Companies, Inc. All rights reserved. Chapter 17 Client-Server Processing, Parallel Database Processing,
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 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
1 Distributed and Parallel Databases. 2 Distributed Databases Distributed Systems goal: –to offer local DB autonomy at geographically distributed locations.
Distributed DBMSs - Concepts and Design Transparencies
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:
Massively Distributed Database Systems - Distributed DBS Spring 2014 Ki-Joune Li Pusan National University.
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.
10 1 Chapter 10 Distributed Database Management Systems Database Systems: Design, Implementation, and Management, Sixth Edition, Rob and Coronel.
Distributed DBMSs- Concept and Design Jing Luo CS 157B Dr. Lee Fall, 2003.
Distributed Databases
ASMA AHMAD 28 TH APRIL, 2011 Database Systems Distributed Databases I.
1 Distributed Databases BUAD/American University Distributed Databases.
Databases Illuminated
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.
MBA 664 Database Management Systems Dave Salisbury ( )
Chapter 12 Distributed Data Bases. Learning Objectives What a distributed database management system (DDBMS) is and what its components are How database.
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.
Distributed DBMS, Query Processing and Optimization
1 Lecture 10: Distributed Databases – Replication and Fragmentation Advanced Databases CG096 Nick Rossiter.
1 Lecture 8 Distributed Data Bases: Replication and Fragmentation.
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.
Distributed DBMSs – Concepts and Design Chapter 24 in Textbook.
Distributed Databases
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
Chapter Name Replication and Mobile Databases Transparencies
Distributed Database Concepts
Database Architectures and the Web
Chapter 12 Distributed Database Management Systems
Distributed Database Management Systems
Distributed Databases
Parallel and Distributed Databases
Database Architectures and the Web
Chapter 19: Distributed Databases
#01 Client/Server Computing
Distributed Databases and DBMSs: Concepts and Design
Distributed Databases
A View over Distributed databases
Introduction of Week 14 Return assignment 12-1
Database System Architectures
#01 Client/Server Computing
Presentation transcript:

Distributed DBMS Concepts of Distributed DBMS Advantages and Disadvantages Functions and Architechure Objective and strategy of Allocation Date's 12 Rules Distributed Concurrency Control Replication Servers Distributed Query Optimization Mobile Database Chapter 24 25 26( 22 23 24)

Concepts of Distributed DBMS DDBMS consists of a single logical DB that is split into a number of fragments Each fragments is stored on one or more computers connected by network characteristics pp.689 DDBMS make the distribution transparent to user. Parallel DBMSs:share memory(SMP), share disk(clusters),share nothing Fig. 24(22).3

Advantages and Disadvantages Reflect ORG. structure Improve shareability and local autonomy Improved availability and reliability Improved performance Economics and Modular growth Integration, Remaining competitive Disadvantages: Complexity,Cost Security,Integrity control more difficult Lack of standards and experience

Homogenous and Heterogeneous different hardware different DBMS products different hardware and different DBMS products gateway solution not support transaction management can not translate differnet schemas in general

Functions and Architechure Functions: pp.747(703) 24(22).3.1 Architecture: pp.748(704) Fig. 24.5(22.4) Fragmentation: a sub-table (horizontal or vertical) Allocation: a fragment is stored at a site Replication: maintain a copy of a fragmentat several different sites.

Objective and strategy of Allocation objectivies locality of reference improved reliability and availability acceptable performance balanced storage capacities and costs minimal communication costs strategies: table 24(22).3 pp.754(710) centralized, Fragmented, Complete replication(snapshots), selective replication

Date's 12 Rules local autonomy no reliance on a central site,continuous operation location, fragmentation,replication independence distributed query,transaction processing hardware,OS,network,DBMS independence pp.771(729)

Distributed Concurrency Control additional problem: multiple-copy consistency problem Locking protocols Centralized 2PL:easy, but central site becomes a bottleneck. Primary copy 2PL:distributing lock manager to a number of sites. a degree ofcentrali-zation, primary copy handle by one site. Distributed 2PL: lock manager control data at that site,ROWA protocol Majority locking:obtain locks on a majority of copies

Distributed Query Optimization Consideration: memory is fastest disk access is slow LAN is slower than disk access (Not always true, 160/320MB of SCSI 1/10 Gbit of Ethernet) WAN is much slower than LAN(Not always true)

Replication Servers(1) Replication: generating multiple copies of data on one or more sites synchronous and asynchronous replication Functionality scalability mapping and transformation object replication specification of replication schema subscription mechanism Initialization mechanism Chap. 26.2

Replication Servers(2) Data ownership master/slave ownership workflow ownership(update ability can move from one site to another) update-anywhere ownership Implementation pp.829(789) transactional updates snapshots versus Database triggers conflict detection and resolution (when multiple sites can update data) time zone (time server)

Mobile Database Definiation: A database that is portable and physically separate from a centralized database server but is capable of communicating with that server from remote sites components of a mobile database:pp.833 (793) Figure 26.6(24.5) additional functionality: pp.834(794)

Oracle's Implementation do not support fragmantation transparency based on database link(communication from one database to another) Heterogeneous DB solutions 25(23).7 Transparent gateways to some DBs Procedural gateways to some Aps features: pp.818(775) Types of replication pp.843(795) Materialized view replication Single,Multimaster replication Hybrid replication