examining the plan - the nested loop anti-join only kicks in at 177865ms, so not a problem
We get 12000 bugtasks from the bug supervisor clauses:
-> Materialize (cost=16707.17..16949.10 rows=24193 width=4) (actual time=0.000..1.646 rows=12164 loops=44267)
none from product, 12K from structural subscriptions to distribution sourcepackages , none from distribution bug supervisor
however, it runs this subselect 44K times - though its materialized, its 1.6ms per time to consult it.
examining the plan - the nested loop anti-join only kicks in at 177865ms, so not a problem
We get 12000 bugtasks from the bug supervisor clauses: 17..16949. 10 rows=24193 width=4) (actual time=0.000..1.646 rows=12164 loops=44267)
-> Materialize (cost=16707.
none from product, 12K from structural subscriptions to distribution sourcepackages , none from distribution bug supervisor
however, it runs this subselect 44K times - though its materialized, its 1.6ms per time to consult it.
http:// explain. depesz. com/s/4zx for a pretty view