0% found this document useful (0 votes)
19 views

Datamodel and Its Types

This document discusses different types of data models. It defines a data model as a set of concepts that describe the structure of data in a database. It then describes several common data models: hierarchical, which organizes data in a tree structure; network, which organizes data as a graph; relational, which organizes data into tables; and object-based, which organizes data into objects with properties and methods. The document stresses that data modeling is important for efficiently organizing data in a way that ensures integrity, consistency, security and accuracy.

Uploaded by

Sonu Magar
Copyright
© © All Rights Reserved
Available Formats
Download as PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
19 views

Datamodel and Its Types

This document discusses different types of data models. It defines a data model as a set of concepts that describe the structure of data in a database. It then describes several common data models: hierarchical, which organizes data in a tree structure; network, which organizes data as a graph; relational, which organizes data into tables; and object-based, which organizes data into objects with properties and methods. The document stresses that data modeling is important for efficiently organizing data in a way that ensures integrity, consistency, security and accuracy.

Uploaded by

Sonu Magar
Copyright
© © All Rights Reserved
Available Formats
Download as PDF, TXT or read online on Scribd
You are on page 1/ 16

Data Model

and Its Types

Sonu Thapa Magar


Introduction
• A set of concepts that can be used to
describe the structure of data in a
database.

• Defines the structure, relationships,


constraints, and rules for data storage
and manipulation

Data Model and Its Types 2


Importance
• Facilitates communication between developers,
stakeholders, and users

• Enables data integrity and consistency

• Supports efficient querying and manipulation of


data

• Promotes data security and privacy

• Data accuracy

Data Model and Its Types 3


Types of data model

Javatpoint

Data Model and Its Types 4


Hierarchical Data Model

• A way of organizing data in


a tree-like structure

• The parent-child
relationships create a tree-
like structure, with the root
at the top and the leaves at
the bottom

Data Model and Its Types 5


Characteristics
• Tree-like structure
• Parent-child relationships
• Limited flexibility

Data Model and Its Types 6


Network Data Model
• Data model is a database model
that organizes data as a graph
consisting of nodes and arcs.

• Each record in the network data


model has a unique identifier,
called a key, which is used to
locate the record within the graph

Data Model and Its Types 7


Characteristics
• Organizes data as a graph
• Supports many-to-many
relationships
• Uses keys to access data
• Allows for complex queries

Data Model and Its Types 8


Relational Data Model
• Data is organized into tables
consisting of rows and columns.

• Most widely used data model in


DBMS and allows for easy
querying and manipulation of
data.

Data Model and Its Types 9


Characteristics
• Organizes data into tables
• Tables have columns and rows
• Uses primary and foreign keys
• Supports SQL
• Enforces data integrity

Data Model and Its Types 10


Entity Relational Data Model
• Uses entities to represent real-world
objects

• An ER model is a design or blueprint


of a database that can later be
implemented as a database

• Describes the structure of a


database with the help of a diagram

Data Model and Its Types 11


Characteristics
• Entities
• Attributes
• Relationships
• Keys
• Normalization
• Diagrammatic representation
• Consistency

Data Model and Its Types 12


Object Based Data Model
• Type of data model used to
describe data in terms of objects

• Data is organized into objects that


have properties or attributes, and
methods that define their
behavior

Data Model and Its Types 13


Characteristics
• Modularity
• Properties
• Abstraction
• Inheritance

Data Model and Its Types 14


Conclusion
Data modeling is a crucial aspect of
database design and management,
as it helps to organize data in a way
that is efficient, accurate, and easy
to access.

Data Model and Its Types 15


References
(n.d.). Retrieved from javatpoint: https://www.javatpoint.com/data-
models
Afteracademy. (n.d.). Retrieved from
https://afteracademy.com/blog/what-is-data-model-in-dbms-and-what-
are-its-types/
sap.com. (n.d.). Retrieved from https://www.sap.com/insights/what-is-
data-modeling.html

Data Model and Its Types 16

You might also like