building data dictionary or repository for all information found during BAA
entity:
object or concept that is important to the business.
three kinds:
functional entity: independent of all other entities, can be defined without thinking about other entities. eg customer, product, order.
attributive entity: entity that its existence depends on another entity or contain repetitive information relating to fundamental entity. eg customer address, order item, you would not have an order without items, but you can not have an order item without an order.
associative entity: entity that connects two other entities. eg customer order, customer product. aka, join tables.
Normalization is the refinement of data relationships to remove repeating information, partial key dependencies, and nonkey dependencies.
Normalization methods:
direct method:
form 1:n relationships: create attributive entities.
form m:n relationships: create associative entities or relationship entities (new intermediate join entity), aka, results in two 1:m relationships.
tubular method:
recommended when data and relationships are not well defined.
define entities and relationships clearly; remove any dependencies that does not rely on the primary key
first form: remove repeating information, create attributive entities for 1:n relationships, associate entities for m:n relationships.
second form: remove partial key dependencies.
third form: remove nonkey dependencies.
the result is fundamental entities and relationship entities.