Le C Ture N Ote Sfordbm S: Why Use A DBMS?
Le C Ture N Ote Sfordbm S: Why Use A DBMS?
Role of DBMS:
S etofprogram s
File
U sers S ystem Disk
While the DBMS will be another layer of software package placed between the file system and
set of application programs. The Role of DBMS can described by the following diagram at a
very high level.
A pplication P rogram s
DBM S
File S ystem
Disk
Role of DBMS
Le c ture N ote sForDBM S
Database schema: Overall design of the database. An analogy to the programming language
could be the definition of various variables with their data types. In case of relational database
management system the definition of table names, and their fields with data types will be the
database schema.
Database Instance: The collection of information stored in the database at a particular moment is
called database instance. An analogy to the programming languages would be the values stored
in the variables during the execution of programs. In case of relational database management
system the data stored in various tables at a particular time is the instance of the database.
View level
----
L ogicalL evel
P hysicalL evel