add remove language chart show hidden hide
db<>fiddle
donate feedback about
By using db<>fiddle, you agree to license everything you submit by Creative Commons CC0.
5 rows affected
8 rows affected
46 rows affected
poa_code which
2080 group4
2081 group4
QUERY PLAN
Merge Join (cost=267.95..517.20 rows=16192 width=36) (actual time=0.052..0.054 rows=2 loops=1)
  Merge Cond: (g.footprint = p.poa_code)
  -> Sort (cost=88.17..91.35 rows=1270 width=36) (actual time=0.030..0.031 rows=21 loops=1)
        Sort Key: g.footprint
        Sort Method: quicksort Memory: 27kB
        -> Seq Scan on groups2 g (cost=0.00..22.70 rows=1270 width=36) (actual time=0.017..0.020 rows=46 loops=1)
  -> Sort (cost=179.78..186.16 rows=2550 width=4) (actual time=0.018..0.018 rows=8 loops=1)
        Sort Key: p.poa_code
        Sort Method: quicksort Memory: 25kB
        -> Seq Scan on au_postcode p (cost=0.00..35.50 rows=2550 width=4) (actual time=0.005..0.005 rows=8 loops=1)
Planning Time: 0.048 ms
Execution Time: 0.070 ms
QUERY PLAN
Nested Loop (cost=0.00..60752.50 rows=1156000 width=36) (actual time=0.030..0.033 rows=2 loops=1)
  Join Filter: ((g.postcodefootprint # p.poa_code) > 0)
  Rows Removed by Join Filter: 38
  -> Seq Scan on au_postcode p (cost=0.00..35.50 rows=2550 width=4) (actual time=0.007..0.007 rows=8 loops=1)
  -> Materialize (cost=0.00..30.40 rows=1360 width=32) (actual time=0.001..0.002 rows=5 loops=8)
        -> Seq Scan on groups g (cost=0.00..23.60 rows=1360 width=32) (actual time=0.006..0.007 rows=5 loops=1)
Planning Time: 0.066 ms
Execution Time: 0.487 ms