explain.depesz.com

PostgreSQL's explain analyze made readable

Result: Dzni

Settings
# exclusive inclusive rows x rows loops node
1. 1.789 131.578 ↓ 124.7 6,856 1

Nested Loop Left Join (cost=1,590.69..149,661.06 rows=55 width=19) (actual time=6.310..131.578 rows=6,856 loops=1)

2. 3.881 122.935 ↓ 124.6 6,854 1

Nested Loop (cost=1,590.40..149,444.48 rows=55 width=19) (actual time=6.305..122.935 rows=6,854 loops=1)

3. 23.767 29.544 ↓ 2.0 44,755 1

Bitmap Heap Scan on t_vetrino (cost=1,589.97..7,062.74 rows=22,679 width=11) (actual time=6.288..29.544 rows=44,755 loops=1)

  • Recheck Cond: (user_taglio = 0)
  • Filter: ((dt_cancel IS NULL) AND (annullato IS NULL) AND (user_consegna = 0))
  • Rows Removed by Filter: 41466
4. 5.777 5.777 ↓ 1.0 86,221 1

Bitmap Index Scan on i_ppppp (cost=0.00..1,584.31 rows=85,318 width=0) (actual time=5.777..5.777 rows=86,221 loops=1)

  • Index Cond: (user_taglio = 0)
5. 89.510 89.510 ↓ 0.0 0 44,755

Index Scan using t_caso2 on t_caso v2 (cost=0.43..6.27 rows=1 width=16) (actual time=0.002..0.002 rows=0 loops=44,755)

  • Index Cond: (id_acc_mat = t_vetrino.id_acc_mat)
  • Filter: ((fl_stato)::text <> ALL ('{I,P,V,R,Z,F}'::text[]))
  • Rows Removed by Filter: 1
6. 6.854 6.854 ↓ 0.0 0 6,854

Index Scan using t_vetrino_test1 on t_vetrino_test (cost=0.29..3.93 rows=1 width=8) (actual time=0.001..0.001 rows=0 loops=6,854)

  • Index Cond: (t_vetrino.id_vetrino = id_vetrino)
Total runtime : 131.991 ms