Professional Documents
Culture Documents
ON
FILE ORGANISATION
SUBMITTED TO: BY: JYOTI(C-2657)
KRITIKA(30)
MRS. SONAL BENIWAL
POOJA(10)
MANISHA (16)
CSE-3rd sem(Dec-10)
FILE ORGANISATION
Technique for physically arranging records
of a file on the secondary storage.
FACTORS OF SELECTING
FILE ORGANISATION
Fast data retrieval and throughput.
Efficient storage space utilization.
Protection from failure and data loss.
Minimizing need for reorganization.
Security from unauthorized use..
TYPES
Sequential file organization
Indexed file organization
Hashed file organization
SEQUENTIAL FILE
ORGANIZATION
It contains records organized by the order in which they are
entered. The order of the records is fixed.
Records in sequential file can be read or written only sequentially.
After you have placed a record in a sequential file, you can not
shorten, lengthen or delete the record. However you can update
(rewrite) a record if the length doesn’t change. New records are
added at the end of the file.
If the order in which you keep records in a file is not important,
sequential organization is a good choice whether there are many
records or only a few. Sequential output is only useful for printing
records .
THE SEQUENTIAL FILE
F i x e d f o r m a t u s e d f o r r e c o r d s .
Record2
Record3
Record4
Record5
Record6
Record7
Record
Terminator End of file
ADVANTAGES OF
SEQUENTIAL FILE
6. Adding Rows Require rewriting A space can be dynamically Very easy , except
files allocated , this is easy , but multiple keys with
requires maintenance of indexes same address
require extra work
7. Updating rows Usually requires Easy , but requires maintenance Very easy
rewriting files of indexes
THANK
YOU…