Drop Table

Support Forum for database administrators and web based access to important newsgroups related to databases
Register on Database Support Forum Edit your profileCalendarFind other Database Support forum membersFrequently Asked QuestionsSearch this forum -> 
For Database admins: Free Database-related Magazines Now Free shipping to Texas


Post New Thread










Thread
Author

For non-serialized does key lock lock more than one row?
For Sql 2000, for isolation levels not serialized, can a key lock
(especially created by an inserted row), involving a nonprimary key index
end up locking more than one row?

Thanks,

Randy Neall




Report this thread to moderator Post Follow-up to this message
Old Post
Randolph Neall
11-30-06 12:12 AM


Re: For non-serialized does key lock lock more than one row?

"Randolph Neall" < randolphneall@veraci
tycomputing.com> wrote in message
news:#GWEwT8EHHA.3780@TK2MSFTNGP02.phx.gbl...
> For Sql 2000, for isolation levels not serialized, can a key lock
> (especially created by an inserted row), involving a nonprimary key index
> end up locking more than one row?
>

Since each key in a non-unique index may relate to multiple rows, a key lock
on a non-unique index typically impacts multiple rows, since   The rows
themselves are not locked, but the key lock will be inconsistent with any
other transaction reading or locking that index key.  So it may well block
other operations on other rows that share that index key.

David


Report this thread to moderator Post Follow-up to this message
Old Post
David Browne
11-30-06 12:12 AM


Re: For non-serialized does key lock lock more than one row?
Thanks, David.
Randy


"David Browne" <davidbaxterbrowne no potted meat@hotmail.com> wrote in
message news:OsJQ508EHHA.3780@TK2MSFTNGP02.phx.gbl...
>
>
> "Randolph Neall" < randolphneall@veraci
tycomputing.com> wrote in message
> news:#GWEwT8EHHA.3780@TK2MSFTNGP02.phx.gbl... 
 index
 
>
> Since each key in a non-unique index may relate to multiple rows, a key
lock
> on a non-unique index typically impacts multiple rows, since   The rows
> themselves are not locked, but the key lock will be inconsistent with any
> other transaction reading or locking that index key.  So it may well block
> other operations on other rows that share that index key.
>
> David
>



Report this thread to moderator Post Follow-up to this message
Old Post
Randolph Neall
12-01-06 12:14 AM


Sponsored Links





Last Thread Next Thread
Post New Thread

MS SQL Server archive

Show a Printable Version Email This Page to Someone! Receive updates to this thread
Microsoft SQL Server
Access database support
PostgreSQL Replication
SQL Server ODBC
FoxPro Support
PostgreSQL pgAdmin
SQL Server Clustering
MySQL ODBC
Web Applications with dBASE
SQL Server CE
MySQL++
Sybase Database Support
MS SQL Full Text Search
PostgreSQL Administration
SQL Anywhere support
DB2 UDB Database
Paradox Database Support
Filemaker Database
Berkley DB
SQL 2000/2000i database
ASE Database
Forum Jump:
All times are GMT. The time now is 09:20 PM.

 
Mobile devices forum | Database support forum archive




Copyrights DropTable.com Database Support Forum 2004 - 2006