Chapter 2 Flashcards
(90 cards)
What is an entity?
- Entity instance - person, place, object, event, concept (often corresponds to a row in a table)
- Entity type - collection of entitities (often corresponds to a table)
What are relationships?
Relationship instance - link between entities (corresponds to primary key-foreign key equivaltencies in related tables)
Relationsihp type - category of relationship.. link between entity types
What are attributes?
Properties or characteristics of an entity or relationship type (often corresponds to a field in a table)
Sample E-R Diagram
Basic E-R notation (visualized)
What are business rules?
Statements that define or constrain some aspect of the business.
What are business rules derived from?
Policies, procedures, events, and functions
What are some aspects of business rules?
- Assert business structure
- Control/influence business behavior
How are business rules expressed/automated?
- They are expressed in terms that are familiar to end users
- Automated through DBMS software
What are the components of a good business rule?
- Declarative
- Precise
- Atomic
- Consistent
- Expressable
- Distinct
- Business-oriented
Business Rules - What does declarative mean?
What, not how
Business Rules - What does precise mean?
Clear, agreed-upon meaning
Business rules - What does atomic mean?
One statement
Business rules - What does consistent mean?
internally and externally consistent
Business Rules - What does expressible mean?
Structured, natural language
Business Rules - What does distinct mean?
non-redundant
Business Rules - What does business-oriented mean?
Understood by business people
What are the components of a good data name?
- Related to business, not technical, characteristics
- Meaningful and self-documenting
- Unique
- Readable
- Composed of words from an approved list
- Repeatable
- Written in standard syntax
What is a data definition?
Explanation of a term or fact
What is a term?
word or phrase with specific meaning
What is a fact?
association between two or more terms
What are the guidelines for good data definition?
- Concise description of essential data meaning
- Gathered in conjunction with systems requirements
- Accompanied by diagrams
- Achieved by consensus, and iteratively refined
What is an entity?
a person, place, object, event, or concept in the user environment about which the organization wishes to maintain data
What is an entity type?
A collection of entities that share common properties or characteristics.