Dbms 111
Dbms 111
Dbms 111
Subject with Code : Database Management Systems (20CS0505) Course & Branch : B.Tech - CSE
Year & Sem : II-B.Tech & I-Sem Regulation : R20
UNIT – I
INTRODUCTION TO DATABASE SYATEM AND DATA BASE DESIGN
It also maintains data consistency in case of multiple users. Here are some examples of popular
DBMS used these days:
MySql
Oracle
SQL Server
IBM DB2
Database systems are made-up of complex data structures. To ease the user interaction
with database, the developers hide internal irrelevant details from users. This process of
hiding irrelevant details from user is called data abstraction.
Logical level: This is the middle level of 3-level data abstraction architecture. It describes
what data is stored in database.
View level: Highest level of data abstraction. This level describes the user interaction with
database system.
3.a Why is the use of data independence? Explain by listing some of its major advantages?
Data independence is the ability to modify the scheme without affecting the programs
and the application to be rewritten. Data is separated from the programs, so that the
changes made to the data will not affect the program execution and the application.
There are two levels of data independence based on three levels of abstraction. These are as
follows −
• Physical Data Independence
• Logical Data Independence
Physical Data Independence means changing the physical level without affecting the
logical level or conceptual level. Using this property, we can change the storage device of
the database without affecting the logical schema.
The changes in the physical level may include changes using the following −
• A new storage device like magnetic tape, hard disk, etc.
• A new data structure for storage.
• A different data access method or using an alternative files organization technique.
Changing the location of the database.
Logical view of data is the user view of the data. It presents data in the form that can be
accessed by the end users.
Codd‘s Rule of Logical Data Independence says that users should be able to manipulate the
Logical View of data without any information of its physical storage. Software or the computer
program is used to manipulate the logical view of the data.
Database administrator is the one who decides what information is to be kept in the
database and how to use the logical level of abstraction. It provides the global view of
Data. It also describes what data is to be stored in the database along with the
relationship.
The data independence provides the database in simple structure. It is based on application
domain entities to provide the functional requirement. It provides abstraction of system
functional requirements. Static structure for the logical view is defined in the class object
diagrams. Users cannot manipulate the logical structure of the database.