﻿<?xml version='1.0' encoding='UTF-8'?><rss version="2.0" xmlns:dc="http://purl.org/dc/elements/1.1/"><channel><title>SQLServerCentral / SQL Server 2008 / SQL Server 2008 Administration  / Update stats job failed. / Latest Posts</title><generator>InstantForum.NET v2.9.0</generator><description>SQLServerCentral</description><link>http://www.sqlservercentral.com/Forums/</link><webMaster>notifications@sqlservercentral.com</webMaster><lastBuildDate>Sun, 26 May 2013 01:54:38 GMT</lastBuildDate><ttl>20</ttl><item><title>RE: Update stats job failed.</title><link>http://www.sqlservercentral.com/Forums/Topic1384362-1550-1.aspx</link><description>Error 1205 is indeed the deadlock error message. Update stats should not be able to deadlock with itself, as the only locks it takes are schema stability locks, and those are compatible with each other.No chance anyone could have had any schema modifications running at the time? That's about teh only thing that should block a stats update.Since you're on SQL 2008, you can pull the deadlock graph out of the system health extended events session. Post it here and we'll take a look.</description><pubDate>Wed, 14 Nov 2012 04:09:11 GMT</pubDate><dc:creator>GilaMonster</dc:creator></item><item><title>RE: Update stats job failed.</title><link>http://www.sqlservercentral.com/Forums/Topic1384362-1550-1.aspx</link><description>You can try enabling trace flag 1222 to capture the deadlock information. Then you can analyze the deadlock further to see what is causing it.[url=http://technet.microsoft.com/en-us/library/ms178104(v=SQL.105).aspx]Detecting and Ending Deadlocks[/url]</description><pubDate>Wed, 14 Nov 2012 03:59:53 GMT</pubDate><dc:creator>Joie Andrew</dc:creator></item><item><title>Update stats job failed.</title><link>http://www.sqlservercentral.com/Forums/Topic1384362-1550-1.aspx</link><description>For the first time our update stats job failed, the job runs at 5am in the morning when no one should really be using the database.It failed with SQL severity 13, SQL message ID 1205, This suggests a deadlock occured? Given nothing else should be running on the server at this time i am a bit confused at what could cause the deadlock? Can the update stats process deadlock it's self? The only thing that overlaps the update stats is a translog backup. This shouldn't cause a problem?</description><pubDate>Tue, 13 Nov 2012 18:32:07 GMT</pubDate><dc:creator>davidwarner</dc:creator></item></channel></rss>