-
Global information
- Generated on Wed Oct 22 09:04:06 2025
- Log file: ././A3D-RND-REF/y=2025/m=10/d=21/h=00/m=00/PT1H.log, ..., ././A3D-RND-REF/y=2025/m=10/d=21/h=23/m=00/PT1H.log
- Parsed 346,428 log entries in 3m
- Log start from 2025-10-21 00:00:01 to 2025-10-21 23:59:54
-
Overview
Global Stats
- 16 Number of unique normalized queries
- 111,452 Number of queries
- 37s870ms Total query duration
- 2025-10-21 00:00:01 First query
- 2025-10-21 23:59:54 Last query
- 14 queries/s at 2025-10-21 13:21:03 Query peak
- 37s870ms Total query duration
- 3s540ms Prepare/parse total duration
- 1s961ms Bind total duration
- 32s367ms Execute total duration
- 2 Number of events
- 1 Number of unique normalized events
- 2 Max number of times the same event was reported
- 0 Number of cancellation
- 0 Total number of automatic vacuums
- 206 Total number of automatic analyzes
- 0 Number temporary file
- 0 Max size of temporary file
- 0.00 B Average size of temporary file
- 3,898 Total number of sessions
- 4 sessions at 2025-10-21 09:52:40 Session peak
- 21h23m33s Total duration of sessions
- 19s757ms Average duration of sessions
- 28 Average queries per session
- 9ms Average queries duration per session
- 19s747ms Average idle time per session
- 3,898 Total number of connections
- 5 connections/s at 2025-10-21 22:02:59 Connection peak
- 1 Total number of databases
SQL Traffic
Key values
- 14 queries/s Query Peak
- 2025-10-21 13:21:03 Date
SELECT Traffic
Key values
- 6 queries/s Query Peak
- 2025-10-21 22:03:10 Date
INSERT/UPDATE/DELETE Traffic
Key values
- 6 queries/s Query Peak
- 2025-10-21 13:28:35 Date
Queries duration
Key values
- 37s870ms Total query duration
Prepared queries ratio
Key values
- 0.00 Ratio of bind vs prepare
- 0.00 % Ratio between prepared and "usual" statements
General Activity
↑ Back to the top of the General Activity tableDay Hour Count Min duration Max duration Avg duration Latency Percentile(90) Latency Percentile(95) Latency Percentile(99) Oct 21 00 4,636 0ms 8ms 0ms 24ms 27ms 28ms 01 4,666 0ms 6ms 0ms 25ms 25ms 26ms 02 4,646 0ms 4ms 0ms 24ms 26ms 27ms 03 4,646 0ms 12ms 0ms 25ms 27ms 29ms 04 4,646 0ms 10ms 0ms 24ms 26ms 31ms 05 4,626 0ms 5ms 0ms 24ms 25ms 26ms 06 4,675 0ms 22ms 0ms 26ms 43ms 71ms 07 4,656 0ms 5ms 0ms 24ms 25ms 29ms 08 4,656 0ms 5ms 0ms 23ms 24ms 25ms 09 4,646 0ms 14ms 0ms 25ms 27ms 38ms 10 4,646 0ms 7ms 0ms 24ms 25ms 27ms 11 4,665 0ms 53ms 0ms 26ms 29ms 76ms 12 4,636 0ms 6ms 0ms 24ms 24ms 28ms 13 4,656 0ms 12ms 0ms 25ms 28ms 29ms 14 4,656 0ms 5ms 0ms 24ms 25ms 25ms 15 4,636 0ms 15ms 0ms 24ms 25ms 34ms 16 4,656 0ms 6ms 0ms 25ms 26ms 28ms 17 4,636 0ms 6ms 0ms 25ms 26ms 29ms 18 4,665 0ms 36ms 0ms 33ms 58ms 99ms 19 4,646 0ms 6ms 0ms 24ms 25ms 28ms 20 4,646 0ms 8ms 0ms 23ms 25ms 27ms 21 4,600 0ms 271ms 0ms 26ms 214ms 290ms 22 4,530 0ms 86ms 0ms 26ms 42ms 97ms 23 4,679 0ms 7ms 0ms 23ms 25ms 27ms Day Hour SELECT COPY TO Average Duration Latency Percentile(90) Latency Percentile(95) Latency Percentile(99) Oct 21 00 3 0 0ms 0ms 0ms 0ms 01 3 0 0ms 0ms 0ms 0ms 02 3 0 0ms 0ms 0ms 0ms 03 3 0 0ms 0ms 0ms 0ms 04 3 0 0ms 0ms 0ms 0ms 05 3 0 0ms 0ms 0ms 0ms 06 3 0 0ms 0ms 0ms 1ms 07 3 0 0ms 0ms 0ms 0ms 08 3 0 0ms 0ms 0ms 1ms 09 3 0 0ms 0ms 0ms 0ms 10 3 0 0ms 0ms 0ms 1ms 11 3 0 0ms 0ms 0ms 1ms 12 3 0 0ms 0ms 0ms 0ms 13 3 0 0ms 0ms 0ms 0ms 14 3 0 0ms 0ms 0ms 1ms 15 3 0 1ms 0ms 0ms 1ms 16 3 0 0ms 0ms 0ms 0ms 17 3 0 0ms 0ms 0ms 1ms 18 3 0 0ms 0ms 0ms 0ms 19 3 0 0ms 0ms 0ms 1ms 20 3 0 0ms 0ms 0ms 0ms 21 11 0 11ms 0ms 0ms 1ms 22 10 0 6ms 0ms 0ms 11ms 23 5 0 0ms 0ms 0ms 1ms Day Hour INSERT UPDATE DELETE COPY FROM Average Duration Latency Percentile(90) Latency Percentile(95) Latency Percentile(99) Oct 21 00 479 0 0 0 0ms 1ms 1ms 1ms 01 482 0 0 0 0ms 1ms 1ms 2ms 02 480 0 0 0 0ms 1ms 1ms 2ms 03 480 0 0 0 0ms 1ms 1ms 1ms 04 480 0 0 0 0ms 1ms 1ms 1ms 05 478 0 0 0 0ms 1ms 1ms 3ms 06 483 0 0 0 0ms 1ms 1ms 2ms 07 481 0 0 0 0ms 1ms 1ms 1ms 08 481 0 0 0 0ms 1ms 1ms 1ms 09 480 0 0 0 0ms 1ms 1ms 1ms 10 480 0 0 0 0ms 1ms 1ms 1ms 11 482 0 0 0 0ms 1ms 1ms 1ms 12 479 0 0 0 0ms 1ms 1ms 2ms 13 481 0 0 0 0ms 1ms 1ms 2ms 14 481 0 0 0 0ms 1ms 1ms 1ms 15 479 0 0 0 0ms 1ms 1ms 1ms 16 481 0 0 0 0ms 1ms 1ms 1ms 17 479 0 0 0 0ms 1ms 1ms 2ms 18 482 0 0 0 0ms 1ms 1ms 3ms 19 480 0 0 0 0ms 1ms 1ms 1ms 20 480 0 0 0 0ms 1ms 1ms 1ms 21 474 0 0 0 0ms 1ms 1ms 2ms 22 467 0 0 0 0ms 1ms 1ms 1ms 23 483 0 0 0 0ms 1ms 1ms 1ms Day Hour Prepare Bind Bind/Prepare Percentage of prepare Oct 21 00 806 3,838 4.76 28.02% 01 806 3,862 4.79 27.84% 02 806 3,846 4.77 27.96% 03 806 3,846 4.77 27.96% 04 806 3,846 4.77 27.96% 05 806 3,830 4.75 28.07% 06 811 3,870 4.77 27.96% 07 806 3,854 4.78 27.90% 08 806 3,854 4.78 27.90% 09 806 3,846 4.77 27.96% 10 806 3,846 4.77 27.96% 11 811 3,862 4.76 28.01% 12 806 3,838 4.76 28.02% 13 806 3,854 4.78 27.90% 14 806 3,854 4.78 27.90% 15 806 3,838 4.76 28.02% 16 806 3,854 4.78 27.90% 17 806 3,838 4.76 28.02% 18 811 3,862 4.76 28.01% 19 806 3,846 4.77 27.96% 20 806 3,846 4.77 27.96% 21 809 3,806 4.70 28.34% 22 797 3,748 4.70 28.34% 23 815 3,874 4.75 28.07% Day Hour Count Average / Second Oct 21 00 162 0.04/s 01 162 0.04/s 02 162 0.04/s 03 162 0.04/s 04 162 0.04/s 05 162 0.04/s 06 163 0.05/s 07 162 0.04/s 08 162 0.04/s 09 162 0.04/s 10 162 0.04/s 11 163 0.05/s 12 162 0.04/s 13 162 0.04/s 14 162 0.04/s 15 162 0.04/s 16 162 0.04/s 17 162 0.04/s 18 163 0.05/s 19 162 0.04/s 20 162 0.04/s 21 166 0.05/s 22 164 0.05/s 23 163 0.05/s Day Hour Count Average Duration Average idle time Oct 21 00 162 19s822ms 19s814ms 01 162 19s820ms 19s812ms 02 163 19s818ms 19s810ms 03 161 19s814ms 19s806ms 04 162 19s816ms 19s808ms 05 162 19s816ms 19s809ms 06 163 19s821ms 19s813ms 07 162 19s817ms 19s809ms 08 162 19s820ms 19s812ms 09 163 19s819ms 19s811ms 10 161 19s816ms 19s808ms 11 163 19s819ms 19s810ms 12 162 19s822ms 19s814ms 13 162 19s819ms 19s811ms 14 162 19s823ms 19s815ms 15 162 19s826ms 19s818ms 16 162 19s819ms 19s811ms 17 162 19s819ms 19s811ms 18 163 19s826ms 19s816ms 19 162 19s820ms 19s812ms 20 162 19s820ms 19s813ms 21 166 19s25ms 19s13ms 22 164 19s130ms 19s122ms 23 163 19s815ms 19s808ms -
Connections
Established Connections
Key values
- 5 connections Connection Peak
- 2025-10-21 22:02:59 Date
Connections per database
Key values
- azure_maintenance Main Database
- 3,898 connections Total
Connections per user
Key values
- azuresu Main User
- 3,898 connections Total
-
Sessions
Simultaneous sessions
Key values
- 4 sessions Session Peak
- 2025-10-21 09:52:40 Date
Histogram of session times
Key values
- 3,839 1000-30000ms duration
Sessions per database
Key values
- azure_maintenance Main Database
- 3,898 sessions Total
Sessions per user
Key values
- azuresu Main User
- 3,898 sessions Total
Sessions per host
Key values
- 169.254.128.1 Main Host
- 3,898 sessions Total
-
Temporary Files
Size of temporary files
Key values
- 0 Temp Files size Peak
- Date
Size of temporary files (5 minutes period)
NO DATASET
Number of temporary files
Key values
- 0 per second Temp Files Peak
- Date
Number of temporary files (5 minutes period)
NO DATASET
Temporary Files Activity
↑ Back to the top of the Temporary Files Activity tableDay Hour Count Total size Average size Oct 21 00 0 0 0 01 0 0 0 02 0 0 0 03 0 0 0 04 0 0 0 05 0 0 0 06 0 0 0 07 0 0 0 08 0 0 0 09 0 0 0 10 0 0 0 11 0 0 0 12 0 0 0 13 0 0 0 14 0 0 0 15 0 0 0 16 0 0 0 17 0 0 0 18 0 0 0 19 0 0 0 20 0 0 0 21 0 0 0 22 0 0 0 23 0 0 0 -
Vacuums
Vacuums / Analyzes Distribution
Key values
- 0 sec Highest CPU-cost vacuum
Table
Database - Date
- 0 sec Highest CPU-cost analyze
Table
Database - Date
Average Autovacuum Duration
Key values
- 0 sec Highest CPU-cost vacuum
Table
Database - Date
Analyzes per table
Key values
- public.lsnmover (206) Main table analyzed (database azure_maintenance)
- 206 analyzes Total
Vacuums per table
Key values
- unknown (0) Main table vacuumed on database
- 0 vacuums Total
Tuples removed per table
Key values
- unknown (0) Main table with removed tuples on database
- 0 tuples Total removed
Pages removed per table
Key values
- unknown (0) Main table with removed pages on database unknown
- 0 pages Total removed
Autovacuum Activity
↑ Back to the top of the Autovacuum Activity tableDay Hour VACUUMs ANALYZEs Oct 21 00 0 8 01 0 9 02 0 9 03 0 8 04 0 9 05 0 8 06 0 9 07 0 9 08 0 8 09 0 9 10 0 9 11 0 8 12 0 9 13 0 8 14 0 9 15 0 9 16 0 8 17 0 9 18 0 9 19 0 8 20 0 9 21 0 8 22 0 9 23 0 8 - 0 sec Highest CPU-cost vacuum
-
Locks
Locks by types
Key values
- unknown Main Lock Type
- 0 locks Total
Most frequent waiting queries (N)
Rank Count Total time Min time Max time Avg duration Query NO DATASET
Queries that waited the most
Rank Wait time Query NO DATASET
-
Queries
Queries by type
Key values
- 89 Total read queries
- 69,072 Total write queries
Queries by database
Key values
- azure_maintenance Main database
- 111,452 Requests
- 32s367ms (azure_maintenance)
- Main time consuming database
Queries by user
Key values
- azuresu Main user
- 111,452 Requests
User Request type Count Duration azuresu Total 111,452 32s367ms ddl 11,512 1s946ms insert 11,512 1s809ms others 42,291 5s194ms select 89 246ms tcl 46,048 23s170ms Duration by user
Key values
- 32s367ms (azuresu) Main time consuming user
User Request type Count Duration azuresu Total 111,452 32s367ms ddl 11,512 1s946ms insert 11,512 1s809ms others 42,291 5s194ms select 89 246ms tcl 46,048 23s170ms Queries by host
Key values
- 169.254.128.1 Main host
- 111,446 Requests
- 32s85ms (169.254.128.1)
- Main time consuming host
Queries by application
Key values
- [unknown] Main application
- 111,446 Requests
- 32s85ms ([unknown])
- Main time consuming application
Number of cancelled queries
Key values
- 0 per second Cancelled query Peak
- 2025-10-21 08:22:39 Date
Number of cancelled queries (5 minutes period)
NO DATASET
-
Top Queries
Histogram of query times
Key values
- 99,693 0-1ms duration
Slowest individual queries
Rank Duration Query 1 271ms commit;[ Date: 2025-10-21 21:58:07 - Database: azure_maintenance - User: azuresu - Remote: 169.254.128.1 - Application: [unknown] - Bind query: yes ]
2 183ms DO $pg_availabilityCheck$ BEGIN IF ( SELECT true AS pg_availability_enabled FROM pg_settings WHERE name = 'shared_preload_libraries' AND setting LIKE '%pg_availability%') THEN DROP EXTENSION IF EXISTS "pg_availability"; CREATE extension "pg_availability" WITH schema pg_catalog; END IF; END $pg_availabilityCheck$;[ Date: 2025-10-21 21:50:42 - Database: azure_maintenance - User: azuresu - Remote: [local] - Application: psql ]
3 173ms commit;[ Date: 2025-10-21 21:52:25 - Database: azure_maintenance - User: azuresu - Remote: 169.254.128.1 - Application: [unknown] - Bind query: yes ]
4 109ms SELECT version(); SELECT ns.nspname, t.oid, t.typname, t.typtype, t.typnotnull, t.elemtypoid FROM ( -- Arrays have typtype=b - this subquery identifies them by their typreceive and converts their typtype to a -- We first do this for the type (innerest-most subquery), and then for its element type -- This also returns the array element, range subtype and domain base type as elemtypoid SELECT typ.oid, typ.typnamespace, typ.typname, typ.typtype, typ.typrelid, typ.typnotnull, typ.relkind, elemtyp.oid AS elemtypoid, elemtyp.typname AS elemtypname, elemcls.relkind AS elemrelkind, CASE WHEN elemproc.proname = 'array_recv' THEN 'a' ELSE elemtyp.typtype END AS elemtyptype FROM ( SELECT typ.oid, typnamespace, typname, typrelid, typnotnull, relkind, typelem AS elemoid, CASE WHEN proc.proname = 'array_recv' THEN 'a' ELSE typ.typtype END AS typtype, CASE WHEN proc.proname = 'array_recv' THEN typ.typelem WHEN typ.typtype = 'r' THEN rngsubtype WHEN typ.typtype = 'm' THEN ( SELECT rngtypid FROM pg_range WHERE rngmultitypid = typ.oid) WHEN typ.typtype = 'd' THEN typ.typbasetype END AS elemtypoid FROM pg_type AS typ LEFT JOIN pg_class AS cls ON (cls.oid = typ.typrelid) LEFT JOIN pg_proc AS proc ON proc.oid = typ.typreceive LEFT JOIN pg_range ON (pg_range.rngtypid = typ.oid)) AS typ LEFT JOIN pg_type AS elemtyp ON elemtyp.oid = elemtypoid LEFT JOIN pg_class AS elemcls ON (elemcls.oid = elemtyp.typrelid) LEFT JOIN pg_proc AS elemproc ON elemproc.oid = elemtyp.typreceive) AS t JOIN pg_namespace AS ns ON (ns.oid = typnamespace) WHERE typtype IN ('b', 'r', 'm', 'e', 'd') OR -- Base, range, multirange, enum, domain (typtype = 'c' AND relkind = 'c') OR -- User-defined free-standing composites (not table composites) by default (typtype = 'p' AND typname IN ('record', 'void')) OR -- Some special supported pseudo-types (typtype = 'a' AND ( -- Array of... elemtyptype IN ('b', 'r', 'm', 'e', 'd') OR -- Array of base, range, multirange, enum, domain (elemtyptype = 'p' AND elemtypname IN ('record', 'void')) OR -- Arrays of special supported pseudo-types (elemtyptype = 'c' AND elemrelkind = 'c') -- Array of user-defined free-standing composites (not table composites) by default )) ORDER BY CASE WHEN typtype IN ('b', 'e', 'p') THEN 0 -- First base types, enums, pseudo-types WHEN typtype = 'r' THEN 1 -- Ranges after WHEN typtype = 'm' THEN 2 -- Multiranges after WHEN typtype = 'c' THEN 3 -- Composites after WHEN typtype = 'd' AND elemtyptype <> 'a' THEN 4 -- Domains over non-arrays after WHEN typtype = 'a' THEN 5 -- Arrays after WHEN typtype = 'd' AND elemtyptype = 'a' THEN 6 -- Domains over arrays last END; -- Load field definitions for (free-standing) composite types SELECT typ.oid, att.attname, att.atttypid FROM pg_type AS typ JOIN pg_namespace AS ns ON (ns.oid = typ.typnamespace) JOIN pg_class AS cls ON (cls.oid = typ.typrelid) JOIN pg_attribute AS att ON (att.attrelid = typ.typrelid) WHERE (typ.typtype = 'c' AND cls.relkind = 'c') AND attnum > 0 AND -- Don't load system attributes NOT attisdropped ORDER BY typ.oid, att.attnum; -- Load enum fields SELECT pg_type.oid, enumlabel FROM pg_enum JOIN pg_type ON pg_type.oid = enumtypid ORDER BY oid, enumsortorder;[ Date: 2025-10-21 21:44:38 - Database: azure_maintenance - User: azuresu - Remote: 169.254.128.1 - Application: [unknown] ]
5 86ms DO $pg_availabilityCheck$ BEGIN IF ( SELECT true AS pg_availability_enabled FROM pg_settings WHERE name = 'shared_preload_libraries' AND setting LIKE '%pg_availability%') THEN DROP EXTENSION IF EXISTS "pg_availability"; CREATE extension "pg_availability" WITH schema pg_catalog; END IF; END $pg_availabilityCheck$;[ Date: 2025-10-21 22:02:59 - Database: azure_maintenance - User: azuresu - Remote: [local] - Application: psql ]
6 53ms commit;[ Date: 2025-10-21 11:47:48 - Database: azure_maintenance - User: azuresu - Remote: 169.254.128.1 - Application: [unknown] - Bind query: yes ]
7 46ms SELECT version(); SELECT ns.nspname, t.oid, t.typname, t.typtype, t.typnotnull, t.elemtypoid FROM ( -- Arrays have typtype=b - this subquery identifies them by their typreceive and converts their typtype to a -- We first do this for the type (innerest-most subquery), and then for its element type -- This also returns the array element, range subtype and domain base type as elemtypoid SELECT typ.oid, typ.typnamespace, typ.typname, typ.typtype, typ.typrelid, typ.typnotnull, typ.relkind, elemtyp.oid AS elemtypoid, elemtyp.typname AS elemtypname, elemcls.relkind AS elemrelkind, CASE WHEN elemproc.proname = 'array_recv' THEN 'a' ELSE elemtyp.typtype END AS elemtyptype FROM ( SELECT typ.oid, typnamespace, typname, typrelid, typnotnull, relkind, typelem AS elemoid, CASE WHEN proc.proname = 'array_recv' THEN 'a' ELSE typ.typtype END AS typtype, CASE WHEN proc.proname = 'array_recv' THEN typ.typelem WHEN typ.typtype = 'r' THEN rngsubtype WHEN typ.typtype = 'm' THEN ( SELECT rngtypid FROM pg_range WHERE rngmultitypid = typ.oid) WHEN typ.typtype = 'd' THEN typ.typbasetype END AS elemtypoid FROM pg_type AS typ LEFT JOIN pg_class AS cls ON (cls.oid = typ.typrelid) LEFT JOIN pg_proc AS proc ON proc.oid = typ.typreceive LEFT JOIN pg_range ON (pg_range.rngtypid = typ.oid)) AS typ LEFT JOIN pg_type AS elemtyp ON elemtyp.oid = elemtypoid LEFT JOIN pg_class AS elemcls ON (elemcls.oid = elemtyp.typrelid) LEFT JOIN pg_proc AS elemproc ON elemproc.oid = elemtyp.typreceive) AS t JOIN pg_namespace AS ns ON (ns.oid = typnamespace) WHERE typtype IN ('b', 'r', 'm', 'e', 'd') OR -- Base, range, multirange, enum, domain (typtype = 'c' AND relkind = 'c') OR -- User-defined free-standing composites (not table composites) by default (typtype = 'p' AND typname IN ('record', 'void')) OR -- Some special supported pseudo-types (typtype = 'a' AND ( -- Array of... elemtyptype IN ('b', 'r', 'm', 'e', 'd') OR -- Array of base, range, multirange, enum, domain (elemtyptype = 'p' AND elemtypname IN ('record', 'void')) OR -- Arrays of special supported pseudo-types (elemtyptype = 'c' AND elemrelkind = 'c') -- Array of user-defined free-standing composites (not table composites) by default )) ORDER BY CASE WHEN typtype IN ('b', 'e', 'p') THEN 0 -- First base types, enums, pseudo-types WHEN typtype = 'r' THEN 1 -- Ranges after WHEN typtype = 'm' THEN 2 -- Multiranges after WHEN typtype = 'c' THEN 3 -- Composites after WHEN typtype = 'd' AND elemtyptype <> 'a' THEN 4 -- Domains over non-arrays after WHEN typtype = 'a' THEN 5 -- Arrays after WHEN typtype = 'd' AND elemtyptype = 'a' THEN 6 -- Domains over arrays last END; -- Load field definitions for (free-standing) composite types SELECT typ.oid, att.attname, att.atttypid FROM pg_type AS typ JOIN pg_namespace AS ns ON (ns.oid = typ.typnamespace) JOIN pg_class AS cls ON (cls.oid = typ.typrelid) JOIN pg_attribute AS att ON (att.attrelid = typ.typrelid) WHERE (typ.typtype = 'c' AND cls.relkind = 'c') AND attnum > 0 AND -- Don't load system attributes NOT attisdropped ORDER BY typ.oid, att.attnum; -- Load enum fields SELECT pg_type.oid, enumlabel FROM pg_enum JOIN pg_type ON pg_type.oid = enumtypid ORDER BY oid, enumsortorder;[ Date: 2025-10-21 22:03:09 - Database: azure_maintenance - User: azuresu - Remote: 169.254.128.1 - Application: [unknown] ]
8 36ms commit;[ Date: 2025-10-21 18:21:58 - Database: azure_maintenance - User: azuresu - Remote: 169.254.128.1 - Application: [unknown] - Bind query: yes ]
9 34ms commit;[ Date: 2025-10-21 18:18:36 - Database: azure_maintenance - User: azuresu - Remote: 169.254.128.1 - Application: [unknown] - Bind query: yes ]
10 31ms commit;[ Date: 2025-10-21 18:18:43 - Database: azure_maintenance - User: azuresu - Remote: 169.254.128.1 - Application: [unknown] - Bind query: yes ]
11 26ms commit;[ Date: 2025-10-21 21:52:10 - Database: azure_maintenance - User: azuresu - Remote: 169.254.128.1 - Application: [unknown] - Bind query: yes ]
12 25ms commit;[ Date: 2025-10-21 18:23:34 - Database: azure_maintenance - User: azuresu - Remote: 169.254.128.1 - Application: [unknown] - Bind query: yes ]
13 22ms commit;[ Date: 2025-10-21 06:22:38 - Database: azure_maintenance - User: azuresu - Remote: 169.254.128.1 - Application: [unknown] - Bind query: yes ]
14 20ms commit;[ Date: 2025-10-21 06:51:01 - Database: azure_maintenance - User: azuresu - Remote: 169.254.128.1 - Application: [unknown] - Bind query: yes ]
15 20ms commit;[ Date: 2025-10-21 22:00:20 - Database: azure_maintenance - User: azuresu - Remote: 169.254.128.1 - Application: [unknown] - Bind query: yes ]
16 20ms commit;[ Date: 2025-10-21 06:50:31 - Database: azure_maintenance - User: azuresu - Remote: 169.254.128.1 - Application: [unknown] - Bind query: yes ]
17 20ms commit;[ Date: 2025-10-21 18:19:28 - Database: azure_maintenance - User: azuresu - Remote: 169.254.128.1 - Application: [unknown] - Bind query: yes ]
18 19ms commit;[ Date: 2025-10-21 18:23:56 - Database: azure_maintenance - User: azuresu - Remote: 169.254.128.1 - Application: [unknown] - Bind query: yes ]
19 19ms commit;[ Date: 2025-10-21 18:23:49 - Database: azure_maintenance - User: azuresu - Remote: 169.254.128.1 - Application: [unknown] - Bind query: yes ]
20 18ms commit;[ Date: 2025-10-21 18:18:28 - Database: azure_maintenance - User: azuresu - Remote: 169.254.128.1 - Application: [unknown] - Bind query: yes ]
Time consuming queries (N)
Rank Total duration Times executed Min duration Max duration Avg duration Query 1 22s888ms 23,024 0ms 271ms 0ms commit;Times Reported Time consuming queries #1
Day Hour Count Duration Avg duration Oct 21 02 958 923ms 0ms 03 964 926ms 0ms 04 960 913ms 0ms 05 960 957ms 0ms 06 960 923ms 0ms 07 956 912ms 0ms 08 966 986ms 1ms 09 962 913ms 0ms 10 962 898ms 0ms 11 960 926ms 0ms 12 960 934ms 0ms 13 964 1s 1ms 14 958 904ms 0ms 15 962 942ms 0ms 16 962 901ms 0ms 17 958 914ms 0ms 18 962 913ms 0ms 19 958 931ms 0ms 20 964 1s151ms 1ms 21 960 922ms 0ms 22 960 895ms 0ms 23 948 1s367ms 1ms 00 934 920ms 0ms 01 966 907ms 0ms [ User: azuresu - Total duration: 22s888ms - Times executed: 23024 ]
[ Application: [unknown] - Total duration: 22s888ms - Times executed: 23024 ]
-
commit;
Date: 2025-10-21 21:58:07 Duration: 271ms Database: azure_maintenance User: azuresu Remote: 169.254.128.1 Application: [unknown] Bind query: yes
-
commit;
Date: 2025-10-21 21:52:25 Duration: 173ms Database: azure_maintenance User: azuresu Remote: 169.254.128.1 Application: [unknown] Bind query: yes
-
commit;
Date: 2025-10-21 11:47:48 Duration: 53ms Database: azure_maintenance User: azuresu Remote: 169.254.128.1 Application: [unknown] Bind query: yes
2 4s511ms 19,184 0ms 14ms 0ms set session authorization default; reset all; close "..." *; select pg_advisory_unlock_all(); discard sequences; discard temp;Times Reported Time consuming queries #2
Day Hour Count Duration Avg duration Oct 21 02 798 185ms 0ms 03 804 187ms 0ms 04 800 193ms 0ms 05 800 189ms 0ms 06 800 187ms 0ms 07 796 188ms 0ms 08 805 193ms 0ms 09 802 196ms 0ms 10 802 185ms 0ms 11 800 205ms 0ms 12 800 190ms 0ms 13 803 185ms 0ms 14 798 186ms 0ms 15 802 188ms 0ms 16 802 188ms 0ms 17 798 184ms 0ms 18 802 190ms 0ms 19 798 190ms 0ms 20 803 189ms 0ms 21 800 189ms 0ms 22 800 189ms 0ms 23 789 191ms 0ms 00 777 164ms 0ms 01 805 167ms 0ms [ User: azuresu - Total duration: 4s511ms - Times executed: 19184 ]
[ Application: [unknown] - Total duration: 4s511ms - Times executed: 19184 ]
-
SET SESSION AUTHORIZATION DEFAULT; RESET ALL; CLOSE ALL; UNLISTEN *; SELECT pg_advisory_unlock_all(); DISCARD SEQUENCES; DISCARD TEMP;
Date: 2025-10-21 09:40:19 Duration: 14ms Database: azure_maintenance User: azuresu Remote: 169.254.128.1 Application: [unknown]
-
SET SESSION AUTHORIZATION DEFAULT; RESET ALL; CLOSE ALL; UNLISTEN *; SELECT pg_advisory_unlock_all(); DISCARD SEQUENCES; DISCARD TEMP;
Date: 2025-10-21 21:50:47 Duration: 6ms Database: azure_maintenance User: azuresu Remote: 169.254.128.1 Application: [unknown]
-
SET SESSION AUTHORIZATION DEFAULT; RESET ALL; CLOSE ALL; UNLISTEN *; SELECT pg_advisory_unlock_all(); DISCARD SEQUENCES; DISCARD TEMP;
Date: 2025-10-21 07:25:32 Duration: 5ms Database: azure_maintenance User: azuresu Remote: 169.254.128.1 Application: [unknown]
3 1s946ms 11,512 0ms 3ms 0ms create table if not exists public.lsnmover ( single_row_id bool default true, id bigint, update_time timestamp default now(), constraint ensure_one_row check (single_row_id), constraint lsnmover_pk primary key (single_row_id) );Times Reported Time consuming queries #3
Day Hour Count Duration Avg duration Oct 21 02 479 80ms 0ms 03 482 84ms 0ms 04 480 80ms 0ms 05 480 76ms 0ms 06 480 76ms 0ms 07 478 75ms 0ms 08 483 105ms 0ms 09 481 85ms 0ms 10 481 82ms 0ms 11 480 75ms 0ms 12 480 83ms 0ms 13 482 82ms 0ms 14 479 81ms 0ms 15 481 77ms 0ms 16 481 80ms 0ms 17 479 77ms 0ms 18 481 78ms 0ms 19 479 80ms 0ms 20 482 99ms 0ms 21 480 75ms 0ms 22 480 85ms 0ms 23 474 81ms 0ms 00 467 69ms 0ms 01 483 69ms 0ms [ User: azuresu - Total duration: 1s946ms - Times executed: 11512 ]
[ Application: [unknown] - Total duration: 1s946ms - Times executed: 11512 ]
-
create table if not exists public.lsnmover ( single_row_id bool default true, id bigint, update_time timestamp default now(), constraint ensure_one_row CHECK (single_row_id), constraint lsnmover_pk primary key (single_row_id) );
Date: 2025-10-21 12:40:20 Duration: 3ms Database: azure_maintenance User: azuresu Remote: 169.254.128.1 Application: [unknown] Bind query: yes
-
create table if not exists public.lsnmover ( single_row_id bool default true, id bigint, update_time timestamp default now(), constraint ensure_one_row CHECK (single_row_id), constraint lsnmover_pk primary key (single_row_id) );
Date: 2025-10-21 10:44:24 Duration: 3ms Database: azure_maintenance User: azuresu Remote: 169.254.128.1 Application: [unknown] Bind query: yes
-
create table if not exists public.lsnmover ( single_row_id bool default true, id bigint, update_time timestamp default now(), constraint ensure_one_row CHECK (single_row_id), constraint lsnmover_pk primary key (single_row_id) );
Date: 2025-10-21 14:20:21 Duration: 3ms Database: azure_maintenance User: azuresu Remote: 169.254.128.1 Application: [unknown] Bind query: yes
4 1s809ms 11,512 0ms 4ms 0ms insert into public.lsnmover (id, update_time) select ?, now() on conflict on constraint lsnmover_pk do update set id = public.lsnmover.id + ?, update_time = now();Times Reported Time consuming queries #4
Day Hour Count Duration Avg duration Oct 21 02 479 72ms 0ms 03 482 77ms 0ms 04 480 78ms 0ms 05 480 73ms 0ms 06 480 74ms 0ms 07 478 81ms 0ms 08 483 86ms 0ms 09 481 75ms 0ms 10 481 72ms 0ms 11 480 70ms 0ms 12 480 74ms 0ms 13 482 71ms 0ms 14 479 76ms 0ms 15 481 74ms 0ms 16 481 72ms 0ms 17 479 71ms 0ms 18 481 74ms 0ms 19 479 77ms 0ms 20 482 88ms 0ms 21 480 73ms 0ms 22 480 76ms 0ms 23 474 80ms 0ms 00 467 66ms 0ms 01 483 69ms 0ms [ User: azuresu - Total duration: 1s809ms - Times executed: 11512 ]
[ Application: [unknown] - Total duration: 1s809ms - Times executed: 11512 ]
-
insert into public.lsnmover (id, update_time) select 1, now() on conflict on constraint lsnmover_pk do update set id = public.lsnmover.id + 1, update_time = now();
Date: 2025-10-21 21:50:47 Duration: 4ms Database: azure_maintenance User: azuresu Remote: 169.254.128.1 Application: [unknown] Bind query: yes
-
insert into public.lsnmover (id, update_time) select 1, now() on conflict on constraint lsnmover_pk do update set id = public.lsnmover.id + 1, update_time = now();
Date: 2025-10-21 05:26:00 Duration: 4ms Database: azure_maintenance User: azuresu Remote: 169.254.128.1 Application: [unknown] Bind query: yes
-
insert into public.lsnmover (id, update_time) select 1, now() on conflict on constraint lsnmover_pk do update set id = public.lsnmover.id + 1, update_time = now();
Date: 2025-10-21 02:27:09 Duration: 2ms Database: azure_maintenance User: azuresu Remote: 169.254.128.1 Application: [unknown] Bind query: yes
5 409ms 23,024 0ms 5ms 0ms set transaction read write;Times Reported Time consuming queries #5
Day Hour Count Duration Avg duration Oct 21 02 958 23ms 0ms 03 964 20ms 0ms 04 960 17ms 0ms 05 960 14ms 0ms 06 960 17ms 0ms 07 956 16ms 0ms 08 966 18ms 0ms 09 962 17ms 0ms 10 962 18ms 0ms 11 960 17ms 0ms 12 960 13ms 0ms 13 964 15ms 0ms 14 958 16ms 0ms 15 962 20ms 0ms 16 962 16ms 0ms 17 958 16ms 0ms 18 962 16ms 0ms 19 958 19ms 0ms 20 964 17ms 0ms 21 960 15ms 0ms 22 960 15ms 0ms 23 948 15ms 0ms 00 934 12ms 0ms 01 966 13ms 0ms [ User: azuresu - Total duration: 409ms - Times executed: 23024 ]
[ Application: [unknown] - Total duration: 409ms - Times executed: 23024 ]
-
set transaction read write;
Date: 2025-10-21 00:42:13 Duration: 5ms Database: azure_maintenance User: azuresu Remote: 169.254.128.1 Application: [unknown] Bind query: yes
-
set transaction read write;
Date: 2025-10-21 13:03:58 Duration: 3ms Database: azure_maintenance User: azuresu Remote: 169.254.128.1 Application: [unknown] Bind query: yes
-
set transaction read write;
Date: 2025-10-21 17:02:30 Duration: 1ms Database: azure_maintenance User: azuresu Remote: 169.254.128.1 Application: [unknown] Bind query: yes
6 282ms 23,024 0ms 2ms 0ms begin;Times Reported Time consuming queries #6
Day Hour Count Duration Avg duration Oct 21 02 958 11ms 0ms 03 964 12ms 0ms 04 960 11ms 0ms 05 960 11ms 0ms 06 960 11ms 0ms 07 956 11ms 0ms 08 966 12ms 0ms 09 962 10ms 0ms 10 962 11ms 0ms 11 960 12ms 0ms 12 960 11ms 0ms 13 964 12ms 0ms 14 958 13ms 0ms 15 962 13ms 0ms 16 962 12ms 0ms 17 958 9ms 0ms 18 962 12ms 0ms 19 958 12ms 0ms 20 964 12ms 0ms 21 960 13ms 0ms 22 960 12ms 0ms 23 948 11ms 0ms 00 934 8ms 0ms 01 966 9ms 0ms [ User: azuresu - Total duration: 282ms - Times executed: 23024 ]
[ Application: [unknown] - Total duration: 282ms - Times executed: 23024 ]
-
begin;
Date: 2025-10-21 19:59:47 Duration: 2ms Database: azure_maintenance User: azuresu Remote: 169.254.128.1 Application: [unknown] Bind query: yes
-
begin;
Date: 2025-10-21 12:13:46 Duration: 1ms Database: azure_maintenance User: azuresu Remote: 169.254.128.1 Application: [unknown] Bind query: yes
-
begin;
Date: 2025-10-21 13:03:58 Duration: 0ms Database: azure_maintenance User: azuresu Remote: 169.254.128.1 Application: [unknown] Bind query: yes
7 269ms 2 86ms 183ms 134ms do $pg_availabilitycheck$ begin if ( select true as pg_availability_enabled from pg_settings where name = ? and setting like ?) then drop extension if exists "pg_availability"; create extension "pg_availability" with schema pg_catalog; end if; end $pg_availabilitycheck$;Times Reported Time consuming queries #7
Day Hour Count Duration Avg duration Oct 21 23 1 183ms 183ms 00 1 86ms 86ms [ User: azuresu - Total duration: 269ms - Times executed: 2 ]
[ Application: psql - Total duration: 269ms - Times executed: 2 ]
-
DO $pg_availabilityCheck$ BEGIN IF ( SELECT true AS pg_availability_enabled FROM pg_settings WHERE name = 'shared_preload_libraries' AND setting LIKE '%pg_availability%') THEN DROP EXTENSION IF EXISTS "pg_availability"; CREATE extension "pg_availability" WITH schema pg_catalog; END IF; END $pg_availabilityCheck$;
Date: 2025-10-21 21:50:42 Duration: 183ms Database: azure_maintenance User: azuresu Remote: [local] Application: psql
-
DO $pg_availabilityCheck$ BEGIN IF ( SELECT true AS pg_availability_enabled FROM pg_settings WHERE name = 'shared_preload_libraries' AND setting LIKE '%pg_availability%') THEN DROP EXTENSION IF EXISTS "pg_availability"; CREATE extension "pg_availability" WITH schema pg_catalog; END IF; END $pg_availabilityCheck$;
Date: 2025-10-21 22:02:59 Duration: 86ms Database: azure_maintenance User: azuresu Remote: [local] Application: psql
8 174ms 4 8ms 109ms 43ms select version(); select ns.nspname, t.oid, t.typname, t.typtype, t.typnotnull, t.elemtypoid from ( select typ.oid, typ.typnamespace, typ.typname, typ.typtype, typ.typrelid, typ.typnotnull, typ.relkind, elemtyp.oid as elemtypoid, elemtyp.typname as elemtypname, elemcls.relkind as elemrelkind, case when elemproc.proname = ? then ? else elemtyp.typtype end as elemtyptype from ( select typ.oid, typnamespace, typname, typrelid, typnotnull, relkind, typelem as elemoid, case when proc.proname = ? then ? else typ.typtype end as typtype, case when proc.proname = ? then typ.typelem when typ.typtype = ? then rngsubtype when typ.typtype = ? then ( select rngtypid from pg_range where rngmultitypid = typ.oid) when typ.typtype = ? then typ.typbasetype end as elemtypoid from pg_type as typ left join pg_class as cls on (cls.oid = typ.typrelid) left join pg_proc as proc on proc.oid = typ.typreceive left join pg_range on (pg_range.rngtypid = typ.oid)) as typ left join pg_type as elemtyp on elemtyp.oid = elemtypoid left join pg_class as elemcls on (elemcls.oid = elemtyp.typrelid) left join pg_proc as elemproc on elemproc.oid = elemtyp.typreceive) as t join pg_namespace as ns on (ns.oid = typnamespace) where typtype in (...) or (typtype = ? and relkind = ?) or (typtype = ? and typname in (...)) or (typtype = ? and (elemtyptype in (...) or (elemtyptype = ? and elemtypname in (...)) or (elemtyptype = ? and elemrelkind = ?))) order by case when typtype in (...) then ? when typtype = ? then ? when typtype = ? then ? when typtype = ? then ? when typtype = ? and elemtyptype <> ? then ? when typtype = ? then ? when typtype = ? and elemtyptype = ? then ? end; select typ.oid, att.attname, att.atttypid from pg_type as typ join pg_namespace as ns on (ns.oid = typ.typnamespace) join pg_class as cls on (cls.oid = typ.typrelid) join pg_attribute as att on (att.attrelid = typ.typrelid) where (typ.typtype = ? and cls.relkind = ?) and attnum > ? and not attisdropped order by typ.oid, att.attnum; select pg_type.oid, enumlabel from pg_enum join pg_type on pg_type.oid = enumtypid order by oid, enumsortorder;Times Reported Time consuming queries #8
Day Hour Count Duration Avg duration Oct 21 23 2 119ms 59ms 00 2 54ms 27ms [ User: azuresu - Total duration: 174ms - Times executed: 4 ]
[ Application: [unknown] - Total duration: 174ms - Times executed: 4 ]
-
SELECT version(); SELECT ns.nspname, t.oid, t.typname, t.typtype, t.typnotnull, t.elemtypoid FROM ( -- Arrays have typtype=b - this subquery identifies them by their typreceive and converts their typtype to a -- We first do this for the type (innerest-most subquery), and then for its element type -- This also returns the array element, range subtype and domain base type as elemtypoid SELECT typ.oid, typ.typnamespace, typ.typname, typ.typtype, typ.typrelid, typ.typnotnull, typ.relkind, elemtyp.oid AS elemtypoid, elemtyp.typname AS elemtypname, elemcls.relkind AS elemrelkind, CASE WHEN elemproc.proname = 'array_recv' THEN 'a' ELSE elemtyp.typtype END AS elemtyptype FROM ( SELECT typ.oid, typnamespace, typname, typrelid, typnotnull, relkind, typelem AS elemoid, CASE WHEN proc.proname = 'array_recv' THEN 'a' ELSE typ.typtype END AS typtype, CASE WHEN proc.proname = 'array_recv' THEN typ.typelem WHEN typ.typtype = 'r' THEN rngsubtype WHEN typ.typtype = 'm' THEN ( SELECT rngtypid FROM pg_range WHERE rngmultitypid = typ.oid) WHEN typ.typtype = 'd' THEN typ.typbasetype END AS elemtypoid FROM pg_type AS typ LEFT JOIN pg_class AS cls ON (cls.oid = typ.typrelid) LEFT JOIN pg_proc AS proc ON proc.oid = typ.typreceive LEFT JOIN pg_range ON (pg_range.rngtypid = typ.oid)) AS typ LEFT JOIN pg_type AS elemtyp ON elemtyp.oid = elemtypoid LEFT JOIN pg_class AS elemcls ON (elemcls.oid = elemtyp.typrelid) LEFT JOIN pg_proc AS elemproc ON elemproc.oid = elemtyp.typreceive) AS t JOIN pg_namespace AS ns ON (ns.oid = typnamespace) WHERE typtype IN ('b', 'r', 'm', 'e', 'd') OR -- Base, range, multirange, enum, domain (typtype = 'c' AND relkind = 'c') OR -- User-defined free-standing composites (not table composites) by default (typtype = 'p' AND typname IN ('record', 'void')) OR -- Some special supported pseudo-types (typtype = 'a' AND ( -- Array of... elemtyptype IN ('b', 'r', 'm', 'e', 'd') OR -- Array of base, range, multirange, enum, domain (elemtyptype = 'p' AND elemtypname IN ('record', 'void')) OR -- Arrays of special supported pseudo-types (elemtyptype = 'c' AND elemrelkind = 'c') -- Array of user-defined free-standing composites (not table composites) by default )) ORDER BY CASE WHEN typtype IN ('b', 'e', 'p') THEN 0 -- First base types, enums, pseudo-types WHEN typtype = 'r' THEN 1 -- Ranges after WHEN typtype = 'm' THEN 2 -- Multiranges after WHEN typtype = 'c' THEN 3 -- Composites after WHEN typtype = 'd' AND elemtyptype <> 'a' THEN 4 -- Domains over non-arrays after WHEN typtype = 'a' THEN 5 -- Arrays after WHEN typtype = 'd' AND elemtyptype = 'a' THEN 6 -- Domains over arrays last END; -- Load field definitions for (free-standing) composite types SELECT typ.oid, att.attname, att.atttypid FROM pg_type AS typ JOIN pg_namespace AS ns ON (ns.oid = typ.typnamespace) JOIN pg_class AS cls ON (cls.oid = typ.typrelid) JOIN pg_attribute AS att ON (att.attrelid = typ.typrelid) WHERE (typ.typtype = 'c' AND cls.relkind = 'c') AND attnum > 0 AND -- Don't load system attributes NOT attisdropped ORDER BY typ.oid, att.attnum; -- Load enum fields SELECT pg_type.oid, enumlabel FROM pg_enum JOIN pg_type ON pg_type.oid = enumtypid ORDER BY oid, enumsortorder;
Date: 2025-10-21 21:44:38 Duration: 109ms Database: azure_maintenance User: azuresu Remote: 169.254.128.1 Application: [unknown]
-
SELECT version(); SELECT ns.nspname, t.oid, t.typname, t.typtype, t.typnotnull, t.elemtypoid FROM ( -- Arrays have typtype=b - this subquery identifies them by their typreceive and converts their typtype to a -- We first do this for the type (innerest-most subquery), and then for its element type -- This also returns the array element, range subtype and domain base type as elemtypoid SELECT typ.oid, typ.typnamespace, typ.typname, typ.typtype, typ.typrelid, typ.typnotnull, typ.relkind, elemtyp.oid AS elemtypoid, elemtyp.typname AS elemtypname, elemcls.relkind AS elemrelkind, CASE WHEN elemproc.proname = 'array_recv' THEN 'a' ELSE elemtyp.typtype END AS elemtyptype FROM ( SELECT typ.oid, typnamespace, typname, typrelid, typnotnull, relkind, typelem AS elemoid, CASE WHEN proc.proname = 'array_recv' THEN 'a' ELSE typ.typtype END AS typtype, CASE WHEN proc.proname = 'array_recv' THEN typ.typelem WHEN typ.typtype = 'r' THEN rngsubtype WHEN typ.typtype = 'm' THEN ( SELECT rngtypid FROM pg_range WHERE rngmultitypid = typ.oid) WHEN typ.typtype = 'd' THEN typ.typbasetype END AS elemtypoid FROM pg_type AS typ LEFT JOIN pg_class AS cls ON (cls.oid = typ.typrelid) LEFT JOIN pg_proc AS proc ON proc.oid = typ.typreceive LEFT JOIN pg_range ON (pg_range.rngtypid = typ.oid)) AS typ LEFT JOIN pg_type AS elemtyp ON elemtyp.oid = elemtypoid LEFT JOIN pg_class AS elemcls ON (elemcls.oid = elemtyp.typrelid) LEFT JOIN pg_proc AS elemproc ON elemproc.oid = elemtyp.typreceive) AS t JOIN pg_namespace AS ns ON (ns.oid = typnamespace) WHERE typtype IN ('b', 'r', 'm', 'e', 'd') OR -- Base, range, multirange, enum, domain (typtype = 'c' AND relkind = 'c') OR -- User-defined free-standing composites (not table composites) by default (typtype = 'p' AND typname IN ('record', 'void')) OR -- Some special supported pseudo-types (typtype = 'a' AND ( -- Array of... elemtyptype IN ('b', 'r', 'm', 'e', 'd') OR -- Array of base, range, multirange, enum, domain (elemtyptype = 'p' AND elemtypname IN ('record', 'void')) OR -- Arrays of special supported pseudo-types (elemtyptype = 'c' AND elemrelkind = 'c') -- Array of user-defined free-standing composites (not table composites) by default )) ORDER BY CASE WHEN typtype IN ('b', 'e', 'p') THEN 0 -- First base types, enums, pseudo-types WHEN typtype = 'r' THEN 1 -- Ranges after WHEN typtype = 'm' THEN 2 -- Multiranges after WHEN typtype = 'c' THEN 3 -- Composites after WHEN typtype = 'd' AND elemtyptype <> 'a' THEN 4 -- Domains over non-arrays after WHEN typtype = 'a' THEN 5 -- Arrays after WHEN typtype = 'd' AND elemtyptype = 'a' THEN 6 -- Domains over arrays last END; -- Load field definitions for (free-standing) composite types SELECT typ.oid, att.attname, att.atttypid FROM pg_type AS typ JOIN pg_namespace AS ns ON (ns.oid = typ.typnamespace) JOIN pg_class AS cls ON (cls.oid = typ.typrelid) JOIN pg_attribute AS att ON (att.attrelid = typ.typrelid) WHERE (typ.typtype = 'c' AND cls.relkind = 'c') AND attnum > 0 AND -- Don't load system attributes NOT attisdropped ORDER BY typ.oid, att.attnum; -- Load enum fields SELECT pg_type.oid, enumlabel FROM pg_enum JOIN pg_type ON pg_type.oid = enumtypid ORDER BY oid, enumsortorder;
Date: 2025-10-21 22:03:09 Duration: 46ms Database: azure_maintenance User: azuresu Remote: 169.254.128.1 Application: [unknown]
-
SELECT version(); SELECT ns.nspname, t.oid, t.typname, t.typtype, t.typnotnull, t.elemtypoid FROM ( -- Arrays have typtype=b - this subquery identifies them by their typreceive and converts their typtype to a -- We first do this for the type (innerest-most subquery), and then for its element type -- This also returns the array element, range subtype and domain base type as elemtypoid SELECT typ.oid, typ.typnamespace, typ.typname, typ.typtype, typ.typrelid, typ.typnotnull, typ.relkind, elemtyp.oid AS elemtypoid, elemtyp.typname AS elemtypname, elemcls.relkind AS elemrelkind, CASE WHEN elemproc.proname = 'array_recv' THEN 'a' ELSE elemtyp.typtype END AS elemtyptype FROM ( SELECT typ.oid, typnamespace, typname, typrelid, typnotnull, relkind, typelem AS elemoid, CASE WHEN proc.proname = 'array_recv' THEN 'a' ELSE typ.typtype END AS typtype, CASE WHEN proc.proname = 'array_recv' THEN typ.typelem WHEN typ.typtype = 'r' THEN rngsubtype WHEN typ.typtype = 'm' THEN ( SELECT rngtypid FROM pg_range WHERE rngmultitypid = typ.oid) WHEN typ.typtype = 'd' THEN typ.typbasetype END AS elemtypoid FROM pg_type AS typ LEFT JOIN pg_class AS cls ON (cls.oid = typ.typrelid) LEFT JOIN pg_proc AS proc ON proc.oid = typ.typreceive LEFT JOIN pg_range ON (pg_range.rngtypid = typ.oid)) AS typ LEFT JOIN pg_type AS elemtyp ON elemtyp.oid = elemtypoid LEFT JOIN pg_class AS elemcls ON (elemcls.oid = elemtyp.typrelid) LEFT JOIN pg_proc AS elemproc ON elemproc.oid = elemtyp.typreceive) AS t JOIN pg_namespace AS ns ON (ns.oid = typnamespace) WHERE typtype IN ('b', 'r', 'm', 'e', 'd') OR -- Base, range, multirange, enum, domain (typtype = 'c' AND relkind = 'c') OR -- User-defined free-standing composites (not table composites) by default (typtype = 'p' AND typname IN ('record', 'void')) OR -- Some special supported pseudo-types (typtype = 'a' AND ( -- Array of... elemtyptype IN ('b', 'r', 'm', 'e', 'd') OR -- Array of base, range, multirange, enum, domain (elemtyptype = 'p' AND elemtypname IN ('record', 'void')) OR -- Arrays of special supported pseudo-types (elemtyptype = 'c' AND elemrelkind = 'c') -- Array of user-defined free-standing composites (not table composites) by default )) ORDER BY CASE WHEN typtype IN ('b', 'e', 'p') THEN 0 -- First base types, enums, pseudo-types WHEN typtype = 'r' THEN 1 -- Ranges after WHEN typtype = 'm' THEN 2 -- Multiranges after WHEN typtype = 'c' THEN 3 -- Composites after WHEN typtype = 'd' AND elemtyptype <> 'a' THEN 4 -- Domains over non-arrays after WHEN typtype = 'a' THEN 5 -- Arrays after WHEN typtype = 'd' AND elemtyptype = 'a' THEN 6 -- Domains over arrays last END; -- Load field definitions for (free-standing) composite types SELECT typ.oid, att.attname, att.atttypid FROM pg_type AS typ JOIN pg_namespace AS ns ON (ns.oid = typ.typnamespace) JOIN pg_class AS cls ON (cls.oid = typ.typrelid) JOIN pg_attribute AS att ON (att.attrelid = typ.typrelid) WHERE (typ.typtype = 'c' AND cls.relkind = 'c') AND attnum > 0 AND -- Don't load system attributes NOT attisdropped ORDER BY typ.oid, att.attnum; -- Load enum fields SELECT pg_type.oid, enumlabel FROM pg_enum JOIN pg_type ON pg_type.oid = enumtypid ORDER BY oid, enumsortorder;
Date: 2025-10-21 21:44:39 Duration: 9ms Database: azure_maintenance User: azuresu Remote: 169.254.128.1 Application: [unknown]
9 50ms 48 0ms 1ms 1ms select schemaname, sum(n_live_tup) as n_live_tup, sum(n_dead_tup) as n_dead_tup, sum(seq_scan) as seq_scan, sum(seq_tup_read) as seq_tup_read, sum(idx_scan) as idx_scan, sum(idx_tup_fetch) as idx_tup_fetch, sum(n_tup_ins) as n_tup_ins, sum(n_tup_upd) as n_tup_upd, sum(n_tup_del) as n_tup_del, sum(n_tup_hot_upd) as n_tup_hot_upd, sum(n_mod_since_analyze) as n_mod_since_analyze, sum(vacuum_count) as vacuum_count, sum(autovacuum_count) as autovacuum_count, sum(analyze_count) as analyze_count, sum(autoanalyze_count) as autoanalyze_count, count(relid) as tables_counter, sum( case when last_vacuum is not null then ? else ? end)::bigint as tables_vacuumed, sum( case when last_autovacuum is not null then ? else ? end)::bigint as tables_autovacuumed, sum( case when last_analyze is not null then ? else ? end)::bigint as tables_analyzed, sum( case when last_autoanalyze is not null then ? else ? end)::bigint as tables_autoanalyzed from pg_catalog.pg_stat_all_tables group by schemaname;Times Reported Time consuming queries #9
Day Hour Count Duration Avg duration Oct 21 02 2 1ms 0ms 03 2 2ms 1ms 04 2 1ms 0ms 05 2 1ms 0ms 06 2 1ms 0ms 07 2 2ms 1ms 08 2 2ms 1ms 09 2 1ms 0ms 10 2 2ms 1ms 11 2 2ms 1ms 12 2 2ms 1ms 13 2 2ms 1ms 14 2 1ms 0ms 15 2 2ms 1ms 16 2 2ms 1ms 17 2 2ms 1ms 18 2 2ms 1ms 19 2 2ms 1ms 20 2 2ms 1ms 21 2 2ms 1ms 22 2 1ms 0ms 23 2 1ms 0ms 00 2 2ms 1ms 01 2 2ms 1ms [ User: azuresu - Total duration: 50ms - Times executed: 48 ]
[ Application: [unknown] - Total duration: 50ms - Times executed: 48 ]
-
SELECT schemaname, sum(n_live_tup) AS n_live_tup, sum(n_dead_tup) AS n_dead_tup, sum(seq_scan) AS seq_scan, sum(seq_tup_read) AS seq_tup_read, sum(idx_scan) AS idx_scan, sum(idx_tup_fetch) AS idx_tup_fetch, sum(n_tup_ins) AS n_tup_ins, sum(n_tup_upd) AS n_tup_upd, sum(n_tup_del) AS n_tup_del, sum(n_tup_hot_upd) AS n_tup_hot_upd, sum(n_mod_since_analyze) AS n_mod_since_analyze, sum(vacuum_count) AS vacuum_count, sum(autovacuum_count) AS autovacuum_count, sum(analyze_count) AS analyze_count, sum(autoanalyze_count) AS autoanalyze_count, count(relid) AS tables_counter, sum( case when last_vacuum IS NOT NULL then 1 else 0 end)::bigint as tables_vacuumed, sum( case when last_autovacuum IS NOT NULL then 1 else 0 end)::bigint as tables_autovacuumed, sum( case when last_analyze IS NOT NULL then 1 else 0 end)::bigint as tables_analyzed, sum( case when last_autoanalyze IS NOT NULL then 1 else 0 end)::bigint as tables_autoanalyzed FROM pg_catalog.pg_stat_all_tables group by schemaname;
Date: 2025-10-21 15:51:12 Duration: 1ms Database: azure_maintenance User: azuresu Remote: 169.254.128.1 Application: [unknown] Bind query: yes
-
SELECT schemaname, sum(n_live_tup) AS n_live_tup, sum(n_dead_tup) AS n_dead_tup, sum(seq_scan) AS seq_scan, sum(seq_tup_read) AS seq_tup_read, sum(idx_scan) AS idx_scan, sum(idx_tup_fetch) AS idx_tup_fetch, sum(n_tup_ins) AS n_tup_ins, sum(n_tup_upd) AS n_tup_upd, sum(n_tup_del) AS n_tup_del, sum(n_tup_hot_upd) AS n_tup_hot_upd, sum(n_mod_since_analyze) AS n_mod_since_analyze, sum(vacuum_count) AS vacuum_count, sum(autovacuum_count) AS autovacuum_count, sum(analyze_count) AS analyze_count, sum(autoanalyze_count) AS autoanalyze_count, count(relid) AS tables_counter, sum( case when last_vacuum IS NOT NULL then 1 else 0 end)::bigint as tables_vacuumed, sum( case when last_autovacuum IS NOT NULL then 1 else 0 end)::bigint as tables_autovacuumed, sum( case when last_analyze IS NOT NULL then 1 else 0 end)::bigint as tables_analyzed, sum( case when last_autoanalyze IS NOT NULL then 1 else 0 end)::bigint as tables_autoanalyzed FROM pg_catalog.pg_stat_all_tables group by schemaname;
Date: 2025-10-21 06:50:40 Duration: 1ms Database: azure_maintenance User: azuresu Remote: 169.254.128.1 Application: [unknown] Bind query: yes
-
SELECT schemaname, sum(n_live_tup) AS n_live_tup, sum(n_dead_tup) AS n_dead_tup, sum(seq_scan) AS seq_scan, sum(seq_tup_read) AS seq_tup_read, sum(idx_scan) AS idx_scan, sum(idx_tup_fetch) AS idx_tup_fetch, sum(n_tup_ins) AS n_tup_ins, sum(n_tup_upd) AS n_tup_upd, sum(n_tup_del) AS n_tup_del, sum(n_tup_hot_upd) AS n_tup_hot_upd, sum(n_mod_since_analyze) AS n_mod_since_analyze, sum(vacuum_count) AS vacuum_count, sum(autovacuum_count) AS autovacuum_count, sum(analyze_count) AS analyze_count, sum(autoanalyze_count) AS autoanalyze_count, count(relid) AS tables_counter, sum( case when last_vacuum IS NOT NULL then 1 else 0 end)::bigint as tables_vacuumed, sum( case when last_autovacuum IS NOT NULL then 1 else 0 end)::bigint as tables_autovacuumed, sum( case when last_analyze IS NOT NULL then 1 else 0 end)::bigint as tables_analyzed, sum( case when last_autoanalyze IS NOT NULL then 1 else 0 end)::bigint as tables_autoanalyzed FROM pg_catalog.pg_stat_all_tables group by schemaname;
Date: 2025-10-21 11:20:56 Duration: 1ms Database: azure_maintenance User: azuresu Remote: 169.254.128.1 Application: [unknown] Bind query: yes
10 10ms 2 0ms 9ms 5ms select ?;Times Reported Time consuming queries #10
Day Hour Count Duration Avg duration Oct 21 23 1 0ms 0ms 00 1 9ms 9ms [ User: azuresu - Total duration: 10ms - Times executed: 2 ]
[ Application: psql - Total duration: 10ms - Times executed: 2 ]
-
SELECT 1;
Date: 2025-10-21 22:02:59 Duration: 9ms Database: azure_maintenance User: azuresu Remote: [local] Application: psql
-
SELECT 1;
Date: 2025-10-21 21:50:42 Duration: 0ms Database: azure_maintenance User: azuresu Remote: [local] Application: psql
11 4ms 81 0ms 0ms 0ms set session statement_timeout to ?;Times Reported Time consuming queries #11
Day Hour Count Duration Avg duration Oct 21 02 3 0ms 0ms 03 3 0ms 0ms 04 3 0ms 0ms 05 3 0ms 0ms 06 3 0ms 0ms 07 3 0ms 0ms 08 3 0ms 0ms 09 3 0ms 0ms 10 3 0ms 0ms 11 3 0ms 0ms 12 3 0ms 0ms 13 3 0ms 0ms 14 3 0ms 0ms 15 3 0ms 0ms 16 3 0ms 0ms 17 3 0ms 0ms 18 3 0ms 0ms 19 3 0ms 0ms 20 3 0ms 0ms 21 3 0ms 0ms 22 3 0ms 0ms 23 7 0ms 0ms 00 6 0ms 0ms 01 5 0ms 0ms [ User: azuresu - Total duration: 4ms - Times executed: 81 ]
[ Application: [unknown] - Total duration: 4ms - Times executed: 81 ]
-
set session statement_timeout to 60000;
Date: 2025-10-21 19:51:27 Duration: 0ms Database: azure_maintenance User: azuresu Remote: 169.254.128.1 Application: [unknown] Bind query: yes
-
set session statement_timeout to 60000;
Date: 2025-10-21 09:50:51 Duration: 0ms Database: azure_maintenance User: azuresu Remote: 169.254.128.1 Application: [unknown] Bind query: yes
-
set session statement_timeout to 120000;
Date: 2025-10-21 09:20:49 Duration: 0ms Database: azure_maintenance User: azuresu Remote: 169.254.128.1 Application: [unknown] Bind query: yes
12 3ms 25 0ms 0ms 0ms select extname, extowner, extnamespace, extrelocatable, extversion, extconfig, extcondition from pg_catalog.pg_extension;Times Reported Time consuming queries #12
Day Hour Count Duration Avg duration Oct 21 02 1 0ms 0ms 03 1 0ms 0ms 04 1 0ms 0ms 05 1 0ms 0ms 06 1 0ms 0ms 07 1 0ms 0ms 08 1 0ms 0ms 09 1 0ms 0ms 10 1 0ms 0ms 11 1 0ms 0ms 12 1 0ms 0ms 13 1 0ms 0ms 14 1 0ms 0ms 15 1 0ms 0ms 16 1 0ms 0ms 17 1 0ms 0ms 18 1 0ms 0ms 19 1 0ms 0ms 20 1 0ms 0ms 21 1 0ms 0ms 22 1 0ms 0ms 23 2 0ms 0ms 00 1 0ms 0ms 01 1 0ms 0ms [ User: azuresu - Total duration: 3ms - Times executed: 25 ]
[ Application: [unknown] - Total duration: 3ms - Times executed: 25 ]
-
SELECT extname, extowner, extnamespace, extrelocatable, extversion, extconfig, extcondition FROM pg_catalog.pg_extension;
Date: 2025-10-21 19:21:25 Duration: 0ms Database: azure_maintenance User: azuresu Remote: 169.254.128.1 Application: [unknown] Bind query: yes
-
SELECT extname, extowner, extnamespace, extrelocatable, extversion, extconfig, extcondition FROM pg_catalog.pg_extension;
Date: 2025-10-21 07:20:42 Duration: 0ms Database: azure_maintenance User: azuresu Remote: 169.254.128.1 Application: [unknown] Bind query: yes
-
SELECT extname, extowner, extnamespace, extrelocatable, extversion, extconfig, extcondition FROM pg_catalog.pg_extension;
Date: 2025-10-21 03:20:28 Duration: 0ms Database: azure_maintenance User: azuresu Remote: 169.254.128.1 Application: [unknown] Bind query: yes
13 3ms 3 1ms 1ms 1ms select name as parameter, setting as value, min_val as minimum_value, max_val as maximum_value, reset_val as reset_value, pending_restart as pending_restart, unit as unit, sourcefile as source_file from pg_settings where name in (...);Times Reported Time consuming queries #13
Day Hour Count Duration Avg duration Oct 21 23 1 1ms 1ms 00 1 1ms 1ms 01 1 1ms 1ms [ User: azuresu - Total duration: 3ms - Times executed: 3 ]
[ Application: [unknown] - Total duration: 3ms - Times executed: 3 ]
-
SELECT name AS parameter, setting AS value, min_val AS minimum_value, max_val AS maximum_value, reset_val AS reset_value, pending_restart AS pending_restart, unit AS unit, sourcefile AS source_file FROM pg_settings WHERE name IN ('pgaudit.log', 'pgaudit.log_level', 'pgaudit.log_statement', 'pgaudit.log_statement_once', 'log_checkpoints', 'log_connections', 'log_disconnections', 'password_encryption', 'log_line_prefix', 'require_secure_transport', 'shared_preload_libraries');
Date: 2025-10-21 21:44:39 Duration: 1ms Database: azure_maintenance User: azuresu Remote: 169.254.128.1 Application: [unknown] Bind query: yes
-
SELECT name AS parameter, setting AS value, min_val AS minimum_value, max_val AS maximum_value, reset_val AS reset_value, pending_restart AS pending_restart, unit AS unit, sourcefile AS source_file FROM pg_settings WHERE name IN ('pgaudit.log', 'pgaudit.log_level', 'pgaudit.log_statement', 'pgaudit.log_statement_once', 'log_checkpoints', 'log_connections', 'log_disconnections', 'password_encryption', 'log_line_prefix', 'require_secure_transport', 'shared_preload_libraries');
Date: 2025-10-21 23:03:14 Duration: 1ms Database: azure_maintenance User: azuresu Remote: 169.254.128.1 Application: [unknown] Bind query: yes
-
SELECT name AS parameter, setting AS value, min_val AS minimum_value, max_val AS maximum_value, reset_val AS reset_value, pending_restart AS pending_restart, unit AS unit, sourcefile AS source_file FROM pg_settings WHERE name IN ('pgaudit.log', 'pgaudit.log_level', 'pgaudit.log_statement', 'pgaudit.log_statement_once', 'log_checkpoints', 'log_connections', 'log_disconnections', 'password_encryption', 'log_line_prefix', 'require_secure_transport', 'shared_preload_libraries');
Date: 2025-10-21 22:03:10 Duration: 1ms Database: azure_maintenance User: azuresu Remote: 169.254.128.1 Application: [unknown] Bind query: yes
14 2ms 2 0ms 1ms 1ms select ? from pg_catalog.pg_database where datname = ?;Times Reported Time consuming queries #14
Day Hour Count Duration Avg duration Oct 21 23 1 0ms 0ms 00 1 1ms 1ms [ User: azuresu - Total duration: 2ms - Times executed: 2 ]
[ Application: psql - Total duration: 2ms - Times executed: 2 ]
-
SELECT 1 FROM pg_catalog.pg_database WHERE datname = 'azure_sys';
Date: 2025-10-21 22:02:59 Duration: 1ms Database: azure_maintenance User: azuresu Remote: [local] Application: psql
-
SELECT 1 FROM pg_catalog.pg_database WHERE datname = 'azure_sys';
Date: 2025-10-21 21:50:42 Duration: 0ms Database: azure_maintenance User: azuresu Remote: [local] Application: psql
15 1ms 2 0ms 1ms 0ms select pg_am.amname as index_type, count(idstat.indexrelid) as index_count, coalesce(sum(idstat.idx_scan)::bigint, ?) as total_idx_scan, pg_size_pretty(sum(pg_relation_size(idstat.indexrelid))) as total_indices_size from pg_stat_user_indexes as idstat join pg_class as pgc on pgc.oid = idstat.indexrelid join pg_am on pg_am.oid = pgc.relam group by pg_am.amname order by pg_am.amname;Times Reported Time consuming queries #15
Day Hour Count Duration Avg duration Oct 21 23 1 1ms 1ms 00 1 0ms 0ms [ User: azuresu - Total duration: 1ms - Times executed: 2 ]
[ Application: [unknown] - Total duration: 1ms - Times executed: 2 ]
-
SELECT pg_am.amname AS index_type, COUNT(idstat.indexrelid) AS index_count, COALESCE(SUM(idstat.idx_scan)::bigint, 0) AS total_idx_scan, pg_size_pretty(SUM(pg_relation_size(idstat.indexrelid))) AS total_indices_size FROM pg_stat_user_indexes AS idstat JOIN pg_class AS pgc ON pgc.oid = idstat.indexrelid JOIN pg_am ON pg_am.oid = pgc.relam GROUP BY pg_am.amname ORDER BY pg_am.amname;
Date: 2025-10-21 21:44:39 Duration: 1ms Database: azure_maintenance User: azuresu Remote: 169.254.128.1 Application: [unknown] Bind query: yes
-
SELECT pg_am.amname AS index_type, COUNT(idstat.indexrelid) AS index_count, COALESCE(SUM(idstat.idx_scan)::bigint, 0) AS total_idx_scan, pg_size_pretty(SUM(pg_relation_size(idstat.indexrelid))) AS total_indices_size FROM pg_stat_user_indexes AS idstat JOIN pg_class AS pgc ON pgc.oid = idstat.indexrelid JOIN pg_am ON pg_am.oid = pgc.relam GROUP BY pg_am.amname ORDER BY pg_am.amname;
Date: 2025-10-21 22:03:10 Duration: 0ms Database: azure_maintenance User: azuresu Remote: 169.254.128.1 Application: [unknown] Bind query: yes
16 0ms 3 0ms 0ms 0ms select ? as parameter, has_database_privilege(?, ?, ?) as value union all select ? as parameter, has_schema_privilege(?, ?, ?) as value;Times Reported Time consuming queries #16
Day Hour Count Duration Avg duration Oct 21 23 1 0ms 0ms 00 1 0ms 0ms 01 1 0ms 0ms [ User: azuresu - Total duration: 0ms - Times executed: 3 ]
[ Application: [unknown] - Total duration: 0ms - Times executed: 3 ]
-
SELECT 'database_access_privilege' AS parameter, has_database_privilege('public', 'postgres', 'CONNECT') AS value UNION ALL SELECT 'schema_access_privilege' AS parameter, has_schema_privilege('public', 'public', 'USAGE') AS value;
Date: 2025-10-21 23:03:14 Duration: 0ms Database: azure_maintenance User: azuresu Remote: 169.254.128.1 Application: [unknown] Bind query: yes
-
SELECT 'database_access_privilege' AS parameter, has_database_privilege('public', 'postgres', 'CONNECT') AS value UNION ALL SELECT 'schema_access_privilege' AS parameter, has_schema_privilege('public', 'public', 'USAGE') AS value;
Date: 2025-10-21 21:44:39 Duration: 0ms Database: azure_maintenance User: azuresu Remote: 169.254.128.1 Application: [unknown] Bind query: yes
-
SELECT 'database_access_privilege' AS parameter, has_database_privilege('public', 'postgres', 'CONNECT') AS value UNION ALL SELECT 'schema_access_privilege' AS parameter, has_schema_privilege('public', 'public', 'USAGE') AS value;
Date: 2025-10-21 22:03:10 Duration: 0ms Database: azure_maintenance User: azuresu Remote: 169.254.128.1 Application: [unknown] Bind query: yes
Most frequent queries (N)
Rank Times executed Total duration Min duration Max duration Avg duration Query 1 23,024 22s888ms 0ms 271ms 0ms commit;Times Reported Time consuming queries #1
Day Hour Count Duration Avg duration Oct 21 02 958 923ms 0ms 03 964 926ms 0ms 04 960 913ms 0ms 05 960 957ms 0ms 06 960 923ms 0ms 07 956 912ms 0ms 08 966 986ms 1ms 09 962 913ms 0ms 10 962 898ms 0ms 11 960 926ms 0ms 12 960 934ms 0ms 13 964 1s 1ms 14 958 904ms 0ms 15 962 942ms 0ms 16 962 901ms 0ms 17 958 914ms 0ms 18 962 913ms 0ms 19 958 931ms 0ms 20 964 1s151ms 1ms 21 960 922ms 0ms 22 960 895ms 0ms 23 948 1s367ms 1ms 00 934 920ms 0ms 01 966 907ms 0ms [ User: azuresu - Total duration: 22s888ms - Times executed: 23024 ]
[ Application: [unknown] - Total duration: 22s888ms - Times executed: 23024 ]
-
commit;
Date: 2025-10-21 21:58:07 Duration: 271ms Database: azure_maintenance User: azuresu Remote: 169.254.128.1 Application: [unknown] Bind query: yes
-
commit;
Date: 2025-10-21 21:52:25 Duration: 173ms Database: azure_maintenance User: azuresu Remote: 169.254.128.1 Application: [unknown] Bind query: yes
-
commit;
Date: 2025-10-21 11:47:48 Duration: 53ms Database: azure_maintenance User: azuresu Remote: 169.254.128.1 Application: [unknown] Bind query: yes
2 23,024 409ms 0ms 5ms 0ms set transaction read write;Times Reported Time consuming queries #2
Day Hour Count Duration Avg duration Oct 21 02 958 23ms 0ms 03 964 20ms 0ms 04 960 17ms 0ms 05 960 14ms 0ms 06 960 17ms 0ms 07 956 16ms 0ms 08 966 18ms 0ms 09 962 17ms 0ms 10 962 18ms 0ms 11 960 17ms 0ms 12 960 13ms 0ms 13 964 15ms 0ms 14 958 16ms 0ms 15 962 20ms 0ms 16 962 16ms 0ms 17 958 16ms 0ms 18 962 16ms 0ms 19 958 19ms 0ms 20 964 17ms 0ms 21 960 15ms 0ms 22 960 15ms 0ms 23 948 15ms 0ms 00 934 12ms 0ms 01 966 13ms 0ms [ User: azuresu - Total duration: 409ms - Times executed: 23024 ]
[ Application: [unknown] - Total duration: 409ms - Times executed: 23024 ]
-
set transaction read write;
Date: 2025-10-21 00:42:13 Duration: 5ms Database: azure_maintenance User: azuresu Remote: 169.254.128.1 Application: [unknown] Bind query: yes
-
set transaction read write;
Date: 2025-10-21 13:03:58 Duration: 3ms Database: azure_maintenance User: azuresu Remote: 169.254.128.1 Application: [unknown] Bind query: yes
-
set transaction read write;
Date: 2025-10-21 17:02:30 Duration: 1ms Database: azure_maintenance User: azuresu Remote: 169.254.128.1 Application: [unknown] Bind query: yes
3 23,024 282ms 0ms 2ms 0ms begin;Times Reported Time consuming queries #3
Day Hour Count Duration Avg duration Oct 21 02 958 11ms 0ms 03 964 12ms 0ms 04 960 11ms 0ms 05 960 11ms 0ms 06 960 11ms 0ms 07 956 11ms 0ms 08 966 12ms 0ms 09 962 10ms 0ms 10 962 11ms 0ms 11 960 12ms 0ms 12 960 11ms 0ms 13 964 12ms 0ms 14 958 13ms 0ms 15 962 13ms 0ms 16 962 12ms 0ms 17 958 9ms 0ms 18 962 12ms 0ms 19 958 12ms 0ms 20 964 12ms 0ms 21 960 13ms 0ms 22 960 12ms 0ms 23 948 11ms 0ms 00 934 8ms 0ms 01 966 9ms 0ms [ User: azuresu - Total duration: 282ms - Times executed: 23024 ]
[ Application: [unknown] - Total duration: 282ms - Times executed: 23024 ]
-
begin;
Date: 2025-10-21 19:59:47 Duration: 2ms Database: azure_maintenance User: azuresu Remote: 169.254.128.1 Application: [unknown] Bind query: yes
-
begin;
Date: 2025-10-21 12:13:46 Duration: 1ms Database: azure_maintenance User: azuresu Remote: 169.254.128.1 Application: [unknown] Bind query: yes
-
begin;
Date: 2025-10-21 13:03:58 Duration: 0ms Database: azure_maintenance User: azuresu Remote: 169.254.128.1 Application: [unknown] Bind query: yes
4 19,184 4s511ms 0ms 14ms 0ms set session authorization default; reset all; close "..." *; select pg_advisory_unlock_all(); discard sequences; discard temp;Times Reported Time consuming queries #4
Day Hour Count Duration Avg duration Oct 21 02 798 185ms 0ms 03 804 187ms 0ms 04 800 193ms 0ms 05 800 189ms 0ms 06 800 187ms 0ms 07 796 188ms 0ms 08 805 193ms 0ms 09 802 196ms 0ms 10 802 185ms 0ms 11 800 205ms 0ms 12 800 190ms 0ms 13 803 185ms 0ms 14 798 186ms 0ms 15 802 188ms 0ms 16 802 188ms 0ms 17 798 184ms 0ms 18 802 190ms 0ms 19 798 190ms 0ms 20 803 189ms 0ms 21 800 189ms 0ms 22 800 189ms 0ms 23 789 191ms 0ms 00 777 164ms 0ms 01 805 167ms 0ms [ User: azuresu - Total duration: 4s511ms - Times executed: 19184 ]
[ Application: [unknown] - Total duration: 4s511ms - Times executed: 19184 ]
-
SET SESSION AUTHORIZATION DEFAULT; RESET ALL; CLOSE ALL; UNLISTEN *; SELECT pg_advisory_unlock_all(); DISCARD SEQUENCES; DISCARD TEMP;
Date: 2025-10-21 09:40:19 Duration: 14ms Database: azure_maintenance User: azuresu Remote: 169.254.128.1 Application: [unknown]
-
SET SESSION AUTHORIZATION DEFAULT; RESET ALL; CLOSE ALL; UNLISTEN *; SELECT pg_advisory_unlock_all(); DISCARD SEQUENCES; DISCARD TEMP;
Date: 2025-10-21 21:50:47 Duration: 6ms Database: azure_maintenance User: azuresu Remote: 169.254.128.1 Application: [unknown]
-
SET SESSION AUTHORIZATION DEFAULT; RESET ALL; CLOSE ALL; UNLISTEN *; SELECT pg_advisory_unlock_all(); DISCARD SEQUENCES; DISCARD TEMP;
Date: 2025-10-21 07:25:32 Duration: 5ms Database: azure_maintenance User: azuresu Remote: 169.254.128.1 Application: [unknown]
5 11,512 1s946ms 0ms 3ms 0ms create table if not exists public.lsnmover ( single_row_id bool default true, id bigint, update_time timestamp default now(), constraint ensure_one_row check (single_row_id), constraint lsnmover_pk primary key (single_row_id) );Times Reported Time consuming queries #5
Day Hour Count Duration Avg duration Oct 21 02 479 80ms 0ms 03 482 84ms 0ms 04 480 80ms 0ms 05 480 76ms 0ms 06 480 76ms 0ms 07 478 75ms 0ms 08 483 105ms 0ms 09 481 85ms 0ms 10 481 82ms 0ms 11 480 75ms 0ms 12 480 83ms 0ms 13 482 82ms 0ms 14 479 81ms 0ms 15 481 77ms 0ms 16 481 80ms 0ms 17 479 77ms 0ms 18 481 78ms 0ms 19 479 80ms 0ms 20 482 99ms 0ms 21 480 75ms 0ms 22 480 85ms 0ms 23 474 81ms 0ms 00 467 69ms 0ms 01 483 69ms 0ms [ User: azuresu - Total duration: 1s946ms - Times executed: 11512 ]
[ Application: [unknown] - Total duration: 1s946ms - Times executed: 11512 ]
-
create table if not exists public.lsnmover ( single_row_id bool default true, id bigint, update_time timestamp default now(), constraint ensure_one_row CHECK (single_row_id), constraint lsnmover_pk primary key (single_row_id) );
Date: 2025-10-21 12:40:20 Duration: 3ms Database: azure_maintenance User: azuresu Remote: 169.254.128.1 Application: [unknown] Bind query: yes
-
create table if not exists public.lsnmover ( single_row_id bool default true, id bigint, update_time timestamp default now(), constraint ensure_one_row CHECK (single_row_id), constraint lsnmover_pk primary key (single_row_id) );
Date: 2025-10-21 10:44:24 Duration: 3ms Database: azure_maintenance User: azuresu Remote: 169.254.128.1 Application: [unknown] Bind query: yes
-
create table if not exists public.lsnmover ( single_row_id bool default true, id bigint, update_time timestamp default now(), constraint ensure_one_row CHECK (single_row_id), constraint lsnmover_pk primary key (single_row_id) );
Date: 2025-10-21 14:20:21 Duration: 3ms Database: azure_maintenance User: azuresu Remote: 169.254.128.1 Application: [unknown] Bind query: yes
6 11,512 1s809ms 0ms 4ms 0ms insert into public.lsnmover (id, update_time) select ?, now() on conflict on constraint lsnmover_pk do update set id = public.lsnmover.id + ?, update_time = now();Times Reported Time consuming queries #6
Day Hour Count Duration Avg duration Oct 21 02 479 72ms 0ms 03 482 77ms 0ms 04 480 78ms 0ms 05 480 73ms 0ms 06 480 74ms 0ms 07 478 81ms 0ms 08 483 86ms 0ms 09 481 75ms 0ms 10 481 72ms 0ms 11 480 70ms 0ms 12 480 74ms 0ms 13 482 71ms 0ms 14 479 76ms 0ms 15 481 74ms 0ms 16 481 72ms 0ms 17 479 71ms 0ms 18 481 74ms 0ms 19 479 77ms 0ms 20 482 88ms 0ms 21 480 73ms 0ms 22 480 76ms 0ms 23 474 80ms 0ms 00 467 66ms 0ms 01 483 69ms 0ms [ User: azuresu - Total duration: 1s809ms - Times executed: 11512 ]
[ Application: [unknown] - Total duration: 1s809ms - Times executed: 11512 ]
-
insert into public.lsnmover (id, update_time) select 1, now() on conflict on constraint lsnmover_pk do update set id = public.lsnmover.id + 1, update_time = now();
Date: 2025-10-21 21:50:47 Duration: 4ms Database: azure_maintenance User: azuresu Remote: 169.254.128.1 Application: [unknown] Bind query: yes
-
insert into public.lsnmover (id, update_time) select 1, now() on conflict on constraint lsnmover_pk do update set id = public.lsnmover.id + 1, update_time = now();
Date: 2025-10-21 05:26:00 Duration: 4ms Database: azure_maintenance User: azuresu Remote: 169.254.128.1 Application: [unknown] Bind query: yes
-
insert into public.lsnmover (id, update_time) select 1, now() on conflict on constraint lsnmover_pk do update set id = public.lsnmover.id + 1, update_time = now();
Date: 2025-10-21 02:27:09 Duration: 2ms Database: azure_maintenance User: azuresu Remote: 169.254.128.1 Application: [unknown] Bind query: yes
7 81 4ms 0ms 0ms 0ms set session statement_timeout to ?;Times Reported Time consuming queries #7
Day Hour Count Duration Avg duration Oct 21 02 3 0ms 0ms 03 3 0ms 0ms 04 3 0ms 0ms 05 3 0ms 0ms 06 3 0ms 0ms 07 3 0ms 0ms 08 3 0ms 0ms 09 3 0ms 0ms 10 3 0ms 0ms 11 3 0ms 0ms 12 3 0ms 0ms 13 3 0ms 0ms 14 3 0ms 0ms 15 3 0ms 0ms 16 3 0ms 0ms 17 3 0ms 0ms 18 3 0ms 0ms 19 3 0ms 0ms 20 3 0ms 0ms 21 3 0ms 0ms 22 3 0ms 0ms 23 7 0ms 0ms 00 6 0ms 0ms 01 5 0ms 0ms [ User: azuresu - Total duration: 4ms - Times executed: 81 ]
[ Application: [unknown] - Total duration: 4ms - Times executed: 81 ]
-
set session statement_timeout to 60000;
Date: 2025-10-21 19:51:27 Duration: 0ms Database: azure_maintenance User: azuresu Remote: 169.254.128.1 Application: [unknown] Bind query: yes
-
set session statement_timeout to 60000;
Date: 2025-10-21 09:50:51 Duration: 0ms Database: azure_maintenance User: azuresu Remote: 169.254.128.1 Application: [unknown] Bind query: yes
-
set session statement_timeout to 120000;
Date: 2025-10-21 09:20:49 Duration: 0ms Database: azure_maintenance User: azuresu Remote: 169.254.128.1 Application: [unknown] Bind query: yes
8 48 50ms 0ms 1ms 1ms select schemaname, sum(n_live_tup) as n_live_tup, sum(n_dead_tup) as n_dead_tup, sum(seq_scan) as seq_scan, sum(seq_tup_read) as seq_tup_read, sum(idx_scan) as idx_scan, sum(idx_tup_fetch) as idx_tup_fetch, sum(n_tup_ins) as n_tup_ins, sum(n_tup_upd) as n_tup_upd, sum(n_tup_del) as n_tup_del, sum(n_tup_hot_upd) as n_tup_hot_upd, sum(n_mod_since_analyze) as n_mod_since_analyze, sum(vacuum_count) as vacuum_count, sum(autovacuum_count) as autovacuum_count, sum(analyze_count) as analyze_count, sum(autoanalyze_count) as autoanalyze_count, count(relid) as tables_counter, sum( case when last_vacuum is not null then ? else ? end)::bigint as tables_vacuumed, sum( case when last_autovacuum is not null then ? else ? end)::bigint as tables_autovacuumed, sum( case when last_analyze is not null then ? else ? end)::bigint as tables_analyzed, sum( case when last_autoanalyze is not null then ? else ? end)::bigint as tables_autoanalyzed from pg_catalog.pg_stat_all_tables group by schemaname;Times Reported Time consuming queries #8
Day Hour Count Duration Avg duration Oct 21 02 2 1ms 0ms 03 2 2ms 1ms 04 2 1ms 0ms 05 2 1ms 0ms 06 2 1ms 0ms 07 2 2ms 1ms 08 2 2ms 1ms 09 2 1ms 0ms 10 2 2ms 1ms 11 2 2ms 1ms 12 2 2ms 1ms 13 2 2ms 1ms 14 2 1ms 0ms 15 2 2ms 1ms 16 2 2ms 1ms 17 2 2ms 1ms 18 2 2ms 1ms 19 2 2ms 1ms 20 2 2ms 1ms 21 2 2ms 1ms 22 2 1ms 0ms 23 2 1ms 0ms 00 2 2ms 1ms 01 2 2ms 1ms [ User: azuresu - Total duration: 50ms - Times executed: 48 ]
[ Application: [unknown] - Total duration: 50ms - Times executed: 48 ]
-
SELECT schemaname, sum(n_live_tup) AS n_live_tup, sum(n_dead_tup) AS n_dead_tup, sum(seq_scan) AS seq_scan, sum(seq_tup_read) AS seq_tup_read, sum(idx_scan) AS idx_scan, sum(idx_tup_fetch) AS idx_tup_fetch, sum(n_tup_ins) AS n_tup_ins, sum(n_tup_upd) AS n_tup_upd, sum(n_tup_del) AS n_tup_del, sum(n_tup_hot_upd) AS n_tup_hot_upd, sum(n_mod_since_analyze) AS n_mod_since_analyze, sum(vacuum_count) AS vacuum_count, sum(autovacuum_count) AS autovacuum_count, sum(analyze_count) AS analyze_count, sum(autoanalyze_count) AS autoanalyze_count, count(relid) AS tables_counter, sum( case when last_vacuum IS NOT NULL then 1 else 0 end)::bigint as tables_vacuumed, sum( case when last_autovacuum IS NOT NULL then 1 else 0 end)::bigint as tables_autovacuumed, sum( case when last_analyze IS NOT NULL then 1 else 0 end)::bigint as tables_analyzed, sum( case when last_autoanalyze IS NOT NULL then 1 else 0 end)::bigint as tables_autoanalyzed FROM pg_catalog.pg_stat_all_tables group by schemaname;
Date: 2025-10-21 15:51:12 Duration: 1ms Database: azure_maintenance User: azuresu Remote: 169.254.128.1 Application: [unknown] Bind query: yes
-
SELECT schemaname, sum(n_live_tup) AS n_live_tup, sum(n_dead_tup) AS n_dead_tup, sum(seq_scan) AS seq_scan, sum(seq_tup_read) AS seq_tup_read, sum(idx_scan) AS idx_scan, sum(idx_tup_fetch) AS idx_tup_fetch, sum(n_tup_ins) AS n_tup_ins, sum(n_tup_upd) AS n_tup_upd, sum(n_tup_del) AS n_tup_del, sum(n_tup_hot_upd) AS n_tup_hot_upd, sum(n_mod_since_analyze) AS n_mod_since_analyze, sum(vacuum_count) AS vacuum_count, sum(autovacuum_count) AS autovacuum_count, sum(analyze_count) AS analyze_count, sum(autoanalyze_count) AS autoanalyze_count, count(relid) AS tables_counter, sum( case when last_vacuum IS NOT NULL then 1 else 0 end)::bigint as tables_vacuumed, sum( case when last_autovacuum IS NOT NULL then 1 else 0 end)::bigint as tables_autovacuumed, sum( case when last_analyze IS NOT NULL then 1 else 0 end)::bigint as tables_analyzed, sum( case when last_autoanalyze IS NOT NULL then 1 else 0 end)::bigint as tables_autoanalyzed FROM pg_catalog.pg_stat_all_tables group by schemaname;
Date: 2025-10-21 06:50:40 Duration: 1ms Database: azure_maintenance User: azuresu Remote: 169.254.128.1 Application: [unknown] Bind query: yes
-
SELECT schemaname, sum(n_live_tup) AS n_live_tup, sum(n_dead_tup) AS n_dead_tup, sum(seq_scan) AS seq_scan, sum(seq_tup_read) AS seq_tup_read, sum(idx_scan) AS idx_scan, sum(idx_tup_fetch) AS idx_tup_fetch, sum(n_tup_ins) AS n_tup_ins, sum(n_tup_upd) AS n_tup_upd, sum(n_tup_del) AS n_tup_del, sum(n_tup_hot_upd) AS n_tup_hot_upd, sum(n_mod_since_analyze) AS n_mod_since_analyze, sum(vacuum_count) AS vacuum_count, sum(autovacuum_count) AS autovacuum_count, sum(analyze_count) AS analyze_count, sum(autoanalyze_count) AS autoanalyze_count, count(relid) AS tables_counter, sum( case when last_vacuum IS NOT NULL then 1 else 0 end)::bigint as tables_vacuumed, sum( case when last_autovacuum IS NOT NULL then 1 else 0 end)::bigint as tables_autovacuumed, sum( case when last_analyze IS NOT NULL then 1 else 0 end)::bigint as tables_analyzed, sum( case when last_autoanalyze IS NOT NULL then 1 else 0 end)::bigint as tables_autoanalyzed FROM pg_catalog.pg_stat_all_tables group by schemaname;
Date: 2025-10-21 11:20:56 Duration: 1ms Database: azure_maintenance User: azuresu Remote: 169.254.128.1 Application: [unknown] Bind query: yes
9 25 3ms 0ms 0ms 0ms select extname, extowner, extnamespace, extrelocatable, extversion, extconfig, extcondition from pg_catalog.pg_extension;Times Reported Time consuming queries #9
Day Hour Count Duration Avg duration Oct 21 02 1 0ms 0ms 03 1 0ms 0ms 04 1 0ms 0ms 05 1 0ms 0ms 06 1 0ms 0ms 07 1 0ms 0ms 08 1 0ms 0ms 09 1 0ms 0ms 10 1 0ms 0ms 11 1 0ms 0ms 12 1 0ms 0ms 13 1 0ms 0ms 14 1 0ms 0ms 15 1 0ms 0ms 16 1 0ms 0ms 17 1 0ms 0ms 18 1 0ms 0ms 19 1 0ms 0ms 20 1 0ms 0ms 21 1 0ms 0ms 22 1 0ms 0ms 23 2 0ms 0ms 00 1 0ms 0ms 01 1 0ms 0ms [ User: azuresu - Total duration: 3ms - Times executed: 25 ]
[ Application: [unknown] - Total duration: 3ms - Times executed: 25 ]
-
SELECT extname, extowner, extnamespace, extrelocatable, extversion, extconfig, extcondition FROM pg_catalog.pg_extension;
Date: 2025-10-21 19:21:25 Duration: 0ms Database: azure_maintenance User: azuresu Remote: 169.254.128.1 Application: [unknown] Bind query: yes
-
SELECT extname, extowner, extnamespace, extrelocatable, extversion, extconfig, extcondition FROM pg_catalog.pg_extension;
Date: 2025-10-21 07:20:42 Duration: 0ms Database: azure_maintenance User: azuresu Remote: 169.254.128.1 Application: [unknown] Bind query: yes
-
SELECT extname, extowner, extnamespace, extrelocatable, extversion, extconfig, extcondition FROM pg_catalog.pg_extension;
Date: 2025-10-21 03:20:28 Duration: 0ms Database: azure_maintenance User: azuresu Remote: 169.254.128.1 Application: [unknown] Bind query: yes
10 4 174ms 8ms 109ms 43ms select version(); select ns.nspname, t.oid, t.typname, t.typtype, t.typnotnull, t.elemtypoid from ( select typ.oid, typ.typnamespace, typ.typname, typ.typtype, typ.typrelid, typ.typnotnull, typ.relkind, elemtyp.oid as elemtypoid, elemtyp.typname as elemtypname, elemcls.relkind as elemrelkind, case when elemproc.proname = ? then ? else elemtyp.typtype end as elemtyptype from ( select typ.oid, typnamespace, typname, typrelid, typnotnull, relkind, typelem as elemoid, case when proc.proname = ? then ? else typ.typtype end as typtype, case when proc.proname = ? then typ.typelem when typ.typtype = ? then rngsubtype when typ.typtype = ? then ( select rngtypid from pg_range where rngmultitypid = typ.oid) when typ.typtype = ? then typ.typbasetype end as elemtypoid from pg_type as typ left join pg_class as cls on (cls.oid = typ.typrelid) left join pg_proc as proc on proc.oid = typ.typreceive left join pg_range on (pg_range.rngtypid = typ.oid)) as typ left join pg_type as elemtyp on elemtyp.oid = elemtypoid left join pg_class as elemcls on (elemcls.oid = elemtyp.typrelid) left join pg_proc as elemproc on elemproc.oid = elemtyp.typreceive) as t join pg_namespace as ns on (ns.oid = typnamespace) where typtype in (...) or (typtype = ? and relkind = ?) or (typtype = ? and typname in (...)) or (typtype = ? and (elemtyptype in (...) or (elemtyptype = ? and elemtypname in (...)) or (elemtyptype = ? and elemrelkind = ?))) order by case when typtype in (...) then ? when typtype = ? then ? when typtype = ? then ? when typtype = ? then ? when typtype = ? and elemtyptype <> ? then ? when typtype = ? then ? when typtype = ? and elemtyptype = ? then ? end; select typ.oid, att.attname, att.atttypid from pg_type as typ join pg_namespace as ns on (ns.oid = typ.typnamespace) join pg_class as cls on (cls.oid = typ.typrelid) join pg_attribute as att on (att.attrelid = typ.typrelid) where (typ.typtype = ? and cls.relkind = ?) and attnum > ? and not attisdropped order by typ.oid, att.attnum; select pg_type.oid, enumlabel from pg_enum join pg_type on pg_type.oid = enumtypid order by oid, enumsortorder;Times Reported Time consuming queries #10
Day Hour Count Duration Avg duration Oct 21 23 2 119ms 59ms 00 2 54ms 27ms [ User: azuresu - Total duration: 174ms - Times executed: 4 ]
[ Application: [unknown] - Total duration: 174ms - Times executed: 4 ]
-
SELECT version(); SELECT ns.nspname, t.oid, t.typname, t.typtype, t.typnotnull, t.elemtypoid FROM ( -- Arrays have typtype=b - this subquery identifies them by their typreceive and converts their typtype to a -- We first do this for the type (innerest-most subquery), and then for its element type -- This also returns the array element, range subtype and domain base type as elemtypoid SELECT typ.oid, typ.typnamespace, typ.typname, typ.typtype, typ.typrelid, typ.typnotnull, typ.relkind, elemtyp.oid AS elemtypoid, elemtyp.typname AS elemtypname, elemcls.relkind AS elemrelkind, CASE WHEN elemproc.proname = 'array_recv' THEN 'a' ELSE elemtyp.typtype END AS elemtyptype FROM ( SELECT typ.oid, typnamespace, typname, typrelid, typnotnull, relkind, typelem AS elemoid, CASE WHEN proc.proname = 'array_recv' THEN 'a' ELSE typ.typtype END AS typtype, CASE WHEN proc.proname = 'array_recv' THEN typ.typelem WHEN typ.typtype = 'r' THEN rngsubtype WHEN typ.typtype = 'm' THEN ( SELECT rngtypid FROM pg_range WHERE rngmultitypid = typ.oid) WHEN typ.typtype = 'd' THEN typ.typbasetype END AS elemtypoid FROM pg_type AS typ LEFT JOIN pg_class AS cls ON (cls.oid = typ.typrelid) LEFT JOIN pg_proc AS proc ON proc.oid = typ.typreceive LEFT JOIN pg_range ON (pg_range.rngtypid = typ.oid)) AS typ LEFT JOIN pg_type AS elemtyp ON elemtyp.oid = elemtypoid LEFT JOIN pg_class AS elemcls ON (elemcls.oid = elemtyp.typrelid) LEFT JOIN pg_proc AS elemproc ON elemproc.oid = elemtyp.typreceive) AS t JOIN pg_namespace AS ns ON (ns.oid = typnamespace) WHERE typtype IN ('b', 'r', 'm', 'e', 'd') OR -- Base, range, multirange, enum, domain (typtype = 'c' AND relkind = 'c') OR -- User-defined free-standing composites (not table composites) by default (typtype = 'p' AND typname IN ('record', 'void')) OR -- Some special supported pseudo-types (typtype = 'a' AND ( -- Array of... elemtyptype IN ('b', 'r', 'm', 'e', 'd') OR -- Array of base, range, multirange, enum, domain (elemtyptype = 'p' AND elemtypname IN ('record', 'void')) OR -- Arrays of special supported pseudo-types (elemtyptype = 'c' AND elemrelkind = 'c') -- Array of user-defined free-standing composites (not table composites) by default )) ORDER BY CASE WHEN typtype IN ('b', 'e', 'p') THEN 0 -- First base types, enums, pseudo-types WHEN typtype = 'r' THEN 1 -- Ranges after WHEN typtype = 'm' THEN 2 -- Multiranges after WHEN typtype = 'c' THEN 3 -- Composites after WHEN typtype = 'd' AND elemtyptype <> 'a' THEN 4 -- Domains over non-arrays after WHEN typtype = 'a' THEN 5 -- Arrays after WHEN typtype = 'd' AND elemtyptype = 'a' THEN 6 -- Domains over arrays last END; -- Load field definitions for (free-standing) composite types SELECT typ.oid, att.attname, att.atttypid FROM pg_type AS typ JOIN pg_namespace AS ns ON (ns.oid = typ.typnamespace) JOIN pg_class AS cls ON (cls.oid = typ.typrelid) JOIN pg_attribute AS att ON (att.attrelid = typ.typrelid) WHERE (typ.typtype = 'c' AND cls.relkind = 'c') AND attnum > 0 AND -- Don't load system attributes NOT attisdropped ORDER BY typ.oid, att.attnum; -- Load enum fields SELECT pg_type.oid, enumlabel FROM pg_enum JOIN pg_type ON pg_type.oid = enumtypid ORDER BY oid, enumsortorder;
Date: 2025-10-21 21:44:38 Duration: 109ms Database: azure_maintenance User: azuresu Remote: 169.254.128.1 Application: [unknown]
-
SELECT version(); SELECT ns.nspname, t.oid, t.typname, t.typtype, t.typnotnull, t.elemtypoid FROM ( -- Arrays have typtype=b - this subquery identifies them by their typreceive and converts their typtype to a -- We first do this for the type (innerest-most subquery), and then for its element type -- This also returns the array element, range subtype and domain base type as elemtypoid SELECT typ.oid, typ.typnamespace, typ.typname, typ.typtype, typ.typrelid, typ.typnotnull, typ.relkind, elemtyp.oid AS elemtypoid, elemtyp.typname AS elemtypname, elemcls.relkind AS elemrelkind, CASE WHEN elemproc.proname = 'array_recv' THEN 'a' ELSE elemtyp.typtype END AS elemtyptype FROM ( SELECT typ.oid, typnamespace, typname, typrelid, typnotnull, relkind, typelem AS elemoid, CASE WHEN proc.proname = 'array_recv' THEN 'a' ELSE typ.typtype END AS typtype, CASE WHEN proc.proname = 'array_recv' THEN typ.typelem WHEN typ.typtype = 'r' THEN rngsubtype WHEN typ.typtype = 'm' THEN ( SELECT rngtypid FROM pg_range WHERE rngmultitypid = typ.oid) WHEN typ.typtype = 'd' THEN typ.typbasetype END AS elemtypoid FROM pg_type AS typ LEFT JOIN pg_class AS cls ON (cls.oid = typ.typrelid) LEFT JOIN pg_proc AS proc ON proc.oid = typ.typreceive LEFT JOIN pg_range ON (pg_range.rngtypid = typ.oid)) AS typ LEFT JOIN pg_type AS elemtyp ON elemtyp.oid = elemtypoid LEFT JOIN pg_class AS elemcls ON (elemcls.oid = elemtyp.typrelid) LEFT JOIN pg_proc AS elemproc ON elemproc.oid = elemtyp.typreceive) AS t JOIN pg_namespace AS ns ON (ns.oid = typnamespace) WHERE typtype IN ('b', 'r', 'm', 'e', 'd') OR -- Base, range, multirange, enum, domain (typtype = 'c' AND relkind = 'c') OR -- User-defined free-standing composites (not table composites) by default (typtype = 'p' AND typname IN ('record', 'void')) OR -- Some special supported pseudo-types (typtype = 'a' AND ( -- Array of... elemtyptype IN ('b', 'r', 'm', 'e', 'd') OR -- Array of base, range, multirange, enum, domain (elemtyptype = 'p' AND elemtypname IN ('record', 'void')) OR -- Arrays of special supported pseudo-types (elemtyptype = 'c' AND elemrelkind = 'c') -- Array of user-defined free-standing composites (not table composites) by default )) ORDER BY CASE WHEN typtype IN ('b', 'e', 'p') THEN 0 -- First base types, enums, pseudo-types WHEN typtype = 'r' THEN 1 -- Ranges after WHEN typtype = 'm' THEN 2 -- Multiranges after WHEN typtype = 'c' THEN 3 -- Composites after WHEN typtype = 'd' AND elemtyptype <> 'a' THEN 4 -- Domains over non-arrays after WHEN typtype = 'a' THEN 5 -- Arrays after WHEN typtype = 'd' AND elemtyptype = 'a' THEN 6 -- Domains over arrays last END; -- Load field definitions for (free-standing) composite types SELECT typ.oid, att.attname, att.atttypid FROM pg_type AS typ JOIN pg_namespace AS ns ON (ns.oid = typ.typnamespace) JOIN pg_class AS cls ON (cls.oid = typ.typrelid) JOIN pg_attribute AS att ON (att.attrelid = typ.typrelid) WHERE (typ.typtype = 'c' AND cls.relkind = 'c') AND attnum > 0 AND -- Don't load system attributes NOT attisdropped ORDER BY typ.oid, att.attnum; -- Load enum fields SELECT pg_type.oid, enumlabel FROM pg_enum JOIN pg_type ON pg_type.oid = enumtypid ORDER BY oid, enumsortorder;
Date: 2025-10-21 22:03:09 Duration: 46ms Database: azure_maintenance User: azuresu Remote: 169.254.128.1 Application: [unknown]
-
SELECT version(); SELECT ns.nspname, t.oid, t.typname, t.typtype, t.typnotnull, t.elemtypoid FROM ( -- Arrays have typtype=b - this subquery identifies them by their typreceive and converts their typtype to a -- We first do this for the type (innerest-most subquery), and then for its element type -- This also returns the array element, range subtype and domain base type as elemtypoid SELECT typ.oid, typ.typnamespace, typ.typname, typ.typtype, typ.typrelid, typ.typnotnull, typ.relkind, elemtyp.oid AS elemtypoid, elemtyp.typname AS elemtypname, elemcls.relkind AS elemrelkind, CASE WHEN elemproc.proname = 'array_recv' THEN 'a' ELSE elemtyp.typtype END AS elemtyptype FROM ( SELECT typ.oid, typnamespace, typname, typrelid, typnotnull, relkind, typelem AS elemoid, CASE WHEN proc.proname = 'array_recv' THEN 'a' ELSE typ.typtype END AS typtype, CASE WHEN proc.proname = 'array_recv' THEN typ.typelem WHEN typ.typtype = 'r' THEN rngsubtype WHEN typ.typtype = 'm' THEN ( SELECT rngtypid FROM pg_range WHERE rngmultitypid = typ.oid) WHEN typ.typtype = 'd' THEN typ.typbasetype END AS elemtypoid FROM pg_type AS typ LEFT JOIN pg_class AS cls ON (cls.oid = typ.typrelid) LEFT JOIN pg_proc AS proc ON proc.oid = typ.typreceive LEFT JOIN pg_range ON (pg_range.rngtypid = typ.oid)) AS typ LEFT JOIN pg_type AS elemtyp ON elemtyp.oid = elemtypoid LEFT JOIN pg_class AS elemcls ON (elemcls.oid = elemtyp.typrelid) LEFT JOIN pg_proc AS elemproc ON elemproc.oid = elemtyp.typreceive) AS t JOIN pg_namespace AS ns ON (ns.oid = typnamespace) WHERE typtype IN ('b', 'r', 'm', 'e', 'd') OR -- Base, range, multirange, enum, domain (typtype = 'c' AND relkind = 'c') OR -- User-defined free-standing composites (not table composites) by default (typtype = 'p' AND typname IN ('record', 'void')) OR -- Some special supported pseudo-types (typtype = 'a' AND ( -- Array of... elemtyptype IN ('b', 'r', 'm', 'e', 'd') OR -- Array of base, range, multirange, enum, domain (elemtyptype = 'p' AND elemtypname IN ('record', 'void')) OR -- Arrays of special supported pseudo-types (elemtyptype = 'c' AND elemrelkind = 'c') -- Array of user-defined free-standing composites (not table composites) by default )) ORDER BY CASE WHEN typtype IN ('b', 'e', 'p') THEN 0 -- First base types, enums, pseudo-types WHEN typtype = 'r' THEN 1 -- Ranges after WHEN typtype = 'm' THEN 2 -- Multiranges after WHEN typtype = 'c' THEN 3 -- Composites after WHEN typtype = 'd' AND elemtyptype <> 'a' THEN 4 -- Domains over non-arrays after WHEN typtype = 'a' THEN 5 -- Arrays after WHEN typtype = 'd' AND elemtyptype = 'a' THEN 6 -- Domains over arrays last END; -- Load field definitions for (free-standing) composite types SELECT typ.oid, att.attname, att.atttypid FROM pg_type AS typ JOIN pg_namespace AS ns ON (ns.oid = typ.typnamespace) JOIN pg_class AS cls ON (cls.oid = typ.typrelid) JOIN pg_attribute AS att ON (att.attrelid = typ.typrelid) WHERE (typ.typtype = 'c' AND cls.relkind = 'c') AND attnum > 0 AND -- Don't load system attributes NOT attisdropped ORDER BY typ.oid, att.attnum; -- Load enum fields SELECT pg_type.oid, enumlabel FROM pg_enum JOIN pg_type ON pg_type.oid = enumtypid ORDER BY oid, enumsortorder;
Date: 2025-10-21 21:44:39 Duration: 9ms Database: azure_maintenance User: azuresu Remote: 169.254.128.1 Application: [unknown]
11 3 3ms 1ms 1ms 1ms select name as parameter, setting as value, min_val as minimum_value, max_val as maximum_value, reset_val as reset_value, pending_restart as pending_restart, unit as unit, sourcefile as source_file from pg_settings where name in (...);Times Reported Time consuming queries #11
Day Hour Count Duration Avg duration Oct 21 23 1 1ms 1ms 00 1 1ms 1ms 01 1 1ms 1ms [ User: azuresu - Total duration: 3ms - Times executed: 3 ]
[ Application: [unknown] - Total duration: 3ms - Times executed: 3 ]
-
SELECT name AS parameter, setting AS value, min_val AS minimum_value, max_val AS maximum_value, reset_val AS reset_value, pending_restart AS pending_restart, unit AS unit, sourcefile AS source_file FROM pg_settings WHERE name IN ('pgaudit.log', 'pgaudit.log_level', 'pgaudit.log_statement', 'pgaudit.log_statement_once', 'log_checkpoints', 'log_connections', 'log_disconnections', 'password_encryption', 'log_line_prefix', 'require_secure_transport', 'shared_preload_libraries');
Date: 2025-10-21 21:44:39 Duration: 1ms Database: azure_maintenance User: azuresu Remote: 169.254.128.1 Application: [unknown] Bind query: yes
-
SELECT name AS parameter, setting AS value, min_val AS minimum_value, max_val AS maximum_value, reset_val AS reset_value, pending_restart AS pending_restart, unit AS unit, sourcefile AS source_file FROM pg_settings WHERE name IN ('pgaudit.log', 'pgaudit.log_level', 'pgaudit.log_statement', 'pgaudit.log_statement_once', 'log_checkpoints', 'log_connections', 'log_disconnections', 'password_encryption', 'log_line_prefix', 'require_secure_transport', 'shared_preload_libraries');
Date: 2025-10-21 23:03:14 Duration: 1ms Database: azure_maintenance User: azuresu Remote: 169.254.128.1 Application: [unknown] Bind query: yes
-
SELECT name AS parameter, setting AS value, min_val AS minimum_value, max_val AS maximum_value, reset_val AS reset_value, pending_restart AS pending_restart, unit AS unit, sourcefile AS source_file FROM pg_settings WHERE name IN ('pgaudit.log', 'pgaudit.log_level', 'pgaudit.log_statement', 'pgaudit.log_statement_once', 'log_checkpoints', 'log_connections', 'log_disconnections', 'password_encryption', 'log_line_prefix', 'require_secure_transport', 'shared_preload_libraries');
Date: 2025-10-21 22:03:10 Duration: 1ms Database: azure_maintenance User: azuresu Remote: 169.254.128.1 Application: [unknown] Bind query: yes
12 3 0ms 0ms 0ms 0ms select ? as parameter, has_database_privilege(?, ?, ?) as value union all select ? as parameter, has_schema_privilege(?, ?, ?) as value;Times Reported Time consuming queries #12
Day Hour Count Duration Avg duration Oct 21 23 1 0ms 0ms 00 1 0ms 0ms 01 1 0ms 0ms [ User: azuresu - Total duration: 0ms - Times executed: 3 ]
[ Application: [unknown] - Total duration: 0ms - Times executed: 3 ]
-
SELECT 'database_access_privilege' AS parameter, has_database_privilege('public', 'postgres', 'CONNECT') AS value UNION ALL SELECT 'schema_access_privilege' AS parameter, has_schema_privilege('public', 'public', 'USAGE') AS value;
Date: 2025-10-21 23:03:14 Duration: 0ms Database: azure_maintenance User: azuresu Remote: 169.254.128.1 Application: [unknown] Bind query: yes
-
SELECT 'database_access_privilege' AS parameter, has_database_privilege('public', 'postgres', 'CONNECT') AS value UNION ALL SELECT 'schema_access_privilege' AS parameter, has_schema_privilege('public', 'public', 'USAGE') AS value;
Date: 2025-10-21 21:44:39 Duration: 0ms Database: azure_maintenance User: azuresu Remote: 169.254.128.1 Application: [unknown] Bind query: yes
-
SELECT 'database_access_privilege' AS parameter, has_database_privilege('public', 'postgres', 'CONNECT') AS value UNION ALL SELECT 'schema_access_privilege' AS parameter, has_schema_privilege('public', 'public', 'USAGE') AS value;
Date: 2025-10-21 22:03:10 Duration: 0ms Database: azure_maintenance User: azuresu Remote: 169.254.128.1 Application: [unknown] Bind query: yes
13 2 269ms 86ms 183ms 134ms do $pg_availabilitycheck$ begin if ( select true as pg_availability_enabled from pg_settings where name = ? and setting like ?) then drop extension if exists "pg_availability"; create extension "pg_availability" with schema pg_catalog; end if; end $pg_availabilitycheck$;Times Reported Time consuming queries #13
Day Hour Count Duration Avg duration Oct 21 23 1 183ms 183ms 00 1 86ms 86ms [ User: azuresu - Total duration: 269ms - Times executed: 2 ]
[ Application: psql - Total duration: 269ms - Times executed: 2 ]
-
DO $pg_availabilityCheck$ BEGIN IF ( SELECT true AS pg_availability_enabled FROM pg_settings WHERE name = 'shared_preload_libraries' AND setting LIKE '%pg_availability%') THEN DROP EXTENSION IF EXISTS "pg_availability"; CREATE extension "pg_availability" WITH schema pg_catalog; END IF; END $pg_availabilityCheck$;
Date: 2025-10-21 21:50:42 Duration: 183ms Database: azure_maintenance User: azuresu Remote: [local] Application: psql
-
DO $pg_availabilityCheck$ BEGIN IF ( SELECT true AS pg_availability_enabled FROM pg_settings WHERE name = 'shared_preload_libraries' AND setting LIKE '%pg_availability%') THEN DROP EXTENSION IF EXISTS "pg_availability"; CREATE extension "pg_availability" WITH schema pg_catalog; END IF; END $pg_availabilityCheck$;
Date: 2025-10-21 22:02:59 Duration: 86ms Database: azure_maintenance User: azuresu Remote: [local] Application: psql
14 2 10ms 0ms 9ms 5ms select ?;Times Reported Time consuming queries #14
Day Hour Count Duration Avg duration Oct 21 23 1 0ms 0ms 00 1 9ms 9ms [ User: azuresu - Total duration: 10ms - Times executed: 2 ]
[ Application: psql - Total duration: 10ms - Times executed: 2 ]
-
SELECT 1;
Date: 2025-10-21 22:02:59 Duration: 9ms Database: azure_maintenance User: azuresu Remote: [local] Application: psql
-
SELECT 1;
Date: 2025-10-21 21:50:42 Duration: 0ms Database: azure_maintenance User: azuresu Remote: [local] Application: psql
15 2 2ms 0ms 1ms 1ms select ? from pg_catalog.pg_database where datname = ?;Times Reported Time consuming queries #15
Day Hour Count Duration Avg duration Oct 21 23 1 0ms 0ms 00 1 1ms 1ms [ User: azuresu - Total duration: 2ms - Times executed: 2 ]
[ Application: psql - Total duration: 2ms - Times executed: 2 ]
-
SELECT 1 FROM pg_catalog.pg_database WHERE datname = 'azure_sys';
Date: 2025-10-21 22:02:59 Duration: 1ms Database: azure_maintenance User: azuresu Remote: [local] Application: psql
-
SELECT 1 FROM pg_catalog.pg_database WHERE datname = 'azure_sys';
Date: 2025-10-21 21:50:42 Duration: 0ms Database: azure_maintenance User: azuresu Remote: [local] Application: psql
16 2 1ms 0ms 1ms 0ms select pg_am.amname as index_type, count(idstat.indexrelid) as index_count, coalesce(sum(idstat.idx_scan)::bigint, ?) as total_idx_scan, pg_size_pretty(sum(pg_relation_size(idstat.indexrelid))) as total_indices_size from pg_stat_user_indexes as idstat join pg_class as pgc on pgc.oid = idstat.indexrelid join pg_am on pg_am.oid = pgc.relam group by pg_am.amname order by pg_am.amname;Times Reported Time consuming queries #16
Day Hour Count Duration Avg duration Oct 21 23 1 1ms 1ms 00 1 0ms 0ms [ User: azuresu - Total duration: 1ms - Times executed: 2 ]
[ Application: [unknown] - Total duration: 1ms - Times executed: 2 ]
-
SELECT pg_am.amname AS index_type, COUNT(idstat.indexrelid) AS index_count, COALESCE(SUM(idstat.idx_scan)::bigint, 0) AS total_idx_scan, pg_size_pretty(SUM(pg_relation_size(idstat.indexrelid))) AS total_indices_size FROM pg_stat_user_indexes AS idstat JOIN pg_class AS pgc ON pgc.oid = idstat.indexrelid JOIN pg_am ON pg_am.oid = pgc.relam GROUP BY pg_am.amname ORDER BY pg_am.amname;
Date: 2025-10-21 21:44:39 Duration: 1ms Database: azure_maintenance User: azuresu Remote: 169.254.128.1 Application: [unknown] Bind query: yes
-
SELECT pg_am.amname AS index_type, COUNT(idstat.indexrelid) AS index_count, COALESCE(SUM(idstat.idx_scan)::bigint, 0) AS total_idx_scan, pg_size_pretty(SUM(pg_relation_size(idstat.indexrelid))) AS total_indices_size FROM pg_stat_user_indexes AS idstat JOIN pg_class AS pgc ON pgc.oid = idstat.indexrelid JOIN pg_am ON pg_am.oid = pgc.relam GROUP BY pg_am.amname ORDER BY pg_am.amname;
Date: 2025-10-21 22:03:10 Duration: 0ms Database: azure_maintenance User: azuresu Remote: 169.254.128.1 Application: [unknown] Bind query: yes
Normalized slowest queries (N)
Rank Min duration Max duration Avg duration Times executed Total duration Query 1 86ms 183ms 134ms 2 269ms do $pg_availabilitycheck$ begin if ( select true as pg_availability_enabled from pg_settings where name = ? and setting like ?) then drop extension if exists "pg_availability"; create extension "pg_availability" with schema pg_catalog; end if; end $pg_availabilitycheck$;Times Reported Time consuming queries #1
Day Hour Count Duration Avg duration Oct 21 23 1 183ms 183ms 00 1 86ms 86ms [ User: azuresu - Total duration: 269ms - Times executed: 2 ]
[ Application: psql - Total duration: 269ms - Times executed: 2 ]
-
DO $pg_availabilityCheck$ BEGIN IF ( SELECT true AS pg_availability_enabled FROM pg_settings WHERE name = 'shared_preload_libraries' AND setting LIKE '%pg_availability%') THEN DROP EXTENSION IF EXISTS "pg_availability"; CREATE extension "pg_availability" WITH schema pg_catalog; END IF; END $pg_availabilityCheck$;
Date: 2025-10-21 21:50:42 Duration: 183ms Database: azure_maintenance User: azuresu Remote: [local] Application: psql
-
DO $pg_availabilityCheck$ BEGIN IF ( SELECT true AS pg_availability_enabled FROM pg_settings WHERE name = 'shared_preload_libraries' AND setting LIKE '%pg_availability%') THEN DROP EXTENSION IF EXISTS "pg_availability"; CREATE extension "pg_availability" WITH schema pg_catalog; END IF; END $pg_availabilityCheck$;
Date: 2025-10-21 22:02:59 Duration: 86ms Database: azure_maintenance User: azuresu Remote: [local] Application: psql
2 8ms 109ms 43ms 4 174ms select version(); select ns.nspname, t.oid, t.typname, t.typtype, t.typnotnull, t.elemtypoid from ( select typ.oid, typ.typnamespace, typ.typname, typ.typtype, typ.typrelid, typ.typnotnull, typ.relkind, elemtyp.oid as elemtypoid, elemtyp.typname as elemtypname, elemcls.relkind as elemrelkind, case when elemproc.proname = ? then ? else elemtyp.typtype end as elemtyptype from ( select typ.oid, typnamespace, typname, typrelid, typnotnull, relkind, typelem as elemoid, case when proc.proname = ? then ? else typ.typtype end as typtype, case when proc.proname = ? then typ.typelem when typ.typtype = ? then rngsubtype when typ.typtype = ? then ( select rngtypid from pg_range where rngmultitypid = typ.oid) when typ.typtype = ? then typ.typbasetype end as elemtypoid from pg_type as typ left join pg_class as cls on (cls.oid = typ.typrelid) left join pg_proc as proc on proc.oid = typ.typreceive left join pg_range on (pg_range.rngtypid = typ.oid)) as typ left join pg_type as elemtyp on elemtyp.oid = elemtypoid left join pg_class as elemcls on (elemcls.oid = elemtyp.typrelid) left join pg_proc as elemproc on elemproc.oid = elemtyp.typreceive) as t join pg_namespace as ns on (ns.oid = typnamespace) where typtype in (...) or (typtype = ? and relkind = ?) or (typtype = ? and typname in (...)) or (typtype = ? and (elemtyptype in (...) or (elemtyptype = ? and elemtypname in (...)) or (elemtyptype = ? and elemrelkind = ?))) order by case when typtype in (...) then ? when typtype = ? then ? when typtype = ? then ? when typtype = ? then ? when typtype = ? and elemtyptype <> ? then ? when typtype = ? then ? when typtype = ? and elemtyptype = ? then ? end; select typ.oid, att.attname, att.atttypid from pg_type as typ join pg_namespace as ns on (ns.oid = typ.typnamespace) join pg_class as cls on (cls.oid = typ.typrelid) join pg_attribute as att on (att.attrelid = typ.typrelid) where (typ.typtype = ? and cls.relkind = ?) and attnum > ? and not attisdropped order by typ.oid, att.attnum; select pg_type.oid, enumlabel from pg_enum join pg_type on pg_type.oid = enumtypid order by oid, enumsortorder;Times Reported Time consuming queries #2
Day Hour Count Duration Avg duration Oct 21 23 2 119ms 59ms 00 2 54ms 27ms [ User: azuresu - Total duration: 174ms - Times executed: 4 ]
[ Application: [unknown] - Total duration: 174ms - Times executed: 4 ]
-
SELECT version(); SELECT ns.nspname, t.oid, t.typname, t.typtype, t.typnotnull, t.elemtypoid FROM ( -- Arrays have typtype=b - this subquery identifies them by their typreceive and converts their typtype to a -- We first do this for the type (innerest-most subquery), and then for its element type -- This also returns the array element, range subtype and domain base type as elemtypoid SELECT typ.oid, typ.typnamespace, typ.typname, typ.typtype, typ.typrelid, typ.typnotnull, typ.relkind, elemtyp.oid AS elemtypoid, elemtyp.typname AS elemtypname, elemcls.relkind AS elemrelkind, CASE WHEN elemproc.proname = 'array_recv' THEN 'a' ELSE elemtyp.typtype END AS elemtyptype FROM ( SELECT typ.oid, typnamespace, typname, typrelid, typnotnull, relkind, typelem AS elemoid, CASE WHEN proc.proname = 'array_recv' THEN 'a' ELSE typ.typtype END AS typtype, CASE WHEN proc.proname = 'array_recv' THEN typ.typelem WHEN typ.typtype = 'r' THEN rngsubtype WHEN typ.typtype = 'm' THEN ( SELECT rngtypid FROM pg_range WHERE rngmultitypid = typ.oid) WHEN typ.typtype = 'd' THEN typ.typbasetype END AS elemtypoid FROM pg_type AS typ LEFT JOIN pg_class AS cls ON (cls.oid = typ.typrelid) LEFT JOIN pg_proc AS proc ON proc.oid = typ.typreceive LEFT JOIN pg_range ON (pg_range.rngtypid = typ.oid)) AS typ LEFT JOIN pg_type AS elemtyp ON elemtyp.oid = elemtypoid LEFT JOIN pg_class AS elemcls ON (elemcls.oid = elemtyp.typrelid) LEFT JOIN pg_proc AS elemproc ON elemproc.oid = elemtyp.typreceive) AS t JOIN pg_namespace AS ns ON (ns.oid = typnamespace) WHERE typtype IN ('b', 'r', 'm', 'e', 'd') OR -- Base, range, multirange, enum, domain (typtype = 'c' AND relkind = 'c') OR -- User-defined free-standing composites (not table composites) by default (typtype = 'p' AND typname IN ('record', 'void')) OR -- Some special supported pseudo-types (typtype = 'a' AND ( -- Array of... elemtyptype IN ('b', 'r', 'm', 'e', 'd') OR -- Array of base, range, multirange, enum, domain (elemtyptype = 'p' AND elemtypname IN ('record', 'void')) OR -- Arrays of special supported pseudo-types (elemtyptype = 'c' AND elemrelkind = 'c') -- Array of user-defined free-standing composites (not table composites) by default )) ORDER BY CASE WHEN typtype IN ('b', 'e', 'p') THEN 0 -- First base types, enums, pseudo-types WHEN typtype = 'r' THEN 1 -- Ranges after WHEN typtype = 'm' THEN 2 -- Multiranges after WHEN typtype = 'c' THEN 3 -- Composites after WHEN typtype = 'd' AND elemtyptype <> 'a' THEN 4 -- Domains over non-arrays after WHEN typtype = 'a' THEN 5 -- Arrays after WHEN typtype = 'd' AND elemtyptype = 'a' THEN 6 -- Domains over arrays last END; -- Load field definitions for (free-standing) composite types SELECT typ.oid, att.attname, att.atttypid FROM pg_type AS typ JOIN pg_namespace AS ns ON (ns.oid = typ.typnamespace) JOIN pg_class AS cls ON (cls.oid = typ.typrelid) JOIN pg_attribute AS att ON (att.attrelid = typ.typrelid) WHERE (typ.typtype = 'c' AND cls.relkind = 'c') AND attnum > 0 AND -- Don't load system attributes NOT attisdropped ORDER BY typ.oid, att.attnum; -- Load enum fields SELECT pg_type.oid, enumlabel FROM pg_enum JOIN pg_type ON pg_type.oid = enumtypid ORDER BY oid, enumsortorder;
Date: 2025-10-21 21:44:38 Duration: 109ms Database: azure_maintenance User: azuresu Remote: 169.254.128.1 Application: [unknown]
-
SELECT version(); SELECT ns.nspname, t.oid, t.typname, t.typtype, t.typnotnull, t.elemtypoid FROM ( -- Arrays have typtype=b - this subquery identifies them by their typreceive and converts their typtype to a -- We first do this for the type (innerest-most subquery), and then for its element type -- This also returns the array element, range subtype and domain base type as elemtypoid SELECT typ.oid, typ.typnamespace, typ.typname, typ.typtype, typ.typrelid, typ.typnotnull, typ.relkind, elemtyp.oid AS elemtypoid, elemtyp.typname AS elemtypname, elemcls.relkind AS elemrelkind, CASE WHEN elemproc.proname = 'array_recv' THEN 'a' ELSE elemtyp.typtype END AS elemtyptype FROM ( SELECT typ.oid, typnamespace, typname, typrelid, typnotnull, relkind, typelem AS elemoid, CASE WHEN proc.proname = 'array_recv' THEN 'a' ELSE typ.typtype END AS typtype, CASE WHEN proc.proname = 'array_recv' THEN typ.typelem WHEN typ.typtype = 'r' THEN rngsubtype WHEN typ.typtype = 'm' THEN ( SELECT rngtypid FROM pg_range WHERE rngmultitypid = typ.oid) WHEN typ.typtype = 'd' THEN typ.typbasetype END AS elemtypoid FROM pg_type AS typ LEFT JOIN pg_class AS cls ON (cls.oid = typ.typrelid) LEFT JOIN pg_proc AS proc ON proc.oid = typ.typreceive LEFT JOIN pg_range ON (pg_range.rngtypid = typ.oid)) AS typ LEFT JOIN pg_type AS elemtyp ON elemtyp.oid = elemtypoid LEFT JOIN pg_class AS elemcls ON (elemcls.oid = elemtyp.typrelid) LEFT JOIN pg_proc AS elemproc ON elemproc.oid = elemtyp.typreceive) AS t JOIN pg_namespace AS ns ON (ns.oid = typnamespace) WHERE typtype IN ('b', 'r', 'm', 'e', 'd') OR -- Base, range, multirange, enum, domain (typtype = 'c' AND relkind = 'c') OR -- User-defined free-standing composites (not table composites) by default (typtype = 'p' AND typname IN ('record', 'void')) OR -- Some special supported pseudo-types (typtype = 'a' AND ( -- Array of... elemtyptype IN ('b', 'r', 'm', 'e', 'd') OR -- Array of base, range, multirange, enum, domain (elemtyptype = 'p' AND elemtypname IN ('record', 'void')) OR -- Arrays of special supported pseudo-types (elemtyptype = 'c' AND elemrelkind = 'c') -- Array of user-defined free-standing composites (not table composites) by default )) ORDER BY CASE WHEN typtype IN ('b', 'e', 'p') THEN 0 -- First base types, enums, pseudo-types WHEN typtype = 'r' THEN 1 -- Ranges after WHEN typtype = 'm' THEN 2 -- Multiranges after WHEN typtype = 'c' THEN 3 -- Composites after WHEN typtype = 'd' AND elemtyptype <> 'a' THEN 4 -- Domains over non-arrays after WHEN typtype = 'a' THEN 5 -- Arrays after WHEN typtype = 'd' AND elemtyptype = 'a' THEN 6 -- Domains over arrays last END; -- Load field definitions for (free-standing) composite types SELECT typ.oid, att.attname, att.atttypid FROM pg_type AS typ JOIN pg_namespace AS ns ON (ns.oid = typ.typnamespace) JOIN pg_class AS cls ON (cls.oid = typ.typrelid) JOIN pg_attribute AS att ON (att.attrelid = typ.typrelid) WHERE (typ.typtype = 'c' AND cls.relkind = 'c') AND attnum > 0 AND -- Don't load system attributes NOT attisdropped ORDER BY typ.oid, att.attnum; -- Load enum fields SELECT pg_type.oid, enumlabel FROM pg_enum JOIN pg_type ON pg_type.oid = enumtypid ORDER BY oid, enumsortorder;
Date: 2025-10-21 22:03:09 Duration: 46ms Database: azure_maintenance User: azuresu Remote: 169.254.128.1 Application: [unknown]
-
SELECT version(); SELECT ns.nspname, t.oid, t.typname, t.typtype, t.typnotnull, t.elemtypoid FROM ( -- Arrays have typtype=b - this subquery identifies them by their typreceive and converts their typtype to a -- We first do this for the type (innerest-most subquery), and then for its element type -- This also returns the array element, range subtype and domain base type as elemtypoid SELECT typ.oid, typ.typnamespace, typ.typname, typ.typtype, typ.typrelid, typ.typnotnull, typ.relkind, elemtyp.oid AS elemtypoid, elemtyp.typname AS elemtypname, elemcls.relkind AS elemrelkind, CASE WHEN elemproc.proname = 'array_recv' THEN 'a' ELSE elemtyp.typtype END AS elemtyptype FROM ( SELECT typ.oid, typnamespace, typname, typrelid, typnotnull, relkind, typelem AS elemoid, CASE WHEN proc.proname = 'array_recv' THEN 'a' ELSE typ.typtype END AS typtype, CASE WHEN proc.proname = 'array_recv' THEN typ.typelem WHEN typ.typtype = 'r' THEN rngsubtype WHEN typ.typtype = 'm' THEN ( SELECT rngtypid FROM pg_range WHERE rngmultitypid = typ.oid) WHEN typ.typtype = 'd' THEN typ.typbasetype END AS elemtypoid FROM pg_type AS typ LEFT JOIN pg_class AS cls ON (cls.oid = typ.typrelid) LEFT JOIN pg_proc AS proc ON proc.oid = typ.typreceive LEFT JOIN pg_range ON (pg_range.rngtypid = typ.oid)) AS typ LEFT JOIN pg_type AS elemtyp ON elemtyp.oid = elemtypoid LEFT JOIN pg_class AS elemcls ON (elemcls.oid = elemtyp.typrelid) LEFT JOIN pg_proc AS elemproc ON elemproc.oid = elemtyp.typreceive) AS t JOIN pg_namespace AS ns ON (ns.oid = typnamespace) WHERE typtype IN ('b', 'r', 'm', 'e', 'd') OR -- Base, range, multirange, enum, domain (typtype = 'c' AND relkind = 'c') OR -- User-defined free-standing composites (not table composites) by default (typtype = 'p' AND typname IN ('record', 'void')) OR -- Some special supported pseudo-types (typtype = 'a' AND ( -- Array of... elemtyptype IN ('b', 'r', 'm', 'e', 'd') OR -- Array of base, range, multirange, enum, domain (elemtyptype = 'p' AND elemtypname IN ('record', 'void')) OR -- Arrays of special supported pseudo-types (elemtyptype = 'c' AND elemrelkind = 'c') -- Array of user-defined free-standing composites (not table composites) by default )) ORDER BY CASE WHEN typtype IN ('b', 'e', 'p') THEN 0 -- First base types, enums, pseudo-types WHEN typtype = 'r' THEN 1 -- Ranges after WHEN typtype = 'm' THEN 2 -- Multiranges after WHEN typtype = 'c' THEN 3 -- Composites after WHEN typtype = 'd' AND elemtyptype <> 'a' THEN 4 -- Domains over non-arrays after WHEN typtype = 'a' THEN 5 -- Arrays after WHEN typtype = 'd' AND elemtyptype = 'a' THEN 6 -- Domains over arrays last END; -- Load field definitions for (free-standing) composite types SELECT typ.oid, att.attname, att.atttypid FROM pg_type AS typ JOIN pg_namespace AS ns ON (ns.oid = typ.typnamespace) JOIN pg_class AS cls ON (cls.oid = typ.typrelid) JOIN pg_attribute AS att ON (att.attrelid = typ.typrelid) WHERE (typ.typtype = 'c' AND cls.relkind = 'c') AND attnum > 0 AND -- Don't load system attributes NOT attisdropped ORDER BY typ.oid, att.attnum; -- Load enum fields SELECT pg_type.oid, enumlabel FROM pg_enum JOIN pg_type ON pg_type.oid = enumtypid ORDER BY oid, enumsortorder;
Date: 2025-10-21 21:44:39 Duration: 9ms Database: azure_maintenance User: azuresu Remote: 169.254.128.1 Application: [unknown]
3 0ms 9ms 5ms 2 10ms select ?;Times Reported Time consuming queries #3
Day Hour Count Duration Avg duration Oct 21 23 1 0ms 0ms 00 1 9ms 9ms [ User: azuresu - Total duration: 10ms - Times executed: 2 ]
[ Application: psql - Total duration: 10ms - Times executed: 2 ]
-
SELECT 1;
Date: 2025-10-21 22:02:59 Duration: 9ms Database: azure_maintenance User: azuresu Remote: [local] Application: psql
-
SELECT 1;
Date: 2025-10-21 21:50:42 Duration: 0ms Database: azure_maintenance User: azuresu Remote: [local] Application: psql
4 0ms 1ms 1ms 2 2ms select ? from pg_catalog.pg_database where datname = ?;Times Reported Time consuming queries #4
Day Hour Count Duration Avg duration Oct 21 23 1 0ms 0ms 00 1 1ms 1ms [ User: azuresu - Total duration: 2ms - Times executed: 2 ]
[ Application: psql - Total duration: 2ms - Times executed: 2 ]
-
SELECT 1 FROM pg_catalog.pg_database WHERE datname = 'azure_sys';
Date: 2025-10-21 22:02:59 Duration: 1ms Database: azure_maintenance User: azuresu Remote: [local] Application: psql
-
SELECT 1 FROM pg_catalog.pg_database WHERE datname = 'azure_sys';
Date: 2025-10-21 21:50:42 Duration: 0ms Database: azure_maintenance User: azuresu Remote: [local] Application: psql
5 1ms 1ms 1ms 3 3ms select name as parameter, setting as value, min_val as minimum_value, max_val as maximum_value, reset_val as reset_value, pending_restart as pending_restart, unit as unit, sourcefile as source_file from pg_settings where name in (...);Times Reported Time consuming queries #5
Day Hour Count Duration Avg duration Oct 21 23 1 1ms 1ms 00 1 1ms 1ms 01 1 1ms 1ms [ User: azuresu - Total duration: 3ms - Times executed: 3 ]
[ Application: [unknown] - Total duration: 3ms - Times executed: 3 ]
-
SELECT name AS parameter, setting AS value, min_val AS minimum_value, max_val AS maximum_value, reset_val AS reset_value, pending_restart AS pending_restart, unit AS unit, sourcefile AS source_file FROM pg_settings WHERE name IN ('pgaudit.log', 'pgaudit.log_level', 'pgaudit.log_statement', 'pgaudit.log_statement_once', 'log_checkpoints', 'log_connections', 'log_disconnections', 'password_encryption', 'log_line_prefix', 'require_secure_transport', 'shared_preload_libraries');
Date: 2025-10-21 21:44:39 Duration: 1ms Database: azure_maintenance User: azuresu Remote: 169.254.128.1 Application: [unknown] Bind query: yes
-
SELECT name AS parameter, setting AS value, min_val AS minimum_value, max_val AS maximum_value, reset_val AS reset_value, pending_restart AS pending_restart, unit AS unit, sourcefile AS source_file FROM pg_settings WHERE name IN ('pgaudit.log', 'pgaudit.log_level', 'pgaudit.log_statement', 'pgaudit.log_statement_once', 'log_checkpoints', 'log_connections', 'log_disconnections', 'password_encryption', 'log_line_prefix', 'require_secure_transport', 'shared_preload_libraries');
Date: 2025-10-21 23:03:14 Duration: 1ms Database: azure_maintenance User: azuresu Remote: 169.254.128.1 Application: [unknown] Bind query: yes
-
SELECT name AS parameter, setting AS value, min_val AS minimum_value, max_val AS maximum_value, reset_val AS reset_value, pending_restart AS pending_restart, unit AS unit, sourcefile AS source_file FROM pg_settings WHERE name IN ('pgaudit.log', 'pgaudit.log_level', 'pgaudit.log_statement', 'pgaudit.log_statement_once', 'log_checkpoints', 'log_connections', 'log_disconnections', 'password_encryption', 'log_line_prefix', 'require_secure_transport', 'shared_preload_libraries');
Date: 2025-10-21 22:03:10 Duration: 1ms Database: azure_maintenance User: azuresu Remote: 169.254.128.1 Application: [unknown] Bind query: yes
6 0ms 1ms 1ms 48 50ms select schemaname, sum(n_live_tup) as n_live_tup, sum(n_dead_tup) as n_dead_tup, sum(seq_scan) as seq_scan, sum(seq_tup_read) as seq_tup_read, sum(idx_scan) as idx_scan, sum(idx_tup_fetch) as idx_tup_fetch, sum(n_tup_ins) as n_tup_ins, sum(n_tup_upd) as n_tup_upd, sum(n_tup_del) as n_tup_del, sum(n_tup_hot_upd) as n_tup_hot_upd, sum(n_mod_since_analyze) as n_mod_since_analyze, sum(vacuum_count) as vacuum_count, sum(autovacuum_count) as autovacuum_count, sum(analyze_count) as analyze_count, sum(autoanalyze_count) as autoanalyze_count, count(relid) as tables_counter, sum( case when last_vacuum is not null then ? else ? end)::bigint as tables_vacuumed, sum( case when last_autovacuum is not null then ? else ? end)::bigint as tables_autovacuumed, sum( case when last_analyze is not null then ? else ? end)::bigint as tables_analyzed, sum( case when last_autoanalyze is not null then ? else ? end)::bigint as tables_autoanalyzed from pg_catalog.pg_stat_all_tables group by schemaname;Times Reported Time consuming queries #6
Day Hour Count Duration Avg duration Oct 21 02 2 1ms 0ms 03 2 2ms 1ms 04 2 1ms 0ms 05 2 1ms 0ms 06 2 1ms 0ms 07 2 2ms 1ms 08 2 2ms 1ms 09 2 1ms 0ms 10 2 2ms 1ms 11 2 2ms 1ms 12 2 2ms 1ms 13 2 2ms 1ms 14 2 1ms 0ms 15 2 2ms 1ms 16 2 2ms 1ms 17 2 2ms 1ms 18 2 2ms 1ms 19 2 2ms 1ms 20 2 2ms 1ms 21 2 2ms 1ms 22 2 1ms 0ms 23 2 1ms 0ms 00 2 2ms 1ms 01 2 2ms 1ms [ User: azuresu - Total duration: 50ms - Times executed: 48 ]
[ Application: [unknown] - Total duration: 50ms - Times executed: 48 ]
-
SELECT schemaname, sum(n_live_tup) AS n_live_tup, sum(n_dead_tup) AS n_dead_tup, sum(seq_scan) AS seq_scan, sum(seq_tup_read) AS seq_tup_read, sum(idx_scan) AS idx_scan, sum(idx_tup_fetch) AS idx_tup_fetch, sum(n_tup_ins) AS n_tup_ins, sum(n_tup_upd) AS n_tup_upd, sum(n_tup_del) AS n_tup_del, sum(n_tup_hot_upd) AS n_tup_hot_upd, sum(n_mod_since_analyze) AS n_mod_since_analyze, sum(vacuum_count) AS vacuum_count, sum(autovacuum_count) AS autovacuum_count, sum(analyze_count) AS analyze_count, sum(autoanalyze_count) AS autoanalyze_count, count(relid) AS tables_counter, sum( case when last_vacuum IS NOT NULL then 1 else 0 end)::bigint as tables_vacuumed, sum( case when last_autovacuum IS NOT NULL then 1 else 0 end)::bigint as tables_autovacuumed, sum( case when last_analyze IS NOT NULL then 1 else 0 end)::bigint as tables_analyzed, sum( case when last_autoanalyze IS NOT NULL then 1 else 0 end)::bigint as tables_autoanalyzed FROM pg_catalog.pg_stat_all_tables group by schemaname;
Date: 2025-10-21 15:51:12 Duration: 1ms Database: azure_maintenance User: azuresu Remote: 169.254.128.1 Application: [unknown] Bind query: yes
-
SELECT schemaname, sum(n_live_tup) AS n_live_tup, sum(n_dead_tup) AS n_dead_tup, sum(seq_scan) AS seq_scan, sum(seq_tup_read) AS seq_tup_read, sum(idx_scan) AS idx_scan, sum(idx_tup_fetch) AS idx_tup_fetch, sum(n_tup_ins) AS n_tup_ins, sum(n_tup_upd) AS n_tup_upd, sum(n_tup_del) AS n_tup_del, sum(n_tup_hot_upd) AS n_tup_hot_upd, sum(n_mod_since_analyze) AS n_mod_since_analyze, sum(vacuum_count) AS vacuum_count, sum(autovacuum_count) AS autovacuum_count, sum(analyze_count) AS analyze_count, sum(autoanalyze_count) AS autoanalyze_count, count(relid) AS tables_counter, sum( case when last_vacuum IS NOT NULL then 1 else 0 end)::bigint as tables_vacuumed, sum( case when last_autovacuum IS NOT NULL then 1 else 0 end)::bigint as tables_autovacuumed, sum( case when last_analyze IS NOT NULL then 1 else 0 end)::bigint as tables_analyzed, sum( case when last_autoanalyze IS NOT NULL then 1 else 0 end)::bigint as tables_autoanalyzed FROM pg_catalog.pg_stat_all_tables group by schemaname;
Date: 2025-10-21 06:50:40 Duration: 1ms Database: azure_maintenance User: azuresu Remote: 169.254.128.1 Application: [unknown] Bind query: yes
-
SELECT schemaname, sum(n_live_tup) AS n_live_tup, sum(n_dead_tup) AS n_dead_tup, sum(seq_scan) AS seq_scan, sum(seq_tup_read) AS seq_tup_read, sum(idx_scan) AS idx_scan, sum(idx_tup_fetch) AS idx_tup_fetch, sum(n_tup_ins) AS n_tup_ins, sum(n_tup_upd) AS n_tup_upd, sum(n_tup_del) AS n_tup_del, sum(n_tup_hot_upd) AS n_tup_hot_upd, sum(n_mod_since_analyze) AS n_mod_since_analyze, sum(vacuum_count) AS vacuum_count, sum(autovacuum_count) AS autovacuum_count, sum(analyze_count) AS analyze_count, sum(autoanalyze_count) AS autoanalyze_count, count(relid) AS tables_counter, sum( case when last_vacuum IS NOT NULL then 1 else 0 end)::bigint as tables_vacuumed, sum( case when last_autovacuum IS NOT NULL then 1 else 0 end)::bigint as tables_autovacuumed, sum( case when last_analyze IS NOT NULL then 1 else 0 end)::bigint as tables_analyzed, sum( case when last_autoanalyze IS NOT NULL then 1 else 0 end)::bigint as tables_autoanalyzed FROM pg_catalog.pg_stat_all_tables group by schemaname;
Date: 2025-10-21 11:20:56 Duration: 1ms Database: azure_maintenance User: azuresu Remote: 169.254.128.1 Application: [unknown] Bind query: yes
7 0ms 271ms 0ms 23,024 22s888ms commit;Times Reported Time consuming queries #7
Day Hour Count Duration Avg duration Oct 21 02 958 923ms 0ms 03 964 926ms 0ms 04 960 913ms 0ms 05 960 957ms 0ms 06 960 923ms 0ms 07 956 912ms 0ms 08 966 986ms 1ms 09 962 913ms 0ms 10 962 898ms 0ms 11 960 926ms 0ms 12 960 934ms 0ms 13 964 1s 1ms 14 958 904ms 0ms 15 962 942ms 0ms 16 962 901ms 0ms 17 958 914ms 0ms 18 962 913ms 0ms 19 958 931ms 0ms 20 964 1s151ms 1ms 21 960 922ms 0ms 22 960 895ms 0ms 23 948 1s367ms 1ms 00 934 920ms 0ms 01 966 907ms 0ms [ User: azuresu - Total duration: 22s888ms - Times executed: 23024 ]
[ Application: [unknown] - Total duration: 22s888ms - Times executed: 23024 ]
-
commit;
Date: 2025-10-21 21:58:07 Duration: 271ms Database: azure_maintenance User: azuresu Remote: 169.254.128.1 Application: [unknown] Bind query: yes
-
commit;
Date: 2025-10-21 21:52:25 Duration: 173ms Database: azure_maintenance User: azuresu Remote: 169.254.128.1 Application: [unknown] Bind query: yes
-
commit;
Date: 2025-10-21 11:47:48 Duration: 53ms Database: azure_maintenance User: azuresu Remote: 169.254.128.1 Application: [unknown] Bind query: yes
8 0ms 1ms 0ms 2 1ms select pg_am.amname as index_type, count(idstat.indexrelid) as index_count, coalesce(sum(idstat.idx_scan)::bigint, ?) as total_idx_scan, pg_size_pretty(sum(pg_relation_size(idstat.indexrelid))) as total_indices_size from pg_stat_user_indexes as idstat join pg_class as pgc on pgc.oid = idstat.indexrelid join pg_am on pg_am.oid = pgc.relam group by pg_am.amname order by pg_am.amname;Times Reported Time consuming queries #8
Day Hour Count Duration Avg duration Oct 21 23 1 1ms 1ms 00 1 0ms 0ms [ User: azuresu - Total duration: 1ms - Times executed: 2 ]
[ Application: [unknown] - Total duration: 1ms - Times executed: 2 ]
-
SELECT pg_am.amname AS index_type, COUNT(idstat.indexrelid) AS index_count, COALESCE(SUM(idstat.idx_scan)::bigint, 0) AS total_idx_scan, pg_size_pretty(SUM(pg_relation_size(idstat.indexrelid))) AS total_indices_size FROM pg_stat_user_indexes AS idstat JOIN pg_class AS pgc ON pgc.oid = idstat.indexrelid JOIN pg_am ON pg_am.oid = pgc.relam GROUP BY pg_am.amname ORDER BY pg_am.amname;
Date: 2025-10-21 21:44:39 Duration: 1ms Database: azure_maintenance User: azuresu Remote: 169.254.128.1 Application: [unknown] Bind query: yes
-
SELECT pg_am.amname AS index_type, COUNT(idstat.indexrelid) AS index_count, COALESCE(SUM(idstat.idx_scan)::bigint, 0) AS total_idx_scan, pg_size_pretty(SUM(pg_relation_size(idstat.indexrelid))) AS total_indices_size FROM pg_stat_user_indexes AS idstat JOIN pg_class AS pgc ON pgc.oid = idstat.indexrelid JOIN pg_am ON pg_am.oid = pgc.relam GROUP BY pg_am.amname ORDER BY pg_am.amname;
Date: 2025-10-21 22:03:10 Duration: 0ms Database: azure_maintenance User: azuresu Remote: 169.254.128.1 Application: [unknown] Bind query: yes
9 0ms 14ms 0ms 19,184 4s511ms set session authorization default; reset all; close "..." *; select pg_advisory_unlock_all(); discard sequences; discard temp;Times Reported Time consuming queries #9
Day Hour Count Duration Avg duration Oct 21 02 798 185ms 0ms 03 804 187ms 0ms 04 800 193ms 0ms 05 800 189ms 0ms 06 800 187ms 0ms 07 796 188ms 0ms 08 805 193ms 0ms 09 802 196ms 0ms 10 802 185ms 0ms 11 800 205ms 0ms 12 800 190ms 0ms 13 803 185ms 0ms 14 798 186ms 0ms 15 802 188ms 0ms 16 802 188ms 0ms 17 798 184ms 0ms 18 802 190ms 0ms 19 798 190ms 0ms 20 803 189ms 0ms 21 800 189ms 0ms 22 800 189ms 0ms 23 789 191ms 0ms 00 777 164ms 0ms 01 805 167ms 0ms [ User: azuresu - Total duration: 4s511ms - Times executed: 19184 ]
[ Application: [unknown] - Total duration: 4s511ms - Times executed: 19184 ]
-
SET SESSION AUTHORIZATION DEFAULT; RESET ALL; CLOSE ALL; UNLISTEN *; SELECT pg_advisory_unlock_all(); DISCARD SEQUENCES; DISCARD TEMP;
Date: 2025-10-21 09:40:19 Duration: 14ms Database: azure_maintenance User: azuresu Remote: 169.254.128.1 Application: [unknown]
-
SET SESSION AUTHORIZATION DEFAULT; RESET ALL; CLOSE ALL; UNLISTEN *; SELECT pg_advisory_unlock_all(); DISCARD SEQUENCES; DISCARD TEMP;
Date: 2025-10-21 21:50:47 Duration: 6ms Database: azure_maintenance User: azuresu Remote: 169.254.128.1 Application: [unknown]
-
SET SESSION AUTHORIZATION DEFAULT; RESET ALL; CLOSE ALL; UNLISTEN *; SELECT pg_advisory_unlock_all(); DISCARD SEQUENCES; DISCARD TEMP;
Date: 2025-10-21 07:25:32 Duration: 5ms Database: azure_maintenance User: azuresu Remote: 169.254.128.1 Application: [unknown]
10 0ms 3ms 0ms 11,512 1s946ms create table if not exists public.lsnmover ( single_row_id bool default true, id bigint, update_time timestamp default now(), constraint ensure_one_row check (single_row_id), constraint lsnmover_pk primary key (single_row_id) );Times Reported Time consuming queries #10
Day Hour Count Duration Avg duration Oct 21 02 479 80ms 0ms 03 482 84ms 0ms 04 480 80ms 0ms 05 480 76ms 0ms 06 480 76ms 0ms 07 478 75ms 0ms 08 483 105ms 0ms 09 481 85ms 0ms 10 481 82ms 0ms 11 480 75ms 0ms 12 480 83ms 0ms 13 482 82ms 0ms 14 479 81ms 0ms 15 481 77ms 0ms 16 481 80ms 0ms 17 479 77ms 0ms 18 481 78ms 0ms 19 479 80ms 0ms 20 482 99ms 0ms 21 480 75ms 0ms 22 480 85ms 0ms 23 474 81ms 0ms 00 467 69ms 0ms 01 483 69ms 0ms [ User: azuresu - Total duration: 1s946ms - Times executed: 11512 ]
[ Application: [unknown] - Total duration: 1s946ms - Times executed: 11512 ]
-
create table if not exists public.lsnmover ( single_row_id bool default true, id bigint, update_time timestamp default now(), constraint ensure_one_row CHECK (single_row_id), constraint lsnmover_pk primary key (single_row_id) );
Date: 2025-10-21 12:40:20 Duration: 3ms Database: azure_maintenance User: azuresu Remote: 169.254.128.1 Application: [unknown] Bind query: yes
-
create table if not exists public.lsnmover ( single_row_id bool default true, id bigint, update_time timestamp default now(), constraint ensure_one_row CHECK (single_row_id), constraint lsnmover_pk primary key (single_row_id) );
Date: 2025-10-21 10:44:24 Duration: 3ms Database: azure_maintenance User: azuresu Remote: 169.254.128.1 Application: [unknown] Bind query: yes
-
create table if not exists public.lsnmover ( single_row_id bool default true, id bigint, update_time timestamp default now(), constraint ensure_one_row CHECK (single_row_id), constraint lsnmover_pk primary key (single_row_id) );
Date: 2025-10-21 14:20:21 Duration: 3ms Database: azure_maintenance User: azuresu Remote: 169.254.128.1 Application: [unknown] Bind query: yes
11 0ms 4ms 0ms 11,512 1s809ms insert into public.lsnmover (id, update_time) select ?, now() on conflict on constraint lsnmover_pk do update set id = public.lsnmover.id + ?, update_time = now();Times Reported Time consuming queries #11
Day Hour Count Duration Avg duration Oct 21 02 479 72ms 0ms 03 482 77ms 0ms 04 480 78ms 0ms 05 480 73ms 0ms 06 480 74ms 0ms 07 478 81ms 0ms 08 483 86ms 0ms 09 481 75ms 0ms 10 481 72ms 0ms 11 480 70ms 0ms 12 480 74ms 0ms 13 482 71ms 0ms 14 479 76ms 0ms 15 481 74ms 0ms 16 481 72ms 0ms 17 479 71ms 0ms 18 481 74ms 0ms 19 479 77ms 0ms 20 482 88ms 0ms 21 480 73ms 0ms 22 480 76ms 0ms 23 474 80ms 0ms 00 467 66ms 0ms 01 483 69ms 0ms [ User: azuresu - Total duration: 1s809ms - Times executed: 11512 ]
[ Application: [unknown] - Total duration: 1s809ms - Times executed: 11512 ]
-
insert into public.lsnmover (id, update_time) select 1, now() on conflict on constraint lsnmover_pk do update set id = public.lsnmover.id + 1, update_time = now();
Date: 2025-10-21 21:50:47 Duration: 4ms Database: azure_maintenance User: azuresu Remote: 169.254.128.1 Application: [unknown] Bind query: yes
-
insert into public.lsnmover (id, update_time) select 1, now() on conflict on constraint lsnmover_pk do update set id = public.lsnmover.id + 1, update_time = now();
Date: 2025-10-21 05:26:00 Duration: 4ms Database: azure_maintenance User: azuresu Remote: 169.254.128.1 Application: [unknown] Bind query: yes
-
insert into public.lsnmover (id, update_time) select 1, now() on conflict on constraint lsnmover_pk do update set id = public.lsnmover.id + 1, update_time = now();
Date: 2025-10-21 02:27:09 Duration: 2ms Database: azure_maintenance User: azuresu Remote: 169.254.128.1 Application: [unknown] Bind query: yes
12 0ms 0ms 0ms 25 3ms select extname, extowner, extnamespace, extrelocatable, extversion, extconfig, extcondition from pg_catalog.pg_extension;Times Reported Time consuming queries #12
Day Hour Count Duration Avg duration Oct 21 02 1 0ms 0ms 03 1 0ms 0ms 04 1 0ms 0ms 05 1 0ms 0ms 06 1 0ms 0ms 07 1 0ms 0ms 08 1 0ms 0ms 09 1 0ms 0ms 10 1 0ms 0ms 11 1 0ms 0ms 12 1 0ms 0ms 13 1 0ms 0ms 14 1 0ms 0ms 15 1 0ms 0ms 16 1 0ms 0ms 17 1 0ms 0ms 18 1 0ms 0ms 19 1 0ms 0ms 20 1 0ms 0ms 21 1 0ms 0ms 22 1 0ms 0ms 23 2 0ms 0ms 00 1 0ms 0ms 01 1 0ms 0ms [ User: azuresu - Total duration: 3ms - Times executed: 25 ]
[ Application: [unknown] - Total duration: 3ms - Times executed: 25 ]
-
SELECT extname, extowner, extnamespace, extrelocatable, extversion, extconfig, extcondition FROM pg_catalog.pg_extension;
Date: 2025-10-21 19:21:25 Duration: 0ms Database: azure_maintenance User: azuresu Remote: 169.254.128.1 Application: [unknown] Bind query: yes
-
SELECT extname, extowner, extnamespace, extrelocatable, extversion, extconfig, extcondition FROM pg_catalog.pg_extension;
Date: 2025-10-21 07:20:42 Duration: 0ms Database: azure_maintenance User: azuresu Remote: 169.254.128.1 Application: [unknown] Bind query: yes
-
SELECT extname, extowner, extnamespace, extrelocatable, extversion, extconfig, extcondition FROM pg_catalog.pg_extension;
Date: 2025-10-21 03:20:28 Duration: 0ms Database: azure_maintenance User: azuresu Remote: 169.254.128.1 Application: [unknown] Bind query: yes
13 0ms 0ms 0ms 3 0ms select ? as parameter, has_database_privilege(?, ?, ?) as value union all select ? as parameter, has_schema_privilege(?, ?, ?) as value;Times Reported Time consuming queries #13
Day Hour Count Duration Avg duration Oct 21 23 1 0ms 0ms 00 1 0ms 0ms 01 1 0ms 0ms [ User: azuresu - Total duration: 0ms - Times executed: 3 ]
[ Application: [unknown] - Total duration: 0ms - Times executed: 3 ]
-
SELECT 'database_access_privilege' AS parameter, has_database_privilege('public', 'postgres', 'CONNECT') AS value UNION ALL SELECT 'schema_access_privilege' AS parameter, has_schema_privilege('public', 'public', 'USAGE') AS value;
Date: 2025-10-21 23:03:14 Duration: 0ms Database: azure_maintenance User: azuresu Remote: 169.254.128.1 Application: [unknown] Bind query: yes
-
SELECT 'database_access_privilege' AS parameter, has_database_privilege('public', 'postgres', 'CONNECT') AS value UNION ALL SELECT 'schema_access_privilege' AS parameter, has_schema_privilege('public', 'public', 'USAGE') AS value;
Date: 2025-10-21 21:44:39 Duration: 0ms Database: azure_maintenance User: azuresu Remote: 169.254.128.1 Application: [unknown] Bind query: yes
-
SELECT 'database_access_privilege' AS parameter, has_database_privilege('public', 'postgres', 'CONNECT') AS value UNION ALL SELECT 'schema_access_privilege' AS parameter, has_schema_privilege('public', 'public', 'USAGE') AS value;
Date: 2025-10-21 22:03:10 Duration: 0ms Database: azure_maintenance User: azuresu Remote: 169.254.128.1 Application: [unknown] Bind query: yes
14 0ms 0ms 0ms 81 4ms set session statement_timeout to ?;Times Reported Time consuming queries #14
Day Hour Count Duration Avg duration Oct 21 02 3 0ms 0ms 03 3 0ms 0ms 04 3 0ms 0ms 05 3 0ms 0ms 06 3 0ms 0ms 07 3 0ms 0ms 08 3 0ms 0ms 09 3 0ms 0ms 10 3 0ms 0ms 11 3 0ms 0ms 12 3 0ms 0ms 13 3 0ms 0ms 14 3 0ms 0ms 15 3 0ms 0ms 16 3 0ms 0ms 17 3 0ms 0ms 18 3 0ms 0ms 19 3 0ms 0ms 20 3 0ms 0ms 21 3 0ms 0ms 22 3 0ms 0ms 23 7 0ms 0ms 00 6 0ms 0ms 01 5 0ms 0ms [ User: azuresu - Total duration: 4ms - Times executed: 81 ]
[ Application: [unknown] - Total duration: 4ms - Times executed: 81 ]
-
set session statement_timeout to 60000;
Date: 2025-10-21 19:51:27 Duration: 0ms Database: azure_maintenance User: azuresu Remote: 169.254.128.1 Application: [unknown] Bind query: yes
-
set session statement_timeout to 60000;
Date: 2025-10-21 09:50:51 Duration: 0ms Database: azure_maintenance User: azuresu Remote: 169.254.128.1 Application: [unknown] Bind query: yes
-
set session statement_timeout to 120000;
Date: 2025-10-21 09:20:49 Duration: 0ms Database: azure_maintenance User: azuresu Remote: 169.254.128.1 Application: [unknown] Bind query: yes
15 0ms 5ms 0ms 23,024 409ms set transaction read write;Times Reported Time consuming queries #15
Day Hour Count Duration Avg duration Oct 21 02 958 23ms 0ms 03 964 20ms 0ms 04 960 17ms 0ms 05 960 14ms 0ms 06 960 17ms 0ms 07 956 16ms 0ms 08 966 18ms 0ms 09 962 17ms 0ms 10 962 18ms 0ms 11 960 17ms 0ms 12 960 13ms 0ms 13 964 15ms 0ms 14 958 16ms 0ms 15 962 20ms 0ms 16 962 16ms 0ms 17 958 16ms 0ms 18 962 16ms 0ms 19 958 19ms 0ms 20 964 17ms 0ms 21 960 15ms 0ms 22 960 15ms 0ms 23 948 15ms 0ms 00 934 12ms 0ms 01 966 13ms 0ms [ User: azuresu - Total duration: 409ms - Times executed: 23024 ]
[ Application: [unknown] - Total duration: 409ms - Times executed: 23024 ]
-
set transaction read write;
Date: 2025-10-21 00:42:13 Duration: 5ms Database: azure_maintenance User: azuresu Remote: 169.254.128.1 Application: [unknown] Bind query: yes
-
set transaction read write;
Date: 2025-10-21 13:03:58 Duration: 3ms Database: azure_maintenance User: azuresu Remote: 169.254.128.1 Application: [unknown] Bind query: yes
-
set transaction read write;
Date: 2025-10-21 17:02:30 Duration: 1ms Database: azure_maintenance User: azuresu Remote: 169.254.128.1 Application: [unknown] Bind query: yes
16 0ms 2ms 0ms 23,024 282ms begin;Times Reported Time consuming queries #16
Day Hour Count Duration Avg duration Oct 21 02 958 11ms 0ms 03 964 12ms 0ms 04 960 11ms 0ms 05 960 11ms 0ms 06 960 11ms 0ms 07 956 11ms 0ms 08 966 12ms 0ms 09 962 10ms 0ms 10 962 11ms 0ms 11 960 12ms 0ms 12 960 11ms 0ms 13 964 12ms 0ms 14 958 13ms 0ms 15 962 13ms 0ms 16 962 12ms 0ms 17 958 9ms 0ms 18 962 12ms 0ms 19 958 12ms 0ms 20 964 12ms 0ms 21 960 13ms 0ms 22 960 12ms 0ms 23 948 11ms 0ms 00 934 8ms 0ms 01 966 9ms 0ms [ User: azuresu - Total duration: 282ms - Times executed: 23024 ]
[ Application: [unknown] - Total duration: 282ms - Times executed: 23024 ]
-
begin;
Date: 2025-10-21 19:59:47 Duration: 2ms Database: azure_maintenance User: azuresu Remote: 169.254.128.1 Application: [unknown] Bind query: yes
-
begin;
Date: 2025-10-21 12:13:46 Duration: 1ms Database: azure_maintenance User: azuresu Remote: 169.254.128.1 Application: [unknown] Bind query: yes
-
begin;
Date: 2025-10-21 13:03:58 Duration: 0ms Database: azure_maintenance User: azuresu Remote: 169.254.128.1 Application: [unknown] Bind query: yes
Time consuming prepare
Rank Total duration Times executed Min duration Max duration Avg duration Query 1 2s183ms 3,840 0ms 4ms 0ms insert into public.lsnmover (id, update_time) select 1, now() on conflict on constraint lsnmover_pk do update set id = public.lsnmover.id + 1, update_time = now();Times Reported Time consuming prepare #1
Day Hour Count Duration Avg duration Oct 21 02 160 92ms 0ms 03 160 94ms 0ms 04 160 87ms 0ms 05 160 88ms 0ms 06 160 90ms 0ms 07 160 89ms 0ms 08 161 99ms 0ms 09 160 97ms 0ms 10 160 92ms 0ms 11 160 90ms 0ms 12 160 88ms 0ms 13 161 88ms 0ms 14 160 87ms 0ms 15 160 90ms 0ms 16 160 91ms 0ms 17 160 92ms 0ms 18 160 99ms 0ms 19 160 89ms 0ms 20 161 96ms 0ms 21 160 86ms 0ms 22 160 92ms 0ms 23 159 94ms 0ms 00 157 81ms 0ms 01 161 80ms 0ms [ User: azuresu - Total duration: 37ms - Times executed: 3840 ]
[ Application: [unknown] - Total duration: 37ms - Times executed: 3840 ]
-
insert into public.lsnmover (id, update_time) select 1, now() on conflict on constraint lsnmover_pk do update set id = public.lsnmover.id + 1, update_time = now();
Date: 2025-10-21 16:00:54 Duration: 4ms Database: azure_maintenance User: azure_maintenance Remote: azuresu Application: 169.254.128.1 Queryid: [unknown]
-
insert into public.lsnmover (id, update_time) select 1, now() on conflict on constraint lsnmover_pk do update set id = public.lsnmover.id + 1, update_time = now();
Date: 2025-10-21 16:11:02 Duration: 4ms Database: azure_maintenance User: azure_maintenance Remote: azuresu Application: 169.254.128.1 Queryid: [unknown]
-
insert into public.lsnmover (id, update_time) select 1, now() on conflict on constraint lsnmover_pk do update set id = public.lsnmover.id + 1, update_time = now();
Date: 2025-10-21 01:35:03 Duration: 3ms Database: azure_maintenance User: azure_maintenance Remote: azuresu Application: 169.254.128.1 Queryid: [unknown]
2 102ms 48 0ms 15ms 2ms SELECT schemaname, sum(n_live_tup) AS n_live_tup, sum(n_dead_tup) AS n_dead_tup, sum(seq_scan) AS seq_scan, sum(seq_tup_read) AS seq_tup_read, sum(idx_scan) AS idx_scan, sum(idx_tup_fetch) AS idx_tup_fetch, sum(n_tup_ins) AS n_tup_ins, sum(n_tup_upd) AS n_tup_upd, sum(n_tup_del) AS n_tup_del, sum(n_tup_hot_upd) AS n_tup_hot_upd, sum(n_mod_since_analyze) AS n_mod_since_analyze, sum(vacuum_count) AS vacuum_count, sum(autovacuum_count) AS autovacuum_count, sum(analyze_count) AS analyze_count, sum(autoanalyze_count) AS autoanalyze_count, count(relid) AS tables_counter, sum( case when last_vacuum IS NOT NULL then 1 else 0 end)::bigint as tables_vacuumed, sum( case when last_autovacuum IS NOT NULL then 1 else 0 end)::bigint as tables_autovacuumed, sum( case when last_analyze IS NOT NULL then 1 else 0 end)::bigint as tables_analyzed, sum( case when last_autoanalyze IS NOT NULL then 1 else 0 end)::bigint as tables_autoanalyzed FROM pg_catalog.pg_stat_all_tables group by schemaname;Times Reported Time consuming prepare #2
Day Hour Count Duration Avg duration 00 2 2ms 1ms 01 2 2ms 1ms 02 2 2ms 1ms 03 2 2ms 1ms 04 2 2ms 1ms 05 2 2ms 1ms 06 2 16ms 8ms 07 2 2ms 1ms 08 2 2ms 1ms 09 2 2ms 1ms 10 2 2ms 1ms 11 2 2ms 1ms 12 2 2ms 1ms 13 2 2ms 1ms 14 2 5ms 2ms 15 2 2ms 1ms 16 2 2ms 1ms 17 2 2ms 1ms 18 2 16ms 8ms 19 2 2ms 1ms 20 2 2ms 1ms 21 2 2ms 1ms 22 2 7ms 3ms 23 2 2ms 1ms [ User: azuresu - Total duration: 50ms - Times executed: 48 ]
[ Application: [unknown] - Total duration: 50ms - Times executed: 48 ]
-
SELECT schemaname, sum(n_live_tup) AS n_live_tup, sum(n_dead_tup) AS n_dead_tup, sum(seq_scan) AS seq_scan, sum(seq_tup_read) AS seq_tup_read, sum(idx_scan) AS idx_scan, sum(idx_tup_fetch) AS idx_tup_fetch, sum(n_tup_ins) AS n_tup_ins, sum(n_tup_upd) AS n_tup_upd, sum(n_tup_del) AS n_tup_del, sum(n_tup_hot_upd) AS n_tup_hot_upd, sum(n_mod_since_analyze) AS n_mod_since_analyze, sum(vacuum_count) AS vacuum_count, sum(autovacuum_count) AS autovacuum_count, sum(analyze_count) AS analyze_count, sum(autoanalyze_count) AS autoanalyze_count, count(relid) AS tables_counter, sum( case when last_vacuum IS NOT NULL then 1 else 0 end)::bigint as tables_vacuumed, sum( case when last_autovacuum IS NOT NULL then 1 else 0 end)::bigint as tables_autovacuumed, sum( case when last_analyze IS NOT NULL then 1 else 0 end)::bigint as tables_analyzed, sum( case when last_autoanalyze IS NOT NULL then 1 else 0 end)::bigint as tables_autoanalyzed FROM pg_catalog.pg_stat_all_tables group by schemaname;
Date: 2025-10-21 18:51:23 Duration: 15ms Database: azure_maintenance User: azure_maintenance Remote: azuresu Application: 169.254.128.1 Queryid: [unknown]
-
SELECT schemaname, sum(n_live_tup) AS n_live_tup, sum(n_dead_tup) AS n_dead_tup, sum(seq_scan) AS seq_scan, sum(seq_tup_read) AS seq_tup_read, sum(idx_scan) AS idx_scan, sum(idx_tup_fetch) AS idx_tup_fetch, sum(n_tup_ins) AS n_tup_ins, sum(n_tup_upd) AS n_tup_upd, sum(n_tup_del) AS n_tup_del, sum(n_tup_hot_upd) AS n_tup_hot_upd, sum(n_mod_since_analyze) AS n_mod_since_analyze, sum(vacuum_count) AS vacuum_count, sum(autovacuum_count) AS autovacuum_count, sum(analyze_count) AS analyze_count, sum(autoanalyze_count) AS autoanalyze_count, count(relid) AS tables_counter, sum( case when last_vacuum IS NOT NULL then 1 else 0 end)::bigint as tables_vacuumed, sum( case when last_autovacuum IS NOT NULL then 1 else 0 end)::bigint as tables_autovacuumed, sum( case when last_analyze IS NOT NULL then 1 else 0 end)::bigint as tables_analyzed, sum( case when last_autoanalyze IS NOT NULL then 1 else 0 end)::bigint as tables_autoanalyzed FROM pg_catalog.pg_stat_all_tables group by schemaname;
Date: 2025-10-21 06:50:40 Duration: 15ms Database: azure_maintenance User: azure_maintenance Remote: azuresu Application: 169.254.128.1 Queryid: [unknown]
-
SELECT schemaname, sum(n_live_tup) AS n_live_tup, sum(n_dead_tup) AS n_dead_tup, sum(seq_scan) AS seq_scan, sum(seq_tup_read) AS seq_tup_read, sum(idx_scan) AS idx_scan, sum(idx_tup_fetch) AS idx_tup_fetch, sum(n_tup_ins) AS n_tup_ins, sum(n_tup_upd) AS n_tup_upd, sum(n_tup_del) AS n_tup_del, sum(n_tup_hot_upd) AS n_tup_hot_upd, sum(n_mod_since_analyze) AS n_mod_since_analyze, sum(vacuum_count) AS vacuum_count, sum(autovacuum_count) AS autovacuum_count, sum(analyze_count) AS analyze_count, sum(autoanalyze_count) AS autoanalyze_count, count(relid) AS tables_counter, sum( case when last_vacuum IS NOT NULL then 1 else 0 end)::bigint as tables_vacuumed, sum( case when last_autovacuum IS NOT NULL then 1 else 0 end)::bigint as tables_autovacuumed, sum( case when last_analyze IS NOT NULL then 1 else 0 end)::bigint as tables_analyzed, sum( case when last_autoanalyze IS NOT NULL then 1 else 0 end)::bigint as tables_autoanalyzed FROM pg_catalog.pg_stat_all_tables group by schemaname;
Date: 2025-10-21 22:03:10 Duration: 5ms Database: azure_maintenance User: azure_maintenance Remote: azuresu Application: 169.254.128.1 Queryid: [unknown]
3 63ms 3,840 0ms 0ms 0ms commit;Times Reported Time consuming prepare #3
Day Hour Count Duration Avg duration 00 160 2ms 0ms 01 160 2ms 0ms 02 160 2ms 0ms 03 160 1ms 0ms 04 160 1ms 0ms 05 160 3ms 0ms 06 161 2ms 0ms 07 160 2ms 0ms 08 160 2ms 0ms 09 160 2ms 0ms 10 160 2ms 0ms 11 161 1ms 0ms 12 160 2ms 0ms 13 160 4ms 0ms 14 160 2ms 0ms 15 160 3ms 0ms 16 160 2ms 0ms 17 160 4ms 0ms 18 161 3ms 0ms 19 160 1ms 0ms 20 160 2ms 0ms 21 159 3ms 0ms 22 157 2ms 0ms 23 161 1ms 0ms [ User: azuresu - Total duration: 164ms - Times executed: 3840 ]
[ Application: [unknown] - Total duration: 164ms - Times executed: 3840 ]
-
commit;
Date: 2025-10-21 18:19:58 Duration: 0ms Database: azure_maintenance User: azure_maintenance Remote: azuresu Application: 169.254.128.1 Queryid: [unknown]
-
commit;
Date: 2025-10-21 06:44:57 Duration: 0ms Database: azure_maintenance User: azure_maintenance Remote: azuresu Application: 169.254.128.1 Queryid: [unknown]
-
commit;
Date: 2025-10-21 13:19:25 Duration: 0ms Database: azure_maintenance User: azure_maintenance Remote: azuresu Application: 169.254.128.1 Queryid: [unknown]
4 15ms 2 2ms 12ms 7ms SELECT pg_am.amname AS index_type, COUNT(idstat.indexrelid) AS index_count, COALESCE(SUM(idstat.idx_scan)::bigint, 0) AS total_idx_scan, pg_size_pretty(SUM(pg_relation_size(idstat.indexrelid))) AS total_indices_size FROM pg_stat_user_indexes AS idstat JOIN pg_class AS pgc ON pgc.oid = idstat.indexrelid JOIN pg_am ON pg_am.oid = pgc.relam GROUP BY pg_am.amname ORDER BY pg_am.amname;Times Reported Time consuming prepare #4
Day Hour Count Duration Avg duration 21 1 12ms 12ms 22 1 2ms 2ms [ User: azuresu - Total duration: 1ms - Times executed: 2 ]
[ Application: [unknown] - Total duration: 1ms - Times executed: 2 ]
-
SELECT pg_am.amname AS index_type, COUNT(idstat.indexrelid) AS index_count, COALESCE(SUM(idstat.idx_scan)::bigint, 0) AS total_idx_scan, pg_size_pretty(SUM(pg_relation_size(idstat.indexrelid))) AS total_indices_size FROM pg_stat_user_indexes AS idstat JOIN pg_class AS pgc ON pgc.oid = idstat.indexrelid JOIN pg_am ON pg_am.oid = pgc.relam GROUP BY pg_am.amname ORDER BY pg_am.amname;
Date: 2025-10-21 21:44:39 Duration: 12ms Database: azure_maintenance User: azure_maintenance Remote: azuresu Application: 169.254.128.1 Queryid: [unknown]
-
SELECT pg_am.amname AS index_type, COUNT(idstat.indexrelid) AS index_count, COALESCE(SUM(idstat.idx_scan)::bigint, 0) AS total_idx_scan, pg_size_pretty(SUM(pg_relation_size(idstat.indexrelid))) AS total_indices_size FROM pg_stat_user_indexes AS idstat JOIN pg_class AS pgc ON pgc.oid = idstat.indexrelid JOIN pg_am ON pg_am.oid = pgc.relam GROUP BY pg_am.amname ORDER BY pg_am.amname;
Date: 2025-10-21 22:03:10 Duration: 2ms Database: azure_maintenance User: azure_maintenance Remote: azuresu Application: 169.254.128.1 Queryid: [unknown]
5 9ms 25 0ms 1ms 0ms SELECT extname, extowner, extnamespace, extrelocatable, extversion, extconfig, extcondition FROM pg_catalog.pg_extension;Times Reported Time consuming prepare #5
Day Hour Count Duration Avg duration 00 1 0ms 0ms 01 1 0ms 0ms 02 1 0ms 0ms 03 1 0ms 0ms 04 1 0ms 0ms 05 1 0ms 0ms 06 1 0ms 0ms 07 1 1ms 1ms 08 1 0ms 0ms 09 1 0ms 0ms 10 1 0ms 0ms 11 1 0ms 0ms 12 1 0ms 0ms 13 1 0ms 0ms 14 1 0ms 0ms 15 1 0ms 0ms 16 1 0ms 0ms 17 1 0ms 0ms 18 1 0ms 0ms 19 1 1ms 1ms 20 1 0ms 0ms 21 2 0ms 0ms 22 1 0ms 0ms 23 1 0ms 0ms [ User: azuresu - Total duration: 3ms - Times executed: 25 ]
[ Application: [unknown] - Total duration: 3ms - Times executed: 25 ]
-
SELECT extname, extowner, extnamespace, extrelocatable, extversion, extconfig, extcondition FROM pg_catalog.pg_extension;
Date: 2025-10-21 07:20:42 Duration: 1ms Database: azure_maintenance User: azure_maintenance Remote: azuresu Application: 169.254.128.1 Queryid: [unknown]
-
SELECT extname, extowner, extnamespace, extrelocatable, extversion, extconfig, extcondition FROM pg_catalog.pg_extension;
Date: 2025-10-21 19:21:25 Duration: 1ms Database: azure_maintenance User: azure_maintenance Remote: azuresu Application: 169.254.128.1 Queryid: [unknown]
-
SELECT extname, extowner, extnamespace, extrelocatable, extversion, extconfig, extcondition FROM pg_catalog.pg_extension;
Date: 2025-10-21 12:21:00 Duration: 0ms Database: azure_maintenance User: azure_maintenance Remote: azuresu Application: 169.254.128.1 Queryid: [unknown]
6 5ms 3 0ms 4ms 1ms SELECT 'database_access_privilege' AS parameter, has_database_privilege('public', 'postgres', 'CONNECT') AS value UNION ALL SELECT 'schema_access_privilege' AS parameter, has_schema_privilege('public', 'public', 'USAGE') AS value;Times Reported Time consuming prepare #6
Day Hour Count Duration Avg duration 21 1 4ms 4ms 22 1 1ms 1ms 23 1 0ms 0ms [ User: azuresu - Total duration: 0ms - Times executed: 3 ]
[ Application: [unknown] - Total duration: 0ms - Times executed: 3 ]
-
SELECT 'database_access_privilege' AS parameter, has_database_privilege('public', 'postgres', 'CONNECT') AS value UNION ALL SELECT 'schema_access_privilege' AS parameter, has_schema_privilege('public', 'public', 'USAGE') AS value;
Date: 2025-10-21 21:44:39 Duration: 4ms Database: azure_maintenance User: azure_maintenance Remote: azuresu Application: 169.254.128.1 Queryid: [unknown]
-
SELECT 'database_access_privilege' AS parameter, has_database_privilege('public', 'postgres', 'CONNECT') AS value UNION ALL SELECT 'schema_access_privilege' AS parameter, has_schema_privilege('public', 'public', 'USAGE') AS value;
Date: 2025-10-21 22:03:10 Duration: 1ms Database: azure_maintenance User: azure_maintenance Remote: azuresu Application: 169.254.128.1 Queryid: [unknown]
-
SELECT 'database_access_privilege' AS parameter, has_database_privilege('public', 'postgres', 'CONNECT') AS value UNION ALL SELECT 'schema_access_privilege' AS parameter, has_schema_privilege('public', 'public', 'USAGE') AS value;
Date: 2025-10-21 23:03:14 Duration: 0ms Database: azure_maintenance User: azure_maintenance Remote: azuresu Application: 169.254.128.1 Queryid: [unknown]
7 3ms 50 0ms 0ms 0ms set session statement_timeout to 60000;Times Reported Time consuming prepare #7
Day Hour Count Duration Avg duration 00 2 0ms 0ms 01 2 0ms 0ms 02 2 0ms 0ms 03 2 0ms 0ms 04 2 0ms 0ms 05 2 0ms 0ms 06 2 0ms 0ms 07 2 0ms 0ms 08 2 0ms 0ms 09 2 0ms 0ms 10 2 0ms 0ms 11 2 0ms 0ms 12 2 0ms 0ms 13 2 0ms 0ms 14 2 0ms 0ms 15 2 0ms 0ms 16 2 0ms 0ms 17 2 0ms 0ms 18 2 0ms 0ms 19 2 0ms 0ms 20 2 0ms 0ms 21 3 0ms 0ms 22 3 0ms 0ms 23 2 0ms 0ms [ User: azuresu - Total duration: 2ms - Times executed: 50 ]
[ Application: [unknown] - Total duration: 2ms - Times executed: 50 ]
-
set session statement_timeout to 60000;
Date: 2025-10-21 16:21:14 Duration: 0ms Database: azure_maintenance User: azure_maintenance Remote: azuresu Application: 169.254.128.1 Queryid: [unknown]
-
set session statement_timeout to 60000;
Date: 2025-10-21 13:21:03 Duration: 0ms Database: azure_maintenance User: azure_maintenance Remote: azuresu Application: 169.254.128.1 Queryid: [unknown]
-
set session statement_timeout to 60000;
Date: 2025-10-21 13:51:05 Duration: 0ms Database: azure_maintenance User: azure_maintenance Remote: azuresu Application: 169.254.128.1 Queryid: [unknown]
8 2ms 31 0ms 0ms 0ms set session statement_timeout to 120000;Times Reported Time consuming prepare #8
Day Hour Count Duration Avg duration 00 1 0ms 0ms 01 1 0ms 0ms 02 1 0ms 0ms 03 1 0ms 0ms 04 1 0ms 0ms 05 1 0ms 0ms 06 1 0ms 0ms 07 1 0ms 0ms 08 1 0ms 0ms 09 1 0ms 0ms 10 1 0ms 0ms 11 1 0ms 0ms 12 1 0ms 0ms 13 1 0ms 0ms 14 1 0ms 0ms 15 1 0ms 0ms 16 1 0ms 0ms 17 1 0ms 0ms 18 1 0ms 0ms 19 1 0ms 0ms 20 1 0ms 0ms 21 4 0ms 0ms 22 3 0ms 0ms 23 3 0ms 0ms [ User: azuresu - Total duration: 1ms - Times executed: 31 ]
[ Application: [unknown] - Total duration: 1ms - Times executed: 31 ]
-
set session statement_timeout to 120000;
Date: 2025-10-21 14:21:07 Duration: 0ms Database: azure_maintenance User: azure_maintenance Remote: azuresu Application: 169.254.128.1 Queryid: [unknown]
-
set session statement_timeout to 120000;
Date: 2025-10-21 09:20:49 Duration: 0ms Database: azure_maintenance User: azure_maintenance Remote: azuresu Application: 169.254.128.1 Queryid: [unknown]
-
set session statement_timeout to 120000;
Date: 2025-10-21 03:20:28 Duration: 0ms Database: azure_maintenance User: azure_maintenance Remote: azuresu Application: 169.254.128.1 Queryid: [unknown]
9 2ms 3 0ms 2ms 0ms SELECT name AS parameter, setting AS value, min_val AS minimum_value, max_val AS maximum_value, reset_val AS reset_value, pending_restart AS pending_restart, unit AS unit, sourcefile AS source_file FROM pg_settings WHERE name IN ('pgaudit.log', 'pgaudit.log_level', 'pgaudit.log_statement', 'pgaudit.log_statement_once', 'log_checkpoints', 'log_connections', 'log_disconnections', 'password_encryption', 'log_line_prefix', 'require_secure_transport', 'shared_preload_libraries');Times Reported Time consuming prepare #9
Day Hour Count Duration Avg duration 21 1 2ms 2ms 22 1 0ms 0ms 23 1 0ms 0ms [ User: azuresu - Total duration: 3ms - Times executed: 3 ]
[ Application: [unknown] - Total duration: 3ms - Times executed: 3 ]
-
SELECT name AS parameter, setting AS value, min_val AS minimum_value, max_val AS maximum_value, reset_val AS reset_value, pending_restart AS pending_restart, unit AS unit, sourcefile AS source_file FROM pg_settings WHERE name IN ('pgaudit.log', 'pgaudit.log_level', 'pgaudit.log_statement', 'pgaudit.log_statement_once', 'log_checkpoints', 'log_connections', 'log_disconnections', 'password_encryption', 'log_line_prefix', 'require_secure_transport', 'shared_preload_libraries');
Date: 2025-10-21 21:44:39 Duration: 2ms Database: azure_maintenance User: azure_maintenance Remote: azuresu Application: 169.254.128.1 Queryid: [unknown]
-
SELECT name AS parameter, setting AS value, min_val AS minimum_value, max_val AS maximum_value, reset_val AS reset_value, pending_restart AS pending_restart, unit AS unit, sourcefile AS source_file FROM pg_settings WHERE name IN ('pgaudit.log', 'pgaudit.log_level', 'pgaudit.log_statement', 'pgaudit.log_statement_once', 'log_checkpoints', 'log_connections', 'log_disconnections', 'password_encryption', 'log_line_prefix', 'require_secure_transport', 'shared_preload_libraries');
Date: 2025-10-21 22:03:10 Duration: 0ms Database: azure_maintenance User: azure_maintenance Remote: azuresu Application: 169.254.128.1 Queryid: [unknown]
-
SELECT name AS parameter, setting AS value, min_val AS minimum_value, max_val AS maximum_value, reset_val AS reset_value, pending_restart AS pending_restart, unit AS unit, sourcefile AS source_file FROM pg_settings WHERE name IN ('pgaudit.log', 'pgaudit.log_level', 'pgaudit.log_statement', 'pgaudit.log_statement_once', 'log_checkpoints', 'log_connections', 'log_disconnections', 'password_encryption', 'log_line_prefix', 'require_secure_transport', 'shared_preload_libraries');
Date: 2025-10-21 23:03:14 Duration: 0ms Database: azure_maintenance User: azure_maintenance Remote: azuresu Application: 169.254.128.1 Queryid: [unknown]
Time consuming bind
Rank Total duration Times executed Min duration Max duration Avg duration Query 1 1s172ms 11,512 0ms 6ms 0ms insert into public.lsnmover (id, update_time) select 1, now() on conflict on constraint lsnmover_pk do update set id = public.lsnmover.id + 1, update_time = now();Times Reported Time consuming bind #1
Day Hour Count Duration Avg duration Oct 21 02 479 48ms 0ms 03 482 49ms 0ms 04 480 45ms 0ms 05 480 46ms 0ms 06 480 48ms 0ms 07 478 47ms 0ms 08 483 53ms 0ms 09 481 52ms 0ms 10 481 47ms 0ms 11 480 47ms 0ms 12 480 48ms 0ms 13 482 47ms 0ms 14 479 48ms 0ms 15 481 55ms 0ms 16 481 45ms 0ms 17 479 44ms 0ms 18 481 46ms 0ms 19 479 48ms 0ms 20 482 52ms 0ms 21 480 49ms 0ms 22 480 49ms 0ms 23 474 46ms 0ms 00 467 50ms 0ms 01 483 50ms 0ms [ User: azuresu - Total duration: 1s809ms - Times executed: 11512 ]
[ Application: [unknown] - Total duration: 1s809ms - Times executed: 11512 ]
-
insert into public.lsnmover (id, update_time) select 1, now() on conflict on constraint lsnmover_pk do update set id = public.lsnmover.id + 1, update_time = now();
Date: 2025-10-21 13:26:12 Duration: 6ms Database: azure_maintenance User: azure_maintenance Remote: azuresu Application: 169.254.128.1 Queryid: [unknown]
-
insert into public.lsnmover (id, update_time) select 1, now() on conflict on constraint lsnmover_pk do update set id = public.lsnmover.id + 1, update_time = now();
Date: 2025-10-21 07:33:18 Duration: 4ms Database: azure_maintenance User: azure_maintenance Remote: azuresu Application: 169.254.128.1 Queryid: [unknown]
-
insert into public.lsnmover (id, update_time) select 1, now() on conflict on constraint lsnmover_pk do update set id = public.lsnmover.id + 1, update_time = now();
Date: 2025-10-21 10:53:42 Duration: 3ms Database: azure_maintenance User: azure_maintenance Remote: azuresu Application: 169.254.128.1 Queryid: [unknown]
2 223ms 23,024 0ms 2ms 0ms begin;Times Reported Time consuming bind #2
Day Hour Count Duration Avg duration 00 958 9ms 0ms 01 964 11ms 0ms 02 960 9ms 0ms 03 960 8ms 0ms 04 960 9ms 0ms 05 956 9ms 0ms 06 966 10ms 0ms 07 962 10ms 0ms 08 962 8ms 0ms 09 960 8ms 0ms 10 960 8ms 0ms 11 964 8ms 0ms 12 958 8ms 0ms 13 962 9ms 0ms 14 962 8ms 0ms 15 958 8ms 0ms 16 962 9ms 0ms 17 958 9ms 0ms 18 964 9ms 0ms 19 960 8ms 0ms 20 960 10ms 0ms 21 948 9ms 0ms 22 934 8ms 0ms 23 966 11ms 0ms [ User: azuresu - Total duration: 282ms - Times executed: 23024 ]
[ Application: [unknown] - Total duration: 282ms - Times executed: 23024 ]
-
begin;
Date: 2025-10-21 01:10:39 Duration: 2ms Database: azure_maintenance User: azure_maintenance Remote: azuresu Application: 169.254.128.1 Queryid: [unknown]
-
begin;
Date: 2025-10-21 23:17:12 Duration: 2ms Database: azure_maintenance User: azure_maintenance Remote: azuresu Application: 169.254.128.1 Queryid: [unknown]
-
begin;
Date: 2025-10-21 20:29:22 Duration: 1ms Database: azure_maintenance User: azure_maintenance Remote: azuresu Application: 169.254.128.1 Queryid: [unknown]
3 135ms 23,024 0ms 1ms 0ms set transaction read write;Times Reported Time consuming bind #3
Day Hour Count Duration Avg duration 00 958 6ms 0ms 01 964 5ms 0ms 02 960 5ms 0ms 03 960 5ms 0ms 04 960 5ms 0ms 05 956 6ms 0ms 06 966 6ms 0ms 07 962 5ms 0ms 08 962 4ms 0ms 09 960 5ms 0ms 10 960 4ms 0ms 11 964 5ms 0ms 12 958 6ms 0ms 13 962 4ms 0ms 14 962 4ms 0ms 15 958 4ms 0ms 16 962 6ms 0ms 17 958 6ms 0ms 18 964 5ms 0ms 19 960 5ms 0ms 20 960 7ms 0ms 21 948 6ms 0ms 22 934 5ms 0ms 23 966 4ms 0ms [ User: azuresu - Total duration: 409ms - Times executed: 23024 ]
[ Application: [unknown] - Total duration: 409ms - Times executed: 23024 ]
-
set transaction read write;
Date: 2025-10-21 05:58:01 Duration: 1ms Database: azure_maintenance User: azure_maintenance Remote: azuresu Application: 169.254.128.1 Queryid: [unknown]
-
set transaction read write;
Date: 2025-10-21 16:36:44 Duration: 1ms Database: azure_maintenance User: azure_maintenance Remote: azuresu Application: 169.254.128.1 Queryid: [unknown]
-
set transaction read write;
Date: 2025-10-21 20:09:28 Duration: 0ms Database: azure_maintenance User: azure_maintenance Remote: azuresu Application: 169.254.128.1 Queryid: [unknown]
4 131ms 11,512 0ms 3ms 0ms create table if not exists public.lsnmover ( single_row_id bool default true, id bigint, update_time timestamp default now(), constraint ensure_one_row CHECK (single_row_id), constraint lsnmover_pk primary key (single_row_id) );Times Reported Time consuming bind #4
Day Hour Count Duration Avg duration 00 479 5ms 0ms 01 482 4ms 0ms 02 480 10ms 0ms 03 480 5ms 0ms 04 480 4ms 0ms 05 478 4ms 0ms 06 483 5ms 0ms 07 481 5ms 0ms 08 481 5ms 0ms 09 480 4ms 0ms 10 480 4ms 0ms 11 482 4ms 0ms 12 479 5ms 0ms 13 481 5ms 0ms 14 481 5ms 0ms 15 479 4ms 0ms 16 481 4ms 0ms 17 479 5ms 0ms 18 482 5ms 0ms 19 480 4ms 0ms 20 480 6ms 0ms 21 474 4ms 0ms 22 467 7ms 0ms 23 483 6ms 0ms [ User: azuresu - Total duration: 1s946ms - Times executed: 11512 ]
[ Application: [unknown] - Total duration: 1s946ms - Times executed: 11512 ]
-
create table if not exists public.lsnmover ( single_row_id bool default true, id bigint, update_time timestamp default now(), constraint ensure_one_row CHECK (single_row_id), constraint lsnmover_pk primary key (single_row_id) );
Date: 2025-10-21 02:02:21 Duration: 3ms Database: azure_maintenance User: azure_maintenance Remote: azuresu Application: 169.254.128.1 Queryid: [unknown]
-
create table if not exists public.lsnmover ( single_row_id bool default true, id bigint, update_time timestamp default now(), constraint ensure_one_row CHECK (single_row_id), constraint lsnmover_pk primary key (single_row_id) );
Date: 2025-10-21 02:17:31 Duration: 2ms Database: azure_maintenance User: azure_maintenance Remote: azuresu Application: 169.254.128.1 Queryid: [unknown]
-
create table if not exists public.lsnmover ( single_row_id bool default true, id bigint, update_time timestamp default now(), constraint ensure_one_row CHECK (single_row_id), constraint lsnmover_pk primary key (single_row_id) );
Date: 2025-10-21 08:45:26 Duration: 1ms Database: azure_maintenance User: azure_maintenance Remote: azuresu Application: 169.254.128.1 Queryid: [unknown]
5 130ms 23,024 0ms 2ms 0ms commit;Times Reported Time consuming bind #5
Day Hour Count Duration Avg duration 00 958 5ms 0ms 01 964 5ms 0ms 02 960 4ms 0ms 03 960 4ms 0ms 04 960 6ms 0ms 05 956 6ms 0ms 06 966 7ms 0ms 07 962 5ms 0ms 08 962 4ms 0ms 09 960 4ms 0ms 10 960 5ms 0ms 11 964 4ms 0ms 12 958 5ms 0ms 13 962 5ms 0ms 14 962 5ms 0ms 15 958 4ms 0ms 16 962 4ms 0ms 17 958 5ms 0ms 18 964 6ms 0ms 19 960 6ms 0ms 20 960 5ms 0ms 21 948 5ms 0ms 22 934 5ms 0ms 23 966 4ms 0ms [ User: azuresu - Total duration: 22s888ms - Times executed: 23024 ]
[ Application: [unknown] - Total duration: 22s888ms - Times executed: 23024 ]
-
commit;
Date: 2025-10-21 19:57:12 Duration: 2ms Database: azure_maintenance User: azure_maintenance Remote: azuresu Application: 169.254.128.1 Queryid: [unknown]
-
commit;
Date: 2025-10-21 05:41:57 Duration: 1ms Database: azure_maintenance User: azure_maintenance Remote: azuresu Application: 169.254.128.1 Queryid: [unknown]
-
commit;
Date: 2025-10-21 18:21:21 Duration: 0ms Database: azure_maintenance User: azure_maintenance Remote: azuresu Application: 169.254.128.1 Queryid: [unknown]
6 119ms 48 0ms 13ms 2ms SELECT schemaname, sum(n_live_tup) AS n_live_tup, sum(n_dead_tup) AS n_dead_tup, sum(seq_scan) AS seq_scan, sum(seq_tup_read) AS seq_tup_read, sum(idx_scan) AS idx_scan, sum(idx_tup_fetch) AS idx_tup_fetch, sum(n_tup_ins) AS n_tup_ins, sum(n_tup_upd) AS n_tup_upd, sum(n_tup_del) AS n_tup_del, sum(n_tup_hot_upd) AS n_tup_hot_upd, sum(n_mod_since_analyze) AS n_mod_since_analyze, sum(vacuum_count) AS vacuum_count, sum(autovacuum_count) AS autovacuum_count, sum(analyze_count) AS analyze_count, sum(autoanalyze_count) AS autoanalyze_count, count(relid) AS tables_counter, sum( case when last_vacuum IS NOT NULL then 1 else 0 end)::bigint as tables_vacuumed, sum( case when last_autovacuum IS NOT NULL then 1 else 0 end)::bigint as tables_autovacuumed, sum( case when last_analyze IS NOT NULL then 1 else 0 end)::bigint as tables_analyzed, sum( case when last_autoanalyze IS NOT NULL then 1 else 0 end)::bigint as tables_autoanalyzed FROM pg_catalog.pg_stat_all_tables group by schemaname;Times Reported Time consuming bind #6
Day Hour Count Duration Avg duration 00 2 3ms 1ms 01 2 4ms 2ms 02 2 3ms 1ms 03 2 4ms 2ms 04 2 3ms 1ms 05 2 4ms 2ms 06 2 13ms 6ms 07 2 4ms 2ms 08 2 4ms 2ms 09 2 4ms 2ms 10 2 4ms 2ms 11 2 4ms 2ms 12 2 3ms 1ms 13 2 4ms 2ms 14 2 4ms 2ms 15 2 4ms 2ms 16 2 4ms 2ms 17 2 4ms 2ms 18 2 15ms 7ms 19 2 4ms 2ms 20 2 4ms 2ms 21 2 3ms 1ms 22 2 5ms 2ms 23 2 3ms 1ms [ User: azuresu - Total duration: 50ms - Times executed: 48 ]
[ Application: [unknown] - Total duration: 50ms - Times executed: 48 ]
-
SELECT schemaname, sum(n_live_tup) AS n_live_tup, sum(n_dead_tup) AS n_dead_tup, sum(seq_scan) AS seq_scan, sum(seq_tup_read) AS seq_tup_read, sum(idx_scan) AS idx_scan, sum(idx_tup_fetch) AS idx_tup_fetch, sum(n_tup_ins) AS n_tup_ins, sum(n_tup_upd) AS n_tup_upd, sum(n_tup_del) AS n_tup_del, sum(n_tup_hot_upd) AS n_tup_hot_upd, sum(n_mod_since_analyze) AS n_mod_since_analyze, sum(vacuum_count) AS vacuum_count, sum(autovacuum_count) AS autovacuum_count, sum(analyze_count) AS analyze_count, sum(autoanalyze_count) AS autoanalyze_count, count(relid) AS tables_counter, sum( case when last_vacuum IS NOT NULL then 1 else 0 end)::bigint as tables_vacuumed, sum( case when last_autovacuum IS NOT NULL then 1 else 0 end)::bigint as tables_autovacuumed, sum( case when last_analyze IS NOT NULL then 1 else 0 end)::bigint as tables_analyzed, sum( case when last_autoanalyze IS NOT NULL then 1 else 0 end)::bigint as tables_autoanalyzed FROM pg_catalog.pg_stat_all_tables group by schemaname;
Date: 2025-10-21 18:51:23 Duration: 13ms Database: azure_maintenance User: azure_maintenance Remote: azuresu Application: 169.254.128.1 Queryid: [unknown]
-
SELECT schemaname, sum(n_live_tup) AS n_live_tup, sum(n_dead_tup) AS n_dead_tup, sum(seq_scan) AS seq_scan, sum(seq_tup_read) AS seq_tup_read, sum(idx_scan) AS idx_scan, sum(idx_tup_fetch) AS idx_tup_fetch, sum(n_tup_ins) AS n_tup_ins, sum(n_tup_upd) AS n_tup_upd, sum(n_tup_del) AS n_tup_del, sum(n_tup_hot_upd) AS n_tup_hot_upd, sum(n_mod_since_analyze) AS n_mod_since_analyze, sum(vacuum_count) AS vacuum_count, sum(autovacuum_count) AS autovacuum_count, sum(analyze_count) AS analyze_count, sum(autoanalyze_count) AS autoanalyze_count, count(relid) AS tables_counter, sum( case when last_vacuum IS NOT NULL then 1 else 0 end)::bigint as tables_vacuumed, sum( case when last_autovacuum IS NOT NULL then 1 else 0 end)::bigint as tables_autovacuumed, sum( case when last_analyze IS NOT NULL then 1 else 0 end)::bigint as tables_analyzed, sum( case when last_autoanalyze IS NOT NULL then 1 else 0 end)::bigint as tables_autoanalyzed FROM pg_catalog.pg_stat_all_tables group by schemaname;
Date: 2025-10-21 06:50:40 Duration: 12ms Database: azure_maintenance User: azure_maintenance Remote: azuresu Application: 169.254.128.1 Queryid: [unknown]
-
SELECT schemaname, sum(n_live_tup) AS n_live_tup, sum(n_dead_tup) AS n_dead_tup, sum(seq_scan) AS seq_scan, sum(seq_tup_read) AS seq_tup_read, sum(idx_scan) AS idx_scan, sum(idx_tup_fetch) AS idx_tup_fetch, sum(n_tup_ins) AS n_tup_ins, sum(n_tup_upd) AS n_tup_upd, sum(n_tup_del) AS n_tup_del, sum(n_tup_hot_upd) AS n_tup_hot_upd, sum(n_mod_since_analyze) AS n_mod_since_analyze, sum(vacuum_count) AS vacuum_count, sum(autovacuum_count) AS autovacuum_count, sum(analyze_count) AS analyze_count, sum(autoanalyze_count) AS autoanalyze_count, count(relid) AS tables_counter, sum( case when last_vacuum IS NOT NULL then 1 else 0 end)::bigint as tables_vacuumed, sum( case when last_autovacuum IS NOT NULL then 1 else 0 end)::bigint as tables_autovacuumed, sum( case when last_analyze IS NOT NULL then 1 else 0 end)::bigint as tables_analyzed, sum( case when last_autoanalyze IS NOT NULL then 1 else 0 end)::bigint as tables_autoanalyzed FROM pg_catalog.pg_stat_all_tables group by schemaname;
Date: 2025-10-21 22:03:10 Duration: 3ms Database: azure_maintenance User: azure_maintenance Remote: azuresu Application: 169.254.128.1 Queryid: [unknown]
7 22ms 25 0ms 3ms 0ms SELECT extname, extowner, extnamespace, extrelocatable, extversion, extconfig, extcondition FROM pg_catalog.pg_extension;Times Reported Time consuming bind #7
Day Hour Count Duration Avg duration 00 1 0ms 0ms 01 1 0ms 0ms 02 1 0ms 0ms 03 1 1ms 1ms 04 1 0ms 0ms 05 1 0ms 0ms 06 1 0ms 0ms 07 1 2ms 2ms 08 1 0ms 0ms 09 1 0ms 0ms 10 1 0ms 0ms 11 1 0ms 0ms 12 1 0ms 0ms 13 1 0ms 0ms 14 1 0ms 0ms 15 1 0ms 0ms 16 1 0ms 0ms 17 1 0ms 0ms 18 1 0ms 0ms 19 1 3ms 3ms 20 1 0ms 0ms 21 2 1ms 0ms 22 1 0ms 0ms 23 1 0ms 0ms [ User: azuresu - Total duration: 3ms - Times executed: 25 ]
[ Application: [unknown] - Total duration: 3ms - Times executed: 25 ]
-
SELECT extname, extowner, extnamespace, extrelocatable, extversion, extconfig, extcondition FROM pg_catalog.pg_extension;
Date: 2025-10-21 19:21:25 Duration: 3ms Database: azure_maintenance User: azure_maintenance Remote: azuresu Application: 169.254.128.1 Queryid: [unknown]
-
SELECT extname, extowner, extnamespace, extrelocatable, extversion, extconfig, extcondition FROM pg_catalog.pg_extension;
Date: 2025-10-21 07:20:42 Duration: 2ms Database: azure_maintenance User: azure_maintenance Remote: azuresu Application: 169.254.128.1 Queryid: [unknown]
-
SELECT extname, extowner, extnamespace, extrelocatable, extversion, extconfig, extcondition FROM pg_catalog.pg_extension;
Date: 2025-10-21 03:20:28 Duration: 1ms Database: azure_maintenance User: azure_maintenance Remote: azuresu Application: 169.254.128.1 Queryid: [unknown]
8 19ms 2 4ms 15ms 9ms SELECT pg_am.amname AS index_type, COUNT(idstat.indexrelid) AS index_count, COALESCE(SUM(idstat.idx_scan)::bigint, 0) AS total_idx_scan, pg_size_pretty(SUM(pg_relation_size(idstat.indexrelid))) AS total_indices_size FROM pg_stat_user_indexes AS idstat JOIN pg_class AS pgc ON pgc.oid = idstat.indexrelid JOIN pg_am ON pg_am.oid = pgc.relam GROUP BY pg_am.amname ORDER BY pg_am.amname;Times Reported Time consuming bind #8
Day Hour Count Duration Avg duration 21 1 15ms 15ms 22 1 4ms 4ms [ User: azuresu - Total duration: 1ms - Times executed: 2 ]
[ Application: [unknown] - Total duration: 1ms - Times executed: 2 ]
-
SELECT pg_am.amname AS index_type, COUNT(idstat.indexrelid) AS index_count, COALESCE(SUM(idstat.idx_scan)::bigint, 0) AS total_idx_scan, pg_size_pretty(SUM(pg_relation_size(idstat.indexrelid))) AS total_indices_size FROM pg_stat_user_indexes AS idstat JOIN pg_class AS pgc ON pgc.oid = idstat.indexrelid JOIN pg_am ON pg_am.oid = pgc.relam GROUP BY pg_am.amname ORDER BY pg_am.amname;
Date: 2025-10-21 21:44:39 Duration: 15ms Database: azure_maintenance User: azure_maintenance Remote: azuresu Application: 169.254.128.1 Queryid: [unknown]
-
SELECT pg_am.amname AS index_type, COUNT(idstat.indexrelid) AS index_count, COALESCE(SUM(idstat.idx_scan)::bigint, 0) AS total_idx_scan, pg_size_pretty(SUM(pg_relation_size(idstat.indexrelid))) AS total_indices_size FROM pg_stat_user_indexes AS idstat JOIN pg_class AS pgc ON pgc.oid = idstat.indexrelid JOIN pg_am ON pg_am.oid = pgc.relam GROUP BY pg_am.amname ORDER BY pg_am.amname;
Date: 2025-10-21 22:03:10 Duration: 4ms Database: azure_maintenance User: azure_maintenance Remote: azuresu Application: 169.254.128.1 Queryid: [unknown]
9 4ms 3 0ms 3ms 1ms SELECT name AS parameter, setting AS value, min_val AS minimum_value, max_val AS maximum_value, reset_val AS reset_value, pending_restart AS pending_restart, unit AS unit, sourcefile AS source_file FROM pg_settings WHERE name IN ('pgaudit.log', 'pgaudit.log_level', 'pgaudit.log_statement', 'pgaudit.log_statement_once', 'log_checkpoints', 'log_connections', 'log_disconnections', 'password_encryption', 'log_line_prefix', 'require_secure_transport', 'shared_preload_libraries');Times Reported Time consuming bind #9
Day Hour Count Duration Avg duration 21 1 3ms 3ms 22 1 1ms 1ms 23 1 0ms 0ms [ User: azuresu - Total duration: 3ms - Times executed: 3 ]
[ Application: [unknown] - Total duration: 3ms - Times executed: 3 ]
-
SELECT name AS parameter, setting AS value, min_val AS minimum_value, max_val AS maximum_value, reset_val AS reset_value, pending_restart AS pending_restart, unit AS unit, sourcefile AS source_file FROM pg_settings WHERE name IN ('pgaudit.log', 'pgaudit.log_level', 'pgaudit.log_statement', 'pgaudit.log_statement_once', 'log_checkpoints', 'log_connections', 'log_disconnections', 'password_encryption', 'log_line_prefix', 'require_secure_transport', 'shared_preload_libraries');
Date: 2025-10-21 21:44:39 Duration: 3ms Database: azure_maintenance User: azure_maintenance Remote: azuresu Application: 169.254.128.1 Queryid: [unknown]
-
SELECT name AS parameter, setting AS value, min_val AS minimum_value, max_val AS maximum_value, reset_val AS reset_value, pending_restart AS pending_restart, unit AS unit, sourcefile AS source_file FROM pg_settings WHERE name IN ('pgaudit.log', 'pgaudit.log_level', 'pgaudit.log_statement', 'pgaudit.log_statement_once', 'log_checkpoints', 'log_connections', 'log_disconnections', 'password_encryption', 'log_line_prefix', 'require_secure_transport', 'shared_preload_libraries');
Date: 2025-10-21 22:03:10 Duration: 1ms Database: azure_maintenance User: azure_maintenance Remote: azuresu Application: 169.254.128.1 Queryid: [unknown]
-
SELECT name AS parameter, setting AS value, min_val AS minimum_value, max_val AS maximum_value, reset_val AS reset_value, pending_restart AS pending_restart, unit AS unit, sourcefile AS source_file FROM pg_settings WHERE name IN ('pgaudit.log', 'pgaudit.log_level', 'pgaudit.log_statement', 'pgaudit.log_statement_once', 'log_checkpoints', 'log_connections', 'log_disconnections', 'password_encryption', 'log_line_prefix', 'require_secure_transport', 'shared_preload_libraries');
Date: 2025-10-21 23:03:14 Duration: 0ms Database: azure_maintenance User: azure_maintenance Remote: azuresu Application: 169.254.128.1 Queryid: [unknown]
10 0ms 50 0ms 0ms 0ms set session statement_timeout to 60000;Times Reported Time consuming bind #10
Day Hour Count Duration Avg duration 00 2 0ms 0ms 01 2 0ms 0ms 02 2 0ms 0ms 03 2 0ms 0ms 04 2 0ms 0ms 05 2 0ms 0ms 06 2 0ms 0ms 07 2 0ms 0ms 08 2 0ms 0ms 09 2 0ms 0ms 10 2 0ms 0ms 11 2 0ms 0ms 12 2 0ms 0ms 13 2 0ms 0ms 14 2 0ms 0ms 15 2 0ms 0ms 16 2 0ms 0ms 17 2 0ms 0ms 18 2 0ms 0ms 19 2 0ms 0ms 20 2 0ms 0ms 21 3 0ms 0ms 22 3 0ms 0ms 23 2 0ms 0ms [ User: azuresu - Total duration: 2ms - Times executed: 50 ]
[ Application: [unknown] - Total duration: 2ms - Times executed: 50 ]
-
set session statement_timeout to 60000;
Date: 2025-10-21 17:51:20 Duration: 0ms Database: azure_maintenance User: azure_maintenance Remote: azuresu Application: 169.254.128.1 Queryid: [unknown]
-
set session statement_timeout to 60000;
Date: 2025-10-21 19:51:27 Duration: 0ms Database: azure_maintenance User: azure_maintenance Remote: azuresu Application: 169.254.128.1 Queryid: [unknown]
-
set session statement_timeout to 60000;
Date: 2025-10-21 22:33:12 Duration: 0ms Database: azure_maintenance User: azure_maintenance Remote: azuresu Application: 169.254.128.1 Queryid: [unknown]
11 0ms 31 0ms 0ms 0ms set session statement_timeout to 120000;Times Reported Time consuming bind #11
Day Hour Count Duration Avg duration 00 1 0ms 0ms 01 1 0ms 0ms 02 1 0ms 0ms 03 1 0ms 0ms 04 1 0ms 0ms 05 1 0ms 0ms 06 1 0ms 0ms 07 1 0ms 0ms 08 1 0ms 0ms 09 1 0ms 0ms 10 1 0ms 0ms 11 1 0ms 0ms 12 1 0ms 0ms 13 1 0ms 0ms 14 1 0ms 0ms 15 1 0ms 0ms 16 1 0ms 0ms 17 1 0ms 0ms 18 1 0ms 0ms 19 1 0ms 0ms 20 1 0ms 0ms 21 4 0ms 0ms 22 3 0ms 0ms 23 3 0ms 0ms [ User: azuresu - Total duration: 1ms - Times executed: 31 ]
[ Application: [unknown] - Total duration: 1ms - Times executed: 31 ]
-
set session statement_timeout to 120000;
Date: 2025-10-21 20:21:29 Duration: 0ms Database: azure_maintenance User: azure_maintenance Remote: azuresu Application: 169.254.128.1 Queryid: [unknown]
-
set session statement_timeout to 120000;
Date: 2025-10-21 08:20:46 Duration: 0ms Database: azure_maintenance User: azure_maintenance Remote: azuresu Application: 169.254.128.1 Queryid: [unknown]
-
set session statement_timeout to 120000;
Date: 2025-10-21 19:21:25 Duration: 0ms Database: azure_maintenance User: azure_maintenance Remote: azuresu Application: 169.254.128.1 Queryid: [unknown]
12 0ms 3 0ms 0ms 0ms SELECT 'database_access_privilege' AS parameter, has_database_privilege('public', 'postgres', 'CONNECT') AS value UNION ALL SELECT 'schema_access_privilege' AS parameter, has_schema_privilege('public', 'public', 'USAGE') AS value;Times Reported Time consuming bind #12
Day Hour Count Duration Avg duration 21 1 0ms 0ms 22 1 0ms 0ms 23 1 0ms 0ms [ User: azuresu - Total duration: 0ms - Times executed: 3 ]
[ Application: [unknown] - Total duration: 0ms - Times executed: 3 ]
-
SELECT 'database_access_privilege' AS parameter, has_database_privilege('public', 'postgres', 'CONNECT') AS value UNION ALL SELECT 'schema_access_privilege' AS parameter, has_schema_privilege('public', 'public', 'USAGE') AS value;
Date: 2025-10-21 22:03:10 Duration: 0ms Database: azure_maintenance User: azure_maintenance Remote: azuresu Application: 169.254.128.1 Queryid: [unknown]
-
SELECT 'database_access_privilege' AS parameter, has_database_privilege('public', 'postgres', 'CONNECT') AS value UNION ALL SELECT 'schema_access_privilege' AS parameter, has_schema_privilege('public', 'public', 'USAGE') AS value;
Date: 2025-10-21 23:03:14 Duration: 0ms Database: azure_maintenance User: azure_maintenance Remote: azuresu Application: 169.254.128.1 Queryid: [unknown]
-
SELECT 'database_access_privilege' AS parameter, has_database_privilege('public', 'postgres', 'CONNECT') AS value UNION ALL SELECT 'schema_access_privilege' AS parameter, has_schema_privilege('public', 'public', 'USAGE') AS value;
Date: 2025-10-21 21:44:39 Duration: 0ms Database: azure_maintenance User: azure_maintenance Remote: azuresu Application: 169.254.128.1 Queryid: [unknown]
-
Events
Log levels
Key values
- 234,974 Log entries
Events distribution
Key values
- 0 PANIC entries
- 2 FATAL entries
- 0 ERROR entries
- 0 WARNING entries
Most Frequent Errors/Events
Key values
- 2 Max number of times the same event was reported
- 2 Total events found
Rank Times reported Error 1 2 FATAL: terminating connection due to administrator command
Times Reported Most Frequent Error / Event #1
Day Hour Count Oct 21 23 1 00 1