1 To optimize a query with a provably false condition, one should first characterize the query and isolate the part most impacting the undesired behavior.
“the first thing I do is characterize the query so this is just getting a minimal repo that's all that this but basically what is the part of the query that's most important is most impacting the thing that we don't want”