Solved

Oracle : READ COMMITTED - Deadlocks

Posted on 2013-12-09
3
407 Views
Last Modified: 2013-12-10
I understand that read committed option is set for transaction level to get the committed data before the current query is executed. I have a question, may be a dumb question

Let us say, I have a session set as

ALTER SESSION SET ISOLATION_LEVEL READ COMMITTED;

but I have a procedure created in the same session which includes the statement

SET TRANSACTION ISOLATION LEVEL SERIALIZABLE;


how does that procedure execute, does it go by READ COMMITTED or SERIALIZABLE ?


Kindly suggest !
0
Comment
Question by:d27m11y
  • 2
3 Comments
 
LVL 15

Accepted Solution

by:
Franck Pachot earned 500 total points
Comment Utility
Hi,
The alter session is the default for your session transactions.
So the set transaction is overrides it.
Regards,
Franck.
0
 

Author Comment

by:d27m11y
Comment Utility
So, do you mean it would consider serializable transaction ?
0
 
LVL 15

Expert Comment

by:Franck Pachot
Comment Utility
Yes that´s right.
0

Featured Post

PRTG Network Monitor: Intuitive Network Monitoring

Network Monitoring is essential to ensure that computer systems and network devices are running. Use PRTG to monitor LANs, servers, websites, applications and devices, bandwidth, virtual environments, remote systems, IoT, and many more. PRTG is easy to set up & use.

Join & Write a Comment

Suggested Solutions

Title # Comments Views Activity
Oracle Pivot 2 32
Last record chosen in Oracle Query 3 34
JDeveloper 12c for 32 bit 4 34
Oracle DATE Column Space 11 40
Subquery in Oracle: Sub queries are one of advance queries in oracle. Types of advance queries: •      Sub Queries •      Hierarchical Queries •      Set Operators Sub queries are know as the query called from another query or another subquery. It can …
Have you ever had to make fundamental changes to a table in Oracle, but haven't been able to get any downtime?  I'm talking things like: * Dropping columns * Shrinking allocated space * Removing chained blocks and restoring the PCTFREE * Re-or…
This video explains at a high level about the four available data types in Oracle and how dates can be manipulated by the user to get data into and out of the database.
This video shows how to configure and send email from and Oracle database using both UTL_SMTP and UTL_MAIL, as well as comparing UTL_SMTP to a manual SMTP conversation with a mail server.

762 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

Need Help in Real-Time?

Connect with top rated Experts

10 Experts available now in Live!

Get 1:1 Help Now