2.Views Of Data
2.Views Of Data
Views Of Data:
It refers that how database is actually stored in database, what data and structure
of data used by database for data. So describe all this database provides user with views and these are
Data abstraction
Data abstraction:
As a data in database are stored with very complex data structure so when user
come and want to access any data, he will not be able to access data if he has go through this data structure. So to
simplify the interaction of user and database, DBMS hides some information's which is not of user interest, a this is
called data abstraction:- So developer hides complexity from user and store abstract view of data.
1.Physical level:- This is the lowest level of data abstraction which describe How data is actual stored in database.
This level basically describe the data structure and access path /indexing use for accessing file. Only the database
administrator operates at this level.
2.Logical level:- The next level of abstraction describe what data are stored in the database and what are the
relationship existed among those of data. It is the developer and database administrator who operates at the logical
or the conceptual level.
3.View level:- In this level user only interact with database and the complexity remain unview . user see data and
there may be many views of one data like chart and graph. Here, the user retrieves the information using different
application from the database
Instance and Schema in DBMS:
What is SCHEMA- Design of database is called the Schema. It is
basically skeleton structure that represent the logical view of entire database. It defines how data is organized and
how the relationship among them are associated. It formulates all the constraints that are to be applied on the
data. Database system has various schemas.
It describes how data will be stored in hard disc / secondary storage device.
The schema related to the actual storage of data and its form of storage like file,
indices.
2.Logical database schema: This schema define all the logical constraints that need to be applied
3.View Schema: It describes different views of database and sometime also called subschema.
Instance:
Example:
Table Student St_Name St_Id St_Gender
What Is an Instance---> Deepak 889 male