Quantcast
Channel: Forum SQL Server Database Engine
Viewing all articles
Browse latest Browse all 15889

Best way to regularly Publish DB for reporting

$
0
0

Hi, I need to publish a Transaction database to a reporting server for decision support queries.

Requirements:

  1. The data in the reporting server can be stale as compared to the transaction database for say, ~6 hours old.
  2. The Transaction database is ~1TB. Daily transaction size is less than ~5% of full database size (< 50 GB).
  3. The transaction server instance and the reporting server instance are different, and maynot share the same SAN space(shared storage) or datacenter.
  4. The Transaction DB has CDC and I would like to retain CDC in the reporting database
  5. Need the most efficient way to publish the database into the reporting server.
  6. The Reporting DB should be read-only.

I am considering a Differential Backup option to publish the database. Below are the details:

  1. Take a Full Backup of the Transaction DB and restore in the Reporting Server using “StandBy mode”. Post restore the Reporting DB will be read-able.
  2. Every next 4 hours take a differential backup of the Transaction DB and restore in the Reporting Server using “StandBy mode”.
  3. Weekly take a Full Backup of the Transaction DB and restore in the Reporting Server using “StandBy mode”, to re-initialize the Differential point.

Questions:

  1. With the Differential approach which I described above, I feel that the Reporting Server can be kept in sync with the Transaction Server in an efficient manner.
  2. What is the additional load that I am putting on the Transaction DB when I take frequent (every 6 hours) of differential backup process?
  3. I have considered the SQL AlwaysOn option instead of Differential Backup/Restore. But given that AlwaysOn is a Synchronous process(synchronous transaction between the Transaction and HighAvailability server), the publish into the Reporting Server might add load on the Transaction Server. Therefore instead of AlwaysOn considering Differential Backup/Restore to publish the database.
  4. When Restoring  DB using in the Reporting Server using “StandBy mode” we need to specify standby_file_name. My understanding is that the uncommitted transactions in the Backup, at restore time are undone and placed in the standby file. Does this mean that I am losing transactions using the Standby mode, since the transactions are done? Will the transactions automatically be recovered, when I apply the next differential restore? I cannot lose the transactions.

Thanks,

Kishore Sagar


Viewing all articles
Browse latest Browse all 15889

Trending Articles



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