SlideShare a Scribd company logo
File Based System
© Aviyal Presentations : https://aviyalpresentations.wordpress.com/
What is file based system?
• It’s a predecessor of database system.
• Data is stored in files.
• Each unit of organization has its own files and each file has a specific set
of programs that were used to manipulate data in that file.
• Each department collected and maintained the required data. This
usually resulted in duplication of data and inconsistency of data.
• Entries are searched sequentially to retrieve data. Alternatively, indexing
system could be used.
• It works well when the number of data items to be stored is small. It even
works quite well when the number of items to be stored is quite large and
they are only needed to be stored and retrieved.
© Aviyal Presentations : https://aviyalpresentations.wordpress.com/
• File system crashes when cross-referencing and processing of information in the files is
performed.
• Its almost obsolete, cumbersome and time consuming.
EXAMPLE:
In a college a number of students are enrolled who can do various courses. The college
may have separate files for student personal details, fees paid by each of them, details
of faculty members, details of courses taught etc..
© Aviyal Presentations : https://aviyalpresentations.wordpress.com/
Disadvantages of File based System
• File-based system has the following disadvantages:
 Data Redundancy: Due to decentralized approach, the same information may be
duplicated in different files. This leads to : i) wastage of storage space ii) costs time and
money to enter the data more than once. For example, consider a person has both savings
and current account. In this case, customers personal details(name, address…) will be
stored in both files. This results in wastage of memory.
 Data Inconsistency: Two reasons for inconsistency: i) more than one person modifies the
data simultaneously. ii) wrong data is entered. For example, consider a person has both
savings and current account. Consider that the address of a person is changed only in one
file. This creates data inconsistency.
 Difficulty in Accessing Data: It becomes difficult to access data when data is stored in
different files. When data is stored in more than one file it becomes extremely difficult to
access data as large amount of data has to be searched.
 Limited Data Sharing: Data are stored in different files. Different files may have different
formats and these files may be stored in different folders. So, due to this data isolation, it is
difficult to share data among different applications.
© Aviyal Presentations : https://aviyalpresentations.wordpress.com/
 Integrity Problems: Data integrity means that the data contained in the database in
both correct and consistent. For this purpose the data stored in database must satisfy
correct and consistent. For example, balance for any account should not be less than
0, this should be specified in the system by adding appropriate code .
 Data dependence: File structure is stored in program code. Its very difficult to change
the existing structure. The programmer will have to find all the affected programs,
modify and change them. This characteristic is known as program data
independence.
 Incompatible file formats: File structure is stored in program code, therefore the
structure is dependent on programming language. This makes it difficult to process
jointly.
 Fixed Queries: File based systems are dependent on application program. Programs
are written to satisfy particular functions. Any new requirement needs a new program.
 Maintenance: Maintenance of file based system is difficult.
 Security: There is no provision for security. Paper files can be lost leading to permanent
data loss.
 Recovery: Recovery is non-existent or inadequate.
© Aviyal Presentations : https://aviyalpresentations.wordpress.com/
© Aviyal Presentations : https://aviyalpresentations.wordpress.com/

More Related Content

What's hot

Introduction to Database
Introduction to DatabaseIntroduction to Database
Introduction to Database
Siti Ismail
 
File structures
File structuresFile structures
File structures
Shyam Kumar
 
Database recovery
Database recoveryDatabase recovery
Database recovery
Vritti Malhotra
 
Database Management System
Database Management SystemDatabase Management System
Database Management System
NILESH UCHCHASARE
 
11 Database Concepts
11 Database Concepts11 Database Concepts
11 Database Concepts
Praveen M Jigajinni
 
Architecture of-dbms-and-data-independence
Architecture of-dbms-and-data-independenceArchitecture of-dbms-and-data-independence
Architecture of-dbms-and-data-independence
Anuj Modi
 
Types Of Keys in DBMS
Types Of Keys in DBMSTypes Of Keys in DBMS
Types Of Keys in DBMS
PadamNepal1
 
Data structure ppt
Data structure pptData structure ppt
Data structure ppt
Prof. Dr. K. Adisesha
 
Data Dictionary
Data DictionaryData Dictionary
Data Dictionary
Vishal Anand
 
Database management system
Database management system Database management system
Database management system
Shashikumar_chari
 
Databases: Normalisation
Databases: NormalisationDatabases: Normalisation
Databases: Normalisation
Damian T. Gordon
 
Dbms lab questions
Dbms lab questionsDbms lab questions
Dbms lab questions
Parthipan Parthi
 
DBMS an Example
DBMS an ExampleDBMS an Example
DBMS an Example
Dr. C.V. Suresh Babu
 
All data models in dbms
All data models in dbmsAll data models in dbms
All data models in dbms
Naresh Kumar
 
Operating system and its function
Operating system and its functionOperating system and its function
Operating system and its function
Nikhi Jain
 
Dbms
DbmsDbms
Dbms
sevtap87
 
Client server architecture
Client server architectureClient server architecture
Client server architecture
Bhargav Amin
 
Introduction & history of dbms
Introduction & history of dbmsIntroduction & history of dbms
Introduction & history of dbms
sethu pm
 
Normalization | (1NF) |(2NF) (3NF)|BCNF| 4NF |5NF
Normalization | (1NF) |(2NF) (3NF)|BCNF| 4NF |5NFNormalization | (1NF) |(2NF) (3NF)|BCNF| 4NF |5NF
Normalization | (1NF) |(2NF) (3NF)|BCNF| 4NF |5NF
Biplap Bhattarai
 
3 Level Architecture
3 Level Architecture3 Level Architecture
3 Level Architecture
Adeel Rasheed
 

What's hot (20)

Introduction to Database
Introduction to DatabaseIntroduction to Database
Introduction to Database
 
File structures
File structuresFile structures
File structures
 
Database recovery
Database recoveryDatabase recovery
Database recovery
 
Database Management System
Database Management SystemDatabase Management System
Database Management System
 
11 Database Concepts
11 Database Concepts11 Database Concepts
11 Database Concepts
 
Architecture of-dbms-and-data-independence
Architecture of-dbms-and-data-independenceArchitecture of-dbms-and-data-independence
Architecture of-dbms-and-data-independence
 
Types Of Keys in DBMS
Types Of Keys in DBMSTypes Of Keys in DBMS
Types Of Keys in DBMS
 
Data structure ppt
Data structure pptData structure ppt
Data structure ppt
 
Data Dictionary
Data DictionaryData Dictionary
Data Dictionary
 
Database management system
Database management system Database management system
Database management system
 
Databases: Normalisation
Databases: NormalisationDatabases: Normalisation
Databases: Normalisation
 
Dbms lab questions
Dbms lab questionsDbms lab questions
Dbms lab questions
 
DBMS an Example
DBMS an ExampleDBMS an Example
DBMS an Example
 
All data models in dbms
All data models in dbmsAll data models in dbms
All data models in dbms
 
Operating system and its function
Operating system and its functionOperating system and its function
Operating system and its function
 
Dbms
DbmsDbms
Dbms
 
Client server architecture
Client server architectureClient server architecture
Client server architecture
 
Introduction & history of dbms
Introduction & history of dbmsIntroduction & history of dbms
Introduction & history of dbms
 
Normalization | (1NF) |(2NF) (3NF)|BCNF| 4NF |5NF
Normalization | (1NF) |(2NF) (3NF)|BCNF| 4NF |5NFNormalization | (1NF) |(2NF) (3NF)|BCNF| 4NF |5NF
Normalization | (1NF) |(2NF) (3NF)|BCNF| 4NF |5NF
 
3 Level Architecture
3 Level Architecture3 Level Architecture
3 Level Architecture
 

Similar to File based approach

Dbms mca-section a
Dbms mca-section aDbms mca-section a
Dbms mca-section a
Vaibhav Kathuria
 
old file system/traditional file sysytem
old file system/traditional file sysytemold file system/traditional file sysytem
old file system/traditional file sysytem
jizaka
 
8.DBMS.pptx
8.DBMS.pptx8.DBMS.pptx
Ch01
Ch01Ch01
DBS Theory Week 1 including relationships and relational database
DBS Theory Week 1 including relationships and relational databaseDBS Theory Week 1 including relationships and relational database
DBS Theory Week 1 including relationships and relational database
walaahuluu
 
Database
DatabaseDatabase
Database
Thamae Mohapi
 
Chapter – 1 Intro to DBS.pdf
Chapter – 1 Intro to DBS.pdfChapter – 1 Intro to DBS.pdf
Chapter – 1 Intro to DBS.pdf
TamiratDejene1
 
Chapter – 1 Intro to DBS.pdf
Chapter – 1 Intro to DBS.pdfChapter – 1 Intro to DBS.pdf
Chapter – 1 Intro to DBS.pdf
TamiratDejene1
 
PURPOSE OF DATABASE final.pptx
PURPOSE OF DATABASE final.pptxPURPOSE OF DATABASE final.pptx
PURPOSE OF DATABASE final.pptx
Anusha sivakumar
 
Database basics
Database basicsDatabase basics
Database basics
Imran Chowdhary
 
Disadvantages of file management system (file processing systems)
Disadvantages of file management system(file processing systems)Disadvantages of file management system(file processing systems)
Disadvantages of file management system (file processing systems)
raj upadhyay
 
dbms ppt.pptx database management system
dbms ppt.pptx database management systemdbms ppt.pptx database management system
dbms ppt.pptx database management system
deeptipal230
 
Unit1 dbms
Unit1 dbmsUnit1 dbms
Unit1 dbms
gowrivageesan87
 
Database Management and it is definition
Database Management and it is definitionDatabase Management and it is definition
Database Management and it is definition
Rashed Barakzai
 
Lecture 1&2(rdbms-ii)
Lecture 1&2(rdbms-ii)Lecture 1&2(rdbms-ii)
Lecture 1&2(rdbms-ii)
Ravinder Kamboj
 
File systems versus a dbms
File systems versus a dbmsFile systems versus a dbms
File systems versus a dbms
RituBhargava7
 
DBMS basics and normalizations unit.pptx
DBMS basics and normalizations unit.pptxDBMS basics and normalizations unit.pptx
DBMS basics and normalizations unit.pptx
shreyassoni7
 
Intro.pptx
Intro.pptxIntro.pptx
Intro.pptx
NithyasriA2
 
Chapter 1 Short Slide.pdf
Chapter 1 Short Slide.pdfChapter 1 Short Slide.pdf
Chapter 1 Short Slide.pdf
GirmaNeshir
 
database ppt(2)
database ppt(2)database ppt(2)
database ppt(2)
EshetuGeletu2
 

Similar to File based approach (20)

Dbms mca-section a
Dbms mca-section aDbms mca-section a
Dbms mca-section a
 
old file system/traditional file sysytem
old file system/traditional file sysytemold file system/traditional file sysytem
old file system/traditional file sysytem
 
8.DBMS.pptx
8.DBMS.pptx8.DBMS.pptx
8.DBMS.pptx
 
Ch01
Ch01Ch01
Ch01
 
DBS Theory Week 1 including relationships and relational database
DBS Theory Week 1 including relationships and relational databaseDBS Theory Week 1 including relationships and relational database
DBS Theory Week 1 including relationships and relational database
 
Database
DatabaseDatabase
Database
 
Chapter – 1 Intro to DBS.pdf
Chapter – 1 Intro to DBS.pdfChapter – 1 Intro to DBS.pdf
Chapter – 1 Intro to DBS.pdf
 
Chapter – 1 Intro to DBS.pdf
Chapter – 1 Intro to DBS.pdfChapter – 1 Intro to DBS.pdf
Chapter – 1 Intro to DBS.pdf
 
PURPOSE OF DATABASE final.pptx
PURPOSE OF DATABASE final.pptxPURPOSE OF DATABASE final.pptx
PURPOSE OF DATABASE final.pptx
 
Database basics
Database basicsDatabase basics
Database basics
 
Disadvantages of file management system (file processing systems)
Disadvantages of file management system(file processing systems)Disadvantages of file management system(file processing systems)
Disadvantages of file management system (file processing systems)
 
dbms ppt.pptx database management system
dbms ppt.pptx database management systemdbms ppt.pptx database management system
dbms ppt.pptx database management system
 
Unit1 dbms
Unit1 dbmsUnit1 dbms
Unit1 dbms
 
Database Management and it is definition
Database Management and it is definitionDatabase Management and it is definition
Database Management and it is definition
 
Lecture 1&2(rdbms-ii)
Lecture 1&2(rdbms-ii)Lecture 1&2(rdbms-ii)
Lecture 1&2(rdbms-ii)
 
File systems versus a dbms
File systems versus a dbmsFile systems versus a dbms
File systems versus a dbms
 
DBMS basics and normalizations unit.pptx
DBMS basics and normalizations unit.pptxDBMS basics and normalizations unit.pptx
DBMS basics and normalizations unit.pptx
 
Intro.pptx
Intro.pptxIntro.pptx
Intro.pptx
 
Chapter 1 Short Slide.pdf
Chapter 1 Short Slide.pdfChapter 1 Short Slide.pdf
Chapter 1 Short Slide.pdf
 
database ppt(2)
database ppt(2)database ppt(2)
database ppt(2)
 

More from PreethaAS

Types of crops
Types of cropsTypes of crops
Types of crops
PreethaAS
 
Harvest festivals-of-india
Harvest festivals-of-indiaHarvest festivals-of-india
Harvest festivals-of-india
PreethaAS
 
Tamil new-year
Tamil new-yearTamil new-year
Tamil new-year
PreethaAS
 
Vishu
VishuVishu
Vishu
PreethaAS
 
Ramazan
RamazanRamazan
Ramazan
PreethaAS
 
Karkidakkam vvvnew
Karkidakkam vvvnewKarkidakkam vvvnew
Karkidakkam vvvnew
PreethaAS
 
Onam
OnamOnam
Onam
PreethaAS
 
Ganesh chathurthi
Ganesh chathurthiGanesh chathurthi
Ganesh chathurthi
PreethaAS
 
Computer
ComputerComputer
Computer
PreethaAS
 
Thrissur pooram
Thrissur pooramThrissur pooram
Thrissur pooram
PreethaAS
 

More from PreethaAS (10)

Types of crops
Types of cropsTypes of crops
Types of crops
 
Harvest festivals-of-india
Harvest festivals-of-indiaHarvest festivals-of-india
Harvest festivals-of-india
 
Tamil new-year
Tamil new-yearTamil new-year
Tamil new-year
 
Vishu
VishuVishu
Vishu
 
Ramazan
RamazanRamazan
Ramazan
 
Karkidakkam vvvnew
Karkidakkam vvvnewKarkidakkam vvvnew
Karkidakkam vvvnew
 
Onam
OnamOnam
Onam
 
Ganesh chathurthi
Ganesh chathurthiGanesh chathurthi
Ganesh chathurthi
 
Computer
ComputerComputer
Computer
 
Thrissur pooram
Thrissur pooramThrissur pooram
Thrissur pooram
 

Recently uploaded

Chapter 4 - Islamic Financial Institutions in Malaysia.pptx
Chapter 4 - Islamic Financial Institutions in Malaysia.pptxChapter 4 - Islamic Financial Institutions in Malaysia.pptx
Chapter 4 - Islamic Financial Institutions in Malaysia.pptx
Mohd Adib Abd Muin, Senior Lecturer at Universiti Utara Malaysia
 
Lapbook sobre os Regimes Totalitários.pdf
Lapbook sobre os Regimes Totalitários.pdfLapbook sobre os Regimes Totalitários.pdf
Lapbook sobre os Regimes Totalitários.pdf
Jean Carlos Nunes Paixão
 
DRUGS AND ITS classification slide share
DRUGS AND ITS classification slide shareDRUGS AND ITS classification slide share
DRUGS AND ITS classification slide share
taiba qazi
 
A Strategic Approach: GenAI in Education
A Strategic Approach: GenAI in EducationA Strategic Approach: GenAI in Education
A Strategic Approach: GenAI in Education
Peter Windle
 
The History of Stoke Newington Street Names
The History of Stoke Newington Street NamesThe History of Stoke Newington Street Names
The History of Stoke Newington Street Names
History of Stoke Newington
 
MARY JANE WILSON, A “BOA MÃE” .
MARY JANE WILSON, A “BOA MÃE”           .MARY JANE WILSON, A “BOA MÃE”           .
MARY JANE WILSON, A “BOA MÃE” .
Colégio Santa Teresinha
 
A Survey of Techniques for Maximizing LLM Performance.pptx
A Survey of Techniques for Maximizing LLM Performance.pptxA Survey of Techniques for Maximizing LLM Performance.pptx
A Survey of Techniques for Maximizing LLM Performance.pptx
thanhdowork
 
How to Build a Module in Odoo 17 Using the Scaffold Method
How to Build a Module in Odoo 17 Using the Scaffold MethodHow to Build a Module in Odoo 17 Using the Scaffold Method
How to Build a Module in Odoo 17 Using the Scaffold Method
Celine George
 
S1-Introduction-Biopesticides in ICM.pptx
S1-Introduction-Biopesticides in ICM.pptxS1-Introduction-Biopesticides in ICM.pptx
S1-Introduction-Biopesticides in ICM.pptx
tarandeep35
 
The simplified electron and muon model, Oscillating Spacetime: The Foundation...
The simplified electron and muon model, Oscillating Spacetime: The Foundation...The simplified electron and muon model, Oscillating Spacetime: The Foundation...
The simplified electron and muon model, Oscillating Spacetime: The Foundation...
RitikBhardwaj56
 
How to Add Chatter in the odoo 17 ERP Module
How to Add Chatter in the odoo 17 ERP ModuleHow to Add Chatter in the odoo 17 ERP Module
How to Add Chatter in the odoo 17 ERP Module
Celine George
 
Types of Herbal Cosmetics its standardization.
Types of Herbal Cosmetics its standardization.Types of Herbal Cosmetics its standardization.
Types of Herbal Cosmetics its standardization.
Ashokrao Mane college of Pharmacy Peth-Vadgaon
 
Pollock and Snow "DEIA in the Scholarly Landscape, Session One: Setting Expec...
Pollock and Snow "DEIA in the Scholarly Landscape, Session One: Setting Expec...Pollock and Snow "DEIA in the Scholarly Landscape, Session One: Setting Expec...
Pollock and Snow "DEIA in the Scholarly Landscape, Session One: Setting Expec...
National Information Standards Organization (NISO)
 
Main Java[All of the Base Concepts}.docx
Main Java[All of the Base Concepts}.docxMain Java[All of the Base Concepts}.docx
Main Java[All of the Base Concepts}.docx
adhitya5119
 
Life upper-Intermediate B2 Workbook for student
Life upper-Intermediate B2 Workbook for studentLife upper-Intermediate B2 Workbook for student
Life upper-Intermediate B2 Workbook for student
NgcHiNguyn25
 
Your Skill Boost Masterclass: Strategies for Effective Upskilling
Your Skill Boost Masterclass: Strategies for Effective UpskillingYour Skill Boost Masterclass: Strategies for Effective Upskilling
Your Skill Boost Masterclass: Strategies for Effective Upskilling
Excellence Foundation for South Sudan
 
Exploiting Artificial Intelligence for Empowering Researchers and Faculty, In...
Exploiting Artificial Intelligence for Empowering Researchers and Faculty, In...Exploiting Artificial Intelligence for Empowering Researchers and Faculty, In...
Exploiting Artificial Intelligence for Empowering Researchers and Faculty, In...
Dr. Vinod Kumar Kanvaria
 
PCOS corelations and management through Ayurveda.
PCOS corelations and management through Ayurveda.PCOS corelations and management through Ayurveda.
PCOS corelations and management through Ayurveda.
Dr. Shivangi Singh Parihar
 
C1 Rubenstein AP HuG xxxxxxxxxxxxxx.pptx
C1 Rubenstein AP HuG xxxxxxxxxxxxxx.pptxC1 Rubenstein AP HuG xxxxxxxxxxxxxx.pptx
C1 Rubenstein AP HuG xxxxxxxxxxxxxx.pptx
mulvey2
 
CACJapan - GROUP Presentation 1- Wk 4.pdf
CACJapan - GROUP Presentation 1- Wk 4.pdfCACJapan - GROUP Presentation 1- Wk 4.pdf
CACJapan - GROUP Presentation 1- Wk 4.pdf
camakaiclarkmusic
 

Recently uploaded (20)

Chapter 4 - Islamic Financial Institutions in Malaysia.pptx
Chapter 4 - Islamic Financial Institutions in Malaysia.pptxChapter 4 - Islamic Financial Institutions in Malaysia.pptx
Chapter 4 - Islamic Financial Institutions in Malaysia.pptx
 
Lapbook sobre os Regimes Totalitários.pdf
Lapbook sobre os Regimes Totalitários.pdfLapbook sobre os Regimes Totalitários.pdf
Lapbook sobre os Regimes Totalitários.pdf
 
DRUGS AND ITS classification slide share
DRUGS AND ITS classification slide shareDRUGS AND ITS classification slide share
DRUGS AND ITS classification slide share
 
A Strategic Approach: GenAI in Education
A Strategic Approach: GenAI in EducationA Strategic Approach: GenAI in Education
A Strategic Approach: GenAI in Education
 
The History of Stoke Newington Street Names
The History of Stoke Newington Street NamesThe History of Stoke Newington Street Names
The History of Stoke Newington Street Names
 
MARY JANE WILSON, A “BOA MÃE” .
MARY JANE WILSON, A “BOA MÃE”           .MARY JANE WILSON, A “BOA MÃE”           .
MARY JANE WILSON, A “BOA MÃE” .
 
A Survey of Techniques for Maximizing LLM Performance.pptx
A Survey of Techniques for Maximizing LLM Performance.pptxA Survey of Techniques for Maximizing LLM Performance.pptx
A Survey of Techniques for Maximizing LLM Performance.pptx
 
How to Build a Module in Odoo 17 Using the Scaffold Method
How to Build a Module in Odoo 17 Using the Scaffold MethodHow to Build a Module in Odoo 17 Using the Scaffold Method
How to Build a Module in Odoo 17 Using the Scaffold Method
 
S1-Introduction-Biopesticides in ICM.pptx
S1-Introduction-Biopesticides in ICM.pptxS1-Introduction-Biopesticides in ICM.pptx
S1-Introduction-Biopesticides in ICM.pptx
 
The simplified electron and muon model, Oscillating Spacetime: The Foundation...
The simplified electron and muon model, Oscillating Spacetime: The Foundation...The simplified electron and muon model, Oscillating Spacetime: The Foundation...
The simplified electron and muon model, Oscillating Spacetime: The Foundation...
 
How to Add Chatter in the odoo 17 ERP Module
How to Add Chatter in the odoo 17 ERP ModuleHow to Add Chatter in the odoo 17 ERP Module
How to Add Chatter in the odoo 17 ERP Module
 
Types of Herbal Cosmetics its standardization.
Types of Herbal Cosmetics its standardization.Types of Herbal Cosmetics its standardization.
Types of Herbal Cosmetics its standardization.
 
Pollock and Snow "DEIA in the Scholarly Landscape, Session One: Setting Expec...
Pollock and Snow "DEIA in the Scholarly Landscape, Session One: Setting Expec...Pollock and Snow "DEIA in the Scholarly Landscape, Session One: Setting Expec...
Pollock and Snow "DEIA in the Scholarly Landscape, Session One: Setting Expec...
 
Main Java[All of the Base Concepts}.docx
Main Java[All of the Base Concepts}.docxMain Java[All of the Base Concepts}.docx
Main Java[All of the Base Concepts}.docx
 
Life upper-Intermediate B2 Workbook for student
Life upper-Intermediate B2 Workbook for studentLife upper-Intermediate B2 Workbook for student
Life upper-Intermediate B2 Workbook for student
 
Your Skill Boost Masterclass: Strategies for Effective Upskilling
Your Skill Boost Masterclass: Strategies for Effective UpskillingYour Skill Boost Masterclass: Strategies for Effective Upskilling
Your Skill Boost Masterclass: Strategies for Effective Upskilling
 
Exploiting Artificial Intelligence for Empowering Researchers and Faculty, In...
Exploiting Artificial Intelligence for Empowering Researchers and Faculty, In...Exploiting Artificial Intelligence for Empowering Researchers and Faculty, In...
Exploiting Artificial Intelligence for Empowering Researchers and Faculty, In...
 
PCOS corelations and management through Ayurveda.
PCOS corelations and management through Ayurveda.PCOS corelations and management through Ayurveda.
PCOS corelations and management through Ayurveda.
 
C1 Rubenstein AP HuG xxxxxxxxxxxxxx.pptx
C1 Rubenstein AP HuG xxxxxxxxxxxxxx.pptxC1 Rubenstein AP HuG xxxxxxxxxxxxxx.pptx
C1 Rubenstein AP HuG xxxxxxxxxxxxxx.pptx
 
CACJapan - GROUP Presentation 1- Wk 4.pdf
CACJapan - GROUP Presentation 1- Wk 4.pdfCACJapan - GROUP Presentation 1- Wk 4.pdf
CACJapan - GROUP Presentation 1- Wk 4.pdf
 

File based approach

  • 1. File Based System © Aviyal Presentations : https://aviyalpresentations.wordpress.com/
  • 2. What is file based system? • It’s a predecessor of database system. • Data is stored in files. • Each unit of organization has its own files and each file has a specific set of programs that were used to manipulate data in that file. • Each department collected and maintained the required data. This usually resulted in duplication of data and inconsistency of data. • Entries are searched sequentially to retrieve data. Alternatively, indexing system could be used. • It works well when the number of data items to be stored is small. It even works quite well when the number of items to be stored is quite large and they are only needed to be stored and retrieved. © Aviyal Presentations : https://aviyalpresentations.wordpress.com/
  • 3. • File system crashes when cross-referencing and processing of information in the files is performed. • Its almost obsolete, cumbersome and time consuming. EXAMPLE: In a college a number of students are enrolled who can do various courses. The college may have separate files for student personal details, fees paid by each of them, details of faculty members, details of courses taught etc.. © Aviyal Presentations : https://aviyalpresentations.wordpress.com/
  • 4. Disadvantages of File based System • File-based system has the following disadvantages:  Data Redundancy: Due to decentralized approach, the same information may be duplicated in different files. This leads to : i) wastage of storage space ii) costs time and money to enter the data more than once. For example, consider a person has both savings and current account. In this case, customers personal details(name, address…) will be stored in both files. This results in wastage of memory.  Data Inconsistency: Two reasons for inconsistency: i) more than one person modifies the data simultaneously. ii) wrong data is entered. For example, consider a person has both savings and current account. Consider that the address of a person is changed only in one file. This creates data inconsistency.  Difficulty in Accessing Data: It becomes difficult to access data when data is stored in different files. When data is stored in more than one file it becomes extremely difficult to access data as large amount of data has to be searched.  Limited Data Sharing: Data are stored in different files. Different files may have different formats and these files may be stored in different folders. So, due to this data isolation, it is difficult to share data among different applications. © Aviyal Presentations : https://aviyalpresentations.wordpress.com/
  • 5.  Integrity Problems: Data integrity means that the data contained in the database in both correct and consistent. For this purpose the data stored in database must satisfy correct and consistent. For example, balance for any account should not be less than 0, this should be specified in the system by adding appropriate code .  Data dependence: File structure is stored in program code. Its very difficult to change the existing structure. The programmer will have to find all the affected programs, modify and change them. This characteristic is known as program data independence.  Incompatible file formats: File structure is stored in program code, therefore the structure is dependent on programming language. This makes it difficult to process jointly.  Fixed Queries: File based systems are dependent on application program. Programs are written to satisfy particular functions. Any new requirement needs a new program.  Maintenance: Maintenance of file based system is difficult.  Security: There is no provision for security. Paper files can be lost leading to permanent data loss.  Recovery: Recovery is non-existent or inadequate. © Aviyal Presentations : https://aviyalpresentations.wordpress.com/
  • 6. © Aviyal Presentations : https://aviyalpresentations.wordpress.com/