Closed aaxelb closed 6 years ago
Using a subquery looked faster on staging, but still times out on production. Instead, do two queries so postgres doesn't get confused trying to optimize across both of them.
Using a subquery looked faster on staging, but still times out on production. Instead, do two queries so postgres doesn't get confused trying to optimize across both of them.