際際滷

際際滷Share a Scribd company logo
FILE ORGANIZATION
TYPES OF FILE ORGANIZATION
 Serial
 Sequential
 Indexed Sequential
 Direct Access /Random Access
Serial File Organization
 A collection of records
 No particular sequence
 Cannot be used as master
 Used as temporary transaction file
 Records stored in the order received
Sequential File Organization
 A collection of records
 Stored in key sequence
 Adding/deleting record requires making new
file
 Used as master files
Sequential file
Advantages
 Simple file design
 Very efficient when most of the records must
be processed e.g. Payroll
 Very efficient if the data has a natural order
 Can be stored on inexpensive devices like
magnetic tape.
Disadvantages
 Entire file must be processed even if a single
record is to be searched.
 Transactions have to be sorted before
processing
 Overall processing is slow
Indexed sequential file
 Each record of a file has a key field which
uniquely identifies that record.
 An index consists of keys and addresses.
 An indexed sequential file is a sequential
file (i.e. sorted into order of a key field) which
has an index.
 A full index to a file is one in which there is
an entry for every record.
Indexed sequential file
Indexed sequential file
 Indexed sequential files are important for
applications where data needs to be
accessed.....
 sequentially
 randomly using the index.
Indexed sequential file
 An indexed sequential file can only be stored
on a random access device
e.g. magnetic disc, CD.
Advantages
 Provides flexibility for users who need both
type of accesses with the same file
 Faster than sequential
Disadvantages
 Extra storage space for the index is required
Direct (Random) File Organization
 Records are read directly from or written on
to the file.
 The records are stored at known address.
 Address is calculated by applying a
mathematical function to the key field.
Direct (Random) File Organization
 A random file would have to be stored on a
direct access backing storage medium e.g.
magnetic disc, CD, DVD
 Example : Any information retrieval system.
Eg Train timetable system.
Advantages
 Any record can be directly accessed.
 Speed of record processing is very fast.
 Up-to-date file because of online updating.
 Concurrent processing is possible.
Disadvantages
 More complex than sequential
 Does not fully use memory locations
 More security and backup problems
Ad

Recommended

File organization
File organization
Ganesh Pawar
File organization
File organization
Computer Hardware & Trouble shooting
Ie Storage, Multimedia And File Organization
Ie Storage, Multimedia And File Organization
MISY
File organisation
File organisation
Samuel Igbanogu
File organization
File organization
Gokul017
File organization
File organization
KanchanPatil34
Concept of computer files
Concept of computer files
Samuel Igbanogu
File Organization
File Organization
Manyi Man
File organisation
File organisation
Mukund Trivedi
itft-File design
itft-File design
Shifali Sharma
File organisation in system analysis and design
File organisation in system analysis and design
Mohitgauri
Lecture #1 Introduction
Lecture #1 Introduction
Rico
Concept of computer files for Grade 12 learners
Concept of computer files for Grade 12 learners
wellingtonoboh
File structures
File structures
Shyam Kumar
File Management
File Management
Ramasubbu .P
File Types in Data Structure
File Types in Data Structure
Prof Ansari
File organization 1
File organization 1
Rupali Rana
File organization in database
File organization in database
Afrasiyab Haider
File organization and introduction of DBMS
File organization and introduction of DBMS
VrushaliSolanke
Fundamental File Processing Operations
Fundamental File Processing Operations
Rico
358 33 powerpoint-slides_16-files-their-organization_chapter-16
358 33 powerpoint-slides_16-files-their-organization_chapter-16
sumitbardhan
Ch 8 data base
Ch 8 data base
Khan Yousafzai
Chap01 (ics12)
Chap01 (ics12)
usmanahmadawan
Computers14 Ch6
Computers14 Ch6
miuitprofessor
File organization and indexing
File organization and indexing
raveena sharma
Fundamental file structure concepts & managing files of records
Fundamental file structure concepts & managing files of records
Devyani Vaidya
Wk 1 - File organization.pptx
Wk 1 - File organization.pptx
DORCASGABRIEL1
normalization process in relational data base management
normalization process in relational data base management
ssuserf80a8c
Introduction to File System
Introduction to File System
SanthiNivas
File Management File Concept, access methods, File types and File Operation
File Management File Concept, access methods, File types and File Operation
Dhrumil Panchal

More Related Content

What's hot (18)

File organisation
File organisation
Mukund Trivedi
itft-File design
itft-File design
Shifali Sharma
File organisation in system analysis and design
File organisation in system analysis and design
Mohitgauri
Lecture #1 Introduction
Lecture #1 Introduction
Rico
Concept of computer files for Grade 12 learners
Concept of computer files for Grade 12 learners
wellingtonoboh
File structures
File structures
Shyam Kumar
File Management
File Management
Ramasubbu .P
File Types in Data Structure
File Types in Data Structure
Prof Ansari
File organization 1
File organization 1
Rupali Rana
File organization in database
File organization in database
Afrasiyab Haider
File organization and introduction of DBMS
File organization and introduction of DBMS
VrushaliSolanke
Fundamental File Processing Operations
Fundamental File Processing Operations
Rico
358 33 powerpoint-slides_16-files-their-organization_chapter-16
358 33 powerpoint-slides_16-files-their-organization_chapter-16
sumitbardhan
Ch 8 data base
Ch 8 data base
Khan Yousafzai
Chap01 (ics12)
Chap01 (ics12)
usmanahmadawan
Computers14 Ch6
Computers14 Ch6
miuitprofessor
File organization and indexing
File organization and indexing
raveena sharma
Fundamental file structure concepts & managing files of records
Fundamental file structure concepts & managing files of records
Devyani Vaidya
File organisation in system analysis and design
File organisation in system analysis and design
Mohitgauri
Lecture #1 Introduction
Lecture #1 Introduction
Rico
Concept of computer files for Grade 12 learners
Concept of computer files for Grade 12 learners
wellingtonoboh
File structures
File structures
Shyam Kumar
File Management
File Management
Ramasubbu .P
File Types in Data Structure
File Types in Data Structure
Prof Ansari
File organization 1
File organization 1
Rupali Rana
File organization in database
File organization in database
Afrasiyab Haider
File organization and introduction of DBMS
File organization and introduction of DBMS
VrushaliSolanke
Fundamental File Processing Operations
Fundamental File Processing Operations
Rico
358 33 powerpoint-slides_16-files-their-organization_chapter-16
358 33 powerpoint-slides_16-files-their-organization_chapter-16
sumitbardhan
File organization and indexing
File organization and indexing
raveena sharma
Fundamental file structure concepts & managing files of records
Fundamental file structure concepts & managing files of records
Devyani Vaidya

Similar to Fileorganization AbnMagdy (20)

Wk 1 - File organization.pptx
Wk 1 - File organization.pptx
DORCASGABRIEL1
normalization process in relational data base management
normalization process in relational data base management
ssuserf80a8c
Introduction to File System
Introduction to File System
SanthiNivas
File Management File Concept, access methods, File types and File Operation
File Management File Concept, access methods, File types and File Operation
Dhrumil Panchal
File Structure.pptx
File Structure.pptx
zedd15
Chapter 3
Chapter 3
Cahaya Penyayang
Unit-1-Lecture-9.pptx file structure semester
Unit-1-Lecture-9.pptx file structure semester
NevilDesai8
FIle Organization.pptx
FIle Organization.pptx
Sreenivas R
Physical Database Design for database student-1.pdf
Physical Database Design for database student-1.pdf
Bolando
fileorganizationandintroductionofdbms-210313163900.pdf
fileorganizationandintroductionofdbms-210313163900.pdf
FraolUmeta
FILE MANAGEMENT.pptx
FILE MANAGEMENT.pptx
jayashri kolekar
Chapter 12.pptx
Chapter 12.pptx
AsmaaFaried1
Operating Systems - File Space Allocation
Operating Systems - File Space Allocation
cscprabh
Operating System - File Management concepts
Operating System - File Management concepts
cscprabh
File Management in Operating System
File Management in Operating System
Janki Shah
Disk Image!...and then what? Strategies for sustainable long-term storage an...
Disk Image!...and then what? Strategies for sustainable long-term storage an...
Helen Bailey
Unit 6 OSY.pptx aaaaaaaaaaaaaaaaaaaaaaaa
Unit 6 OSY.pptx aaaaaaaaaaaaaaaaaaaaaaaa
harshlad847
Unit 3 file management
Unit 3 file management
Kalai Selvi
Application portfolio development.advadisadvan.pptx
Application portfolio development.advadisadvan.pptx
AmanJain384694
Unit 3
Unit 3
knoxbusiness
Wk 1 - File organization.pptx
Wk 1 - File organization.pptx
DORCASGABRIEL1
normalization process in relational data base management
normalization process in relational data base management
ssuserf80a8c
Introduction to File System
Introduction to File System
SanthiNivas
File Management File Concept, access methods, File types and File Operation
File Management File Concept, access methods, File types and File Operation
Dhrumil Panchal
File Structure.pptx
File Structure.pptx
zedd15
Unit-1-Lecture-9.pptx file structure semester
Unit-1-Lecture-9.pptx file structure semester
NevilDesai8
FIle Organization.pptx
FIle Organization.pptx
Sreenivas R
Physical Database Design for database student-1.pdf
Physical Database Design for database student-1.pdf
Bolando
fileorganizationandintroductionofdbms-210313163900.pdf
fileorganizationandintroductionofdbms-210313163900.pdf
FraolUmeta
Chapter 12.pptx
Chapter 12.pptx
AsmaaFaried1
Operating Systems - File Space Allocation
Operating Systems - File Space Allocation
cscprabh
Operating System - File Management concepts
Operating System - File Management concepts
cscprabh
File Management in Operating System
File Management in Operating System
Janki Shah
Disk Image!...and then what? Strategies for sustainable long-term storage an...
Disk Image!...and then what? Strategies for sustainable long-term storage an...
Helen Bailey
Unit 6 OSY.pptx aaaaaaaaaaaaaaaaaaaaaaaa
Unit 6 OSY.pptx aaaaaaaaaaaaaaaaaaaaaaaa
harshlad847
Unit 3 file management
Unit 3 file management
Kalai Selvi
Application portfolio development.advadisadvan.pptx
Application portfolio development.advadisadvan.pptx
AmanJain384694
Ad

Fileorganization AbnMagdy

  • 2. TYPES OF FILE ORGANIZATION Serial Sequential Indexed Sequential Direct Access /Random Access
  • 3. Serial File Organization A collection of records No particular sequence Cannot be used as master Used as temporary transaction file Records stored in the order received
  • 4. Sequential File Organization A collection of records Stored in key sequence Adding/deleting record requires making new file Used as master files
  • 6. Advantages Simple file design Very efficient when most of the records must be processed e.g. Payroll Very efficient if the data has a natural order Can be stored on inexpensive devices like magnetic tape.
  • 7. Disadvantages Entire file must be processed even if a single record is to be searched. Transactions have to be sorted before processing Overall processing is slow
  • 8. Indexed sequential file Each record of a file has a key field which uniquely identifies that record. An index consists of keys and addresses. An indexed sequential file is a sequential file (i.e. sorted into order of a key field) which has an index. A full index to a file is one in which there is an entry for every record.
  • 10. Indexed sequential file Indexed sequential files are important for applications where data needs to be accessed..... sequentially randomly using the index.
  • 11. Indexed sequential file An indexed sequential file can only be stored on a random access device e.g. magnetic disc, CD.
  • 12. Advantages Provides flexibility for users who need both type of accesses with the same file Faster than sequential
  • 13. Disadvantages Extra storage space for the index is required
  • 14. Direct (Random) File Organization Records are read directly from or written on to the file. The records are stored at known address. Address is calculated by applying a mathematical function to the key field.
  • 15. Direct (Random) File Organization A random file would have to be stored on a direct access backing storage medium e.g. magnetic disc, CD, DVD Example : Any information retrieval system. Eg Train timetable system.
  • 16. Advantages Any record can be directly accessed. Speed of record processing is very fast. Up-to-date file because of online updating. Concurrent processing is possible.
  • 17. Disadvantages More complex than sequential Does not fully use memory locations More security and backup problems