L1 Introduction Flashcards
1
Q
What are the three layers of abstraction in DBMS?
A
- physical: how data is stored.
- logical: based on a data model.
- view: what programs or user see.
2
Q
What are advantages of DBMS?
A
- It saves programmer time by providing a declarativequery language, e.g. SQL.
- It saves programmer time by automatically checking constraints.
- It saves maintenance time by ensuring data independence.
- It provides concurrent access to the database for multiple, simultaneous users.
- It provides automatic recovery from failure.
- It provides security to ensure appropriate access to data.
3
Q
What is a DBMS?
A
A DBMS is specialised software which is responsible for
efficient storage and retrieval of large amounts of data in
a database, allowing it to persist over long periods of time.
4
Q
What is physical data independence?
A
- Changes at one level of abstraction should not require changes at higher levels.
- Consists of two parts:
- physical data independence - the physical level may be changed without affecting the logical level.
-
growth independence - the independence of the view level from the addition of new structures to the database.
* Deletions of structures at the logical level disrupt views that reference them.
5
Q
What is a data model?
A
A data model is a set of tables, linked by relationships and is an abstract model that organizes elements of data and standardizes how they relate to one another and to properties of the real world entities.