# Result: orM9 : Optimization for: Optimization for: Optimization for: Optimization for: plan #vGml; plan #4VVA; plan #KDbU; plan #gQN

Settings

### Optimization(s) for this plan:

# exclusive inclusive rows x rows loops node
1. 805.877 14,714.021 ↓ 33.3 109,887 1

(cost=1.86..8,743.66 rows=3,297 width=183) (actual time=0.189..14,714.021 rows=109,887 loops=1)

2. 664.872 12,699.387 ↓ 33.3 109,887 1

(cost=1.86..8,644.45 rows=3,297 width=158) (actual time=0.180..12,699.387 rows=109,887 loops=1)

3. 614.680 10,166.436 ↓ 33.3 109,887 1

(cost=1.86..8,545.24 rows=3,297 width=158) (actual time=0.141..10,166.436 rows=109,887 loops=1)

4. 656.052 5,156.276 ↓ 33.3 109,887 1

(cost=1.57..7,424.35 rows=3,297 width=133) (actual time=0.120..5,156.276 rows=109,887 loops=1)

5. 532.941 1,093.727 ↓ 33.3 109,887 1

(cost=1.14..4,849.49 rows=3,297 width=135) (actual time=0.072..1,093.727 rows=109,887 loops=1)

• Hash Cond: ((documento.idestado)::text = (estado.idestado)::text)
6. 560.758 560.758 ↑ 1.0 109,887 1

Seq Scan on documento (cost=0.00..3,853.87 rows=109,887 width=139) (actual time=0.028..560.758 rows=109,887 loops=1)

7. 0.011 0.028 ↑ 1.0 6 1

(cost=1.06..1.06 rows=6 width=4) (actual time=0.028..0.028 rows=6 loops=1)

• Buckets: 1024 Batches: 1 Memory Usage: 1kB
8. 0.017 0.017 ↑ 1.0 6 1

Seq Scan on estado (cost=0.00..1.06 rows=6 width=4) (actual time=0.010..0.017 rows=6 loops=1)

9. 3,406.497 3,406.497 ↑ 1.0 1 109,887

Index Only Scan using personas_pkey on personas (cost=0.43..0.77 rows=1 width=7) (actual time=0.030..0.031 rows=1 loops=109,887)

• Index Cond: (ci = (documento.ci)::text)
• Heap Fetches: 0
10. 4,395.480 4,395.480 ↑ 1.0 1 109,887

Index Scan using empresa_pkey on empresa (cost=0.29..0.33 rows=1 width=30) (actual time=0.038..0.040 rows=1 loops=109,887)

• Index Cond: ((nro_patronal)::text = (documento.nro_patronal)::text)
11. 1,868.079 1,868.079 ↑ 1.0 1 109,887

Index Scan using tipo_idtipo_idx on tipo tipo_1 (cost=0.00..0.02 rows=1 width=4) (actual time=0.016..0.017 rows=1 loops=109,887)

• Index Cond: (idtipo = documento.idtipo)
12. 1,208.757 1,208.757 ↑ 1.0 1 109,887

Index Scan using tipo_idtipo_idx on tipo (cost=0.00..0.02 rows=1 width=33) (actual time=0.010..0.011 rows=1 loops=109,887)

• Index Cond: (documento.idtipo = idtipo)