Calls
Queries that have the highest frequency of execution
Queries that have the highest frequency of execution
| Query | Exec time | Prop exec time | Calls | Sync io time |
|---|---|---|---|---|
| INSERT INTO "weather_conditions" ("altitude_m","bmp_temperature_c","dht_temperature_c","humidity_pct","lighting_lm","luminance_tag","photo_light_mv","pressure_hg","raspi_temp_c","real_altitude_m","scd_co2_ppm","scd_humidity_pct","scd_temperature_c","sealevel_pressure_hg","timestamp") VALUES ($1,$2,$3,$4,$5,$6,$7,$8,$9,$10,$11,$12,$13,$14,$15) | 1.046504 seconds | 1083 | 0 seconds | |
| INSERT INTO "particle_concentrations" ("mass_10p0_ugm3","mass_1p0_ugm3","mass_2p5_ugm3","mass_4p0_ugm3","num_0p5_ncm3","num_10p0_ncm3","num_1p0_ncm3","num_2p5_ncm3","num_4p0_ncm3","size_um","timestamp") VALUES ($1,$2,$3,$4,$5,$6,$7,$8,$9,$10,$11) | 0.312995 seconds | 1083 | 0 seconds | |
| SELECT tableoid, oid, conname, pg_catalog.pg_get_constraintdef(oid) AS consrc, conislocal, convalidated FROM pg_catalog.pg_constraint WHERE conrelid = $1::pg_catalog.oid AND contype = $2 ORDER BY conname | 0.368622 seconds | 1225 | 0 seconds | |
| SELECT t.tableoid, t.oid, t.relname AS indexname, inh.inhparent AS parentidx, pg_catalog.pg_get_indexdef(i.indexrelid) AS indexdef, i.indnkeyatts AS indnkeyatts, i.indnatts AS indnatts, i.indkey, i.indisclustered, i.indisreplident, t.relpages, c.contype, c.conname, c.condeferrable, c.condeferred, c.tableoid AS contableoid, c.oid AS conoid, pg_catalog.pg_get_constraintdef(c.oid, $1) AS condef, (SELECT spcname FROM pg_catalog.pg_tablespace s WHERE s.oid = t.reltablespace) AS tablespace, t.reloptions AS indreloptions, (SELECT pg_catalog.array_agg(attnum ORDER BY attnum) FROM pg_catalog.pg_attribute WHERE attrelid = i.indexrelid AND attstattarget >= $2) AS indstatcols,(SELECT pg_catalog.array_agg(attstattarget ORDER BY attnum) FROM pg_catalog.pg_attribute WHERE attrelid = i.indexrelid AND attstattarget >= $3) AS indstatvals FROM pg_catalog.pg_index i JOIN pg_catalog.pg_class t ON (t.oid = i.indexrelid) JOIN pg_catalog.pg_class t2 ON (t2.oid = i.indrelid) LEFT JOIN pg_catalog.pg_constraint c ON (i.indrelid = c.conrelid AND i.indexrelid = c.conindid AND c.contype IN ($4,$5,$6)) LEFT JOIN pg_catalog.pg_inherits inh ON (inh.inhrelid = indexrelid) WHERE i.indrelid = $7::pg_catalog.oid AND (i.indisvalid OR t2.relkind = $8) AND i.indisready ORDER BY indexname | 0.463200 seconds | 1260 | 0 seconds | |
| SELECT a.attnum, a.attname, a.atttypmod, a.attstattarget, a.attstorage, t.typstorage, a.attnotnull, a.atthasdef, a.attisdropped, a.attlen, a.attalign, a.attislocal, pg_catalog.format_type(t.oid,a.atttypmod) AS atttypname, array_to_string(a.attoptions, $1) AS attoptions, CASE WHEN a.attcollation <> t.typcollation THEN a.attcollation ELSE $2 END AS attcollation, a.attidentity, pg_catalog.array_to_string(ARRAY(SELECT pg_catalog.quote_ident(option_name) || $3 || pg_catalog.quote_literal(option_value) FROM pg_catalog.pg_options_to_table(attfdwoptions) ORDER BY option_name), $4) AS attfdwoptions ,CASE WHEN a.atthasmissing AND NOT a.attisdropped THEN a.attmissingval ELSE $5 END AS attmissingval FROM pg_catalog.pg_attribute a LEFT JOIN pg_catalog.pg_type t ON a.atttypid = t.oid WHERE a.attrelid = $6::pg_catalog.oid AND a.attnum > $7::pg_catalog.int2 ORDER BY a.attnum | 0.500834 seconds | 1281 | 0 seconds | |
| LOCK TABLE "schema_migrations" IN SHARE UPDATE EXCLUSIVE MODE | 4.032127 seconds | 6160 | 0 seconds | |
| COMMIT | 0.020336 seconds | 6160 | 0 seconds | |
| CREATE TABLE IF NOT EXISTS "schema_migrations" ("version" bigint, "inserted_at" timestamp(0), PRIMARY KEY ("version")) | 1.668928 seconds | 6160 | 0 seconds | |
| SELECT s0."version"::bigint FROM "schema_migrations" AS s0 | 0.540280 seconds | 6160 | 0 seconds | |
| BEGIN | 0.027339 seconds | 6161 | 0 seconds |