SlideShare a Scribd company logo
DIFFERENT MODELS IN
DBMS
BY
PEPITHASRI S
INTRODUCTION:
 DBMS Model is defined as the logical plan and arrangement of a database which
describes how the data info will be stored, retrieved and modified in a database
management system.
 This DBMS Model illustrates the coherent structure of a database server that consists
of the relationships and limitations which helps to regulate how data information can be
preserved and fetched later.
 Database models can be independently designed on the basis of guidelines and ideas of
whichever larger data model the creators approve.
 There are different kinds of DBMS Models which matches to different phases of the
database design procedure.
DIFFERENT DBMS MODELS
 Relational Model
 Network Model
 Hierarchical Model
 Object-Oriented Database Model
 Object Relational Model (It syndicates the two which create up its
name)
 Entity-Relationship Model
 Record Based DBMS Model
 Document Database Model
Relational Model
 The relational model represents DB in the form of a collection of various relations. This relation
refers to a table of various values. And every row present in the table happens to denote some real-
world entities or relationships.
 It also represents how data is stored in Relational Databases. A relational database consists of a
collection of tables, each of which is assigned a unique name..
 Thus, in the relational model, basically, this data is stored in the form of tables. However, this
data’s physical storage is independent of its logical organisation.
 This model generates one to one, many to many and one to many relationships. The tables can be
normalized within the database by following certain rules where every piece of data is broken into
small or, say, nuclear pieces, which are beneficial.
Properties of a Relational Model
• Every row is unique
• All of the values present in a column hold the same data
type
• Values are atomic
• The columns sequence is not significant
• The rows sequence is not significant
• The name of every column is unique
Advantages
• Simplicity and Ease of Use: The relational model offers a simple and intuitive way to
organize and represent data. It uses tables with rows and columns, making it easy for
users to understand and work with the data.
• Data Independence: The relational model provides data independence, separating the
logical structure of the data (schema) from its physical storage. This allows for
flexibility in modifying the database schema without affecting the applications or
queries built on top of it.
• Flexibility and Scalability: The relational model offers great flexibility in querying and
manipulating data. It supports powerful query languages, such as SQL (Structured
Query Language), which provide rich functionalities for retrieving, updating, and
aggregating data. Additionally, relational databases can handle large amounts of data
and scale well as data volumes increase.
• Data Integrity and Consistency: The relational model enforces data integrity through
various constraints, such as primary keys, foreign keys, and unique constraints. These
constraints ensure the consistency and accuracy of data, preventing the introduction of
inconsistent or invalid records.
Disadvantages
• Complex Joins and Performance: When dealing with complex data relationships,
performing joins between multiple tables can become complex and computationally
expensive. Inefficient query design or lack of appropriate indexes can result in
performance issues.
• Data Redundancy: In some cases, the relational model can lead to data redundancy,
meaning the same data is stored in multiple tables. Redundancy can consume
additional storage space and increase the complexity of maintaining data consistency.
• Limited Flexibility for Unstructured Data: The relational model is primarily
designed for structured data with well-defined schemas. Handling unstructured or
semi-structured data, such as text documents or multimedia files, can be challenging
within the relational model. This has led to the rise of other database models, like
NoSQL and document databases, that better accommodate such data types.
• Impedance Mismatch: The relational model and object-oriented programming
languages often have a mismatch in their data models. Mapping objects to relational
tables (object-relational mapping) can introduce complexities and difficulties in
maintaining consistency between the two models.
ID_NO NAME ADDRESS ROLL_NO AGE
C1 RIYA DELHI 15 20
C2 SUNITA GURGAON 16 22
C3 ASHWANI ROHTAK 12 18
C4 PREETI DELHI 17 25
Now, let us consider a relation EMPLOYEE with attributes ID_NO, NAME, ADDRESS, ROLL_NO, and
AGE shown in this table
Network Model
• The network model is a database model that organizes data in a network-like
structure, allowing records to have multiple parent-child relationships. It was
developed as an extension of the hierarchical model to address its limitations.
• In the network model, data is represented as collections of records, and the
relationships between records are established using set relationships called sets.
• A set consists of a parent record type, a member record type, and a set type. The
set type defines the nature of the relationship, such as one-to-one, one-to-many,
or many-to-many.
key features of the network model:
• Records: Data is stored in records, which are similar to the concept of rows in the
relational model. Each record contains fields or attributes that hold specific data values.
• Sets: Sets are used to define relationships between records. A set allows a member record
to be linked to one or more parent records. This capability enables complex relationships
and allows records to have multiple paths to access related data.
• Parent-Child Relationships: In the network model, records are organized in parent-
child relationships. A parent record can have multiple child records, and a child record
can have multiple parent records.
• Access Paths: The network model provides multiple access paths to navigate through the
data. Each set in the network model is associated with a specific access path, allowing
efficient retrieval of related records.
• Data Integrity: The network model supports data integrity through the use of
constraints, such as mandatory relationships, cardinality constraints, and referential
integrity.
Advantages
• Flexibility in Data Relationships: The network model offers greater flexibility in
representing complex data relationships compared to the hierarchical model. It
allows for many-to-many relationships between records, enabling more diverse and
intricate connections between data elements.
• Efficient Data Access: The network model provides efficient data access by
allowing direct access to related records without the need for navigating through the
entire hierarchical structure. It utilizes set-based operations and pointers, which can
result in faster data retrieval.
• Data Integrity: Similar to the hierarchical model, the network model enforces data
integrity through referential integrity constraints. It ensures that each record has
valid connections to other related records, maintaining data consistency.
• Data Sharing and Integration: The network model supports data sharing and
integration between different applications or database systems. Records in the
network model can have multiple owners or users, enabling shared access to data
and facilitating collaboration.
Disadvantages
• Complexity and Learning Curve: The network model has a higher level of complexity
compared to the hierarchical and relational models. Understanding and designing a network
database can be challenging, requiring a deeper understanding of data relationships and
navigating through the network structure.
• Lack of Structural Independence: Unlike the relational model, the network model lacks
structural independence. Modifying the database schema often requires changes to the entire
network structure, which can be cumbersome and may impact existing applications and
data.
• Limited Scalability: The network model can face limitations in terms of scalability,
especially when dealing with large and evolving data structures. Adding or modifying data
relationships may require significant restructuring of the entire network, making it less
flexible and less suitable for rapidly changing data requirements.
• Data Redundancy and Complexity: The network model can suffer from data redundancy
when multiple relationships are defined between records. This redundancy can result in
increased storage requirements and complexity in maintaining data consistency and
integrity.
Hierarchical Model
In this model, data records are arranged into a tree-like organization,
where every record includes only a root or a parent.
The sibling records are arranged in specific in a distinct order which
is then implemented as the physical order for storing the database.
For explaining several real-world relationships, this type of model is
useful.
In the ’60s and ’70s, this model was normally implemented by
IBM’s Information Management Systems. However, due to few
functioning disorganizations, they are infrequently seen currently.
1. Data Structure: Data is organized in a hierarchical structure, resembling a tree.
Each record is connected to one or more parent records and may have multiple child
records. The relationships are represented as one-to-many relationships, where each
parent can have multiple children, but each child has only one parent.
2. Parent-Child Relationships: The hierarchical model uses parent-child
relationships to represent the organization and structure of data. A parent record is
called a segment, and a child record is called a subordinate segment. The segments are
connected through pointers or links.
3. Access Paths: The hierarchical model provides predefined access paths that allow
efficient navigation through the data structure. The access paths follow the hierarchical
relationships, enabling easy traversal from parent records to child records.
Features of the Hierarchical Model model
4. Data Integrity: The hierarchical model enforces data integrity through
hierarchical relationships. It ensures that each child record must have a valid
parent record and maintains referential integrity within the structure.
5. Rigidity: The hierarchical model has a rigid and inflexible structure since it
relies on predefined parent-child relationships. Any changes to the structure
require modifying the database schema and potentially impacting existing
data and applications.
6. Querying: Querying in the hierarchical model typically involves traversing
the hierarchy using predefined access paths.
Query languages specific to the hierarchical model, such as IMS DL/I (Data
Language/I), were used to retrieve data based on the hierarchical structure
Advantages
• Simplicity: The hierarchical model is relatively simple to understand and
implement. It follows a straightforward parent-child relationship structure, which
makes it easy to visualize and navigate the data.
• Efficient Data Retrieval: The hierarchical model provides efficient data
retrieval when accessing data in a top-down manner. Traversing the hierarchical
structure using predefined access paths allows for quick and direct access to
related records.
• Data Integrity: The hierarchical model enforces data integrity through
hierarchical relationships. Each child record must have a valid parent record,
ensuring the consistency and integrity of the data.
• Performance: The hierarchical model can offer excellent performance for
certain types of data access patterns. It is particularly efficient when the access
patterns align with the hierarchical structure, such as when retrieving all child
records of a specific parent.
Disadvantages
Lack of Flexibility: The hierarchical model has limited flexibility and is less adaptable to
changes in the data structure. Any modifications to the structure, such as adding or
rearranging records, require altering the database schema and potentially impacting existing
data and applications.
Complex Relationships: The hierarchical model struggles with representing complex
relationships that do not fit neatly into a strict parent-child hierarchy. Many-to-many
relationships or non-hierarchical relationships are challenging to represent effectively within
the hierarchical model.
Data Redundancy: In the hierarchical model, data redundancy can occur when multiple
child records need to refer to the same parent record. This redundancy can lead to data
inconsistency and increased storage requirements.
The Object-Oriented (OO) Model
• The hierarchical model is a database model that organizes data in a tree-like
structure with parent-child relationships. It was one of the earliest database
models, primarily used in early mainframe database systems like IBM's
Information Management System (IMS).
In the hierarchical model:
• Data Structure: Data is organized in a hierarchical structure, resembling a tree.
Each record is connected to one or more parent records and may have multiple
child records. The relationships are represented as one-to-many relationships,
where each parent can have multiple children, but each child has only one parent.
• Parent-Child Relationships: The hierarchical model uses parent-child
relationships to represent the organization and structure of data. A parent record is
called a segment, and a child record is called a subordinate segment. The segments
are connected through pointers or links.
• Access Paths: The hierarchical model provides predefined access paths that allow
efficient navigation through the data structure. The access paths follow the
hierarchical relationships, enabling easy traversal from parent records to child
records.
• Data Integrity: The hierarchical model enforces data integrity through
hierarchical relationships. It ensures that each child record must have a valid
parent record and maintains referential integrity within the structure.
• Rigidity: The hierarchical model has a rigid and inflexible structure since it relies
on predefined parent-child relationships. Any changes to the structure require
modifying the database schema and potentially impacting existing data and
applications.
• Querying: Querying in the hierarchical model typically involves traversing the
hierarchy using predefined access paths. Query languages specific to the
hierarchical model, such as IMS DL/I (Data Language/I), were used to retrieve
data based on the hierarchical structure
Advantages
• Modularity and Code Reusability: The OO model promotes modularity by
encapsulating data and behavior within objects. This modularity allows for code
reusability, as objects and classes can be easily reused in different parts of an
application or in different applications altogether.
• Data Abstraction and Encapsulation: The OO model provides data abstraction,
allowing complex data structures to be represented as objects with well-defined
interfaces. Encapsulation ensures that the internal details of objects are hidden,
protecting the integrity of data and providing a clear separation between the
implementation and usage of objects.
• Inheritance and Polymorphism: The OO model supports inheritance, allowing
classes to inherit attributes and methods from parent classes. Inheritance promotes
code reuse, enhances modularity, and enables the creation of hierarchical
relationships. Polymorphism, another feature of the OO model, allows objects of
different classes to be treated uniformly through common interfaces, enabling
flexible and extensible designs.
Disadvantages
• Performance Overhead: The object-oriented model can introduce performance
overhead compared to more low-level or procedural approaches. The abstraction
and encapsulation layers add an extra level of indirection, which can impact
performance-critical applications.
• Complexity: Object-oriented programming can sometimes lead to complex code
structures, especially when the system becomes large or when the relationships
between objects become intricate. Maintaining a clear and understandable design
becomes crucial to avoid confusion and maintain code quality.
• Learning Curve: Understanding and effectively applying the principles of the OO
model can have a steeper learning curve compared to procedural programming.
Object-oriented concepts, such as inheritance, polymorphism, and design patterns,
require additional knowledge and experience to be used effectively.
THANK YOU

More Related Content

What's hot

Dbms database models
Dbms database modelsDbms database models
Dbms database models
sanjeev kumar suman
 
Lecture 01 introduction to database
Lecture 01 introduction to databaseLecture 01 introduction to database
Lecture 01 introduction to database
emailharmeet
 
All data models in dbms
All data models in dbmsAll data models in dbms
All data models in dbms
Naresh Kumar
 
Entity Relationship Diagram
Entity Relationship DiagramEntity Relationship Diagram
Entity Relationship Diagram
Rakhi Mukherji
 
Rdbms
RdbmsRdbms
Distributed database
Distributed databaseDistributed database
Distributed database
ReachLocal Services India
 
Data models
Data modelsData models
Data models
Dhani Ahmad
 
Databases: Normalisation
Databases: NormalisationDatabases: Normalisation
Databases: Normalisation
Damian T. Gordon
 
Database Presentation
Database PresentationDatabase Presentation
Database Presentation
a9oolq8
 
Using T-SQL
Using T-SQL Using T-SQL
Using T-SQL
Antonios Chatzipavlis
 
Database architecture
Database architectureDatabase architecture
Database architecture
VENNILAV6
 
Relational Database Design
Relational Database DesignRelational Database Design
Relational Database Design
Archit Saxena
 
Relational databases.pdf
Relational databases.pdfRelational databases.pdf
Relational databases.pdf
chandiruirene
 
Dbms classification according to data models
Dbms classification according to data modelsDbms classification according to data models
Dbms classification according to data models
ABDUL KHALIQ
 
Dbms architecture
Dbms architectureDbms architecture
Dbms architecture
Shubham Dwivedi
 
Normalization of Data Base
Normalization of Data BaseNormalization of Data Base
Normalization of Data Base
Ravinder Kamboj
 
File organisation
File organisationFile organisation
File organisation
Mukund Trivedi
 
Basic DBMS ppt
Basic DBMS pptBasic DBMS ppt
Basic DBMS ppt
dangwalrajendra888
 
Introduction to Database
Introduction to DatabaseIntroduction to Database
Introduction to Database
Siti Ismail
 
Database administrator
Database administratorDatabase administrator
Database administrator
Tech_MX
 

What's hot (20)

Dbms database models
Dbms database modelsDbms database models
Dbms database models
 
Lecture 01 introduction to database
Lecture 01 introduction to databaseLecture 01 introduction to database
Lecture 01 introduction to database
 
All data models in dbms
All data models in dbmsAll data models in dbms
All data models in dbms
 
Entity Relationship Diagram
Entity Relationship DiagramEntity Relationship Diagram
Entity Relationship Diagram
 
Rdbms
RdbmsRdbms
Rdbms
 
Distributed database
Distributed databaseDistributed database
Distributed database
 
Data models
Data modelsData models
Data models
 
Databases: Normalisation
Databases: NormalisationDatabases: Normalisation
Databases: Normalisation
 
Database Presentation
Database PresentationDatabase Presentation
Database Presentation
 
Using T-SQL
Using T-SQL Using T-SQL
Using T-SQL
 
Database architecture
Database architectureDatabase architecture
Database architecture
 
Relational Database Design
Relational Database DesignRelational Database Design
Relational Database Design
 
Relational databases.pdf
Relational databases.pdfRelational databases.pdf
Relational databases.pdf
 
Dbms classification according to data models
Dbms classification according to data modelsDbms classification according to data models
Dbms classification according to data models
 
Dbms architecture
Dbms architectureDbms architecture
Dbms architecture
 
Normalization of Data Base
Normalization of Data BaseNormalization of Data Base
Normalization of Data Base
 
File organisation
File organisationFile organisation
File organisation
 
Basic DBMS ppt
Basic DBMS pptBasic DBMS ppt
Basic DBMS ppt
 
Introduction to Database
Introduction to DatabaseIntroduction to Database
Introduction to Database
 
Database administrator
Database administratorDatabase administrator
Database administrator
 

Similar to DIFFERENT MODELS IN DBMS.pptx

Student POST  Database processing models showcase the logical s.docx
Student POST  Database processing models showcase the logical s.docxStudent POST  Database processing models showcase the logical s.docx
Student POST  Database processing models showcase the logical s.docx
orlandov3
 
database-model group presentation.pptx
database-model group   presentation.pptxdatabase-model group   presentation.pptx
database-model group presentation.pptx
RuksanKarki
 
Data Models
Data ModelsData Models
Data Models
RituBhargava7
 
Data models
Data modelsData models
Data models
RituBhargava7
 
DBMS(Network_Data_Model).pptx
DBMS(Network_Data_Model).pptxDBMS(Network_Data_Model).pptx
DBMS(Network_Data_Model).pptx
AmitSingh770691
 
ch2-slide Data Models.pptx
ch2-slide Data Models.pptxch2-slide Data Models.pptx
ch2-slide Data Models.pptx
TamiratDejene1
 
Data models
Data modelsData models
Relational Database explanation with detail.pdf
Relational Database explanation with detail.pdfRelational Database explanation with detail.pdf
Relational Database explanation with detail.pdf
9wldv5h8n
 
Types of data bases
Types of data basesTypes of data bases
Types of data bases
Janu Jahnavi
 
DBMS
DBMSDBMS
DBMS-2.pptx
DBMS-2.pptxDBMS-2.pptx
DBMS-2.pptx
kingVox
 
2. Chapter Two.pdf
2. Chapter Two.pdf2. Chapter Two.pdf
2. Chapter Two.pdf
fikadumola
 
DBMS-7.pptx
DBMS-7.pptxDBMS-7.pptx
DBMS-7.pptx
kingVox
 
INFORMATION TECHNOLOGY PRESENTATION ON INFORMATON MANAGEMENT.pptx
INFORMATION TECHNOLOGY PRESENTATION ON INFORMATON MANAGEMENT.pptxINFORMATION TECHNOLOGY PRESENTATION ON INFORMATON MANAGEMENT.pptx
INFORMATION TECHNOLOGY PRESENTATION ON INFORMATON MANAGEMENT.pptx
odane3
 
DBMS OF DATA MODEL Deepika 2
DBMS OF DATA MODEL  Deepika 2DBMS OF DATA MODEL  Deepika 2
DBMS OF DATA MODEL Deepika 2
Rai Saheb Bhanwar Singh College Nasrullaganj
 
Dbms new manual
Dbms new manualDbms new manual
Dbms new manual
Shaik Karimulla
 
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
 
DBMS-Unit-1.pptx
DBMS-Unit-1.pptxDBMS-Unit-1.pptx
DBMS-Unit-1.pptx
Bhavya304221
 
Dbms Lec Uog 02
Dbms Lec Uog 02Dbms Lec Uog 02
Dbms Lec Uog 02
smelltulip
 
Data models and ro
Data models and roData models and ro
Data models and ro
Diana Diana
 

Similar to DIFFERENT MODELS IN DBMS.pptx (20)

Student POST  Database processing models showcase the logical s.docx
Student POST  Database processing models showcase the logical s.docxStudent POST  Database processing models showcase the logical s.docx
Student POST  Database processing models showcase the logical s.docx
 
database-model group presentation.pptx
database-model group   presentation.pptxdatabase-model group   presentation.pptx
database-model group presentation.pptx
 
Data Models
Data ModelsData Models
Data Models
 
Data models
Data modelsData models
Data models
 
DBMS(Network_Data_Model).pptx
DBMS(Network_Data_Model).pptxDBMS(Network_Data_Model).pptx
DBMS(Network_Data_Model).pptx
 
ch2-slide Data Models.pptx
ch2-slide Data Models.pptxch2-slide Data Models.pptx
ch2-slide Data Models.pptx
 
Data models
Data modelsData models
Data models
 
Relational Database explanation with detail.pdf
Relational Database explanation with detail.pdfRelational Database explanation with detail.pdf
Relational Database explanation with detail.pdf
 
Types of data bases
Types of data basesTypes of data bases
Types of data bases
 
DBMS
DBMSDBMS
DBMS
 
DBMS-2.pptx
DBMS-2.pptxDBMS-2.pptx
DBMS-2.pptx
 
2. Chapter Two.pdf
2. Chapter Two.pdf2. Chapter Two.pdf
2. Chapter Two.pdf
 
DBMS-7.pptx
DBMS-7.pptxDBMS-7.pptx
DBMS-7.pptx
 
INFORMATION TECHNOLOGY PRESENTATION ON INFORMATON MANAGEMENT.pptx
INFORMATION TECHNOLOGY PRESENTATION ON INFORMATON MANAGEMENT.pptxINFORMATION TECHNOLOGY PRESENTATION ON INFORMATON MANAGEMENT.pptx
INFORMATION TECHNOLOGY PRESENTATION ON INFORMATON MANAGEMENT.pptx
 
DBMS OF DATA MODEL Deepika 2
DBMS OF DATA MODEL  Deepika 2DBMS OF DATA MODEL  Deepika 2
DBMS OF DATA MODEL Deepika 2
 
Dbms new manual
Dbms new manualDbms new manual
Dbms new manual
 
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
 
DBMS-Unit-1.pptx
DBMS-Unit-1.pptxDBMS-Unit-1.pptx
DBMS-Unit-1.pptx
 
Dbms Lec Uog 02
Dbms Lec Uog 02Dbms Lec Uog 02
Dbms Lec Uog 02
 
Data models and ro
Data models and roData models and ro
Data models and ro
 

Recently uploaded

MARY JANE WILSON, A “BOA MÃE” .
MARY JANE WILSON, A “BOA MÃE”           .MARY JANE WILSON, A “BOA MÃE”           .
MARY JANE WILSON, A “BOA MÃE” .
Colégio Santa Teresinha
 
Chapter 4 - Islamic Financial Institutions in Malaysia.pptx
Chapter 4 - Islamic Financial Institutions in Malaysia.pptxChapter 4 - Islamic Financial Institutions in Malaysia.pptx
Chapter 4 - Islamic Financial Institutions in Malaysia.pptx
Mohd Adib Abd Muin, Senior Lecturer at Universiti Utara Malaysia
 
How to Build a Module in Odoo 17 Using the Scaffold Method
How to Build a Module in Odoo 17 Using the Scaffold MethodHow to Build a Module in Odoo 17 Using the Scaffold Method
How to Build a Module in Odoo 17 Using the Scaffold Method
Celine George
 
How to Fix the Import Error in the Odoo 17
How to Fix the Import Error in the Odoo 17How to Fix the Import Error in the Odoo 17
How to Fix the Import Error in the Odoo 17
Celine George
 
South African Journal of Science: Writing with integrity workshop (2024)
South African Journal of Science: Writing with integrity workshop (2024)South African Journal of Science: Writing with integrity workshop (2024)
South African Journal of Science: Writing with integrity workshop (2024)
Academy of Science of South Africa
 
Film vocab for eal 3 students: Australia the movie
Film vocab for eal 3 students: Australia the movieFilm vocab for eal 3 students: Australia the movie
Film vocab for eal 3 students: Australia the movie
Nicholas Montgomery
 
BÀI TẬP BỔ TRỢ TIẾNG ANH 8 CẢ NĂM - GLOBAL SUCCESS - NĂM HỌC 2023-2024 (CÓ FI...
BÀI TẬP BỔ TRỢ TIẾNG ANH 8 CẢ NĂM - GLOBAL SUCCESS - NĂM HỌC 2023-2024 (CÓ FI...BÀI TẬP BỔ TRỢ TIẾNG ANH 8 CẢ NĂM - GLOBAL SUCCESS - NĂM HỌC 2023-2024 (CÓ FI...
BÀI TẬP BỔ TRỢ TIẾNG ANH 8 CẢ NĂM - GLOBAL SUCCESS - NĂM HỌC 2023-2024 (CÓ FI...
Nguyen Thanh Tu Collection
 
Hindi varnamala | hindi alphabet PPT.pdf
Hindi varnamala | hindi alphabet PPT.pdfHindi varnamala | hindi alphabet PPT.pdf
Hindi varnamala | hindi alphabet PPT.pdf
Dr. Mulla Adam Ali
 
Your Skill Boost Masterclass: Strategies for Effective Upskilling
Your Skill Boost Masterclass: Strategies for Effective UpskillingYour Skill Boost Masterclass: Strategies for Effective Upskilling
Your Skill Boost Masterclass: Strategies for Effective Upskilling
Excellence Foundation for South Sudan
 
CACJapan - GROUP Presentation 1- Wk 4.pdf
CACJapan - GROUP Presentation 1- Wk 4.pdfCACJapan - GROUP Presentation 1- Wk 4.pdf
CACJapan - GROUP Presentation 1- Wk 4.pdf
camakaiclarkmusic
 
PIMS Job Advertisement 2024.pdf Islamabad
PIMS Job Advertisement 2024.pdf IslamabadPIMS Job Advertisement 2024.pdf Islamabad
PIMS Job Advertisement 2024.pdf Islamabad
AyyanKhan40
 
The Diamonds of 2023-2024 in the IGRA collection
The Diamonds of 2023-2024 in the IGRA collectionThe Diamonds of 2023-2024 in the IGRA collection
The Diamonds of 2023-2024 in the IGRA collection
Israel Genealogy Research Association
 
Pride Month Slides 2024 David Douglas School District
Pride Month Slides 2024 David Douglas School DistrictPride Month Slides 2024 David Douglas School District
Pride Month Slides 2024 David Douglas School District
David Douglas School District
 
বাংলাদেশ অর্থনৈতিক সমীক্ষা (Economic Review) ২০২৪ UJS App.pdf
বাংলাদেশ অর্থনৈতিক সমীক্ষা (Economic Review) ২০২৪ UJS App.pdfবাংলাদেশ অর্থনৈতিক সমীক্ষা (Economic Review) ২০২৪ UJS App.pdf
বাংলাদেশ অর্থনৈতিক সমীক্ষা (Economic Review) ২০২৪ UJS App.pdf
eBook.com.bd (প্রয়োজনীয় বাংলা বই)
 
The History of Stoke Newington Street Names
The History of Stoke Newington Street NamesThe History of Stoke Newington Street Names
The History of Stoke Newington Street Names
History of Stoke Newington
 
PCOS corelations and management through Ayurveda.
PCOS corelations and management through Ayurveda.PCOS corelations and management through Ayurveda.
PCOS corelations and management through Ayurveda.
Dr. Shivangi Singh Parihar
 
Types of Herbal Cosmetics its standardization.
Types of Herbal Cosmetics its standardization.Types of Herbal Cosmetics its standardization.
Types of Herbal Cosmetics its standardization.
Ashokrao Mane college of Pharmacy Peth-Vadgaon
 
RPMS TEMPLATE FOR SCHOOL YEAR 2023-2024 FOR TEACHER 1 TO TEACHER 3
RPMS TEMPLATE FOR SCHOOL YEAR 2023-2024 FOR TEACHER 1 TO TEACHER 3RPMS TEMPLATE FOR SCHOOL YEAR 2023-2024 FOR TEACHER 1 TO TEACHER 3
RPMS TEMPLATE FOR SCHOOL YEAR 2023-2024 FOR TEACHER 1 TO TEACHER 3
IreneSebastianRueco1
 
S1-Introduction-Biopesticides in ICM.pptx
S1-Introduction-Biopesticides in ICM.pptxS1-Introduction-Biopesticides in ICM.pptx
S1-Introduction-Biopesticides in ICM.pptx
tarandeep35
 
writing about opinions about Australia the movie
writing about opinions about Australia the moviewriting about opinions about Australia the movie
writing about opinions about Australia the movie
Nicholas Montgomery
 

Recently uploaded (20)

MARY JANE WILSON, A “BOA MÃE” .
MARY JANE WILSON, A “BOA MÃE”           .MARY JANE WILSON, A “BOA MÃE”           .
MARY JANE WILSON, A “BOA MÃE” .
 
Chapter 4 - Islamic Financial Institutions in Malaysia.pptx
Chapter 4 - Islamic Financial Institutions in Malaysia.pptxChapter 4 - Islamic Financial Institutions in Malaysia.pptx
Chapter 4 - Islamic Financial Institutions in Malaysia.pptx
 
How to Build a Module in Odoo 17 Using the Scaffold Method
How to Build a Module in Odoo 17 Using the Scaffold MethodHow to Build a Module in Odoo 17 Using the Scaffold Method
How to Build a Module in Odoo 17 Using the Scaffold Method
 
How to Fix the Import Error in the Odoo 17
How to Fix the Import Error in the Odoo 17How to Fix the Import Error in the Odoo 17
How to Fix the Import Error in the Odoo 17
 
South African Journal of Science: Writing with integrity workshop (2024)
South African Journal of Science: Writing with integrity workshop (2024)South African Journal of Science: Writing with integrity workshop (2024)
South African Journal of Science: Writing with integrity workshop (2024)
 
Film vocab for eal 3 students: Australia the movie
Film vocab for eal 3 students: Australia the movieFilm vocab for eal 3 students: Australia the movie
Film vocab for eal 3 students: Australia the movie
 
BÀI TẬP BỔ TRỢ TIẾNG ANH 8 CẢ NĂM - GLOBAL SUCCESS - NĂM HỌC 2023-2024 (CÓ FI...
BÀI TẬP BỔ TRỢ TIẾNG ANH 8 CẢ NĂM - GLOBAL SUCCESS - NĂM HỌC 2023-2024 (CÓ FI...BÀI TẬP BỔ TRỢ TIẾNG ANH 8 CẢ NĂM - GLOBAL SUCCESS - NĂM HỌC 2023-2024 (CÓ FI...
BÀI TẬP BỔ TRỢ TIẾNG ANH 8 CẢ NĂM - GLOBAL SUCCESS - NĂM HỌC 2023-2024 (CÓ FI...
 
Hindi varnamala | hindi alphabet PPT.pdf
Hindi varnamala | hindi alphabet PPT.pdfHindi varnamala | hindi alphabet PPT.pdf
Hindi varnamala | hindi alphabet PPT.pdf
 
Your Skill Boost Masterclass: Strategies for Effective Upskilling
Your Skill Boost Masterclass: Strategies for Effective UpskillingYour Skill Boost Masterclass: Strategies for Effective Upskilling
Your Skill Boost Masterclass: Strategies for Effective Upskilling
 
CACJapan - GROUP Presentation 1- Wk 4.pdf
CACJapan - GROUP Presentation 1- Wk 4.pdfCACJapan - GROUP Presentation 1- Wk 4.pdf
CACJapan - GROUP Presentation 1- Wk 4.pdf
 
PIMS Job Advertisement 2024.pdf Islamabad
PIMS Job Advertisement 2024.pdf IslamabadPIMS Job Advertisement 2024.pdf Islamabad
PIMS Job Advertisement 2024.pdf Islamabad
 
The Diamonds of 2023-2024 in the IGRA collection
The Diamonds of 2023-2024 in the IGRA collectionThe Diamonds of 2023-2024 in the IGRA collection
The Diamonds of 2023-2024 in the IGRA collection
 
Pride Month Slides 2024 David Douglas School District
Pride Month Slides 2024 David Douglas School DistrictPride Month Slides 2024 David Douglas School District
Pride Month Slides 2024 David Douglas School District
 
বাংলাদেশ অর্থনৈতিক সমীক্ষা (Economic Review) ২০২৪ UJS App.pdf
বাংলাদেশ অর্থনৈতিক সমীক্ষা (Economic Review) ২০২৪ UJS App.pdfবাংলাদেশ অর্থনৈতিক সমীক্ষা (Economic Review) ২০২৪ UJS App.pdf
বাংলাদেশ অর্থনৈতিক সমীক্ষা (Economic Review) ২০২৪ UJS App.pdf
 
The History of Stoke Newington Street Names
The History of Stoke Newington Street NamesThe History of Stoke Newington Street Names
The History of Stoke Newington Street Names
 
PCOS corelations and management through Ayurveda.
PCOS corelations and management through Ayurveda.PCOS corelations and management through Ayurveda.
PCOS corelations and management through Ayurveda.
 
Types of Herbal Cosmetics its standardization.
Types of Herbal Cosmetics its standardization.Types of Herbal Cosmetics its standardization.
Types of Herbal Cosmetics its standardization.
 
RPMS TEMPLATE FOR SCHOOL YEAR 2023-2024 FOR TEACHER 1 TO TEACHER 3
RPMS TEMPLATE FOR SCHOOL YEAR 2023-2024 FOR TEACHER 1 TO TEACHER 3RPMS TEMPLATE FOR SCHOOL YEAR 2023-2024 FOR TEACHER 1 TO TEACHER 3
RPMS TEMPLATE FOR SCHOOL YEAR 2023-2024 FOR TEACHER 1 TO TEACHER 3
 
S1-Introduction-Biopesticides in ICM.pptx
S1-Introduction-Biopesticides in ICM.pptxS1-Introduction-Biopesticides in ICM.pptx
S1-Introduction-Biopesticides in ICM.pptx
 
writing about opinions about Australia the movie
writing about opinions about Australia the moviewriting about opinions about Australia the movie
writing about opinions about Australia the movie
 

DIFFERENT MODELS IN DBMS.pptx

  • 2. INTRODUCTION:  DBMS Model is defined as the logical plan and arrangement of a database which describes how the data info will be stored, retrieved and modified in a database management system.  This DBMS Model illustrates the coherent structure of a database server that consists of the relationships and limitations which helps to regulate how data information can be preserved and fetched later.  Database models can be independently designed on the basis of guidelines and ideas of whichever larger data model the creators approve.  There are different kinds of DBMS Models which matches to different phases of the database design procedure.
  • 3. DIFFERENT DBMS MODELS  Relational Model  Network Model  Hierarchical Model  Object-Oriented Database Model  Object Relational Model (It syndicates the two which create up its name)  Entity-Relationship Model  Record Based DBMS Model  Document Database Model
  • 4. Relational Model  The relational model represents DB in the form of a collection of various relations. This relation refers to a table of various values. And every row present in the table happens to denote some real- world entities or relationships.  It also represents how data is stored in Relational Databases. A relational database consists of a collection of tables, each of which is assigned a unique name..  Thus, in the relational model, basically, this data is stored in the form of tables. However, this data’s physical storage is independent of its logical organisation.  This model generates one to one, many to many and one to many relationships. The tables can be normalized within the database by following certain rules where every piece of data is broken into small or, say, nuclear pieces, which are beneficial.
  • 5. Properties of a Relational Model • Every row is unique • All of the values present in a column hold the same data type • Values are atomic • The columns sequence is not significant • The rows sequence is not significant • The name of every column is unique
  • 6. Advantages • Simplicity and Ease of Use: The relational model offers a simple and intuitive way to organize and represent data. It uses tables with rows and columns, making it easy for users to understand and work with the data. • Data Independence: The relational model provides data independence, separating the logical structure of the data (schema) from its physical storage. This allows for flexibility in modifying the database schema without affecting the applications or queries built on top of it. • Flexibility and Scalability: The relational model offers great flexibility in querying and manipulating data. It supports powerful query languages, such as SQL (Structured Query Language), which provide rich functionalities for retrieving, updating, and aggregating data. Additionally, relational databases can handle large amounts of data and scale well as data volumes increase. • Data Integrity and Consistency: The relational model enforces data integrity through various constraints, such as primary keys, foreign keys, and unique constraints. These constraints ensure the consistency and accuracy of data, preventing the introduction of inconsistent or invalid records.
  • 7. Disadvantages • Complex Joins and Performance: When dealing with complex data relationships, performing joins between multiple tables can become complex and computationally expensive. Inefficient query design or lack of appropriate indexes can result in performance issues. • Data Redundancy: In some cases, the relational model can lead to data redundancy, meaning the same data is stored in multiple tables. Redundancy can consume additional storage space and increase the complexity of maintaining data consistency. • Limited Flexibility for Unstructured Data: The relational model is primarily designed for structured data with well-defined schemas. Handling unstructured or semi-structured data, such as text documents or multimedia files, can be challenging within the relational model. This has led to the rise of other database models, like NoSQL and document databases, that better accommodate such data types. • Impedance Mismatch: The relational model and object-oriented programming languages often have a mismatch in their data models. Mapping objects to relational tables (object-relational mapping) can introduce complexities and difficulties in maintaining consistency between the two models.
  • 8. ID_NO NAME ADDRESS ROLL_NO AGE C1 RIYA DELHI 15 20 C2 SUNITA GURGAON 16 22 C3 ASHWANI ROHTAK 12 18 C4 PREETI DELHI 17 25 Now, let us consider a relation EMPLOYEE with attributes ID_NO, NAME, ADDRESS, ROLL_NO, and AGE shown in this table
  • 9. Network Model • The network model is a database model that organizes data in a network-like structure, allowing records to have multiple parent-child relationships. It was developed as an extension of the hierarchical model to address its limitations. • In the network model, data is represented as collections of records, and the relationships between records are established using set relationships called sets. • A set consists of a parent record type, a member record type, and a set type. The set type defines the nature of the relationship, such as one-to-one, one-to-many, or many-to-many.
  • 10. key features of the network model: • Records: Data is stored in records, which are similar to the concept of rows in the relational model. Each record contains fields or attributes that hold specific data values. • Sets: Sets are used to define relationships between records. A set allows a member record to be linked to one or more parent records. This capability enables complex relationships and allows records to have multiple paths to access related data. • Parent-Child Relationships: In the network model, records are organized in parent- child relationships. A parent record can have multiple child records, and a child record can have multiple parent records. • Access Paths: The network model provides multiple access paths to navigate through the data. Each set in the network model is associated with a specific access path, allowing efficient retrieval of related records. • Data Integrity: The network model supports data integrity through the use of constraints, such as mandatory relationships, cardinality constraints, and referential integrity.
  • 11. Advantages • Flexibility in Data Relationships: The network model offers greater flexibility in representing complex data relationships compared to the hierarchical model. It allows for many-to-many relationships between records, enabling more diverse and intricate connections between data elements. • Efficient Data Access: The network model provides efficient data access by allowing direct access to related records without the need for navigating through the entire hierarchical structure. It utilizes set-based operations and pointers, which can result in faster data retrieval. • Data Integrity: Similar to the hierarchical model, the network model enforces data integrity through referential integrity constraints. It ensures that each record has valid connections to other related records, maintaining data consistency. • Data Sharing and Integration: The network model supports data sharing and integration between different applications or database systems. Records in the network model can have multiple owners or users, enabling shared access to data and facilitating collaboration.
  • 12. Disadvantages • Complexity and Learning Curve: The network model has a higher level of complexity compared to the hierarchical and relational models. Understanding and designing a network database can be challenging, requiring a deeper understanding of data relationships and navigating through the network structure. • Lack of Structural Independence: Unlike the relational model, the network model lacks structural independence. Modifying the database schema often requires changes to the entire network structure, which can be cumbersome and may impact existing applications and data. • Limited Scalability: The network model can face limitations in terms of scalability, especially when dealing with large and evolving data structures. Adding or modifying data relationships may require significant restructuring of the entire network, making it less flexible and less suitable for rapidly changing data requirements. • Data Redundancy and Complexity: The network model can suffer from data redundancy when multiple relationships are defined between records. This redundancy can result in increased storage requirements and complexity in maintaining data consistency and integrity.
  • 13. Hierarchical Model In this model, data records are arranged into a tree-like organization, where every record includes only a root or a parent. The sibling records are arranged in specific in a distinct order which is then implemented as the physical order for storing the database. For explaining several real-world relationships, this type of model is useful. In the ’60s and ’70s, this model was normally implemented by IBM’s Information Management Systems. However, due to few functioning disorganizations, they are infrequently seen currently.
  • 14. 1. Data Structure: Data is organized in a hierarchical structure, resembling a tree. Each record is connected to one or more parent records and may have multiple child records. The relationships are represented as one-to-many relationships, where each parent can have multiple children, but each child has only one parent. 2. Parent-Child Relationships: The hierarchical model uses parent-child relationships to represent the organization and structure of data. A parent record is called a segment, and a child record is called a subordinate segment. The segments are connected through pointers or links. 3. Access Paths: The hierarchical model provides predefined access paths that allow efficient navigation through the data structure. The access paths follow the hierarchical relationships, enabling easy traversal from parent records to child records. Features of the Hierarchical Model model
  • 15. 4. Data Integrity: The hierarchical model enforces data integrity through hierarchical relationships. It ensures that each child record must have a valid parent record and maintains referential integrity within the structure. 5. Rigidity: The hierarchical model has a rigid and inflexible structure since it relies on predefined parent-child relationships. Any changes to the structure require modifying the database schema and potentially impacting existing data and applications. 6. Querying: Querying in the hierarchical model typically involves traversing the hierarchy using predefined access paths. Query languages specific to the hierarchical model, such as IMS DL/I (Data Language/I), were used to retrieve data based on the hierarchical structure
  • 16. Advantages • Simplicity: The hierarchical model is relatively simple to understand and implement. It follows a straightforward parent-child relationship structure, which makes it easy to visualize and navigate the data. • Efficient Data Retrieval: The hierarchical model provides efficient data retrieval when accessing data in a top-down manner. Traversing the hierarchical structure using predefined access paths allows for quick and direct access to related records. • Data Integrity: The hierarchical model enforces data integrity through hierarchical relationships. Each child record must have a valid parent record, ensuring the consistency and integrity of the data. • Performance: The hierarchical model can offer excellent performance for certain types of data access patterns. It is particularly efficient when the access patterns align with the hierarchical structure, such as when retrieving all child records of a specific parent.
  • 17. Disadvantages Lack of Flexibility: The hierarchical model has limited flexibility and is less adaptable to changes in the data structure. Any modifications to the structure, such as adding or rearranging records, require altering the database schema and potentially impacting existing data and applications. Complex Relationships: The hierarchical model struggles with representing complex relationships that do not fit neatly into a strict parent-child hierarchy. Many-to-many relationships or non-hierarchical relationships are challenging to represent effectively within the hierarchical model. Data Redundancy: In the hierarchical model, data redundancy can occur when multiple child records need to refer to the same parent record. This redundancy can lead to data inconsistency and increased storage requirements.
  • 18. The Object-Oriented (OO) Model • The hierarchical model is a database model that organizes data in a tree-like structure with parent-child relationships. It was one of the earliest database models, primarily used in early mainframe database systems like IBM's Information Management System (IMS). In the hierarchical model: • Data Structure: Data is organized in a hierarchical structure, resembling a tree. Each record is connected to one or more parent records and may have multiple child records. The relationships are represented as one-to-many relationships, where each parent can have multiple children, but each child has only one parent. • Parent-Child Relationships: The hierarchical model uses parent-child relationships to represent the organization and structure of data. A parent record is called a segment, and a child record is called a subordinate segment. The segments are connected through pointers or links.
  • 19. • Access Paths: The hierarchical model provides predefined access paths that allow efficient navigation through the data structure. The access paths follow the hierarchical relationships, enabling easy traversal from parent records to child records. • Data Integrity: The hierarchical model enforces data integrity through hierarchical relationships. It ensures that each child record must have a valid parent record and maintains referential integrity within the structure. • Rigidity: The hierarchical model has a rigid and inflexible structure since it relies on predefined parent-child relationships. Any changes to the structure require modifying the database schema and potentially impacting existing data and applications. • Querying: Querying in the hierarchical model typically involves traversing the hierarchy using predefined access paths. Query languages specific to the hierarchical model, such as IMS DL/I (Data Language/I), were used to retrieve data based on the hierarchical structure
  • 20. Advantages • Modularity and Code Reusability: The OO model promotes modularity by encapsulating data and behavior within objects. This modularity allows for code reusability, as objects and classes can be easily reused in different parts of an application or in different applications altogether. • Data Abstraction and Encapsulation: The OO model provides data abstraction, allowing complex data structures to be represented as objects with well-defined interfaces. Encapsulation ensures that the internal details of objects are hidden, protecting the integrity of data and providing a clear separation between the implementation and usage of objects. • Inheritance and Polymorphism: The OO model supports inheritance, allowing classes to inherit attributes and methods from parent classes. Inheritance promotes code reuse, enhances modularity, and enables the creation of hierarchical relationships. Polymorphism, another feature of the OO model, allows objects of different classes to be treated uniformly through common interfaces, enabling flexible and extensible designs.
  • 21. Disadvantages • Performance Overhead: The object-oriented model can introduce performance overhead compared to more low-level or procedural approaches. The abstraction and encapsulation layers add an extra level of indirection, which can impact performance-critical applications. • Complexity: Object-oriented programming can sometimes lead to complex code structures, especially when the system becomes large or when the relationships between objects become intricate. Maintaining a clear and understandable design becomes crucial to avoid confusion and maintain code quality. • Learning Curve: Understanding and effectively applying the principles of the OO model can have a steeper learning curve compared to procedural programming. Object-oriented concepts, such as inheritance, polymorphism, and design patterns, require additional knowledge and experience to be used effectively.
  • 22.