unit 3 part 1
unit 3 part 1
File:
The file size is the limited by the size of memory and storage medium.
File organization:
file organization is the way data is stored and organized within a database.
To perform insert, delete or update transaction on the record should be quick and
easy.
Pile method:
Sorting method:
➢ The new record is always inserted at the files end.
➢ Then it will sort the sequence in ascending or descending order.
➢ Sorting of record is based on any primary key or any other key.
Advantage:
➢ It is simple in design.
➢ It requires no much effort to store the data.
➢ Fast and efficient method for huge amount of data.
Disadvantage:
Sequential file is time consuming process.
Hash file organization is a technique used to store and retrieve data in a file using a hash
function.
Hash file organization, also known as direct file organization, is a method of storing and
retrieving records in a database using a hash function.