We are independent & ad-supported. We may earn a commission for purchases made through our links.
Advertiser Disclosure
Our website is an independent, advertising-supported platform. We provide our content free of charge to our readers, and to keep it that way, we rely on revenue generated through advertisements and affiliate partnerships. This means that when you click on certain links on our site and make a purchase, we may earn a commission. Learn more.
How We Make Money
We sustain our operations through affiliate commissions and advertising. If you click on an affiliate link and make a purchase, we may receive a commission from the merchant at no additional cost to you. We also display advertisements on our website, which help generate revenue to support our work and keep our content free for readers. Our editorial team operates independently of our advertising and affiliate partnerships to ensure that our content remains unbiased and focused on providing you with the best information and recommendations based on thorough research and honest evaluations. To remain transparent, we’ve provided a list of our current affiliate partners here.
Software

Our Promise to you

Founded in 2002, our company has been a trusted resource for readers seeking informative and engaging content. Our dedication to quality remains unwavering—and will never change. We follow a strict editorial policy, ensuring that our content is authored by highly qualified professionals and edited by subject matter experts. This guarantees that everything we publish is objective, accurate, and trustworthy.

Over the years, we've refined our approach to cover a wide range of topics, providing readers with reliable and practical advice to enhance their knowledge and skills. That's why millions of readers turn to us each year. Join us in celebrating the joy of learning, guided by standards you can trust.

What Is an Autonomous Transaction?

By T.S. Adams
Updated: May 17, 2024
Views: 5,907
Share

An autonomous transaction is a type of transaction used in the Oracle® line of database software programs. In the simplest sense of the term, an autonomous transaction is a transaction which occurs and completes as part of another transaction. During autonomous transactions, the computer software pauses its processing of the original transaction, branching off to retrieve the information or complete the process required by the autonomous transaction. Once it has obtained a result for the autonomous transaction, it picks up exactly where it left off in processing the original transaction.

Autonomous transactions are typically used when a database operator wants to break a more complex transaction into its component parts. For example, if the database operator wants to produce of a list of all employees who make more than $60,000 US Dollars (USD) a year and then wishes to subdivide that list into only the employees under 30 years of age, using an autonomous transaction would allow the operator to split the request into two parts. First, the computer will being gathering a list of all employees who make $60,000 USD. In the midst of this operation, it will resolve the second part of the request to complete the autonomous transaction, selecting only those employees from the $60,000 USD or more list who are also under 30 years of age.

One major advantage to autonomous transactions is that they provide greater simplicity when calling database operations. In breaking things down into their component parts, it can become easier for a database operator to visualize each step in the process, easing the process of coding the actual request. A second advantage to autonomous transactions is that they can be nested within each other; a skilled database operator can program a transaction which calls an autonomous transaction where the autonomous transaction then calls any number of additional autonomous transactions. This drastically improves the flexibility of the Oracle database transaction software, allowing more complex transactions to be coded with ease.

Each transaction which occurs in the program is tracked by the software itself for auditing purposes. This allows individuals to review the transactions that have been requested from the database. Writing transactions in autonomous form can help to simplify the auditing procedure, as it is far easier to make sense of a number of sequential simple transactions than a single complex statement.

Share
WiseGeek is dedicated to providing accurate and trustworthy information. We carefully select reputable sources and employ a rigorous fact-checking process to maintain the highest standards. To learn more about our commitment to accuracy, read our editorial process.

Editors' Picks

Discussion Comments
Share
https://www.wisegeek.net/what-is-an-autonomous-transaction.htm
Copy this link
WiseGeek, in your inbox

Our latest articles, guides, and more, delivered daily.

WiseGeek, in your inbox

Our latest articles, guides, and more, delivered daily.