Dynamics User Group
Since 1995 - The Microsoft Dynamics Online User Community

SQL 2005 Checkpoints

rated by 0 users
This post has 2 Replies | 2 Followers

Top 500 Contributor
Male
Posts 61
Points 960
Legosz Posted: 07-04-2008 20:58

Hi there.

I was interested to know if anybody in their performance tuning work has come across SQL checkpoints causing issues, such as excessive disk I/O, and how they handled it.

I've been doing some investigations on our system and it seems that the majoring of blocks (i.e. table blocked by another user) occur at the same time a checkpoint is occuring. For example, in the last week, 90% of blocks occured at the time a checkpoint was happening. I should note that checkpoints occured at other times where blocking did not (what I'm saying here is that not every checkpoint generates a block). 

I know there is a hotfix from microsoft where you can limit the MB per second of a checkpoint process, but I would be interested to know if others have come across this, and if so how they handled it.

cheers, Mark

  • | Post Points: 20
Top 10 Contributor
Male
Posts 918
Points 12,185
DynamicsNAVMVP
Moderator

Hi Mark,

well, I remember such a case - it occurred on a customers site some while ago - but we weren't really able to fix this ...

I'm curious abot this hotfix you mentioned! Got any link to KB?

Thanks a lot!

Regards,

Jörg

Jörg A. Stryk Freelance NAV System Consultant STRYK System Improvement Performance Optimization & Troubleshooting
  • | Post Points: 20
Top 500 Contributor
Male
Posts 61
Points 960

 Here is the link to the KB article.

http://support.microsoft.com/kb/929240

Basically it allows you to specify a startup parameter that limits the amount of I/O per second - i.e. set MB per second for checkpoint process.

My concern is if it is set low enough to avoid an IO bottleneck, will it cause some sort of page lock if a page is being written to disk and a user needs data from that page. I guess given user requests 'hang' during this period right now, it probably wouldn't be a problem.

I have been running performance monitor for a while now to get an idea on what it should be set to. The real answer to this problem is faster disk setup, however this is not likely to happen, as its only the checkpointing that causes high levels of disk queue length.

I believe there are other settings where you can specify the length of time it takes for the checkpoint to complete, but from what I have read on BOL they are more like 'guidelines' rather than hard settings.

  • | Post Points: 5
Page 1 of 1 (3 items) | RSS


Copyright Dynamics User Group, 1995-2008, all rights reserved. The Dynamics User Group is not affiliated with Microsoft Corporation.