LM2 File Organisation
LM2 File Organisation
CS3391/OOP/IICSE/IIISEM/KG-KiTE
Syllabus
UNIT IV-IMPLEMENTATION TECHNIQUES
CS3391/OOP/IICSE/IIISEM/KG-KiTE
FILE ORGANIZATION
File Organization
• File Organization refers to the logical relationships among various
records that constitute the file, particularly with respect to the means
of identification and access to any specific record.
• In simple terms, Storing the files in a certain order is called File
Organization.
• File Structure refers to the format of the label and data blocks and of
any logical control record.
File Organization
File Organization
The Objective of File Organization
• It helps in the faster selection of records i.e. it makes the process
faster.
• Different Operations like inserting, deleting, and updating different
records are faster and easier.
• It prevents us from inserting duplicate records via various operations.
• It helps in storing the records or the data very efficiently at a minimal
cost
File Organization
Types of File Organizations:
• Sequential File Organization
• Heap File Organization
• Hash File Organization
• B+ Tree File Organization
• Clustered File Organization
• ISAM (Indexed Sequential Access Method)
I. Sequential File Organization
• The easiest method for file Organization is the Sequential method.
• In this method, the file is stored one after another in a sequential
manner.
• There are two ways to implement this method:
1. Pile File Method