Abstractions in DBMS

Post on 15-Apr-2017

50 views 4 download

Transcript of Abstractions in DBMS

Abstractions in DBMS

Introduction:

DBMS

Data Abstraction

First step in database design

Hiding irrelevant data

Why Data Abstraction?

Process of simplification in both virtual and real world

We Have Three Types

Physical Level

Logical LevelView Level

1. Physical Level

Lowest level of data abstraction

Describes how the data is stored

Records are stored in the blocks of memory

2. Logical LevelFurther higher level Describes how the data is

stored in a Database

May involve complex structures

No need to be aware of complexity

Used by database administrators

3. View Level

Highest level of data abstraction

To simplify the interaction with the

databaseUser is not aware how

the data is stored in the database

System may provide many views for one database

Lets take an example

Lets say we are storing a customers info……

1. At physical level

Data is stored in blocks of memory

May be hidden from programmer too

2. At logical level

Records described as attributes along with

its datatypes

3. At View level

User interacts with the GUI

unaware of the database

References:http://beginnersbook.com/2015/04/levels-of-abstraction-in-dbms/

http://whatis.techtarget.com/definition/data-abstraction

THANKYOU