Computer Files and Databases
Computer Files and Databases
FILE ORGANIZATION
File organization refers to how records are arranged in a file or the relationship between the key of
the record and the physical location of that record in the computer file. The objectives of computer
based file organization are ease of file creation and maintenance and efficient means of storing
and retrieving information.
Sequential method
In sequential organization records are physically stored in a specified order according to a key field
in each record.
▪ It is fast and efficient when dealing with large volumes of data that need to be processed
periodically (batch system).
▪ Requires that all new transactions be sorted into the proper sequence for sequential access
processing.
▪ Locating, storing, modifying, deleting, or adding records in the file requires rearranging the file.
▪ This method is too slow to handle applications requiring immediate updating or responses.
▪ Direct file organization provides the fastest direct access to records. When using direct access
methods, records do not have to be arranged in any particular sequence on storage media.
▪ Computers must keep track of the storage location of each record using a variety of direct
organization methods so that data can be retrieved when needed.
▪ New transactions' data do not have to be sorted.
▪ Processing that requires immediate responses or updating is easily performed.
Features of databases
Database features powerful business tools that make it easy to create and manage robust, feature-
filled databases that help everyone succeed. The features include
1. Fast accessibility to data
2. Data sharing
3. Program-Data independence
4. Data integrity
5. Data security
Functions of DBMS
1. Data Dictionary Management
2. Data Storage Management
3. Data Security Management
4. Multiuser Access Control
5. Backup and Recovery Management
6. Data Integrity Management.