explain.depesz.com

PostgreSQL's explain analyze made readable

Result: 26Af

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

Nested Loop (cost=11.00..8,360.31 rows=1 width=34) (actual time=0.058..0.058 rows=0 loops=1)

2. 0.000 0.057 ↓ 0.0 0 1

Nested Loop (cost=10.72..8,359.70 rows=2 width=42) (actual time=0.057..0.057 rows=0 loops=1)

  • Join Filter: ((qr.id_qr_client)::text = (qcad.id_qr_client)::text)
3. 0.001 0.057 ↓ 0.0 0 1

Nested Loop (cost=10.72..8,352.72 rows=29 width=38) (actual time=0.057..0.057 rows=0 loops=1)

4. 0.056 0.056 ↓ 0.0 0 1

Index Scan using spare_mass_prod_part_id_root_part_i on spare_mass_prod_part smpp (cost=0.42..37.08 rows=9 width=11) (actual time=0.056..0.056 rows=0 loops=1)

  • Index Cond: ((id_root_part)::text = 'F'::text)
5. 0.000 0.000 ↓ 0.0 0

Bitmap Heap Scan on qr (cost=10.30..923.93 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[]))
6. 0.000 0.000 ↓ 0.0 0

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

  • Index Cond: ((id_part)::text = (smpp.id_mass_prod_part)::text)
7. 0.000 0.000 ↓ 0.0 0

Materialize (cost=0.00..4.82 rows=5 width=4) (never executed)

8. 0.000 0.000 ↓ 0.0 0

Seq Scan on qr_client_ass_dpt qcad (cost=0.00..4.79 rows=5 width=4) (never executed)

  • Filter: ((id_assembly_dept)::text = ANY ('{1,2,3}'::text[]))
9. 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 : 6.503 ms
Execution time : 0.150 ms