Database Basics

by K. Yue

1. Introduction

2. Users

3. DB Development Phases

3.1 Data Modeling

General conceptual model. See, for example: https://en.wikipedia.org/wiki/Conceptual_model_(computer_science).

  1. Capture domain knowledge and requirements from the business and application perspectives.
  2. Driven by requirements.
  3. Construct a conceptual model iteratively.

See, for example: https://en.wikipedia.org/wiki/Conceptual_schema.

Identify and capture user requirements:

  1. Likely the most tedious and difficult parts for many traditional applications.
  2. Collect documents of existing systems.
  3. Study documents of existing systems.
  4. Talk with domain experts and end users.
  5. Model the problem using a modeling language, such as UML, ER, etc.
  6. Document the captured requirements: e.g., modeling, requirement specifications, data dictionary, etc.
  7. Iteratively refine and correct the model until enough details are captured.

3.2 Design database solutions

  1. Select the appropriate data model of the database.
  2. Select the appropriate DBMS.
  3. Design the logical model.
  4. Design the architecture of the DB system.
  5. Design the physical database.
  6. Design external views.
  7. Design individual components.

3.3. Implementation and testing

  1. Implement and test design.
  2. Optimize performance.

4. The Three-Layered DB Architecture