File organization refers to the relationship of the key of the record to the physical location of that record in the computer file.
File organization may be either physical file or a logical file. A physical file is a physical unit, such as magnetic tape or a disk.
A logical file on the other hand is a complete set of records for a specific application or purpose.
A logical file may occupy a part of physical file or may extend over more than one physical file.
The objectives of computer based file organization:
The various file organization methods are:
The selection of a particular method depends on:
1. Sequential access method: Here the records are arranged in the ascending or descending order or chronological order of a key field which may be numeric or both. Since the records are ordered by a key field, there is no storage location identification. It is used in applications like payroll management where the file is to be processed in entirety, i.e. each record is processed. Here, to have an access to a particular record, each record must be examined until we get the desired record.
Sequential files are normally created and stored on magnetic tape using batch processing method.
Advantages:
Disadvantages:
2. Direct access files organization: (Random or relative organization). Files in his type are stored in direct access storage devices such as magnetic disk, using an identifying key. The identifying key relates to tits actual storage position in the file. The computer can directly locate the key to find the desired record without having to search through any other record first. Here the records are stored randomly, hence the name random file. It uses online system where the response and updation are fast.
Advantages:
Disadvantages:
3. Indexed sequential access organization: Here the records are stored sequentially on a direct access device i.e. magnetic disk and the data is accessible randomly and sequentially. It covers the positive aspects of both sequential and direct access files.
The type of file organization is suitable for both batch processing and online processing.
Here, the records are organized in sequence foe efficient processing of large batch jobs but an index is also used to speed up access to the records.
Indexing permit access to selected records without searching the entire file.
Advantages:
Disadvantages:
What others searched for :
file organization,what is file organization,What is file organisation,What is file organization?,File organization methods,file organisation,www fileorganization com,What is file organisation?,File orgnization,Various file organisation method,explian file organization in sad,what is logical and physical file organization,Various methods in file organization,what is the file organization,various file0 orgnisation,file organization method,Different method of files organization,What are different ways to orgnize a file explain in detail,What are different methods of file organization,file organizational,