SlideShare a Scribd company logo
DBMS vs. File System
File System Approach
File based systems were an early attempt to computerize the manual system. It is also
called a traditional based approach in which a decentralized approach was taken where
each department stored and controlled its own data with the help of a data processing
specialist. The main role of a data processing specialist was to create the necessary
computer file structures, and also manage the data within structures and design some
application programs that create reports based on file data.
In the above figure:
Consider an example of a student's file system. The student file will contain information
regarding the student (i.e. roll no, student name, course etc.). Similarly, we have a
subject file that contains information about the subject and the result file which
contains the information regarding the result.
Some fields are duplicated in more than one file, which leads to data redundancy. So
to overcome this problem, we need to create a centralized system, i.e. DBMS approach.
DBMS:
A database approach is a well-organized collection of data that are related in a
meaningful way which can be accessed by different users but stored only once in a
system. The various operations performed by the DBMS system are: Insertion, deletion,
selection, sorting etc.
In the above figure,
In the above figure, duplication of data is reduced due to centralization of data.
There are the following differences between DBMS and File systems:
Basis DBMS Approach File System Approach
Meaning DBMS is a collection of data. In DBMS,
the user is not required to write the
procedures.
The file system is a collection of
In this system, the user has to writ
procedures for managing
database.
Sharing of data Due to the centralized approach, data
sharing is easy.
Data is distributed in many files, a
may be of different formats, so it
easy to share data.
Data Abstraction DBMS gives an abstract view of data that
hides the details.
The file system provides the deta
the data representation and storag
data.
Security and
Protection
DBMS provides a good protection
mechanism.
It isn't easy to protect a file unde
file system.
Recovery
Mechanism
DBMS provides a crash recovery
mechanism, i.e., DBMS protects the user
from system failure.
The file system doesn't have a c
mechanism, i.e., if the system cra
while entering some data, then
content of the file will be lost.
Manipulation
Techniques
DBMS contains a wide variety of
sophisticated techniques to store and
retrieve the data.
The file system can't efficiently s
and retrieve the data.
Concurrency
Problems
DBMS takes care of Concurrent access of
data using some form of locking.
In the File system, concurrent ac
has many problems like redirecting
file while deleting some informatio
updating some information.
Where to use Database approach used in large systems
which interrelate many files.
File system approach used in l
systems which interrelate many fil
Cost The database system is expensive to
design.
The file system approach is cheap
design.
Data Redundancy
and Inconsistency
Due to the centralization of the database,
the problems of data redundancy and
inconsistency are controlled.
In this, the files and applica
programs are created by diffe
programmers so that there exists
of duplication of data which may
to inconsistency.
Structure The database structure is complex to
design.
The file system approach has a sim
structure.
Data
Independence
In this system, Data Independence exists,
and it can be of two types.
o Logical Data Independence
o Physical Data Independence
In the File system approach, t
exists no Data Independence.
Integrity
Constraints
Integrity Constraints are easy to apply. Integrity Constraints are difficul
implement in file system.
Data Models In the database approach, 3 types of data
models exist:
In the file system approach, there
concept of data models exists.
o Hierarchal data models
o Network data models
o Relational data models
Flexibility Changes are often a necessity to the
content of the data stored in any system,
and these changes are more easily with a
database approach.
The flexibility of the system is les
compared to the DBMS approach.
Examples Oracle, SQL Server, Sybase etc. Cobol, C++ etc.

More Related Content

Similar to DBMS vs FBS.docx

Dbms
DbmsDbms
DATABASE_SYSTEMS_DESIGN_1_JULY_2022.pptx
DATABASE_SYSTEMS_DESIGN_1_JULY_2022.pptxDATABASE_SYSTEMS_DESIGN_1_JULY_2022.pptx
DATABASE_SYSTEMS_DESIGN_1_JULY_2022.pptx
MarkWambette
 
DBMS.pptx
DBMS.pptxDBMS.pptx
DBMS.pptx
panderohit000
 
DBMS NOTES UNIT I FINAL.docx was prasented
DBMS NOTES UNIT I FINAL.docx was prasentedDBMS NOTES UNIT I FINAL.docx was prasented
DBMS NOTES UNIT I FINAL.docx was prasented
rajitha ellandula
 
DBMS NOTES UNIT I FINAL.docx used for preparation
DBMS NOTES UNIT I FINAL.docx used for preparationDBMS NOTES UNIT I FINAL.docx used for preparation
DBMS NOTES UNIT I FINAL.docx used for preparation
rajitha ellandula
 
Database Management System.pptx
Database Management System.pptxDatabase Management System.pptx
Database Management System.pptx
AaravSharma743156
 
Data base management system
Data base management systemData base management system
Data base management system
Navneet Jingar
 
MADHU.pptx
MADHU.pptxMADHU.pptx
MADHU.pptx
SaiKanna14
 
database ppt(2)
database ppt(2)database ppt(2)
database ppt(2)
EshetuGeletu2
 
DBMS-material for b.tech students to learn
DBMS-material for b.tech students to learnDBMS-material for b.tech students to learn
DBMS-material for b.tech students to learn
Rajasekhar364622
 
Data Abstraction and Independance (1).pptx
Data Abstraction and Independance (1).pptxData Abstraction and Independance (1).pptx
Data Abstraction and Independance (1).pptx
nehasahuji
 
Dbms
DbmsDbms
Dbms unit i
Dbms unit iDbms unit i
Dbms unit i
Arnav Chowdhury
 
A database is generally used for storing related, structured data, w.pdf
A database is generally used for storing related, structured data, w.pdfA database is generally used for storing related, structured data, w.pdf
A database is generally used for storing related, structured data, w.pdf
angelfashions02
 
B.Sc. II (IV Sem) RDBMS & PL/SQL Unit-1 Fundamentals of DBMS
B.Sc. II (IV Sem) RDBMS & PL/SQL Unit-1 Fundamentals of DBMSB.Sc. II (IV Sem) RDBMS & PL/SQL Unit-1 Fundamentals of DBMS
B.Sc. II (IV Sem) RDBMS & PL/SQL Unit-1 Fundamentals of DBMS
Assistant Professor, Shri Shivaji Science College, Amravati
 
data base unit one on what is databases.pptx
data base unit one on what is databases.pptxdata base unit one on what is databases.pptx
data base unit one on what is databases.pptx
mulukendemis44
 
DBMS-1.pptx
DBMS-1.pptxDBMS-1.pptx
DBMS-1.pptx
kingVox
 
11 Database Concepts
11 Database Concepts11 Database Concepts
11 Database Concepts
Praveen M Jigajinni
 
Intro to dbms
Intro to dbmsIntro to dbms
Intro to dbms
Surkhab Shelly
 
Chapter one
Chapter oneChapter one
Chapter one
Dawod Yimer
 

Similar to DBMS vs FBS.docx (20)

Dbms
DbmsDbms
Dbms
 
DATABASE_SYSTEMS_DESIGN_1_JULY_2022.pptx
DATABASE_SYSTEMS_DESIGN_1_JULY_2022.pptxDATABASE_SYSTEMS_DESIGN_1_JULY_2022.pptx
DATABASE_SYSTEMS_DESIGN_1_JULY_2022.pptx
 
DBMS.pptx
DBMS.pptxDBMS.pptx
DBMS.pptx
 
DBMS NOTES UNIT I FINAL.docx was prasented
DBMS NOTES UNIT I FINAL.docx was prasentedDBMS NOTES UNIT I FINAL.docx was prasented
DBMS NOTES UNIT I FINAL.docx was prasented
 
DBMS NOTES UNIT I FINAL.docx used for preparation
DBMS NOTES UNIT I FINAL.docx used for preparationDBMS NOTES UNIT I FINAL.docx used for preparation
DBMS NOTES UNIT I FINAL.docx used for preparation
 
Database Management System.pptx
Database Management System.pptxDatabase Management System.pptx
Database Management System.pptx
 
Data base management system
Data base management systemData base management system
Data base management system
 
MADHU.pptx
MADHU.pptxMADHU.pptx
MADHU.pptx
 
database ppt(2)
database ppt(2)database ppt(2)
database ppt(2)
 
DBMS-material for b.tech students to learn
DBMS-material for b.tech students to learnDBMS-material for b.tech students to learn
DBMS-material for b.tech students to learn
 
Data Abstraction and Independance (1).pptx
Data Abstraction and Independance (1).pptxData Abstraction and Independance (1).pptx
Data Abstraction and Independance (1).pptx
 
Dbms
DbmsDbms
Dbms
 
Dbms unit i
Dbms unit iDbms unit i
Dbms unit i
 
A database is generally used for storing related, structured data, w.pdf
A database is generally used for storing related, structured data, w.pdfA database is generally used for storing related, structured data, w.pdf
A database is generally used for storing related, structured data, w.pdf
 
B.Sc. II (IV Sem) RDBMS & PL/SQL Unit-1 Fundamentals of DBMS
B.Sc. II (IV Sem) RDBMS & PL/SQL Unit-1 Fundamentals of DBMSB.Sc. II (IV Sem) RDBMS & PL/SQL Unit-1 Fundamentals of DBMS
B.Sc. II (IV Sem) RDBMS & PL/SQL Unit-1 Fundamentals of DBMS
 
data base unit one on what is databases.pptx
data base unit one on what is databases.pptxdata base unit one on what is databases.pptx
data base unit one on what is databases.pptx
 
DBMS-1.pptx
DBMS-1.pptxDBMS-1.pptx
DBMS-1.pptx
 
11 Database Concepts
11 Database Concepts11 Database Concepts
11 Database Concepts
 
Intro to dbms
Intro to dbmsIntro to dbms
Intro to dbms
 
Chapter one
Chapter oneChapter one
Chapter one
 

Recently uploaded

ALGIT - Assembly Line for Green IT - Numbers, Data, Facts
ALGIT - Assembly Line for Green IT - Numbers, Data, FactsALGIT - Assembly Line for Green IT - Numbers, Data, Facts
ALGIT - Assembly Line for Green IT - Numbers, Data, Facts
Green Software Development
 
E-commerce Application Development Company.pdf
E-commerce Application Development Company.pdfE-commerce Application Development Company.pdf
E-commerce Application Development Company.pdf
Hornet Dynamics
 
Microservice Teams - How the cloud changes the way we work
Microservice Teams - How the cloud changes the way we workMicroservice Teams - How the cloud changes the way we work
Microservice Teams - How the cloud changes the way we work
Sven Peters
 
UI5con 2024 - Keynote: Latest News about UI5 and it’s Ecosystem
UI5con 2024 - Keynote: Latest News about UI5 and it’s EcosystemUI5con 2024 - Keynote: Latest News about UI5 and it’s Ecosystem
UI5con 2024 - Keynote: Latest News about UI5 and it’s Ecosystem
Peter Muessig
 
LORRAINE ANDREI_LEQUIGAN_HOW TO USE WHATSAPP.pptx
LORRAINE ANDREI_LEQUIGAN_HOW TO USE WHATSAPP.pptxLORRAINE ANDREI_LEQUIGAN_HOW TO USE WHATSAPP.pptx
LORRAINE ANDREI_LEQUIGAN_HOW TO USE WHATSAPP.pptx
lorraineandreiamcidl
 
socradar-q1-2024-aviation-industry-report.pdf
socradar-q1-2024-aviation-industry-report.pdfsocradar-q1-2024-aviation-industry-report.pdf
socradar-q1-2024-aviation-industry-report.pdf
SOCRadar
 
KuberTENes Birthday Bash Guadalajara - Introducción a Argo CD
KuberTENes Birthday Bash Guadalajara - Introducción a Argo CDKuberTENes Birthday Bash Guadalajara - Introducción a Argo CD
KuberTENes Birthday Bash Guadalajara - Introducción a Argo CD
rodomar2
 
UI5con 2024 - Boost Your Development Experience with UI5 Tooling Extensions
UI5con 2024 - Boost Your Development Experience with UI5 Tooling ExtensionsUI5con 2024 - Boost Your Development Experience with UI5 Tooling Extensions
UI5con 2024 - Boost Your Development Experience with UI5 Tooling Extensions
Peter Muessig
 
Unveiling the Advantages of Agile Software Development.pdf
Unveiling the Advantages of Agile Software Development.pdfUnveiling the Advantages of Agile Software Development.pdf
Unveiling the Advantages of Agile Software Development.pdf
brainerhub1
 
8 Best Automated Android App Testing Tool and Framework in 2024.pdf
8 Best Automated Android App Testing Tool and Framework in 2024.pdf8 Best Automated Android App Testing Tool and Framework in 2024.pdf
8 Best Automated Android App Testing Tool and Framework in 2024.pdf
kalichargn70th171
 
2024 eCommerceDays Toulouse - Sylius 2.0.pdf
2024 eCommerceDays Toulouse - Sylius 2.0.pdf2024 eCommerceDays Toulouse - Sylius 2.0.pdf
2024 eCommerceDays Toulouse - Sylius 2.0.pdf
Łukasz Chruściel
 
Vitthal Shirke Java Microservices Resume.pdf
Vitthal Shirke Java Microservices Resume.pdfVitthal Shirke Java Microservices Resume.pdf
Vitthal Shirke Java Microservices Resume.pdf
Vitthal Shirke
 
DDS-Security 1.2 - What's New? Stronger security for long-running systems
DDS-Security 1.2 - What's New? Stronger security for long-running systemsDDS-Security 1.2 - What's New? Stronger security for long-running systems
DDS-Security 1.2 - What's New? Stronger security for long-running systems
Gerardo Pardo-Castellote
 
GraphSummit Paris - The art of the possible with Graph Technology
GraphSummit Paris - The art of the possible with Graph TechnologyGraphSummit Paris - The art of the possible with Graph Technology
GraphSummit Paris - The art of the possible with Graph Technology
Neo4j
 
Fundamentals of Programming and Language Processors
Fundamentals of Programming and Language ProcessorsFundamentals of Programming and Language Processors
Fundamentals of Programming and Language Processors
Rakesh Kumar R
 
Neo4j - Product Vision and Knowledge Graphs - GraphSummit Paris
Neo4j - Product Vision and Knowledge Graphs - GraphSummit ParisNeo4j - Product Vision and Knowledge Graphs - GraphSummit Paris
Neo4j - Product Vision and Knowledge Graphs - GraphSummit Paris
Neo4j
 
Introducing Crescat - Event Management Software for Venues, Festivals and Eve...
Introducing Crescat - Event Management Software for Venues, Festivals and Eve...Introducing Crescat - Event Management Software for Venues, Festivals and Eve...
Introducing Crescat - Event Management Software for Venues, Festivals and Eve...
Crescat
 
What is Augmented Reality Image Tracking
What is Augmented Reality Image TrackingWhat is Augmented Reality Image Tracking
What is Augmented Reality Image Tracking
pavan998932
 
LORRAINE ANDREI_LEQUIGAN_HOW TO USE ZOOM
LORRAINE ANDREI_LEQUIGAN_HOW TO USE ZOOMLORRAINE ANDREI_LEQUIGAN_HOW TO USE ZOOM
LORRAINE ANDREI_LEQUIGAN_HOW TO USE ZOOM
lorraineandreiamcidl
 
Empowering Growth with Best Software Development Company in Noida - Deuglo
Empowering Growth with Best Software  Development Company in Noida - DeugloEmpowering Growth with Best Software  Development Company in Noida - Deuglo
Empowering Growth with Best Software Development Company in Noida - Deuglo
Deuglo Infosystem Pvt Ltd
 

Recently uploaded (20)

ALGIT - Assembly Line for Green IT - Numbers, Data, Facts
ALGIT - Assembly Line for Green IT - Numbers, Data, FactsALGIT - Assembly Line for Green IT - Numbers, Data, Facts
ALGIT - Assembly Line for Green IT - Numbers, Data, Facts
 
E-commerce Application Development Company.pdf
E-commerce Application Development Company.pdfE-commerce Application Development Company.pdf
E-commerce Application Development Company.pdf
 
Microservice Teams - How the cloud changes the way we work
Microservice Teams - How the cloud changes the way we workMicroservice Teams - How the cloud changes the way we work
Microservice Teams - How the cloud changes the way we work
 
UI5con 2024 - Keynote: Latest News about UI5 and it’s Ecosystem
UI5con 2024 - Keynote: Latest News about UI5 and it’s EcosystemUI5con 2024 - Keynote: Latest News about UI5 and it’s Ecosystem
UI5con 2024 - Keynote: Latest News about UI5 and it’s Ecosystem
 
LORRAINE ANDREI_LEQUIGAN_HOW TO USE WHATSAPP.pptx
LORRAINE ANDREI_LEQUIGAN_HOW TO USE WHATSAPP.pptxLORRAINE ANDREI_LEQUIGAN_HOW TO USE WHATSAPP.pptx
LORRAINE ANDREI_LEQUIGAN_HOW TO USE WHATSAPP.pptx
 
socradar-q1-2024-aviation-industry-report.pdf
socradar-q1-2024-aviation-industry-report.pdfsocradar-q1-2024-aviation-industry-report.pdf
socradar-q1-2024-aviation-industry-report.pdf
 
KuberTENes Birthday Bash Guadalajara - Introducción a Argo CD
KuberTENes Birthday Bash Guadalajara - Introducción a Argo CDKuberTENes Birthday Bash Guadalajara - Introducción a Argo CD
KuberTENes Birthday Bash Guadalajara - Introducción a Argo CD
 
UI5con 2024 - Boost Your Development Experience with UI5 Tooling Extensions
UI5con 2024 - Boost Your Development Experience with UI5 Tooling ExtensionsUI5con 2024 - Boost Your Development Experience with UI5 Tooling Extensions
UI5con 2024 - Boost Your Development Experience with UI5 Tooling Extensions
 
Unveiling the Advantages of Agile Software Development.pdf
Unveiling the Advantages of Agile Software Development.pdfUnveiling the Advantages of Agile Software Development.pdf
Unveiling the Advantages of Agile Software Development.pdf
 
8 Best Automated Android App Testing Tool and Framework in 2024.pdf
8 Best Automated Android App Testing Tool and Framework in 2024.pdf8 Best Automated Android App Testing Tool and Framework in 2024.pdf
8 Best Automated Android App Testing Tool and Framework in 2024.pdf
 
2024 eCommerceDays Toulouse - Sylius 2.0.pdf
2024 eCommerceDays Toulouse - Sylius 2.0.pdf2024 eCommerceDays Toulouse - Sylius 2.0.pdf
2024 eCommerceDays Toulouse - Sylius 2.0.pdf
 
Vitthal Shirke Java Microservices Resume.pdf
Vitthal Shirke Java Microservices Resume.pdfVitthal Shirke Java Microservices Resume.pdf
Vitthal Shirke Java Microservices Resume.pdf
 
DDS-Security 1.2 - What's New? Stronger security for long-running systems
DDS-Security 1.2 - What's New? Stronger security for long-running systemsDDS-Security 1.2 - What's New? Stronger security for long-running systems
DDS-Security 1.2 - What's New? Stronger security for long-running systems
 
GraphSummit Paris - The art of the possible with Graph Technology
GraphSummit Paris - The art of the possible with Graph TechnologyGraphSummit Paris - The art of the possible with Graph Technology
GraphSummit Paris - The art of the possible with Graph Technology
 
Fundamentals of Programming and Language Processors
Fundamentals of Programming and Language ProcessorsFundamentals of Programming and Language Processors
Fundamentals of Programming and Language Processors
 
Neo4j - Product Vision and Knowledge Graphs - GraphSummit Paris
Neo4j - Product Vision and Knowledge Graphs - GraphSummit ParisNeo4j - Product Vision and Knowledge Graphs - GraphSummit Paris
Neo4j - Product Vision and Knowledge Graphs - GraphSummit Paris
 
Introducing Crescat - Event Management Software for Venues, Festivals and Eve...
Introducing Crescat - Event Management Software for Venues, Festivals and Eve...Introducing Crescat - Event Management Software for Venues, Festivals and Eve...
Introducing Crescat - Event Management Software for Venues, Festivals and Eve...
 
What is Augmented Reality Image Tracking
What is Augmented Reality Image TrackingWhat is Augmented Reality Image Tracking
What is Augmented Reality Image Tracking
 
LORRAINE ANDREI_LEQUIGAN_HOW TO USE ZOOM
LORRAINE ANDREI_LEQUIGAN_HOW TO USE ZOOMLORRAINE ANDREI_LEQUIGAN_HOW TO USE ZOOM
LORRAINE ANDREI_LEQUIGAN_HOW TO USE ZOOM
 
Empowering Growth with Best Software Development Company in Noida - Deuglo
Empowering Growth with Best Software  Development Company in Noida - DeugloEmpowering Growth with Best Software  Development Company in Noida - Deuglo
Empowering Growth with Best Software Development Company in Noida - Deuglo
 

DBMS vs FBS.docx

  • 1. DBMS vs. File System File System Approach File based systems were an early attempt to computerize the manual system. It is also called a traditional based approach in which a decentralized approach was taken where each department stored and controlled its own data with the help of a data processing specialist. The main role of a data processing specialist was to create the necessary computer file structures, and also manage the data within structures and design some application programs that create reports based on file data. In the above figure: Consider an example of a student's file system. The student file will contain information regarding the student (i.e. roll no, student name, course etc.). Similarly, we have a subject file that contains information about the subject and the result file which contains the information regarding the result. Some fields are duplicated in more than one file, which leads to data redundancy. So to overcome this problem, we need to create a centralized system, i.e. DBMS approach. DBMS: A database approach is a well-organized collection of data that are related in a meaningful way which can be accessed by different users but stored only once in a
  • 2. system. The various operations performed by the DBMS system are: Insertion, deletion, selection, sorting etc. In the above figure, In the above figure, duplication of data is reduced due to centralization of data. There are the following differences between DBMS and File systems: Basis DBMS Approach File System Approach Meaning DBMS is a collection of data. In DBMS, the user is not required to write the procedures. The file system is a collection of In this system, the user has to writ procedures for managing database. Sharing of data Due to the centralized approach, data sharing is easy. Data is distributed in many files, a may be of different formats, so it easy to share data. Data Abstraction DBMS gives an abstract view of data that hides the details. The file system provides the deta the data representation and storag data.
  • 3. Security and Protection DBMS provides a good protection mechanism. It isn't easy to protect a file unde file system. Recovery Mechanism DBMS provides a crash recovery mechanism, i.e., DBMS protects the user from system failure. The file system doesn't have a c mechanism, i.e., if the system cra while entering some data, then content of the file will be lost. Manipulation Techniques DBMS contains a wide variety of sophisticated techniques to store and retrieve the data. The file system can't efficiently s and retrieve the data. Concurrency Problems DBMS takes care of Concurrent access of data using some form of locking. In the File system, concurrent ac has many problems like redirecting file while deleting some informatio updating some information. Where to use Database approach used in large systems which interrelate many files. File system approach used in l systems which interrelate many fil Cost The database system is expensive to design. The file system approach is cheap design. Data Redundancy and Inconsistency Due to the centralization of the database, the problems of data redundancy and inconsistency are controlled. In this, the files and applica programs are created by diffe programmers so that there exists of duplication of data which may to inconsistency. Structure The database structure is complex to design. The file system approach has a sim structure. Data Independence In this system, Data Independence exists, and it can be of two types. o Logical Data Independence o Physical Data Independence In the File system approach, t exists no Data Independence. Integrity Constraints Integrity Constraints are easy to apply. Integrity Constraints are difficul implement in file system. Data Models In the database approach, 3 types of data models exist: In the file system approach, there concept of data models exists.
  • 4. o Hierarchal data models o Network data models o Relational data models Flexibility Changes are often a necessity to the content of the data stored in any system, and these changes are more easily with a database approach. The flexibility of the system is les compared to the DBMS approach. Examples Oracle, SQL Server, Sybase etc. Cobol, C++ etc.