SlideShare a Scribd company logo
1 of 23
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

Lesson 2 network database system
Lesson 2 network database systemLesson 2 network database system
Lesson 2 network database systemGiO Friginal
 
Database systems - Chapter 2
Database systems - Chapter 2Database systems - Chapter 2
Database systems - Chapter 2shahab3
 
Chapter 2 database environment
Chapter 2 database environmentChapter 2 database environment
Chapter 2 database environment>. <
 
Database Design and Normalization Techniques
Database Design and Normalization TechniquesDatabase Design and Normalization Techniques
Database Design and Normalization TechniquesNishant Munjal
 
Database : Relational Data Model
Database : Relational Data ModelDatabase : Relational Data Model
Database : Relational Data ModelSmriti Jain
 
Relational Database Design
Relational Database DesignRelational Database Design
Relational Database DesignArchit Saxena
 
Fundamentals of Database system
Fundamentals of Database systemFundamentals of Database system
Fundamentals of Database systemphilipsinter
 
Data preprocessing in Data Mining
Data preprocessing in Data MiningData preprocessing in Data Mining
Data preprocessing in Data MiningDHIVYADEVAKI
 
Difference between File system And DBMS.pptx
Difference between File system And DBMS.pptxDifference between File system And DBMS.pptx
Difference between File system And DBMS.pptxShayanMujahid2
 
The relational database model
The relational database modelThe relational database model
The relational database modelDhani Ahmad
 
2 database system concepts and architecture
2 database system concepts and architecture2 database system concepts and architecture
2 database system concepts and architectureKumar
 

What's hot (20)

Fundamentals of Data Modeling and Database Design by Dr. Kamal Gulati
Fundamentals of Data Modeling and Database Design by Dr. Kamal GulatiFundamentals of Data Modeling and Database Design by Dr. Kamal Gulati
Fundamentals of Data Modeling and Database Design by Dr. Kamal Gulati
 
Lesson 2 network database system
Lesson 2 network database systemLesson 2 network database system
Lesson 2 network database system
 
Database systems - Chapter 2
Database systems - Chapter 2Database systems - Chapter 2
Database systems - Chapter 2
 
Database design
Database designDatabase design
Database design
 
Chapter 2 database environment
Chapter 2 database environmentChapter 2 database environment
Chapter 2 database environment
 
RDBMS
RDBMSRDBMS
RDBMS
 
Database Design and Normalization Techniques
Database Design and Normalization TechniquesDatabase Design and Normalization Techniques
Database Design and Normalization Techniques
 
Database : Relational Data Model
Database : Relational Data ModelDatabase : Relational Data Model
Database : Relational Data Model
 
Database design
Database designDatabase design
Database design
 
Relational Database Design
Relational Database DesignRelational Database Design
Relational Database Design
 
Data Models
Data ModelsData Models
Data Models
 
Fundamentals of Database system
Fundamentals of Database systemFundamentals of Database system
Fundamentals of Database system
 
Data preprocessing in Data Mining
Data preprocessing in Data MiningData preprocessing in Data Mining
Data preprocessing in Data Mining
 
DBMS and its Models
DBMS and its ModelsDBMS and its Models
DBMS and its Models
 
Different data models
Different data modelsDifferent data models
Different data models
 
Entity relationship modelling
Entity relationship modellingEntity relationship modelling
Entity relationship modelling
 
Difference between File system And DBMS.pptx
Difference between File system And DBMS.pptxDifference between File system And DBMS.pptx
Difference between File system And DBMS.pptx
 
Relational model
Relational modelRelational model
Relational model
 
The relational database model
The relational database modelThe relational database model
The relational database model
 
2 database system concepts and architecture
2 database system concepts and architecture2 database system concepts and architecture
2 database system concepts and architecture
 

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.docxorlandov3
 
database-model group presentation.pptx
database-model group   presentation.pptxdatabase-model group   presentation.pptx
database-model group presentation.pptxRuksanKarki
 
DBMS(Network_Data_Model).pptx
DBMS(Network_Data_Model).pptxDBMS(Network_Data_Model).pptx
DBMS(Network_Data_Model).pptxAmitSingh770691
 
ch2-slide Data Models.pptx
ch2-slide Data Models.pptxch2-slide Data Models.pptx
ch2-slide Data Models.pptxTamiratDejene1
 
Relational Database explanation with detail.pdf
Relational Database explanation with detail.pdfRelational Database explanation with detail.pdf
Relational Database explanation with detail.pdf9wldv5h8n
 
Types of data bases
Types of data basesTypes of data bases
Types of data basesJanu Jahnavi
 
DBMS-2.pptx
DBMS-2.pptxDBMS-2.pptx
DBMS-2.pptxkingVox
 
2. Chapter Two.pdf
2. Chapter Two.pdf2. Chapter Two.pdf
2. Chapter Two.pdffikadumola
 
DBMS-7.pptx
DBMS-7.pptxDBMS-7.pptx
DBMS-7.pptxkingVox
 
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.pptxodane3
 
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 ArchitectureKunal Anand
 
Dbms Lec Uog 02
Dbms Lec Uog 02Dbms Lec Uog 02
Dbms Lec Uog 02smelltulip
 
Data models and ro
Data models and roData models and ro
Data models and roDiana 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
 
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
 
Database systems introduction
Database systems introductionDatabase systems introduction
Database systems introduction
 

Recently uploaded

Enzyme, Pharmaceutical Aids, Miscellaneous Last Part of Chapter no 5th.pdf
Enzyme, Pharmaceutical Aids, Miscellaneous Last Part of Chapter no 5th.pdfEnzyme, Pharmaceutical Aids, Miscellaneous Last Part of Chapter no 5th.pdf
Enzyme, Pharmaceutical Aids, Miscellaneous Last Part of Chapter no 5th.pdfSumit Tiwari
 
The basics of sentences session 2pptx copy.pptx
The basics of sentences session 2pptx copy.pptxThe basics of sentences session 2pptx copy.pptx
The basics of sentences session 2pptx copy.pptxheathfieldcps1
 
Alper Gobel In Media Res Media Component
Alper Gobel In Media Res Media ComponentAlper Gobel In Media Res Media Component
Alper Gobel In Media Res Media ComponentInMediaRes1
 
Mastering the Unannounced Regulatory Inspection
Mastering the Unannounced Regulatory InspectionMastering the Unannounced Regulatory Inspection
Mastering the Unannounced Regulatory InspectionSafetyChain Software
 
Solving Puzzles Benefits Everyone (English).pptx
Solving Puzzles Benefits Everyone (English).pptxSolving Puzzles Benefits Everyone (English).pptx
Solving Puzzles Benefits Everyone (English).pptxOH TEIK BIN
 
Presentation by Andreas Schleicher Tackling the School Absenteeism Crisis 30 ...
Presentation by Andreas Schleicher Tackling the School Absenteeism Crisis 30 ...Presentation by Andreas Schleicher Tackling the School Absenteeism Crisis 30 ...
Presentation by Andreas Schleicher Tackling the School Absenteeism Crisis 30 ...EduSkills OECD
 
POINT- BIOCHEMISTRY SEM 2 ENZYMES UNIT 5.pptx
POINT- BIOCHEMISTRY SEM 2 ENZYMES UNIT 5.pptxPOINT- BIOCHEMISTRY SEM 2 ENZYMES UNIT 5.pptx
POINT- BIOCHEMISTRY SEM 2 ENZYMES UNIT 5.pptxSayali Powar
 
“Oh GOSH! Reflecting on Hackteria's Collaborative Practices in a Global Do-It...
“Oh GOSH! Reflecting on Hackteria's Collaborative Practices in a Global Do-It...“Oh GOSH! Reflecting on Hackteria's Collaborative Practices in a Global Do-It...
“Oh GOSH! Reflecting on Hackteria's Collaborative Practices in a Global Do-It...Marc Dusseiller Dusjagr
 
Call Girls in Dwarka Mor Delhi Contact Us 9654467111
Call Girls in Dwarka Mor Delhi Contact Us 9654467111Call Girls in Dwarka Mor Delhi Contact Us 9654467111
Call Girls in Dwarka Mor Delhi Contact Us 9654467111Sapana Sha
 
call girls in Kamla Market (DELHI) 🔝 >༒9953330565🔝 genuine Escort Service 🔝✔️✔️
call girls in Kamla Market (DELHI) 🔝 >༒9953330565🔝 genuine Escort Service 🔝✔️✔️call girls in Kamla Market (DELHI) 🔝 >༒9953330565🔝 genuine Escort Service 🔝✔️✔️
call girls in Kamla Market (DELHI) 🔝 >༒9953330565🔝 genuine Escort Service 🔝✔️✔️9953056974 Low Rate Call Girls In Saket, Delhi NCR
 
ECONOMIC CONTEXT - LONG FORM TV DRAMA - PPT
ECONOMIC CONTEXT - LONG FORM TV DRAMA - PPTECONOMIC CONTEXT - LONG FORM TV DRAMA - PPT
ECONOMIC CONTEXT - LONG FORM TV DRAMA - PPTiammrhaywood
 
Contemporary philippine arts from the regions_PPT_Module_12 [Autosaved] (1).pptx
Contemporary philippine arts from the regions_PPT_Module_12 [Autosaved] (1).pptxContemporary philippine arts from the regions_PPT_Module_12 [Autosaved] (1).pptx
Contemporary philippine arts from the regions_PPT_Module_12 [Autosaved] (1).pptxRoyAbrique
 
CARE OF CHILD IN INCUBATOR..........pptx
CARE OF CHILD IN INCUBATOR..........pptxCARE OF CHILD IN INCUBATOR..........pptx
CARE OF CHILD IN INCUBATOR..........pptxGaneshChakor2
 
Concept of Vouching. B.Com(Hons) /B.Compdf
Concept of Vouching. B.Com(Hons) /B.CompdfConcept of Vouching. B.Com(Hons) /B.Compdf
Concept of Vouching. B.Com(Hons) /B.CompdfUmakantAnnand
 
Sanyam Choudhary Chemistry practical.pdf
Sanyam Choudhary Chemistry practical.pdfSanyam Choudhary Chemistry practical.pdf
Sanyam Choudhary Chemistry practical.pdfsanyamsingh5019
 
How to Configure Email Server in Odoo 17
How to Configure Email Server in Odoo 17How to Configure Email Server in Odoo 17
How to Configure Email Server in Odoo 17Celine George
 

Recently uploaded (20)

Enzyme, Pharmaceutical Aids, Miscellaneous Last Part of Chapter no 5th.pdf
Enzyme, Pharmaceutical Aids, Miscellaneous Last Part of Chapter no 5th.pdfEnzyme, Pharmaceutical Aids, Miscellaneous Last Part of Chapter no 5th.pdf
Enzyme, Pharmaceutical Aids, Miscellaneous Last Part of Chapter no 5th.pdf
 
The basics of sentences session 2pptx copy.pptx
The basics of sentences session 2pptx copy.pptxThe basics of sentences session 2pptx copy.pptx
The basics of sentences session 2pptx copy.pptx
 
Alper Gobel In Media Res Media Component
Alper Gobel In Media Res Media ComponentAlper Gobel In Media Res Media Component
Alper Gobel In Media Res Media Component
 
Código Creativo y Arte de Software | Unidad 1
Código Creativo y Arte de Software | Unidad 1Código Creativo y Arte de Software | Unidad 1
Código Creativo y Arte de Software | Unidad 1
 
Mastering the Unannounced Regulatory Inspection
Mastering the Unannounced Regulatory InspectionMastering the Unannounced Regulatory Inspection
Mastering the Unannounced Regulatory Inspection
 
Solving Puzzles Benefits Everyone (English).pptx
Solving Puzzles Benefits Everyone (English).pptxSolving Puzzles Benefits Everyone (English).pptx
Solving Puzzles Benefits Everyone (English).pptx
 
Presentation by Andreas Schleicher Tackling the School Absenteeism Crisis 30 ...
Presentation by Andreas Schleicher Tackling the School Absenteeism Crisis 30 ...Presentation by Andreas Schleicher Tackling the School Absenteeism Crisis 30 ...
Presentation by Andreas Schleicher Tackling the School Absenteeism Crisis 30 ...
 
Model Call Girl in Bikash Puri Delhi reach out to us at 🔝9953056974🔝
Model Call Girl in Bikash Puri  Delhi reach out to us at 🔝9953056974🔝Model Call Girl in Bikash Puri  Delhi reach out to us at 🔝9953056974🔝
Model Call Girl in Bikash Puri Delhi reach out to us at 🔝9953056974🔝
 
POINT- BIOCHEMISTRY SEM 2 ENZYMES UNIT 5.pptx
POINT- BIOCHEMISTRY SEM 2 ENZYMES UNIT 5.pptxPOINT- BIOCHEMISTRY SEM 2 ENZYMES UNIT 5.pptx
POINT- BIOCHEMISTRY SEM 2 ENZYMES UNIT 5.pptx
 
“Oh GOSH! Reflecting on Hackteria's Collaborative Practices in a Global Do-It...
“Oh GOSH! Reflecting on Hackteria's Collaborative Practices in a Global Do-It...“Oh GOSH! Reflecting on Hackteria's Collaborative Practices in a Global Do-It...
“Oh GOSH! Reflecting on Hackteria's Collaborative Practices in a Global Do-It...
 
Call Girls in Dwarka Mor Delhi Contact Us 9654467111
Call Girls in Dwarka Mor Delhi Contact Us 9654467111Call Girls in Dwarka Mor Delhi Contact Us 9654467111
Call Girls in Dwarka Mor Delhi Contact Us 9654467111
 
call girls in Kamla Market (DELHI) 🔝 >༒9953330565🔝 genuine Escort Service 🔝✔️✔️
call girls in Kamla Market (DELHI) 🔝 >༒9953330565🔝 genuine Escort Service 🔝✔️✔️call girls in Kamla Market (DELHI) 🔝 >༒9953330565🔝 genuine Escort Service 🔝✔️✔️
call girls in Kamla Market (DELHI) 🔝 >༒9953330565🔝 genuine Escort Service 🔝✔️✔️
 
ECONOMIC CONTEXT - LONG FORM TV DRAMA - PPT
ECONOMIC CONTEXT - LONG FORM TV DRAMA - PPTECONOMIC CONTEXT - LONG FORM TV DRAMA - PPT
ECONOMIC CONTEXT - LONG FORM TV DRAMA - PPT
 
Contemporary philippine arts from the regions_PPT_Module_12 [Autosaved] (1).pptx
Contemporary philippine arts from the regions_PPT_Module_12 [Autosaved] (1).pptxContemporary philippine arts from the regions_PPT_Module_12 [Autosaved] (1).pptx
Contemporary philippine arts from the regions_PPT_Module_12 [Autosaved] (1).pptx
 
CARE OF CHILD IN INCUBATOR..........pptx
CARE OF CHILD IN INCUBATOR..........pptxCARE OF CHILD IN INCUBATOR..........pptx
CARE OF CHILD IN INCUBATOR..........pptx
 
Concept of Vouching. B.Com(Hons) /B.Compdf
Concept of Vouching. B.Com(Hons) /B.CompdfConcept of Vouching. B.Com(Hons) /B.Compdf
Concept of Vouching. B.Com(Hons) /B.Compdf
 
Sanyam Choudhary Chemistry practical.pdf
Sanyam Choudhary Chemistry practical.pdfSanyam Choudhary Chemistry practical.pdf
Sanyam Choudhary Chemistry practical.pdf
 
Model Call Girl in Tilak Nagar Delhi reach out to us at 🔝9953056974🔝
Model Call Girl in Tilak Nagar Delhi reach out to us at 🔝9953056974🔝Model Call Girl in Tilak Nagar Delhi reach out to us at 🔝9953056974🔝
Model Call Girl in Tilak Nagar Delhi reach out to us at 🔝9953056974🔝
 
How to Configure Email Server in Odoo 17
How to Configure Email Server in Odoo 17How to Configure Email Server in Odoo 17
How to Configure Email Server in Odoo 17
 
TataKelola dan KamSiber Kecerdasan Buatan v022.pdf
TataKelola dan KamSiber Kecerdasan Buatan v022.pdfTataKelola dan KamSiber Kecerdasan Buatan v022.pdf
TataKelola dan KamSiber Kecerdasan Buatan v022.pdf
 

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.