Getting Timeout Expired erros when updating a single table

  • Help!

    Have intermittent problem of timeouts when users are trying to update one table in database. other table updates are fine. problem could last for a moment to several hours. When the problem is occurring, not only are the users unable to update, but i can't even execute the update directly in SSMS via query or edit table interface. I receive the Timeout Expired error just like users do. Reboots sometimes help but not always so i don't think thats the answer. The timeout value for the database server is 600 seconds (under remote server connection section of server properties in SSMS). I have run sp_who2 and checked the sys.dm_tran_locks table and no locks are being held on this table for any extended amount of time.

  • Timeout is a client-side setting. The remote query timeout setting is for remote queries (across linked servers) and has no bearing at all on queries executed on that SQL Server.

    The default timeout for a .Net connection is 30 seconds.

    Have you checked for blocking? (the blocked process report may help)

    Gail Shaw
    Microsoft Certified Master: SQL Server, MVP, M.Sc (Comp Sci)
    SQL In The Wild: Discussions on DB performance with occasional diversions into recoverability

    We walk in the dark places no others will enter
    We stand on the bridge and no one may pass
  • i was looking at sp_who2 for which process may be blocked or blocking... do you have another sugesstion

  • As I mentioned above, the blocked process report. Also, chapter 6: http://www.simple-talk.com/books/sql-books/troubleshooting-sql-server-a-guide-for-the-accidental-dba/

    Gail Shaw
    Microsoft Certified Master: SQL Server, MVP, M.Sc (Comp Sci)
    SQL In The Wild: Discussions on DB performance with occasional diversions into recoverability

    We walk in the dark places no others will enter
    We stand on the bridge and no one may pass
  • If you mean the Reports - All Blocking Transactions from the database context report, no i did not run that during the anomolies. I will next time it occurs but as of right now its running.

  • No I didn't.

    http://msdn.microsoft.com/en-us/library/ms191168.aspx

    http://msdn.microsoft.com/en-us/library/ms181150.aspx

    Gail Shaw
    Microsoft Certified Master: SQL Server, MVP, M.Sc (Comp Sci)
    SQL In The Wild: Discussions on DB performance with occasional diversions into recoverability

    We walk in the dark places no others will enter
    We stand on the bridge and no one may pass
  • For checking the blocking you can also use when you get this timeout issue.

    Select * from Sysprocess where Blocked >0

    Thanks

    S.R.Kundur

Viewing 7 posts - 1 through 6 (of 6 total)

You must be logged in to reply to this topic. Login to reply