Follow sqlserver-dba.com

Subscribe to RSS feed  Follow @jackvamvas - Twitter

*Use the Comments section for questions

SQLServer-DBA.com Links

Dba_db2_button

dba-ninja.com

SQL Server DBA Jobs

Troubleshooting BACKUPTHREAD wait type

21 March,2014 by Tom Collins

When running a backup , you’ll notice a BACKUPTHREAD wait type in in the sp_who2 output or sysprocesses. What is the meaning?

According to the msdn site – the backupthread wait type “Occurs when a task is waiting for a backup task to finish. Wait times may be long, from several minutes to several hours. If the task that is being waited on is in an I/O process, this type does not indicate a problem”

In summary – a backup is running  and there is a process waiting for it to complete. 

You may be thinking about killing the task. But before killing the task consider how far the task has completed in percentage terms. This can guide you to a decision.

 SQL Server - Predict SQL BACKUP DATABASE finish time with sys.dm_exec_requests

SQL Server – Restore Database Estimated Finish Time

A number of factors could be delaying the activity – such as zeroing out of LDF files during a RESTORE ,  IO write delays , busy network. Start troubleshooting the delays by comparing against the benchmark timings for the activity and try to understand what other activity is occurring causing the bottleneck.

Read more about SQL Server faster restores with instant file initialisation


Author: Tom Collins (http://www.sqlserver-dba.com)


Share:

Verify your Comment

Previewing your Comment

This is only a preview. Your comment has not yet been posted.

Working...
Your comment could not be posted. Error type:
Your comment has been posted. Post another comment

The letters and numbers you entered did not match the image. Please try again.

As a final step before posting your comment, enter the letters and numbers you see in the image below. This prevents automated programs from posting comments.

Having trouble reading this image? View an alternate.

Working...

Post a comment on Troubleshooting BACKUPTHREAD wait type


sqlserver-dba.com | SQL Server Performance Tuning | SQL Server DBA:Everything | FAQ | Contact|Copyright & Disclaimer