Read uncommitted or nolock on Oracle
DBAsupport.com Forums - Powered by vBulletin
Results 1 to 5 of 5

Thread: Read uncommitted or nolock on Oracle

  1. #1
    Join Date
    May 2004
    Location
    NJ
    Posts
    15

    Read uncommitted or nolock on Oracle

    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?

  2. #2
    Join Date
    Jan 2001
    Posts
    2,828
    Hi

    Oracle is different in this aspect.
    You dont require to do that as reads are not blocked.

    regards
    Hrishy

  3. #3
    Join Date
    May 2004
    Location
    NJ
    Posts
    15
    That's good to know.

    So even if I do, "select count(*) from tb_name", it's not going to affect any DML operation?

    Please advise.

  4. #4
    Join Date
    Sep 2002
    Location
    England
    Posts
    7,333
    nope, reads do not blocks and writes do not block reads

  5. #5
    Join Date
    May 2004
    Location
    NJ
    Posts
    15
    That's good to know. Thank you.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  


Click Here to Expand Forum to Full Width