Transaction Search/performance is slower after updating database compatibility level to 130

When running SQL Server 2016 compatibility level 130 or higher, users have noticed that running a "Transaction Search" takes around 20 seconds to find a single transaction when doing a search using the "Revenue ID" in the search form. The same search using compatibility level 110 (SQL 2012 DB level) returns a result almost instantly.

Other searches, queries, or processes may also be slower after updating the database compatibility level to 130.
We have determined that this issue is related to the Cardinality Estimation used by Microsoft SQL Server on compatibility level 120+ (including CL 130). In some cases, it may be best to revert the Cardinality Estimation version back to the legacy version.

If you decide to revert back to the previous Cardinality Estimation version, running the attached script (RevertCE.sql) will make this change for you. 

For more information about Cardinality Estimation, please see the following Microsoft article:

Note: We provide links to third-party websites in an effort to help you resolve your issue. We are not responsible for the information on third-party websites, and we cannot assist in implementing the solutions on these websites.


 Blackbaud CRM

Was this article helpful?

Thanks for your feedback! Did this solve your issue?

Comments (optional):

Thanks for your feedback!
We're glad it was helpful but sorry it didn’t solve your issue. If you need assistance, click Chat with Support below.
We’re sorry to hear that. Please tell us why.

 I don't like how this works.

 The answer is confusing.

 The answer didn't match what I was searching for.

Additional Comments (optional):

Thanks for your feedback! If you need assistance, click Chat with Support below.
Thanks for your feedback. Help us make our products even better by sharing details in our Idea Banks or our online Community.
Thanks for letting us know. We'll work on clarifying the information in the article. If you need assistance, click Chat with Support below.
Thanks for letting us know. We'll work on updating the search engine to return more relevant results.