Want to win a PS4? Go Premium and enter to win our High-Tech Treats giveaway. Enter to Win

x
?
Solved

Checkpoint is blocking other processes (background checkpoint)

Posted on 2009-04-01
7
Medium Priority
?
3,284 Views
Last Modified: 2012-06-21
Hi Experts, I ran SP_Who (since the server is crawling) and saw spid10 (checkpoint) is running in the background, it cannot be killed since it is not a user sp... but nothing else works (tried to do dbcc checktable and is being blocked by that spid10,) all selects from that table timeout as well... how do I fiX

TIA...
0
Comment
Question by:sir-rob
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 4
  • 3
7 Comments
 
LVL 21

Expert Comment

by:JestersGrind
ID: 24041603
You're right.  It cannot be killed.  Your only option may be to stop and start SQL services.  

Greg


0
 

Author Comment

by:sir-rob
ID: 24041755
thanks Greg, do you think since checkpoint is stuck, I am going to have loss of data?
0
 
LVL 21

Accepted Solution

by:
JestersGrind earned 2000 total points
ID: 24042058
There are several events that cause a checkpoint.  One of them is shutting down SQL server.  So, it will try to checkpoint when you restart SQL.  I'm honestly not sure what it will do if it can't checkpoint.  

I just had another thought.  You can manually force a checkpoint by running the CHECKPOINT command.  You might want to try that first.

To answer your question, you shouldn't experience any data loss.  The transactions are stored in the transaction log.  Upon restart SQL will read the transaction log and either rollback the uncommitted transactions or re-execute the committed transactions to get the SQL server back to its original state when it was shutdown.

Greg


0
NFR key for Veeam Backup for Microsoft Office 365

Veeam is happy to provide a free NFR license (for 1 year, up to 10 users). This license allows for the non‑production use of Veeam Backup for Microsoft Office 365 in your home lab without any feature limitations.

 

Author Comment

by:sir-rob
ID: 24042135
I tried manual checkpoint but it doesn't work... when I check the activity monitor, it shows that spid 10 is blocking it... (which is the same checkpoint when i run sp_who)...

the database is in simple recovery mode, would that still work with restarting the database and reading it off of transaction log?

Regards,
0
 
LVL 21

Expert Comment

by:JestersGrind
ID: 24042403
The recovery model doesn't matter at this point.  This is a core function of SQL server to maintain data consistency.  

Greg


0
 

Author Comment

by:sir-rob
ID: 24042543
Ok, I am gonna try and see where It ends up

Thanks for help!
0
 

Author Comment

by:sir-rob
ID: 24043877
Greg, thanks for your help, much appreciated

0

Featured Post

Ask an Anonymous Question!

Don't feel intimidated by what you don't know. Ask your question anonymously. It's easy! Learn more and upgrade.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Why is this different from all of the other step by step guides?  Because I make a living as a DBA and not as a writer and I lived through this experience. Defining the name: When I talk to people they say different names on this subject stuff l…
A Stored Procedure in Microsoft SQL Server is a powerful feature that it can be used to execute the Data Manipulation Language (DML) or Data Definition Language (DDL). Depending on business requirements, a single Stored Procedure can return differe…
This video shows how to set up a shell script to accept a positional parameter when called, pass that to a SQL script, accept the output from the statement back and then manipulate it in the Shell.
Via a live example, show how to set up a backup for SQL Server using a Maintenance Plan and how to schedule the job into SQL Server Agent.

636 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question