-
Notifications
You must be signed in to change notification settings - Fork 354
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
perf: improve get_workspaces query #8751
Merged
Merged
Conversation
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
✅ Deploy Preview for determined-ui canceled.
|
Codecov ReportAll modified and coverable lines are covered by tests ✅
Additional details and impacted files@@ Coverage Diff @@
## main #8751 +/- ##
=======================================
Coverage 47.70% 47.70%
=======================================
Files 1049 1049
Lines 167250 167250
Branches 2241 2241
=======================================
+ Hits 79792 79794 +2
+ Misses 87300 87298 -2
Partials 158 158
Flags with carried forward coverage won't be shown. Click here to find out more. |
This is the old query plan against latest main (notice the seq scan on experiments)
This is running against anon db
|
Updated on latest-main
Updated on anon db
|
stoksc
approved these changes
Jan 31, 2024
NicholasBlaskey
force-pushed
the
perf_get_workspaces
branch
from
February 2, 2024 13:26
4717af6
to
fd0c779
Compare
maxrussell
pushed a commit
that referenced
this pull request
Mar 21, 2024
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Description
Improve performance of
get_workspaces.sql
.The anon db revealed the query is taking way longer than it should.
This PR essentially undoes the optimization added in #5929
Test Plan
Commentary (optional)
Checklist
docs/release-notes/
.See Release Note for details.
Ticket