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
Studentis modeled as an entity;Nameis an attribute of the student; aStudentand aCoursehave 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.
Drawing the diagram…
How it works
- A database designer provides a system, for example to a school, and meets the head of the school to design the project.
- 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.
- The diagrams show entities (e.g.
Student), attributes (e.g.Name), and relationships (e.g.StudentattendsCourse). Explained clearly, these diagrams give the conceptual view. - Conceptual modeling works like a model of a house shown before building: the plan is shown so interested people can understand it before implementation.
- At the representational/implementation level, programmers use relations (tables); this is the relational model.
- 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.
- 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
Drawing the diagram…
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
Studententity, - with attributes such as
Name(and other attributes), - a
Courseentity, - and an
attendsrelationship connectingStudenttoCourse.
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 level | Purpose | Main users / audience | Representation used | Example |
|---|---|---|---|---|
| Conceptual / high-level model | Explain the database design clearly to non-technical people | People who do not know database implementation; stakeholders such as a school head | Diagrams of entities, attributes, and relationships | Student entity, Name attribute, Student attends Course relationship |
| Representational / implementation model | Represent the database for programmers and query processing | Programmers | Relations, i.e. tables | Relational model with tables |
| Physical / low-level model | Describe how data is actually stored and accessed | Implementers dealing with storage | Records, bytes, data types, record structure, byte skipping | Storing 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.