chapter 8-14 Flashcards
data modeling
a technique for organizing and documenting a systems data.
sometimes called database modeling
entity relationship diagram
a data model utilizing several notations to depict data in terms of the entities and relationships described by that data
entity
person, place, thing, etc that the business needs to capture and store data
attribute
a descriptive property or characteristic of an entity
compound attribute
an attribute that consists of other attributes
attribute value
the value of each attribute should be defined in:
data type, domain, default value
key
an attribute, or group of attributes, that assumes a unique value for each entity instance
concatenated key
group of attributes that uniquely identifies an instance
candidate key
an attribute that uniquely identifies an instance
primary key
a candidate key used to uniquely identify a single entity instance
cardinality
the minimum and maximum number of occurrences of one entity that may be related to a single occurrence of the other entity
degree
the number of entities that participate in the relationship
unary relationship
a relationship between different instances of the same entity
binary relationship
a relationship between two entities
ternary relationship
a relationship between three entities
associative entity
an entity that inherits its primary key from more than one other entity
foreign key
primary key of an entity that is used in another entity to identify instances of a relationship
what is a good data model?
a good data model is…
simple, non redundant, flexible and adaptable to future needs
data analysis
a technique used to improve a data model for implementation as a database
normalization
a data analysis technique that organizes data attributes such that they are grouped to form non redundant, stable, and adaptive entities
1NF
entity whose attributes have only one value for a single instance of that entity
2NF
entity whose non primary key attributes are dependent on the full primary key
no partial dependencies on a composite primary key
partial dependency
when a non key attribute is determined by a part but not the whole of a composite primary key
3NF
entity whose non primary key attributes are not dependent on any other non primary key attributes
no transitive dependency