📜  批处理系统与在线处理系统的区别

📅  最后修改于: 2021-09-13 03:02:27             🧑  作者: Mango

先决条件 – 操作系统类型

1. 批处理系统:
批处理系统处理按常规计划处理的大量数据。处理发生在经济事件发生并记录之后。它需要更少的编程、硬件和培训资源。在这个系统中,程序是通过作业来调度的。它允许共享程序和文件。

示例包括库存查询、网站购物交易、电子银行账户提款等。

批处理系统的优点:

  • 轻松管理大型重复工作。
  • 重复的工作完成得很快
  • 批处理系统可以离线工作

批处理系统的缺点:

  • 难以调试批处理系统
  • 有时代价高昂
  • 如果任何作业发生错误,则等待未知时间

2. 在线系统:
在线处理系统实时处理交易并立即提供输出。当任何经济事件发生时,就会发生处理。它需要更多的专用硬件资源,需要处理元件。在这个系统中,程序是通过事务启动的。它不允许共享程序和文件。

例子包括 是月末税计算、数据转换、数据分析、数据转换等。

在线系统的优点:

  • 对在线货币交易有用
  • 在网上购物时有用
  • 支持和稳定性

在线系统的缺点:

  • 数以百万计的请求有时变得难以处理
  • 需要大量员工来维护库存
  • 硬件问题造成大麻烦

批处理系统和在线系统的区别:

S.No. BATCH PROCESSING SYSTEM ONLINE PROCESSING SYSTEM
01. An Batch processing system handles large amounts of data which processed on a routine schedule. An online processing system handles transactions in real time and provides the output instantly.
02. Processing occurs when the after the economic event occurs and recorded. When the economic event takes place then the processing occurs.
03. In batch processing system fewer programming, hardware and training resources are required. In Online processing system more number of dedicated hardware resources, processing elements are required.
04. To avoid operational delays certain records are processed after the event. Immediately all the records pertaining to event are processed.
05. In batch processing system input data is prepared before the execution. In online processing system data is prepared at time of execution as needed.
06. In batch processing system the processing sequence is predictable. In online processing system the processing sequence is unpredictable.
07. In this the programs and files can not be shared. In this the program and files can be shared.
08. In batch processing system programs are scheduled through jobs. In online processing system programs are initiated through transactions.
09. In batch processing system recovery and restart is easy. In online processing system recovery and restart requires additional process.
10. Batch processing system uses tape storage. Online processing system uses disk storage.
11. Examples are Inventory query, website shopping transaction, e-Banking account withdrawal etc. Examples are month end tax calculation, data transformation, data analysis, data transformation etc.