先决条件–操作系统类型
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. |