1. Gyanastra
  2. Database Systems
  3. ER Model
  4. Conceptual Modeling and ER Model
Free lesson, no account needed 6 min read 3 practice questions after it
Asked in past papers6 times
  • GATE CSE2024
  • ISRO2023
  • UGC NET2013201020052004

Database Systems · ER Model

Conceptual Modeling and ER Model

Overview

Conceptual modeling is a high-level, diagram-based view of a database design, used mainly to explain the design to people who do not know how a database is implemented.
The most popular conceptual modeling approach is ER (Entity Relationship) modeling, which represents entities, attributes, and relationships.
Below the conceptual level sit the representational (implementation) model, which uses relations (tables) and is used by programmers, and the physical (low-level) model, which describes how records are actually stored and accessed.

Key concepts

  • Conceptual modeling: a high-level view of a database design, used to explain the database to people who do not know how it is implemented. Its aim is communication with non-technical stakeholders.
  • High-level view / conceptual view: the diagram-based, non-technical view of the design, used when talking to people who do not understand the technical implementation.
  • ER modeling (Entity Relationship modeling): the most popular conceptual modeling approach; it represents the database design clearly and is very clear for a new person to understand.
    Other approaches exist, including enhanced ER modeling and UML, but the ER model is the standard and most widely used conceptual model.
  • Entities, attributes, relationships: the elements shown in conceptual diagrams. A Student is modeled as an entity; Name is an attribute of the student; a Student and a Course have a relationship — a student attends a course.
  • Representational model / implementation model: the next level, comparable to the charts used while building a house; it is used by programmers and generally uses relations, which mean tables. It is therefore commonly implemented using the relational model.
  • Physical / low-level model: the level at which details of record access and storage are discussed — how the table is stored on disk or memory, the structure of the record, data types and structure, how the record is placed in storage, and how many bytes must be skipped or read when retrieving a record.
  • Accessing a record: the process of reaching a record stored in a sequence of bytes, possibly by skipping the bytes occupied by earlier records.
Figure. Conceptual, representational and physical levels

How it works

  1. A database designer provides a system, for example to a school, and meets the head of the school to design the project.
  2. The designer avoids implementation terms (SQL, records, relations) with non-technical stakeholders and instead uses diagrams to show what will be stored in the database.
  3. The diagrams show entities (e.g. Student), attributes (e.g. Name), and relationships (e.g. Student attends Course). Explained clearly, these diagrams give the conceptual view.
  4. Conceptual modeling works like a model of a house shown before building: the plan is shown so interested people can understand it before implementation.
  5. At the representational/implementation level, programmers use relations (tables); this is the relational model.
  6. At the physical/low-level level, the table is implemented: storage on disk or memory, record structure, data types and structure, record placement, and byte skipping on retrieval.
  7. A table is not saved in memory as one picture of rows and columns; it is stored as a sequence of bytes — first record, then second, then third, and so on — and accessing the third record may require skipping the bytes occupied by the earlier records.

Three Modeling Levels

Shows the three modeling levels from conceptual to representational to physical, with their audiences and representations.

Worked examples

Example 1: School database discussion. The designer must design a database for a school; the head of the school is non-technical.
The designer does not say "We will create SQL tables and records and relations." Instead, the designer draws diagrams showing the entities, attributes, and relationships.
This is the conceptual view: it explains the design clearly without implementation details.

Example 2: Student and course. The diagram contains:

  • a Student entity,
  • with attributes such as Name (and other attributes),
  • a Course entity,
  • and an attends relationship connecting Student to Course.

This diagrammatic explanation is conceptual modeling.

Example 3: Storing and accessing records. A table is displayed as rows and columns but is not stored as a complete table image in memory. It is stored as a sequence of bytes: record 1, then record 2, then record 3.
To access record 3, the system skips the bytes occupied by the preceding records. This byte-level view belongs to the physical or low-level model.

Comparison

Modeling levelPurposeMain users / audienceRepresentation usedExample
Conceptual / high-level modelExplain the database design clearly to non-technical peoplePeople who do not know database implementation; stakeholders such as a school headDiagrams of entities, attributes, and relationshipsStudent entity, Name attribute, Student attends Course relationship
Representational / implementation modelRepresent the database for programmers and query processingProgrammersRelations, i.e. tablesRelational model with tables
Physical / low-level modelDescribe how data is actually stored and accessedImplementers dealing with storageRecords, bytes, data types, record structure, byte skippingStoring records one after another and skipping bytes to access a later record

Revision summary

  • Conceptual modeling is for communication, not implementation: never use SQL, record, or relation terminology with non-technical stakeholders — use diagrams.
  • ER modeling (Entity Relationship modeling) is the most popular conceptual model; enhanced ER modeling and UML are other approaches.
  • The representational/implementation model uses relations (tables) and is also called the relational model.
  • A table is not stored as an entire table image; it is stored as a sequence of bytes, record by record.
  • Accessing the third record may require skipping the bytes occupied by earlier records — this is byte-level, physical-model detail.
  • ER diagrams play a role in database design comparable to UML class diagrams in software design.

Previous-year exam insights

  • The ER model captures a static view of the data (entities, attributes, relationships and constraints); it does not model dynamic/functional behaviour such as operations, processes or state transitions.
    Asked inISRO 2023
  • An ER model / ER diagram includes entity types, their attributes, the relationships among entity types, and semantic integrity constraints (business rules such as cardinality/participation constraints) that may not be fully expressible in the diagram.
    Asked inUGC NET 2013
  • An ER diagram is a tool for representing a data model (the conceptual data model), not a process, event or customer model.
    Asked inUGC NET 2005
  • In generalization, common attributes of entity types are abstracted into a higher-level superclass, so the differences among the members of the generalized entity are minimized (specialization, the reverse, maximizes differences).
    Asked inUGC NET 2010
  • ER constructs to know: entity types (strong/weak), attributes (simple/composite, single-valued/multivalued, derived, key), relationship types with degree (unary/binary/ternary), and structural constraints (cardinality ratio 1:1, 1:N, M:N and total/partial participation).
  • Extended (enhanced) ER features: specialization/generalization hierarchies with disjoint/overlapping and total/partial constraints, aggregation (treating a relationship as a higher-level entity), and categories/union types.
Pages 1–2 of 2