Database Design Life Cycle
Context: FIT2094_MOC ยท the four design stages from requirements to physical storage ยท increasing technology-dependence down the stages ยท frames where the Conceptual Model sits
Quick Revision
- ๐ฏ Objective: refine requirements โ conceptual โ logical โ physical โ each stage more implementation-specific.
- ๐ฆ Core Components: Requirements โ Conceptual (tech-independent) | Logical (DB type) โ Physical (DBMS).
- โก Key Constraint: technology-independence decreases down the stages; requirements errors cascade.
๐ Core
1. The Four Stages
- Requirements Definition โ gather data, operations, constraints from stakeholders.
- Conceptual Design โ high-level Conceptual Model (entities/attributes/relationships), tech-independent.
- Logical Design โ map to a database type (relational) โ Conceptual vs Logical Model.
- Physical Design โ storage for a specific DBMS (tables, files, indexes, access methods).
2. Independence Gradient
- Requirements/Conceptual โ fully technology-independent (what, not how).
- Logical โ depends on DB type, not vendor (same on Oracle/SQL Server).
- Physical โ depends on the specific DBMS.
3. Requirements & Views
- Three forms โ natural language | structured docs | formal/conceptual (business rules, use cases).
- One central DB โ many stakeholder views, no data duplication (each unit/enrolment stored once).
โ๏ธ Core Decision Matrix
| Stage | Deliverable | Depends on |
|---|---|---|
| Requirements | data/ops/constraints | nothing (tech-free) |
| Conceptual | Conceptual Model / ERD | nothing (tech-free) |
| Logical | relations + keys | DB type |
| Physical | storage structures | specific DBMS |
When It Flips: the technology-independent stages let business stakeholders agree on meaning before any platform commitment, postponing vendor lock-in to physical design. A single integrated database backs all user views.
๐ Exam Execution Trace
Manual Execution Trace
Classifying dependence per stage:
| Step / State | Stage | Tech-independent? | Bound to |
|---|---|---|---|
| 0 (Init) | โ | โ | โ |
| 1 | Requirements | yes | โ |
| 2 | Conceptual | yes | โ |
| 3 | Logical | no | DB type |
| 4 | Physical | no | DBMS |
โ ๏ธ Common Mistakes
- ๐ก Logical = type-dependent, Physical = vendor-dependent โ a relational logical design is identical on Oracle vs SQL Server; only physical storage differs per DBMS.
๐ง Active Recall
Name the four stages and their technology-dependence.
- Hint: Independence decreases down the stages.
Answer
- Short answer: Requirements + Conceptual (tech-free); Logical (DB type); Physical (specific DBMS).
- Why: What vs how โ conceptual states what data matter; physical states how stored.
Why does the logical model depend on the database type but not the vendor, while the physical depends on the DBMS?
- Hint: Constructs vs storage.
Answer
- Short answer: Logical uses a typeโs constructs (relations, PK/FK) โ identical across vendors; physical concerns file org/indexes, which each DBMS implements differently.
- Why: Vendor-free logic โ an Oracle vs SQL Server relational design is the same at the logical level.