Outliers
Queries that have longest execution time in aggregate
Queries that have longest execution time in aggregate
Query | Exec time | Prop exec time | Calls | Sync io time |
---|---|---|---|---|
SELECT "timestamp" AS "time", ground_pressure_gpa / $1 as pk_pressure_hg FROM climate_changes WHERE "timestamp" BETWEEN $2 AND $3 AND city_id = $4 OR -- St. Petersburg city_id = $5 OR -- Vojeykovo city_id = $6 -- Pulkovo ORDER BY 1 | 388.030053 seconds | 1.8 | 4804 | 0 seconds |
CREATE TABLE IF NOT EXISTS "schema_migrations" ("version" bigint, "inserted_at" timestamp(0), PRIMARY KEY ("version")) | 460.816102 seconds | 2.2 | 2171080 | 0 seconds |
COPY public.power_monitorings ("timestamp", voltage_v, current_a, power_w, energy_kwh, frequency_hz, power_factor) TO stdout | 996.721777 seconds | 4.7 | 267 | 0 seconds |
LOCK TABLE "schema_migrations" IN SHARE UPDATE EXCLUSIVE MODE | 1046.645566 seconds | 4.9 | 2171077 | 0 seconds |
SELECT "timestamp" AS "time", AVG( charge_pct ) OVER( ORDER BY timestamp ROWS BETWEEN $1 PRECEDING AND CURRENT ROW ) as avg_charge_pct FROM solar_observations WHERE "timestamp" BETWEEN $2 AND $3 ORDER BY 1 | 1119.500356 seconds | 5.3 | 4735 | 0 seconds |
COPY public.solar_observations ("timestamp", temperature_c, humidity_pct, charge_pct, lighting_lm, battery_voltage_mv, photo_light_mv, sensor_id) TO stdout | 1181.102416 seconds | 5.6 | 267 | 0 seconds |
COPY public.particle_concentrations ("timestamp", mass_1p0_ugm3, mass_2p5_ugm3, mass_4p0_ugm3, mass_10p0_ugm3, num_0p5_ncm3, num_1p0_ncm3, num_2p5_ncm3, num_4p0_ncm3, num_10p0_ncm3, size_um) TO stdout | 1292.170567 seconds | 6.1 | 267 | 0 seconds |
SELECT "timestamp" AS "time", humidity_pct as balcony FROM solar_observations WHERE "timestamp" BETWEEN $1 AND $2 ORDER BY 1 | 1414.150432 seconds | 6.7 | 4908 | 0 seconds |
SELECT "timestamp" AS "time", temperature_c as sol_temperature_c FROM solar_observations WHERE "timestamp" BETWEEN $1 AND $2 AND sensor_id = $3 ORDER BY 1 | 1923.115277 seconds | 9.1 | 4912 | 0 seconds |
SELECT "timestamp" AS "time", lighting_lm as sol_lightning_lm FROM solar_observations WHERE "timestamp" BETWEEN $1 AND $2 AND sensor_id = $3 ORDER BY 1 | 1949.886215 seconds | 9.2 | 4918 | 0 seconds |