Section 2
Section 2
4. Logical design: In this step, you translate the conceptual model into a
logical data model. Use the relational model to convert entities,
attributes, and relationships into tables, fields, and keys in the relational
database. Determine constraints and relationships between the tables.
5. Physical design: In this step, you determine how the database will be
physically implemented on a specific system. Determine data types for
fields, define indexes, data partitioning, and optimize the performance
of the database.
6. Implementation and deployment: This step involves creating tables,
fields, and relationships in the actual database. Data is imported into
the database, and applications or user interfaces are developed to
access and interact with the database.
Components of ERD
‒ An Entity is real-world object, including object that are visible (visual entities, e.g.
students, clothes, motorbikes, ...) or invisible (abstract but identifiable entities, e.g.
department, product type, ...).
‒ An Entity Set in an ERD (Entity-Relationship Diagram) refers to a group of entities
with similar characteristics and attributes within a system. It represents a collection
of objects of the same type in a database.
‒ Entities in ERD are represented by rectangles (strong entities) or rectangles with 2
borders around each other (weak entities).
+ A strong entity in an ERD (Entity-Relationship Diagram) is an entity that exists
independently, has its own significance, and possesses its own primary key. It does not
depend on any other entity within the system.
+ A weak entity is an entity that does not exist independently and relies on a strong entity to
be identified and described. A weak entity does not have its own separate primary key but
instead uses a foreign key in combination with the primary key of the strong entity. A weak
entity cannot exist without a related strong entity.
Entity Relationship Diagram