March 19, 2017 at 11:48 pm
Hi Experts,
I got a requirement for sql server migration from 2008 R2 to 2014.
I am browsing the net to find out what are the most issues will face after migration and one of them i found is cardinality estimator which is redesigned in 2014.Is this issue fixed in the latest service pack, if not then how to resolve this.
What are the other issues normally faced while migration to sql server 2014.
What checklist to follow during migratiion
Thanks
March 20, 2017 at 2:36 am
Hi
you may find this link helpful.
https://www.mssqltips.com/sqlservertip/1936/sql-server-database-migration-checklist/
March 20, 2017 at 2:50 am
SQL006 - Sunday, March 19, 2017 11:48 PMI am browsing the net to find out what are the most issues will face after migration and one of them i found is cardinality estimator which is redesigned in 2014.Is this issue fixed in the latest service pack, if not then how to resolve
It's not a bug.
The Cardinality estimator was redesigned in SQL 2014, with the intention that it was more stable in terms of estimations, simpler to understand and less prone to a variety of problems that occur in the real world (ascending date columns, non-independent filters).
Under the new CE, the majority of queries are either slightly faster or perform the same. A small number typically regress however.
You need to to test the workload before upgrading and after upgrading and changing the compatibility level to 2014, identify the queries with a problem and either change the queries or force them to use the old CE.
At this point in time, I would recommend upgrading to SQL Server 2016, not 2014. You need to do the same amount of testing, but you get the Query Store which makes identifying query performance problems much easier, and you get some query hints that make fixing them far easier (plus a pile of other new features)
Gail Shaw
Microsoft Certified Master: SQL Server, MVP, M.Sc (Comp Sci)
SQL In The Wild: Discussions on DB performance with occasional diversions into recoverability
March 20, 2017 at 7:24 am
GilaMonster - Monday, March 20, 2017 2:50 AMIt's not a bug.The Cardinality estimator was redesigned in SQL 2014, with the intention that it was more stable in terms of estimations, simpler to understand and less prone to a variety of problems that occur in the real world (ascending date columns, non-independent filters).
Under the new CE, the majority of queries are either slightly faster or perform the same. A small number typically regress however.
You need to to test the workload before upgrading and after upgrading and changing the compatibility level to 2014, identify the queries with a problem and either change the queries or force them to use the old CE.At this point in time, I would recommend upgrading to SQL Server 2016, not 2014. You need to do the same amount of testing, but you get the Query Store which makes identifying query performance problems much easier, and you get some query hints that make fixing them far easier (plus a pile of other new features)
Thanks Gail for the reply.
The client doesn't have the infrastructure to upgrade to sql server 2016 .
March 20, 2017 at 10:43 am
Since you can't go to 2016 and take advantage of Query Store, upgrading to 2014, you need to, as much as possible, simulate having Query Store available. With that in mind, do this:
"The credit belongs to the man who is actually in the arena, whose face is marred by dust and sweat and blood"
- Theodore Roosevelt
Author of:
SQL Server Execution Plans
SQL Server Query Performance Tuning
Viewing 5 posts - 1 through 4 (of 4 total)
You must be logged in to reply to this topic. Login to reply