Beruflich Dokumente
Kultur Dokumente
Systems (TPS)
6.1 Batch, Real Time/Online Systems
What is a TPS?
• A Transaction Processing System (TPS) is a type of
information system that collects, stores, modifies and
retrieves the data transactions of an enterprise
• Examples of TPS includes ATMs, Point Of Sale
systems (POS) in a retail shop, electronic transfer of
funds, airline reservation systems, Motel/Hotel
reservations, Library Booking systems etc.
TPS Overview
• TPS are aimed at improving the daily/routine
business activities of an enterprise
• The types of transactions that occur vary from
organization to organization.
• Transaction processing is mainly interested with
maintaining data integrity
Transactions ..
• Common transactions include:
– Customer orders, Purchase orders, Receipts, invoices
etc.
– Billing customers, placing orders, depositing cheques
– Purchases & Orders (phone, Internet, direct)
– from Airline reservations to Toll Booth Operations
– payroll checks in an organization
TPS motivated by the following reasons
ii. The need to allow many Users to work on the same set
of data, with immediate updating
(durability).
All these properties combine to ensure the integrity of all data
Data entry
Input
of accumulated Output
(batched)
transactions
Examples of BTP systems include:
1. CHEQUE CLEARANCE- A cheque is a written order asking the bank
to pay an amount of money to a particular person. When one is issued to a
person they deposit it into a bank account yet the money cannot be withdrawn
until the cheque is cleared. This involves checking the that the cheque writer has
enough money in their account to cover it usually taking 3 working days in which
cheques are cleared in a group during a quiet period of the day.
2. BILL GENERATION- Organisations develop a bill or invoice of services
or products supplied to a customer. Usually generate a group of bills at a
scheduled time as this enables the user to effectively mange time and results in less
disruption to main database.
3. CREDIT CARD TRANSACTIONS- Credit cards have become a
method of paying for goods and services. In a credit slip system the retailer sends
credit slips to the bank as a group. In POS terminal sales the transactions are
stored for processing later. The customers may view their credit card transactions
as real-time but the actual updating is batch.
Characteristics of
Batch Transaction Processing:
1. Relies on accumulating transaction data over a period of time
and then processing the entire batch at once.
2. Batch processing is usually cyclic: daily, weekly, or monthly run
cycle is established depending on the nature of the transactions
3. Cheaper than on-line processing
4. Easier to control than on-line processing
5. Database is constantly out of date
6. Batch processing is now being captured using disk files
Advantages of Batch Processing
Terminal
Terminal Terminal
Output
Immediate
Terminal processing
of each
transaction
Terminal
Terminal
Examples of RTTP systems include:
1. RESERVATION SYSTEMS- involve setting aside a service or product for the customer to use
at a future time. Commonly used for travelling such as in flight or train bookings and motel
reservations. Require an acceptable response time because transactions are made in
presence of customers.
2. POS TERMINALS- are used by retail stores to sell goods and services. Send inventory data to a
central computer (mainframe or midrange) when sale is made which does the processing for entire chain.
To accomplish this the data is converted to a form that is easily transmitted through a communication
system. If the POS terminal immediately processes the transaction it minimises the cost of batch
handling. Advantage is that the correct price of the product is received once the product is entered
usually through barcodes when barcode readers are used to identify the product. The POS terminal can
provide price and any other relevant information about the product.
3. LIBRARY LOAN SYSTEM- is used to keep track of items borrowed from the library. When
a book is borrowed the librarian scans the barcode on the person’s membership card and the book.
This information and the date are immediately recorded on the library database. All in real-time.
Similar to reservation system as operational activities involve keeping information on products,
availability, usage and maintenance. Also has ‘front office’ and ‘back office’. Only difference is that
loan system has more items, which are stored in a data warehouse.
Characteristics of On-Line
Transaction Processing:
1. Each transaction is completely processed immediately
upon entry.
2. RTTP is the most common mode of used today.
3. More costly than batch processing.
4. Database is always up to date.
5. Require the use of fast secondary storage such as
magnetic disks.
Advantages of RTTP
Real time transaction processing: (compared to batch)
36
Management of TPS cont..
Disaster Recovery
What plans are in place to recover lost business data?
What plans are in place to resume business processing in case
of disaster?
Audit
Can you verify the integrity of the system?
How will you know if transactions are not processed or are
processed incorrectly?
37