 Distributed Database Concepts  Parallel Vs Distributed Technology  Advantages  Additional Functions  Distribution Database Design  Data Fragmentation.

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.
Chapter 13 (Web): Distributed Databases
Chapter 25 Distributed Databases and Client-Server Architectures Copyright © 2004 Pearson Education, Inc.
Copyright © 2007 Ramez Elmasri and Shamkant B. Navathe Slide
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
©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 Databases
Outline Introduction Background Distributed Database Design
Distributed databases
Alexandria Dodd Janelle Toungett
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.
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:
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.
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.
Multiprossesors Systems.. What are Distributed Databases ? “ A Logically interrelated collection of shared data ( and a description of this data) physically.
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 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.
Distributed Database. Introduction A major motivation behind the development of database systems is the desire to integrate the operational data of an.
CS338Parallel and Distributed Databases11-1 Parallel and Distributed Databases Lecture Topics Multi-CPU and distributed systems Monolithic system Client–server.
Distributed database system
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.
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 DBMS, Query Processing and Optimization
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,
1 Information Retrieval and Use De-normalisation and Distributed database systems Geoff Leese September 2008, revised October 2009.
Distributed Databases
Distributed Databases
1 Chapter 22 Distributed DBMSs - Concepts and Design Simplified Transparencies © Pearson Education Limited 1995, 2005.
Distributed Databases Technological Education Institution of Larisa in collaboration with Staffordshire University Larisa Dr. Georgia Garani.
Distributed Databases “Fundamentals”
Distributed Databases and Client-Server Architectures
CHAPTER 25 - Distributed Databases and Client–Server Architectures
Distributed Database Concepts
Distributed Database Management Systems
Distributed Databases
Chapter 19: Distributed Databases
Distributed Databases
Distributed Databases and DBMSs: Concepts and Design
Introduction of Week 14 Return assignment 12-1
Presentation transcript:

 Distributed Database Concepts  Parallel Vs Distributed Technology  Advantages  Additional Functions  Distribution Database Design  Data Fragmentation  Data Replication  Data Allocation  Example

DISTRIBUTED DATABASE Definition :  A distributed database is a database in which portions of the database are stored on multiple computers within a network.database  Users have access to the portion of the database at their location so that they can access the data relevant to their tasks without interfering with the work of others.

 Distributed Computing System  Consists of a number of processing elements interconnected by a computer network that cooperate in processing certain tasks  Distributed Database  Collection of logically interrelated databases over a computer network  Distributed DBMS  Software system that manages a distributed DB

Parallel system architectures:  Shared Memory Architecture  Multiple processors that share both secondary disk storage and primary memory  Tightly coupled architecture  Shared everything architecture  Shared Disk Architecture  Multiple processors that share secondary disk storage but have their own primary memory  Loosely coupled architecture

 Keeping track of data  Ability to keep track of data distribution  Distributed query processing  Ability to access remote sites and transmit queries  Distributed transaction management  Ability to devise execution strategies for queries and transactions that access data from more than one site  Synchronize access to distributed data  Maintain integrity of the overall database

 Replicated data management  Ability to decide which copy of the replicated data item to access  Maintain the consistency of copies of a replicated data item  Distributed database recovery  Ability to recover from individual site crashes and failure of communication links

 Security  Proper management of security of the data  Proper authorization/access privileges of users  Distributed directory (catalog) management  Directory contains information about data in the database  Directory may be global for the entire DDB or local for each site

 Multiple computers called sites and nodes  Sites connected by some type of communication network to transmit data and commands  Sites located in physical proximity connected via LANs  Sites geographically distributed over large distances connected via WANs

Distribution Database Design DATA FRAGMENTATION, REPLICATION, AND ALLOCATION TECHNIQUES FOR DISTRIBUTED DATABASE DESIGN  Fragmentation: Breaking up the database into logical units called fragments and assigned for storage at various sites.  Data replication: The process of storing fragments in more than one site  Data Allocation: The process of assigning a particular fragment to a particular site in a distributed system.  The information concerning the data fragmentation, allocation and replication is stored in a global directory.

 Breaking up the database into logical units called fragments and assigned for storage at various sites.  Types of Fragmentation  Horizontal Fragmentation  Vertical Fragmentation  Mixed (Hybrid) Fragmentation  Fragmentation Schema  Definition of a set of fragments that include all attributes and tuples in the database  The whole database can be reconstructed from the fragments

Horizontal fragmentation: ◦ It is a horizontal subset of a relation which contain those tuples which satisfy selection conditions. ◦ Consider the Employee relation with selection condition (DNO = 5). All tuples satisfy this condition will create a subset which will be a horizontal fragment of Employee relation. ◦ Horizontal fragmentation divides a relation horizontally by grouping rows to create subsets of tuples where each subset has a certain logical meaning.

 Horizontal fragment is a subset of tuples in that relation  Tuples are specified by a condition on one or more attributes of the relation  Divides a relation horizontally by grouping rows to create subset of tuples  Derived Horizontal Fragmentation – partitioning a primary relation into secondary relations related to primary through a foreign key

 A vertical fragment keeps only certain attributes of that relation  Divides a relation vertically by columns  It is necessary to include primary key or some candidate key attribute  The full relation can be reconstructed from the fragments

 Complete Horizontal Fragmentation  Set of horizontal fragments that include all the tuples in a relation  To reconstruct a relation, apply the UNION operation to the horizontal fragments  Complete Vertical Fragmentation  Set of vertical fragments whose projection lists include all the attributes but share only the primary key attribute  To reconstruct a relation, apply the OUTER UNION operation to the vertical fragments

 Process of storing data in more than one site  Replication Schema  Description of the replication of fragments  Fully replicated distributed database  Replicating the whole database at every site  Improves availability  Improves performance of retrieval  Can slow down update operations drastically  Expensive concurrency control and recovery techniques

TYPES OF DISTRIBUTED DATABASE SYSTEM

Homogeneous All sites of the database system have identical setup, i.e., same database system software. The underlying operating system may be different. For example, all sites run Oracle or DB2, or Sybase or some other database system. The underlying operating systems can be a mixture of Linux, Window, Unix, etc. The clients thus have to use identical client software.

Heterogeneous Federated: Each site may run different database system but the data access is managed through a single conceptual schema. This implies that the degree of local autonomy is minimum. Each site must adhere to a centralized access policy. There may be a global schema.