Re: row vs page locking...
From: ben brugman (ben_at_niethier.nl)
Date: 09/05/04
- Next message: Don Walsh: "Virtual Web Server"
- Previous message: Kalen Delaney: "Re: row vs page locking..."
- In reply to: Dan Guzman: "Re: row vs page locking..."
- Next in thread: Randall Sell: "Re: row vs page locking..."
- Reply: Randall Sell: "Re: row vs page locking..."
- Messages sorted by: [ date ] [ thread ]
Date: Sun, 5 Sep 2004 19:39:46 +0200
"Dan Guzman" <guzmanda@nospam-online.sbcglobal.net> wrote in message
news:#AAKqx1kEHA.3632@TK2MSFTNGP09.phx.gbl...
> There was a major rewrite of much of the core database engine code in SQL
7.
> SQL 7 and above do a great job of row-level locking.
>
> In versions prior to 7, one would sometimes implement convoluted
techniques
> to avoid 'hot spots' to circumvent page-level locking issues. Thanks to
> row-level locking, hot spots are actually a good thing and can help
> performance due to reduced i/o.
>
> However, there is still no row versioning the current SQL Server version.
> Snapshot isolation is planned for SQL Server 2005.
The penalty of snapshot isolation being that there is no true
'serializable' possible.
The OP suggested that row-level locking is inferior compared
to multi versioning.
Personally I think that both have their advantages.
And using locks in concurrency situations is a choice.
Using multi versioning for concurrencty is another choice.
Both have their advantages and disadvantages.
ben brugman
>
> > And I've read that MSs row level locking is a band-aid on its unchanged
> > core engine, although the author of that message did not expand further
on
> > this.
>
> Perhaps the author is referring to version 6.5 insert row locking. This
is
> not true for versions 7 and above.
>
> --
> Hope this helps.
>
> Dan Guzman
> SQL Server MVP
>
>
- Next message: Don Walsh: "Virtual Web Server"
- Previous message: Kalen Delaney: "Re: row vs page locking..."
- In reply to: Dan Guzman: "Re: row vs page locking..."
- Next in thread: Randall Sell: "Re: row vs page locking..."
- Reply: Randall Sell: "Re: row vs page locking..."
- Messages sorted by: [ date ] [ thread ]
Relevant Pages
|