# Offfloading queries and reporting

**URL:** <https://www.dynamicsuser.net/t/offfloading-queries-and-reporting/17898>\
**Category:** Technical Forum\
**Created:** [December 3, 2007, 9:47am UTC](https://www.dynamicsuser.net/t/offfloading-queries-and-reporting/17898 "2007-12-03T09:47:50Z")\
**Posts on this page:** 6\
**Page:** 1

<div class="post-metadata">

**Author:** ![meintd](https://avatars.discourse-cdn.com/v4/letter/m/a88e57/32.png) [@meintd](https://www.dynamicsuser.net/u/meintd)\
**Post date:** [December 3, 2007, 9:47am UTC](https://www.dynamicsuser.net/t/offfloading-queries-and-reporting/17898/1 "2007-12-03T09:47:50Z")

</div>

Hi,

We are looking to offload some of the functions we are currently running against the live database to a read-only copy of the live database. Having done our initial research there seem to be quite a few different options out there for SQL Server 2005, i.e. log shipping, replication, mirroring and snapshotting. We are not worried if our read-only copy trails the live copy by a good 30 minutes and will not be looking to use it for any failover requirements.

Anybody implemented this and have any good ideas which technology is easiest to implement and would meet our needs?

Many thanks

Meint

---

<div class="post-metadata">

**Author:** ![DenSter](https://sea1.discourse-cdn.com/flex023/user_avatar/www.dynamicsuser.net/denster/32/7478_2.png) [@DenSter](https://www.dynamicsuser.net/u/DenSter)\
**Post date:** [December 3, 2007, 2:26pm UTC](https://www.dynamicsuser.net/t/offfloading-queries-and-reporting/17898/2 "2007-12-03T14:26:11Z")

</div>

Your requirements all point to log shipping, which I’d do for an exact copy of the whole database anyway. Log shipping is relatively easy to set up. Test it out on a non-production server first to get familiar with it. I’ve heard (from one of the senior people at Microsoft’s tech lab in Germany, not some average Joe Blow) that replicating NAV databases comes with its own set of problems, although I think there are a few people who say they got it to work. If it’s management reporting that you need, I’d consider a data warehouse solution. SQL Server 2005 comes with the entire BI development studio, so you should already have all the tools.

You can also combine the two, where you ship the logs to a second server, and build a DW from there.

---

<div class="post-metadata">

**Author:** ![meintd](https://avatars.discourse-cdn.com/v4/letter/m/a88e57/32.png) [@meintd](https://www.dynamicsuser.net/u/meintd)\
**Post date:** [December 4, 2007, 11:19am UTC](https://www.dynamicsuser.net/t/offfloading-queries-and-reporting/17898/3 "2007-12-04T11:19:25Z")

</div>

Thanks, I had a read of a few chapters of the SQL Server 2005 Unleashed book and it seemed to suggest that either log shipping (as you suggested) or replication would be what we are looking for, so we had a play with the replication features (also because it suggested that log shipping is relatively old hat now and might be phased out by MS in the future). It is really easy to set up and performance seems really good on the key tables we are looking to replicate. We will do a load more testing and then possibly implement it with two subscribers, one for our DW and one for our Business Continuity, but it seems relatively easy to configure.

Regards

Meint

---

<div class="post-metadata">

**Author:** ![girish.joshi](https://avatars.discourse-cdn.com/v4/letter/g/a4c791/32.png) [@girish.joshi](https://www.dynamicsuser.net/u/girish.joshi)\
**Post date:** [March 18, 2008, 2:58pm UTC](https://www.dynamicsuser.net/t/offfloading-queries-and-reporting/17898/4 "2008-03-18T14:58:27Z")

</div>

One of the challenges when replicating is that the replication needs to be rebuilt if the table schema changes at all. That’s one reason I prefer LS replication - by allowing you to only replicate certain fields, its a little more resiliant to schema changes.

---

<div class="post-metadata">

**Author:** ![ara3n](https://avatars.discourse-cdn.com/v4/letter/a/c77e96/32.png) [@ara3n](https://www.dynamicsuser.net/u/ara3n)\
**Post date:** [March 18, 2008, 4:51pm UTC](https://www.dynamicsuser.net/t/offfloading-queries-and-reporting/17898/5 "2008-03-18T16:51:53Z")

</div>

log shipping handles schema changes.

---

<div class="post-metadata">

**Author:** ![DenSter](https://sea1.discourse-cdn.com/flex023/user_avatar/www.dynamicsuser.net/denster/32/7478_2.png) [@DenSter](https://www.dynamicsuser.net/u/DenSter)\
**Post date:** [March 18, 2008, 6:59pm UTC](https://www.dynamicsuser.net/t/offfloading-queries-and-reporting/17898/6 "2008-03-18T18:59:55Z")

</div>

I just came back from SQL Server 2008 launch event in Detroit, and log shipping is still in there. They have even made significant performance improvements to it. Given the ease with which you can set it up I would definately think about lo shipping before doing replication.
