Professional Documents
Culture Documents
DB Lec ALL Online - 4
DB Lec ALL Online - 4
Database Systems
Lecture 4
3
DFD Example:
Bus Garage Repairs
4
DFD Example: Bus Garage Repairs
Data stores:
Personnel file
Repairs file
Bus master list
Parts list
Data flows:
Repair order
Bus record
Parts record
Employee timecard
Invoices
Bus Garage Context Diagram
Bus
Mechanical Fixed
problem mechanical
to be repaired problems
Repair Supervisor
Helper Labor Bus summary
Repair
Process List of
System parts used Inventory
Labor Management
Labor, System
parts cost
details
Mechanic
Accounting
Prepare 0 – Level and 1-Level diagram
9
Schema and Subschemas
10
Schema and Subschemas
Physical Database
Database Environment
Three Level Architecture
User’s view of the database
External
Level
Community
Conceptual Level Conceptual Schema view
Physical
Internal Level Internal Schema representation
External Level
Describes that part of the database that is
relevant to a particular user
Conceptual Level
Describes what data is stored in the database
and relationships among the data
Internal Level
Describes how the data is stored in the
database