-
Notifications
You must be signed in to change notification settings - Fork 3.2k
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
Update pipeline performance improvements in 7.0 #26797
Comments
In doing some testing for other features I noticed these changes kicking in for inserting a graph of entities. /cc @roji @JeremyLikness EF Core 6.0 does six round trips:
EF7 with Identity does three round trips:
EF7 with HiLo does it all in a single database call!
|
@ajcvickers: What is |
@Saibamen It's a value generation strategy that reserves a range of key values in the database and then uses those values as needed, as opposed to requesting key values at the time of insert. |
@Saibamen take a look at this blog post, which summarizes optimizations done under this epic; it contains a brief explanation of HiLo. |
Over the past few releases, we have focused on improving EF Core performance on non-tracking queries. For EF7, we plan to focus on performance related to database inserts and updates. This includes performance of change-tracking queries, performance of
DetectChanges
, and performance of the insert and update commands sent to the database.The work done here is described in this blog post, and discussed in this community standup.
The text was updated successfully, but these errors were encountered: