Docsity

Database Systems Lecture Notes: Three-Level Architecture and External View, Slides of Distributed Database Management Systems

Partial preview of the text

Download Database Systems Lecture Notes: Three-Level Architecture and External View and more Slides Distributed Database Management Systems in PDF only on Docsity!

In the name of

ALLAH

Introduction to

Database Systems

Lecture 3 (14-02-12)

Spring 12

Three Level

Architecture

A basis for understanding DBMS functionalities Three levels at which data can be described

Objective

Separate users view from the physical representation

Why? Different views of same data Consolidated representation Both ways easy change

The Architecture

Refers to permanent structure or intention of database Depicted by three schemas or three models

Level 1

External View

  • The way users think about data

External View

Users may have different views of the same data e.g. date, time etc.

External View

Virtual/calculated data: that is not actually stored in the database but is created when needed e.g. age, statistical data etc.

External View

User’s external view is created after considering data access, reports, and the transactions needs.

External View

External schema evolves as user needs are modified over time

In the name of

ALLAH

Introduction to

Database Systems

Lecture 4 (16-02-12)

Sprinf

Conceptual Schema

The entire information structure of the database, as seen by the DBA

The community view of data

Conceptual Schema

All entities, attributes and their relationships are represented here