SlideShare a Scribd company logo
3
Most read
4
Most read
14
Most read
Introduction to DBMS
Rajeev Srivastava
ToC
• Basic Terminology
• Database & DBMS
• Problems in Manual Database
• Applications of DBMS
• Functions/Characteristics of DBMS
• Advantages of DBMS
• DBMS Examples
• Database Systems Architecture
• Data Models
• Relational Model
• ER Model
• Cardinality Ratio of a Relation
• Database Design
• ER Model
RAJEEVS@CDAC.IN 2
Basic Terminology
• Data – Raw information,
A value representing an quality or quantity
A recorded fact.
• Information – Processed data
• Record – A collection of related data/information.
• Data Dictionary – Data dictionary is a detailed description of data objects exists in a system.
• Data Warehouse – Centralized repository of data from one or more sources and used for
reporting and data analysis.
RAJEEVS@CDAC.IN 3
Database & DBMS
Database – A database is an organized collection of data, that can be easily accessed,
managed and manipulated.
OR
A database is a collection of interrelated data stored together without harmful or
unnecessary redundancy.
DBMS
A database management system(DBMS) is a software package used to store and manage
data.
RAJEEVS@CDAC.IN 4
Problems in Manual Database
• No sharing
• Data isolation
• Diffused responsibilities
• Poor coordination
• Data redundancy
• Weak (data) integrity
RAJEEVS@CDAC.IN 5
Functions/Characteristics of DBMS
• Data Representation
• Data Manipulation Management
• Performance
• Transaction Management
• Data Access Management
•Integrity Services
•Concurrency Control
•Catalogue Management
•Security Management
•Backup & Recovery Management
RAJEEVS@CDAC.IN 6
Advantages of DBMS
• Storage and Data Redundancy Management
• Increased Security
• Faster Retrieval
• Analysis Summary Reports
• Restricted Access
• Centralized Management and Control
• Data Sharing
RAJEEVS@CDAC.IN 7
Applications of DBMS
• Banking
• Railway
• Airlines
• Educational Organizations / University
• Data Warehouses
• And many more…
• Enterprise Business
• Manufacturing
• Sales
• Human Resource
• Payroll
• And many more…
RAJEEVS@CDAC.IN 8
Find at least 3 more
applications of DBMS
DBMS Examples
• Oracle
• Microsoft SQL Server
• IBM DB2
• SAP Sybase ASE
• Microsoft Access
• Ingres (Open Source)
• PostgreSQL (Open Source)
• MySQL (Open Source)
• MariaDB (Open Source)
• SQLite
• Teradata
• NoSQL Databases
•Couchbase
•Google Firebase
•MongoDB
•Cassandra
•Hbase
RAJEEVS@CDAC.IN 9
Find names of at
least 5 additional
popular DBMS
Find more about these
listed databases –
Type, Uses, Latest
Versions, Underlying
Data Modals, Owner
Companies etc.
Database System Architecture
Database System Architecture can be defined on three levels
• External Level (View Level ) – The way data will be represented to the end user. High Level
Architecture
• Conceptual Level (Logical Level) – Defines logical structure of the database in terms of
entities, relationships, attributes, datatypes etc.
• Internal Level (Physical Level) – Defines the way data is stored on physical storage. Low level
architecture.
RAJEEVS@CDAC.IN 10
Database Design Goals
• Accuracy-Integrity
• Consistency
• Speed/Performance - for all crud
operations
• Persistency
• Backup & Recovery
• Extensibility
• Scalability
• Error Correction
• Robustness
• ACID Support
• Ease of Use
• Portability
• Security
• Sharing
• Ability to Perform Complex
Calculations
Understand User/System’s Requirements
• Functional
• Reports
• Data Flow
• Data Format & Validity
• Data Security
Create Use Cases and Identify Data Needs for each Use Case
Data Modelling
• A Data Model is a plan. It’s a blueprint for building a Database.
• Convert Data Needs into a Data Model ([Interface Model ->] ER Model)
• Convert the ER Model to Relational Model
• Implement the Relational Model using RDBMS of your Choice.
à SQL
Data Models
• Data models defines how data in a database system get stored and
represented.
• A data model uses a set of construct or rules to provide a
representation of data content, structure and constraints required by an application.
Network Model – Data is represented in collection of records and relationship among records is
in form of links (similar to pointers).
Hierarchical Model – Data is represented in collection of records, and relationship among
records is represented in form of hierarchical trees.
Relational Model – Data is represented in tabular format. A table is comprises of rows and
columns.
Object Oriented Model – Data is represented in form of objects and based on the concept of
Object Oriented Programming (OOP) Concepts.
Hybrid Models – Ex. Object Relational Database Management Systems
RAJEEVS@CDAC.IN 14
Learn more about
these listed Data
Modals.
Find out few other
data models with
their examples
Relational [Database] Model
• First defined by Computer Scientist Edgar Frank Codd
in 1969.
• Mathematical model, based on Relational Algebra and
Predicate Logic.
• Very well defined and extremely mature model
in terms of data storage and representation.
• All RDBMS (Relational Database Management Systems) derived from Relational
model.
RAJEEVS@CDAC.IN 15
Entity Relationship (ER) Model
• Proposed by Peter Chen in 1970s.
• An object model.
• Graphical representation of the logical relationship among entities (or objects).
• Describes data aspects of a system under implementation on abstract level.
• Conceptual Model representing logical design of a database.
• Notations
• Chen Notation
• Crow-Foot Notation
• Bachman Notation
• Martin Notation
• IDEF1X Notation
RAJEEVS@CDAC.IN 16
Entity Relationship (ER) Model
Component Symbol Example
Entity Rectangle
Attribute Ellipse
Link between Entity and
Attribute
Line
Relationship Among Entities Diamond
RAJEEVS@CDAC.IN 17
Learn about various
symbols available in
different ER notations.
Cardinality Ratio of Relationship
Relationship among entities can be represented in following three ways –
• One-to-one
• One-to-many or Many-to-one
• Many-to-many
RAJEEVS@CDAC.IN 18
Find out at least 3
examples of each type
of Relationship in real
world
Simple ER Depiction
Employee Department
N 1
HODProject
M
N
1
1
EmpID
Name
Desig DeptID
DeptName
Location
Works
For
RAJEEVS@CDAC.IN 19
Identify Entities, Relation
among entities and Attributes
in a System/Business and
create an ER Diagram.
ER Diagram….more
• Entities are generally Nouns. Relationships are Verbs
• If every entity in a relationship set is must participate in a relationship, its known as Full
Participation – represented by double line.
• If an entity can participate in at most one instance of the relationship set its called as a Key
Constraint - an arrow is used to connect entity to the relationship.
• If an entity must be involved in exactly one instance of a relationship set to indicate both
participation and key constraint, its indicated through a double or thick arrow.
RAJEEVS@CDAC.IN 20
RAJEEVS@CDAC.IN 21
• Draw relationships from Left to Right and Top to Bottom. May be marked by arrow above/below the
relationship.
• Inheritance – is A – represented by a Triangle
• An entity that can not be identified by its attributes alone is called as Weak Entity. Its existence
depends on another entity – it is represented by double border rectangle.
• Multivalued attribute (an attribute representing more than one value for a single entity) is
represented by double line ellipse.
• Ternary or n-nary Relationship can be depicted in the same way as Binary.
• Notes and comments may be added to ERD. But it should be done in a clean way.
• The ultimate goal of creating an ERD is to help understanding the project. Hence easy
information representation should be given priority over technical correctness.
RAJEEVS@CDAC.IN 22
ER Diagram….more
ER Model to Relational Mapping
Example
RAJEEVS@CDAC.IN 23
Attributions:
• Database System Concepts – Abraham Silberschatz, Henry F. Korth, S. Sudarshan
• Beginning Database Design Solutions - Rod Stephens
RAJEEVS@CDAC.IN 24

More Related Content

What's hot (20)

PDF
Distributed implementation of a lstm on spark and tensorflow
Emanuel Di Nardo
 
PDF
OLTP vs OLAP
BI_Solutions
 
PPT
11. Storage and File Structure in DBMS
koolkampus
 
PPTX
Online analytical processing
nurmeen1
 
PPTX
Building an Effective Data Warehouse Architecture
James Serra
 
PPTX
DBMS - Database Management System
Krishna Patel
 
PPS
Oracle Database Overview
honglee71
 
PPT
Data mining 1
Krunal Doshi
 
PPTX
Database Performance Tuning
Arno Huetter
 
PPT
Star schema PPT
Swati Kulkarni Jaipurkar
 
ZIP
NoSQL databases
Harri Kauhanen
 
PPTX
Dimensional model | | Fact Tables | | Types
umair saeed
 
DOC
Data Mining
ksanthosh
 
PDF
Data Mining & Data Warehousing Lecture Notes
FellowBuddy.com
 
DOCX
Star schema
Chandanapriya Sathavalli
 
PPTX
Advanced DBMS presentation
Hindustan Petroleum
 
PPT
Dimensional Modeling
Sunita Sahu
 
PPT
Database administration and security
Dhani Ahmad
 
PPTX
Data Warehouse
Sana Alvi
 
PPTX
Data warehouse logical design
Er. Nawaraj Bhandari
 
Distributed implementation of a lstm on spark and tensorflow
Emanuel Di Nardo
 
OLTP vs OLAP
BI_Solutions
 
11. Storage and File Structure in DBMS
koolkampus
 
Online analytical processing
nurmeen1
 
Building an Effective Data Warehouse Architecture
James Serra
 
DBMS - Database Management System
Krishna Patel
 
Oracle Database Overview
honglee71
 
Data mining 1
Krunal Doshi
 
Database Performance Tuning
Arno Huetter
 
Star schema PPT
Swati Kulkarni Jaipurkar
 
NoSQL databases
Harri Kauhanen
 
Dimensional model | | Fact Tables | | Types
umair saeed
 
Data Mining
ksanthosh
 
Data Mining & Data Warehousing Lecture Notes
FellowBuddy.com
 
Advanced DBMS presentation
Hindustan Petroleum
 
Dimensional Modeling
Sunita Sahu
 
Database administration and security
Dhani Ahmad
 
Data Warehouse
Sana Alvi
 
Data warehouse logical design
Er. Nawaraj Bhandari
 

Similar to DBMS & Data Models - In Introduction (20)

PPT
introduction-to-dbms-unit-1.ppt
rekhasai2468
 
PPSX
oracle
Vilasita Nandamuri
 
PPSX
DBMS_(MySql).ppsx database sql file my sql codes
wannabekrishna0
 
PDF
DBMS Unit 1 nice content please download it
kelpwadwise
 
PPTX
Unit-1-DBMS-SUN-4 everything you need to know.pptx
nirajsharmapuneiat
 
PPTX
Database management system.pptx
AshmitKashyap1
 
PPTX
Database Management System
NILESH UCHCHASARE
 
PDF
Chapter – 2 Data Models.pdf
TamiratDejene1
 
PPT
Database Modelling Concepts - Chapter 1
Sridhar Baithi
 
PPTX
data base management sysytem a new apprach .pptx
urvashipundir04
 
PDF
ppt_rdbms.pdfuvuguvuvugycycyctcucuvyvvuvuvy
vk5985399
 
PPT
Database systems introduction
Balasingham Karthiban
 
PPTX
database management system anna universityUnit1.pptx
SatheeshKumar349161
 
PPTX
introduction to database system concepts
Rajasekhar364622
 
PPTX
DBMS-Unit-1.pptx
Bhavya304221
 
PPTX
DB Your score increases as you pick a category, fill out a long description a...
ssuserfdf7272
 
DOCX
What is the difference between Data and Information give an exa
victorring
 
PPSX
Abhishek_DBMS-ch1_Database_management.ppsx
SANJEETKUMAR378234
 
PPT
Database management system basics and it applications
RAJESH S
 
introduction-to-dbms-unit-1.ppt
rekhasai2468
 
DBMS_(MySql).ppsx database sql file my sql codes
wannabekrishna0
 
DBMS Unit 1 nice content please download it
kelpwadwise
 
Unit-1-DBMS-SUN-4 everything you need to know.pptx
nirajsharmapuneiat
 
Database management system.pptx
AshmitKashyap1
 
Database Management System
NILESH UCHCHASARE
 
Chapter – 2 Data Models.pdf
TamiratDejene1
 
Database Modelling Concepts - Chapter 1
Sridhar Baithi
 
data base management sysytem a new apprach .pptx
urvashipundir04
 
ppt_rdbms.pdfuvuguvuvugycycyctcucuvyvvuvuvy
vk5985399
 
Database systems introduction
Balasingham Karthiban
 
database management system anna universityUnit1.pptx
SatheeshKumar349161
 
introduction to database system concepts
Rajasekhar364622
 
DBMS-Unit-1.pptx
Bhavya304221
 
DB Your score increases as you pick a category, fill out a long description a...
ssuserfdf7272
 
What is the difference between Data and Information give an exa
victorring
 
Abhishek_DBMS-ch1_Database_management.ppsx
SANJEETKUMAR378234
 
Database management system basics and it applications
RAJESH S
 
Ad

Recently uploaded (20)

PDF
DevBcn - Building 10x Organizations Using Modern Productivity Metrics
Justin Reock
 
PPTX
Building Search Using OpenSearch: Limitations and Workarounds
Sease
 
PDF
Agentic AI lifecycle for Enterprise Hyper-Automation
Debmalya Biswas
 
PPTX
AI Penetration Testing Essentials: A Cybersecurity Guide for 2025
defencerabbit Team
 
PDF
The Rise of AI and IoT in Mobile App Tech.pdf
IMG Global Infotech
 
PPTX
Future Tech Innovations 2025 – A TechLists Insight
TechLists
 
PDF
Exolore The Essential AI Tools in 2025.pdf
Srinivasan M
 
PDF
Transcript: New from BookNet Canada for 2025: BNC BiblioShare - Tech Forum 2025
BookNet Canada
 
PDF
LOOPS in C Programming Language - Technology
RishabhDwivedi43
 
PDF
Smart Trailers 2025 Update with History and Overview
Paul Menig
 
PPTX
OpenID AuthZEN - Analyst Briefing July 2025
David Brossard
 
PDF
Advancing WebDriver BiDi support in WebKit
Igalia
 
PDF
Jak MŚP w Europie Środkowo-Wschodniej odnajdują się w świecie AI
dominikamizerska1
 
PDF
“NPU IP Hardware Shaped Through Software and Use-case Analysis,” a Presentati...
Edge AI and Vision Alliance
 
PPTX
Q2 FY26 Tableau User Group Leader Quarterly Call
lward7
 
DOCX
Python coding for beginners !! Start now!#
Rajni Bhardwaj Grover
 
PDF
Mastering Financial Management in Direct Selling
Epixel MLM Software
 
PDF
CIFDAQ Market Insights for July 7th 2025
CIFDAQ
 
PDF
Building Real-Time Digital Twins with IBM Maximo & ArcGIS Indoors
Safe Software
 
PDF
CIFDAQ Market Wrap for the week of 4th July 2025
CIFDAQ
 
DevBcn - Building 10x Organizations Using Modern Productivity Metrics
Justin Reock
 
Building Search Using OpenSearch: Limitations and Workarounds
Sease
 
Agentic AI lifecycle for Enterprise Hyper-Automation
Debmalya Biswas
 
AI Penetration Testing Essentials: A Cybersecurity Guide for 2025
defencerabbit Team
 
The Rise of AI and IoT in Mobile App Tech.pdf
IMG Global Infotech
 
Future Tech Innovations 2025 – A TechLists Insight
TechLists
 
Exolore The Essential AI Tools in 2025.pdf
Srinivasan M
 
Transcript: New from BookNet Canada for 2025: BNC BiblioShare - Tech Forum 2025
BookNet Canada
 
LOOPS in C Programming Language - Technology
RishabhDwivedi43
 
Smart Trailers 2025 Update with History and Overview
Paul Menig
 
OpenID AuthZEN - Analyst Briefing July 2025
David Brossard
 
Advancing WebDriver BiDi support in WebKit
Igalia
 
Jak MŚP w Europie Środkowo-Wschodniej odnajdują się w świecie AI
dominikamizerska1
 
“NPU IP Hardware Shaped Through Software and Use-case Analysis,” a Presentati...
Edge AI and Vision Alliance
 
Q2 FY26 Tableau User Group Leader Quarterly Call
lward7
 
Python coding for beginners !! Start now!#
Rajni Bhardwaj Grover
 
Mastering Financial Management in Direct Selling
Epixel MLM Software
 
CIFDAQ Market Insights for July 7th 2025
CIFDAQ
 
Building Real-Time Digital Twins with IBM Maximo & ArcGIS Indoors
Safe Software
 
CIFDAQ Market Wrap for the week of 4th July 2025
CIFDAQ
 
Ad

DBMS & Data Models - In Introduction

  • 2. ToC • Basic Terminology • Database & DBMS • Problems in Manual Database • Applications of DBMS • Functions/Characteristics of DBMS • Advantages of DBMS • DBMS Examples • Database Systems Architecture • Data Models • Relational Model • ER Model • Cardinality Ratio of a Relation • Database Design • ER Model [email protected] 2
  • 3. Basic Terminology • Data – Raw information, A value representing an quality or quantity A recorded fact. • Information – Processed data • Record – A collection of related data/information. • Data Dictionary – Data dictionary is a detailed description of data objects exists in a system. • Data Warehouse – Centralized repository of data from one or more sources and used for reporting and data analysis. [email protected] 3
  • 4. Database & DBMS Database – A database is an organized collection of data, that can be easily accessed, managed and manipulated. OR A database is a collection of interrelated data stored together without harmful or unnecessary redundancy. DBMS A database management system(DBMS) is a software package used to store and manage data. [email protected] 4
  • 5. Problems in Manual Database • No sharing • Data isolation • Diffused responsibilities • Poor coordination • Data redundancy • Weak (data) integrity [email protected] 5
  • 6. Functions/Characteristics of DBMS • Data Representation • Data Manipulation Management • Performance • Transaction Management • Data Access Management •Integrity Services •Concurrency Control •Catalogue Management •Security Management •Backup & Recovery Management [email protected] 6
  • 7. Advantages of DBMS • Storage and Data Redundancy Management • Increased Security • Faster Retrieval • Analysis Summary Reports • Restricted Access • Centralized Management and Control • Data Sharing [email protected] 7
  • 8. Applications of DBMS • Banking • Railway • Airlines • Educational Organizations / University • Data Warehouses • And many more… • Enterprise Business • Manufacturing • Sales • Human Resource • Payroll • And many more… [email protected] 8 Find at least 3 more applications of DBMS
  • 9. DBMS Examples • Oracle • Microsoft SQL Server • IBM DB2 • SAP Sybase ASE • Microsoft Access • Ingres (Open Source) • PostgreSQL (Open Source) • MySQL (Open Source) • MariaDB (Open Source) • SQLite • Teradata • NoSQL Databases •Couchbase •Google Firebase •MongoDB •Cassandra •Hbase [email protected] 9 Find names of at least 5 additional popular DBMS Find more about these listed databases – Type, Uses, Latest Versions, Underlying Data Modals, Owner Companies etc.
  • 10. Database System Architecture Database System Architecture can be defined on three levels • External Level (View Level ) – The way data will be represented to the end user. High Level Architecture • Conceptual Level (Logical Level) – Defines logical structure of the database in terms of entities, relationships, attributes, datatypes etc. • Internal Level (Physical Level) – Defines the way data is stored on physical storage. Low level architecture. [email protected] 10
  • 11. Database Design Goals • Accuracy-Integrity • Consistency • Speed/Performance - for all crud operations • Persistency • Backup & Recovery • Extensibility • Scalability • Error Correction • Robustness • ACID Support • Ease of Use • Portability • Security • Sharing • Ability to Perform Complex Calculations
  • 12. Understand User/System’s Requirements • Functional • Reports • Data Flow • Data Format & Validity • Data Security Create Use Cases and Identify Data Needs for each Use Case
  • 13. Data Modelling • A Data Model is a plan. It’s a blueprint for building a Database. • Convert Data Needs into a Data Model ([Interface Model ->] ER Model) • Convert the ER Model to Relational Model • Implement the Relational Model using RDBMS of your Choice. à SQL
  • 14. Data Models • Data models defines how data in a database system get stored and represented. • A data model uses a set of construct or rules to provide a representation of data content, structure and constraints required by an application. Network Model – Data is represented in collection of records and relationship among records is in form of links (similar to pointers). Hierarchical Model – Data is represented in collection of records, and relationship among records is represented in form of hierarchical trees. Relational Model – Data is represented in tabular format. A table is comprises of rows and columns. Object Oriented Model – Data is represented in form of objects and based on the concept of Object Oriented Programming (OOP) Concepts. Hybrid Models – Ex. Object Relational Database Management Systems [email protected] 14 Learn more about these listed Data Modals. Find out few other data models with their examples
  • 15. Relational [Database] Model • First defined by Computer Scientist Edgar Frank Codd in 1969. • Mathematical model, based on Relational Algebra and Predicate Logic. • Very well defined and extremely mature model in terms of data storage and representation. • All RDBMS (Relational Database Management Systems) derived from Relational model. [email protected] 15
  • 16. Entity Relationship (ER) Model • Proposed by Peter Chen in 1970s. • An object model. • Graphical representation of the logical relationship among entities (or objects). • Describes data aspects of a system under implementation on abstract level. • Conceptual Model representing logical design of a database. • Notations • Chen Notation • Crow-Foot Notation • Bachman Notation • Martin Notation • IDEF1X Notation [email protected] 16
  • 17. Entity Relationship (ER) Model Component Symbol Example Entity Rectangle Attribute Ellipse Link between Entity and Attribute Line Relationship Among Entities Diamond [email protected] 17 Learn about various symbols available in different ER notations.
  • 18. Cardinality Ratio of Relationship Relationship among entities can be represented in following three ways – • One-to-one • One-to-many or Many-to-one • Many-to-many [email protected] 18 Find out at least 3 examples of each type of Relationship in real world
  • 19. Simple ER Depiction Employee Department N 1 HODProject M N 1 1 EmpID Name Desig DeptID DeptName Location Works For [email protected] 19 Identify Entities, Relation among entities and Attributes in a System/Business and create an ER Diagram.
  • 20. ER Diagram….more • Entities are generally Nouns. Relationships are Verbs • If every entity in a relationship set is must participate in a relationship, its known as Full Participation – represented by double line. • If an entity can participate in at most one instance of the relationship set its called as a Key Constraint - an arrow is used to connect entity to the relationship. • If an entity must be involved in exactly one instance of a relationship set to indicate both participation and key constraint, its indicated through a double or thick arrow. [email protected] 20
  • 21. [email protected] 21 • Draw relationships from Left to Right and Top to Bottom. May be marked by arrow above/below the relationship. • Inheritance – is A – represented by a Triangle
  • 22. • An entity that can not be identified by its attributes alone is called as Weak Entity. Its existence depends on another entity – it is represented by double border rectangle. • Multivalued attribute (an attribute representing more than one value for a single entity) is represented by double line ellipse. • Ternary or n-nary Relationship can be depicted in the same way as Binary. • Notes and comments may be added to ERD. But it should be done in a clean way. • The ultimate goal of creating an ERD is to help understanding the project. Hence easy information representation should be given priority over technical correctness. [email protected] 22 ER Diagram….more
  • 23. ER Model to Relational Mapping Example [email protected] 23
  • 24. Attributions: • Database System Concepts – Abraham Silberschatz, Henry F. Korth, S. Sudarshan • Beginning Database Design Solutions - Rod Stephens [email protected] 24