Eric,
> Nested Loop
> (cost=189.00..27359887.76 rows=607947200 width=22)
> Join Filter: ("outer".address <<= "inner".address)
> -> Seq Scan on clients c
> (cost=0.00..2074.76 rows=102176 width=11)
> -> Materialize
> (cost=189.00..308.00 rows=11900 width=11)
> -> Seq Scan on clients_commercial cc
> (cost=0.00..189.00 rows=11900 width=11)
To help you, we need EXPLAIN ANALYZE, not just EXPLAIN. Thanks!
--
-Josh Berkus
Aglio Database Solutions
San Francisco