Does SQL Backup always maintain active connections to the server, even when it is not performing any activity? I've noticed an open, idle connection for each thread specified in the backup command running from a job.
Yes, that's what it looks like to me. When I open the Activity Monitor there are the same number of Process IDs as the number of threads I specified for the SQL Backup task. When SQL Backup is not actively executing a backup, the processes have a status of sleeping.
The SQL Backup Agent service should not hold any open connections to SQL Backup if it is not active.
If you are using sp_who to monitor the activity, there should only be 1 to 2 connections (indicated by unique SPID values) created by SQL Backup. There will indeed be a large number of threads matching the number of backup threads you selected, and they are linked to the connection creating the backup, and are not unique connections.
Could you please use Profiler to trace the sequence of events that SQL Backup is doing durng the entire backup, and match it up with the times when you think nothing is happening?
When you mention Activity Monitor, which application are you referring to?
Thanks.
Peter Yeoh
SQL Backup Consultant Developer
Associate, Yohz Software Beyond compression - SQL Backup goodies under the hood, updated for version 8
Comments
Thanks.
SQL Backup Consultant Developer
Associate, Yohz Software
Beyond compression - SQL Backup goodies under the hood, updated for version 8
Thanks.
SQL Backup Consultant Developer
Associate, Yohz Software
Beyond compression - SQL Backup goodies under the hood, updated for version 8
If you are using sp_who to monitor the activity, there should only be 1 to 2 connections (indicated by unique SPID values) created by SQL Backup. There will indeed be a large number of threads matching the number of backup threads you selected, and they are linked to the connection creating the backup, and are not unique connections.
Could you please use Profiler to trace the sequence of events that SQL Backup is doing durng the entire backup, and match it up with the times when you think nothing is happening?
When you mention Activity Monitor, which application are you referring to?
Thanks.
SQL Backup Consultant Developer
Associate, Yohz Software
Beyond compression - SQL Backup goodies under the hood, updated for version 8