Quantcast
Channel: StackExchange Replication Questions
Viewing all articles
Browse latest Browse all 17268

Is there a cheap way to bulk select/insert data between SQL Server instances?

$
0
0

In my office, our employees use applications that are consistently writing transaction-type data to a number of databases on a SQL Server 2012. The traffic consists mainly of inserts and updates but little if any deletes. We also have some other applications which provide reporting and monitoring services, polling these same databases. These databases are critical to the running of our business, and I'm worried about increasing impact that our monitoring and reporting applications might have on the operational side of things.

What I'm looking to do is setup a secondary DB server which would be used exclusively for reporting, which would require a duplicate of our live data but would only retain the most recent X hours of data, or even data between 1 and X hours old (i.e. no need for live data). No additional metadata would be required (i.e. transaction logs etc)

I've been reading up on the different types of replication, but am a bit confused, as I expect that the secondary DB would need to manually manage the purging of old records and am not sure how this would work with replication. I've also investigated using backup/restore jobs, however since I would want to selectively choose which tables and rows to backup, I don't see how that could work.

Essentially all I believe I would need is a cheap way of selecting and inserting rows from one server to another in an automated fashion. Obviously, this could be accomplished using a few stored procedures and a scheduled script, however what I'd like to know is if SQL Server has another way of accomplishing this.


Viewing all articles
Browse latest Browse all 17268

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>