Lecture - 01
Introduction
Friday, December 6, 2024
DDBMS : Course Introduction
DDBMS : Course Introduction
DDBMS : Course Introduction
DDBMS : Course Outline
DDBMS : Course Outline
DDBMS : Course Outline
DDBMS : Course Introduction
Lecture Outline
Traditional File Processing
program 1
data description 1
program 2
data description 2
program 3
data description 3
File 1
File 2
File 3
Database Management System
database
DBMS
Application
program 1
(with data
semantics)
Application
program 2
(with data
semantics)
Application
program 3
(with data
semantics)
description
manipulation
control
Database vs. File-based Approach
Database approach is preferred over traditional file-based
approach because of following key reasons:
List the names of students who took the section of the ‘Database’ course offered in fall 2008 and their grades in that section
Distributed Database System
Database
Technology
Computer
Networks
integration
distribution
integration
Distributed
Database
Systems
Distributed Database System (DDBS)
What is not Distributed Database System
Site 5
Site 1
Site 2
Site 3
Site 4
Communication
Network
Distributed DBMS Environment
Site 5
Site 1
Site 2
Site 3
Site 4
Communication
Network
Applications
Distributed DBMS Promises
Transparency
Example
TITLE
SAL
PAY
Elect. Eng.
40000
Syst. Anal.
34000
Mech. Eng.
27000
Programmer
24000
PROJ
PNO
PNAME
BUDGET
ENO
ENAME
TITLE
E1
J. Doe
Elect. Eng.
E2
M. Smith
Syst. Anal.
E3
A. Lee
Mech. Eng.
E4
J. Miller
Programmer
E5
B. Casey
Syst. Anal.
E6
L. Chu
Elect. Eng.
E7
R. Davis
Mech. Eng.
E8
J. Jones
Syst. Anal.
EMP
ENO
PNO
RESP
E1
P1
Manager
12
DUR
E2
P1
Analyst
24
E2
P2
Analyst
6
E3
P3
Consultant
10
E3
P4
Engineer
48
E4
P2
Programmer
18
E5
P2
Manager
24
E6
P4
Manager
48
E7
P3
Engineer
36
E8
P3
Manager
40
ASG
P1
Instrumentation
150000
P3
CAD/CAM
250000
P2
Database Develop.
135000
P4
Maintenance
310000
E7
P5
Engineer
23
SELECT ENAME,SAL
FROM EMP,ASG,PAY
WHERE DUR > 12
AND EMP.ENO = ASG.ENO
AND PAY.TITLE = EMP.TITLE
Transparent Access
Paris projects
Paris employees
Paris assignments
Boston employees
Montreal projects
Paris projects
New York projects
with budget > 200000
Montreal employees
Montreal assignments
Boston
Communication
Network
Montreal
Paris
New
York
Boston projects
Boston employees
Boston assignments
Boston projects
New York employees
New York projects
New York assignments
Tokyo
SELECT ENAME,SAL
FROM EMP,ASG,PAY
WHERE DUR > 12
AND EMP.ENO = ASG.ENO
AND PAY.TITLE = EMP.TITLE
Transparency
Transparency
Transparency
Transparency
Transparency
Fragmentation Transparency - Horizontal
Fragmentation Transparency - Horizontal
Fragmentation Transparency - Vertical
Fragmentation Transparency - Vertical
Layers of Transparency
Who Should Provide Transparency?
Distributed DBMS Promises
Reliability Through Distributed Transactions
Distributed DBMS Promises
Improved Performance
Distributed DBMS Promises
Easier System Expansion
Challenges/Issues
Relationship Among Challenges/Issues
Directory
Management
Reliability
Deadlock
Management
Query
Processing
Concurrency
Control
Distribution
Design