6 DBMS
6 DBMS
https://www.statista.com/statistics/80975
0/worldwide-popularity-ranking-
database-management-systems/
Data Model in DBMS
▪ Data model describes how a database's logical structure is
represented
▪ In a DBMS, data models are essential for introducing abstraction
▪ Data models specify how data is linked to one another, as well as how
it is handled and stored within the system.
Why use Data Model?
▪ Ensures that all data objects required by the database are accurately
represented to produce correct results
▪ Helps design the database
▪ Helps to define the relationship between tables, primary and foreign
keys and stored procedures
▪ Provides a clear picture of the data to developers
▪ Helps business to communicate within and across the organizations
Data Modeling vs Data Model vs Data
Abstraction
▪ Data modeling
❑ A process of creating a data model to
represent the data, the association
between different data and the rules.
▪ Data models
❑ Simple representations of complex real-
world data structures
▪ Classified data models by three level
of abstraction
❑ View level: user’s view
❑ Conceptual/logical level: designer’s view
❑ Internal level: DBMS view
Three Levels of ANSI-SPARC Architecture
User’s view
Designer’s view
DBMS’s view
Evolution of Data Models
▪ Hierarchical
▪ Network
▪ Relational
▪ Object-oriented
▪ Graph
▪ Entity-Relationship (ER) model
▪ Document databases
▪ NoSQL databases – not only SQL
Network Model
Hierarchical Model
Object-Oriented Model
▪ https://www.youtube.com/watch?app=desktop&v=OwQoj3GJfNY
Entity-Relationship Model
▪ Collection of basic objects
called entities, attributes
and its relationships
▪ Represented by ER Diagram
Relation/table Attributes/fields
Relational Model
▪ A relational database is a collection of normalized
tables
❑ Tables represent both data and relationships
Tuple/row
▪ A relation is a table with columns and rows.
▪ An attribute is a named column of a relation
relationship
▪ A tuple is a row of a relation.
▪ A domain is a set of allowable values for one or
more attributes.
▪ The degree of a relation is the number of attributes
it contains. The cardinality of a relation is the
number of tuples it contains.
DBMS vs
RDBMS
Questions
▪ What is the different between data, database and dbms?
▪ Discuss different types of data model
▪ Discuss reasons for understanding files systems, even though they are largely
obsolete.
▪ Explain the need to understand the shortcomings of file system
▪ Explain that the DBMS has advantages over file system management and
illustrate the differences.
▪ Explain that the current generation DBMS software stores the data structures and
the relationships between them
▪ Explain what a DBMS is.
▪ Explain the functions of a DBMS
References
▪ Connolly, T. & Begg, C., Database Systems: A Practical Approach to
Design, Implementation, and Management
▪ Coronel, C. & Morris, S., Database Systems: Design, Implementation,
& Management
▪ https://mrcet.com/downloads/digital_notes/ECE/III%20Year/DATABA
SE%20MANAGEMENT%20SYSTEMS.pdf
▪ https://www.slideshare.net/UsmanTariq38/data-models-205903853