Tips for using Merge Replication in SQL Server 2017 (Part 2) If you do not need continuous replication, do not configure the Merge Agent to run continuously. Try to schedule the Merge Agent to run at regular intervals instead of running continuously. Try to schedule it during CPU idle time and slow production periods. By using it, you can decrease...
Tag: publication
Tips for using Merge Replication in SQL Server 2017 (Part 1)
Tips for using Merge Replication in SQL Server 2017 (Part 1) Avoid using join filters with five or more tables. Because join filters with five or more tables can significantly degrade merge replication performance, you should avoid join filter for the small lookup tables, or denormalize the database design instead of using join filters with five or more tables. Use...
Tips for using Transactional Replication in SQL Server 2017 (Part 2)
Tips for using Transactional Replication in SQL Server 2017 (Part 2) Consider using transactional replication to memory-optimized tables. In SQL Server 2017, tables acting as transactional replication subscribers, excluding peer-to-peer transactional replication, can be configured as memory-optimized tables. To configure the subscriber database for supporting replication to memory-optimized tables, you should set the @memory_optimized property to true by using sp_addsubscription...
Tips for using Transactional Replication in SQL Server 2017 (Part 1)
Tips for using Transactional Replication in SQL Server 2017 (Part 1) Avoid publishing unnecessary data. Try to restrict the amount of published data. This can results in good performance benefits, because SQL Server will publish only the amount of data required. This can reduce network traffic and boost the overall replication performance. Increase the -MaxBcpThreads parameter of the Distribution Agent....
Troubleshooting SQL Server 2016 Merge Replication
Troubleshooting SQL Server 2016 Merge Replication If you have problems with SQL Server 2016 merge replication, review this troubleshooting checklist to find potential solutions. 1. Install the latest SQL Server 2016 service pack. Because some SQL Server 2016 Merge replication bugs were fixed in SQL Server service packs, you should install the latest SQL Server service pack. At the time...
Some tips for using Snapshot Replication in SQL Server 2016
Some tips for using Snapshot Replication in SQL Server 2016 Avoid publishing unnecessary data. Try to restrict the amount of published data. This can results in good performance benefits, because SQL Server will publish only the amount of data required. This can reduce network traffic and boost the overall replication performance. Do not configure the Distribution Agent to run continuously. […]
SQL Server 2014 Transactional Replication Optimization Tips
SQL Server 2014 Transactional Replication Optimization Tips Consider locating both the publisher and the distributor on the same physical server. You can place the publisher and the distributor on the same physical server when the publisher server can perform the distribution tasks without any performance problems. By the way, using a separate SQL Server for the Distributor requires separate SQL...
Troubleshooting SQL Server 2012 Transactional Replication
Troubleshooting SQL Server 2012 Transactional Replication If you have problems with SQL Server 2012 transactional replication, review this troubleshooting checklist to find potential solutions. 1. Install the latest SQL Server 2012 service pack. Because some SQL Server 2012 transactional replication bugs were fixed in SQL Server service packs, you should install the latest SQL Server service pack. At the time...
Troubleshooting SQL Server 2012 Snapshot Replication
Troubleshooting SQL Server 2012 Snapshot Replication If you have problems with SQL Server 2012 snapshot replication, review this troubleshooting checklist to find potential solutions. 1. Install the latest SQL Server 2012 service pack. Because some SQL Server 2012 snapshot replication bugs were fixed in SQL Server service packs, you should install the latest SQL Server service pack. At the time...
Tips for using SQL Server 2012 Merge Replication
Tips for using SQL Server 2012 Merge Replication SQL Server 2012 introduces AlwaysOn Availability Groups. This is a high-availability and disaster-recovery solution that provides an enterprise-level alternative to database mirroring. AlwaysOn Availability Groups maximizes the availability of a set of user databases for an enterprise and supports a failover environment for a discrete set of user databases, known as availability...