Unix Technical Forum

Re: Inconsistent delay posting record

This is a discussion on Re: Inconsistent delay posting record within the SQL Server forums, part of the Microsoft SQL Server category; --> Ryan (ryanofford@hotmail.com) writes: > I have an application written in Delphi which is very simple and posts > data ...


Go Back   Unix Technical Forum > Database Server Software > Microsoft SQL Server > SQL Server

FAQ Members List Calendar Search Today's Posts Mark Forums Read
  #1 (permalink)  
Old 02-28-2008, 06:24 PM
Erland Sommarskog
 
Posts: n/a
Default Re: Inconsistent delay posting record

Ryan (ryanofford@hotmail.com) writes:
> I have an application written in Delphi which is very simple and posts
> data back when you save it. However, sometimes this works quickly and
> other times it has a delay of exactly 5 minutes (standard timeout) and
> then rolls back the transaction and re-tries. On this next attempt it
> is successful even though nothing has changed. See lines 61 and 81 in
> the trace below for specifics.
>
> I've gone through my application and it is a standard Borland
> component that posts the data back (and creates the update statement
> that gets passed to SQL). It's about as simple as you can get in terms
> of posting the data back. We can even re-create this with no other
> users in the system.


The most likely reason would be blocking. You can examine this by running
sp_who or sp_who2 when you notice that the UPDATE statement does not return
immediately. Pay attention to the Blk column. If this column is non-zero,
then the spid on this line is blocked by the spid in the Blk column.

You say that this happen even if there are no other users on the system.
This may indicate that the application is blocking itself, when using
multiple connections.

--
Erland Sommarskog, SQL Server MVP, sommar@algonet.se

Books Online for SQL Server SP3 at
http://www.microsoft.com/sql/techinf...2000/books.asp
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Reply


Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On
Forum Jump


All times are GMT. The time now is 12:39 PM.


Powered by vBulletin® Version 3.6.5
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
SEO by vBSEO 3.2.0
www.UnixAdminTalk.com