explain.depesz.com

PostgreSQL's explain analyze made readable

Result: KRsp

Settings
# exclusive inclusive rows x rows loops node
1. 6.104 24,793.799 ↓ 124.8 2,871 1

Sort (cost=197,550.66..197,550.72 rows=23 width=4) (actual time=24,792.614..24,793.799 rows=2,871 loops=1)

  • Sort Key: i0_.oid
  • Sort Method: quicksort Memory: 231kB
2. 734.622 24,787.695 ↓ 124.8 2,871 1

Hash Join (cost=183,207.81..197,550.14 rows=23 width=4) (actual time=14,980.574..24,787.695 rows=2,871 loops=1)

  • Hash Cond: (i0_.id_releve = i1_.rid)
3. 9,078.023 9,741.537 ↓ 525.3 2,166,992 1

Bitmap Heap Scan on vm_requeteur_observations i0_ (cost=1,847.97..16,138.51 rows=4,125 width=8) (actual time=668.462..9,741.537 rows=2,166,992 loops=1)

  • Recheck Cond: (groupes_fonctionnels && '{12}'::integer[])
  • Rows Removed by Index Recheck: 1704409
4. 663.514 663.514 ↓ 525.3 2,166,992 1

Bitmap Index Scan on vm_requeteur_observations_groupes_fonctionnels_idx (cost=0.00..1,846.94 rows=4,125 width=0) (actual time=663.514..663.514 rows=2,166,992 loops=1)

  • Index Cond: (groupes_fonctionnels && '{12}'::integer[])
5. 7.464 14,311.536 ↑ 5.7 2,960 1

Hash (cost=181,147.10..181,147.10 rows=17,019 width=4) (actual time=14,311.536..14,311.536 rows=2,960 loops=1)

  • Buckets: 2048 Batches: 1 Memory Usage: 105kB
6. 814.040 14,304.072 ↑ 5.7 2,960 1

Hash Join (cost=35.65..181,147.10 rows=17,019 width=4) (actual time=10.549..14,304.072 rows=2,960 loops=1)

  • Hash Cond: (i1_.id_jdd = i2_.id_jdd)
7. 13,489.949 13,489.949 ↑ 1.0 2,084,695 1

Seq Scan on vm_requeteur_releves i1_ (cost=0.00..173,116.64 rows=2,086,564 width=8) (actual time=0.020..13,489.949 rows=2,084,695 loops=1)

8. 0.010 0.083 ↑ 1.0 10 1

Hash (cost=35.53..35.53 rows=10 width=4) (actual time=0.083..0.083 rows=10 loops=1)

  • Buckets: 1024 Batches: 1 Memory Usage: 1kB
9. 0.073 0.073 ↑ 1.0 10 1

Index Scan using jdd_id_ca_idx on jdd i2_ (cost=0.28..35.53 rows=10 width=4) (actual time=0.044..0.073 rows=10 loops=1)

  • Index Cond: (id_ca = 451)
Total runtime : 24,794.817 ms