explain.depesz.com

PostgreSQL's explain analyze made readable

Result: PnDP : Optimization for: plan #UWKt

Settings

Optimization path:

# exclusive inclusive rows x rows loops node
1. 0.001 0.093 ↓ 0.0 0 1

Nested Loop (cost=1,015.45..7,870.16 rows=1 width=34) (actual time=0.093..0.093 rows=0 loops=1)

2. 0.033 0.092 ↓ 0.0 0 1

Hash Join (cost=1,015.18..7,869.56 rows=2 width=42) (actual time=0.092..0.092 rows=0 loops=1)

  • Hash Cond: ((qr.id_qr_client)::text = (qcad.id_qr_client)::text)
3. 0.000 0.000 ↓ 0.0 0

Gather (cost=1,010.33..7,864.42 rows=30 width=38) (never executed)

  • Workers Planned: 1
  • Workers Launched: 0
4. 0.000 0.000 ↓ 0.0 0

Nested Loop (cost=10.33..6,861.42 rows=18 width=38) (never executed)

5. 0.000 0.000 ↓ 0.0 0

Parallel Seq Scan on spare_mass_prod_part smpp (cost=0.00..2,183.04 rows=5 width=11) (never executed)

  • Filter: ((id_root_part)::text = 'F'::text)
6. 0.000 0.000 ↓ 0.0 0

Bitmap Heap Scan on qr (cost=10.33..935.65 rows=3 width=38) (never executed)

  • Recheck Cond: ((id_part)::text = (smpp.id_mass_prod_part)::text)
  • Filter: (received_month = ANY ('{2012-09-01,2012-09-01,2012-09-01}'::date[]))
7. 0.000 0.000 ↓ 0.0 0

Bitmap Index Scan on qr_id_part_i (cost=0.00..10.32 rows=235 width=0) (never executed)

  • Index Cond: ((id_part)::text = (smpp.id_mass_prod_part)::text)
8. 0.001 0.059 ↓ 0.0 0 1

Hash (cost=4.79..4.79 rows=5 width=4) (actual time=0.059..0.059 rows=0 loops=1)

  • Buckets: 1024 Batches: 1 Memory Usage: 8kB
9. 0.058 0.058 ↓ 0.0 0 1

Seq Scan on qr_client_ass_dpt qcad (cost=0.00..4.79 rows=5 width=4) (actual time=0.058..0.058 rows=0 loops=1)

  • Filter: ((id_assembly_dept)::text = ANY ('{1,2,3}'::text[]))
  • Rows Removed by Filter: 203
10. 0.000 0.000 ↓ 0.0 0

Index Scan using qr_client_pk on qr_client qc (cost=0.28..0.30 rows=1 width=4) (never executed)

  • Index Cond: ((id_qr_client)::text = (qr.id_qr_client)::text)
  • Filter: (qr_client_type = 'E'::bpchar)
Planning time : 1.678 ms