Databases / Files

When you are thinking about the concepts in this lesson, things about the Visa Company's customer and purchaise files. These files are:

File Manager

A program that manages files by providing an interface between the user and the files. It does all of the above functions including:

  • handles backups
  • brings files back to a consistant state after the power goes out
  • allows simultaneous access by multiple users.
  • prevents unauthorized access

On-Line Processing

Master File

Real Time Processing

Batch Processing

  • user requests are processed as they come in
  • it is fast and convenient for users
  • the big problems are in simultaneous access. If a file/record is in use it is generally locked. Then other users who want to access it can read it, but not change it until the other user is no longer using it.
  • user requests are saved in order. At night or at a given time, they are processed in order.
  • this is how banks process cheques
  • it is slower for the user. they must wait for the transaction to clear.
  • there are no simultaneous access problems.