+ All Categories
Home > Documents > Associate Professor Dr. Raed Ibraheem...

Associate Professor Dr. Raed Ibraheem...

Date post: 12-Dec-2020
Category:
Upload: others
View: 2 times
Download: 0 times
Share this document with a friend
15
Associate Professor Dr. Raed Ibraheem Hamed Department of IT and Computer Science _ UHD 1 University of Human Development, College of Science and Technology Departments of IT and Computer Science 2015 – 2016
Transcript
Page 1: Associate Professor Dr. Raed Ibraheem Hamedraedh.weebly.com/uploads/1/3/4/6/13465115/lectures_of_dbms_-_19… · Associate Professor Dr. Raed Ibraheem Hamed Department of IT and Computer

Associate Professor Dr. Raed Ibraheem Hamed

Department of IT and Computer Science _ UHD 1

University of Human Development, College of Science and Technology

Departments of IT and Computer Science

2015 – 2016

Page 2: Associate Professor Dr. Raed Ibraheem Hamedraedh.weebly.com/uploads/1/3/4/6/13465115/lectures_of_dbms_-_19… · Associate Professor Dr. Raed Ibraheem Hamed Department of IT and Computer

Distributed DBMS © M. T. Özsu & P. Valduriez Ch.1/2

Outline

• Background File Systems

• Database Management

• Motivation

• Distributed Computing

• What is a Distributed Database System?

• What is a DDBS

• Centralized DBMS on a Network

• Distributed DBMS Architecture

• Generic DBMS Architecture

2

Page 3: Associate Professor Dr. Raed Ibraheem Hamedraedh.weebly.com/uploads/1/3/4/6/13465115/lectures_of_dbms_-_19… · Associate Professor Dr. Raed Ibraheem Hamed Department of IT and Computer

Distributed DBMS © M. T. Özsu & P. Valduriez Ch.1/3

Background File Systems

program 1

data description 1

program 2

data description 2

program 3

data description 3

File 1

File 2

File 3

3

Page 4: Associate Professor Dr. Raed Ibraheem Hamedraedh.weebly.com/uploads/1/3/4/6/13465115/lectures_of_dbms_-_19… · Associate Professor Dr. Raed Ibraheem Hamed Department of IT and Computer

Distributed DBMS © M. T. Özsu & P. Valduriez Ch.1/4

Database Management

database

DBMS

Applicationprogram 1(with data

description)

Applicationprogram 2(with data

description)

Applicationprogram 3(with data

description)

description

manipulation

control

4

Page 5: Associate Professor Dr. Raed Ibraheem Hamedraedh.weebly.com/uploads/1/3/4/6/13465115/lectures_of_dbms_-_19… · Associate Professor Dr. Raed Ibraheem Hamed Department of IT and Computer

Distributed DBMS © M. T. Özsu & P. Valduriez Ch.1/5

Motivation

DatabaseTechnology

ComputerNetworks

distribution

DistributedDatabaseSystems

5

Database Technology + Computer Networks =

Page 6: Associate Professor Dr. Raed Ibraheem Hamedraedh.weebly.com/uploads/1/3/4/6/13465115/lectures_of_dbms_-_19… · Associate Professor Dr. Raed Ibraheem Hamed Department of IT and Computer

Distributed DBMS © M. T. Özsu & P. Valduriez Ch.1/6

Distributed Computing

• A number of independent processing elements (not necessarilyhomogeneous) that are interconnected by a computer networkand that cooperate in performing their assigned tasks.

• What is being distributed?

➡ Processing

➡ Function

➡Data

➡Control

6

Page 7: Associate Professor Dr. Raed Ibraheem Hamedraedh.weebly.com/uploads/1/3/4/6/13465115/lectures_of_dbms_-_19… · Associate Professor Dr. Raed Ibraheem Hamed Department of IT and Computer

Distributed DBMS © M. T. Özsu & P. Valduriez Ch.1/7

What is a Distributed Database System?

A distributed database (DDB) is a collection of multiple, logicallyinterrelated databases distributed over a computer network.

A distributed database management system (D–DBMS) is thesoftware that manages the DDB and provides an accessmechanism that makes this distribution explicit to the users.

Distributed database system (DDBS) = DDB + D–DBMS

7

Page 8: Associate Professor Dr. Raed Ibraheem Hamedraedh.weebly.com/uploads/1/3/4/6/13465115/lectures_of_dbms_-_19… · Associate Professor Dr. Raed Ibraheem Hamed Department of IT and Computer

Distributed DBMS © M. T. Özsu & P. Valduriez Ch.1/8

What is not a DDBS?

• A timesharing computer system

• A Widely or narrowly coupled multiprocessor system

• A database system which resides at one of the nodes of a network of computers - this is a centralized database on a network node

8

Page 9: Associate Professor Dr. Raed Ibraheem Hamedraedh.weebly.com/uploads/1/3/4/6/13465115/lectures_of_dbms_-_19… · Associate Professor Dr. Raed Ibraheem Hamed Department of IT and Computer

Distributed DBMS © M. T. Özsu & P. Valduriez Ch.1/9

Centralized DBMS on a Network

Site 5

Site 1

Site 2

Site 3Site 4

CommunicationNetwork

9

Page 10: Associate Professor Dr. Raed Ibraheem Hamedraedh.weebly.com/uploads/1/3/4/6/13465115/lectures_of_dbms_-_19… · Associate Professor Dr. Raed Ibraheem Hamed Department of IT and Computer

Distributed DBMS © M. T. Özsu & P. Valduriez Ch.1/10

Distributed DBMS Environment

Site 5

Site 1

Site 2

Site 3Site 4

CommunicationNetwork

10

Page 11: Associate Professor Dr. Raed Ibraheem Hamedraedh.weebly.com/uploads/1/3/4/6/13465115/lectures_of_dbms_-_19… · Associate Professor Dr. Raed Ibraheem Hamed Department of IT and Computer

Distributed DBMS © M. T. Özsu & P. Valduriez Ch.1/11

Distributed DBMS Promises

Explicit management of distributed, fragmented, and replicated data

Improved reliability/availability through distributed transactions

Improved performance

Easier and more economical system expansion

11

Page 12: Associate Professor Dr. Raed Ibraheem Hamedraedh.weebly.com/uploads/1/3/4/6/13465115/lectures_of_dbms_-_19… · Associate Professor Dr. Raed Ibraheem Hamed Department of IT and Computer

Distributed DBMS © M. T. Özsu & P. Valduriez Ch.1/12

Distributed Database - User View

Distributed Database

12

Page 13: Associate Professor Dr. Raed Ibraheem Hamedraedh.weebly.com/uploads/1/3/4/6/13465115/lectures_of_dbms_-_19… · Associate Professor Dr. Raed Ibraheem Hamed Department of IT and Computer

Distributed DBMS © M. T. Özsu & P. Valduriez Ch.1/13

Distributed DBMS - Reality

CommunicationSubsystem

DBMSSoftware

UserApplicationUser

Query

DBMSSoftware

DBMSSoftware

DBMSSoftware

UserQuery

DBMSSoftware

UserQuery

UserApplication

13

Page 14: Associate Professor Dr. Raed Ibraheem Hamedraedh.weebly.com/uploads/1/3/4/6/13465115/lectures_of_dbms_-_19… · Associate Professor Dr. Raed Ibraheem Hamed Department of IT and Computer

Distributed DBMS © M. T. Özsu & P. Valduriez Ch.1/14

Architecture

•Defines the structure of the system

➡components identified

➡functions of each component defined

➡interrelationships and interactions between components defined

14

Page 15: Associate Professor Dr. Raed Ibraheem Hamedraedh.weebly.com/uploads/1/3/4/6/13465115/lectures_of_dbms_-_19… · Associate Professor Dr. Raed Ibraheem Hamed Department of IT and Computer

Distributed DBMS © M. T. Özsu & P. Valduriez Ch.1/15

Generic DBMS Architecture

ExternalSchema

ConceptualSchema

InternalSchema

Internal view

Users

External view

Conceptual view

External view

External view

15


Recommended