Some tips for using SQL Server 2012 Database Console Commands Try to run the DBCC commands when there are no other disk I/O operations, such as disk backups, replication and so on. Use DBCC CHECKFILEGROUP instead of DBCC CHECKDB, if you need to check only specified filegroup, not entire database. If your database contains several filegroups and you need to...
Tag: index
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...
Tips for using SQL Server 2012 indexed views
Tips for using SQL Server 2012 indexed views One of the ways to optimize SQL Server 2012 performance is using indexed views. You can improve performance by creating a unique clustered index on the view, if the view is frequently referenced in queries that involve complex processing, such as aggregating lots of data or joining many rows. After creating a...
Troubleshooting problems with indexes in SQL Server 2008 R2
Troubleshooting problems with indexes in SQL Server 2008 R2 If you have problems with indexes in SQL Server 2008 R2, review this troubleshooting checklist to find potential solutions. 1. Install the latest SQL Server 2008 R2 service pack. Because many SQL Server 2008 R2 index bugs were fixed in SQL Server service packs, you should install the latest SQL Server...
Troubleshooting problems with SQL Server 2008 R2 full-text search
Troubleshooting problems with SQL Server 2008 R2 full-text search If you have problems with SQL Server 2008 R2 full-text search, review this troubleshooting checklist to find potential solutions. 1. Install the latest SQL Server 2008 R2 service pack. Because many SQL Server 2008 R2 full-text search bugs were fixed in SQL Server service packs, you should install the latest SQL...