Database Design in DBMS (original) (raw)

Last Updated : 1 May, 2026

Database design is a systematic process that involves a set of procedures and tasks to implement a database effectively. It focuses on organizing and structuring data in a way that ensures efficiency, accuracy, and usability.

Primary Terminologies Used in Database Design

Database Design Lifecycle

db-design

Lifecycle of Database Design

1. Requirement Analysis

It's very Important to understand the requirements of our application so that you can think in productive terms. And imply appropriate integrity constraints to maintain the data integrity and consistency.

2. Logical & Physical Design

This phase involves the actual design of the database and is divided into two stages:

3. Data Insertion and testing for various integrity Constraints

Finally, after implementing the physical design of the database, we're ready to input the data & test our integrity. This phase involves testing our database for its integrity to see if something got left out or, if anything new to add & then integrating it with the desired application.

Logical Data Model Design

The logical data model design defines the structure of data and what relationship exists among those data. The following are the major components of the logical design:

**1. Data Models: Data modeling is a visual technique used to represent the structure of a database. It helps in understanding requirements through diagrammatic representation.
Examples: Hierarchical Model, Network Model, Relational Model, Object-Oriented Data Model.

**2. Entity: An Entities is a real-world object that has attributes (properties).

**3. Relationships: A relationship defines how entities are logically connected.

Types:

**4. Attributes: Attributes are properties that describe an entity.
Example: Employee → ID, Name, Age, Salary, Department.

**5. Normalization: Normalization is the process of organizing data to eliminate redundancy and prevent anomalies such as insertion, update, and deletion anomalies.

employee

Physical Design

The main purpose of the physical design is to actually implement the logical design that is, show the structure of the database along with all the columns & their data types, rows, relations, relationships among data & clearly define how relations are related to each other.

Steps Taken in Physical Design

  1. Entities are converted into tables or relations that consist of their properties (attributes)
  2. Apply integrity constraints: establish foreign key, unique key, and composite key relationships among the data. And apply various constraints.
  3. Entity names are converted into table names, property names are translated into attribute names, and so on.
  4. Apply normalization & modify as per the requirements.
  5. Final Schemes are defined based on the entities & attributes derived in logical design.

project