Class 2 File Vs DBMS
Class 2 File Vs DBMS
DATABASE MANAGEMENT
SYSTEMS
G.R.Karpagam
Professor and Associate Head - CSE
19Z404 DATABASE MANAGEMENT
SYSTEMS
INTRODUCTION TO DATABASE: Purpose of Database System - Views of
data - Data Models – special databases- Database System Architecture -
Introduction to relational databases - Relational Model - Keys -
Relational Algebra - SQL (9)
Outline
• Data Management
• File Management System (FMS)
• Database Management System (DBMS)
Slide 1-19
Summary – Cont’d
• It stores data of an organization in group of files.
• Files carrying data are independent on each other.
• COBOL, C, C++ programming languages were used to design the files.
• Each file contains data for some specific area or department like library,
student fees, and student examinations.
• It is less flexible and has many limitations.
• It is very difficult to maintain file processing system.
• Any change in one file affects all the files that creates burden on the
programmer.
• File in Traditional File Processing Systems are called flat files.
Slide 1-20
File Processing Systems – other examples
Slide 1-21
File Processing Systems
Slide 1-22
Basic Definitions
Slide 1-23
Typical DBMS Functionality
• Define a particular database in terms of its data types, structures, and
constraints
• Construct or load the initial database contents on a secondary storage medium
• Manipulating the database:
• Retrieval: Querying, generating reports
• Modification: Insertions, deletions and updates to its content
• Accessing the database through Web applications
• Processing and Sharing by a set of concurrent users and application programs –
yet, keeping all data valid and consistent
Slide 1-24
What to do and how to do?
What to do only?
Home work
• File Approach Vs Database Approach
• Application of File system , Application of the DBMS system