- Batch processing
Batch processing is execution of a series of programs ("jobs") on a
computerwithout human interaction.
Batch jobs are set up so they can be run to completion without human interaction, so all input data is preselected through scripts or
command-line parameters. This is in contrast to "online" or interactive programs which prompt the user for such input.
Batch processing has these benefits:
* It allows sharing of computer resources among many users and programs,
* It shifts the time of job processing to when the computing resources are less busy,
* It avoids idling the computing resources with minute-by-minute human interaction and supervision,
* By keeping high overall rate of utilization, it better amortizes the cost of a computer, especially an expensive one.
Batch processing has been associated with
mainframe computers since the earliest days of electronic computing in 1950s. Because such computers were enormously costly, batch processing was the only economically-viable option of their use. In those days, interactive sessions with either text-based computer terminalinterfaces or graphical user interfaces were not widespread. Initially, computers were not even capable of having multiple programs loaded to the main memory.
Batch processing has grown beyond its mainframe origins, and is now frequently used in
UNIXenvironments and Microsoft Windowstoo. UNIX systems uses shells and other scripting languages. DOSsystems uses batch files powered by COMMAND.COM, Microsoft Windows has cmd.exe, Windows Script Hostand advanced Windows PowerShell.
UNIX utilizes cron and at facilities allow for scheduling of complex job scripts.Windows has a
job scheduler. Most high-performance computingclusters uses batch processing to maximize cluster usage.
A popular computerized batch processing procedure is printing. This normally involves the operator selecting the documents they need printed and indicating to the batch printing software when, where they should be output and priority of the
print job. Then the job is sent to the print queue from where printing daemon sends them to the printer.
Batch processing is also used for efficient bulk database updates and automated
transaction processing, as contrasted to interactive online transaction processing(OLTP) applications.
Batch processing is also used for converting a number of computer files from one format to another. This is to make files portable and versatile especially for proprietary and legacy files where viewers are not easy to come by.
Batch-queuing systemfor schedulers that plan the execution of batch jobs
Job Processing Cyclefor detailed description of batch processing in the mainframe field
BatchPipesfor utility that increases batch performance
Wikimedia Foundation. 2010.