SlideShare a Scribd company logo
Classification of Database
Management Systems
2
 The most popular data model in use today is the
relational data model.
 Well-known DBMSs like Oracle, MS SQL Server, DB2
and MySQL support this model.
 Other traditional models, such as
 hierarchical data models
 network data models, etc…
 They are not commonly used due to their complexity.
These are all referred to as traditional models because
they preceded the relational model.
Classification of Database Management Systems
2
3
1. Increased effectiveness –
 The data model increases the effectiveness of the database.
Because the data it contains is very real, reliable and extensible.
2. Reduced costs –
 We can build database applications through data models at a very
low cost. For the data model, we have to spend only 10 percent of
the project budget. With which we save 70 percent of the budget.
3. simplicity –
 data models are designed so that there is no problem in accessing
the database. Its interface is very simple so that most of them are
able to use it easily.
Classification of Database Management Systems
3
Advantage of a data model
4
4. Minimum redundancy –
 Redundancy means “duplication of data” ie the same type of data being
present in two places.
 It is very harmful to have duplicate data that is stored unnecessarily in
the database. The data models that are used greatly reduce redundancy.
5. data integrity –
 Data models do not allow any user to access the database without the
owner’s permission. Any user can access the database only when he
proves his integrity.
6. In data independence –
 Data-models, any data is independent of the database. Even if a change
Classification of Database Management Systems
4
Advantage of a data model
5
7. faster performance –
 If the data model is good then the performance of the database becomes
very fast. Because the database is built according to the data models.
8. Reduced errors –
 DBMS has two types of errors –
 1) database application error
 2) data error.
 The data model reduces both these errors very much and it improves the
quality of the data.
9. Reduced risk –
 Through the data-model, we can reduce the risks of the database. The data-
model estimates the complexity of the database and analyzes the entire list
Classification of Database Management Systems
5
Advantage of a data model
Types of Data Model
Advantage vs Disadvantages
7
 Hierarchical Database model
 In this model, there is a parent-child relationship. In this model,
each entity has only one parent and many abstract children. There
is only one entity in this model that we call root.
Classification of Database Management Systems
7
8
 Hierarchical Database model
Advantage of the hierarchical model
 It promotes data sharing.
 There is a parent/child relationship due to which its concepts are
simple.
 It provides database security.
 It takes 1 to many relationships.
A disadvantage of the hierarchical model
 It is not flexible
 It does not have a data definition and data manipulation
languages.
Classification of Database Management Systems
8
9
 NETWORK DATABASE MODEL
 In a network model, data is organized into graphs. And it can have
more than one parent node.
 That is, there is more parent/child relationship in it. And in it, some
entity can access from multiple paths. So we can say that in this
model we store and access the data as a network.
Classification of Database Management Systems
9
10
 Network Database model
Advantage of a network model
 Its concept is as simple as the hierarchical model.
 There is more than one parent/child relationship.
 Data can be accessed easily in it.
 It provides data integrity.
 It contains a data definition language (DDL) and data manipulation
language (DML).
A disadvantage of the network model
 Its database structure is very complex (difficult) because all the records
in it are maintained using pointers.
 Changes in its structure require changes in all programs.
Classification of Database Management Systems
10
11
 RELATIONAL Database MODEL
 In this model, data is stored in relations i.e. tables and each relation has
rows and columns. A relational model is a group of tables in which data
and relationships are specified.
 In this, the data is stored in two-dimensional tables, the tables are also
called a relation. And the row of each table is called a tuple. The tuple
represents the entity and the column of the table represents the attribute.
Classification of Database Management Systems
11
12
 Relational Database model
Advantage of the relational model
 It is very flexible, it can easily make any kind of change.
 In this, the data is kept in tables, so its concept is very simple.
 It provides data integrity. That is, no user can access the database without
the owner’s permission.
A disadvantage of the relational model
 It requires powerful hardware computers, storage devices, and software.
 It is very easy to use but when a user stores data in it incorrectly then it
becomes very bad DBMS.
 This is a very simple model, due to its simplicity, some users create their
own database, causing the problem of data inconsistency, data duplication.
Classification of Database Management Systems
12
13
 E-R MODEL
 The full name of the E-R model is the entity-relationship model. It is a
graphical approach to database design. That is, the database is designed by
diagram and visual representation in it.
 It uses entity/relationship to display real-world objects.
Entity –
 In the ER model, an entity is a real-world object. The properties of entities are
called attributes.
 For example, a student is an entity in the database of SCHOOL.
Relationship –
 The association between entities is called a relationship.
The mapping cordialities define the very essence association-
 one to one
 one to many
Classification of Database Management Systems
13
14
Advantage of the E-R model
 The E-R model is very simple if we know the relationship between
entities and attributes.
 This model is presented as a diagram. With which we can
understand easily.
 There is no data manipulation.
 Its design is of a high level.
Classification of Database Management Systems
14
Data Modelling
Data Modeling
Data modeling: is a technique for
organizing and documenting a system’s
DATA.
 Data modeling is sometimes called
database modeling because a data
model is usually implemented as a
database.
Entity Relational Diagram (ERD)
 An ERD depicts data in terms of the entities and relationships
described by the data.
Entities
 An entity is something about which we
want to store data.
 An entity is a class of persons, places,
objects, events, or concepts about which
we need to capture and store data.
 An entity instance is a single occurrence
of an entity.
Attributes - Identification
 An attribute is a descriptive property or characteristic of an
entity. Synonyms include element, property, and field
 Every entity must have an identifier or key.
 An key is an attribute, or a group of attributes, which
assumes a unique value for each entity instance. It is
sometimes called an identifier.
 Sometimes more than one attribute is required to uniquely
identify an instance of an entity.
 A group of attributes that uniquely identifies an instance of
an entity is called a concatenated key. Synonyms include
composite key and compound key.
Relationships
 A relationship is a natural business association that
exists between one or more entities. The relationship
may represent an event that links the entities, or
merely a logical affinity that exists between the
entities.
A connecting line between two entities on an
ERD represents a relationship.
A verb phrase describes the relationship.
 All relationships are implicitly bidirectional,
meaning that they can interpreted in both
directions.
06.5.18
06.5.18
Cardinality
 Each relationship on an ERD also depicts the
complexity or degree of each relationship, and
this is called cardinality.
 Cardinality defines the minimum and
maximum number of occurrences of one
entity for a single occurrence of the related
entity.
 Because all relationships are bi-directional,
cardinality must be defined in both directions
for every relationship.
Cardinality
Interpretation
Minimum
Instances
Maximum
Instances
Graphic Notation
Exactly one 1 1
Zero or one 0 1
One or more 1 many ( > 1 )
Zero, one, or more 0 many ( > 1 )
More than one > 1 > 1
Figure 5.3
Foreign Keys
 A relationship implies that instances of one entity are
related to instances of another entity.
 To be able to identify those instances for any given entity,
the primary key of one entity must be migrated into the
other entity as a foreign key.
 A foreign key is a primary key of one entity that is
contributed to (duplicated in) another entity for the
purpose of identifying instances of a relationship. A
foreign key (always in a child entity) always matches the
primary key (in a parent entity).
06.5.18
One customer must be associated with
cero or multiples orders
06.5.18
(A: SOLVE CARDINALITY:)
(B: SOLVE CARDINALITY:)
How to Construct Data Models
 1st Step - Entity Discovery
 The first task is to discover those fundamental entities in the system.
 A true entity has multiple instances—dozens, hundreds, thousands, or more!
 Entities should be named with nouns that describe the person, event, place, or
tangible thing about which we want to store data.
Try not to abbreviate or use acronyms.
Names should be singular so as to distinguish the logical concept of the entity
from the actual instances of the entity.
 Define each entity in business terms.
Don’t define the entity in technical terms, and don’t define it as ‘data about …’.
Your entity names and definitions should establish an initial glossary of
business terminology that will serve both you and future analysts and users for
years to come.
 2nd Step - The Context Data Model
 The second task in data modeling is to construct the context data model.
The context data model includes the fundamental or independent
entities that were previously discovered.
• An independent entity is one which exists regardless of the
existence of any other entity. Its primary key contain no attributes
that would make it dependent on the existence of another entity.
Relationships should be named with verb phrases that, when
combined with the entity names, form simple business sentences or
assertions.
• If only one-way naming is used, always name the relationship from
parent-to-child.
How to Construct Data Models
06.5.18
How to Construct Data Models
 3rd Step - The Key-Based Data Model
 The third task is to identify the keys of each entity.
 If you cannot define keys for an entity, it may be that the entity doesn’t really exist—
that is, multiple occurrences of the so-called entity do not exist.
How to Construct Data Models
 4th Step - Generalized Hierarchies
 At this time, it would be useful to identify any generalization
hierarchies in a business problem.
 the process of generalizing entities, where the generalized entities
contain the properties of all the generalized entities, is called
generalization.
How to Construct Data Models
 5th Step - The Fully Attributed Data Model
 The fifth task is to identify the remaining data attributes.
 Each attribute should be mapped to only one entity.
 Foreign keys are the exception – they identify associated instances of
related entities.
How to Construct Data Models
06.5.18
 6th Step - The Fully Described Model
 The last task is to fully describe the data model.
 Most tools provide extensive facilities for describing the data
types, domains, and defaults for all attributes to the repository.
 Additional descriptive properties may be recorded for attributes
such as:
Who should be able to create, delete, update, and access each
attribute?
How long should each attribute (or entity) be kept before the
data is deleted or archived?
How to Construct Data Models
Copyright
Ad

More Related Content

What's hot (20)

3 Level Architecture
3 Level Architecture3 Level Architecture
3 Level Architecture
Adeel Rasheed
 
Presentation on Database management system
Presentation on Database management systemPresentation on Database management system
Presentation on Database management system
Prerana Bhattarai
 
Data models
Data modelsData models
Data models
Usman Tariq
 
Integrity Constraints
Integrity ConstraintsIntegrity Constraints
Integrity Constraints
madhav bansal
 
DBMS - Relational Model
DBMS - Relational ModelDBMS - Relational Model
DBMS - Relational Model
Ovais Imtiaz
 
The Relational Database Model
The Relational Database ModelThe Relational Database Model
The Relational Database Model
Shishir Aryal
 
Relational Data Model Introduction
Relational Data Model IntroductionRelational Data Model Introduction
Relational Data Model Introduction
Nishant Munjal
 
Database Design Slide 1
Database Design Slide 1Database Design Slide 1
Database Design Slide 1
ahfiki
 
Types dbms
Types dbmsTypes dbms
Types dbms
Avnish Shaw
 
Introduction: Databases and Database Users
Introduction: Databases and Database UsersIntroduction: Databases and Database Users
Introduction: Databases and Database Users
sontumax
 
Database concepts
Database conceptsDatabase concepts
Database concepts
Harry Potter
 
All data models in dbms
All data models in dbmsAll data models in dbms
All data models in dbms
Naresh Kumar
 
Database language
Database languageDatabase language
Database language
University of Science and Technology Chitttagong
 
4 the relational data model and relational database constraints
4 the relational data model and relational database constraints4 the relational data model and relational database constraints
4 the relational data model and relational database constraints
Kumar
 
Introduction to Database
Introduction to DatabaseIntroduction to Database
Introduction to Database
Siti Ismail
 
Schema
SchemaSchema
Schema
Pragya Srivastava
 
Database architecture
Database architectureDatabase architecture
Database architecture
VENNILAV6
 
Dbms database models
Dbms database modelsDbms database models
Dbms database models
sanjeev kumar suman
 
Dbms ppt
Dbms pptDbms ppt
Dbms ppt
Chinnu Shimna
 
Introduction to database
Introduction to databaseIntroduction to database
Introduction to database
Arpee Callejo
 
3 Level Architecture
3 Level Architecture3 Level Architecture
3 Level Architecture
Adeel Rasheed
 
Presentation on Database management system
Presentation on Database management systemPresentation on Database management system
Presentation on Database management system
Prerana Bhattarai
 
Integrity Constraints
Integrity ConstraintsIntegrity Constraints
Integrity Constraints
madhav bansal
 
DBMS - Relational Model
DBMS - Relational ModelDBMS - Relational Model
DBMS - Relational Model
Ovais Imtiaz
 
The Relational Database Model
The Relational Database ModelThe Relational Database Model
The Relational Database Model
Shishir Aryal
 
Relational Data Model Introduction
Relational Data Model IntroductionRelational Data Model Introduction
Relational Data Model Introduction
Nishant Munjal
 
Database Design Slide 1
Database Design Slide 1Database Design Slide 1
Database Design Slide 1
ahfiki
 
Introduction: Databases and Database Users
Introduction: Databases and Database UsersIntroduction: Databases and Database Users
Introduction: Databases and Database Users
sontumax
 
All data models in dbms
All data models in dbmsAll data models in dbms
All data models in dbms
Naresh Kumar
 
4 the relational data model and relational database constraints
4 the relational data model and relational database constraints4 the relational data model and relational database constraints
4 the relational data model and relational database constraints
Kumar
 
Introduction to Database
Introduction to DatabaseIntroduction to Database
Introduction to Database
Siti Ismail
 
Database architecture
Database architectureDatabase architecture
Database architecture
VENNILAV6
 
Introduction to database
Introduction to databaseIntroduction to database
Introduction to database
Arpee Callejo
 

Similar to Week 3 Classification of Database Management Systems & Data Modeling (20)

Database System Concepts AND architecture [Autosaved].pptx
Database System Concepts AND architecture [Autosaved].pptxDatabase System Concepts AND architecture [Autosaved].pptx
Database System Concepts AND architecture [Autosaved].pptx
Koteswari Kasireddy
 
DBMS-2.pptx
DBMS-2.pptxDBMS-2.pptx
DBMS-2.pptx
kingVox
 
Unit-1-DBMS-SUN-4 everything you need to know.pptx
Unit-1-DBMS-SUN-4 everything you need to know.pptxUnit-1-DBMS-SUN-4 everything you need to know.pptx
Unit-1-DBMS-SUN-4 everything you need to know.pptx
nirajsharmapuneiat
 
DBMS-7.pptx
DBMS-7.pptxDBMS-7.pptx
DBMS-7.pptx
kingVox
 
DBMS DATA MANAGEMENT SYSTEM ppt Cs403 rtc
DBMS DATA MANAGEMENT SYSTEM ppt Cs403 rtcDBMS DATA MANAGEMENT SYSTEM ppt Cs403 rtc
DBMS DATA MANAGEMENT SYSTEM ppt Cs403 rtc
thivakarana06
 
ppt_rdbms.pdfuvuguvuvugycycyctcucuvyvvuvuvy
ppt_rdbms.pdfuvuguvuvugycycyctcucuvyvvuvuvyppt_rdbms.pdfuvuguvuvugycycyctcucuvyvvuvuvy
ppt_rdbms.pdfuvuguvuvugycycyctcucuvyvvuvuvy
vk5985399
 
What Is Super Key In Dbms
What Is Super Key In DbmsWhat Is Super Key In Dbms
What Is Super Key In Dbms
Theresa Singh
 
DBMS Lecture1.ppt
DBMS Lecture1.pptDBMS Lecture1.ppt
DBMS Lecture1.ppt
IpsitaSaha9
 
Database Management System(UNIT 1)
Database Management System(UNIT 1)Database Management System(UNIT 1)
Database Management System(UNIT 1)
Dr. SURBHI SAROHA
 
Database Management System(UNIT 1)
Database Management System(UNIT 1)Database Management System(UNIT 1)
Database Management System(UNIT 1)
Dr. SURBHI SAROHA
 
Cse ii ii sem
Cse ii ii semCse ii ii sem
Cse ii ii sem
MdwebdevDev
 
Database Concepts
Database ConceptsDatabase Concepts
Database Concepts
Upendra Reddy Vuyyuru
 
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
 
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
 
Data models
Data modelsData models
Data models
Hira Bukhari
 
Data models
Data modelsData models
Data models
Hira Bukhari
 
Database Concepts & SQL(1).pdf
Database Concepts & SQL(1).pdfDatabase Concepts & SQL(1).pdf
Database Concepts & SQL(1).pdf
rsujeet169
 
DBMS
DBMSDBMS
DBMS
Rai Saheb Bhanwar Singh College Nasrullaganj
 
Database management system by Gursharan singh
Database management system by Gursharan singhDatabase management system by Gursharan singh
Database management system by Gursharan singh
Gursharan Singh
 
DBMS_(MySql).ppsx database sql file my sql codes
DBMS_(MySql).ppsx database sql file my sql codesDBMS_(MySql).ppsx database sql file my sql codes
DBMS_(MySql).ppsx database sql file my sql codes
wannabekrishna0
 
Database System Concepts AND architecture [Autosaved].pptx
Database System Concepts AND architecture [Autosaved].pptxDatabase System Concepts AND architecture [Autosaved].pptx
Database System Concepts AND architecture [Autosaved].pptx
Koteswari Kasireddy
 
DBMS-2.pptx
DBMS-2.pptxDBMS-2.pptx
DBMS-2.pptx
kingVox
 
Unit-1-DBMS-SUN-4 everything you need to know.pptx
Unit-1-DBMS-SUN-4 everything you need to know.pptxUnit-1-DBMS-SUN-4 everything you need to know.pptx
Unit-1-DBMS-SUN-4 everything you need to know.pptx
nirajsharmapuneiat
 
DBMS-7.pptx
DBMS-7.pptxDBMS-7.pptx
DBMS-7.pptx
kingVox
 
DBMS DATA MANAGEMENT SYSTEM ppt Cs403 rtc
DBMS DATA MANAGEMENT SYSTEM ppt Cs403 rtcDBMS DATA MANAGEMENT SYSTEM ppt Cs403 rtc
DBMS DATA MANAGEMENT SYSTEM ppt Cs403 rtc
thivakarana06
 
ppt_rdbms.pdfuvuguvuvugycycyctcucuvyvvuvuvy
ppt_rdbms.pdfuvuguvuvugycycyctcucuvyvvuvuvyppt_rdbms.pdfuvuguvuvugycycyctcucuvyvvuvuvy
ppt_rdbms.pdfuvuguvuvugycycyctcucuvyvvuvuvy
vk5985399
 
What Is Super Key In Dbms
What Is Super Key In DbmsWhat Is Super Key In Dbms
What Is Super Key In Dbms
Theresa Singh
 
DBMS Lecture1.ppt
DBMS Lecture1.pptDBMS Lecture1.ppt
DBMS Lecture1.ppt
IpsitaSaha9
 
Database Management System(UNIT 1)
Database Management System(UNIT 1)Database Management System(UNIT 1)
Database Management System(UNIT 1)
Dr. SURBHI SAROHA
 
Database Management System(UNIT 1)
Database Management System(UNIT 1)Database Management System(UNIT 1)
Database Management System(UNIT 1)
Dr. SURBHI SAROHA
 
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 Concepts & SQL(1).pdf
Database Concepts & SQL(1).pdfDatabase Concepts & SQL(1).pdf
Database Concepts & SQL(1).pdf
rsujeet169
 
Database management system by Gursharan singh
Database management system by Gursharan singhDatabase management system by Gursharan singh
Database management system by Gursharan singh
Gursharan Singh
 
DBMS_(MySql).ppsx database sql file my sql codes
DBMS_(MySql).ppsx database sql file my sql codesDBMS_(MySql).ppsx database sql file my sql codes
DBMS_(MySql).ppsx database sql file my sql codes
wannabekrishna0
 
Ad

More from oudesign (20)

Week 8 multicultural images OUacademicTech
Week 8 multicultural images OUacademicTechWeek 8 multicultural images OUacademicTech
Week 8 multicultural images OUacademicTech
oudesign
 
ITS-35505-Amazing_photoshop_slideshow
ITS-35505-Amazing_photoshop_slideshowITS-35505-Amazing_photoshop_slideshow
ITS-35505-Amazing_photoshop_slideshow
oudesign
 
CST 20363 Session 7 - Blockchain
CST 20363 Session 7 - BlockchainCST 20363 Session 7 - Blockchain
CST 20363 Session 7 - Blockchain
oudesign
 
CST 20363 Session 6 Cybersecurity Policy
CST 20363 Session 6 Cybersecurity PolicyCST 20363 Session 6 Cybersecurity Policy
CST 20363 Session 6 Cybersecurity Policy
oudesign
 
CST 20363 Session 6 Cyberspace
CST 20363 Session 6 CyberspaceCST 20363 Session 6 Cyberspace
CST 20363 Session 6 Cyberspace
oudesign
 
CST 20363 Session 5 Robotics
CST 20363 Session 5 RoboticsCST 20363 Session 5 Robotics
CST 20363 Session 5 Robotics
oudesign
 
CST 20363 Session 3
CST 20363 Session 3CST 20363 Session 3
CST 20363 Session 3
oudesign
 
CST 20363 Session 4 Computer Logic Design
CST 20363 Session 4 Computer Logic DesignCST 20363 Session 4 Computer Logic Design
CST 20363 Session 4 Computer Logic Design
oudesign
 
CST 20363 Session 2
CST 20363 Session 2CST 20363 Session 2
CST 20363 Session 2
oudesign
 
CST 20363-Session 1.2-A Brief History of Computing
CST 20363-Session 1.2-A Brief History of ComputingCST 20363-Session 1.2-A Brief History of Computing
CST 20363-Session 1.2-A Brief History of Computing
oudesign
 
CST-20363-Session 1.1-Something Called CS
CST-20363-Session 1.1-Something Called CSCST-20363-Session 1.1-Something Called CS
CST-20363-Session 1.1-Something Called CS
oudesign
 
CST-20363-Session 1-In the Bitginning
CST-20363-Session 1-In the BitginningCST-20363-Session 1-In the Bitginning
CST-20363-Session 1-In the Bitginning
oudesign
 
Synthetic Division
Synthetic DivisionSynthetic Division
Synthetic Division
oudesign
 
Week 7 Database Development Process
Week 7 Database Development ProcessWeek 7 Database Development Process
Week 7 Database Development Process
oudesign
 
Week 6 Normalization
Week 6 NormalizationWeek 6 Normalization
Week 6 Normalization
oudesign
 
Week 4 The Relational Data Model & The Entity Relationship Data Model
Week 4 The Relational Data Model & The Entity Relationship Data ModelWeek 4 The Relational Data Model & The Entity Relationship Data Model
Week 4 The Relational Data Model & The Entity Relationship Data Model
oudesign
 
Week 2 Characteristics & Benefits of a Database & Types of Data Models
Week 2 Characteristics & Benefits of a Database & Types of Data ModelsWeek 2 Characteristics & Benefits of a Database & Types of Data Models
Week 2 Characteristics & Benefits of a Database & Types of Data Models
oudesign
 
Week 1 Lab Directions
Week 1 Lab DirectionsWeek 1 Lab Directions
Week 1 Lab Directions
oudesign
 
Week 1 Before the Advent of Database Systems & Fundamental Concepts
Week 1 Before the Advent of Database Systems & Fundamental ConceptsWeek 1 Before the Advent of Database Systems & Fundamental Concepts
Week 1 Before the Advent of Database Systems & Fundamental Concepts
oudesign
 
ACG 7000 Week 5 Developmental Psychology
ACG 7000 Week 5 Developmental PsychologyACG 7000 Week 5 Developmental Psychology
ACG 7000 Week 5 Developmental Psychology
oudesign
 
Week 8 multicultural images OUacademicTech
Week 8 multicultural images OUacademicTechWeek 8 multicultural images OUacademicTech
Week 8 multicultural images OUacademicTech
oudesign
 
ITS-35505-Amazing_photoshop_slideshow
ITS-35505-Amazing_photoshop_slideshowITS-35505-Amazing_photoshop_slideshow
ITS-35505-Amazing_photoshop_slideshow
oudesign
 
CST 20363 Session 7 - Blockchain
CST 20363 Session 7 - BlockchainCST 20363 Session 7 - Blockchain
CST 20363 Session 7 - Blockchain
oudesign
 
CST 20363 Session 6 Cybersecurity Policy
CST 20363 Session 6 Cybersecurity PolicyCST 20363 Session 6 Cybersecurity Policy
CST 20363 Session 6 Cybersecurity Policy
oudesign
 
CST 20363 Session 6 Cyberspace
CST 20363 Session 6 CyberspaceCST 20363 Session 6 Cyberspace
CST 20363 Session 6 Cyberspace
oudesign
 
CST 20363 Session 5 Robotics
CST 20363 Session 5 RoboticsCST 20363 Session 5 Robotics
CST 20363 Session 5 Robotics
oudesign
 
CST 20363 Session 3
CST 20363 Session 3CST 20363 Session 3
CST 20363 Session 3
oudesign
 
CST 20363 Session 4 Computer Logic Design
CST 20363 Session 4 Computer Logic DesignCST 20363 Session 4 Computer Logic Design
CST 20363 Session 4 Computer Logic Design
oudesign
 
CST 20363 Session 2
CST 20363 Session 2CST 20363 Session 2
CST 20363 Session 2
oudesign
 
CST 20363-Session 1.2-A Brief History of Computing
CST 20363-Session 1.2-A Brief History of ComputingCST 20363-Session 1.2-A Brief History of Computing
CST 20363-Session 1.2-A Brief History of Computing
oudesign
 
CST-20363-Session 1.1-Something Called CS
CST-20363-Session 1.1-Something Called CSCST-20363-Session 1.1-Something Called CS
CST-20363-Session 1.1-Something Called CS
oudesign
 
CST-20363-Session 1-In the Bitginning
CST-20363-Session 1-In the BitginningCST-20363-Session 1-In the Bitginning
CST-20363-Session 1-In the Bitginning
oudesign
 
Synthetic Division
Synthetic DivisionSynthetic Division
Synthetic Division
oudesign
 
Week 7 Database Development Process
Week 7 Database Development ProcessWeek 7 Database Development Process
Week 7 Database Development Process
oudesign
 
Week 6 Normalization
Week 6 NormalizationWeek 6 Normalization
Week 6 Normalization
oudesign
 
Week 4 The Relational Data Model & The Entity Relationship Data Model
Week 4 The Relational Data Model & The Entity Relationship Data ModelWeek 4 The Relational Data Model & The Entity Relationship Data Model
Week 4 The Relational Data Model & The Entity Relationship Data Model
oudesign
 
Week 2 Characteristics & Benefits of a Database & Types of Data Models
Week 2 Characteristics & Benefits of a Database & Types of Data ModelsWeek 2 Characteristics & Benefits of a Database & Types of Data Models
Week 2 Characteristics & Benefits of a Database & Types of Data Models
oudesign
 
Week 1 Lab Directions
Week 1 Lab DirectionsWeek 1 Lab Directions
Week 1 Lab Directions
oudesign
 
Week 1 Before the Advent of Database Systems & Fundamental Concepts
Week 1 Before the Advent of Database Systems & Fundamental ConceptsWeek 1 Before the Advent of Database Systems & Fundamental Concepts
Week 1 Before the Advent of Database Systems & Fundamental Concepts
oudesign
 
ACG 7000 Week 5 Developmental Psychology
ACG 7000 Week 5 Developmental PsychologyACG 7000 Week 5 Developmental Psychology
ACG 7000 Week 5 Developmental Psychology
oudesign
 
Ad

Recently uploaded (20)

Drupalcamp Finland – Measuring Front-end Energy Consumption
Drupalcamp Finland – Measuring Front-end Energy ConsumptionDrupalcamp Finland – Measuring Front-end Energy Consumption
Drupalcamp Finland – Measuring Front-end Energy Consumption
Exove
 
Manifest Pre-Seed Update | A Humanoid OEM Deeptech In France
Manifest Pre-Seed Update | A Humanoid OEM Deeptech In FranceManifest Pre-Seed Update | A Humanoid OEM Deeptech In France
Manifest Pre-Seed Update | A Humanoid OEM Deeptech In France
chb3
 
DevOpsDays Atlanta 2025 - Building 10x Development Organizations.pptx
DevOpsDays Atlanta 2025 - Building 10x Development Organizations.pptxDevOpsDays Atlanta 2025 - Building 10x Development Organizations.pptx
DevOpsDays Atlanta 2025 - Building 10x Development Organizations.pptx
Justin Reock
 
How Can I use the AI Hype in my Business Context?
How Can I use the AI Hype in my Business Context?How Can I use the AI Hype in my Business Context?
How Can I use the AI Hype in my Business Context?
Daniel Lehner
 
Enhancing ICU Intelligence: How Our Functional Testing Enabled a Healthcare I...
Enhancing ICU Intelligence: How Our Functional Testing Enabled a Healthcare I...Enhancing ICU Intelligence: How Our Functional Testing Enabled a Healthcare I...
Enhancing ICU Intelligence: How Our Functional Testing Enabled a Healthcare I...
Impelsys Inc.
 
Automation Dreamin' 2022: Sharing Some Gratitude with Your Users
Automation Dreamin' 2022: Sharing Some Gratitude with Your UsersAutomation Dreamin' 2022: Sharing Some Gratitude with Your Users
Automation Dreamin' 2022: Sharing Some Gratitude with Your Users
Lynda Kane
 
AI and Data Privacy in 2025: Global Trends
AI and Data Privacy in 2025: Global TrendsAI and Data Privacy in 2025: Global Trends
AI and Data Privacy in 2025: Global Trends
InData Labs
 
Complete Guide to Advanced Logistics Management Software in Riyadh.pdf
Complete Guide to Advanced Logistics Management Software in Riyadh.pdfComplete Guide to Advanced Logistics Management Software in Riyadh.pdf
Complete Guide to Advanced Logistics Management Software in Riyadh.pdf
Software Company
 
Leading AI Innovation As A Product Manager - Michael Jidael
Leading AI Innovation As A Product Manager - Michael JidaelLeading AI Innovation As A Product Manager - Michael Jidael
Leading AI Innovation As A Product Manager - Michael Jidael
Michael Jidael
 
Role of Data Annotation Services in AI-Powered Manufacturing
Role of Data Annotation Services in AI-Powered ManufacturingRole of Data Annotation Services in AI-Powered Manufacturing
Role of Data Annotation Services in AI-Powered Manufacturing
Andrew Leo
 
Mobile App Development Company in Saudi Arabia
Mobile App Development Company in Saudi ArabiaMobile App Development Company in Saudi Arabia
Mobile App Development Company in Saudi Arabia
Steve Jonas
 
SAP Modernization: Maximizing the Value of Your SAP S/4HANA Migration.pdf
SAP Modernization: Maximizing the Value of Your SAP S/4HANA Migration.pdfSAP Modernization: Maximizing the Value of Your SAP S/4HANA Migration.pdf
SAP Modernization: Maximizing the Value of Your SAP S/4HANA Migration.pdf
Precisely
 
Cyber Awareness overview for 2025 month of security
Cyber Awareness overview for 2025 month of securityCyber Awareness overview for 2025 month of security
Cyber Awareness overview for 2025 month of security
riccardosl1
 
Into The Box Conference Keynote Day 1 (ITB2025)
Into The Box Conference Keynote Day 1 (ITB2025)Into The Box Conference Keynote Day 1 (ITB2025)
Into The Box Conference Keynote Day 1 (ITB2025)
Ortus Solutions, Corp
 
Procurement Insights Cost To Value Guide.pptx
Procurement Insights Cost To Value Guide.pptxProcurement Insights Cost To Value Guide.pptx
Procurement Insights Cost To Value Guide.pptx
Jon Hansen
 
Buckeye Dreamin 2024: Assessing and Resolving Technical Debt
Buckeye Dreamin 2024: Assessing and Resolving Technical DebtBuckeye Dreamin 2024: Assessing and Resolving Technical Debt
Buckeye Dreamin 2024: Assessing and Resolving Technical Debt
Lynda Kane
 
2025-05-Q4-2024-Investor-Presentation.pptx
2025-05-Q4-2024-Investor-Presentation.pptx2025-05-Q4-2024-Investor-Presentation.pptx
2025-05-Q4-2024-Investor-Presentation.pptx
Samuele Fogagnolo
 
Automation Dreamin': Capture User Feedback From Anywhere
Automation Dreamin': Capture User Feedback From AnywhereAutomation Dreamin': Capture User Feedback From Anywhere
Automation Dreamin': Capture User Feedback From Anywhere
Lynda Kane
 
Asthma presentación en inglés abril 2025 pdf
Asthma presentación en inglés abril 2025 pdfAsthma presentación en inglés abril 2025 pdf
Asthma presentación en inglés abril 2025 pdf
VanessaRaudez
 
Linux Professional Institute LPIC-1 Exam.pdf
Linux Professional Institute LPIC-1 Exam.pdfLinux Professional Institute LPIC-1 Exam.pdf
Linux Professional Institute LPIC-1 Exam.pdf
RHCSA Guru
 
Drupalcamp Finland – Measuring Front-end Energy Consumption
Drupalcamp Finland – Measuring Front-end Energy ConsumptionDrupalcamp Finland – Measuring Front-end Energy Consumption
Drupalcamp Finland – Measuring Front-end Energy Consumption
Exove
 
Manifest Pre-Seed Update | A Humanoid OEM Deeptech In France
Manifest Pre-Seed Update | A Humanoid OEM Deeptech In FranceManifest Pre-Seed Update | A Humanoid OEM Deeptech In France
Manifest Pre-Seed Update | A Humanoid OEM Deeptech In France
chb3
 
DevOpsDays Atlanta 2025 - Building 10x Development Organizations.pptx
DevOpsDays Atlanta 2025 - Building 10x Development Organizations.pptxDevOpsDays Atlanta 2025 - Building 10x Development Organizations.pptx
DevOpsDays Atlanta 2025 - Building 10x Development Organizations.pptx
Justin Reock
 
How Can I use the AI Hype in my Business Context?
How Can I use the AI Hype in my Business Context?How Can I use the AI Hype in my Business Context?
How Can I use the AI Hype in my Business Context?
Daniel Lehner
 
Enhancing ICU Intelligence: How Our Functional Testing Enabled a Healthcare I...
Enhancing ICU Intelligence: How Our Functional Testing Enabled a Healthcare I...Enhancing ICU Intelligence: How Our Functional Testing Enabled a Healthcare I...
Enhancing ICU Intelligence: How Our Functional Testing Enabled a Healthcare I...
Impelsys Inc.
 
Automation Dreamin' 2022: Sharing Some Gratitude with Your Users
Automation Dreamin' 2022: Sharing Some Gratitude with Your UsersAutomation Dreamin' 2022: Sharing Some Gratitude with Your Users
Automation Dreamin' 2022: Sharing Some Gratitude with Your Users
Lynda Kane
 
AI and Data Privacy in 2025: Global Trends
AI and Data Privacy in 2025: Global TrendsAI and Data Privacy in 2025: Global Trends
AI and Data Privacy in 2025: Global Trends
InData Labs
 
Complete Guide to Advanced Logistics Management Software in Riyadh.pdf
Complete Guide to Advanced Logistics Management Software in Riyadh.pdfComplete Guide to Advanced Logistics Management Software in Riyadh.pdf
Complete Guide to Advanced Logistics Management Software in Riyadh.pdf
Software Company
 
Leading AI Innovation As A Product Manager - Michael Jidael
Leading AI Innovation As A Product Manager - Michael JidaelLeading AI Innovation As A Product Manager - Michael Jidael
Leading AI Innovation As A Product Manager - Michael Jidael
Michael Jidael
 
Role of Data Annotation Services in AI-Powered Manufacturing
Role of Data Annotation Services in AI-Powered ManufacturingRole of Data Annotation Services in AI-Powered Manufacturing
Role of Data Annotation Services in AI-Powered Manufacturing
Andrew Leo
 
Mobile App Development Company in Saudi Arabia
Mobile App Development Company in Saudi ArabiaMobile App Development Company in Saudi Arabia
Mobile App Development Company in Saudi Arabia
Steve Jonas
 
SAP Modernization: Maximizing the Value of Your SAP S/4HANA Migration.pdf
SAP Modernization: Maximizing the Value of Your SAP S/4HANA Migration.pdfSAP Modernization: Maximizing the Value of Your SAP S/4HANA Migration.pdf
SAP Modernization: Maximizing the Value of Your SAP S/4HANA Migration.pdf
Precisely
 
Cyber Awareness overview for 2025 month of security
Cyber Awareness overview for 2025 month of securityCyber Awareness overview for 2025 month of security
Cyber Awareness overview for 2025 month of security
riccardosl1
 
Into The Box Conference Keynote Day 1 (ITB2025)
Into The Box Conference Keynote Day 1 (ITB2025)Into The Box Conference Keynote Day 1 (ITB2025)
Into The Box Conference Keynote Day 1 (ITB2025)
Ortus Solutions, Corp
 
Procurement Insights Cost To Value Guide.pptx
Procurement Insights Cost To Value Guide.pptxProcurement Insights Cost To Value Guide.pptx
Procurement Insights Cost To Value Guide.pptx
Jon Hansen
 
Buckeye Dreamin 2024: Assessing and Resolving Technical Debt
Buckeye Dreamin 2024: Assessing and Resolving Technical DebtBuckeye Dreamin 2024: Assessing and Resolving Technical Debt
Buckeye Dreamin 2024: Assessing and Resolving Technical Debt
Lynda Kane
 
2025-05-Q4-2024-Investor-Presentation.pptx
2025-05-Q4-2024-Investor-Presentation.pptx2025-05-Q4-2024-Investor-Presentation.pptx
2025-05-Q4-2024-Investor-Presentation.pptx
Samuele Fogagnolo
 
Automation Dreamin': Capture User Feedback From Anywhere
Automation Dreamin': Capture User Feedback From AnywhereAutomation Dreamin': Capture User Feedback From Anywhere
Automation Dreamin': Capture User Feedback From Anywhere
Lynda Kane
 
Asthma presentación en inglés abril 2025 pdf
Asthma presentación en inglés abril 2025 pdfAsthma presentación en inglés abril 2025 pdf
Asthma presentación en inglés abril 2025 pdf
VanessaRaudez
 
Linux Professional Institute LPIC-1 Exam.pdf
Linux Professional Institute LPIC-1 Exam.pdfLinux Professional Institute LPIC-1 Exam.pdf
Linux Professional Institute LPIC-1 Exam.pdf
RHCSA Guru
 

Week 3 Classification of Database Management Systems & Data Modeling

  • 2. 2  The most popular data model in use today is the relational data model.  Well-known DBMSs like Oracle, MS SQL Server, DB2 and MySQL support this model.  Other traditional models, such as  hierarchical data models  network data models, etc…  They are not commonly used due to their complexity. These are all referred to as traditional models because they preceded the relational model. Classification of Database Management Systems 2
  • 3. 3 1. Increased effectiveness –  The data model increases the effectiveness of the database. Because the data it contains is very real, reliable and extensible. 2. Reduced costs –  We can build database applications through data models at a very low cost. For the data model, we have to spend only 10 percent of the project budget. With which we save 70 percent of the budget. 3. simplicity –  data models are designed so that there is no problem in accessing the database. Its interface is very simple so that most of them are able to use it easily. Classification of Database Management Systems 3 Advantage of a data model
  • 4. 4 4. Minimum redundancy –  Redundancy means “duplication of data” ie the same type of data being present in two places.  It is very harmful to have duplicate data that is stored unnecessarily in the database. The data models that are used greatly reduce redundancy. 5. data integrity –  Data models do not allow any user to access the database without the owner’s permission. Any user can access the database only when he proves his integrity. 6. In data independence –  Data-models, any data is independent of the database. Even if a change Classification of Database Management Systems 4 Advantage of a data model
  • 5. 5 7. faster performance –  If the data model is good then the performance of the database becomes very fast. Because the database is built according to the data models. 8. Reduced errors –  DBMS has two types of errors –  1) database application error  2) data error.  The data model reduces both these errors very much and it improves the quality of the data. 9. Reduced risk –  Through the data-model, we can reduce the risks of the database. The data- model estimates the complexity of the database and analyzes the entire list Classification of Database Management Systems 5 Advantage of a data model
  • 6. Types of Data Model Advantage vs Disadvantages
  • 7. 7  Hierarchical Database model  In this model, there is a parent-child relationship. In this model, each entity has only one parent and many abstract children. There is only one entity in this model that we call root. Classification of Database Management Systems 7
  • 8. 8  Hierarchical Database model Advantage of the hierarchical model  It promotes data sharing.  There is a parent/child relationship due to which its concepts are simple.  It provides database security.  It takes 1 to many relationships. A disadvantage of the hierarchical model  It is not flexible  It does not have a data definition and data manipulation languages. Classification of Database Management Systems 8
  • 9. 9  NETWORK DATABASE MODEL  In a network model, data is organized into graphs. And it can have more than one parent node.  That is, there is more parent/child relationship in it. And in it, some entity can access from multiple paths. So we can say that in this model we store and access the data as a network. Classification of Database Management Systems 9
  • 10. 10  Network Database model Advantage of a network model  Its concept is as simple as the hierarchical model.  There is more than one parent/child relationship.  Data can be accessed easily in it.  It provides data integrity.  It contains a data definition language (DDL) and data manipulation language (DML). A disadvantage of the network model  Its database structure is very complex (difficult) because all the records in it are maintained using pointers.  Changes in its structure require changes in all programs. Classification of Database Management Systems 10
  • 11. 11  RELATIONAL Database MODEL  In this model, data is stored in relations i.e. tables and each relation has rows and columns. A relational model is a group of tables in which data and relationships are specified.  In this, the data is stored in two-dimensional tables, the tables are also called a relation. And the row of each table is called a tuple. The tuple represents the entity and the column of the table represents the attribute. Classification of Database Management Systems 11
  • 12. 12  Relational Database model Advantage of the relational model  It is very flexible, it can easily make any kind of change.  In this, the data is kept in tables, so its concept is very simple.  It provides data integrity. That is, no user can access the database without the owner’s permission. A disadvantage of the relational model  It requires powerful hardware computers, storage devices, and software.  It is very easy to use but when a user stores data in it incorrectly then it becomes very bad DBMS.  This is a very simple model, due to its simplicity, some users create their own database, causing the problem of data inconsistency, data duplication. Classification of Database Management Systems 12
  • 13. 13  E-R MODEL  The full name of the E-R model is the entity-relationship model. It is a graphical approach to database design. That is, the database is designed by diagram and visual representation in it.  It uses entity/relationship to display real-world objects. Entity –  In the ER model, an entity is a real-world object. The properties of entities are called attributes.  For example, a student is an entity in the database of SCHOOL. Relationship –  The association between entities is called a relationship. The mapping cordialities define the very essence association-  one to one  one to many Classification of Database Management Systems 13
  • 14. 14 Advantage of the E-R model  The E-R model is very simple if we know the relationship between entities and attributes.  This model is presented as a diagram. With which we can understand easily.  There is no data manipulation.  Its design is of a high level. Classification of Database Management Systems 14
  • 16. Data Modeling Data modeling: is a technique for organizing and documenting a system’s DATA.  Data modeling is sometimes called database modeling because a data model is usually implemented as a database.
  • 17. Entity Relational Diagram (ERD)  An ERD depicts data in terms of the entities and relationships described by the data.
  • 18. Entities  An entity is something about which we want to store data.  An entity is a class of persons, places, objects, events, or concepts about which we need to capture and store data.  An entity instance is a single occurrence of an entity.
  • 19. Attributes - Identification  An attribute is a descriptive property or characteristic of an entity. Synonyms include element, property, and field  Every entity must have an identifier or key.  An key is an attribute, or a group of attributes, which assumes a unique value for each entity instance. It is sometimes called an identifier.  Sometimes more than one attribute is required to uniquely identify an instance of an entity.  A group of attributes that uniquely identifies an instance of an entity is called a concatenated key. Synonyms include composite key and compound key.
  • 20. Relationships  A relationship is a natural business association that exists between one or more entities. The relationship may represent an event that links the entities, or merely a logical affinity that exists between the entities. A connecting line between two entities on an ERD represents a relationship. A verb phrase describes the relationship.  All relationships are implicitly bidirectional, meaning that they can interpreted in both directions.
  • 22. 06.5.18 Cardinality  Each relationship on an ERD also depicts the complexity or degree of each relationship, and this is called cardinality.  Cardinality defines the minimum and maximum number of occurrences of one entity for a single occurrence of the related entity.  Because all relationships are bi-directional, cardinality must be defined in both directions for every relationship.
  • 23. Cardinality Interpretation Minimum Instances Maximum Instances Graphic Notation Exactly one 1 1 Zero or one 0 1 One or more 1 many ( > 1 ) Zero, one, or more 0 many ( > 1 ) More than one > 1 > 1 Figure 5.3
  • 24. Foreign Keys  A relationship implies that instances of one entity are related to instances of another entity.  To be able to identify those instances for any given entity, the primary key of one entity must be migrated into the other entity as a foreign key.  A foreign key is a primary key of one entity that is contributed to (duplicated in) another entity for the purpose of identifying instances of a relationship. A foreign key (always in a child entity) always matches the primary key (in a parent entity).
  • 25. 06.5.18 One customer must be associated with cero or multiples orders
  • 26. 06.5.18 (A: SOLVE CARDINALITY:) (B: SOLVE CARDINALITY:)
  • 27. How to Construct Data Models  1st Step - Entity Discovery  The first task is to discover those fundamental entities in the system.  A true entity has multiple instances—dozens, hundreds, thousands, or more!  Entities should be named with nouns that describe the person, event, place, or tangible thing about which we want to store data. Try not to abbreviate or use acronyms. Names should be singular so as to distinguish the logical concept of the entity from the actual instances of the entity.  Define each entity in business terms. Don’t define the entity in technical terms, and don’t define it as ‘data about …’. Your entity names and definitions should establish an initial glossary of business terminology that will serve both you and future analysts and users for years to come.
  • 28.  2nd Step - The Context Data Model  The second task in data modeling is to construct the context data model. The context data model includes the fundamental or independent entities that were previously discovered. • An independent entity is one which exists regardless of the existence of any other entity. Its primary key contain no attributes that would make it dependent on the existence of another entity. Relationships should be named with verb phrases that, when combined with the entity names, form simple business sentences or assertions. • If only one-way naming is used, always name the relationship from parent-to-child. How to Construct Data Models
  • 30.  3rd Step - The Key-Based Data Model  The third task is to identify the keys of each entity.  If you cannot define keys for an entity, it may be that the entity doesn’t really exist— that is, multiple occurrences of the so-called entity do not exist. How to Construct Data Models
  • 31.  4th Step - Generalized Hierarchies  At this time, it would be useful to identify any generalization hierarchies in a business problem.  the process of generalizing entities, where the generalized entities contain the properties of all the generalized entities, is called generalization. How to Construct Data Models
  • 32.  5th Step - The Fully Attributed Data Model  The fifth task is to identify the remaining data attributes.  Each attribute should be mapped to only one entity.  Foreign keys are the exception – they identify associated instances of related entities. How to Construct Data Models
  • 33. 06.5.18  6th Step - The Fully Described Model  The last task is to fully describe the data model.  Most tools provide extensive facilities for describing the data types, domains, and defaults for all attributes to the repository.  Additional descriptive properties may be recorded for attributes such as: Who should be able to create, delete, update, and access each attribute? How long should each attribute (or entity) be kept before the data is deleted or archived? How to Construct Data Models