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

Don't use MERGE for single row insert with non-identity store-generated key #25718

Merged
merged 1 commit into from
Aug 27, 2021

Conversation

AndriySvyryd
Copy link
Member

Don't use MERGE for single row insert with non-identity store-generated key
Don't join the temporary table with the target table if only key values are store-generated

Fixes #25712
Fixes #25345

…ed key

Don't join the temporary table with the target table if only key values are store-generated

Fixes #25712
Fixes #25345
@AndriySvyryd AndriySvyryd requested a review from a team August 25, 2021 22:37
@AndriySvyryd AndriySvyryd changed the title Improve insert perf for store-generated values Don't use MERGE for single row insert with non-identity store-generated key Aug 27, 2021
@AndriySvyryd AndriySvyryd merged commit ffc6bb6 into release/6.0 Aug 27, 2021
@AndriySvyryd AndriySvyryd deleted the Issue25712 branch August 27, 2021 16:21
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.

Don't use MERGE for single row insert Frequent deadlocks on concurrent inserts with identity columns
2 participants