Uh oh!
There was an error while loading. Please reload this page.
for the DB ot pick an index specify the object_type - #19281
Merged
Conversation
Signed-off-by: Arthur Schiwon <blizzz@arthur-schiwon.de>
blizzz
requested review from
ChristophWurst, icewind1991, nickvergessen and rullzerFebruary 3, 2020 15:24
ChristophWurst
approved these changes
Feb 3, 2020
ChristophWurst
left a comment
Member
There was a problem hiding this comment.
Makes sense! Good catch!
blizzz
commented
Feb 3, 2020
MemberAuthor
/backport to stable18 |
blizzz
commented
Feb 3, 2020
MemberAuthor
/backport to stable17 |
blizzz
commented
Feb 3, 2020
MemberAuthor
/backport to stable16 |
skjnldsv
approved these changes
Feb 3, 2020
backport to stable18 in #19283 |
backport to stable17 in #19284 |
backport to stable16 in #19285 |
This file contains hidden or 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
Sign up for freeto 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.
The indices in the comments DB include the whole object, consisting of a type and its ID. The queries did not take the type in account (well, not everywhere), which used some subqueries to run expensive without using the index.
Before:
Now