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

StageDeliverableDepends on
Requirementsdata/ops/constraintsnothing (tech-free)
ConceptualConceptual Model / ERDnothing (tech-free)
Logicalrelations + keysDB type
Physicalstorage structuresspecific 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 / StateStageTech-independent?Bound to
0 (Init)โ€”โ€”โ€”
1Requirementsyesโ€”
2Conceptualyesโ€”
3LogicalnoDB type
4PhysicalnoDBMS

โš ๏ธ 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