Download as pptx, pdf, or txt
Download as pptx, pdf, or txt
You are on page 1of 5

File organization

*serial file organization


*sequential file organization
*index sequential 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 organization is the method of storing and retrieving data in a database file.
 File organization is an important concept in computer science for designing and
implementing file systems and DBMS.
Serial file organization

 Serial file organization: Serial file organization is also called as heap file. In this method,
records are inserted at the end of file into the data blocks. There is no requirement of
sorting data. When huge amount of data is to be inserted at a time in a organization, that
time this method is suitable.
 Sequential files are a type of serial file where records are sorted in ascending or
descending order based on a key field.
 Records in a file are stored and accessed one after another. The records are not stored in
any way on the storage medium this type of organization is mainly used on magnetic tapes.
Sequential file organization

 This method is the easiest method for file organization. In this method, files are stored
sequentially.
 A sequential file contains records organized by the order in which they were entered. The
order of the records is fixed.
 Records in sequential files can be read or written only sequentially.
 If the order In which you keep records in a file is not important, sequential organization is
good choice whether there are many records or only a few.
 Sequential output is also useful for printing reports.
Index sequential file

 In an Indexed Sequential File, data records are organized into fixed-length blocks, with
each block containing multiple records.
 These blocks are stored sequentially on the underlying storage medium, such as a hard disk
or solid-state drive.

You might also like