Home » RDBMS Server » Server Administration » setting transaction isolation level to read only
setting transaction isolation level to read only [message #374515] Fri, 15 June 2001 14:34 Go to next message
scott
Messages: 73
Registered: September 1999
Member
Found this in Oracle documentation:

SET TRANSACTION ISOLATION LEVEL READ ONLY;

when I try to set the isolation level to read only, I get the following:

SQL*Plus: Release 8.1.7.0.0 - Production on Mon Jun 11 08:56:29 2001

(c) Copyright 2000 Oracle Corporation. All rights reserved.


Connected to:
Oracle8i Enterprise Edition Release 8.1.7.0.0 - Production
With the Partitioning option
JServer Release 8.1.7.0.0 - Production

SQL> SET TRANSACTION ISOLATION LEVEL READ ONLY;
SET TRANSACTION ISOLATION LEVEL READ ONLY
*
ERROR at line 1:
ORA-02179: valid options: ISOLATION LEVEL { SERIALIZABLE | READ COMMITTED }

We have a user that runs a large transaction that experiences numerous rollbacks and who may profit from this more stringent degree of isolation. Any idea why this isn't working and/or how I can enforce the same level of isolation via a different route? thanks for the help.
Re: setting transaction isolation level to read only [message #375160 is a reply to message #374515] Wed, 01 August 2001 12:42 Go to previous message
Wolfgang Burr
Messages: 1
Registered: August 2001
Junior Member
You may submit one of the following commands:
- set transaction read only
- set transaction read write
- set transaction isolation level serializable
- set transaction isolation level read committed

Regards,

Wolfgang
Previous Topic: Partitioning of tables
Next Topic: Stored Procedure error
Goto Forum:
  


Current Time: Tue Dec 24 06:20:33 CST 2024