explain.depesz.com

PostgreSQL's explain analyze made readable

Result: ULJw : Optimization for: plan #mjcg

Settings

Optimization path:

# exclusive inclusive rows x rows loops node
1. 0.081 4,946.507 ↑ 1.0 132 1

Aggregate (cost=209,619.110..209,620.430 rows=132 width=8) (actual time=4,946.490..4,946.507 rows=132 loops=1)

2. 4,515.425 4,946.426 ↑ 454.8 152 1

Nested Loop (cost=0.000..209,446.300 rows=69,125 width=8) (actual time=0.025..4,946.426 rows=152 loops=1)

3. 11.721 11.721 ↓ 1.0 104,820 1

Seq Scan on four four (cost=0.000..2,068.350 rows=104,735 width=39) (actual time=0.006..11.721 rows=104,820 loops=1)

4. 419.271 419.280 ↑ 1.0 132 104,820

Materialize (cost=0.000..2.980 rows=132 width=17) (actual time=0.000..0.004 rows=132 loops=104,820)

5. 0.009 0.009 ↑ 1.0 132 1

Seq Scan on romeo romeo (cost=0.000..2.320 rows=132 width=17) (actual time=0.003..0.009 rows=132 loops=1)

Planning time : 0.086 ms
Execution time : 4,946.546 ms