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 |
|---|---|---|---|---|
| LOCK TABLE "schema_migrations" IN SHARE UPDATE EXCLUSIVE MODE | 3.571908 seconds | 50.7 | 900 | 0 seconds |
| SELECT t.oid, t.typname, t.typsend, t.typreceive, t.typoutput, t.typinput, coalesce(d.typelem, t.typelem), coalesce(r.rngsubtype, $1), ARRAY ( SELECT a.atttypid FROM pg_attribute AS a WHERE a.attrelid = t.typrelid AND a.attnum > $2 AND NOT a.attisdropped ORDER BY a.attnum ) FROM pg_type AS t LEFT JOIN pg_type AS d ON t.typbasetype = d.oid LEFT JOIN pg_range AS r ON r.rngtypid = t.oid OR (t.typbasetype <> $3 AND r.rngtypid = t.typbasetype) WHERE (t.typrelid = $4) AND (t.typelem = $5 OR NOT EXISTS (SELECT $6 FROM pg_catalog.pg_type s WHERE s.typrelid != $7 AND s.oid = t.typelem)) | 1.446538 seconds | 20.5 | 1 | 0 seconds |
| INSERT INTO "air_pollutions" ("aqi_idx","city_id","co_ugm3","nh3_ugm3","no2_ugm3","no_ugm3","o3_ugm3","pm10_ugm3","pm2_5_ugm3","so2_ugm3","timestamp") VALUES ($1,$2,$3,$4,$5,$6,$7,$8,$9,$10,$11) | 0.409161 seconds | 5.8 | 30 | 0 seconds |
| select register_city( $1 , $2 , $3 , $4 , $5 , $6 , $7 , $8 ) | 0.325474 seconds | 4.6 | 33 | 0 seconds |
| CREATE TABLE IF NOT EXISTS "schema_migrations" ("version" bigint, "inserted_at" timestamp(0), PRIMARY KEY ("version")) | 0.268413 seconds | 3.8 | 900 | 0 seconds |
| SELECT t.oid, t.typname, t.typsend, t.typreceive, t.typoutput, t.typinput, coalesce(d.typelem, t.typelem), coalesce(r.rngsubtype, $1), ARRAY ( SELECT a.atttypid FROM pg_attribute AS a WHERE a.attrelid = t.typrelid AND a.attnum > $2 AND NOT a.attisdropped ORDER BY a.attnum ) FROM pg_type AS t LEFT JOIN pg_type AS d ON t.typbasetype = d.oid LEFT JOIN pg_range AS r ON r.rngtypid = t.oid OR (t.typbasetype <> $3 AND r.rngtypid = t.typbasetype) WHERE (t.typrelid = $4) AND (t.typelem = $5 OR NOT EXISTS (SELECT $6 FROM pg_catalog.pg_type s WHERE s.typrelid != $7 AND s.oid = t.typelem)) | 0.231474 seconds | 3.3 | 1 | 0 seconds |
| INSERT INTO "openweather_maps" ("city_id","clouds_all_pt","description","feels_like_c","ground_level_mb","humidity_pct","icon","ow_temperature_c","pressure_mb","sea_level_mb","temp_max_c","temp_min_c","timestamp","visibility_m","weather_tag","wind_direction_deg","wind_gust_ms","wind_speed_ms") VALUES ($1,$2,$3,$4,$5,$6,$7,$8,$9,$10,$11,$12,$13,$14,$15,$16,$17,$18) | 0.183843 seconds | 2.6 | 22 | 0 seconds |
| INSERT INTO "clock_updates" ("icon","is_night_flag","sky_color_html","timestamp","ya_temperature_c") VALUES ($1,$2,$3,$4,$5) | 0.065145 seconds | 0.9 | 11 | 0 seconds |
| select installed_version from pg_available_extensions where name=$1 | 0.063616 seconds | 0.9 | 16 | 0 seconds |
| INSERT INTO "solar_observations" ("battery_voltage_mv","charge_pct","humidity_pct","lighting_lm","photo_light_mv","sensor_id","temperature_c","timestamp") VALUES ($1,$2,$3,$4,$5,$6,$7,$8) | 0.063080 seconds | 0.9 | 157 | 0 seconds |