Lecture DBMS0
Lecture DBMS0
to Database
Dr. Munesh
Singh Introduction to Database
Introduction
to Database
Dr. Munesh
Singh Syllabus
DBMS Course Mark Distribustion
Introduction
to Database
Dr. Munesh
Singh
Theory LAB
Quiz 1: 15 Marks Daily Evaluation: 30
Quiz 2: 15 Marks Marks
Discipline: 10 Marks Project: 20 Marks
Assignment: 10 Marks LAB Exam: 30 Marks
End Exam: 50 Marks Viva : 20 Marks
What is data in DBMS
Introduction
to Database
Dr. Munesh
Singh
What is Data?
Data means known facts that can be recorded ad that
have implicit meaning
In simple words Data is information
Daily activities uses data
Introduction
to Database
Dr. Munesh
Singh
Data Source
Banking system
Library system
Contact list
Ledger
Enquiry System
Billing System
Hotel Management
Hospital Management
Why Software?
Introduction
to Database
Dr. Munesh
Benefit of Software
Singh
Any software is made to manage data
Several benefits:
Less time
Less human resource
Accuracy
Free from manual error
Introduction
to Database
Dr. Munesh
Singh
Introduction
to Database
Dr. Munesh
Singh Data Persistence
Data persistence means existence of data
In any program we want to manage data
Data that is required to manage needs to be stored
somewhere until job is not over
Life of data
Constants in the expressions
Data stored in variables
Data stored in secondary storage
Data Persistence
Introduction
to Database An Example
Dr. Munesh
Singh
We need to analyze that for how long we want data to
persist in the memory
Data persistence is life of data
Sometimes we need data even beyond the life of the
program
file
Harddisk
c=a+b
Variables
variable remove once program completes its execustion
Data in Secondary Storage
Introduction
to Database
Dr. Munesh
Singh
Introduction
to Database
Dr. Munesh
Singh
Introduction
to Database What is file handling?
Dr. Munesh
Singh Files need to be handled by set of programs
This bunch of programs is a part of actual application
DBMS
DBMS is database management system
It is a collection of programs that enables users to create
and maintain a database
What is DBMS?
Introduction
to Database
Dr. Munesh
Singh The DBMS is a general purpose software system that
facilitates the process of defining, constructing,
manipulating, and sharing databases among various users
and applications.
DBMS vs Traditional File Handling in DBMS
Introduction
to Database Two ways
Dr. Munesh
Singh
Exhaustive analysis, huge coding and rigorous testing of
file handling code is expensive, time consuming and risky
DBMS is general purpose software which can be used in
place of file handling code to perform the same task in the
most efficient way possible
DBMS vs File Handling
Introduction
to Database
Dr. Munesh
Singh
Controlling Redundancy
Restricting Unauthorized Access
Efficient Query Processing
Providing Backup and Recovery
Multiple user Interface
Integrity Constraint
Relationship among data
Development Time
Flexibility