explain.depesz.com

PostgreSQL's explain analyze made readable

Result: Cj6u

Settings
# exclusive inclusive rows x rows loops node
1. 0.101 12.319 ↑ 1.5 793 1

Hash Right Join (cost=1,885.26..1,922.87 rows=1,178 width=48) (actual time=12.225..12.319 rows=793 loops=1)

  • Hash Cond: ("F_labccd_weight".id = "J_meascd".code)
2. 0.006 0.006 ↑ 161.5 2 1

Index Scan using "UF_labccd_weight" on "F_labccd_weight" (cost=0.15..17.90 rows=323 width=8) (actual time=0.005..0.006 rows=2 loops=1)

  • Index Cond: ("erasedAt" >= '9999-12-31 00:00:00'::timestamp without time zone)
3. 0.218 12.212 ↓ 1.0 793 1

Hash (cost=1,875.40..1,875.40 rows=777 width=44) (actual time=12.212..12.212 rows=793 loops=1)

  • Buckets: 1024 Batches: 1 Memory Usage: 68kB
4. 0.000 11.994 ↓ 1.0 793 1

Nested Loop Left Join (cost=891.69..1,875.40 rows=777 width=44) (actual time=7.381..11.994 rows=793 loops=1)

5. 0.557 10.473 ↓ 1.0 793 1

Nested Loop Left Join (cost=891.41..1,619.16 rows=777 width=36) (actual time=7.356..10.473 rows=793 loops=1)

6. 0.000 9.123 ↓ 1.0 793 1

Nested Loop (cost=891.12..1,361.57 rows=777 width=28) (actual time=7.350..9.123 rows=793 loops=1)

7. 0.766 7.563 ↓ 1.0 793 1

Hash Right Join (cost=890.84..1,104.66 rows=777 width=28) (actual time=7.340..7.563 rows=793 loops=1)

  • Hash Cond: ("F_msrrvsn_units".id = "J_msrrvsnii".revision)
8. 1.067 1.067 ↑ 1.0 8,270 1

Seq Scan on "F_msrrvsn_units" (cost=0.00..178.38 rows=8,270 width=8) (actual time=0.008..1.067 rows=8,270 loops=1)

  • Filter: ("erasedAt" >= '9999-12-31 00:00:00'::timestamp without time zone)
9. 0.110 5.730 ↓ 1.0 793 1

Hash (cost=881.12..881.12 rows=777 width=24) (actual time=5.730..5.730 rows=793 loops=1)

  • Buckets: 1024 Batches: 1 Memory Usage: 46kB
10. 0.085 5.620 ↓ 1.0 793 1

Hash Right Join (cost=862.34..881.12 rows=777 width=24) (actual time=5.539..5.620 rows=793 loops=1)

  • Hash Cond: ("F_measure_datehigh".id = "J_measrvsn".meas)
11. 0.004 0.004 ↓ 0.0 0 1

Index Scan using "UF_measure_datehigh" on "F_measure_datehigh" (cost=0.15..17.62 rows=307 width=12) (actual time=0.004..0.004 rows=0 loops=1)

  • Index Cond: ("erasedAt" >= '9999-12-31 00:00:00'::timestamp without time zone)
12. 0.158 5.531 ↓ 1.0 793 1

Hash (cost=852.48..852.48 rows=777 width=16) (actual time=5.531..5.531 rows=793 loops=1)

  • Buckets: 1024 Batches: 1 Memory Usage: 46kB
13. 0.705 5.373 ↓ 1.0 793 1

Nested Loop (cost=324.50..852.48 rows=777 width=16) (actual time=3.505..5.373 rows=793 loops=1)

14. 1.130 3.875 ↓ 1.0 793 1

Hash Join (cost=324.22..597.87 rows=777 width=8) (actual time=3.496..3.875 rows=793 loops=1)

  • Hash Cond: ("J_msrrvsnii".info = "J_ccdainfo".info)
15. 1.810 2.432 ↑ 1.0 14,488 1

Bitmap Heap Scan on "J_msrrvsnii" (cost=81.34..292.89 rows=14,488 width=8) (actual time=0.644..2.432 rows=14,488 loops=1)

  • Filter: ("erasedAt" >= '9999-12-31 00:00:00'::timestamp without time zone)
  • Heap Blocks: exact=121
16. 0.622 0.622 ↓ 2.0 14,488 1

Bitmap Index Scan on optimize8 (cost=0.00..77.72 rows=7,244 width=0) (actual time=0.622..0.622 rows=14,488 loops=1)

  • Index Cond: (("erasedAt" >= '9999-12-31 00:00:00'::timestamp without time zone) = true)
17. 0.089 0.313 ↑ 1.0 806 1

Hash (cost=232.57..232.57 rows=825 width=4) (actual time=0.313..0.313 rows=806 loops=1)

  • Buckets: 1024 Batches: 1 Memory Usage: 37kB
18. 0.224 0.224 ↑ 1.0 806 1

Index Only Scan using optimize9 on "J_ccdainfo" (cost=0.29..232.57 rows=825 width=4) (actual time=0.036..0.224 rows=806 loops=1)

  • Index Cond: (("erasedAt" >= '9999-12-31 00:00:00'::timestamp without time zone) AND (ccda = 88))
  • Heap Fetches: 98
19. 0.793 0.793 ↑ 1.0 1 793

Index Scan using "XJ_measrvsn_FM_rvsn_TO_meas2" on "J_measrvsn" (cost=0.29..0.32 rows=1 width=8) (actual time=0.001..0.001 rows=1 loops=793)

  • Index Cond: (rvsn = "J_msrrvsnii".revision)
  • Filter: ("erasedAt" >= '9999-12-31 00:00:00'::timestamp without time zone)
20. 1.586 1.586 ↑ 1.0 1 793

Index Scan using optimize13 on "F_msrrvsn_value" (cost=0.29..0.32 rows=1 width=8) (actual time=0.002..0.002 rows=1 loops=793)

  • Index Cond: ((("erasedAt" >= '9999-12-31 00:00:00'::timestamp without time zone) = true) AND (id = "J_msrrvsnii".revision))
  • Filter: ("erasedAt" >= '9999-12-31 00:00:00'::timestamp without time zone)
21. 0.793 0.793 ↑ 1.0 1 793

Index Scan using "QF_measure_datelow" on "F_measure_datelow" (cost=0.29..0.32 rows=1 width=12) (actual time=0.001..0.001 rows=1 loops=793)

  • Index Cond: ((id = "J_measrvsn".meas) AND ("erasedAt" >= '9999-12-31 00:00:00'::timestamp without time zone))
22. 1.586 1.586 ↑ 1.0 1 793

Index Only Scan using "PJ_meascd" on "J_meascd" (cost=0.29..0.32 rows=1 width=8) (actual time=0.001..0.002 rows=1 loops=793)

  • Index Cond: ((meas = "J_measrvsn".meas) AND ("erasedAt" >= '9999-12-31 00:00:00'::timestamp without time zone))
  • Heap Fetches: 793