explain.depesz.com

PostgreSQL's explain analyze made readable

Result: m4cp

Settings
# exclusive inclusive rows x rows loops node
1. 0.368 28.486 ↑ 1.5 793 1

Hash Left Join (cost=913.92..2,201.99 rows=1,178 width=70) (actual time=14.733..28.486 rows=793 loops=1)

  • Hash Cond: ("J_meascd".code = "F_labccd_weight".id)
2. 0.691 28.085 ↓ 1.0 793 1

Nested Loop Left Join (cost=891.98..2,135.25 rows=777 width=66) (actual time=14.691..28.085 rows=793 loops=1)

3. 0.695 25.015 ↓ 1.0 793 1

Nested Loop Left Join (cost=891.69..1,879.01 rows=777 width=58) (actual time=14.674..25.015 rows=793 loops=1)

4. 0.110 21.941 ↓ 1.0 793 1

Nested Loop (cost=891.41..1,621.42 rows=777 width=50) (actual time=14.663..21.941 rows=793 loops=1)

5. 0.323 18.659 ↓ 1.0 793 1

Nested Loop (cost=891.12..1,364.52 rows=777 width=50) (actual time=14.652..18.659 rows=793 loops=1)

  • Join Filter: ("J_ccdainfo".info = "F_ccdaiteminfo_htmlname".id)
6. 1.344 15.164 ↓ 1.0 793 1

Hash Right Join (cost=890.84..1,104.66 rows=777 width=32) (actual time=14.637..15.164 rows=793 loops=1)

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

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

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

Hash (cost=881.12..881.12 rows=777 width=28) (actual time=11.843..11.843 rows=793 loops=1)

  • Buckets: 1024 Batches: 1 Memory Usage: 49kB
9. 0.300 11.589 ↓ 1.0 793 1

Hash Right Join (cost=862.34..881.12 rows=777 width=28) (actual time=11.395..11.589 rows=793 loops=1)

  • Hash Cond: ("F_measure_datehigh".id = "J_measrvsn".meas)
10. 0.003 0.003 ↓ 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.003..0.003 rows=0 loops=1)

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

Hash (cost=852.48..852.48 rows=777 width=20) (actual time=11.286..11.286 rows=793 loops=1)

  • Buckets: 1024 Batches: 1 Memory Usage: 49kB
12. 0.648 10.982 ↓ 1.0 793 1

Nested Loop (cost=324.50..852.48 rows=777 width=20) (actual time=8.211..10.982 rows=793 loops=1)

13. 2.512 8.748 ↓ 1.0 793 1

Hash Join (cost=324.22..597.87 rows=777 width=12) (actual time=8.178..8.748 rows=793 loops=1)

  • Hash Cond: ("J_msrrvsnii".info = "J_ccdainfo".info)
14. 4.114 5.471 ↑ 1.0 14,488 1

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

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

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

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

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

  • Buckets: 1024 Batches: 1 Memory Usage: 37kB
17. 0.447 0.447 ↑ 1.0 806 1

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

  • Index Cond: (("erasedAt" >= '9999-12-31 00:00:00'::timestamp without time zone) AND (ccda = 88))
  • Heap Fetches: 98
18. 1.586 1.586 ↑ 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.002..0.002 rows=1 loops=793)

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

Index Scan using optimize6 on "F_ccdaiteminfo_htmlname" (cost=0.29..0.32 rows=1 width=26) (actual time=0.003..0.004 rows=1 loops=793)

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

Index Scan using optimize13 on "F_msrrvsn_value" (cost=0.29..0.32 rows=1 width=8) (actual time=0.003..0.004 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. 2.379 2.379 ↑ 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.003..0.003 rows=1 loops=793)

  • Index Cond: ((id = "J_measrvsn".meas) AND ("erasedAt" >= '9999-12-31 00:00:00'::timestamp without time zone))
22. 2.379 2.379 ↑ 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.003..0.003 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
23. 0.018 0.033 ↑ 161.5 2 1

Hash (cost=17.90..17.90 rows=323 width=8) (actual time=0.033..0.033 rows=2 loops=1)

  • Buckets: 1024 Batches: 1 Memory Usage: 9kB
24. 0.015 0.015 ↑ 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.013..0.015 rows=2 loops=1)

  • Index Cond: ("erasedAt" >= '9999-12-31 00:00:00'::timestamp without time zone)