Professional Documents
Culture Documents
Farzana Riaz
(Lecturer)
Date: ______________
Lecture Contents
• Data models
• Conceptual modeling
• Data Model:
• It should provide the basic concepts and notations that will allow database designers and
end-users unambiguously and accurately to communicate their understanding of the
organizational data.
• The purpose of a data model is to represent data and to make the data understandable.
• To reflect the ANSI-SPARC architecture discussed in previous lecture, we can identify three
related data models:
• External data model represents each user’s view of the organization, sometimes called the
Universe of Discourse (UoD)
• Conceptual data model represents the logical (or community) view that is DBMS
independent
• Internal data model represents the conceptual schema in such a way that it can be
understood by the DBMS.
o Object-based
o Record-based
o Physical
• The first two are used to describe data at the conceptual and external levels
• Object-based data models use concepts such as entities, attributes, and relationships.
o Entity–Relationship
o Semantic
o Functional
o Object-Oriented
• Each record type defines a fixed number of fields, each typically of a fixed length.
o In the relational model, data and relationships are represented as tables, each of which has a number
of columns with a unique name.
o In the network model, data is represented as collections of records, and relationships are represented
by sets.
o The records are organized as generalized graph structures with records appearing as nodes (also
called segments) and sets as edges in the graph.
o A hierarchical model can be represented as a tree graph, with records appearing as nodes
(also called segments) and sets as edges.
• Physical data models describe how data is stored in the computer, representing information
such as:
o Record Structures
o Record Orderings
o Access Paths
• There are not as many physical data models as logical data models.
• The most common ones being the unifying model and the frame memory.