On my laptop, the query takes ~0.8 sec when semi-join is enabled. and 0.01 sec when it is not.
EXPLAINs are same as posted. For both plans, #rows column has values of {275,1,1,1,1,1}, which gives an estimate of about 1375 rows read.
On my laptop, the query takes ~0.8 sec when semi-join is enabled. and 0.01 sec when it is not.
EXPLAINs are same as posted. For both plans, #rows column has values of {275,1,1,1,1,1}, which gives an estimate of about 1375 rows read.