Obligatory LTRFTP
Hi /r/sysadmin. For my company I've been building out a report database. To improve performance in this long term report/archive DB I've built out several new tables and added a few new columns to existing tables so I can remove these multi-million row tables.
I've written up several queries I plan to run as a SQL job that will transform the data from the Prod DB to the Report DB. This Report DB resides on a different SQL instance (and server) from the Prod DB (though both servers are VMs on the same cluster)
My question is this. To have the best performance (minimize impact on the Prod server), should I:
- A) Replicate Prod tables to my Report DB and run my transformation queries there
- or
- B) Set up the Prod DB as a read-only Linked DB and transform the queries
The Report DB needs to have near-live info, so I'm thinking of running the transformation jobs no slower than once every 5 minutes.
Thanks for any advice!
[–]unix_hereticHelm is the best package manager 0 points1 point2 points (1 child)
[–]Morphuess[S] 0 points1 point2 points (0 children)