Optimize cross-shard routing for UPDATE/DELETE queries with IN clauses #6343
Labels
Component: Query Serving
Type: Enhancement
Logical improvement (somewhere between a bug and feature)
In #6116 we optimized shard targeting for IN clause statements providing a vindex key. However, unlike for SELECT statement, we do not optimize the actual content of the IN clause during the scatter.
An example:
SELECT optimizes the IN clause as well as optimizes the targeting:
UPDATE just optimizes the targeting:
Obviously this isn't a functionality issue; but it does avoid unnecessary key lookups on each shard backend instance.
The text was updated successfully, but these errors were encountered: