Transaction Processing Systems (TPS): Batch and Real-Time Systems

An error occurred trying to load this video.

Try refreshing the page, or contact customer support.

Coming up next: Enterprise Resource Planning: Using ERP to Integrate Business Processes

You're on a roll. Keep up the good work!

Take Quiz Watch Next Lesson
Your next lesson will play in 10 seconds
  • 0:07 Transaction Processing
  • 3:33 Batch vs Real-Time
  • 5:26 Types
  • 8:15 Lesson Summary
Save Save Save

Want to watch this again later?

Log in or sign up to add this lesson to a Custom Course.

Log in or Sign up

Speed Speed

Recommended Lessons and Courses for You

Lesson Transcript
Instructor: Paul Zandbergen

Paul is a GIS professor at Vancouver Island U, has a PhD from U of British Columbia, and has taught stats and programming for 15 years.

Transaction processing systems capture and process the detailed information necessary to update data on the fundamental operations of an organization. Learn about the characteristics of different types of systems in this lesson.

Transaction Processing

Consider for a moment all the events that take place on a daily basis in an organization. Let's take an electronics store as an example. A single store can easily carry 10,000 different items. Throughout the day, customers come into the store, select a product and pay for it at the checkout counter. Staff is continuously taking items from the stock room and placing them on the shelves. When the stock runs low, new shipments are ordered. Other customers come in to exchange items and deal with warranty issues.

All of these events are referred to as transactions, and keeping track of them requires a transaction processing system. A transaction processing system, or TPS, is a system to capture and process the detailed information necessary to update data on the fundamental operations of an organization.

A transaction is essentially a single event that changes something. There are many different types of transactions. For example, customer orders, receipts, invoices, payments, etc. The actual processing of transactions includes the collection, editing, manipulation and storage of data. The result of processing a transaction is that the records of an organization are updated to reflect the new conditions at the time of the last processed transaction.

Consider the example of the electronics store. A customer buys a video game and pays for it with cash at the register. This event is recorded as a sale transaction. However, it also triggers other transactions.

First, the amount of cash at the register has just gone up. Second, the inventory of the particular video game has gone down by one. These transactions are logically linked - they occur on the same day at the same time and involve the same item. Linking the transactions provides improved data consistency since one cannot exist without the other. The amount of cash in the register cannot go up unless some transaction makes this happen.

There are many different types of transaction processing systems, such as payroll, inventory control, order entry, accounts payable, accounts receivable and others. Transaction processing produces valuable input into many other systems in an organization, such as management information systems and decision support systems. A TPS serves as the foundation for these other systems. A TPS tracks routine operations but does not provide much support for decision making.

For example, in the case of a bank account, a TPS keeps track of all the events associated with a single account: deposits, withdrawals, transfers, fees, interest paid, etc. This provides a good description of the account activity.

Now let's say the customer comes into the bank and requests a car loan. The account activity is useful information but not enough for the bank to make a decision on the car loan. This requires combining information from different sources and analyzing the financial profile of the customer.

Batch vs. Real-Time Processing

There are two ways to process transactions: using batches and in real time. In a batch processing system, transactions are accumulated over a period of time and processed as a single unit, or batch. For example, a store may update its sales records every day after the store closes. Or, a payroll system may process all the time cards every two weeks to determine employee earnings and produce paychecks. Whatever the time period in a batch system, there is some time delay between the actual event and the processing of the transaction to update the records of the organization.

In a real-time processing system, transactions are processed immediately as they occur without any delay to accumulate transactions. Real-time processing is also referred to as online transaction processing, or OLTP. In this case, the records in the system always reflect the current status.

A good example of a real-time processing system would be airline ticket reservations. When you book a ticket and select a seat, that booking is made right away, and nobody else can get that same seat even a second later. Any changes you make to your reservation are also updated in real time. Another example is the stock market. When you submit an order to buy a stock, that order is processed immediately and not at the end of the day.

While real-time processing is often more efficient and in some cases necessary, batch processing may be more effective. In the case of a payroll system, there is really no need to keep track of how much an employee has earned every minute of the day and doing this every two weeks is likely sufficient.

To unlock this lesson you must be a Member.
Create your account

Register to view this lesson

Are you a student or a teacher?

Unlock Your Education

See for yourself why 30 million people use

Become a member and start learning now.
Become a Member  Back
What teachers are saying about
Try it risk-free for 30 days

Earning College Credit

Did you know… We have over 200 college courses that prepare you to earn credit by exam that is accepted by over 1,500 colleges and universities. You can test out of the first two years of college and save thousands off your degree. Anyone can earn credit-by-exam regardless of age or education level.

To learn more, visit our Earning Credit Page

Transferring credit to the school of your choice

Not sure what college you want to attend yet? has thousands of articles about every imaginable degree, area of study and career path that can help you find the school that's right for you.

Create an account to start this course today
Try it risk-free for 30 days!
Create an account