Multiprossesors Systems.. What are Distributed Databases ? “ A Logically interrelated collection of shared data ( and a description of this data) physically.

Slides:



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

Database Architectures and the Web
Silberschatz and Galvin  Operating System Concepts Module 16: Distributed-System Structures Network-Operating Systems Distributed-Operating.
Silberschatz, Galvin and Gagne  Operating System Concepts Chap15: Distributed System Structures Background Topology Network Types Communication.
U NIVERSITY OF M ASSACHUSETTS, A MHERST Department of Computer Science Emery Berger University of Massachusetts Amherst Operating Systems CMPSCI 377 Lecture.
Classification of Distributed Systems Properties of Distributed Systems n motivation: advantages of distributed systems n classification l architecture.
Distributed Databases John Ortiz. Lecture 24Distributed Databases2  Distributed Database (DDB) is a collection of interrelated databases interconnected.
Distributed databases
Chapter 9 Designing Systems for Diverse Environments.
Network Operating Systems Users are aware of multiplicity of machines. Access to resources of various machines is done explicitly by: –Logging into the.
Distributed System Structures CS 3100 Distributed System Structures1.
Silberschatz, Galvin and Gagne ©2009 Operating System Concepts – 8 th Edition Module 16: Distributed System Structures.
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 Hardware How are computers interconnected ? –via a bus-based –via a switch How are processors and memories interconnected ? –Private –shared.
Chapter 9 : Distributed Database.
Overview Distributed vs. decentralized Why distributed databases
16: Distributed Systems1 DISTRIBUTED SYSTEM STRUCTURES NETWORK OPERATING SYSTEMS The users are aware of the physical structure of the network. Each site.
©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
DATABASE MANAGEMENT SYSTEMS 2 ANGELITO I. CUNANAN JR.
Distributed Databases and DBMSs: Concepts and Design
Distributed System Structures 16: Distributed Structures
1 Distributed and Parallel Databases. 2 Distributed Databases Distributed Systems goal: –to offer local DB autonomy at geographically distributed locations.
A brief overview about Distributed Systems Group A4 Chris Sun Bryan Maden Min Fang.
1 Lecture 20: Parallel and Distributed Systems n Classification of parallel/distributed architectures n SMPs n Distributed systems n Clusters.
III. Current Trends: 1 - Distributed DBMSsSlide 1/32 III. Current Trends Part 1: Distributed DBMSs: Concepts and Design Lecture 12 (2 hours) Lecturer:
1 Distributed Operating Systems and Process Scheduling Brett O’Neill CSE 8343 – Group A6.
1 Module 15: Network Structures n Topology n Network Types n Communication.
DISTRIBUTED DATABASES IN ADBMS Shilpa Seth
1 Next Few Classes Networking basics Protection & Security.
Session-8 Data Management for Decision Support
Database Systems: Design, Implementation, and Management Tenth Edition Chapter 12 Distributed Database Management Systems.
Distributed Database Systems Overview
Kyung Hee University 1/41 Introduction Chapter 1.
Lecture 4: Sun: 23/4/1435 Distributed Operating Systems Lecturer/ Kawther Abas CS- 492 : Distributed system & Parallel Processing.
Module 16: Distributed System Structures
Distributed DBMSs- Concept and Design Jing Luo CS 157B Dr. Lee Fall, 2003.
Distributed Databases
Databases Illuminated
Distributed Database. Introduction A major motivation behind the development of database systems is the desire to integrate the operational data of an.
Distributed database system
Silberschatz and Galvin  Operating System Concepts Module 15: Network Structures Background Motivation Topology Network Types Communication.
Silberschatz, Galvin and Gagne ©2009 Operating System Concepts – 8 th Edition, Chapter 16: Distributed System Structures.
Silberschatz, Galvin and Gagne ©2009 Operating System Concepts – 8 th Edition, Module 16: Distributed System Structures.
Distributed Systems Definition.
Topic Distributed DBMS Database Management Systems Fall 2012 Presented by: Osama Ben Omran.
Distributed Computing Systems CSCI 6900/4900. Review Distributed system –A collection of independent computers that appears to its users as a single coherent.
Chapter 14: Distributed Operating Systems Silberschatz, Galvin and Gagne ©2005 Operating System Concepts – 7 th Edition, Apr 4, 2005 Outline n Motivation.
1 Distributed Processing Chapter 1 : Introduction.
 Distributed Database Concepts  Parallel Vs Distributed Technology  Advantages  Additional Functions  Distribution Database Design  Data Fragmentation.
Module 16: Distributed System Structures Silberschatz, Galvin and Gagne ©2005 Operating System Concepts – 7 th Edition, Apr 4, 2005 Distributed.
1 Chapter 22 Distributed DBMS Concepts and Design CS 157B Edward Chen.
Operating Systems Network Structures. Topics –Background –Motivation –Topology –Network Types –Communication –Design Strategies Topics –Background –Motivation.
Distributed Database Design Bayu Adhi Tama, MTI Fasilkom-Unsri Adapted from Connolly, et al., Database Systems 4 th Edition, Pearson Education Limited,
CS307 Operating Systems Distributed System Structures Guihai Chen Department of Computer Science and Engineering Shanghai Jiao Tong University Spring 2012.
Intro to Distributed Systems Hank Levy. 23/20/2016 Distributed Systems Nearly all systems today are distributed in some way, e.g.: –they use –they.
Operating Systems Distributed-System Structures. Topics –Network-Operating Systems –Distributed-Operating Systems –Remote Services –Robustness –Design.
1 Chapter 22 Distributed DBMSs - Concepts and Design Simplified Transparencies © Pearson Education Limited 1995, 2005.
Distributed Database Concepts
Definition of Distributed System
Chapter 15: Distributed Structures
Module 16: Distributed System Structures
Chapter 16: Distributed System Structures
Module 15: Network Structures
Distributed System Structures 16: Distributed Structures
Database System Architectures
Distributed Systems and Concurrency: Distributed Systems
Presentation transcript:

Multiprossesors Systems.

What are Distributed Databases ? “ A Logically interrelated collection of shared data ( and a description of this data) physically distributed over a computer network”  A collection of independent computers that appears to its users as a single coherent system

Characteristics of Distributed DBMS  A collection of Logically related shared data  Data is split into a no. of fragments  Fragments may be replicated  Fragments are allocated to sites  Sites are linked by comm. Network  Data at each site is under control of DBMS

Characteristics of Distributed Databases Users access DDBMS via applications :  Local Apps : That do not require data from other sites  Global Apps : That do require data from other sites

Distributed Databases Computer Network Site 1 Site 3 Site 2 Site 4 DB

FRAGMENTATION  Fragmentation - A relation may be divided into no. of subrelations called fragments, which are distributed  Allocation – Each Fragment is stored at the site with ‘optimal’ distribution  Replication – DDBMS may maintain a copy of a fragment at several different sites

DATA REPLICATION  Process of storing data in more than one site or node  Improves the availability of data  Full (Complete) Replication – Copy of whole database is stored at every site  Partial Replication – Some Fragments of the database are replicated

A Distributed System

FRAGMENTATION Data can be stored in different computers by fragmenting the whole database into several pieces called fragments Data can be stored in different computers by fragmenting the whole database into several pieces called fragments Fragments are logical data units stored at various sites in a distributed database system Fragments are logical data units stored at various sites in a distributed database system

FRAGMENTATION - Advantages Usage -- Appropriate to work with subsets of relation as the unit of distribution. Usage -- Appropriate to work with subsets of relation as the unit of distribution. Efficiency -- Data is stored close to where it is to be frequently used Efficiency -- Data is stored close to where it is to be frequently used Parallelism – A Transaction can be divided into several subqueries that operate on fragments Parallelism – A Transaction can be divided into several subqueries that operate on fragments Security – Data not required by local applications is not stored, so not available to unauthorized users Security – Data not required by local applications is not stored, so not available to unauthorized users

Network Topology

Local-Area Network (LAN) – designed to cover small geographical area. Multiaccess bus, ring, or star network. Speed  10 megabits/second, or higher. Broadcast is fast and cheap. Network Types

n Depiction of typical LAN:

Hardware Concepts 1.6 Different basic organizations and memories in distributed computer systems

Multiprocessors  A bus-based multiprocessor 1.7

Multiprocessors a) A crossbar switch b) An omega switching network 1.8

Homogeneous Multicomputer Systems a) Grid b) Hypercube 1-9

Distributed-Operating Systems (Cont.)  Process Migration – execute an entire process, or parts of it, at different sites. Load balancing – distribute processes across network to even the workload.Load balancing – distribute processes across network to even the workload. Computation speedup – subprocesses can run concurrently on different sites.Computation speedup – subprocesses can run concurrently on different sites. Hardware preference – process execution may require specialized processor.Hardware preference – process execution may require specialized processor. Software preference – required software may be available at only a particular site.Software preference – required software may be available at only a particular site. Data access – run process remotely, rather than transfer all data locally.Data access – run process remotely, rather than transfer all data locally.

Topology  Sites in the system can be physically connected in a variety of ways; they are compared with respect to the following criteria: Basic cost. How expensive is it to link the various sites in the system?Basic cost. How expensive is it to link the various sites in the system? Communication cost. How long does it take to send a message from site A to site B?Communication cost. How long does it take to send a message from site A to site B? Reliability. If a link or a site in the system fails, can the remaining sites still communicate with each other?Reliability. If a link or a site in the system fails, can the remaining sites still communicate with each other?  The various topologies are depicted as graphs whose nodes correspond to sites. The following six items depict various network topologies.

Communication  Naming and name resolution: How do two processes locate each other to communicate?  Routing strategies. How are messages sent through the network?  Connection strategies. How do two processes send a sequence of messages?  Contention. The network is a shared resource, so how do we resolve conflicting demands for its use? The design of a communication network must address four basic issues:

Design Issues  Transparency – the distributed system should appear as a conventional, centralized system to the user.  Fault tolerance – the distributed system should continue to function in the face of failure.  Scalability – as demands increase, the system should easily accept the addition of new resources to accommodate the increased demand.  Clusters – a collection of semi-autonomous machines that acts as a single system.

END