2080 10

BIT253 ยท 2080 ยท 5 marks

Define conceptual data model. Explain logical database design in brief.

Define conceptual data model. Explain logical database design in brief. [5]

Systems Analysis and DesignChapter 6: Data Modeling and Database DesignLogical database design

Quick answer

A conceptual data model is a high-level, abstract representation of the data requirements of an organization, independent of any specific database management system (DBMS) or physical implementation details.

Conceptual Data Model and Logical Database Design


Conceptual Data Model (2 marks)

It describes what data is stored, the relationships among data, and the constraints on data, without concerning itself with how the data will be physically stored or accessed.

Key characteristics:

  • Technology and DBMS independent
  • Focuses on entities, attributes, and relationships
  • Expressed using tools like Entity-Relationship (ER) diagrams
  • Understandable by both technical and non-technical stakeholders

Example: An ER diagram showing Student, Course, and Enrollment entities with their relationships is a conceptual data model.


Logical Database Design (3 marks)

Logical database design is the process of translating the conceptual data model into a logical structure that can be implemented in a specific type of DBMS (such as a relational DBMS), but still independent of the physical storage details.

Steps in Logical Database Design:

  1. Mapping Entities to Tables (Relations)

    • Each entity in the ER diagram is converted into a relation (table).
    • Attributes of the entity become columns of the table.
  2. Defining Primary Keys

    • A unique identifier (primary key) is assigned to each table to uniquely identify each record.
  3. Handling Relationships

    • One-to-Many: The primary key of the "one" side is placed as a foreign key in the "many" side table.
    • Many-to-Many: A new junction/associative table is created with foreign keys from both related tables.
    • One-to-One: Foreign key is placed in either of the two tables.
  4. Normalization

    • The logical schema is refined by applying normalization (1NF, 2NF, 3NF, etc.) to eliminate data redundancy and update anomalies.
  5. Defining Integrity Constraints

    • Entity integrity, referential integrity, and domain constraints are defined.

Output of Logical Design:

A set of relation schemas with defined attributes, primary keys, and foreign keys, ready to be implemented in a relational DBMS.

Example:

Student (StudentID, Name, Address)
Course  (CourseID, CourseName, Credits)
Enrollment (StudentID, CourseID, Grade)

Note: Logical design bridges the gap between the abstract conceptual model and the physical implementation, ensuring data is organized efficiently and consistently.

Short on time? The 1, 5 and 10 mark versions of this answer, flashcards and practice sets come with a program pass.