You are here: Re: After SP4, proc w. Cursor doesn't release keylocks « MsSQL Server « IT news, forums, messages
Re: After SP4, proc w. Cursor doesn't release keylocks

Posted by Erland Sommarskog on 08/16/06 07:15

rawheiser (rawheiser@gmail.com) writes:
> It IS an insensitive cursor.

As I said, it was a shot in the dark.

> Looking thru DBArtisan I see the KeyLocks in its lock display window,
> and in SQL Spotlight I see the number of locks jump by 1000 or so every
> few seconds.

And it retains the locks?

> How can I monitor what procedure is locking what resource?

Maybe my aba_lockinfo can be of help? If your procedure releases the locks,
then you will have to get the right moment, but if it retains the locks
you will see what it is. You find aba_lockinfo at
http://www.sommarskog.se/sqlutil/aba_lockinfo.html.


--
Erland Sommarskog, SQL Server MVP, esquel@sommarskog.se

Books Online for SQL Server 2005 at
http://www.microsoft.com/technet/prodtechnol/sql/2005/downloads/books.mspx
Books Online for SQL Server 2000 at
http://www.microsoft.com/sql/prodinfo/previousversions/books.mspx

 

Navigation:

[Reply to this message]


Удаленная работа для программистов  •  Как заработать на Google AdSense  •  England, UK  •  статьи на английском  •  PHP MySQL CMS Apache Oscommerce  •  Online Business Knowledge Base  •  DVD MP3 AVI MP4 players codecs conversion help
Home  •  Search  •  Site Map  •  Set as Homepage  •  Add to Favourites

Copyright © 2005-2006 Powered by Custom PHP Programming

Сайт изготовлен в Студии Валентина Петручека
изготовление и поддержка веб-сайтов, разработка программного обеспечения, поисковая оптимизация