explain.depesz.com

PostgreSQL's explain analyze made readable

Result: xXgX

Settings
# exclusive inclusive rows x rows loops node
1. 5.147 42.214 ↓ 1.0 7,066 1

Hash Right Join (cost=2,537.17..7,738.08 rows=7,042 width=1,055) (actual time=8.074..42.214 rows=7,066 loops=1)

  • Hash Cond: ((cnc.cnc_clave_acceso)::text = (fec.ccm_clave_acceso)::text)
2. 20.214 31.385 ↑ 1.0 5,275 1

Hash Right Join (cost=300.25..5,460.91 rows=5,275 width=781) (actual time=2.359..31.385 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.876 8.876 ↓ 1.0 87,650 1

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

4. 1.535 2.295 ↑ 1.0 5,275 1

Hash (cost=194.75..194.75 rows=5,275 width=708) (actual time=2.295..2.295 rows=5,275 loops=1)

  • Buckets: 8192 Batches: 1 Memory Usage: 1182kB
5. 0.760 0.760 ↑ 1.0 5,275 1

Seq Scan on cnotacre cnc (cost=0.00..194.75 rows=5,275 width=708) (actual time=0.004..0.760 rows=5,275 loops=1)

6. 2.755 5.682 ↓ 1.0 7,066 1

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

  • Buckets: 8192 Batches: 1 Memory Usage: 2220kB
7. 2.417 2.927 ↓ 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=0.620..2.927 rows=7,066 loops=1)

  • Recheck Cond: ((ccm_documento)::text = 'NCC'::text)
  • Heap Blocks: exact=992
8. 0.510 0.510 ↓ 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=0.510..0.510 rows=7,066 loops=1)

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