Lecture 4 Flashcards
What is a Data Model ??
- A set of concepts to describe the structure of a database
- the operations for manipulating the structure of a database
- the constraints that the database should obey.
What are the 2 Categories/types of Data Models ?
1) Conceptual (high-level, semantic) data models
2) Physical (low-level, internal) data models
3) Implementation (representational) data models
what does the conceptual data type model do?
▪ Provide concepts that are close to the way many users perceive data.
what does the physical data type model do ?
▪ Provide concepts that describe details of how data is stored in the computer.
what does the Implementation (representational) data models do ?
▪ Provide concepts that fall between the conceptual and the physical data models
▪ used by many commercial DBMS implementations (e.g. relational data models used in many
commercial systems).
- Informally, a ……….. looks like a table of values.
- The data elements in each row represent certain facts that correspond to a real-world ……. or ……..
- In the formal model, rows are called ………
- In the formal model, the column header is called an ……….
- relation
-entity or relationship - rows are called tuples
- attribute)
The …………of a Relation:
- is Denoted by R(A1, A2, …..An)
- R is the name of the relation
- The attributes of the relation are A1, A2, …, An
- Schema (or description)
Each ………… has a domain or a set of valid values.
For example, the domain of Cust-id is 6 digit numbers.
attribute
A ………..is an ordered set of values (enclosed in angled
brackets ‘< … >’)
tuple