Upgrading a 2008 SQLServer database
When we started to look into upgrading, we already had SQLServer 2017 installed, but the databases were at compatibility 100 (2008). Using the compatibility mode option is a great way of divorcing the version of SQLServer from that of your databases, allowing you to keep the version of SQLServer up-to-date without worrying about breaking your application. Our testing process for upgrading the databases was to: Clone the production databases into the sandbox cluster Re-configure the sandbox application to target these new databases Use cypress.io to load test the application Take a SQL trace whilst load testing Increase the database compatibility option from 100 to 140 Re-run the load tests and SQL trace Load both traces into Qure profiler to analyse the differences. It is expected that some queries will perform better, and some might be considerably worse, so this testing is important to ensure we don’t take down the production application! We also invited our QA test eng...