• Home
  • Archive
  • Tools
  • Contact Us

The Customize Windows

Technology Journal

  • Cloud Computing
  • Computer
  • Digital Photography
  • Windows 7
  • Archive
  • Cloud Computing
  • Virtualization
  • Computer and Internet
  • Digital Photography
  • Android
  • Sysadmin
  • Electronics
  • Big Data
  • Virtualization
  • Downloads
  • Web Development
  • Apple
  • Android
Advertisement
You are here:Home » What is Transaction Processing

By Abhishek Ghosh December 28, 2023 10:27 am Updated on December 28, 2023

What is Transaction Processing

Advertisement

In computer science, a transaction is a sequence of program steps that are regarded as a logical unit because they leave the data stock in a consistent state after error-free and complete execution. Therefore, a transaction is particularly required to be executed either completely and error-free or not at all.

Transactions are mostly used in database systems. Failed transactions must be canceled and the previous changes in the database reversed so that they do not affect the health of the database. Transactions are processed by transaction systems; these generate a history from several transactions.

Transactions are distinguished by the mark begin of transaction (abbreviation BOT) and end of transaction (abbreviation EOT):

Advertisement

---

Vim
1
2
3
4
begin of transaction
   read x
   write y
end of transaction

What is Transaction Processing

When executing transactions, the transaction system must guarantee the ACID properties:

  • Atomicity: A transaction is either executed completely or not at all. Transactions are therefore “indivisible”. If an atomic transaction is canceled, the system is unchanged.
  • Consistency: After the transaction is executed, the data set must be in a consistent form if it was already in a consistent form at the beginning of the transaction.
  • Isolation: If several transactions are executed at the same time, they must not influence each other.
  • Durability: The effects of a transaction must persist in the database. This means that the effects of transactions must not be lost or fade over time. Strictly speaking, nesting transactions is not possible because of this property, since rolling back an external transaction would violate the permanence of an internal transaction that has already been executed.

The goal of a transaction system is always to process as many transactions as possible in the shortest possible time. The serial execution of transactions – i.e. the execution of transactions one after the other – is easy to implement, but often does not lead to optimal fulfillment of this performance criterion. Transaction systems therefore split transactions into their operations and assemble them into histories, while preserving the ACID properties.

There are two ways to end a transaction through this process:

  • Commit: The transaction was completed successfully and without any problems, the impact of the transaction on the data set is permanently stored. The terms “commit” and “end of transaction” are often used interchangeably.
  • Abort: Problems have occurred during the execution of the transaction, its execution will not continue. The condition of atomicity also requires that all effects of the transaction on the data set must be reversed.

Undoing the effects of a transaction is known as a rollback. It may happen that the resetting of one transaction requires the resetting of another transaction, which can lead to the formation of veritable chains of resets; this is called a cascading reset.

When a transaction cannot be executed due to another transaction, it is called a block. If the first transaction is blocked by the second and the second by the first, this is called a deadlock.

A nested transaction is a transaction that is completely enclosed by another transaction. The inner transaction sees the changes that are made by the outer one. There are several variants for the behavior of the two transactions.

Distributed transactions are transactions that occur in multiple sub-transactions in distributed systems. To ensure the atomicity of distributed transactions, appropriate commit protocols are used. An example is the execution of a transfer on the database system of the remittant’s bank and the database system of the recipient’s bank. If something goes wrong after the money transfer at the second bank (e.g. account number is invalid), the money must be automatically transferred back.

Facebook Twitter Pinterest

Abhishek Ghosh

About Abhishek Ghosh

Abhishek Ghosh is a Businessman, Surgeon, Author and Blogger. You can keep touch with him on Twitter - @AbhishekCTRL.

Here’s what we’ve got for you which might like :

Articles Related to What is Transaction Processing

  • What is Transaction Processing Monitor (TPM)?

    A transaction processing monitor (TP monitor) is one of the oldest and best-known forms of middleware whose main task is to support and handle interactions between applications on different, even heterogeneous computer platforms. A transaction monitor provides functionality for developing, leveraging, managing, and maintaining transactional distributed information systems; its most important task is to handle […]

  • Axis Bank MasterCard Transaction Problem for this Month : Official Notice

    Axis Bank MasterCard is creating a huge problem for us this month and this is an Official notice for the individuals, Brands, Services who are facing problem of not getting paid.

  • What is Online Transaction Processing?

    Online transaction processing (OLTP), also known as real-time transaction processing, refers to a usage paradigm of database systems and business applications in which the processing of transactions takes place directly and promptly, i.e. without significant time delay. The counterpart is batch processing, in which all business transactions are collected and processed in batch runs – […]

  • What is OLTP (Online Transaction Processing)?

    OLTP stands for Online Transaction Processing. OLTP is a type of processing to facilitate and manage the transactional applications for data entry and recovery.

performing a search on this website can help you. Also, we have YouTube Videos.

Take The Conversation Further ...

We'd love to know your thoughts on this article.
Meet the Author over on Twitter to join the conversation right now!

If you want to Advertise on our Article or want a Sponsored Article, you are invited to Contact us.

Contact Us

Subscribe To Our Free Newsletter

Get new posts by email:

Please Confirm the Subscription When Approval Email Will Arrive in Your Email Inbox as Second Step.

Search this website…

 

vpsdime

Popular Articles

Our Homepage is best place to find popular articles!

Here Are Some Good to Read Articles :

  • Cloud Computing Service Models
  • What is Cloud Computing?
  • Cloud Computing and Social Networks in Mobile Space
  • ARM Processor Architecture
  • What Camera Mode to Choose
  • Indispensable MySQL queries for custom fields in WordPress
  • Windows 7 Speech Recognition Scripting Related Tutorials

Social Networks

  • Pinterest (24.3K Followers)
  • Twitter (5.8k Followers)
  • Facebook (5.7k Followers)
  • LinkedIn (3.7k Followers)
  • YouTube (1.3k Followers)
  • GitHub (Repository)
  • GitHub (Gists)
Looking to publish sponsored article on our website?

Contact us

Recent Posts

  • Cloud-Powered Play: How Streaming Tech is Reshaping Online GamesSeptember 3, 2025
  • How to Use Transcribed Texts for MarketingAugust 14, 2025
  • nRF7002 DK vs ESP32 – A Technical Comparison for Wireless IoT DesignJune 18, 2025
  • Principles of Non-Invasive Blood Glucose Measurement By Near Infrared (NIR)June 11, 2025
  • Continuous Non-Invasive Blood Glucose Measurements: Present Situation (May 2025)May 23, 2025
PC users can consult Corrine Chorney for Security.

Want to know more about us?

Read Notability and Mentions & Our Setup.

Copyright © 2026 - The Customize Windows | dESIGNed by The Customize Windows

Copyright  · Privacy Policy  · Advertising Policy  · Terms of Service  · Refund Policy