Data Abstraction Structure of DBMS - U1 - L2
Data Abstraction Structure of DBMS - U1 - L2
• The process of hiding irrelevant details from user is called Data Abstraction
Diagram
INSTANCE AND SCHEMA
• Databases change over time as information is inserted and deleted
• The collection of information stored in database at a particular moment is called
an Instance of the database.
• The overall design of the database is called the database schema
• Schemas change infrequently
• Types of schema
1. Physical schema- Design of database at physical level
2. Logical schema- Design of database at logical level
3. View schema (subschema)- Design of database at view level
• In general, database system supports one physical schema, one logical schema
and several subschemas
DATA INDEPENDENCE
• The ability to modify schema definition in one level without affecting a schema
definition in the next higher level is called data independence
• Two levels of data independence – physical data independence and logical data
independence
• Physical data independence is the ability to modify the physical schema without
causing application programs to be rewritten
• Necessary to improve performance of database
• Logical data independence is the ability to modify the logical schema without
causing application programs to be rewritten
• Logical data independence is more difficult to achieve than that of physical data
independence
OVERALL STRUCTURE OF DBMS