Database Design Techniques, Notations and Terminology

database-designdatabase-diagramserdterminology

I'm taking a Database course and I'm a bit confused with the different types of graphical representations terminology of a database design.

Are Data Model, Crows Foot Notation, Crows Foot Model, ERD & ERM all the same. Where do they differ?

My understanding is as follows:

  • Crows Foot Notation – Graphically illustrate the relationship (ex. zero or many, one or many, one and only one, zero or one)between two or more entities.
  • Crows Foot Model – Is this the same as Crow's Foot Notation?
  • Entity-relationship Diagram (ERD) – Portray each entitie's name, attributes and keys. Do I need to display the dataypes as well? Does this also consist of the Crows Foot notation?
  • ERM – Is this the same as ERD.
  • Data Model – I assume this is very general. Would this consist of a depiction of an entity and its name, and arrows pointing to the entities it relates to?

Best Answer

There are basically just two things here:

  1. Your data model, which is the structure of your entities, attributes and relationships.

  2. The graphical representation of your data model.

Your data model may be high level (entities/relationships only) or lower level (add in attributes with details of data types) and it may be logical or physical. It all depends on what stage of your design process you're at. The point of a data model is to record your database design, which is just an expression of your business requirements for persisting data.

Crows foot and ERD etc. are just graphical conventions for showing your data model pictorially. The great thing about standards is that there's so many to choose from, and this is also true of graphical conventions. Read this wiki article for a sampling.

Which conventions you choose may depend on what you need to communicate about your model, or it might just depend on what conventions make sense to you.

Don't get too wound up about all the different terminology. It's all just your database design and how you choose to record and communicate it.