DBMS 1
DBMS 1
DBMS
6th Semester
Dept. of CSE & AIML
Basic Terms
• Data: Raw facts which does not have meaning of its own.
• When data is processed it becomes an information
A file system is a software that manages and DBMS a software application. It is used for
organizes the files in a storage medium. It accessing, creating, and managing databases.
controls how data is stored and retrieved.
The file system provides the details of data DBMS gives an abstract view of data that hides
representation and storage of data. the details
Storing and retrieving of data can't be done DBMS is efficient to use as there are a wide
efficiently in a file system. variety of methods to store and retrieve data.
It does not offer data recovery processes. It has backup recovery for data in DBMS.
In a file management system, the redundancy of The redundancy of data is low in the DBMS
data is greater. system.
Data inconsistency is higher in the file system. Data inconsistency is low in a database
management system.
The file system offers lesser security. Database Management System offers high
security.
There is no efficient query processing in the file You can easily query data in a database using
system. the SQL language.
DBMS Architecture
• DBMS architecture helps in design, development,
implementation, and maintenance of a database.
Categories:
• High-level/Conceptual Data Model
• Low-level/Physical Data Model
• Representational/Implementational Data Model
Distinction
• The database schema changes very infrequently. The database
state changes every time the database is updated.
Schema Diagram of Student Database
Three-Schema Architecture
• Proposed to support DBMS characteristics of:
• Program-data independence: to separate the user application and
the physical database
• Multiple views of the data.
Three-Schema Architecture
Defines DBMS schemas at three levels:
Internal Level:
• It has Internal schema
and used to describe
physical storage
structures and access
paths.
• User-friendly interfaces
• Menu-based (Web-based), popular for browsing on the web
• Forms-based, designed for naïve users used to filling in entries on a
form
• Graphics-based
• Point and Click, Drag and Drop, etc.
• Stand-alone users:
• They maintain personal database by using ready-made
program packages that provide easy-to-use menu or
graphics-based interfaces.