Restore - THREADPRIORITY vs Backup - THREADCOUNT
Dje
Posts: 13
Hi,
It exists in the backup command the option THREADCOUNT but not in the restore command.
In the restore command it only exists a THREADPRIORITY option.
Does the restore command automatically use the maximum number of threads possible ?
Is the restore command using the same number of threads as used to backup the DB ?
How could we optimise the restore of a DB ?
Thanks in advance for your replies,
Jerome
It exists in the backup command the option THREADCOUNT but not in the restore command.
In the restore command it only exists a THREADPRIORITY option.
Does the restore command automatically use the maximum number of threads possible ?
Is the restore command using the same number of threads as used to backup the DB ?
How could we optimise the restore of a DB ?
Thanks in advance for your replies,
Jerome
Comments
SQL Backup Consultant Developer
Associate, Yohz Software
Beyond compression - SQL Backup goodies under the hood, updated for version 8
Could this lead to a CPU (ressources in general) overflow on our development servers if we optimise our backups on production servers where we have more processors than on development ?
How is SQL Backup handling this ?
During the restore process, SQL Server will expect to receive data from 4 separate 'files', which SQL Backup will need to provide. Each of these 4 'files' will be handled by a separate thread. If the number of processors on your system is less than the number of restore threads, there will be more frequent context switching on each processor, which will affect throughput.
>> How is SQL Backup handling this ?
SQL Backup has no choice but to create the same number of restore threads internally to service each of SQL Server's restore thread.
SQL Backup Consultant Developer
Associate, Yohz Software
Beyond compression - SQL Backup goodies under the hood, updated for version 8