Tips for using query hints in SQL Server 2014 If you want to set any hints for your query, do not remember to test the query with hint and without the hint and compare results. Because SQL Server 2014 query optimizer usually proposes the best execution plan, you should test the query with hint and use this hint only when...
Tag: merge
SQL Server 2014 Merge Replication Optimization Tips (Part 2)
SQL Server 2014 Merge Replication Optimization Tips (Part 2) Do not forgive to script your replication configuration. Because scripting the replication configuration is a key part of any disaster recovery plan for a replication topology, you should script your replication configuration from the replication wizards or from the Replication folder in Microsoft SQL Server Management Studio. If you do not...
SQL Server 2014 Merge Replication Optimization Tips (Part 1)
SQL Server 2014 Merge Replication Optimization Tips (Part 1) Create an index on each of the columns that is used in the filter’s WHERE clause. If you do not use indexes on columns used in filters the SQL Server must perform a table scan, which can results in performance degradation. Set the "Maximize Throughput for Network Applications" option. This can...
Tips for using SQL Server 2012 Transactional Replication
Tips for using SQL Server 2012 Transactional 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...
Troubleshooting problems with SQL Server 2008 R2 Merge Replication
Troubleshooting problems with SQL Server 2008 R2 Merge Replication If you have problems with SQL Server 2008 R2 merge replication, review this troubleshooting checklist to find potential solutions. 1. Check that you use the latest SQL Server 2008 R2 service pack. Because many SQL Server 2008 R2 merge replication bugs were fixed in SQL Server service packs, you should install...