Datamodels
Thakshayini. C J/IT/16/09/01
Content
 Introduction to data models
 Different data models
 Fly High Airlines
 Comparison- data models
 Justification
 Conclusion
2Thakshayini. C J/IT/16/09/01
Data
Data are the unique variables of information or
distinct pieces of information to form information
data should process in distinct way.
Data model
• Description of logical structure of database.
• Basic entities to initiate abstraction
• Explains the connections within different dat.
• Express how the data stored.
• Establishment of data process
• Flat model is the very first data model.
3Thakshayini. C J/IT/16/09/01
Importance of data models
Data structure available manually or in real world are
quiet complex and hard to retrieve distinct data.
Using data models data structures can be explained in
simple graphical representation.
Understandable representation of data structure. Data
models act as communication tools between end users,
data administrator and others who refers.
4Thakshayini. C J/IT/16/09/01
Data models
Types of data models
Network
model
Representation
model
Hierarchical
model
Object
relational
model
Relational
model
Object
oriented
data
model
Thakshayini. C J/IT/16/09/01 5
Hierarchical model
 One to many relationship
 Once built no further changes can be done.
 Tree like structure
Advantages
 Specification
 Only one parent record
type.
Disadvantages
 No changes made at the
middle of the process.
 Complex problems may
arise.
Network model
 A system demonstrate is a database display that is outlined as an adaptable way to deal with speaking to
objects and their connections.
 An exceptional component of the system demonstrate is its outline, which is seen as a diagram where
relationship composes are circular segments and protest composes are hubs.
 Dissimilar to other database models, the system model's diagram isn't restricted to be a cross section or
pecking order; the progressive tree is supplanted by a chart, which takes into account more fundamental
associations with the hubs
Advantages
 Basic Concept: Similar to the various leveled demonstrate, this model is
basic and the usage is easy.
 Capacity to Manage More Relationship Types: The system show can
oversee balanced (1:1) and additionally many-to-many (N: N) connections.
 Simple Access to Data: Accessing the information is less complex when
contrasted with the various leveled show.
Advantages(Network model)
 Information Independence: Data autonomy is better in arrange models instead of the progressive models
 Information Integrity: In a system demonstrate, there's dependably an association between the parent and
the kid fragments since it relies upon the parent-kid relationship
Disadvantages (Network model)
 Framework Complexity: Each and every record must be kept up with the assistance of
pointers, which influences the database to structure more intricate.
 Utilitarian Flaws: Because an extraordinary number of pointers is basic, inclusion, updates,
and erasure turn out to be more perplexing.
 Absence of Structural Independence: An adjustment in structure requests an adjustment in
the application also, which prompts absence of auxiliary autonomy.
Object oriented data model
 Inspire by object oriented programming languages.
 Uses object oriented concepts.
 Capable of storing large objects
 Binary Large Objects like images, multi media are facilitate.
Advantages
 Simplified
 Lack constrained between objects.
 Reduce the semantic gaps.
 Easy to get connect with object oriented programming
languages
Disadvantages
Object oriented model
 Model is often provided through object oriented
language such as (C++, Java).
 Practically very complex and in applicable in many
times.
Relational model
 Simplifies the database structure (data represented) by the used of tables and columns.
 In use popularly amongst industry.
Advantages
 Relational Algebra: Relational database supports relational algebra and
relational operations of the set theory
 Dynamic views: In relational database model, view is not past of physical
schema it is always dynamic.
 Excellent data Security : Support the concept of users rights, meets security
of databases.
 Scaling up : Can be scatted up to new hardware technology
Inconsistency & data redundancy are considered as drawbacks
of the model
Object relational model
 A relational database model that accepts object oriented concepts as well.
 Constructs to deal with added data types.
 Allow attributes of tuples to have complex types, including non-atomic values such as nested relations
 Preserve relational foundations, in particular the declarative access to data, while extending modeling
power
 Upward compatibility with existing relational languages.
Fly HighAirlines - Database
 Managing 25 international & local airplanes.
 Assigning seats & arrangements when seat cancellation.
 Categorizing seats according to age groups.
 The following passenger information should be maintained:
 Name
 Address
 Contact information
 NIC NO
 Passport No.
 Cash or credit payment details should be real time management.
Comparing data models
Selected model - Justification
Relational database model is best suited model for the Fly High Airlines data base
management system.
An efficient procedure exists for guaranteeing a social database configuration is free of
peculiarities that may affect the trustworthiness and precision of the database.
Strong data typing and validity checks ensure data fall within acceptable ranges, and
required data are present.
Users can query any table in the database, and combine related tables using special join
functions to include relevant data contained in other tables in the results
Conclusion
 A Database model defines the logical design and structure of a database and defines
how data will be stored, accessed and updated in a database management system
 The hierarchy starts from the Root data, and expands like a tree, adding child nodes to
the parent nodes
 This model efficiently describes many real-world relationships like index of a book,
recipes etc.
 Network model data is organized more like a graph, and are allowed to have more than
one parent node.
 Relational model data is organized in two-dimensional tables and the relationship is
maintained by storing a common field
17Thakshayini. C J/IT/16/09/01
References
cs, 2014. Course central. [Online]
Available at: https://www.cs.sfu.ca/CourseCentral/354/zaiane/material/notes/Chapter8/node3.html
[Accessed 16 08 2018].
tutorialspoint, 2016. Tutorials point. [Online]
Available at: https://www.tutorialspoint.com/dbms/dbms_data_independence.htm
[Accessed 12 08 2018].
ThankYou
Thakshayini Chandramohan

Data models

  • 1.
  • 2.
    Content  Introduction todata models  Different data models  Fly High Airlines  Comparison- data models  Justification  Conclusion 2Thakshayini. C J/IT/16/09/01
  • 3.
    Data Data are theunique variables of information or distinct pieces of information to form information data should process in distinct way. Data model • Description of logical structure of database. • Basic entities to initiate abstraction • Explains the connections within different dat. • Express how the data stored. • Establishment of data process • Flat model is the very first data model. 3Thakshayini. C J/IT/16/09/01
  • 4.
    Importance of datamodels Data structure available manually or in real world are quiet complex and hard to retrieve distinct data. Using data models data structures can be explained in simple graphical representation. Understandable representation of data structure. Data models act as communication tools between end users, data administrator and others who refers. 4Thakshayini. C J/IT/16/09/01
  • 5.
    Data models Types ofdata models Network model Representation model Hierarchical model Object relational model Relational model Object oriented data model Thakshayini. C J/IT/16/09/01 5
  • 6.
    Hierarchical model  Oneto many relationship  Once built no further changes can be done.  Tree like structure Advantages  Specification  Only one parent record type. Disadvantages  No changes made at the middle of the process.  Complex problems may arise.
  • 7.
    Network model  Asystem demonstrate is a database display that is outlined as an adaptable way to deal with speaking to objects and their connections.  An exceptional component of the system demonstrate is its outline, which is seen as a diagram where relationship composes are circular segments and protest composes are hubs.  Dissimilar to other database models, the system model's diagram isn't restricted to be a cross section or pecking order; the progressive tree is supplanted by a chart, which takes into account more fundamental associations with the hubs Advantages  Basic Concept: Similar to the various leveled demonstrate, this model is basic and the usage is easy.  Capacity to Manage More Relationship Types: The system show can oversee balanced (1:1) and additionally many-to-many (N: N) connections.  Simple Access to Data: Accessing the information is less complex when contrasted with the various leveled show.
  • 8.
    Advantages(Network model)  InformationIndependence: Data autonomy is better in arrange models instead of the progressive models  Information Integrity: In a system demonstrate, there's dependably an association between the parent and the kid fragments since it relies upon the parent-kid relationship Disadvantages (Network model)  Framework Complexity: Each and every record must be kept up with the assistance of pointers, which influences the database to structure more intricate.  Utilitarian Flaws: Because an extraordinary number of pointers is basic, inclusion, updates, and erasure turn out to be more perplexing.  Absence of Structural Independence: An adjustment in structure requests an adjustment in the application also, which prompts absence of auxiliary autonomy.
  • 9.
    Object oriented datamodel  Inspire by object oriented programming languages.  Uses object oriented concepts.  Capable of storing large objects  Binary Large Objects like images, multi media are facilitate. Advantages  Simplified  Lack constrained between objects.  Reduce the semantic gaps.  Easy to get connect with object oriented programming languages
  • 10.
    Disadvantages Object oriented model Model is often provided through object oriented language such as (C++, Java).  Practically very complex and in applicable in many times.
  • 11.
    Relational model  Simplifiesthe database structure (data represented) by the used of tables and columns.  In use popularly amongst industry. Advantages  Relational Algebra: Relational database supports relational algebra and relational operations of the set theory  Dynamic views: In relational database model, view is not past of physical schema it is always dynamic.  Excellent data Security : Support the concept of users rights, meets security of databases.  Scaling up : Can be scatted up to new hardware technology Inconsistency & data redundancy are considered as drawbacks of the model
  • 12.
    Object relational model A relational database model that accepts object oriented concepts as well.  Constructs to deal with added data types.  Allow attributes of tuples to have complex types, including non-atomic values such as nested relations  Preserve relational foundations, in particular the declarative access to data, while extending modeling power  Upward compatibility with existing relational languages.
  • 13.
    Fly HighAirlines -Database  Managing 25 international & local airplanes.  Assigning seats & arrangements when seat cancellation.  Categorizing seats according to age groups.  The following passenger information should be maintained:  Name  Address  Contact information  NIC NO  Passport No.  Cash or credit payment details should be real time management.
  • 14.
  • 15.
    Selected model -Justification Relational database model is best suited model for the Fly High Airlines data base management system. An efficient procedure exists for guaranteeing a social database configuration is free of peculiarities that may affect the trustworthiness and precision of the database. Strong data typing and validity checks ensure data fall within acceptable ranges, and required data are present. Users can query any table in the database, and combine related tables using special join functions to include relevant data contained in other tables in the results
  • 16.
    Conclusion  A Databasemodel defines the logical design and structure of a database and defines how data will be stored, accessed and updated in a database management system  The hierarchy starts from the Root data, and expands like a tree, adding child nodes to the parent nodes  This model efficiently describes many real-world relationships like index of a book, recipes etc.  Network model data is organized more like a graph, and are allowed to have more than one parent node.  Relational model data is organized in two-dimensional tables and the relationship is maintained by storing a common field
  • 17.
    17Thakshayini. C J/IT/16/09/01 References cs,2014. Course central. [Online] Available at: https://www.cs.sfu.ca/CourseCentral/354/zaiane/material/notes/Chapter8/node3.html [Accessed 16 08 2018]. tutorialspoint, 2016. Tutorials point. [Online] Available at: https://www.tutorialspoint.com/dbms/dbms_data_independence.htm [Accessed 12 08 2018].
  • 18.