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 "power_monitorings" ("current_a","energy_kwh","frequency_hz","power_factor","power_w","timestamp","voltage_v") VALUES ($1,$2,$3,$4,$5,$6,$7) | 2.787934 seconds | 24879 | 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 | 8.598747 seconds | 36415 | 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 | 15.860831 seconds | 37430 | 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 | 12.797142 seconds | 38039 | 0 seconds | |
| SELECT option_value FROM wp_options WHERE option_name = $1 LIMIT $2 | 5.993816 seconds | 86736 | 0 seconds | |
| CREATE TABLE IF NOT EXISTS "schema_migrations" ("version" bigint, "inserted_at" timestamp(0), PRIMARY KEY ("version")) | 53.851889 seconds | 151141 | 0 seconds | |
| SELECT s0."version"::bigint FROM "schema_migrations" AS s0 | 8.108906 seconds | 151141 | 0 seconds | |
| LOCK TABLE "schema_migrations" IN SHARE UPDATE EXCLUSIVE MODE | 119.504443 seconds | 151141 | 0 seconds | |
| COMMIT | 0.504698 seconds | 151146 | 0 seconds | |
| BEGIN | 0.703524 seconds | 151170 | 0 seconds |