Log in
::
Register
::
Not logged in
Home
Tags
Articles
Editorials
Stairways
Forums
Scripts
Videos
Blogs
QotD
Books
Ask SSC
SQL Jobs
Training
Authors
About us
Contact us
Newsletters
Write for us
Recent Posts
Recent Posts
Popular Topics
Popular Topics
Home
Search
Members
Calendar
Who's On
Home
»
SQL Server 7,2000
»
Administration
»
Blocking
Blocking
Rate Topic
Display Mode
Topic Options
Author
Message
Sqlchamp
Sqlchamp
Posted Tuesday, September 16, 2008 5:00 PM
Grasshopper
Group: General Forum Members
Last Login: Tuesday, June 02, 2009 12:14 PM
Points: 14,
Visits: 113
If you can shed some light on what do I need to be digging for to possibly find problem relating to blocked by and blocking.
Current Scenario
Under locks/process id
there is spid 12 (blocked by 12)
and right below there is spid 12 (blocking)
I can see on which db this blocking is happenning but what else would you look for to see if there is any possible problem happenning.
when I go to properties for different types of lock type within that spid, it says
Last TSQL command batch: sp_unprepare;1
Thank you in advance for help.
Post #570685
GilaMonster
GilaMonster
Posted Wednesday, September 17, 2008 1:32 AM
SSC-Dedicated
Group: General Forum Members
Last Login: Today @ 12:59 PM
Points: 37,640,
Visits: 29,895
It's not unusual (in SP4 of SQL 2000) to see self-blocking. It's usually nothing to worry about. It may indicate parallelism or just that part of the query execution is waiting for another part to complete.
Gail Shaw
Microsoft Certified Master: SQL Server 2008, MVP
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
Post #570786
Ian Scarlett
Ian Scarlett
Posted Wednesday, September 17, 2008 3:17 AM
Ten Centuries
Group: General Forum Members
Last Login: Yesterday @ 8:44 AM
Points: 1,322,
Visits: 4,399
A SPID blocking itself is actually SQL Server's way of showing that a SPID is waiting for I/O to complete... these never used to be shown in sysprocesses/sp_who2 until SP3 or SP4 (can't remember which one introduced the change).
Post #570853
Sqlchamp
Sqlchamp
Posted Wednesday, September 17, 2008 9:29 AM
Grasshopper
Group: General Forum Members
Last Login: Tuesday, June 02, 2009 12:14 PM
Points: 14,
Visits: 113
Thank you for useful information.
Post #571104
« Prev Topic
|
Next Topic »
Permissions
You
cannot
post new topics.
You
cannot
post topic replies.
You
cannot
post new polls.
You
cannot
post replies to polls.
You
cannot
edit your own topics.
You
cannot
delete your own topics.
You
cannot
edit other topics.
You
cannot
delete other topics.
You
cannot
edit your own posts.
You
cannot
edit other posts.
You
cannot
delete your own posts.
You
cannot
delete other posts.
You
cannot
post events.
You
cannot
edit your own events.
You
cannot
edit other events.
You
cannot
delete your own events.
You
cannot
delete other events.
You
cannot
send private messages.
You
cannot
send emails.
You
may
read topics.
You
cannot
rate topics.
You
cannot
vote within polls.
You
cannot
upload attachments.
You
may
download attachments.
You
cannot
post HTML code.
You
cannot
edit HTML code.
You
cannot
post IFCode.
You
cannot
post JavaScript.
You
cannot
post EmotIcons.
You
cannot
post or upload images.
Copyright © 2002-2013 Simple Talk Publishing. All Rights Reserved.
Privacy Policy.
Terms of Use.
Report Abuse.