473,395 Members | 1,437 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,395 software developers and data experts.

Oracle Isolation Level

Anyone have a snippet of php code for oracle (oci_*) that sets the isolation
level to 'read uncommitted' that they could post here? I don't see one
built-in and don't know if it's an option on an existing oci function or if
it's just a query i submit via ociexecute.

Any help would be appreciated.

tia
Jun 2 '08 #1
3 2212
On Tue, 13 May 2008 20:14:33 +0200, Barry <no****@example.comwrote:
Anyone have a snippet of php code for oracle (oci_*) that sets the
isolation
level to 'read uncommitted' that they could post here? I don't see one
built-in and don't know if it's an option on an existing oci function or
if
it's just a query i submit via ociexecute.
I seldomly work with Oracle, is there a reason you can't send a 'SET
TRANSACTION READ COMMITTED;' to Oracle?
--
Rik Wasmus
[SPAM] Now temporarily looking for some smaller PHP/MySQL projects/work to
fund a self developed bigger project, mail me at rik at rwasmus.nl. [/SPAM]
Jun 2 '08 #2

"Rik Wasmus" <lu************@hotmail.comwrote in message
news:op***************@metallium.lan...
On Tue, 13 May 2008 20:14:33 +0200, Barry <no****@example.comwrote:
>Anyone have a snippet of php code for oracle (oci_*) that sets the
isolation
level to 'read uncommitted' that they could post here? I don't see one
built-in and don't know if it's an option on an existing oci function or
if
it's just a query i submit via ociexecute.

I seldomly work with Oracle, is there a reason you can't send a 'SET
TRANSACTION READ COMMITTED;' to Oracle?
--
Rik Wasmus
[SPAM] Now temporarily looking for some smaller PHP/MySQL projects/work to
fund a self developed bigger project, mail me at rik at rwasmus.nl.
[/SPAM]
That's what i was wondering...if i had to just send that query before i
wanted to do the rest of my processing or if there was a built-in oci
command (or if it was an optional arg to another oci command).

To answer your question, no, there's no reason other than wanting to be
uniform and use what may already be out there.
Jun 2 '08 #3
On Tue, 13 May 2008 13:14:33 -0500, Barry wrote:
Anyone have a snippet of php code for oracle (oci_*) that sets the
isolation level to 'read uncommitted' that they could post here?

Oracle does not support "read uncommitted" isolation level. No database
should ever support that level. Without ACID properties one cannot rely
on transactions. If you only need fast SQL-based search engine, try MySQL
with the tables created with ENGINE=MEMORY.


--
Christianity may be OK between consenting adults in private but should
not be taught to young children (Francis Crick)
Jun 2 '08 #4

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

4
by: francis70 | last post by:
Hi, I have these 2 problem? Is there a way in Oracle to read UNCOMMITED data. i.e. in Oracle the normal behaviour is that a user's updates to a table are visible to other users ONLY when the...
11
by: Markus Breuer | last post by:
I have a question about oracle commit and transactions. Following scenario: Process A performs a single sql-INSERT into a table and commits the transaction. Then he informs process B (ipc) to...
133
by: jonathan | last post by:
hey all, I realize that this question might pop up from time to time, but I haven't seen it a while and things might of changed, so - Right now (July 2004) how does mysql stand up in...
1
by: Jeff Roughgarden | last post by:
I was at a conference and had it asserted to me by an Oracle afficiando that Oracle and DB2 handled low-level locks "better" than SQL Server, and that this was likely the cause of SQL Server's...
0
by: Sara | last post by:
I am getting an error that states: DB_E_ERRORSINCOMMAND when I try to establish a transaction in an Oracle 7.2 database. The code is: Try If AuthHelper.App_conn.State = ConnectionState.Closed...
2
by: klh | last post by:
We use DB2 Connect v 7.2 FP7 in Windows NT hitting a OS/390 DB2 v7.1 database. We have a Websphere (java) application that issues dynamic SQL. Most of the time when we issue dynamic SQL SELECT...
3
by: Eric Porter | last post by:
Dear All, I have a VB6.COM program using a VB6.COM DLL, which in turn uses ADODB that performs various bits of SQL. I have re-written the VB6.COM DLL in C#.NET (with a VB6 shell), which uses...
2
by: kanda | last post by:
Hello. I am developing the application (VBA&ODBC, to be exact) which periodically calls the stored procedures in the IBM DB2. A few of the procedures require executing with isolation level RR (...
5
by: m0002a | last post by:
Is there some way to track the isolation level of an indivual SQL statement submitted via JDBC in a snaphot or some other similar means? I have JDBC programs that are changing the isolation level...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
by: ryjfgjl | last post by:
In our work, we often receive Excel tables with data in the same format. If we want to analyze these data, it can be difficult to analyze them because the data is spread across multiple Excel files...
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
0
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...
0
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.