explain.depesz.com

PostgreSQL's explain analyze made readable

Result: uPqf

Settings
# exclusive inclusive rows x rows loops node
1. 0.004 1,899.910 ↑ 1.0 10 1

Limit (cost=79,251.990..79,252.090 rows=10 width=44) (actual time=1,899.879..1,899.910 rows=10 loops=1)

2. 0.020 1,899.906 ↑ 4.8 10 1

Unique (cost=79,251.990..79,252.470 rows=48 width=44) (actual time=1,899.878..1,899.906 rows=10 loops=1)

3. 298.163 1,899.886 ↓ 2.0 94 1

Sort (cost=79,251.990..79,252.110 rows=48 width=44) (actual time=1,899.877..1,899.886 rows=94 loops=1)

  • Sort Key: (((juliet_india1.six_mike ->> 'hotel'::text))::double precision) DESC, (lima_sierra(kilo5.lima_tango, 'uniform_romeo'::character varying)), kilo2.xray_india
  • Sort Method: external sort Disk: 10328kB
4. 184.479 1,601.723 ↓ 5,237.8 251,412 1

Nested Loop (cost=6.090..79,250.650 rows=48 width=44) (actual time=5.332..1,601.723 rows=251,412 loops=1)

  • Join Filter: (kilo2.quebec_seven = quebec_sierra3.romeo_lima)
5. 237.354 830.214 ↓ 1,677.2 58,703 1

Nested Loop Left Join (cost=5.520..77,250.390 rows=35 width=55) (actual time=5.184..830.214 rows=58,703 loops=1)

  • Join Filter: ((uniform_delta0.juliet_victor = kilo5.juliet_victor) AND (kilo2.xray_india = kilo5.xray_india))
  • Rows Removed by Join Filter: 1761073
6. 7.489 534.157 ↓ 1,677.2 58,703 1

Nested Loop (cost=1.150..77,202.580 rows=35 width=52) (actual time=5.111..534.157 rows=58,703 loops=1)

7. 0.021 0.021 ↓ 3.0 3 1

Seq Scan on oscar_yankee foxtrot (cost=0.000..1.300 rows=1 width=26) (actual time=0.010..0.021 rows=3 loops=1)

  • Filter: (juliet_victor = 1095)
  • Rows Removed by Filter: 51
8. 39.199 526.647 ↓ 559.1 19,568 3

Nested Loop (cost=1.150..77,200.930 rows=35 width=44) (actual time=4.397..175.549 rows=19,568 loops=3)

9. 25.092 252.978 ↓ 166.3 15,631 3

Nested Loop (cost=0.580..75,454.010 rows=94 width=40) (actual time=4.374..84.326 rows=15,631 loops=3)

10. 17.886 17.886 ↓ 100.0 10,000 3

Function Scan on charlie yankee_charlie (cost=0.000..1.000 rows=100 width=32) (actual time=4.108..5.962 rows=10,000 loops=3)

11. 210.000 210.000 ↓ 2.0 2 30,000

Index Scan using romeo_sierra on delta yankee_xray (cost=0.570..754.520 rows=1 width=8) (actual time=0.006..0.007 rows=2 loops=30,000)

  • Index Cond: (xray_india = ((juliet_india1.six_mike ->> 'yankee_foxtrot'::text))::integer)
  • Filter: ((lima_sierra(papa_three_two, yankee_kilo) <= 'lima_xray'::date) AND (lima_sierra(papa_three_two, yankee_kilo) >= 'xray_three'::date))
  • Rows Removed by Filter: 2
12. 234.470 234.470 ↑ 1.0 1 46,894

Index Scan using alpha_romeo on tango three_november (cost=0.570..18.570 rows=1 width=4) (actual time=0.005..0.005 rows=1 loops=46,894)

  • Index Cond: (romeo_lima = kilo2.quebec_seven)
  • Filter: (oscar_india ~~ 'six_kilo'::text)
  • Rows Removed by Filter: 1
13. 58.633 58.703 ↓ 3.3 30 58,703

Materialize (cost=4.370..42.330 rows=9 width=23) (actual time=0.000..0.001 rows=30 loops=58,703)

14. 0.038 0.070 ↓ 3.3 30 1

Bitmap Heap Scan on victor india (cost=4.370..42.280 rows=9 width=23) (actual time=0.043..0.070 rows=30 loops=1)

  • Recheck Cond: (juliet_victor = 1095)
  • Filter: ((lima_tango)::text = ANY ('papa_three_six'::text[]))
  • Heap Blocks: exact=19
15. 0.032 0.032 ↓ 2.8 31 1

Bitmap Index Scan on golf (cost=0.000..4.370 rows=11 width=0) (actual time=0.032..0.032 rows=31 loops=1)

  • Index Cond: (juliet_victor = 1095)
16. 587.030 587.030 ↑ 1.2 4 58,703

Index Scan using three_hotel on five uniform_yankee (cost=0.570..57.080 rows=5 width=4) (actual time=0.006..0.010 rows=4 loops=58,703)

  • Index Cond: (romeo_lima = alpha_quebec4.romeo_lima)
  • Filter: ((lima_romeo ~~ 'sierra'::text) OR (lima_romeo ~~ 'romeo_two'::text))
  • Rows Removed by Filter: 6