Oracle FAQ Your Portal to the Oracle Knowledge Grid
HOME | ASK QUESTION | ADD INFO | SEARCH | E-MAIL US
 

Home -> Community -> Mailing Lists -> Oracle-L -> Re: Locking in Oracle, SQL Server, and DB2

Re: Locking in Oracle, SQL Server, and DB2

From: Niall Litchfield <niall.litchfield_at_gmail.com>
Date: Wed, 13 Sep 2006 06:19:43 +0100
Message-ID: <7765c8970609122219p665a5183sf1e55347bd0fad89@mail.gmail.com>


in old versions of SQLServer you have the WITH_NOLOCK hint, this is documented well in books online. In SQL2005 there is a feature similar to read-consistency - that I can't for the life of me remember, but it will be all over the marketing since its a 'new' feature. I have no clue about DB2, except that there was a DB2 press piece a few years back knocking read-consistency which suggests to me that they didn't then have it.

On 9/12/06, ryan_gaffuri_at_comcast.net <ryan_gaffuri_at_comcast.net> wrote:
>
> I know Oracle uses multi-versioning. My understanding in SQL Server reads
> block writes. I was talking to someone recently who told me that there are
> ways to get around situations where you have an OLTP and need to full scan a
> table without blocking your OLTP. Does anyone know about this? I don't use
> SQL Server. I am just curious.
>
> Does anyone know how DB2 handles locking and transaction control? I was
> told by someone who uses DB2 that there are really two versions. One for the
> main frame optimized for OLTPs(I could have this backward) and one for Unix
> that is optimized for datawarehousing. Do these versions have different
> locking mechanisms?
>

-- 
Niall Litchfield
Oracle DBA
http://www.orawin.info

--
http://www.freelists.org/webpage/oracle-l
Received on Wed Sep 13 2006 - 00:19:43 CDT

Original text of this message

HOME | ASK QUESTION | ADD INFO | SEARCH | E-MAIL US