We can physically order the records of a file on disk based on the values of one of their fields called the ordering field. This leads to an ordered or sequential file. Records are placed in an order in sequential file and that's why it is totally different from unordered files where records are stored in the order in which they are inserted, it means that if new records are inserted then they took place at the end of file.Sequential files have many advantages as given below.
* To find a record in the sequential file is very efficient, because all files are stored in an order and no sorting is required.
* Finding the next record from a current record is also very efficient and it does not require additional block access as the next record is in the current record.
* If we use a technique like Binary Search, then it becomes more efficient and easy to search a record. While on the other hand if we search a record in an unordered file then we have to check the whole file because records are stored in no order in unordered file. Sequential files are also known as Sorted files.
* To find a record in the sequential file is very efficient, because all files are stored in an order and no sorting is required.
* Finding the next record from a current record is also very efficient and it does not require additional block access as the next record is in the current record.
* If we use a technique like Binary Search, then it becomes more efficient and easy to search a record. While on the other hand if we search a record in an unordered file then we have to check the whole file because records are stored in no order in unordered file. Sequential files are also known as Sorted files.