Performance of backup across network

Tech-Archive recommends: Repair Windows Errors & Optimize Windows Performance

From: Scott Nichol (reply_to_newsgroup_at_scottnichol.com)
Date: 07/12/04


Date: Mon, 12 Jul 2004 10:10:36 -0400

I am hoping someone with experience can help me with this.

I have been doing differential and log backups across a network to a device
specified by a UNC path for some time. The backup sizes have been small
enough that performance was no issue. Full backups, which total about 250
GB, I have been doing to a RAID set on the local machine, then doing a copy
(literally the command line copy from a batch script) to the same UNC path
as the diff and logs. The backup itself takes about 2.5 hours, and the copy
another 4 hours. The network is dedicated gigabit. The target machine uses
RAID 10 and can do local I/O at >= 60 MB/s. The network can definitely
sustain 30 MB/s with an app that has a clue about the network. xcopy can
sometimes hit that pace, but it and copy more typically do 17 MB/s.

Because I want to use the disk space on the SQL Server box for something
other than backups, I now want to do full backups directly across the
network, using the UNC path as for diff and log. My problem is that this is
dog slow (no insult to dogs, most of which run much faster than I,
intended). I am getting about 7 MB/s, which means the full backup is about
10 hours! Considering that the performance from copy (17 MB/s) is hardly
exemplary, I find SQL Server performance pretty embarassing.

The only useful tip I found on the net was to backup to multiple devices.
When I do this, my network throughput actually *drops* to about 6.5 MB/s
(for 2, 3 or 4 devices). The same tip suggested that multiple devices might
not help if max worker threads is not bumped up. I have not had a chance to
restart SQL Server (this is a 24x7 public database), but we typically have
100-120 connections, so I am not sure that bumping this up will do anything,
anyway.

Does anyone have experience with network backups and is getting better
throughput? I have considered forcing opportunistic locking in the
redirector, but this seems like blind hope.

Do I need to use something with a clue about networks, like the Veritas SQL
Agent? We use Veritas to spin our tapes, but we abandoned SQL Agent 2 years
ago when we could not get it to work.

Help with backing up directly over the network would be much appreciated.
Comments from SQL Agent users are also welcome.

TIA

-- 
Scott Nichol


Relevant Pages

  • Re: Server Advice Wanted.
    ... > RAID 0+1 will be more efficient (stripping and mirroring), ... which is why you see it less than RAID 5. ... > could still restore from backups because it takes day to do so, ... a network backup solution. ...
    (borland.public.delphi.non-technical)
  • Re: Check list for basic security measures
    ... - unauthorized use of computing resources ... what is the overall monetary loss if you fail to protect something ... what traffic is needed from outside to your network and from your network ... Then backups - to protect your data from sudden loss or corruption. ...
    (comp.security.misc)
  • Re: Exchange Management Console slow
    ... So what are the odds of such a failure ... versus the cost of such protection, minus the extra downtime due to ... heartbeat network which places no impact on the production network ... Snapshots are generally not valid backups unless you're taking a VSS backup ...
    (microsoft.public.exchange.admin)
  • Re: Buffalo LinkStation on sbs2k or 2k3
    ... this box just holds the backups and some general purpose ... >> Andrew. ... >access the disk from networked PCs or the SBS box. ... Yes to the above - on a W2k3 network. ...
    (microsoft.public.windows.server.sbs)
  • Re: Advice Requested : Disaster Recovery with 2 Drives (No Raid) with SQL Server 2008
    ... so we need frequent copies of the database for testing, ... Which drive for logfile backups? ... Why are you using Enterprise edition of SQL Server if you only have Std ... drives with no Raid. ...
    (microsoft.public.sqlserver.programming)