In SQL, modeling refers to the process of designing and defining the structure of a database. It involves defining tables, columns, relationships, and constraints to meet the requirements of the database.
Modeling in SQL typically includes the following elements:
Conceptual Modeling:
Conceptual modeling involves designing the overall structure of the database based on business requirements and conceptual entities.
It defines entities and relationships associated with business processes.
It is often represented using an Entity-Relationship (ER) diagram.
Logical Modeling:
Logical modeling transforms the conceptual model into a logical structure that can be used in an actual database.
Entities and attributes are converted into tables and columns, and relationships are defined using foreign key constraints.
It defines relationships between tables, integrity constraints, and other database objects.
Physical Modeling:
Physical modeling designs the actual storage structure of the database based on the logical model.
It defines physical storage elements such as table spaces, indexes, partitions, etc.
It considers specific details dependent on the database management system.
'Study Note > SQL Developer license' 카테고리의 다른 글
DML, TCL, DDL, DLC (0) | 2024.05.07 |
---|---|
Transaction (0) | 2024.04.22 |
Normalization & Denormalization (0) | 2024.04.22 |
Waterfall Model & Agile Model (0) | 2024.04.17 |
Importance of data modeling (0) | 2024.04.17 |