Conceptual Design Flashcards
What is a data model?
A data model is a set of concepts to describe the relationships between and constraints upon data.
What is a conceptual data model?
A conceptual data model is one that identifies the high-level data structure of a database. It is independent of the DBMS, application programs and physical considerations - purely conceptual.
What type of model is an Entity-Relationship Model?
Conceptual data model
What is a logical data model?
A logical data model describes the data in terms of data structures such as graphs, trees or relations. It is independent of a particular DBMS and its storage technology.
What type of model is a Relational Model?
Logical data model
What is a physical data model?
A physical data model describes how data is stored in the computer, representing record structures, record orderings and access paths. It is highly dependent on the target DBMS.
What steps might we take to design a database?
HINT: Conceptual, Logical, Physical
We use the ER data model to create a conceptual design, then a relational database model to logically string it together. Then, we create a file organisation and access path system to create a physical design, and finally implement it using our DBMS of choice.
What is the Entity-Relationship (ER) Model?
The ER model is a way to describe how data is related in a domain of knowledge. It is best used as a way to describe how the database will be laid out to end-users of the product.
What is the component of an ER model that refers to “a group of objects with the same properties”?
Entity
What is the component of an ER model that refers to “a meaningful or many meaningful associations between two or more entities”?
Relationships
What is the component of an ER model that refers to “a property of an entity or relationship”?
Attribute
What is the difference between an entity type and an entity occurrence?
Think of it like a class definition and an object instance - the entity type is what the entity is, whereas an occurrence is an instance of that entity.
What is the degree of a relationship?
The degree of a relationship - if you think back to Discrete Maths - is the number of participating edges/entity types in a relationship.
What is the difference between a recursive and a multiple relationship?
A recursive relationship is one where an attribute in one table is related to another attribute in the same table.
A multiple relationship is when two entities are associated through more than one relationship.
What is a composite attribute?
A composite attribute is made up of two or more attributes that collapse into one parent attribute. Typically denoted this way to represent the atomicity of data.