explain.depesz.com

PostgreSQL's explain analyze made readable

Result: XbTk

Settings

Optimization(s) for this plan:

# exclusive inclusive rows x rows loops node
1. 0.163 12.937 ↑ 1.5 793 1

Hash Left Join (cost=913.92..2,201.99 rows=1,178 width=74) (actual time=7.035..12.937 rows=793 loops=1)

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

Nested Loop Left Join (cost=891.98..2,135.25 rows=777 width=70) (actual time=7.020..12.765 rows=793 loops=1)

3. 0.561 11.425 ↓ 1.0 793 1

Nested Loop Left Join (cost=891.69..1,879.01 rows=777 width=62) (actual time=7.011..11.425 rows=793 loops=1)

4. 0.000 10.071 ↓ 1.0 793 1

Nested Loop (cost=891.41..1,621.42 rows=777 width=54) (actual time=7.006..10.071 rows=793 loops=1)

5. 0.540 8.603 ↓ 1.0 793 1

Nested Loop (cost=891.12..1,364.52 rows=777 width=54) (actual time=6.999..8.603 rows=793 loops=1)

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

Hash Right Join (cost=890.84..1,104.66 rows=777 width=36) (actual time=6.992..7.270 rows=793 loops=1)

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

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

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

Hash (cost=881.12..881.12 rows=777 width=32) (actual time=5.486..5.486 rows=793 loops=1)

  • Buckets: 1024 Batches: 1 Memory Usage: 52kB
9. 0.102 5.377 ↓ 1.0 793 1

Hash Right Join (cost=862.34..881.12 rows=777 width=32) (actual time=5.278..5.377 rows=793 loops=1)

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

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

Hash (cost=852.48..852.48 rows=777 width=24) (actual time=5.272..5.273 rows=793 loops=1)

  • Buckets: 1024 Batches: 1 Memory Usage: 52kB
12. 0.406 5.061 ↓ 1.0 793 1

Nested Loop (cost=324.50..852.48 rows=777 width=24) (actual time=3.545..5.061 rows=793 loops=1)

13. 1.027 3.862 ↓ 1.0 793 1

Hash Join (cost=324.22..597.87 rows=777 width=16) (actual time=3.536..3.862 rows=793 loops=1)

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

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

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

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

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

Hash (cost=232.57..232.57 rows=825 width=8) (actual time=0.322..0.322 rows=806 loops=1)

  • Buckets: 1024 Batches: 1 Memory Usage: 40kB
17. 0.198 0.198 ↑ 1.0 806 1

Index Only Scan using optimize9 on "J_ccdainfo" (cost=0.29..232.57 rows=825 width=8) (actual time=0.025..0.198 rows=806 loops=1)

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

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

  • Index Cond: (id = "J_msrrvsnii".info)
  • 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.001..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. 0.793 0.793 ↑ 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.001 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.002 0.009 ↑ 161.5 2 1

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

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

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