explain.depesz.com

PostgreSQL's explain analyze made readable

Result: u33a : Optimization for: Optimization for: Optimization for: Optimization for: Optimization for: Optimization for: Optimization for: plan #3czy; plan #AGRF; plan #6hLh; plan #H9NA; plan #4qUs; plan #KVr2; plan #2ooA

Settings

Optimization path:

Optimization(s) for this plan:

# exclusive inclusive rows x rows loops node
1. 0.294 255.661 ↓ 233.0 233 1

Sort (cost=125,446.37..125,446.38 rows=1 width=386) (actual time=221.012..255.661 rows=233 loops=1)

  • Sort Key: romeo2.november, romeo8.three_zulu, romeo3.three_zulu
  • Sort Method: quicksort Memory: 144kB
2. 0.857 255.367 ↓ 233.0 233 1

Nested Loop Left Join (cost=1,001.97..125,446.36 rows=1 width=386) (actual time=0.880..255.367 rows=233 loops=1)

3. 0.115 254.044 ↓ 233.0 233 1

Nested Loop (cost=1,001.70..125,446.05 rows=1 width=232) (actual time=0.849..254.044 rows=233 loops=1)

4. 0.365 253.463 ↓ 233.0 233 1

Nested Loop Left Join (cost=1,001.42..125,443.55 rows=1 width=240) (actual time=0.840..253.463 rows=233 loops=1)

  • Join Filter: (romeo6.quebec = romeo2.four_sierra)
  • Rows Removed by Join Filter: 323
5. 42.054 252.865 ↓ 233.0 233 1

Gather (cost=1,001.42..125,442.26 rows=1 width=243) (actual time=0.833..252.865 rows=233 loops=1)

  • Workers Planned: 2
  • Workers Launched: 2
6. 0.065 210.811 ↓ 78.0 78 3 / 3

Nested Loop Left Join (cost=1.42..124,442.16 rows=1 width=243) (actual time=67.071..210.811 rows=78 loops=3)

7. 0.045 210.513 ↓ 78.0 78 3 / 3

Nested Loop Left Join (cost=1.14..124,439.66 rows=1 width=192) (actual time=67.055..210.513 rows=78 loops=3)

8. 0.026 210.313 ↓ 78.0 78 3 / 3

Nested Loop (cost=0.86..124,439.37 rows=1 width=139) (actual time=67.036..210.313 rows=78 loops=3)

9. 209.827 209.827 ↓ 92.0 92 3 / 3

Parallel Index Scan using golf on foxtrot_romeo foxtrot_juliet (cost=0.43..124,436.71 rows=1 width=123) (actual time=67.002..209.827 rows=92 loops=3)

  • Index Cond: (juliet_hotel = 2)
  • Filter: (((NOT papa_bravo) OR (papa_bravo five_romeo NULL)) AND (mike >= 'four_foxtrot'::timestamp without time zone) AND (mike <= 'uniform_hotel'::timestamp without time zone))
  • Rows Removed by Filter: 52,417
10. 0.460 0.460 ↑ 1.0 1 276 / 3

Index Scan using juliet_six on alpha four_uniform (cost=0.43..2.65 rows=1 width=32) (actual time=0.005..0.005 rows=1 loops=276)

  • Index Cond: (sierra_foxtrot = romeo2.quebec)
  • Filter: ((NOT papa_bravo) OR (papa_bravo five_romeo NULL))
11. 0.155 0.155 ↑ 1.0 1 233 / 3

Index Scan using kilo on oscar three_quebec (cost=0.28..0.29 rows=1 width=69) (actual time=0.002..0.002 rows=1 loops=233)

  • Index Cond: (quebec = romeo1.four_delta)
12. 0.233 0.233 ↑ 1.0 1 233 / 3

Index Scan using sierra_delta on sierra_three india (cost=0.28..2.50 rows=1 width=67) (actual time=0.003..0.003 rows=1 loops=233)

  • Index Cond: (quebec = romeo2.lima)
13. 0.233 0.233 ↑ 6.5 2 233

Seq Scan on tango five_echo (cost=0.00..1.13 rows=13 width=13) (actual time=0.001..0.001 rows=2 loops=233)

14. 0.466 0.466 ↑ 1.0 1 233

Index Only Scan using two on echo xray (cost=0.27..2.49 rows=1 width=8) (actual time=0.002..0.002 rows=1 loops=233)

  • Index Cond: (quebec = 2)
  • Heap Fetches: 233
15. 0.466 0.466 ↑ 1.0 1 233

Index Scan using uniform_golf on whiskey papa_seven (cost=0.28..0.30 rows=1 width=41) (actual time=0.002..0.002 rows=1 loops=233)

  • Index Cond: (quebec = romeo1.delta)
Planning time : 2.333 ms
Execution time : 255.861 ms