Hi All,
We are using SQL Server 2008 and Navision as front end. The users dont want to run the reports in Navision from Production DB. We want to create the database for reporting purpose in SQL Server and must replicate Production database to that reporting databse. We need to create a Scheduler for replicating the database.
What is the best method to do this? Please advise.
Regards,
Anil
0
Comments
For NAV databases ,snapshot or transactional replication can be used .Merge replication doesn't ensure transactional integrity,so it must be avoided.Also pls consider log shipping before committing replication.sometimes replication changes the time columns in the NAV tables to GUID on the replicated tables,making the database unusable by NAV.And do not use replication on SIFT tables.
Replication must be avoided if possible ,and instead things must be done with views,or integration services or dataports if possible.But it can be used for reporting purpose !! .
Navin
An alternative could be to look at the features that are coming in SQL2008R2. There You have cached datasets so the report data can be cached after the report is run for the first time or scheduled by a job. Here's some information about SQL2008R2 http://blogs.msdn.com/sqlrsteamblog/default.aspx
/Lars
http://www.linkedin.com/in/larswestman
I would also suggest to go for either Log SHipping or Asynchronous Mirroring (if you run SQL Server Enterprise) to set up a remote Standby-Database. Have in mind that with LS the Clients are disconnected whenever a new TRN is restored.
So additionally you could create "Database Snapshots" from the LS/Mirror database (all read only)! Of course, the Snapshot does not automatically reproduce the transferred Transactions after it was created (actually that's the idea of a snapshot).
Hence, you could have a smart redundant "failover" solution ("Warm Standby") plus a separate Reporting system!
Cheers,
Jörg
NAV/SQL Performance Optimization & Troubleshooting
STRYK System Improvement
The Blog - The Book - The Tool
Why not?
That's a valid question from David. When You compare the load You put on SQL running reports from inside NAV with SSRS it must be a really big difference between the two. Take the Inventory Valuation for example. It can take hours to run on a 50GB db with a lot of Inventory Leder Entries. A similar report runs under the minute in SSRS. I have not done any measurements on the load on SQL, but it must be dramatically lower than the cursors NAV is using to fetch the data.
/Lars
http://www.linkedin.com/in/larswestman
Also my next question would probably be "How big is the database?"
Thanks for the Valuable replies. The users dont want to run from Production DB because they worry about performance issues.
Some of the reports are Excel reports run from NAV, Some are SQL reports.
Please help me to provide some info or any links about How to configure Log Shipping or replication.
Regards,
Anil
NAV/SQL Performance Optimization & Troubleshooting
STRYK System Improvement
The Blog - The Book - The Tool