explain.depesz.com

PostgreSQL's explain analyze made readable

Result: xidg : 123

Settings
# exclusive inclusive rows x rows loops node
1. 0.003 0.431 ↑ 1.0 1 1

Limit (cost=150.58..150.59 rows=1 width=854) (actual time=0.429..0.431 rows=1 loops=1)

2. 0.044 0.428 ↑ 1.0 1 1

Sort (cost=150.58..150.59 rows=1 width=854) (actual time=0.428..0.428 rows=1 loops=1)

  • Sort Key: rrs.priority
  • Sort Method: top-N heapsort Memory: 25kB
3. 0.033 0.384 ↓ 27.0 27 1

Nested Loop Left Join (cost=4.95..150.57 rows=1 width=854) (actual time=0.091..0.384 rows=27 loops=1)

4. 0.081 0.135 ↓ 27.0 27 1

Bitmap Heap Scan on uzgps_routing_route_station rrs (cost=4.67..142.26 rows=1 width=172) (actual time=0.077..0.135 rows=27 loops=1)

  • Recheck Cond: (route_id = 49)
  • Filter: (status = 'A'::bpchar)
  • Heap Blocks: exact=4
5. 0.054 0.054 ↑ 1.9 27 1

Bitmap Index Scan on uzgps_routing_route_station_route_id_idx (cost=0.00..4.67 rows=51 width=0) (actual time=0.054..0.054 rows=27 loops=1)

  • Index Cond: (route_id = 49)
6. 0.216 0.216 ↑ 1.0 1 27

Index Scan using uzgps_routing_station_pkey on uzgps_routing_station rs (cost=0.28..8.30 rows=1 width=682) (actual time=0.008..0.008 rows=1 loops=27)

  • Index Cond: (rrs.station_id = id)
  • Filter: (status = 'A'::bpchar)