Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

VCST-1752: Fix performance degradation on SQL Server #430

Merged
merged 2 commits into from
Sep 13, 2024
Merged

Conversation

artem-dudarev
Copy link
Collaborator

@artem-dudarev artem-dudarev commented Sep 6, 2024

Description

Addressed performance degradation in MS SQL Server when using OPENJSON and CONTAINS. The issue was resolved by setting the CompatibilityLevel to 120 (SQL Server 2014). For more information, see this link: https://www.virtocommerce.org/t/performance-degradation-in-ms-sql-database-queries-after-upgrading-to-ef-core-8/731.

The compatibility level can be configured in the appsettings.json:

  "SqlServer": {
    "CompatibilityLevel": 120
  }

References

QA-test:

Jira-link:

https://virtocommerce.atlassian.net/browse/VCST-1752

Artifact URL:

https://vc3prerelease.blob.core.windows.net/packages/VirtoCommerce.Orders_3.826.0-pr-430-c378.zip

@artem-dudarev artem-dudarev requested a review from a team as a code owner September 6, 2024 16:31
OlegoO
OlegoO previously approved these changes Sep 9, 2024
Copy link

@artem-dudarev artem-dudarev merged commit 2ee6bc3 into dev Sep 13, 2024
5 checks passed
@artem-dudarev artem-dudarev deleted the VCST-1752 branch September 13, 2024 10:02
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants