Data Model in Database Management System
Data Model in Database Management System
Data modeling helps in the visual representation of data and enforces business rules, regulatory compliances,
and government policies on the data. Data Models ensure consistency in naming conventions, default values,
semantics, security while ensuring quality of the data.
Ensures that all data objects required by the database are accurately represented. Omission of data will
lead to creation of faulty reports and produce incorrect results.
A data model helps design the database at the conceptual, physical and logical levels.
Data Model structure helps to define the relational tables, primary and foreign keys and stored
procedures.
It provides a clear picture of the base data and can be used by database developers to create a physical
database.
It is also helpful to identify missing and redundant data.
Though the initial creation of data model is labor and time consuming, in the long run, it makes your
IT infrastructure upgrade and maintenance cheaper and faster.
1. Conceptual Data Model: This Data Model defines WHAT the system contains. This model is
typically created by Business stakeholders and Data Architects. The purpose is to organize, scope and
define business concepts and rules.
2. Logical Data Model: Defines HOW the system should be implemented regardless of the DBMS. This
model is typically created by Data Architects and Business Analysts. The purpose is to developed
technical map of rules and data structures.
3. Physical Data Model: This Data Model describes HOW the system will be implemented using a
specific DBMS system. This model is typically created by DBA and developers. The purpose is actual
implementation of the database.
Customer and Product are two entities. Customer number and name are attributes of the Customer
entity
Product name and price are attributes of product entity
Sale is the relationship between the customer and product
Conceptual data models known as Domain models create a common vocabulary for all stakeholders by
establishing basic concepts and scope.
At this Data Modeling level, no primary or secondary key is defined. At this Data modeling level, you need to
verify and adjust the connector details that were set earlier for relationships.
Describes data needs for a single project but could integrate with other logical data models based on
the scope of the project.
Designed and developed independently from the DBMS.
Data attributes will have datatypes with exact precisions and length.
Normalization processes to the model is applied typically till 3NF.
The main goal of a designing data model is to make certain that data objects offered by the functional
team are represented accurately.
The data model should be detailed enough to be used for building the physical database.
The information in the data model can be used for defining the relationship between tables, primary
and foreign keys, and stored procedures.
Data Model helps business to communicate the within and across organizations.
Data model helps to documents data mappings in ETL process
Help to recognize correct sources of data to populate the model
To develop Data model one should know physical data stored characteristics.
This is a navigational system produces complex application development, management. Thus, it
requires a knowledge of the biographical truth.
Even smaller change made in structure require modification in the entire application.
There is no set data manipulation language in DBMS.
Conclusion
Data modeling is the process of developing data model for the data to be stored in a Database.
Data Models ensure consistency in naming conventions, default values, semantics, security while
ensuring quality of the data.
Data Model structure helps to define the relational tables, primary and foreign keys and stored
procedures.
There are three types of conceptual, logical, and physical.
The main aim of conceptual model is to establish the entities, their attributes, and their relationships.
Logical data model defines the structure of the data elements and set the relationships between them.
A Physical Data Model describes the database specific implementation of the data model.
The main goal of a designing data model is to make certain that data objects offered by the functional
team are represented accurately.
The biggest drawback is that even smaller change made in structure require modification in the entire
application.
Reading this Data Modeling tutorial, you will learn from the basic concepts such as What is Data
Model? Introduction to different types of Data Model, advantages, disadvantages, and data model
example.