Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Chris Miller on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

READ UNCOMMITTED or NOLOCK on Oracle

Status
Not open for further replies.

ClaireHCM

IS-IT--Management
Mar 26, 2003
772
US
Hi,

In SQL Server, I can do

1. select * from tb_name (nolock)
or
2. SET TRANSACTION ISOLATION LEVEL
READ UNCOMMITTED

To avoid blocking due to lengthy select operation.

Do we have something like this in Oracle?

Thanks
Claire
 
Claire,

no, but (irrelevantly speaking) you can SET TRANSACTION LEVEL ISOLATION SERIALIZABLE.

The reason for the no, is that Oracle by default provides a read-consistent view of data. The upshot of this design is that readers never block writers. Your question is moot, because it just is never a problem in Oracle.

Read-consistent views are in my opinion, one of Oracle's great strengths.

Regards

T
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top