Top-down vs Bottom-up Database Design
Table of Contents
Top-down vs Bottom-up Database Design
Database design can be approached in two primary ways: top-down and bottom-up. Each approach has its own methodology for structuring and organizing data within a database system.
See also: Three-level Data Modeling in Databases
Top-down Approach
- Starts with a high-level overview of the system and breaks it down into smaller components
- Conceptual level -> Logical level
- Define Entity-Relationship (ER) diagrams to capture business requirements
- Convert ER diagrams into relational schemas (tables, columns, keys)
- Normalize the database to eliminate redundancy and ensure data integrity
Bottom-up Approach
- Starts with detailed data requirements and builds up to a complete system
- Better for existing systems where data is already defined
- Logical level -> Conceptual level
- Define tables based on existing data and application needs
- Normalize tables to ensure data integrity
- Create ER diagrams to represent the overall database structure