Troubleshooting SQL Server 2017 Columnstore Indexes If you have problems with SQL Server 2017 columnstore indexes, review this troubleshooting checklist to find potential solutions. 1. You can get the error 980 when you try to load SQL Server 2017 database. This is the error message text: “SQL Server cannot load database ‘%.*ls’ because it contains a columnstore index.” This error...
Tag: deadlock
Troubleshooting problems with deadlock in SQL Server 2017
Troubleshooting problems with deadlock in SQL Server 2017 If you have problems with deadlock in SQL Server 2017, review this troubleshooting checklist to find potential solutions. 1. Keep transactions as short as possible. This can be used to reduce deadlock, because problems with locking typically occurs when several long-running transactions execute concurrently in the same database. The shorter the transaction,...
Troubleshooting xml problems in SQL Server 2017
Troubleshooting xml problems in SQL Server 2017 If you have problems with SQL Server 2017 XML, review this troubleshooting checklist to find potential solutions. 1. The error 432 occurs when you try to use the Xml data type methods in check constraints. This error indicates that Xml data type methods are not supported in check constraints anymore. You should drop...
Troubleshooting problems with deadlock in SQL Server 2016
Troubleshooting problems with deadlock in SQL Server 2016 If you have problems with deadlock in SQL Server 2016, review this troubleshooting checklist to find potential solutions. 1. Install the latest SQL Server 2016 service pack. Because many deadlock bugs were fixed in SQL Server 2016 service packs, you should install the latest SQL Server service pack. At the time this...
Some useful SQL Server 2016 trace flags
Some useful SQL Server 2016 trace flags Trace flags are used to temporarily set specific server characteristics or to switch off a particular behavior. There are 3 types of trace flags in SQL Server 2016: query trace flags global trace flags session trace flags Query trace flags are active for the context of a specific query. A global trace flag...
Troubleshooting problems with locking in SQL Server 2014 (Part 2)
Troubleshooting problems with locking in SQL Server 2014 (Part 2) If you have problems with SQL Server 2014 locking, review this troubleshooting checklist to find potential solutions. 1. Encapsulate transactions within SQL Server stored procedures. This can reduce network traffic, because your client will send to server only the stored procedure name (perhaps with some parameters), and reduce the amount […]
Troubleshooting problems with locking in SQL Server 2014 (Part 1)
Troubleshooting problems with locking in SQL Server 2014 (Part 1) If you have problems with SQL Server 2014 locking, review this troubleshooting checklist to find potential solutions. 1. Install the latest SQL Server 2014 service pack. Because many locking bugs were fixed in SQL Server 2014 service packs, you should install the latest SQL Server service pack. At the time […]
Troubleshooting problems with locking in SQL Server 2012
Troubleshooting problems with locking in SQL Server 2012 If you have problems with SQL Server 2012 locking, review this troubleshooting checklist to find potential solutions. 1. Install the latest SQL Server 2012 service pack. Because many SQL Server 2012 locking bugs were fixed in SQL Server service packs, you should install the latest SQL Server service pack. At the time...
Useful SQL Server 2012 trace flags
Useful SQL Server 2012 trace flags Introduction Trace flags are used to temporarily set specific server characteristics or to switch off a particular behavior. You can set trace flags by using the DBCC TRACEON command or by using the -T option with the sqlservr command-line executable. There are 2 types of trace flags in SQL Server 2012: – global trace...
Troubleshooting problems with locking in SQL Server 2008 R2
Troubleshooting problems with locking in SQL Server 2008 R2 If you have problems with SQL Server 2008 R2 locking, review this troubleshooting checklist to find potential solutions. 1. Install the latest SQL Server 2008 R2 service pack. Because many SQL Server 2008 R2 locking bugs were fixed in SQL Server service packs, you should install the latest SQL Server service...