Entity Relationship Modelling Flashcards
Advantages of a database approach
- Control of data redundancy
- Data consistency
- Sharing of data
- Improved data integrity and data independence
Disadvantages of database approach
- Complexity
- Cost of DBMS
- Cost of conversion
- Performance
- Higher impact of failure
Entity
A set of objects that share the same properties
Relationship
A set of meaningful associations between participating entities
Attribute
A piece of data that describes an entity
Primary key
A column that contains values that uniquely identify each row
What are the multiplicity constraints?
Cardinality and Participation
Cardinality
The maximum number of possible relationship occurrences in which a certain entity can participate in
Participation
If all or only some entity occurrences participate in a relationship
Recursive relationships
Where only one entity participates more than once but in different roles
Domain
A set of values that can be stored in a column of a database table