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

x
?
Solved

Oracle : READ COMMITTED - Deadlocks

Posted on 2013-12-09
3
Medium Priority
?
426 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
[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
3 Comments
 
LVL 15

Accepted Solution

by:
Franck Pachot earned 2000 total points
ID: 39708442
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
ID: 39708922
So, do you mean it would consider serializable transaction ?
0
 
LVL 15

Expert Comment

by:Franck Pachot
ID: 39709169
Yes that´s right.
0

Featured Post

Veeam Disaster Recovery in Microsoft Azure

Veeam PN for Microsoft Azure is a FREE solution designed to simplify and automate the setup of a DR site in Microsoft Azure using lightweight software-defined networking. It reduces the complexity of VPN deployments and is designed for businesses of ALL sizes.

Question has a verified solution.

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

Working with Network Access Control Lists in Oracle 11g (part 1) Part 2: http://www.e-e.com/A_9074.html So, you upgraded to a shiny new 11g database and all of a sudden every program that used UTL_MAIL, UTL_SMTP, UTL_TCP, UTL_HTTP or any oth…
I remember the day when someone asked me to create a user for an application developement. The user should be able to create views and materialized views and, so, I used the following syntax: (CODE) This way, I guessed, I would ensure that use…
This video shows information on the Oracle Data Dictionary, starting with the Oracle documentation, explaining the different types of Data Dictionary views available by group and permissions as well as giving examples on how to retrieve data from th…
This videos aims to give the viewer a basic demonstration of how a user can query current session information by using the SYS_CONTEXT function

604 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