Online Transaction Processing, or OLTP, Refers To A Class of
Online Transaction Processing, or OLTP, Refers To A Class of
definition –
REQUIREMENTS:-
BENEFITS:-
ADVANTAGES OF OLTP:-
Online Transaction Processing (OLTP) has the following advantages:
DISADVANTAGES OF OLTP:-
As with any information processing system, security and reliability
are considerations. Online transaction systems are generally more
susceptible to direct attack and abuse than their offline counterparts.
When organizations choose to rely on OLTP, operations can be
severely impacted if the transaction system or database is unavailable
due to data corruption, systems failure, or network availability issues.
Additionally, like many modern online information technology
solutions, some systems require offline maintenance which further
affects the cost-benefit analysis.
1. Today, with the ubiquity of the internet, more and more people
even from those remote areas are not doing transactions online
through an e-commerce environment. The term transaction
processing is often associated with the process wherein an
online shop or ecommerce website accepts and processes
payments through a customer's credit or debit card in real time
in return for purchased goods and services.
2. During the process of online transactions, a merchant payment
system will automatically connect to the bank or credit card
company of the customer and carry out security, fraud and other
checking for validity after which authorization to take the
payment follows. In is strongly advised that whfen a company
looks for other companies that will handle online transactions
and processing, the company should have a system
infrastructure that is robust, secure and reliable that give
customers fast, seamless and secure checkout time.
3. An OLTP implementation tends to be very large involving very
high volume of data at any given time. Business organizations
have invested in sophisticated transaction management software
like Customer Information Control System (CICS) and database
optimization tactics that can help OLTP process very large
numbers and volumes of concurrent updates on an OLTP-
oriented database.
4. There are also many OLTP brokering programs which can
distribute transaction processing among multiple computers on a
network that can enhance the functions of an OLTP working on
a more demanding decentralized database system. Service
oriented architectures and web services are now commonly
integrated with OLTP.
5. The two main benefits with using OLTP are simplicity and
efficiency. OLTP helps simplify a business operation by
reducing paper trails and helping draw faster and more accurate
forecasting for revenues and expenses. OLTP helps provide a
concrete foundation with timely updating of corporate data. For
an enterprise' customers, OLTP allows the more choices on how
they want to pay giving them more flexible time and enticing
them to make more transactions. Most OLTP transactions offer
services to customers 24 hours a day seven days a week .
APPLICATION OF OLTP:-
OLTP applications are often used to capture new data or update
existing data. An order-entry system is a typical example of an OLTP
application.
The data warehouse and the OLTP data base are both
relational databases. However, the objectives of both these
databases are different.
The OLTP database records transactions in real time and aims
to automate clerical data entry processes of a business entity.
Addition, modification and deletion of data in the OLTP
database is essential and the semantics of the application used in
the front end impact on the organization of the data in the
database.
The data warehouse on the other hand does not cater to real
time operational requirements of the enterprise. It is more a
storehouse of current and historical data and may also contain
data extracted from external data sources.
Differences
Data warehouse
OLTP database
database
Designed for analysis
of business measures Designed for real time
by categories and business operations.
attributes
Optimized for bulk Optimized for a
loads and large, common set of
complex, transactions, usually
unpredictable queries adding or retrieving a
that access many rows single row at a time
per table. per table.
Optimized for
Loaded with
validation of
consistent, valid data;
incoming data during
requires no real time
transactions; uses
validation
validation data tables.
Supports few
Supports thousands of
concurrent users
concurrent users.
relative to OLTP
OLAP
OLTP
1. Current data. 1. Current and historical data.
2. Short database transactions . 2. Long database transactions.
3. Short database transactions . 3. Batch update/insert/delete.
4. Normalization is promoted . 4. Denormalization is promoted .
5. High volume transactions . 5. Low volume transactions.
6. Transaction recovery is 6. Transaction recovery is not
necessary. necessary.
TYPES:-
Features
Rapid response
Reliability
Inflexibility
Controlled processing
Consistency
Isolation
Durability
Concurrency
Ensures that two users cannot change the same data at the same time.
That is, one user cannot change a piece of data before another user
has finished with it. For example, if an airline ticket agent starts to
reserve the last seat on a flight, then another agent cannot tell another
passenger that a seat is available.
Storing and retrieving
A hierarchical structure.
A network structure.
In a TPS, there are 5 different types of files. The TPS uses the files to
store and organize its transaction data:
Master file: Contains information about an organization’s
business situation. Most transactions and databases are stored
in the master file.
Transaction file: It is the collection of transaction records. It
helps to update the master file and also serves as audit trails
and transaction history.
Report file: Contains data that has been formatted for
presentation to a user.
Work file: Temporary files in the system used during the
processing.
Program file: Contains the instructions for the processing of
data.
Data warehouse
Main article: Data warehouse
Backup procedures
Recovery process
A TPS may fail for many reasons. These reasons could include a
system failure, human errors, hardware failure, incorrect or invalid
data, computer viruses, software application errors or natural or man-
made disasters. As it's not possible to prevent all TPS failures, a TPS
must be able to cope with failures. The TPS must be able to detect and
correct errors when they occur. A TPS will go through a recovery of
the database to cope when the system fails, it involves the backup,
journal, checkpoint, and recovery manager:
Partial backups
This only occurs when parts of the master file are backed up. The
master file is usually backed up to magnetic tape at regular times, this
could be daily, weekly or monthly. Completed transactions since the
last backup are stored separately and are called journals, or journal
files. The master file can be recreated from the journal files on the
backup tape if the system is to fail.
Updating in a batch
Updating in real-time
This is the immediate processing of data. It provides instant
confirmation of a transaction. This involves a large amount of users
who are simultaneously performing transactions to change data.
Because of advances in technology (such as the increase in the speed
of data transmission and larger bandwidth), real-time updating is now
possible.
-The term 'electronic payment' is a collective phrase for the many different
kinds of electronic payment methods available (also meaning online payment),
and the processing of transactions and their application within online merchants
and ecommerce websites.
It is essential for all online businesses to be able to accept and process electronic
payments in a fast and secure way. Businesses can gain a significant advantage
over their competitors by providing an instant electronic payment service as it
lets customers pay by their preferred way of credit or debit card.
Electronic payments systems can also increase your cash flow, reduce
administrative costs and labour and provide yet another way for your customers
to pay. Care must be taken when choosing an electronic payment solution as it
will need to fit within the constraints of your particular online business and
integrate seamlessly within your website.