explain.depesz.com

PostgreSQL's explain analyze made readable

Result: Cwce : Optimization for: plan #TR7u

Settings

Optimization path:

# exclusive inclusive rows x rows loops node
1. 0.000 0.033 ↓ 0.0 0 1

Update on sensor_value (cost=8.86..8,915.28 rows=2,348 width=70) (actual time=0.033..0.033 rows=0 loops=1)

2.          

Initplan (forUpdate)

3. 0.019 0.019 ↑ 1.0 1 1

Index Scan using rs_sensor_rs_type_fk_i on road_station_sensor (cost=0.27..8.29 rows=1 width=5) (actual time=0.018..0.019 rows=1 loops=1)

  • Index Cond: (((road_station_type)::text = 'TMS_STATION'::text) AND (lotju_id = '85'::numeric) AND (publishable = true))
  • Filter: publishable
4. 0.032 0.032 ↓ 0.0 0 1

Index Scan using sensor_value_uk1 on sensor_value (cost=0.56..8,906.98 rows=2,348 width=70) (actual time=0.032..0.032 rows=0 loops=1)

  • Index Cond: ((road_station_sensor_id = $0) AND (road_station_id = '371'::numeric))
Planning time : 0.311 ms
Execution time : 0.096 ms