We need to build reports in our system. We can't build them online on tables, because of 2 reasons:
So, we need to collect facts about user actions. Today we have some job, that analyze CDC changes. But this approach has some problems:
But it helps us to collect all actions (even made by sql update script) and it's async (has no influence on user operation perfomance).
Another way - collect facts on Business Logic layer, and send them to another system or save to table. But it's synchronously operation, and difficult to collect facts made by sql scripts.
So, what is the optimal way to do it? Requirements:
I assume you don't want to report from Transaction Server. So you may need to setup a reporting server via replication ( Merge or Transaction Replication).
Replication, Change Tracking
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With