Seminar Topics & Project Ideas On Computer Science Electronics Electrical Mechanical Engineering Civil MBA Medicine Nursing Science Physics Mathematics Chemistry ppt pdf doc presentation downloads and Abstract

Full Version: TRANSACTION PROCESSING SYSTEMS ppt
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
TRANSACTION PROCESSING SYSTEMS

[attachment=30850]

Transaction Processing Systems

“Collection of operation that form a single logical unit of work are called TRANSACTION”. Often, a collection of several operation on the database appears to be a single unit from the point of view of the database user. For example, a transfer of funds from a checking account to a saving account is a single operation from the customer standpoint; within the database system,however, it consist of several operations. Clearly, It is essential that all these operation occure, or that, in case of a failure, none occure. It would be unacceptable if the checking account is debited, but the saving account were not credited. A database system must ensure proper execution of transaction despite failures-either either the entire transaction execute , or none of it does. Furthermore, it must manage concurrent execution of transaction in a way that avoid the introduction of inconsistency. In our funds-transfer example, a transaction computing the customer’s total money might see the checking account balance before it is debited by the funds-transfer transaction, but see the saving balance after it is created. As a result, it would obtain an incorrect result.

Transaction Concept

A Transaction is a unit of program execution that accesses and possibly updates various data items. Usually a transaction is initiated by a user program written in a high level data manipulation language (for example ,SQL,C++,JAVA) where it is delimited by statements (for function calls) of the form begin transaction and end transaction. The transaction consist of all operation executed between the being transaction and end transaction .

Transaction Processing Systems

[attachment=32318]

IS that process data resulting from occurrences of business transactions
Transactions are events that occur as part of doing business e.g. sales, purchases, deposits, withdrawals
Transaction processing activities needed to capture and process data
Support business operations
E.g data generated whenever business sells something on credit. Data about customer, sales person, store, customer billing , credit checks, inventory changes etc.

Traditional Data Entry

Rely on end users
Data entry using keyboard terminals periodically in Batches
Data entry specialists enter data using keyboards.
Many people and activities needed
High Costs and more errors

Source Data Automation

Automated methods for data entry
Sales transaction processing system
Captures data as early as possible after a transaction
Captures transaction as close as possible to the source that generates the data
Captures data using machine-readable media
Capturing data that rarely changes on pre recordable media
Captures data directly without the use of data media by optical scanning of bar code packaging

Batch Processing

Transactions are accumulated over time and processed.
It involves
Gathering source documents originated by business transactions
Record Transactions on some input medium
Sort transaction file in order of master file
Process transactions and create updated master file
Capture and store batches of transaction data at remote sites and transmit them periodically to a central computer for processing

Real Time Processing

Transaction data is processed immediately after they are generated
Called Online transaction Processing Systems (OLTP)
Transaction data are processed as soon as they are originated or recorded, without waiting to accumulate batches of data.
Data is fed directly into computer terminals from online transactions
Immediate responses to user queries
Files and databases are upto date
Depends on Internet, extranets and other networks to provide link between transaction terminals, client PCs, Servers and other computers.

Fault Tolerant Processing

The processing system which can respond gracefully to an unexpected hardware or software failure.
Airline reservation, online banking, Internet Electronic Commerce application
May use a multiprocessor design of several coupled CPU’s or parallel processor
Provides built-in backup fail over capability
Have redundant memory units, disk drives, duplicate software copies, redundant OS.

Database Maintenance

TPS must maintain database and ensure they correct and up to date.
Must record day to day transactions & make suitable Updation in a database
e.g. credit sales will cause customer credit balances to increase & inventory to decrease.
These updated databases provide updated data for MIS, DSS and EIS.