4

SQL Server 2005 Standard 64x, with 300+ tiny databases currently (5MB each), user base adds databases as needed. Want to implement log shipping for warm standby, but not via the wizard, since that looks like it adds 3 jobs (1 on primary, 2 on secondary) for each log-shipped database.

Do I try to write my own or use something like Quest's LiteSpeed? Or am I being too squeamish about having hundreds of SQL Server Agent jobs and all of them firing off (or worse, would I have to try to time them)?

All advice welcome.

1
  • Will LiteSpeed add any more automation to Log Shipping than exists in SQL Server? I can't really tell that it would from their site. The impression I get with Log Shipping is that it wasn't really designed for gazillions of databases. For that, clustering is probably the better DR solution.
    – Thomas
    Mar 29, 2010 at 18:50

3 Answers 3

5

Since you provision a new database per user, I would advice against the built in Lo Shipping. With each newly provisioned db you'd have to add a new Log Shipping session, jobs and all that.

Given that Log Shipping is really trivial at it's core (backup, copy, restore, repeat) I would consider instead an automated solution build from scratch, with fewer jobs (eg. One job cycles through backups, one copyes , one or two aplly restores).

1
  • this worked out really well for me, thanks again for the advice; the log shipping has been rock-solid reliable since I built the jobs
    – Oliver
    Jun 15, 2010 at 15:39
2

If you're managing hundreds of databases, buy some product that automates it all and does it reliably well. If that means Quest's LiteSpeed (I'm unfamiliar with it), then so be it. You do NOT want to manage all of the jobs that would come with this, so just find something that automates it by itself. You'll be kicking yourself in the butt later if you don't have it automated!

2

This is a very poor use of log shipping. 300 log files, each tiny being shipped every, what, 15 minutes? If the log backup interval is greater then 15-30 mins then it isn't critical, arguably.

I really would consider database mirroring which is "job less" or full clustering. For cheapness, database mirroring wins.

High availability overview (SQL Server 2008 but applies to '2005 too)

Late edit:

2 articles on mirroring and threads

This might not be relevant, but good stuff to know anyway.

3
  • 2
    DBM tends to consume workers per DB. With hundreds of them, it may lead to worker starvation. Mar 29, 2010 at 19:34
  • 2
    I started with database mirroring. After about a hundred databases, the system stopped letting me add more. Admitting I couldn't find the exact reason, the best I could deduce is low on threads.
    – Oliver
    Mar 29, 2010 at 20:43
  • Also, with Standard Edition, Mirroring cannot work in async which could lead to added latency.
    – MaxiWheat
    Mar 2, 2020 at 15:17

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.