Module 2: Database Architecture, Models and Diagram Flashcards
A Good Data Name Is:
- related to business, not technical, characteristics
- meaningful and self-documenting
- unique
- readable
- composed of words from an approved list
- repeatable
- written in standard syntax
word or phrase with specific meaning
Term
association between two or more terms
Fact
Guidelines for Good Data Definition
- A concise description of essential data meaning
- Gathered in conjunction with systems requirements
- Accompanied by diagrams
- Achieved by consensus, and iteratively
person, place, object, event, concept (often corresponds to a row in a table)
Entity Instance
collection of entities (often corresponds to a table)
Entity Type
link between entities (corresponds to primary key-foreign key equivalences in related tables)
Relationship Instance
category of relationship… link between entity types
Relationship Type
properties or characteristics of an entity or relationship type (often corresponds to a field in a table)
Attributes
a special entity that is also a relationship
Associative
specify number of entity types involved
Relationship Degrees
specify how many of each entity type is allowed
Relationship Cardinalities
- are statements that define or constrain some aspect of the business
- are derived from policies, procedures, events, functions
Business Rules
Business rules assert _____.
business structure
Business rules are automated through _____.
DBMS software
A Good Business Rule
- declarative
- precise
- atomic
- consistent
- expressible
- distinct
- business-oriented
what, not how
Declarative
clear, agreed-upon meaning
Precise
one statement
Atomic
internally and externally
Consistent
structured, natural language
Expressible
non-redundant
Distinct
understood by business people
Business-oriented
a person, a place, an object, an event, or a concept in the user environment about which the organization wishes to maintain data
Entity
a collection of entities that share common properties or characteristics
Entity Type
a single occurence of an entity type
Entity Instance