You are here: Re: fix for long running transaction problem « MsSQL Server « IT news, forums, messages
Re: fix for long running transaction problem

Posted by Erland Sommarskog on 12/07/05 00:32

pb648174 (google@webpaul.net) writes:
> I just wanted to post a follow up to a message I posted some months ago
> about a long running transaction that was blocking all other users...
> The link is below
>
> http://groups.google.com/group/comp.databases.ms-
>sqlserver/browse_thread/thread/1063b65df1f97492/8649bee2002646a2
>
> By using the new "Row versioning" functionality of SQL 2005, it
> completely solved this problem. By reading the books online, it says
> there is a performance impact, but that the better performance of SQL
> 2005 in general might offset it. So far this seems to be the case. just
> posting it here in case anyone else has the problem. The SQL command Ii
> had to execute to get everything working properly was:
>
> ALTER DATABASE DBname
> SET READ_COMMITTED_SNAPSHOT ON;

Snapshot isolation is indeed a cool new feature in SQL 2005!


--
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

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