You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
In #19828, we removed the last ordering for collection joins. We could go further and remove the set of orderings which correspond to the keys of the last collection join, if that join includes composite keys; that would allow us to remove multiple unnecessary orderings, not just one.
@roji do you have any sense of whether removing only the last column in a composite key scenario (i.e. only removing part of the last composite key) will give a perf boost, or is that likely to only come when this issue is fixed and the full key is removed? Just curious!
@stevendarby removing the last column (#19828) should still give a perf boost in the composite key scenario - removing an ordering should generally means less work for the database, regardless of whether that ordering is on a part of a composite key or not.
In #19828, we removed the last ordering for collection joins. We could go further and remove the set of orderings which correspond to the keys of the last collection join, if that join includes composite keys; that would allow us to remove multiple unnecessary orderings, not just one.
See discussion in #24360 (comment) and a draft attempt by @Emill in #24401.
The text was updated successfully, but these errors were encountered: