Data Model
Data Model
Data Model is the visual representation of data flow from the origin to desired state and it helps to
easily understand on the list of stages how data created and converted.
Data Model has many categories and it would be implemented based on business decisions. Models
can be created through reverse engineering, extracting structures from relational databases.
It will be help business to address better solutioning, continuous improvement, new strategies.
This model helps to understand the Entities, Attributes, Data relationships and Data requirements
without depth analysis of technologies.
Product Planned
Customer Order Invoice Payment
Billing
It translates the high-level concepts from the conceptual model into a more structured format that
can be implemented in a specific database system
Columnar
Relational
Multidimensional
NoSQL systems
Physical Data Model: -
Physical Data model is more detailed representation than logical data model and it listed the details
about how the data will be stored and organized in a specific database system.
It takes the logical model and refines it based on the chosen database platform, accounting for
performance, storage, and other system-specific considerations.
1. Data types
2. Table
3. Constraints
4. Index
5. Triggers
6. Partitioning
7. Auto Increment
ER Data Model: -
ER Model represents the abstracts of the entities and their relationship in the database.
Entities – It defines the tables which holds the data
o Independent Entity - Independent entities, also referred to as kernels, are the
backbone of the database
o Dependent Entity - Dependent entities, also referred to as derived entities, depend
on other tables for their meaning
o Characteristics Entity - Characteristic entities provide more information about
another table
Attributes – Each Entity is described with set of attributes
o Simple attributes
o Composite attributes
o Multivalued attributes
o Derived attributes
Ref: - https://opentextbc.ca/dbdesign01/chapter/chapter-8-entity-relationship-model/
The object-oriented data model aims at bridging the semantic gap between relation tables and
entities of the real world through objects that directly correspond to entities.
Object Oriented Data Model = Object Oriented Programming + Relational database model
Objects
o Objects is an abstraction of the real-world entity or instance of class.
Attributes
o It describes the properties of an object
Methods
o It describes the behaviour of an object
Class
o A class is a collection of similar objects with shared structure
Dimensional Data Model
Dimensional Data Model is one of the data models used in the data warehouse design it consists of
Fact Table, Dimension Tables.
The mail goal of this model is optimized way data retrieval and it commonly used in OLAP systems.
Fact Table
A fact table is a primary table in dimension modelling and it contains
Measurements/facts
Foreign key to dimension table
Dimension Table
Conformed Dimension
Outrigger Dimension
Shrunken Dimension
Role Playing Dimension
Dimension to Dimension
Junk Dimension
Degenerate Dimension
Swappable Dimension
Step Dimension