File Organization/ What is the file Organisation and its types?

Hello Friends, In this blog post(What is the file Organisation and its types) I am going to explain to you about file organization. file organization refers to the manner in which the records of a file are arranged on secondary storage. The most popular file organization schemes are as follows.

What are the file organizations and their types:

Types of file organization:

Sequential: Records are placed in physical order. The next record is the one that physically follows the previous records. This organization is natural for files stored on magnetic tape, an inherently sequential medium.

Disk files may also be sequentially organized, but for various reasons, records in a sequential disk file are not necessarily stored contiguously.

Direct: Records are directly(randomly) accessed by their physical addresses on a direct access storage device(DASD). The application user places the records on the DASD in any order appropriate for a particular application.

Direct files require that the application user be familiar with the detailed physical organization of the DASDs upon which the files are stored. Hashing techniques are useful in locating data in a direct access file.

Indexed sequential: Records are arranged in a logical sequence according to a key contained in each record. The system maintains an index containing the physical addresses of certain principal records.

Indexed sequential records may be accessed sequentially in key order, or they may be accessed directly, by a search through the system-created index. Indexed sequential files are normally stored on a disk.

In the case of any queries, you can write to us at [email protected] we will get back to you ASAP.

Hope! you would have enjoyed this post about What is the file Organisation and its types.

Please feel free to give your important feedback in the comment section below|What are the file Organisation and its types|

Have a great time! Sayonara!

Anurag

I am a blogger by passion, a software engineer by profession, a singer by consideration and rest of things that I do is for my destination.