SQL Server 2012 Clustering Optimization Tips You can use cross-cluster migration of AlwaysOn Availability Groups for OS upgrade. SQL Server 2012 service pack 1 introduces support for cross-cluster migration of AlwaysOn Availability Groups for deployments to a new Windows Server Failover Clustering cluster. A cross-cluster migration moves one AlwaysOn availability group to the new destination Windows Server Failover Clustering cluster...
Tag: SQL Server 2012
Tips for using alerts in SQL Server 2012
Tips for using alerts in SQL Server 2012 SQL Server writes the events to the Windows Application log. SQL Server Agent checks the Windows application log for SQL Server events. An alert is an automated response to events raised by SQL Server. When an event occurs, the SQL Server Agent checks if the appropriate alert exists and if so perform...
Troubleshooting SQL Server 2012 jobs
Troubleshooting SQL Server 2012 jobs If you have problems with SQL Server 2012 jobs, review this troubleshooting checklist to find potential solutions. 1. Install the latest SQL Server 2012 service pack. Because many SQL Server 2012 jobs bugs were fixed in SQL Server service packs, you should install the latest SQL Server service pack. At the time this article was...
Tips for using SQL Server 2012 Table Hints
Tips for using SQL Server 2012 Table Hints One of the ways to increase the queries performance is using the SQL Server 2012 table hints. The table hints specify a locking method to be used by the query optimizer with this table, specify the locking granularity for a table, or one or more indexes to be used by the query...
Tips for using SQL Server 2012 Query Hints
Tips for using SQL Server 2012 Query Hints If your query is very slow, try the following before using query hints: – rebuild indexes used in the query (or defragment them using DBCC INDEXDEFRAG), – update statistics on the relevant tables, – consider creating new indexes for this query, – rewrite your query to provide better execution plan. Use the...
Tips for using jobs in SQL Server 2012
Tips for using jobs in SQL Server 2012 Specify the understandable job name. Try to specify the job’s name so, that the name describes what the job makes. By using so, you can simplify jobs administering and monitoring. Try to separate very large job into several small jobs. This can improve performance, and can be useful to maintenance the jobs...
Troubleshooting Upgrading to SQL Server 2012
Troubleshooting Upgrading to SQL Server 2012 Should you have problems during upgrading to SQL Server 2012, review this troubleshooting checklist to find potential solutions. 1. Check the hardware requirements. To upgrade to SQL Server 2012, you should have the following hardware: – Intel or compatible platform with processor speed: x86 Processor – 1.0 GHz minimum, x64 Processor – 1.4 GHz...
Tips for using views in SQL Server 2012
Tips for using views in SQL Server 2012 Keep the indexes on the views as narrow as possible. Because each index takes up disk space try to minimize the index key’s size to avoid using superfluous disk space. This reduces the number of reads required to read the index and boost overall index performance. Consider using indexed views. Indexed views...
Tips for using Very Large Databases in SQL Server 2012
Tips for using Very Large Databases in SQL Server 2012 Use distributed partitioned views to partition tables horizontally across multiple servers. By using distributed partitioned views you can greatly improve the very large database performance. Turn off the "automatically grow file" and "auto shrink" options for your very large database. Autogrowing and autoshrinking result in some performance degradation, therefore you...
Tips for using SQL Server 2012 file and filegroups
Tips for using SQL Server 2012 file and filegroups Microsoft SQL Server 2012 introduces many new useful stored procedures, functions and operators. Some actions you can perform without these new features, but usually using them provides more easy and effective way to accomplish the same goal. For example, Microsoft introduces SQL Server FILESTREAM technology that enables SQL Server-based applications to...