1.2: Database Systems, An Architectural Overview Flashcards
Discuss the different kinds of data abstraction in the three-level database architecture. Distinguish between data dependence and data independence. Classify database languages and explain their uses. Explain the software architecture of a DBMS.
Three-Level Database Architecture
External Schema
Conceptual Schema
Physical Schema
External Schema (External / View Levels)
Views of separate user groups (DB that is relevant for users/user groups.
Conceptual Schema (Conceptual / Logical Level)
Information about existing data and relationships in the DB (information about entities)
Physical Schema (Physical / Internal Level)
Describes how data are physically stored on disk. (data structures, algorithms)
Database Schema
Describes the structure/design of DB
Database State
A concrete instance of DB.
Data Independence
Property that higher levels of the model are NOT influenced by changes of lower levels.
Logical Data Independence
changes in CONCEPTUAL schema do not have impact on External Schema
Physical Data Independence
changes of the PHYSICAL schema do NOT impact Conceptual Schema, or External
Data Definition Language (DDL)
allows:
manipulate a database schema
(meta) data for the description of a schema. (data dict, sys catalog)
permits specification of implementation details (add certain requirements)
Data Manipulation Language (DML)
non-procedual language - user specifies WHICH data are searched for but not HOW data can be found.
allows:
query language - for the retrieval of data objects in a database
“actual” data manipulation language for the change, insertion, deletion of stored data
What are the types of database languages
Data Definition Language (DDL)
Data Manipulation Language (DML)