explain.depesz.com

PostgreSQL's explain analyze made readable

Result: wHMD

Settings
# exclusive inclusive rows x rows loops node
1. 4.259 39.431 ↓ 1.0 7,066 1

Hash Right Join (cost=2,537.14..7,738.04 rows=7,042 width=1,055) (actual time=8.459..39.431 rows=7,066 loops=1)

  • Hash Cond: ((cnc.cnc_clave_acceso)::text = (fec.ccm_clave_acceso)::text)
2. 18.463 28.429 ↓ 1.0 5,275 1

Hash Right Join (cost=300.22..5,460.88 rows=5,274 width=781) (actual time=1.684..28.429 rows=5,275 loops=1)

  • Hash Cond: ((ccm.pve_id = cnc.pve_id) AND (ccm.ccm_periodo = cnc.cnc_periodo) AND (ccm.cti_id = cnc.cti_id) AND (ccm.ccm_numero = cnc.cnc_numero))
3. 8.329 8.329 ↓ 1.0 87,650 1

Seq Scan on ccomproba ccm (cost=0.00..2,075.47 rows=87,647 width=73) (actual time=0.002..8.329 rows=87,650 loops=1)

4. 1.196 1.637 ↓ 1.0 5,275 1

Hash (cost=194.74..194.74 rows=5,274 width=708) (actual time=1.637..1.637 rows=5,275 loops=1)

  • Buckets: 8192 Batches: 1 Memory Usage: 1182kB
5. 0.441 0.441 ↓ 1.0 5,275 1

Seq Scan on cnotacre cnc (cost=0.00..194.74 rows=5,274 width=708) (actual time=0.002..0.441 rows=5,275 loops=1)

6. 2.991 6.743 ↓ 1.0 7,066 1

Hash (cost=2,148.89..2,148.89 rows=7,042 width=274) (actual time=6.743..6.743 rows=7,066 loops=1)

  • Buckets: 8192 Batches: 1 Memory Usage: 2220kB
7. 2.656 3.752 ↓ 1.0 7,066 1

Bitmap Heap Scan on fe_comprobante fec (cost=134.87..2,148.89 rows=7,042 width=274) (actual time=1.303..3.752 rows=7,066 loops=1)

  • Recheck Cond: ((ccm_documento)::text = 'NCC'::text)
  • Heap Blocks: exact=992
8. 1.096 1.096 ↓ 1.0 7,066 1

Bitmap Index Scan on idx_fe_comprobante_ccm_documento (cost=0.00..133.10 rows=7,042 width=0) (actual time=1.096..1.096 rows=7,066 loops=1)

  • Index Cond: ((ccm_documento)::text = 'NCC'::text)