explain.depesz.com

PostgreSQL's explain analyze made readable

Result: iLW

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

Nested Loop Anti Join (cost=307.02..337.48 rows=1 width=131) (actual time=12.600..12.600 rows=0 loops=1)

2. 0.000 12.599 ↓ 0.0 0 1

Nested Loop (cost=306.60..332.62 rows=1 width=131) (actual time=12.599..12.599 rows=0 loops=1)

3. 0.000 12.599 ↓ 0.0 0 1

Nested Loop (cost=306.46..331.49 rows=7 width=135) (actual time=12.599..12.599 rows=0 loops=1)

4. 0.003 12.599 ↓ 0.0 0 1

Bitmap Heap Scan on cartao car (cost=306.17..313.98 rows=7 width=131) (actual time=12.599..12.599 rows=0 loops=1)

  • Recheck Cond: (((car_ds_autorizacao)::text ~~ '%634563%'::text) AND (car_cd_unidade_negocio = 2175))
5. 0.010 12.596 ↓ 0.0 0 1

BitmapAnd (cost=306.17..306.17 rows=7 width=0) (actual time=12.596..12.596 rows=0 loops=1)

6. 11.577 11.577 ↑ 30.4 230 1

Bitmap Index Scan on cartao_idx_autorizacao (cost=0.00..68.99 rows=6,999 width=0) (actual time=11.577..11.577 rows=230 loops=1)

  • Index Cond: ((car_ds_autorizacao)::text ~~ '%634563%'::text)
7. 1.009 1.009 ↑ 1.7 13,343 1

Bitmap Index Scan on cartao_idx (cost=0.00..236.93 rows=22,439 width=0) (actual time=1.009..1.009 rows=13,343 loops=1)

  • Index Cond: (car_cd_unidade_negocio = 2175)
8. 0.000 0.000 ↓ 0.0 0

Index Scan using administradora_pkey on administradora adm (cost=0.29..2.50 rows=1 width=8) (never executed)

  • Index Cond: (adm_cd_administradora = car.car_cd_administradora)
9. 0.000 0.000 ↓ 0.0 0

Index Scan using administradora_edi_pkey on administradora_edi ade (cost=0.14..0.16 rows=1 width=4) (never executed)

  • Index Cond: (ade_cd_administradora_edi = adm.adm_cd_administradora_edi)
  • Filter: (ade_cd_gestora = 3)
10. 0.000 0.000 ↓ 0.0 0

Index Scan using cartao_edi_idx_cartao_nao_vinculado on cartao_edi (cost=0.42..2.64 rows=1 width=4) (never executed)

  • Index Cond: (cae_cd_cartao = car.car_cd_cartao)
  • Filter: (cae_cd_unidade_negocio = 2175)
Planning time : 1.074 ms
Execution time : 12.665 ms