R*: An overview of the Architecture By R. Williams et al. Presented by D. Kontos Instructor : Dr. Megalooikonomou.

Slides:



Advertisements
Similar presentations
1 Term 2, 2004, Lecture 9, Distributed DatabasesMarian Ursu, Department of Computing, Goldsmiths College Distributed databases 3.
Advertisements

Distributed Systems Major Design Issues Presented by: Christopher Hector CS8320 – Advanced Operating Systems Spring 2007 – Section 2.6 Presentation Dr.
Database Architectures and the Web
V. Megalooikonomou Distributed Databases (based on notes by Silberchatz,Korth, and Sudarshan and notes by C. Faloutsos at CMU) Temple University – CIS.
Distributed Databases Chapter 22 By Allyson Moran.
Distributed databases
Transaction.
Chapter 3 Database Architectures and the Web Pearson Education © 2009.
Chapter 13 (Web): Distributed Databases
Database Replication techniques: a Three Parameter Classification Authors : Database Replication techniques: a Three Parameter Classification Authors :
Distributed Database Systems
ABCSG - Distributed Database 1 Data Management Distributed Database Data Replication.
Distributed Database Management Systems
Distributed DBMSPage © 1998 M. Tamer Özsu & Patrick Valduriez Outline Introduction Background Distributed DBMS Architecture 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.
©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
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 databases
Distributed Databases
Distributed Databases and DBMSs: Concepts and Design
Client-Server Processing and Distributed Databases
Distributed Databases Dr. Lee By Alex Genadinik. Distributed Databases? What is that!?? Distributed Database - a collection of multiple logically interrelated.
III. Current Trends: 2 - Distributed DBMSsSlide 1/47 III. Current Trends Distributed DBMSs: Advanced Concepts 3C13/D63C13/D6.
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:
04/18/2005Yan Huang - CSCI5330 Database Implementation – Distributed Database Systems Distributed Database Systems.
DISTRIBUTED DATABASE SYSTEM.  A distributed database system consists of loosely coupled sites that share no physical component  Database systems that.
1 12. Course Summary Course Summary Distributed Database Systems.
Session-8 Data Management for Decision Support
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 Transactions
Distributed Database Systems Overview
Unit 9 Transaction Processing. Key Concepts Distributed databases and DDBMS Distributed database advantages. Distributed database disadvantages Using.
DISTRIBUTED COMPUTING
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.
Instructor: Marina Gavrilova. Outline Introduction Types of distributed databases Distributed DBMS Architectures and Storage Replication Synchronous replication.
Carnegie Mellon Carnegie Mellon Univ. Dept. of Computer Science Database Applications C. Faloutsos Distributed DB.
Distributed Databases
ASMA AHMAD 28 TH APRIL, 2011 Database Systems Distributed Databases I.
Databases Illuminated
Chapter 10 Distributed Database Management System
Distributed database system
1 Distributed Databases Chapter 21, Part B. 2 Introduction v Data is stored at several sites, each managed by a DBMS that can run independently. v Distributed.
Distributed Databases
MBA 664 Database Management Systems Dave Salisbury ( )
Temple University – CIS Dept. CIS661 – Principles of Data Management V. Megalooikonomou Distributed Databases (based on slides by Silberchatz,Korth, and.
Distributed Database: Part 2. Distributed DBMS Distributed database requires distributed DBMS Distributed database requires distributed DBMS Functions.
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 Information Retrieval and Use De-normalisation and Distributed database systems Geoff Leese September 2008, revised October 2009.
Topics in Distributed Databases Database System Implementation CSE 507 Some slides adapted from Navathe et. Al and Silberchatz et. Al.
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 – Advanced Concepts Chapter 25 in Textbook.
Distributed Database Concepts
Distributed Databases
R*: An Overview of the Architecture
Outline Announcements Fault Tolerance.
Distributed Databases
Distributed Databases
Presentation transcript:

R*: An overview of the Architecture By R. Williams et al. Presented by D. Kontos Instructor : Dr. Megalooikonomou

Overview Distributed Database Systems. R* : an experimental DDMS developed at IBM Almaden Research Center in Overview of the architecture: Transaction management Transaction management Object naming, catalogue management Object naming, catalogue management Authorization, communication etc. Authorization, communication etc. Conclusions on the issues arising in a DDBMS

Distributed DBMS (DDBMS) Need for sharing resources, data. Preserve transparency of network communication and data organization. Maximum independence – “site autonomy”. R*: DDBMS consisting of a confederation of voluntarily co-operating sites, each supporting Relational data model communicating via IBM’s CICS.

Architecture aspects Environment and Data Definitions. Object Naming. Distributed Catalogs. Transaction management, commit protocols. Query preparation. Query execution. SQL additions and changes.

Environment and Data Definitions Several database sites communicating via network topology (CICS). Data stored in relations dispersed dispersed replicated replicated partitioned partitioned End user not aware of the data distribution, organized by the DDBMS.

Object Naming Site autonomy – not a global naming system. Network details transparency to the user, programming as simple as possible. Mapping end user name  “print names” internal System Wide Names (SWN) BIRTH_SITE BIRTH_SITE e.g. BRUCE at SAN_JOSE accesses table T SAN_JOSE

Distributed Catalogs Distributed Catalog Architecture Each site keeps and maintains catalogs regarding the objects at the database, replicas, fragments stored at the particular site. The “birth” site of each object keeps information about where it is currently stored. Object located through its SWN, catalogs store access paths. Search path: local catalog  birth site catalog  indicated current site

Transaction management commit protocols Unique sequence transaction number. Starts from the site it was entered Synchronous & asynchronous execution. Synchronous & asynchronous execution. Commit  UNIFORM (all abort OR all commit) Two phase commit protocol Coordinator makes the final decision Coordinator makes the final decision Other sites prepared to commit  awaiting Lost commit messages detected by time-out.

Query preparation Name resolution Authorization : Each site checks authorization on it’s own local data  trusts the remote sites. Global compilation plan by the master, access strategies. Plan distribution, local compilation of parts. Final code generated at the master, two phase compilation. Optimization of access paths included  minimization of query execution time.

Query execution Code loaded locally, parallel execution  messages for communication. Concurrency control Distributed deadlock detection by periodically checking at each site wait-for information gathered locally or from other sites. Distributed deadlock detection by periodically checking at each site wait-for information gathered locally or from other sites. Deadlock cycle breaker  abort transaction. Deadlock cycle breaker  abort transaction. Logging and recovery: Resources held only if a transaction fails after entering the second phase of the commit protocol. Resources held only if a transaction fails after entering the second phase of the commit protocol.

SQL additions and changes SQL extended to include the distributed capabilities.

Conclusions November 1981 R* experimental prototype system. Key ingredient  autonomy of the sites. Distributed data authorization, compilation, commit etc. Based on a master – apprentices approach, two phase protocols. Transparent network topology, data definition and management. A promising step towards a REAL DISTRIBUTED DBMS.

THANK YOU!! Questions??