A production query was scanning ~1M rows and taking ~5s. By rewriting a `NOT IN` status filter into a selective `IN` predicate, execution dropped to ~50ms.
Read more Menu
A production query was scanning ~1M rows and taking ~5s. By rewriting a `NOT IN` status filter into a selective `IN` predicate, execution dropped to ~50ms.
Read more