SlideShare a Scribd company logo
)
DATA MODELS INTRODUCTION
• A Data Model is a set of concepts that can be used
to describe the structure of data in a database.
• A database model shows the logical structure of a
database, including the relationships and constraints
that determine how data can be stored and
accessed.
• Data Models are used to support the development of
information systems by providing the definition and
format of data to be involved in future systems.
• Data model also gives idea about possible alternatives
to achieve targeted solution.
8/20/2018 2DBMS
Types of Data Models
• Hierarchical Model
• Network Model
• Relational Model
8/20/2018 3DBMS
Hierarchical Model
• This model is developed by IBM and
North American Rockwell Known as
Information Management System.
• This is the oldest and simplest DBMS
model.
• The model is sorted hierarchical ,either in
top down or bottom up approach of
designing.
• This model uses pointers to navigate
between stored data.
8/20/2018 4DBMS
Example of Hierarchical Model
8/20/2018 5DBMS
Business Rule
• One parent node can have many child
nodes ,but one child cannot have
more than one parent.
• Relationship is one to many.
8/20/2018 6DBMS
Advantages of Hierarchical Model
1. Conceptual simplicity
• Relationship between various level
is logically very simple. Hence
database structure becomes
easier to view.
2. Database Security
• Security is given by DBMS system
itself.
8/20/2018 7DBMS
3. Simple creation ,Updation and Access
• This model is simple to construct
with help of pointers .
• Easy to understand .
• Easy to delete and add records in the
database using pointers .
• This is faster and easy data retrival
through higher level records in tree
structure.
8/20/2018 8DBMS
4. Database Integrity
• There is parent child association
between different levels of
records in files.
• Child record is attached with the
parent record which maintains the
integrity
8/20/2018 9DBMS
5. Efficiency
• This model having good
performance when database
contains large amount of data in
which one record has many
related records like a class
contains many students studying
in it.
8/20/2018 10DBMS
Disadvantages of Hierarchical Model
1. Complex Implementation
• Programmers and designers need to
have knowledge of physical data storage
which may be complex.
2. Difficult to manage
• Any change in a location of data needs
change in all application programs that
accesses changes data.
• Data access is restricted by pointer path.
8/20/2018 11DBMS
3. Limitations in implementation
• It is difficult to implement many to
many relationship.
• Query optimization is not possible
or possible up to certain extent.
8/20/2018 12DBMS
Network Model
• This model is similar to Hierarchical
model, this model also uses pointers
toward data but there is no need of
parent to child association .
• It uses graph data structure.
• A child can have more than one parent.
• It has one to many or many to many
relationship.
8/20/2018 13DBMS
• A relationship between any two record
types is called as a set.
• Data in network model are
represented by collection of records
and relationships among data are
represented by links, which can be
viewed as pointers.
• The records in the database are
organized as collection of arbitrary
groups.
8/20/2018 14DBMS
Example of Network Model
8/20/2018 15DBMS
Advantages of Network Model
1. Simple design
• The network model is simple and
easy to design and understand.
2. Ability to handle many types of
relationship
• The network model can handle the
one to many or many to many or
other relationships.
• Hence network model manages
multiuser environment.
8/20/2018 16DBMS
3. Ease of data access
• In a network model, an application can
access a root(parent) record and all the
member records within a SET (child).
• Provide very efficient and high speed
retrieval.
4. Data Integrity
• In a network model, no member can exist
without a parent entity.
• A user must first define the root record and
then the child record.
8/20/2018 17DBMS
5. Data Independence
• In network model, application
programs work independently of the
data.
• Any changes made in the data do not
affect the application programs.
• In a network model ,administrators
offer data creation by DDL and DML.
8/20/2018 18DBMS
Disadvantages of Network Model
1. System Complexity
• In a network model ,data are accessed
one record at a time.
• This can increase the complexity of
system for accessing multiple records at
a time.
2. Lack of structural independence
• Any changes made to the database
structure require the application
programs to be modified before it can
access data.
8/20/2018 19DBMS
Relational Model
• The Relational Model is first proposed by E.F
Codd.
• This model uses collection of tables to represent
relationships amongst the data.
• In this model ,each database item is viewed as a
record with attributes. A set of records with
similar attributes is called a TABLE. Each table
contains a record of a particular type.
• The database uses Relational model called as
RDBMS .
• A Relational database is a collection of 2-D tables
which consist of rows and columns.
8/20/2018 20DBMS
• Relational model is the most popular model and the
most extensively used model.
• In this model the data can be stored in the “tables”
and this storing is called as “relation”, the relations
can be normalized and the normalized relation values
are called atomic values.
• Each row in a relation contains unique value and it is
called as “tuple”, each column contains value from
same domain and it is called as “attribute”.
• Most of the popular commercial DBMS products like
Oracle, Sybase , MySQL, are based on relational
model.
8/20/2018 21DBMS
• A particular attribute or combination of
attributes is chosen as a primary key that can be
referred to in other tables, when it’s called a
foreign key.
• The model also accounts for the types of
relationships between those tables, including
one-to-one, one-to-many, and many-to-many
relationships.
• Within the database, tables can be normalized
that make the database flexible, adaptable, and
scalable. When normalized, each piece of data is
atomic, or broken into the smallest useful pieces.
8/20/2018 22DBMS
Example of Relational Model
8/20/2018 23DBMS
ADVANTAGES OF RELATIONAL MODEL
1. Relational Algebra
• A relational database supports
relational algebra and also relational
operations of the set theory like
union , intersection ,difference ,
cartisen product , relational database
also support select , project , join
and division operations.
8/20/2018 24DBMS
2. Dynamic Views
• In a RDBMS , a view is not a part of
the physical schema , it is always
dynamic.
3. Structured query language (SQL)
• For data access in RDBMS we have
query language SQL .Most of the
database vendors support the SQL
standards.
8/20/2018 25DBMS
4. Excellent data security
• Relational databases support the
concept of user rights, every user is
assigned with some database
permission called as user rights.
• Relational databases are scalable and
provide good support for the
implementation of distributed systems
and other advanced database
systems.
8/20/2018 26DBMS
8/20/2018 27DBMS
Ad

More Related Content

What's hot (20)

database
databasedatabase
database
Shwetanshu Gupta
 
Data Models
Data ModelsData Models
Data Models
RituBhargava7
 
Relational Database Design
Relational Database DesignRelational Database Design
Relational Database Design
Archit Saxena
 
Object Oriented Database Management System
Object Oriented Database Management SystemObject Oriented Database Management System
Object Oriented Database Management System
Ajay Jha
 
Dimensional Modelling
Dimensional ModellingDimensional Modelling
Dimensional Modelling
Prithwis Mukerjee
 
Relational model
Relational modelRelational model
Relational model
Dabbal Singh Mahara
 
Data models
Data modelsData models
Data models
Usman Tariq
 
Data Base Management System
Data Base Management SystemData Base Management System
Data Base Management System
Dr. C.V. Suresh Babu
 
Types of Database Models
Types of Database ModelsTypes of Database Models
Types of Database Models
Murassa Gillani
 
Data Dictionary
Data DictionaryData Dictionary
Data Dictionary
Vishal Anand
 
Data warehousing
Data warehousingData warehousing
Data warehousing
Shruti Dalela
 
data modeling and models
data modeling and modelsdata modeling and models
data modeling and models
sabah N
 
Introduction to Data Warehouse
Introduction to Data WarehouseIntroduction to Data Warehouse
Introduction to Data Warehouse
SOMASUNDARAM T
 
Files Vs DataBase
Files Vs DataBaseFiles Vs DataBase
Files Vs DataBase
Dr. C.V. Suresh Babu
 
Data base management system
Data base management systemData base management system
Data base management system
Navneet Jingar
 
11 Database Concepts
11 Database Concepts11 Database Concepts
11 Database Concepts
Praveen M Jigajinni
 
Star schema PPT
Star schema PPTStar schema PPT
Star schema PPT
Swati Kulkarni Jaipurkar
 
All data models in dbms
All data models in dbmsAll data models in dbms
All data models in dbms
Naresh Kumar
 
OODM-object oriented data model
OODM-object oriented data modelOODM-object oriented data model
OODM-object oriented data model
AnilPokhrel7
 
Introduction to Database
Introduction to DatabaseIntroduction to Database
Introduction to Database
Siti Ismail
 

Similar to Data models (20)

Database Introduction to Data Models.pptx
Database Introduction to Data Models.pptxDatabase Introduction to Data Models.pptx
Database Introduction to Data Models.pptx
ssuser19199c
 
Data Models.pptx
Data Models.pptxData Models.pptx
Data Models.pptx
MsYTresaCommerce
 
DIFFERENT MODELS IN DBMS.pptx
DIFFERENT MODELS IN DBMS.pptxDIFFERENT MODELS IN DBMS.pptx
DIFFERENT MODELS IN DBMS.pptx
Kavya990096
 
Types of data bases
Types of data basesTypes of data bases
Types of data bases
Janu Jahnavi
 
0001 introduction to database management system
0001 introduction to database management system0001 introduction to database management system
0001 introduction to database management system
Jugdambay S
 
Chapter-2 Database System Concepts and Architecture
Chapter-2 Database System Concepts and ArchitectureChapter-2 Database System Concepts and Architecture
Chapter-2 Database System Concepts and Architecture
Kunal Anand
 
Database management system
Database management systemDatabase management system
Database management system
Amit Sarkar
 
Dbms new manual
Dbms new manualDbms new manual
Dbms new manual
Shaik Karimulla
 
Database Models, Client-Server Architecture, Distributed Database and Classif...
Database Models, Client-Server Architecture, Distributed Database and Classif...Database Models, Client-Server Architecture, Distributed Database and Classif...
Database Models, Client-Server Architecture, Distributed Database and Classif...
Rubal Sagwal
 
Data Models in Database Managment System
Data Models in Database Managment SystemData Models in Database Managment System
Data Models in Database Managment System
tehzeebwzr
 
DBMS-Unit-1.pptx
DBMS-Unit-1.pptxDBMS-Unit-1.pptx
DBMS-Unit-1.pptx
Bhavya304221
 
Mis assignment (database)
Mis assignment (database)Mis assignment (database)
Mis assignment (database)
Muhammad Sultan Bhatti
 
DATA MODEL Power point presentation for dbms
DATA MODEL Power point presentation for dbmsDATA MODEL Power point presentation for dbms
DATA MODEL Power point presentation for dbms
AshokRachapalli1
 
BCS403_dyeuhfgidgujoiduhyopyirhyiuertfuiPPT.pdf
BCS403_dyeuhfgidgujoiduhyopyirhyiuertfuiPPT.pdfBCS403_dyeuhfgidgujoiduhyopyirhyiuertfuiPPT.pdf
BCS403_dyeuhfgidgujoiduhyopyirhyiuertfuiPPT.pdf
NaveenGRaju
 
Database management system introduction.pptx
Database management system introduction.pptxDatabase management system introduction.pptx
Database management system introduction.pptx
ధావన్ కుమార్
 
RELATIONAL MODEL OF DATABASES AND OTHER CONCEPTS OF DATABASES​
RELATIONAL MODEL OF DATABASES AND OTHER CONCEPTS OF DATABASES​RELATIONAL MODEL OF DATABASES AND OTHER CONCEPTS OF DATABASES​
RELATIONAL MODEL OF DATABASES AND OTHER CONCEPTS OF DATABASES​
EdwinJacob5
 
Type of Database Management System
Type of Database Management SystemType of Database Management System
Type of Database Management System
Param Radadiya
 
database management system approach .pptx
database management system approach .pptxdatabase management system approach .pptx
database management system approach .pptx
ధావన్ కుమార్
 
Module 1 - Chapter 2.pptx
Module 1 - Chapter 2.pptxModule 1 - Chapter 2.pptx
Module 1 - Chapter 2.pptx
SoniaDevi15
 
DBMS(Network_Data_Model).pptx
DBMS(Network_Data_Model).pptxDBMS(Network_Data_Model).pptx
DBMS(Network_Data_Model).pptx
AmitSingh770691
 
Database Introduction to Data Models.pptx
Database Introduction to Data Models.pptxDatabase Introduction to Data Models.pptx
Database Introduction to Data Models.pptx
ssuser19199c
 
DIFFERENT MODELS IN DBMS.pptx
DIFFERENT MODELS IN DBMS.pptxDIFFERENT MODELS IN DBMS.pptx
DIFFERENT MODELS IN DBMS.pptx
Kavya990096
 
Types of data bases
Types of data basesTypes of data bases
Types of data bases
Janu Jahnavi
 
0001 introduction to database management system
0001 introduction to database management system0001 introduction to database management system
0001 introduction to database management system
Jugdambay S
 
Chapter-2 Database System Concepts and Architecture
Chapter-2 Database System Concepts and ArchitectureChapter-2 Database System Concepts and Architecture
Chapter-2 Database System Concepts and Architecture
Kunal Anand
 
Database management system
Database management systemDatabase management system
Database management system
Amit Sarkar
 
Database Models, Client-Server Architecture, Distributed Database and Classif...
Database Models, Client-Server Architecture, Distributed Database and Classif...Database Models, Client-Server Architecture, Distributed Database and Classif...
Database Models, Client-Server Architecture, Distributed Database and Classif...
Rubal Sagwal
 
Data Models in Database Managment System
Data Models in Database Managment SystemData Models in Database Managment System
Data Models in Database Managment System
tehzeebwzr
 
DATA MODEL Power point presentation for dbms
DATA MODEL Power point presentation for dbmsDATA MODEL Power point presentation for dbms
DATA MODEL Power point presentation for dbms
AshokRachapalli1
 
BCS403_dyeuhfgidgujoiduhyopyirhyiuertfuiPPT.pdf
BCS403_dyeuhfgidgujoiduhyopyirhyiuertfuiPPT.pdfBCS403_dyeuhfgidgujoiduhyopyirhyiuertfuiPPT.pdf
BCS403_dyeuhfgidgujoiduhyopyirhyiuertfuiPPT.pdf
NaveenGRaju
 
RELATIONAL MODEL OF DATABASES AND OTHER CONCEPTS OF DATABASES​
RELATIONAL MODEL OF DATABASES AND OTHER CONCEPTS OF DATABASES​RELATIONAL MODEL OF DATABASES AND OTHER CONCEPTS OF DATABASES​
RELATIONAL MODEL OF DATABASES AND OTHER CONCEPTS OF DATABASES​
EdwinJacob5
 
Type of Database Management System
Type of Database Management SystemType of Database Management System
Type of Database Management System
Param Radadiya
 
Module 1 - Chapter 2.pptx
Module 1 - Chapter 2.pptxModule 1 - Chapter 2.pptx
Module 1 - Chapter 2.pptx
SoniaDevi15
 
DBMS(Network_Data_Model).pptx
DBMS(Network_Data_Model).pptxDBMS(Network_Data_Model).pptx
DBMS(Network_Data_Model).pptx
AmitSingh770691
 
Ad

More from RituBhargava7 (8)

Client server architecture
Client server architectureClient server architecture
Client server architecture
RituBhargava7
 
Bigdata the technological renaissance
Bigdata the technological renaissanceBigdata the technological renaissance
Bigdata the technological renaissance
RituBhargava7
 
File organization
File organizationFile organization
File organization
RituBhargava7
 
Database abstraction
Database abstractionDatabase abstraction
Database abstraction
RituBhargava7
 
Open Source Concepts
Open Source ConceptsOpen Source Concepts
Open Source Concepts
RituBhargava7
 
Role of a DBA
Role of a DBARole of a DBA
Role of a DBA
RituBhargava7
 
File systems versus a dbms
File systems versus a dbmsFile systems versus a dbms
File systems versus a dbms
RituBhargava7
 
Database tachnologies
Database tachnologiesDatabase tachnologies
Database tachnologies
RituBhargava7
 
Client server architecture
Client server architectureClient server architecture
Client server architecture
RituBhargava7
 
Bigdata the technological renaissance
Bigdata the technological renaissanceBigdata the technological renaissance
Bigdata the technological renaissance
RituBhargava7
 
Database abstraction
Database abstractionDatabase abstraction
Database abstraction
RituBhargava7
 
Open Source Concepts
Open Source ConceptsOpen Source Concepts
Open Source Concepts
RituBhargava7
 
File systems versus a dbms
File systems versus a dbmsFile systems versus a dbms
File systems versus a dbms
RituBhargava7
 
Database tachnologies
Database tachnologiesDatabase tachnologies
Database tachnologies
RituBhargava7
 
Ad

Recently uploaded (20)

five-year-soluhhhhhhhhhhhhhhhhhtions.pdf
five-year-soluhhhhhhhhhhhhhhhhhtions.pdffive-year-soluhhhhhhhhhhhhhhhhhtions.pdf
five-year-soluhhhhhhhhhhhhhhhhhtions.pdf
AdityaSharma944496
 
Introduction to Zoomlion Earthmoving.pptx
Introduction to Zoomlion Earthmoving.pptxIntroduction to Zoomlion Earthmoving.pptx
Introduction to Zoomlion Earthmoving.pptx
AS1920
 
DATA-DRIVEN SHOULDER INVERSE KINEMATICS YoungBeom Kim1 , Byung-Ha Park1 , Kwa...
DATA-DRIVEN SHOULDER INVERSE KINEMATICS YoungBeom Kim1 , Byung-Ha Park1 , Kwa...DATA-DRIVEN SHOULDER INVERSE KINEMATICS YoungBeom Kim1 , Byung-Ha Park1 , Kwa...
DATA-DRIVEN SHOULDER INVERSE KINEMATICS YoungBeom Kim1 , Byung-Ha Park1 , Kwa...
charlesdick1345
 
ADVXAI IN MALWARE ANALYSIS FRAMEWORK: BALANCING EXPLAINABILITY WITH SECURITY
ADVXAI IN MALWARE ANALYSIS FRAMEWORK: BALANCING EXPLAINABILITY WITH SECURITYADVXAI IN MALWARE ANALYSIS FRAMEWORK: BALANCING EXPLAINABILITY WITH SECURITY
ADVXAI IN MALWARE ANALYSIS FRAMEWORK: BALANCING EXPLAINABILITY WITH SECURITY
ijscai
 
Development of MLR, ANN and ANFIS Models for Estimation of PCUs at Different ...
Development of MLR, ANN and ANFIS Models for Estimation of PCUs at Different ...Development of MLR, ANN and ANFIS Models for Estimation of PCUs at Different ...
Development of MLR, ANN and ANFIS Models for Estimation of PCUs at Different ...
Journal of Soft Computing in Civil Engineering
 
211421893-M-Tech-CIVIL-Structural-Engineering-pdf.pdf
211421893-M-Tech-CIVIL-Structural-Engineering-pdf.pdf211421893-M-Tech-CIVIL-Structural-Engineering-pdf.pdf
211421893-M-Tech-CIVIL-Structural-Engineering-pdf.pdf
inmishra17121973
 
Explainable-Artificial-Intelligence-XAI-A-Deep-Dive (1).pptx
Explainable-Artificial-Intelligence-XAI-A-Deep-Dive (1).pptxExplainable-Artificial-Intelligence-XAI-A-Deep-Dive (1).pptx
Explainable-Artificial-Intelligence-XAI-A-Deep-Dive (1).pptx
MahaveerVPandit
 
Data Structures_Searching and Sorting.pptx
Data Structures_Searching and Sorting.pptxData Structures_Searching and Sorting.pptx
Data Structures_Searching and Sorting.pptx
RushaliDeshmukh2
 
MAQUINARIA MINAS CEMA 6th Edition (1).pdf
MAQUINARIA MINAS CEMA 6th Edition (1).pdfMAQUINARIA MINAS CEMA 6th Edition (1).pdf
MAQUINARIA MINAS CEMA 6th Edition (1).pdf
ssuser562df4
 
Metal alkyne complexes.pptx in chemistry
Metal alkyne complexes.pptx in chemistryMetal alkyne complexes.pptx in chemistry
Metal alkyne complexes.pptx in chemistry
mee23nu
 
ELectronics Boards & Product Testing_Shiju.pdf
ELectronics Boards & Product Testing_Shiju.pdfELectronics Boards & Product Testing_Shiju.pdf
ELectronics Boards & Product Testing_Shiju.pdf
Shiju Jacob
 
15th International Conference on Computer Science, Engineering and Applicatio...
15th International Conference on Computer Science, Engineering and Applicatio...15th International Conference on Computer Science, Engineering and Applicatio...
15th International Conference on Computer Science, Engineering and Applicatio...
IJCSES Journal
 
Avnet Silica's PCIM 2025 Highlights Flyer
Avnet Silica's PCIM 2025 Highlights FlyerAvnet Silica's PCIM 2025 Highlights Flyer
Avnet Silica's PCIM 2025 Highlights Flyer
WillDavies22
 
Value Stream Mapping Worskshops for Intelligent Continuous Security
Value Stream Mapping Worskshops for Intelligent Continuous SecurityValue Stream Mapping Worskshops for Intelligent Continuous Security
Value Stream Mapping Worskshops for Intelligent Continuous Security
Marc Hornbeek
 
π0.5: a Vision-Language-Action Model with Open-World Generalization
π0.5: a Vision-Language-Action Model with Open-World Generalizationπ0.5: a Vision-Language-Action Model with Open-World Generalization
π0.5: a Vision-Language-Action Model with Open-World Generalization
NABLAS株式会社
 
Oil-gas_Unconventional oil and gass_reseviours.pdf
Oil-gas_Unconventional oil and gass_reseviours.pdfOil-gas_Unconventional oil and gass_reseviours.pdf
Oil-gas_Unconventional oil and gass_reseviours.pdf
M7md3li2
 
Compiler Design Unit1 PPT Phases of Compiler.pptx
Compiler Design Unit1 PPT Phases of Compiler.pptxCompiler Design Unit1 PPT Phases of Compiler.pptx
Compiler Design Unit1 PPT Phases of Compiler.pptx
RushaliDeshmukh2
 
Level 1-Safety.pptx Presentation of Electrical Safety
Level 1-Safety.pptx Presentation of Electrical SafetyLevel 1-Safety.pptx Presentation of Electrical Safety
Level 1-Safety.pptx Presentation of Electrical Safety
JoseAlbertoCariasDel
 
RICS Membership-(The Royal Institution of Chartered Surveyors).pdf
RICS Membership-(The Royal Institution of Chartered Surveyors).pdfRICS Membership-(The Royal Institution of Chartered Surveyors).pdf
RICS Membership-(The Royal Institution of Chartered Surveyors).pdf
MohamedAbdelkader115
 
Artificial Intelligence (AI) basics.pptx
Artificial Intelligence (AI) basics.pptxArtificial Intelligence (AI) basics.pptx
Artificial Intelligence (AI) basics.pptx
aditichinar
 
five-year-soluhhhhhhhhhhhhhhhhhtions.pdf
five-year-soluhhhhhhhhhhhhhhhhhtions.pdffive-year-soluhhhhhhhhhhhhhhhhhtions.pdf
five-year-soluhhhhhhhhhhhhhhhhhtions.pdf
AdityaSharma944496
 
Introduction to Zoomlion Earthmoving.pptx
Introduction to Zoomlion Earthmoving.pptxIntroduction to Zoomlion Earthmoving.pptx
Introduction to Zoomlion Earthmoving.pptx
AS1920
 
DATA-DRIVEN SHOULDER INVERSE KINEMATICS YoungBeom Kim1 , Byung-Ha Park1 , Kwa...
DATA-DRIVEN SHOULDER INVERSE KINEMATICS YoungBeom Kim1 , Byung-Ha Park1 , Kwa...DATA-DRIVEN SHOULDER INVERSE KINEMATICS YoungBeom Kim1 , Byung-Ha Park1 , Kwa...
DATA-DRIVEN SHOULDER INVERSE KINEMATICS YoungBeom Kim1 , Byung-Ha Park1 , Kwa...
charlesdick1345
 
ADVXAI IN MALWARE ANALYSIS FRAMEWORK: BALANCING EXPLAINABILITY WITH SECURITY
ADVXAI IN MALWARE ANALYSIS FRAMEWORK: BALANCING EXPLAINABILITY WITH SECURITYADVXAI IN MALWARE ANALYSIS FRAMEWORK: BALANCING EXPLAINABILITY WITH SECURITY
ADVXAI IN MALWARE ANALYSIS FRAMEWORK: BALANCING EXPLAINABILITY WITH SECURITY
ijscai
 
211421893-M-Tech-CIVIL-Structural-Engineering-pdf.pdf
211421893-M-Tech-CIVIL-Structural-Engineering-pdf.pdf211421893-M-Tech-CIVIL-Structural-Engineering-pdf.pdf
211421893-M-Tech-CIVIL-Structural-Engineering-pdf.pdf
inmishra17121973
 
Explainable-Artificial-Intelligence-XAI-A-Deep-Dive (1).pptx
Explainable-Artificial-Intelligence-XAI-A-Deep-Dive (1).pptxExplainable-Artificial-Intelligence-XAI-A-Deep-Dive (1).pptx
Explainable-Artificial-Intelligence-XAI-A-Deep-Dive (1).pptx
MahaveerVPandit
 
Data Structures_Searching and Sorting.pptx
Data Structures_Searching and Sorting.pptxData Structures_Searching and Sorting.pptx
Data Structures_Searching and Sorting.pptx
RushaliDeshmukh2
 
MAQUINARIA MINAS CEMA 6th Edition (1).pdf
MAQUINARIA MINAS CEMA 6th Edition (1).pdfMAQUINARIA MINAS CEMA 6th Edition (1).pdf
MAQUINARIA MINAS CEMA 6th Edition (1).pdf
ssuser562df4
 
Metal alkyne complexes.pptx in chemistry
Metal alkyne complexes.pptx in chemistryMetal alkyne complexes.pptx in chemistry
Metal alkyne complexes.pptx in chemistry
mee23nu
 
ELectronics Boards & Product Testing_Shiju.pdf
ELectronics Boards & Product Testing_Shiju.pdfELectronics Boards & Product Testing_Shiju.pdf
ELectronics Boards & Product Testing_Shiju.pdf
Shiju Jacob
 
15th International Conference on Computer Science, Engineering and Applicatio...
15th International Conference on Computer Science, Engineering and Applicatio...15th International Conference on Computer Science, Engineering and Applicatio...
15th International Conference on Computer Science, Engineering and Applicatio...
IJCSES Journal
 
Avnet Silica's PCIM 2025 Highlights Flyer
Avnet Silica's PCIM 2025 Highlights FlyerAvnet Silica's PCIM 2025 Highlights Flyer
Avnet Silica's PCIM 2025 Highlights Flyer
WillDavies22
 
Value Stream Mapping Worskshops for Intelligent Continuous Security
Value Stream Mapping Worskshops for Intelligent Continuous SecurityValue Stream Mapping Worskshops for Intelligent Continuous Security
Value Stream Mapping Worskshops for Intelligent Continuous Security
Marc Hornbeek
 
π0.5: a Vision-Language-Action Model with Open-World Generalization
π0.5: a Vision-Language-Action Model with Open-World Generalizationπ0.5: a Vision-Language-Action Model with Open-World Generalization
π0.5: a Vision-Language-Action Model with Open-World Generalization
NABLAS株式会社
 
Oil-gas_Unconventional oil and gass_reseviours.pdf
Oil-gas_Unconventional oil and gass_reseviours.pdfOil-gas_Unconventional oil and gass_reseviours.pdf
Oil-gas_Unconventional oil and gass_reseviours.pdf
M7md3li2
 
Compiler Design Unit1 PPT Phases of Compiler.pptx
Compiler Design Unit1 PPT Phases of Compiler.pptxCompiler Design Unit1 PPT Phases of Compiler.pptx
Compiler Design Unit1 PPT Phases of Compiler.pptx
RushaliDeshmukh2
 
Level 1-Safety.pptx Presentation of Electrical Safety
Level 1-Safety.pptx Presentation of Electrical SafetyLevel 1-Safety.pptx Presentation of Electrical Safety
Level 1-Safety.pptx Presentation of Electrical Safety
JoseAlbertoCariasDel
 
RICS Membership-(The Royal Institution of Chartered Surveyors).pdf
RICS Membership-(The Royal Institution of Chartered Surveyors).pdfRICS Membership-(The Royal Institution of Chartered Surveyors).pdf
RICS Membership-(The Royal Institution of Chartered Surveyors).pdf
MohamedAbdelkader115
 
Artificial Intelligence (AI) basics.pptx
Artificial Intelligence (AI) basics.pptxArtificial Intelligence (AI) basics.pptx
Artificial Intelligence (AI) basics.pptx
aditichinar
 

Data models

  • 1. )
  • 2. DATA MODELS INTRODUCTION • A Data Model is a set of concepts that can be used to describe the structure of data in a database. • A database model shows the logical structure of a database, including the relationships and constraints that determine how data can be stored and accessed. • Data Models are used to support the development of information systems by providing the definition and format of data to be involved in future systems. • Data model also gives idea about possible alternatives to achieve targeted solution. 8/20/2018 2DBMS
  • 3. Types of Data Models • Hierarchical Model • Network Model • Relational Model 8/20/2018 3DBMS
  • 4. Hierarchical Model • This model is developed by IBM and North American Rockwell Known as Information Management System. • This is the oldest and simplest DBMS model. • The model is sorted hierarchical ,either in top down or bottom up approach of designing. • This model uses pointers to navigate between stored data. 8/20/2018 4DBMS
  • 5. Example of Hierarchical Model 8/20/2018 5DBMS
  • 6. Business Rule • One parent node can have many child nodes ,but one child cannot have more than one parent. • Relationship is one to many. 8/20/2018 6DBMS
  • 7. Advantages of Hierarchical Model 1. Conceptual simplicity • Relationship between various level is logically very simple. Hence database structure becomes easier to view. 2. Database Security • Security is given by DBMS system itself. 8/20/2018 7DBMS
  • 8. 3. Simple creation ,Updation and Access • This model is simple to construct with help of pointers . • Easy to understand . • Easy to delete and add records in the database using pointers . • This is faster and easy data retrival through higher level records in tree structure. 8/20/2018 8DBMS
  • 9. 4. Database Integrity • There is parent child association between different levels of records in files. • Child record is attached with the parent record which maintains the integrity 8/20/2018 9DBMS
  • 10. 5. Efficiency • This model having good performance when database contains large amount of data in which one record has many related records like a class contains many students studying in it. 8/20/2018 10DBMS
  • 11. Disadvantages of Hierarchical Model 1. Complex Implementation • Programmers and designers need to have knowledge of physical data storage which may be complex. 2. Difficult to manage • Any change in a location of data needs change in all application programs that accesses changes data. • Data access is restricted by pointer path. 8/20/2018 11DBMS
  • 12. 3. Limitations in implementation • It is difficult to implement many to many relationship. • Query optimization is not possible or possible up to certain extent. 8/20/2018 12DBMS
  • 13. Network Model • This model is similar to Hierarchical model, this model also uses pointers toward data but there is no need of parent to child association . • It uses graph data structure. • A child can have more than one parent. • It has one to many or many to many relationship. 8/20/2018 13DBMS
  • 14. • A relationship between any two record types is called as a set. • Data in network model are represented by collection of records and relationships among data are represented by links, which can be viewed as pointers. • The records in the database are organized as collection of arbitrary groups. 8/20/2018 14DBMS
  • 15. Example of Network Model 8/20/2018 15DBMS
  • 16. Advantages of Network Model 1. Simple design • The network model is simple and easy to design and understand. 2. Ability to handle many types of relationship • The network model can handle the one to many or many to many or other relationships. • Hence network model manages multiuser environment. 8/20/2018 16DBMS
  • 17. 3. Ease of data access • In a network model, an application can access a root(parent) record and all the member records within a SET (child). • Provide very efficient and high speed retrieval. 4. Data Integrity • In a network model, no member can exist without a parent entity. • A user must first define the root record and then the child record. 8/20/2018 17DBMS
  • 18. 5. Data Independence • In network model, application programs work independently of the data. • Any changes made in the data do not affect the application programs. • In a network model ,administrators offer data creation by DDL and DML. 8/20/2018 18DBMS
  • 19. Disadvantages of Network Model 1. System Complexity • In a network model ,data are accessed one record at a time. • This can increase the complexity of system for accessing multiple records at a time. 2. Lack of structural independence • Any changes made to the database structure require the application programs to be modified before it can access data. 8/20/2018 19DBMS
  • 20. Relational Model • The Relational Model is first proposed by E.F Codd. • This model uses collection of tables to represent relationships amongst the data. • In this model ,each database item is viewed as a record with attributes. A set of records with similar attributes is called a TABLE. Each table contains a record of a particular type. • The database uses Relational model called as RDBMS . • A Relational database is a collection of 2-D tables which consist of rows and columns. 8/20/2018 20DBMS
  • 21. • Relational model is the most popular model and the most extensively used model. • In this model the data can be stored in the “tables” and this storing is called as “relation”, the relations can be normalized and the normalized relation values are called atomic values. • Each row in a relation contains unique value and it is called as “tuple”, each column contains value from same domain and it is called as “attribute”. • Most of the popular commercial DBMS products like Oracle, Sybase , MySQL, are based on relational model. 8/20/2018 21DBMS
  • 22. • A particular attribute or combination of attributes is chosen as a primary key that can be referred to in other tables, when it’s called a foreign key. • The model also accounts for the types of relationships between those tables, including one-to-one, one-to-many, and many-to-many relationships. • Within the database, tables can be normalized that make the database flexible, adaptable, and scalable. When normalized, each piece of data is atomic, or broken into the smallest useful pieces. 8/20/2018 22DBMS
  • 23. Example of Relational Model 8/20/2018 23DBMS
  • 24. ADVANTAGES OF RELATIONAL MODEL 1. Relational Algebra • A relational database supports relational algebra and also relational operations of the set theory like union , intersection ,difference , cartisen product , relational database also support select , project , join and division operations. 8/20/2018 24DBMS
  • 25. 2. Dynamic Views • In a RDBMS , a view is not a part of the physical schema , it is always dynamic. 3. Structured query language (SQL) • For data access in RDBMS we have query language SQL .Most of the database vendors support the SQL standards. 8/20/2018 25DBMS
  • 26. 4. Excellent data security • Relational databases support the concept of user rights, every user is assigned with some database permission called as user rights. • Relational databases are scalable and provide good support for the implementation of distributed systems and other advanced database systems. 8/20/2018 26DBMS