Want to win a PS4? Go Premium and enter to win our High-Tech Treats giveaway. Enter to Win

x
?
Solved

AUTONOMOUS_TRANSACTION

Posted on 2004-09-27
2
Medium Priority
?
1,307 Views
Last Modified: 2012-05-05
Hi All,
       I am using PRAGMA AUTONOMOUS_TRANSACTION in all my pl/sql Procedures. Are there any disadvantages or  
     performance issues for using the above in the code?

Thanks,
Cavaturu
0
Comment
Question by:cavaturu
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
2 Comments
 
LVL 7

Accepted Solution

by:
BobMc earned 1000 total points
ID: 12172872
No real perfomance issue, other than perhaps committing more often than you need to.
What would concern me is how you control your transactions - the way you have it, each procedure will commit its own changes - this may well be what you want, but what happens when you hit an error condition? Which bits get rolled back?

I dont know your application design, so I cant really be more specific than 'be careful'.

The only time I use autonomous transactions is when writing logs - audit trails, debug info etc where I want to find out what was attempted, even if it fails.

HTH
Bob
0
 

Author Comment

by:cavaturu
ID: 12175225
Thank you Bob
0

Featured Post

Free Backup Tool for VMware and Hyper-V

Restore full virtual machine or individual guest files from 19 common file systems directly from the backup file. Schedule VM backups with PowerShell scripts. Set desired time, lean back and let the script to notify you via email upon completion.  

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

A Stored Procedure in Microsoft SQL Server is a powerful feature that it can be used to execute the Data Manipulation Language (DML) or Data Definition Language (DDL). Depending on business requirements, a single Stored Procedure can return differe…
This article shows how to get a list of available printers for display in a drop-down list, and then to use the selected printer to print an Access report or a Word document filled with Access data, using different syntax as needed for working with …
This is a high-level webinar that covers the history of enterprise open source database use. It addresses both the advantages companies see in using open source database technologies, as well as the fears and reservations they might have. In this…
In this video, Percona Director of Solution Engineering Jon Tobin discusses the function and features of Percona Server for MongoDB. How Percona can help Percona can help you determine if Percona Server for MongoDB is the right solution for …
Suggested Courses

636 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question