-
Global information
- Generated on Mon Sep 22 15:27:13 2025
- Log file: ././A3D-RND-REF/y=2025/m=09/d=17/h=00/m=00/PT1H.log, ..., ././A3D-RND-REF/y=2025/m=09/d=17/h=23/m=00/PT1H.log
- Parsed 1,745,846 log entries in 4m24s
- Log start from 2025-09-17 00:00:03 to 2025-09-17 23:59:59
-
Overview
Global Stats
- 101 Number of unique normalized queries
- 75,507 Number of queries
- 36s8ms Total query duration
- 2025-09-17 00:00:08 First query
- 2025-09-17 23:59:56 Last query
- 45 queries/s at 2025-09-17 10:00:23 Query peak
- 36s8ms Total query duration
- 15s302ms Prepare/parse total duration
- 10s175ms Bind total duration
- 10s530ms Execute total duration
- 6 Number of events
- 4 Number of unique normalized events
- 3 Max number of times the same event was reported
- 0 Number of cancellation
- 0 Total number of automatic vacuums
- 0 Total number of automatic analyzes
- 0 Number temporary file
- 0 Max size of temporary file
- 0.00 B Average size of temporary file
- 8,459 Total number of sessions
- 3 sessions at 2025-09-17 22:48:15 Session peak
- 1d2h24m5s Total duration of sessions
- 11s235ms Average duration of sessions
- 8 Average queries per session
- 4ms Average queries duration per session
- 11s231ms Average idle time per session
- 8,458 Total number of connections
- 8 connections/s at 2025-09-17 10:17:58 Connection peak
- 1 Total number of databases
SQL Traffic
Key values
- 45 queries/s Query Peak
- 2025-09-17 10:00:23 Date
SELECT Traffic
Key values
- 42 queries/s Query Peak
- 2025-09-17 10:00:23 Date
INSERT/UPDATE/DELETE Traffic
Key values
- 4 queries/s Query Peak
- 2025-09-17 10:00:55 Date
Queries duration
Key values
- 36s8ms 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) Sep 17 00 3,144 0ms 48ms 0ms 7ms 16ms 55ms 01 3,141 0ms 45ms 0ms 7ms 19ms 53ms 02 3,153 0ms 42ms 0ms 9ms 18ms 49ms 03 3,162 0ms 43ms 0ms 9ms 14ms 50ms 04 3,155 0ms 44ms 0ms 6ms 17ms 51ms 05 3,148 0ms 43ms 0ms 6ms 15ms 51ms 06 3,133 0ms 112ms 0ms 9ms 22ms 120ms 07 3,154 0ms 134ms 0ms 9ms 23ms 142ms 08 3,154 0ms 89ms 0ms 7ms 17ms 97ms 09 3,155 0ms 44ms 0ms 8ms 18ms 52ms 10 2,869 0ms 413ms 0ms 67ms 231ms 492ms 11 3,164 0ms 44ms 0ms 7ms 12ms 53ms 12 3,177 0ms 45ms 0ms 7ms 13ms 54ms 13 3,172 0ms 111ms 0ms 11ms 53ms 115ms 14 3,157 0ms 45ms 0ms 7ms 16ms 52ms 15 3,169 0ms 47ms 0ms 7ms 13ms 58ms 16 3,182 0ms 51ms 0ms 9ms 18ms 60ms 17 3,161 0ms 45ms 0ms 8ms 14ms 53ms 18 3,165 0ms 49ms 0ms 6ms 10ms 57ms 19 3,171 0ms 46ms 0ms 6ms 13ms 55ms 20 3,165 0ms 46ms 0ms 7ms 14ms 55ms 21 3,146 0ms 46ms 0ms 6ms 12ms 53ms 22 3,158 0ms 93ms 0ms 9ms 19ms 102ms 23 3,152 0ms 140ms 0ms 7ms 18ms 150ms Day Hour SELECT COPY TO Average Duration Latency Percentile(90) Latency Percentile(95) Latency Percentile(99) Sep 17 00 1,667 0 0ms 2ms 4ms 45ms 01 1,665 0 0ms 3ms 4ms 46ms 02 1,667 0 0ms 3ms 5ms 45ms 03 1,669 0 0ms 3ms 6ms 46ms 04 1,673 0 0ms 3ms 4ms 45ms 05 1,667 0 0ms 2ms 3ms 45ms 06 1,662 0 0ms 3ms 7ms 45ms 07 1,670 0 0ms 3ms 8ms 90ms 08 1,668 0 0ms 3ms 5ms 47ms 09 1,675 0 0ms 3ms 5ms 47ms 10 1,523 0 0ms 12ms 51ms 219ms 11 1,667 0 0ms 3ms 4ms 47ms 12 1,676 0 0ms 2ms 3ms 48ms 13 1,675 0 0ms 3ms 9ms 48ms 14 1,665 0 0ms 3ms 5ms 47ms 15 1,671 0 0ms 3ms 4ms 49ms 16 1,681 0 0ms 3ms 7ms 53ms 17 1,666 0 0ms 3ms 7ms 47ms 18 1,668 0 0ms 3ms 4ms 48ms 19 1,670 0 0ms 2ms 3ms 48ms 20 1,669 0 0ms 2ms 3ms 49ms 21 1,670 0 0ms 3ms 4ms 48ms 22 1,682 0 0ms 3ms 5ms 48ms 23 1,670 0 0ms 3ms 5ms 70ms Day Hour INSERT UPDATE DELETE COPY FROM Average Duration Latency Percentile(90) Latency Percentile(95) Latency Percentile(99) Sep 17 00 0 0 0 0 0ms 0ms 0ms 0ms 01 0 0 0 0 0ms 0ms 0ms 0ms 02 0 0 0 0 0ms 0ms 0ms 0ms 03 0 0 0 0 0ms 0ms 0ms 0ms 04 0 0 0 0 0ms 0ms 0ms 0ms 05 0 0 0 0 0ms 0ms 0ms 0ms 06 0 0 0 0 0ms 0ms 0ms 0ms 07 0 0 0 0 0ms 0ms 0ms 0ms 08 0 0 0 0 0ms 0ms 0ms 0ms 09 0 0 0 0 0ms 0ms 0ms 0ms 10 0 0 0 0 0ms 0ms 0ms 0ms 11 0 0 0 0 0ms 0ms 0ms 0ms 12 0 0 0 0 0ms 0ms 0ms 0ms 13 0 0 0 0 0ms 0ms 0ms 0ms 14 0 0 0 0 0ms 0ms 0ms 0ms 15 0 0 0 0 0ms 0ms 0ms 0ms 16 0 0 0 0 0ms 0ms 0ms 0ms 17 0 0 0 0 0ms 0ms 0ms 0ms 18 0 0 0 0 0ms 0ms 0ms 0ms 19 0 0 0 0 0ms 0ms 0ms 0ms 20 0 0 0 0 0ms 0ms 0ms 0ms 21 0 0 0 0 0ms 0ms 0ms 0ms 22 0 0 0 0 0ms 0ms 0ms 0ms 23 0 0 0 0 0ms 0ms 0ms 0ms Day Hour Prepare Bind Bind/Prepare Percentage of prepare Sep 17 00 2,131 2,131 1.00 125.87% 01 2,124 2,124 1.00 125.61% 02 2,130 2,130 1.00 125.81% 03 2,133 2,133 1.00 125.84% 04 2,132 2,132 1.00 125.49% 05 2,130 2,130 1.00 125.81% 06 2,122 2,122 1.00 125.71% 07 2,133 2,133 1.00 125.77% 08 2,131 2,131 1.00 125.80% 09 2,136 2,136 1.00 125.57% 10 1,935 1,935 1.00 123.56% 11 2,128 2,128 1.00 125.69% 12 2,143 2,143 1.00 125.91% 13 2,143 2,143 1.00 125.98% 14 2,127 2,127 1.00 125.78% 15 2,132 2,132 1.00 125.63% 16 2,145 2,145 1.00 125.66% 17 2,128 2,128 1.00 125.77% 18 2,129 2,129 1.00 125.68% 19 2,135 2,135 1.00 125.88% 20 2,131 2,131 1.00 125.72% 21 2,135 2,135 1.00 125.88% 22 2,143 2,143 1.00 125.47% 23 2,136 2,136 1.00 125.94% Day Hour Count Average / Second Sep 17 00 363 0.10/s 01 362 0.10/s 02 356 0.10/s 03 348 0.10/s 04 352 0.10/s 05 358 0.10/s 06 366 0.10/s 07 364 0.10/s 08 360 0.10/s 09 363 0.10/s 10 326 0.09/s 11 341 0.09/s 12 349 0.10/s 13 351 0.10/s 14 344 0.10/s 15 344 0.10/s 16 348 0.10/s 17 343 0.10/s 18 344 0.10/s 19 341 0.09/s 20 344 0.10/s 21 367 0.10/s 22 362 0.10/s 23 362 0.10/s Day Hour Count Average Duration Average idle time Sep 17 00 363 11s24ms 11s23ms 01 362 11s348ms 11s347ms 02 356 11s237ms 11s236ms 03 348 11s377ms 11s375ms 04 352 11s175ms 11s174ms 05 358 11s195ms 11s194ms 06 366 11s192ms 11s191ms 07 364 11s571ms 11s570ms 08 360 11s246ms 11s245ms 09 363 11s176ms 11s175ms 10 327 15s665ms 15s660ms 11 341 10s818ms 10s817ms 12 349 10s755ms 10s753ms 13 351 11s180ms 11s179ms 14 345 10s754ms 10s753ms 15 343 10s781ms 10s780ms 16 348 10s927ms 10s925ms 17 343 10s939ms 10s938ms 18 344 10s688ms 10s687ms 19 341 10s861ms 10s860ms 20 344 10s860ms 10s859ms 21 367 11s43ms 11s42ms 22 362 11s89ms 11s87ms 23 362 11s1ms 11s -
Connections
Established Connections
Key values
- 8 connections Connection Peak
- 2025-09-17 10:17:58 Date
Connections per database
Key values
- postgres Main Database
- 8,458 connections Total
Connections per user
Key values
- azuresu Main User
- 8,458 connections Total
-
Sessions
Simultaneous sessions
Key values
- 3 sessions Session Peak
- 2025-09-17 22:48:15 Date
Histogram of session times
Key values
- 4,287 1000-30000ms duration
Sessions per database
Key values
- postgres Main Database
- 8,459 sessions Total
Sessions per user
Key values
- azuresu Main User
- 8,459 sessions Total
Sessions per host
Key values
- 169.254.128.1 Main Host
- 8,459 sessions Total
-
Checkpoints / Restartpoints
Checkpoints Buffers
Key values
- 1,913 buffers Checkpoint Peak
- 2025-09-17 10:31:55 Date
- 191.571 seconds Highest write time
- 0.016 seconds Sync time
Checkpoints Wal files
Key values
- 3 files Wal files usage Peak
- 2025-09-17 10:06:51 Date
Checkpoints distance
Key values
- 95.68 Mo Distance Peak
- 2025-09-17 10:06:51 Date
Checkpoints Activity
↑ Back to the top of the Checkpoint Activity tableDay Hour Written buffers Write time Sync time Total time Sep 17 00 41 3.545s 0.046s 3.739s 01 42 3.55s 0.041s 3.748s 02 41 3.547s 0.048s 3.75s 03 41 3.547s 0.043s 3.746s 04 42 3.548s 0.043s 3.743s 05 41 3.547s 0.042s 3.739s 06 40 3.45s 0.04s 3.795s 07 39 3.344s 0.041s 3.543s 08 42 3.549s 0.043s 3.746s 09 41 3.548s 0.049s 3.758s 10 3,736 301.554s 0.08s 302.132s 11 45 3.954s 0.043s 4.108s 12 41 3.35s 0.052s 3.547s 13 38 2.742s 0.042s 2.939s 14 44 3.845s 0.047s 4.1s 15 39 3.248s 0.05s 3.453s 16 38 3.246s 0.042s 3.437s 17 39 3.248s 0.047s 3.438s 18 38 3.247s 0.046s 3.446s 19 39 3.249s 0.042s 3.442s 20 38 3.247s 0.044s 3.447s 21 38 3.244s 0.046s 3.441s 22 39 3.255s 0.05s 3.467s 23 38 3.251s 0.051s 3.465s Day Hour Added Removed Recycled Synced files Longest sync Average sync Sep 17 00 0 0 12 39 0.009s 0.011s 01 0 0 12 39 0.005s 0.009s 02 0 0 12 39 0.009s 0.009s 03 0 0 12 39 0.007s 0.009s 04 0 0 12 39 0.006s 0.01s 05 0 0 12 39 0.006s 0.009s 06 0 0 12 39 0.006s 0.009s 07 0 0 12 39 0.006s 0.009s 08 0 0 12 39 0.006s 0.01s 09 0 0 12 39 0.008s 0.011s 10 0 0 7 550 0.015s 0.013s 11 0 0 0 42 0.007s 0.009s 12 0 0 9 39 0.010s 0.011s 13 0 0 12 38 0.006s 0.01s 14 0 0 12 40 0.009s 0.011s 15 0 0 12 38 0.010s 0.012s 16 0 0 12 38 0.007s 0.01s 17 0 0 12 38 0.008s 0.011s 18 0 0 12 38 0.008s 0.011s 19 0 0 12 38 0.007s 0.01s 20 0 0 12 38 0.008s 0.01s 21 0 0 12 38 0.008s 0.011s 22 0 0 12 38 0.014s 0.011s 23 0 0 12 38 0.009s 0.012s Day Hour Count Avg time (sec) Sep 17 00 0 0s 01 0 0s 02 0 0s 03 0 0s 04 0 0s 05 0 0s 06 0 0s 07 0 0s 08 0 0s 09 0 0s 10 0 0s 11 0 0s 12 0 0s 13 0 0s 14 0 0s 15 0 0s 16 0 0s 17 0 0s 18 0 0s 19 0 0s 20 0 0s 21 0 0s 22 0 0s 23 0 0s Day Hour Mean distance Mean estimate Sep 17 00 32,767.67 kB 32,769.17 kB 01 32,767.50 kB 32,769.17 kB 02 32,767.67 kB 32,769.50 kB 03 32,767.17 kB 32,769.33 kB 04 32,768.00 kB 32,769.33 kB 05 32,767.17 kB 32,769.17 kB 06 32,767.17 kB 32,769.33 kB 07 32,768.00 kB 32,769.67 kB 08 32,767.00 kB 32,769.83 kB 09 32,767.67 kB 32,769.50 kB 10 29,126.67 kB 35,614.67 kB 11 32,767.67 kB 33,294.00 kB 12 32,767.50 kB 33,047.33 kB 13 32,767.17 kB 32,915.83 kB 14 32,767.83 kB 32,846.33 kB 15 32,767.67 kB 32,809.50 kB 16 32,767.33 kB 32,789.67 kB 17 32,767.67 kB 32,779.33 kB 18 32,767.50 kB 32,773.67 kB 19 32,767.50 kB 32,770.83 kB 20 32,768.00 kB 32,769.33 kB 21 32,767.33 kB 32,768.50 kB 22 32,767.67 kB 32,768.17 kB 23 32,767.50 kB 32,768.00 kB -
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 Sep 17 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.47 sec Highest CPU-cost vacuum
Table public.ged_document
Database cnrs - 2025-09-17 10:39:35 Date
- 0 sec Highest CPU-cost analyze
Table
Database cnrs - Date
Average Autovacuum Duration
Key values
- 0.47 sec Highest CPU-cost vacuum
Table public.ged_document
Database cnrs - 2025-09-17 10:39:35 Date
Analyzes per table
Key values
- unknown (0) Main table analyzed (database )
- 0 analyzes Total
Vacuums per table
Key values
- unknown (0) Main table vacuumed on database
- 0 vacuums Total
Tuples removed per table
Key values
- pg_catalog.pg_largeobject_metadata (11612) Main table with removed tuples on database pentest
- 67870 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 Sep 17 00 0 0 01 0 0 02 0 0 03 0 0 04 0 0 05 0 0 06 0 0 07 0 0 08 0 0 09 0 0 10 0 0 11 0 0 12 0 0 13 0 0 14 0 0 15 0 0 16 0 0 17 0 0 18 0 0 19 0 0 20 0 0 21 0 0 22 0 0 23 0 0 - 0.47 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
- 39,936 Total read queries
- 641 Total write queries
Queries by database
Key values
- postgres Main database
- 75,507 Requests
- 10s530ms (postgres)
- Main time consuming database
Queries by user
Key values
- azuresu Main user
- 75,495 Requests
User Request type Count Duration a3dsupervisor Total 12 2ms others 6 2ms select 6 0ms azuresu Total 75,495 10s527ms cte 626 514ms ddl 15 19ms others 34,924 2s457ms select 39,930 7s536ms Duration by user
Key values
- 10s527ms (azuresu) Main time consuming user
User Request type Count Duration a3dsupervisor Total 12 2ms others 6 2ms select 6 0ms azuresu Total 75,495 10s527ms cte 626 514ms ddl 15 19ms others 34,924 2s457ms select 39,930 7s536ms Queries by host
Key values
- 169.254.128.1 Main host
- 71,635 Requests
- 9s110ms (169.254.128.1)
- Main time consuming host
Host Request type Count Duration 10.3.0.4 Total 10 2ms others 5 1ms select 5 0ms 10.3.1.6 Total 2 0ms others 1 0ms select 1 0ms 127.0.0.1 Total 3,416 1s69ms select 3,416 1s69ms 169.254.128.1 Total 71,635 9s110ms cte 623 471ms ddl 13 5ms others 34,920 2s451ms select 36,079 6s182ms [local] Total 444 348ms cte 3 43ms ddl 2 13ms others 4 6ms select 435 284ms Queries by application
Key values
- [unknown] Main application
- 71,654 Requests
- 9s176ms ([unknown])
- Main time consuming application
Number of cancelled queries
Key values
- 0 per second Cancelled query Peak
- 2025-09-17 14:17:05 Date
Number of cancelled queries (5 minutes period)
NO DATASET
-
Top Queries
Histogram of query times
Key values
- 74,654 0-1ms duration
Slowest individual queries
Rank Duration Query 1 413ms SELECT pg_catalog.pg_backup_start (, true);[ Date: 2025-09-17 10:18:44 - Database: postgres - User: azuresu - Remote: 169.254.128.1 - Application: [unknown] - Bind query: yes ]
2 140ms SELECT pg_catalog.pg_database.datname AS database_name, pg_catalog.pg_database.oid AS database_oid, pg_catalog.pg_database_size(pg_catalog.pg_database.datname) AS database_size_bytes, pg_encoding_to_char(encoding) AS encoding, datcollate, datctype, CASE datlocprovider WHEN 'c' THEN 'libc' WHEN 'i' THEN 'icu' END AS datlocprovider FROM pg_catalog.pg_database;[ Date: 2025-09-17 23:20:46 - Database: postgres - User: azuresu - Remote: 169.254.128.1 - Application: [unknown] - Bind query: yes ]
3 134ms SELECT pg_catalog.pg_database.datname AS database_name, pg_catalog.pg_database.oid AS database_oid, pg_catalog.pg_database_size(pg_catalog.pg_database.datname) AS database_size_bytes, pg_encoding_to_char(encoding) AS encoding, datcollate, datctype, CASE datlocprovider WHEN 'c' THEN 'libc' WHEN 'i' THEN 'icu' END AS datlocprovider FROM pg_catalog.pg_database;[ Date: 2025-09-17 07:05:30 - Database: postgres - User: azuresu - Remote: 169.254.128.1 - Application: [unknown] - Bind query: yes ]
4 112ms SELECT pg_catalog.pg_database.datname AS database_name, pg_catalog.pg_database.oid AS database_oid, pg_catalog.pg_database_size(pg_catalog.pg_database.datname) AS database_size_bytes, pg_encoding_to_char(encoding) AS encoding, datcollate, datctype, CASE datlocprovider WHEN 'c' THEN 'libc' WHEN 'i' THEN 'icu' END AS datlocprovider FROM pg_catalog.pg_database;[ Date: 2025-09-17 06:35:28 - Database: postgres - User: azuresu - Remote: 169.254.128.1 - Application: [unknown] - Bind query: yes ]
5 112ms 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-09-17 10:00:24 - Database: postgres - User: azuresu - Remote: 169.254.128.1 - Application: [unknown] ]
6 111ms SELECT pg_catalog.pg_backup_start (, true);[ Date: 2025-09-17 13:14:10 - Database: postgres - User: azuresu - Remote: 169.254.128.1 - Application: [unknown] - Bind query: yes ]
7 96ms SELECT pg_catalog.pg_database.datname AS database_name, pg_catalog.pg_database.oid AS database_oid, pg_catalog.pg_database_size(pg_catalog.pg_database.datname) AS database_size_bytes, pg_encoding_to_char(encoding) AS encoding, datcollate, datctype, CASE datlocprovider WHEN 'c' THEN 'libc' WHEN 'i' THEN 'icu' END AS datlocprovider FROM pg_catalog.pg_database;[ Date: 2025-09-17 10:05:38 - Database: postgres - User: azuresu - Remote: 169.254.128.1 - Application: [unknown] - Bind query: yes ]
8 94ms SELECT pg_catalog.pg_backup_start (, true);[ Date: 2025-09-17 10:06:51 - Database: postgres - User: azuresu - Remote: 169.254.128.1 - Application: [unknown] - Bind query: yes ]
9 93ms SELECT pg_catalog.pg_database.datname AS database_name, pg_catalog.pg_database.oid AS database_oid, pg_catalog.pg_database_size(pg_catalog.pg_database.datname) AS database_size_bytes, pg_encoding_to_char(encoding) AS encoding, datcollate, datctype, CASE datlocprovider WHEN 'c' THEN 'libc' WHEN 'i' THEN 'icu' END AS datlocprovider FROM pg_catalog.pg_database;[ Date: 2025-09-17 22:50:45 - Database: postgres - User: azuresu - Remote: 169.254.128.1 - Application: [unknown] - Bind query: yes ]
10 89ms SELECT pg_catalog.pg_database.datname AS database_name, pg_catalog.pg_database.oid AS database_oid, pg_catalog.pg_database_size(pg_catalog.pg_database.datname) AS database_size_bytes, pg_encoding_to_char(encoding) AS encoding, datcollate, datctype, CASE datlocprovider WHEN 'c' THEN 'libc' WHEN 'i' THEN 'icu' END AS datlocprovider FROM pg_catalog.pg_database;[ Date: 2025-09-17 08:05:33 - Database: postgres - User: azuresu - Remote: 169.254.128.1 - Application: [unknown] - Bind query: yes ]
11 86ms SELECT pg_catalog.pg_database.datname AS database_name, pg_catalog.pg_database.oid AS database_oid, pg_catalog.pg_database_size(pg_catalog.pg_database.datname) AS database_size_bytes, pg_encoding_to_char(encoding) AS encoding, datcollate, datctype, CASE datlocprovider WHEN 'c' THEN 'libc' WHEN 'i' THEN 'icu' END AS datlocprovider FROM pg_catalog.pg_database;[ Date: 2025-09-17 07:35:32 - Database: postgres - User: azuresu - Remote: 169.254.128.1 - Application: [unknown] - Bind query: yes ]
12 82ms SELECT pg_catalog.pg_switch_wal ();[ Date: 2025-09-17 10:06:43 - Database: postgres - User: azuresu - Remote: 169.254.128.1 - Application: [unknown] - Bind query: yes ]
13 67ms SELECT pg_catalog.pg_database.datname AS database_name, pg_catalog.pg_database.oid AS database_oid, pg_catalog.pg_database_size(pg_catalog.pg_database.datname) AS database_size_bytes, pg_encoding_to_char(encoding) AS encoding, datcollate, datctype, CASE datlocprovider WHEN 'c' THEN 'libc' WHEN 'i' THEN 'icu' END AS datlocprovider FROM pg_catalog.pg_database;[ Date: 2025-09-17 23:50:48 - Database: postgres - User: azuresu - Remote: 169.254.128.1 - Application: [unknown] - Bind query: yes ]
14 54ms SELECT lsn, labelfile, spcmapfile from pg_catalog.pg_backup_stop (false);[ Date: 2025-09-17 10:07:36 - Database: postgres - User: azuresu - Remote: 169.254.128.1 - Application: [unknown] - Bind query: yes ]
15 51ms SELECT pg_catalog.pg_database.datname AS database_name, pg_catalog.pg_database.oid AS database_oid, pg_catalog.pg_database_size(pg_catalog.pg_database.datname) AS database_size_bytes, pg_encoding_to_char(encoding) AS encoding, datcollate, datctype, CASE datlocprovider WHEN 'c' THEN 'libc' WHEN 'i' THEN 'icu' END AS datlocprovider FROM pg_catalog.pg_database;[ Date: 2025-09-17 16:50:36 - Database: postgres - User: azuresu - Remote: 169.254.128.1 - Application: [unknown] - Bind query: yes ]
16 50ms SELECT pg_catalog.pg_database.datname AS database_name, pg_catalog.pg_database.oid AS database_oid, pg_catalog.pg_database_size(pg_catalog.pg_database.datname) AS database_size_bytes, pg_encoding_to_char(encoding) AS encoding, datcollate, datctype, CASE datlocprovider WHEN 'c' THEN 'libc' WHEN 'i' THEN 'icu' END AS datlocprovider FROM pg_catalog.pg_database;[ Date: 2025-09-17 16:20:35 - Database: postgres - User: azuresu - Remote: 169.254.128.1 - Application: [unknown] - Bind query: yes ]
17 49ms SELECT pg_catalog.pg_database.datname AS database_name, pg_catalog.pg_database.oid AS database_oid, pg_catalog.pg_database_size(pg_catalog.pg_database.datname) AS database_size_bytes, pg_encoding_to_char(encoding) AS encoding, datcollate, datctype, CASE datlocprovider WHEN 'c' THEN 'libc' WHEN 'i' THEN 'icu' END AS datlocprovider FROM pg_catalog.pg_database;[ Date: 2025-09-17 18:20:38 - Database: postgres - User: azuresu - Remote: 169.254.128.1 - Application: [unknown] - Bind query: yes ]
18 48ms SELECT pg_catalog.pg_database.datname AS database_name, pg_catalog.pg_database.oid AS database_oid, pg_catalog.pg_database_size(pg_catalog.pg_database.datname) AS database_size_bytes, pg_encoding_to_char(encoding) AS encoding, datcollate, datctype, CASE datlocprovider WHEN 'c' THEN 'libc' WHEN 'i' THEN 'icu' END AS datlocprovider FROM pg_catalog.pg_database;[ Date: 2025-09-17 00:05:17 - Database: postgres - User: azuresu - Remote: 169.254.128.1 - Application: [unknown] - Bind query: yes ]
19 48ms SELECT pg_catalog.pg_database.datname AS database_name, pg_catalog.pg_database.oid AS database_oid, pg_catalog.pg_database_size(pg_catalog.pg_database.datname) AS database_size_bytes, pg_encoding_to_char(encoding) AS encoding, datcollate, datctype, CASE datlocprovider WHEN 'c' THEN 'libc' WHEN 'i' THEN 'icu' END AS datlocprovider FROM pg_catalog.pg_database;[ Date: 2025-09-17 10:20:26 - Database: postgres - User: azuresu - Remote: 169.254.128.1 - Application: [unknown] - Bind query: yes ]
20 47ms SELECT pg_catalog.pg_database.datname AS database_name, pg_catalog.pg_database.oid AS database_oid, pg_catalog.pg_database_size(pg_catalog.pg_database.datname) AS database_size_bytes, pg_encoding_to_char(encoding) AS encoding, datcollate, datctype, CASE datlocprovider WHEN 'c' THEN 'libc' WHEN 'i' THEN 'icu' END AS datlocprovider FROM pg_catalog.pg_database;[ Date: 2025-09-17 15:20:34 - Database: postgres - 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 2s677ms 49 42ms 140ms 54ms select pg_catalog.pg_database.datname as database_name, pg_catalog.pg_database.oid as database_oid, pg_catalog.pg_database_size(pg_catalog.pg_database.datname) as database_size_bytes, pg_encoding_to_char(encoding) as encoding, datcollate, datctype, case datlocprovider when ? then ? when ? then ? end as datlocprovider from pg_catalog.pg_database;Times Reported Time consuming queries #1
Day Hour Count Duration Avg duration Sep 17 02 2 91ms 45ms 03 2 88ms 44ms 04 2 85ms 42ms 05 2 86ms 43ms 06 2 87ms 43ms 07 2 85ms 42ms 08 2 155ms 77ms 09 2 221ms 110ms 10 2 133ms 66ms 11 2 88ms 44ms 12 3 189ms 63ms 13 2 88ms 44ms 14 2 90ms 45ms 15 2 89ms 44ms 16 2 89ms 44ms 17 2 94ms 47ms 18 2 102ms 51ms 19 2 91ms 45ms 20 2 94ms 47ms 21 2 92ms 46ms 22 2 91ms 45ms 23 2 91ms 45ms 00 2 138ms 69ms 01 2 208ms 104ms [ User: azuresu - Total duration: 2s677ms - Times executed: 49 ]
[ Application: [unknown] - Total duration: 2s677ms - Times executed: 49 ]
-
SELECT pg_catalog.pg_database.datname AS database_name, pg_catalog.pg_database.oid AS database_oid, pg_catalog.pg_database_size(pg_catalog.pg_database.datname) AS database_size_bytes, pg_encoding_to_char(encoding) AS encoding, datcollate, datctype, CASE datlocprovider WHEN 'c' THEN 'libc' WHEN 'i' THEN 'icu' END AS datlocprovider FROM pg_catalog.pg_database;
Date: 2025-09-17 23:20:46 Duration: 140ms Database: postgres User: azuresu Remote: 169.254.128.1 Application: [unknown] Bind query: yes
-
SELECT pg_catalog.pg_database.datname AS database_name, pg_catalog.pg_database.oid AS database_oid, pg_catalog.pg_database_size(pg_catalog.pg_database.datname) AS database_size_bytes, pg_encoding_to_char(encoding) AS encoding, datcollate, datctype, CASE datlocprovider WHEN 'c' THEN 'libc' WHEN 'i' THEN 'icu' END AS datlocprovider FROM pg_catalog.pg_database;
Date: 2025-09-17 07:05:30 Duration: 134ms Database: postgres User: azuresu Remote: 169.254.128.1 Application: [unknown] Bind query: yes
-
SELECT pg_catalog.pg_database.datname AS database_name, pg_catalog.pg_database.oid AS database_oid, pg_catalog.pg_database_size(pg_catalog.pg_database.datname) AS database_size_bytes, pg_encoding_to_char(encoding) AS encoding, datcollate, datctype, CASE datlocprovider WHEN 'c' THEN 'libc' WHEN 'i' THEN 'icu' END AS datlocprovider FROM pg_catalog.pg_database;
Date: 2025-09-17 06:35:28 Duration: 112ms Database: postgres User: azuresu Remote: 169.254.128.1 Application: [unknown] Bind query: yes
2 2s161ms 20,613 0ms 15ms 0ms discard all;Times Reported Time consuming queries #2
Day Hour Count Duration Avg duration Sep 17 02 852 89ms 0ms 03 855 102ms 0ms 04 862 86ms 0ms 05 868 87ms 0ms 06 861 86ms 0ms 07 857 85ms 0ms 08 850 81ms 0ms 09 859 84ms 0ms 10 862 88ms 0ms 11 858 87ms 0ms 12 743 77ms 0ms 13 875 96ms 0ms 14 872 92ms 0ms 15 867 92ms 0ms 16 869 90ms 0ms 17 875 92ms 0ms 18 876 95ms 0ms 19 872 93ms 0ms 20 874 91ms 0ms 21 875 91ms 0ms 22 873 92ms 0ms 23 849 92ms 0ms 00 854 92ms 0ms 01 855 92ms 0ms [ User: azuresu - Total duration: 2s161ms - Times executed: 20613 ]
[ Application: [unknown] - Total duration: 2s161ms - Times executed: 20613 ]
-
DISCARD ALL;
Date: 2025-09-17 01:58:40 Duration: 15ms Database: postgres User: azuresu Remote: 169.254.128.1 Application: [unknown]
-
DISCARD ALL;
Date: 2025-09-17 00:07:12 Duration: 3ms Database: postgres User: azuresu Remote: 169.254.128.1 Application: [unknown]
-
DISCARD ALL;
Date: 2025-09-17 16:51:43 Duration: 1ms Database: postgres User: azuresu Remote: 169.254.128.1 Application: [unknown]
3 1s606ms 12,659 0ms 8ms 0ms select ?;Times Reported Time consuming queries #3
Day Hour Count Duration Avg duration Sep 17 02 530 64ms 0ms 03 532 67ms 0ms 04 531 70ms 0ms 05 531 75ms 0ms 06 531 66ms 0ms 07 531 58ms 0ms 08 531 83ms 0ms 09 532 71ms 0ms 10 531 70ms 0ms 11 530 63ms 0ms 12 446 55ms 0ms 13 531 63ms 0ms 14 532 61ms 0ms 15 531 69ms 0ms 16 530 64ms 0ms 17 532 64ms 0ms 18 531 68ms 0ms 19 531 73ms 0ms 20 531 64ms 0ms 21 530 63ms 0ms 22 531 61ms 0ms 23 532 66ms 0ms 00 530 64ms 0ms 01 531 70ms 0ms [ User: azuresu - Total duration: 1s606ms - Times executed: 12659 ]
[ Application: psql - Total duration: 1s332ms - Times executed: 3845 ]
[ Application: [unknown] - Total duration: 274ms - Times executed: 8814 ]
-
select 1;
Date: 2025-09-17 02:18:40 Duration: 8ms Database: postgres User: azuresu Remote: [local] Application: psql
-
select 1;
Date: 2025-09-17 17:38:51 Duration: 8ms Database: postgres User: azuresu Remote: [local] Application: psql
-
select 1;
Date: 2025-09-17 03:08:40 Duration: 6ms Database: postgres User: azuresu Remote: [local] Application: psql
4 619ms 3 94ms 413ms 206ms select pg_catalog.pg_backup_start (, true);Times Reported Time consuming queries #4
Day Hour Count Duration Avg duration Sep 17 12 2 507ms 253ms 15 1 111ms 111ms [ User: azuresu - Total duration: 619ms - Times executed: 3 ]
[ Application: [unknown] - Total duration: 619ms - Times executed: 3 ]
-
SELECT pg_catalog.pg_backup_start (, true);
Date: 2025-09-17 10:18:44 Duration: 413ms Database: postgres User: azuresu Remote: 169.254.128.1 Application: [unknown] Bind query: yes
-
SELECT pg_catalog.pg_backup_start (, true);
Date: 2025-09-17 13:14:10 Duration: 111ms Database: postgres User: azuresu Remote: 169.254.128.1 Application: [unknown] Bind query: yes
-
SELECT pg_catalog.pg_backup_start (, true);
Date: 2025-09-17 10:06:51 Duration: 94ms Database: postgres User: azuresu Remote: 169.254.128.1 Application: [unknown] Bind query: yes
5 538ms 516 0ms 10ms 1ms select name, setting from pg_catalog.pg_file_settings where sourcefile =;Times Reported Time consuming queries #5
Day Hour Count Duration Avg duration Sep 17 02 18 16ms 0ms 03 18 17ms 0ms 04 18 19ms 1ms 05 18 14ms 0ms 06 27 27ms 1ms 07 18 16ms 0ms 08 18 23ms 1ms 09 18 24ms 1ms 10 18 16ms 0ms 11 27 28ms 1ms 12 86 103ms 1ms 13 16 14ms 0ms 14 16 16ms 1ms 15 16 13ms 0ms 16 16 18ms 1ms 17 16 15ms 0ms 18 24 25ms 1ms 19 16 15ms 0ms 20 16 11ms 0ms 21 16 16ms 1ms 22 16 14ms 0ms 23 16 14ms 0ms 00 32 30ms 0ms 01 16 21ms 1ms [ User: azuresu - Total duration: 538ms - Times executed: 516 ]
[ Application: [unknown] - Total duration: 538ms - Times executed: 516 ]
-
SELECT name, setting FROM pg_catalog.pg_file_settings where sourcefile =;
Date: 2025-09-17 10:18:48 Duration: 10ms Database: postgres User: azuresu Remote: 169.254.128.1 Application: [unknown] Bind query: yes
-
SELECT name, setting FROM pg_catalog.pg_file_settings where sourcefile =;
Date: 2025-09-17 10:18:48 Duration: 9ms Database: postgres User: azuresu Remote: 169.254.128.1 Application: [unknown] Bind query: yes
-
SELECT name, setting FROM pg_catalog.pg_file_settings where sourcefile =;
Date: 2025-09-17 23:12:33 Duration: 8ms Database: postgres User: azuresu Remote: 169.254.128.1 Application: [unknown] Bind query: yes
6 403ms 2,776 0ms 2ms 0ms select coalesce(sum(numbackends), ?) as active_connections from pg_catalog.pg_stat_database;Times Reported Time consuming queries #6
Day Hour Count Duration Avg duration Sep 17 02 117 14ms 0ms 03 116 14ms 0ms 04 117 16ms 0ms 05 117 19ms 0ms 06 116 14ms 0ms 07 117 17ms 0ms 08 116 19ms 0ms 09 117 14ms 0ms 10 117 18ms 0ms 11 116 15ms 0ms 12 96 15ms 0ms 13 116 17ms 0ms 14 117 16ms 0ms 15 117 19ms 0ms 16 116 17ms 0ms 17 116 15ms 0ms 18 117 17ms 0ms 19 116 16ms 0ms 20 116 15ms 0ms 21 117 15ms 0ms 22 116 18ms 0ms 23 117 16ms 0ms 00 116 20ms 0ms 01 117 17ms 0ms [ User: azuresu - Total duration: 403ms - Times executed: 2776 ]
[ Application: [unknown] - Total duration: 403ms - Times executed: 2776 ]
-
SELECT COALESCE(SUM(numbackends), 0) as active_connections FROM pg_catalog.pg_stat_database;
Date: 2025-09-17 10:25:50 Duration: 2ms Database: postgres User: azuresu Remote: 169.254.128.1 Application: [unknown] Bind query: yes
-
SELECT COALESCE(SUM(numbackends), 0) as active_connections FROM pg_catalog.pg_stat_database;
Date: 2025-09-17 14:38:06 Duration: 2ms Database: postgres User: azuresu Remote: 169.254.128.1 Application: [unknown] Bind query: yes
-
SELECT COALESCE(SUM(numbackends), 0) as active_connections FROM pg_catalog.pg_stat_database;
Date: 2025-09-17 03:14:37 Duration: 1ms Database: postgres User: azuresu Remote: 169.254.128.1 Application: [unknown] Bind query: yes
7 356ms 286 1ms 4ms 1ms with max_con as ( select setting::numeric from pg_catalog.pg_settings where name = ? ) select coalesce(sum(numbackends), ?) as active_connections, round(sum(numbackends) / max(setting), ?) as pct_connections, max(setting) as max_connections from pg_catalog.pg_stat_database, max_con;Times Reported Time consuming queries #7
Day Hour Count Duration Avg duration Sep 17 02 12 15ms 1ms 03 12 15ms 1ms 04 12 18ms 1ms 05 12 14ms 1ms 06 12 14ms 1ms 07 12 16ms 1ms 08 12 15ms 1ms 09 12 14ms 1ms 10 12 13ms 1ms 11 12 15ms 1ms 12 10 11ms 1ms 13 12 14ms 1ms 14 12 17ms 1ms 15 12 14ms 1ms 16 12 16ms 1ms 17 12 14ms 1ms 18 12 14ms 1ms 19 12 15ms 1ms 20 12 13ms 1ms 21 12 13ms 1ms 22 12 14ms 1ms 23 12 13ms 1ms 00 12 16ms 1ms 01 12 14ms 1ms [ User: azuresu - Total duration: 356ms - Times executed: 286 ]
[ Application: [unknown] - Total duration: 356ms - Times executed: 286 ]
-
WITH max_con AS ( SELECT setting::numeric FROM pg_catalog.pg_settings WHERE name = 'max_connections' ) SELECT COALESCE(SUM(numbackends), 0) as active_connections, ROUND(SUM(numbackends) / MAX(setting), 4) AS pct_connections, MAX(setting) AS max_connections FROM pg_catalog.pg_stat_database, max_con;
Date: 2025-09-17 14:35:33 Duration: 4ms Database: postgres User: azuresu Remote: 169.254.128.1 Application: [unknown] Bind query: yes
-
WITH max_con AS ( SELECT setting::numeric FROM pg_catalog.pg_settings WHERE name = 'max_connections' ) SELECT COALESCE(SUM(numbackends), 0) as active_connections, ROUND(SUM(numbackends) / MAX(setting), 4) AS pct_connections, MAX(setting) AS max_connections FROM pg_catalog.pg_stat_database, max_con;
Date: 2025-09-17 22:45:44 Duration: 3ms Database: postgres User: azuresu Remote: 169.254.128.1 Application: [unknown] Bind query: yes
-
WITH max_con AS ( SELECT setting::numeric FROM pg_catalog.pg_settings WHERE name = 'max_connections' ) SELECT COALESCE(SUM(numbackends), 0) as active_connections, ROUND(SUM(numbackends) / MAX(setting), 4) AS pct_connections, MAX(setting) AS max_connections FROM pg_catalog.pg_stat_database, max_con;
Date: 2025-09-17 02:55:22 Duration: 3ms Database: postgres User: azuresu Remote: 169.254.128.1 Application: [unknown] Bind query: yes
8 239ms 14,251 0ms 2ms 0ms set session statement_timeout to ?;Times Reported Time consuming queries #8
Day Hour Count Duration Avg duration Sep 17 02 599 8ms 0ms 03 595 9ms 0ms 04 598 10ms 0ms 05 599 10ms 0ms 06 595 8ms 0ms 07 598 11ms 0ms 08 595 11ms 0ms 09 599 9ms 0ms 10 598 13ms 0ms 11 595 9ms 0ms 12 501 7ms 0ms 13 596 10ms 0ms 14 601 9ms 0ms 15 601 10ms 0ms 16 596 8ms 0ms 17 597 10ms 0ms 18 599 11ms 0ms 19 597 9ms 0ms 20 597 8ms 0ms 21 600 8ms 0ms 22 597 10ms 0ms 23 601 9ms 0ms 00 596 10ms 0ms 01 601 10ms 0ms [ User: azuresu - Total duration: 239ms - Times executed: 14251 ]
[ Application: [unknown] - Total duration: 239ms - Times executed: 14251 ]
-
set session statement_timeout to 10000;
Date: 2025-09-17 16:58:20 Duration: 2ms Database: postgres User: azuresu Remote: 169.254.128.1 Application: [unknown] Bind query: yes
-
set session statement_timeout to 180000;
Date: 2025-09-17 15:00:26 Duration: 1ms Database: postgres User: azuresu Remote: 169.254.128.1 Application: [unknown] Bind query: yes
-
set session statement_timeout to 10000;
Date: 2025-09-17 05:21:06 Duration: 0ms Database: postgres User: azuresu Remote: 169.254.128.1 Application: [unknown] Bind query: yes
9 222ms 11 8ms 112ms 20ms 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 #9
Day Hour Count Duration Avg duration Sep 17 12 11 222ms 20ms [ User: azuresu - Total duration: 222ms - Times executed: 11 ]
[ Application: [unknown] - Total duration: 222ms - Times executed: 11 ]
-
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-09-17 10:00:24 Duration: 112ms Database: postgres 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-09-17 10:17:58 Duration: 26ms Database: postgres 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-09-17 10:06:43 Duration: 11ms Database: postgres User: azuresu Remote: 169.254.128.1 Application: [unknown]
10 172ms 2,776 0ms 3ms 0ms select max( case when slot.slot_type = ? and (slot.slot_name like ? or slot.slot_name like ?) then case when stat.replay_lsn is null then pg_catalog.pg_wal_lsn_diff (pg_catalog.pg_current_wal_lsn (), slot.restart_lsn)::bigint else pg_catalog.pg_wal_lsn_diff (pg_catalog.pg_current_wal_lsn (), stat.replay_lsn)::bigint end else null end) as physical_replication_delay_in_bytes, max( case when slot.slot_type = ? then case when stat.replay_lsn is null then pg_catalog.pg_wal_lsn_diff (pg_catalog.pg_current_wal_lsn (), slot.restart_lsn)::bigint else pg_catalog.pg_wal_lsn_diff (pg_catalog.pg_current_wal_lsn (), stat.replay_lsn)::bigint end else null end) as logical_replication_delay_in_bytes from pg_catalog.pg_replication_slots as slot left join pg_catalog.pg_stat_replication as stat on stat.pid = slot.active_pid;Times Reported Time consuming queries #10
Day Hour Count Duration Avg duration Sep 17 02 117 6ms 0ms 03 116 7ms 0ms 04 117 8ms 0ms 05 117 7ms 0ms 06 116 6ms 0ms 07 117 6ms 0ms 08 116 7ms 0ms 09 117 6ms 0ms 10 117 8ms 0ms 11 116 6ms 0ms 12 96 7ms 0ms 13 116 7ms 0ms 14 117 6ms 0ms 15 117 6ms 0ms 16 116 4ms 0ms 17 116 5ms 0ms 18 117 8ms 0ms 19 116 10ms 0ms 20 116 7ms 0ms 21 117 5ms 0ms 22 116 7ms 0ms 23 117 5ms 0ms 00 116 11ms 0ms 01 117 7ms 0ms [ User: azuresu - Total duration: 172ms - Times executed: 2776 ]
[ Application: [unknown] - Total duration: 172ms - Times executed: 2776 ]
-
SELECT MAX( CASE WHEN slot.slot_type = 'physical' AND (slot.slot_name LIKE 'azure_asyncreplica%' or slot.slot_name LIKE 'azure_geoasyncreplica%') THEN CASE WHEN stat.replay_lsn IS NULL THEN pg_catalog.pg_wal_lsn_diff (pg_catalog.pg_current_wal_lsn (), slot.restart_lsn)::bigint ELSE pg_catalog.pg_wal_lsn_diff (pg_catalog.pg_current_wal_lsn (), stat.replay_lsn)::bigint END ELSE NULL END) AS physical_replication_delay_in_bytes, MAX( CASE WHEN slot.slot_type = 'logical' THEN CASE WHEN stat.replay_lsn IS NULL THEN pg_catalog.pg_wal_lsn_diff (pg_catalog.pg_current_wal_lsn (), slot.restart_lsn)::bigint ELSE pg_catalog.pg_wal_lsn_diff (pg_catalog.pg_current_wal_lsn (), stat.replay_lsn)::bigint END ELSE NULL END) AS logical_replication_delay_in_bytes FROM pg_catalog.pg_replication_slots AS slot LEFT JOIN pg_catalog.pg_stat_replication AS stat ON stat.pid = slot.active_pid;
Date: 2025-09-17 17:01:57 Duration: 3ms Database: postgres User: azuresu Remote: 169.254.128.1 Application: [unknown] Bind query: yes
-
SELECT MAX( CASE WHEN slot.slot_type = 'physical' AND (slot.slot_name LIKE 'azure_asyncreplica%' or slot.slot_name LIKE 'azure_geoasyncreplica%') THEN CASE WHEN stat.replay_lsn IS NULL THEN pg_catalog.pg_wal_lsn_diff (pg_catalog.pg_current_wal_lsn (), slot.restart_lsn)::bigint ELSE pg_catalog.pg_wal_lsn_diff (pg_catalog.pg_current_wal_lsn (), stat.replay_lsn)::bigint END ELSE NULL END) AS physical_replication_delay_in_bytes, MAX( CASE WHEN slot.slot_type = 'logical' THEN CASE WHEN stat.replay_lsn IS NULL THEN pg_catalog.pg_wal_lsn_diff (pg_catalog.pg_current_wal_lsn (), slot.restart_lsn)::bigint ELSE pg_catalog.pg_wal_lsn_diff (pg_catalog.pg_current_wal_lsn (), stat.replay_lsn)::bigint END ELSE NULL END) AS logical_replication_delay_in_bytes FROM pg_catalog.pg_replication_slots AS slot LEFT JOIN pg_catalog.pg_stat_replication AS stat ON stat.pid = slot.active_pid;
Date: 2025-09-17 22:43:36 Duration: 2ms Database: postgres User: azuresu Remote: 169.254.128.1 Application: [unknown] Bind query: yes
-
SELECT MAX( CASE WHEN slot.slot_type = 'physical' AND (slot.slot_name LIKE 'azure_asyncreplica%' or slot.slot_name LIKE 'azure_geoasyncreplica%') THEN CASE WHEN stat.replay_lsn IS NULL THEN pg_catalog.pg_wal_lsn_diff (pg_catalog.pg_current_wal_lsn (), slot.restart_lsn)::bigint ELSE pg_catalog.pg_wal_lsn_diff (pg_catalog.pg_current_wal_lsn (), stat.replay_lsn)::bigint END ELSE NULL END) AS physical_replication_delay_in_bytes, MAX( CASE WHEN slot.slot_type = 'logical' THEN CASE WHEN stat.replay_lsn IS NULL THEN pg_catalog.pg_wal_lsn_diff (pg_catalog.pg_current_wal_lsn (), slot.restart_lsn)::bigint ELSE pg_catalog.pg_wal_lsn_diff (pg_catalog.pg_current_wal_lsn (), stat.replay_lsn)::bigint END ELSE NULL END) AS logical_replication_delay_in_bytes FROM pg_catalog.pg_replication_slots AS slot LEFT JOIN pg_catalog.pg_stat_replication AS stat ON stat.pid = slot.active_pid;
Date: 2025-09-17 08:28:06 Duration: 2ms Database: postgres User: azuresu Remote: 169.254.128.1 Application: [unknown] Bind query: yes
11 134ms 286 0ms 3ms 0ms select datid, datname as database_name, pid, usesysid, application_name, regexp_replace(host(client_addr), ?, ?) as client_addr, now() - backend_start as session_duration, state, backend_start, xact_start, query_start, state_change, wait_event_type, wait_event, backend_xid, backend_xmin, backend_type, now() as collection_time from pg_stat_activity;Times Reported Time consuming queries #11
Day Hour Count Duration Avg duration Sep 17 02 12 5ms 0ms 03 12 5ms 0ms 04 12 6ms 0ms 05 12 8ms 0ms 06 12 5ms 0ms 07 12 4ms 0ms 08 12 6ms 0ms 09 12 5ms 0ms 10 12 5ms 0ms 11 12 5ms 0ms 12 10 5ms 0ms 13 12 6ms 0ms 14 12 5ms 0ms 15 12 5ms 0ms 16 12 5ms 0ms 17 12 5ms 0ms 18 12 5ms 0ms 19 12 7ms 0ms 20 12 5ms 0ms 21 12 4ms 0ms 22 12 4ms 0ms 23 12 5ms 0ms 00 12 4ms 0ms 01 12 5ms 0ms [ User: azuresu - Total duration: 134ms - Times executed: 286 ]
[ Application: [unknown] - Total duration: 134ms - Times executed: 286 ]
-
SELECT datid, datname AS database_name, pid, usesysid, application_name, REGEXP_REPLACE(host(client_addr), '(.*)\.(.*)\.(.*)\.(.*)', '\1.\2.\3.X') AS client_addr, now() - backend_start AS session_duration, state, backend_start, xact_start, query_start, state_change, wait_event_type, wait_event, backend_xid, backend_xmin, backend_type, now() AS collection_time FROM pg_stat_activity;
Date: 2025-09-17 03:50:23 Duration: 3ms Database: postgres User: azuresu Remote: 169.254.128.1 Application: [unknown] Bind query: yes
-
SELECT datid, datname AS database_name, pid, usesysid, application_name, REGEXP_REPLACE(host(client_addr), '(.*)\.(.*)\.(.*)\.(.*)', '\1.\2.\3.X') AS client_addr, now() - backend_start AS session_duration, state, backend_start, xact_start, query_start, state_change, wait_event_type, wait_event, backend_xid, backend_xmin, backend_type, now() AS collection_time FROM pg_stat_activity;
Date: 2025-09-17 17:45:37 Duration: 2ms Database: postgres User: azuresu Remote: 169.254.128.1 Application: [unknown] Bind query: yes
-
SELECT datid, datname AS database_name, pid, usesysid, application_name, REGEXP_REPLACE(host(client_addr), '(.*)\.(.*)\.(.*)\.(.*)', '\1.\2.\3.X') AS client_addr, now() - backend_start AS session_duration, state, backend_start, xact_start, query_start, state_change, wait_event_type, wait_event, backend_xid, backend_xmin, backend_type, now() AS collection_time FROM pg_stat_activity;
Date: 2025-09-17 11:25:29 Duration: 1ms Database: postgres User: azuresu Remote: 169.254.128.1 Application: [unknown] Bind query: yes
12 127ms 3 31ms 54ms 42ms select lsn, labelfile, spcmapfile from pg_catalog.pg_backup_stop (false);Times Reported Time consuming queries #12
Day Hour Count Duration Avg duration Sep 17 12 2 86ms 43ms 15 1 41ms 41ms [ User: azuresu - Total duration: 127ms - Times executed: 3 ]
[ Application: [unknown] - Total duration: 127ms - Times executed: 3 ]
-
SELECT lsn, labelfile, spcmapfile from pg_catalog.pg_backup_stop (false);
Date: 2025-09-17 10:07:36 Duration: 54ms Database: postgres User: azuresu Remote: 169.254.128.1 Application: [unknown] Bind query: yes
-
SELECT lsn, labelfile, spcmapfile from pg_catalog.pg_backup_stop (false);
Date: 2025-09-17 13:15:55 Duration: 41ms Database: postgres User: azuresu Remote: 169.254.128.1 Application: [unknown] Bind query: yes
-
SELECT lsn, labelfile, spcmapfile from pg_catalog.pg_backup_stop (false);
Date: 2025-09-17 10:19:29 Duration: 31ms Database: postgres User: azuresu Remote: 169.254.128.1 Application: [unknown] Bind query: yes
13 125ms 4,059 0ms 3ms 0ms select archived_count from pg_catalog.pg_stat_archiver where (last_failed_time - last_archived_time) >= ?::interval;Times Reported Time consuming queries #13
Day Hour Count Duration Avg duration Sep 17 02 170 5ms 0ms 03 170 6ms 0ms 04 171 6ms 0ms 05 170 5ms 0ms 06 170 5ms 0ms 07 171 5ms 0ms 08 170 7ms 0ms 09 170 7ms 0ms 10 170 5ms 0ms 11 170 6ms 0ms 12 142 3ms 0ms 13 170 4ms 0ms 14 171 5ms 0ms 15 170 5ms 0ms 16 171 3ms 0ms 17 170 4ms 0ms 18 171 3ms 0ms 19 170 3ms 0ms 20 170 7ms 0ms 21 170 4ms 0ms 22 171 3ms 0ms 23 170 3ms 0ms 00 171 4ms 0ms 01 170 3ms 0ms [ User: azuresu - Total duration: 125ms - Times executed: 4059 ]
[ Application: [unknown] - Total duration: 125ms - Times executed: 4059 ]
-
select archived_count from pg_catalog.pg_stat_archiver where (last_failed_time - last_archived_time) >= '10 minute'::interval;
Date: 2025-09-17 18:03:00 Duration: 3ms Database: postgres User: azuresu Remote: 169.254.128.1 Application: [unknown] Bind query: yes
-
select archived_count from pg_catalog.pg_stat_archiver where (last_failed_time - last_archived_time) >= '10 minute'::interval;
Date: 2025-09-17 12:57:23 Duration: 1ms Database: postgres User: azuresu Remote: 169.254.128.1 Application: [unknown] Bind query: yes
-
select archived_count from pg_catalog.pg_stat_archiver where (last_failed_time - last_archived_time) >= '10 minute'::interval;
Date: 2025-09-17 13:41:42 Duration: 0ms Database: postgres User: azuresu Remote: 169.254.128.1 Application: [unknown] Bind query: yes
14 120ms 8,334 0ms 0ms 0ms select pg_catalog.pg_is_in_recovery() as is_in_recovery;Times Reported Time consuming queries #14
Day Hour Count Duration Avg duration Sep 17 02 348 4ms 0ms 03 348 4ms 0ms 04 347 4ms 0ms 05 349 5ms 0ms 06 348 4ms 0ms 07 347 5ms 0ms 08 346 5ms 0ms 09 348 4ms 0ms 10 349 4ms 0ms 11 347 5ms 0ms 12 293 3ms 0ms 13 352 4ms 0ms 14 352 5ms 0ms 15 353 4ms 0ms 16 349 6ms 0ms 17 353 4ms 0ms 18 353 5ms 0ms 19 350 6ms 0ms 20 352 5ms 0ms 21 352 4ms 0ms 22 352 4ms 0ms 23 349 4ms 0ms 00 348 5ms 0ms 01 349 4ms 0ms [ User: azuresu - Total duration: 120ms - Times executed: 8334 ]
[ Application: [unknown] - Total duration: 120ms - Times executed: 8334 ]
-
SELECT pg_catalog.pg_is_in_recovery() as is_in_Recovery;
Date: 2025-09-17 03:14:37 Duration: 0ms Database: postgres User: azuresu Remote: 169.254.128.1 Application: [unknown] Bind query: yes
-
SELECT pg_catalog.pg_is_in_recovery() as is_in_Recovery;
Date: 2025-09-17 22:35:45 Duration: 0ms Database: postgres User: azuresu Remote: 169.254.128.1 Application: [unknown] Bind query: yes
-
SELECT pg_catalog.pg_is_in_recovery() as is_in_Recovery;
Date: 2025-09-17 16:10:59 Duration: 0ms Database: postgres User: azuresu Remote: 169.254.128.1 Application: [unknown] Bind query: yes
15 104ms 61 1ms 4ms 1ms select name, setting, pending_restart from pg_catalog.pg_settings;Times Reported Time consuming queries #15
Day Hour Count Duration Avg duration Sep 17 02 2 2ms 1ms 03 2 3ms 1ms 04 2 2ms 1ms 05 2 3ms 1ms 06 3 4ms 1ms 07 2 2ms 1ms 08 2 7ms 3ms 09 2 3ms 1ms 10 2 2ms 1ms 11 3 6ms 2ms 12 10 18ms 1ms 13 2 2ms 1ms 14 2 3ms 1ms 15 2 3ms 1ms 16 2 2ms 1ms 17 2 4ms 2ms 18 3 5ms 1ms 19 2 3ms 1ms 20 2 2ms 1ms 21 2 3ms 1ms 22 2 2ms 1ms 23 2 2ms 1ms 00 4 6ms 1ms 01 2 2ms 1ms [ User: azuresu - Total duration: 104ms - Times executed: 61 ]
[ Application: [unknown] - Total duration: 104ms - Times executed: 61 ]
-
SELECT name, setting, pending_restart FROM pg_catalog.pg_settings;
Date: 2025-09-17 06:00:17 Duration: 4ms Database: postgres User: azuresu Remote: 169.254.128.1 Application: [unknown] Bind query: yes
-
SELECT name, setting, pending_restart FROM pg_catalog.pg_settings;
Date: 2025-09-17 10:18:48 Duration: 3ms Database: postgres User: azuresu Remote: 169.254.128.1 Application: [unknown] Bind query: yes
-
SELECT name, setting, pending_restart FROM pg_catalog.pg_settings;
Date: 2025-09-17 15:42:23 Duration: 2ms Database: postgres User: azuresu Remote: 169.254.128.1 Application: [unknown] Bind query: yes
16 85ms 2,776 0ms 1ms 0ms select max(age(datfrozenxid)) as maximum_used_transactionids from pg_catalog.pg_database;Times Reported Time consuming queries #16
Day Hour Count Duration Avg duration Sep 17 02 117 2ms 0ms 03 116 3ms 0ms 04 117 5ms 0ms 05 117 3ms 0ms 06 116 2ms 0ms 07 117 4ms 0ms 08 116 3ms 0ms 09 117 3ms 0ms 10 117 4ms 0ms 11 116 4ms 0ms 12 96 2ms 0ms 13 116 3ms 0ms 14 117 2ms 0ms 15 117 3ms 0ms 16 116 2ms 0ms 17 116 2ms 0ms 18 117 4ms 0ms 19 116 3ms 0ms 20 116 2ms 0ms 21 117 2ms 0ms 22 116 5ms 0ms 23 117 3ms 0ms 00 116 4ms 0ms 01 117 2ms 0ms [ User: azuresu - Total duration: 85ms - Times executed: 2776 ]
[ Application: [unknown] - Total duration: 85ms - Times executed: 2776 ]
-
SELECT max(age(datfrozenxid)) as maximum_used_transactionIDs FROM pg_catalog.pg_database;
Date: 2025-09-17 02:24:47 Duration: 1ms Database: postgres User: azuresu Remote: 169.254.128.1 Application: [unknown] Bind query: yes
-
SELECT max(age(datfrozenxid)) as maximum_used_transactionIDs FROM pg_catalog.pg_database;
Date: 2025-09-17 09:08:09 Duration: 0ms Database: postgres User: azuresu Remote: 169.254.128.1 Application: [unknown] Bind query: yes
-
SELECT max(age(datfrozenxid)) as maximum_used_transactionIDs FROM pg_catalog.pg_database;
Date: 2025-09-17 07:08:19 Duration: 0ms Database: postgres User: azuresu Remote: 169.254.128.1 Application: [unknown] Bind query: yes
17 82ms 1 82ms 82ms 82ms select pg_catalog.pg_switch_wal ();Times Reported Time consuming queries #17
Day Hour Count Duration Avg duration Sep 17 12 1 82ms 82ms [ User: azuresu - Total duration: 82ms - Times executed: 1 ]
[ Application: [unknown] - Total duration: 82ms - Times executed: 1 ]
-
SELECT pg_catalog.pg_switch_wal ();
Date: 2025-09-17 10:06:43 Duration: 82ms Database: postgres User: azuresu Remote: 169.254.128.1 Application: [unknown] Bind query: yes
18 80ms 49 1ms 3ms 1ms with constants as ( select ? ^ ?::bigint as max_xacts, max( case when name = ? then setting else null end)::bigint as vacuum_freeze_min_age, max( case when name = ? then setting else null end)::bigint as autovacuum_freeze_max_age, max( case when name = ? then setting else null end)::bigint as vacuum_multixact_freeze_min_age, max( case when name = ? then setting else null end)::bigint as autovacuum_multixact_freeze_max_age from pg_settings where name in (...)) select datname, datdba, datallowconn, datconnlimit, datminmxid, mxid_age (datminmxid)::bigint as age_datminmxid, datfrozenxid, age(datfrozenxid)::bigint as age_datfrozenxid, max_xacts, vacuum_freeze_min_age, autovacuum_freeze_max_age, (max_xacts - age(datfrozenxid))::bigint as total_remaining_xids, (autovacuum_freeze_max_age - age(datfrozenxid))::bigint as remaining_xids_till_emergency_autovacuum, (max_xacts - age(datfrozenxid) - vacuum_freeze_min_age)::bigint as remaining_xids_till_wraparound, vacuum_multixact_freeze_min_age, autovacuum_multixact_freeze_max_age, (max_xacts - mxid_age (datminmxid))::bigint as total_remaining_mxids, (autovacuum_multixact_freeze_max_age - mxid_age (datminmxid))::bigint as remaining_mxids_till_emergency_autovacuum, (max_xacts - mxid_age (datminmxid) - vacuum_multixact_freeze_min_age)::bigint as remaining_mxids_till_wraparound from pg_database, constants;Times Reported Time consuming queries #18
Day Hour Count Duration Avg duration Sep 17 02 2 2ms 1ms 03 2 2ms 1ms 04 2 2ms 1ms 05 2 2ms 1ms 06 2 2ms 1ms 07 2 2ms 1ms 08 2 2ms 1ms 09 2 4ms 2ms 10 2 2ms 1ms 11 2 2ms 1ms 12 3 4ms 1ms 13 2 3ms 1ms 14 2 4ms 2ms 15 2 3ms 1ms 16 2 3ms 1ms 17 2 3ms 1ms 18 2 3ms 1ms 19 2 3ms 1ms 20 2 4ms 2ms 21 2 3ms 1ms 22 2 3ms 1ms 23 2 3ms 1ms 00 2 3ms 1ms 01 2 3ms 1ms [ User: azuresu - Total duration: 80ms - Times executed: 49 ]
[ Application: [unknown] - Total duration: 80ms - Times executed: 49 ]
-
WITH Constants AS ( SELECT 2 ^ 31::bigint AS max_xacts, max( case when name = 'vacuum_freeze_min_age' then setting else NULL end)::bigint as vacuum_freeze_min_age, max( case when name = 'autovacuum_freeze_max_age' then setting else NULL end)::bigint as autovacuum_freeze_max_age, max( case when name = 'vacuum_multixact_freeze_min_age' then setting else NULL end)::bigint as vacuum_multixact_freeze_min_age, max( case when name = 'autovacuum_multixact_freeze_max_age' then setting else NULL end)::bigint as autovacuum_multixact_freeze_max_age from pg_settings where name in ('vacuum_freeze_min_age', 'autovacuum_freeze_max_age', 'vacuum_multixact_freeze_min_age', 'autovacuum_multixact_freeze_max_age')) SELECT datname, datdba, datallowconn, datconnlimit, datminmxid, mxid_age (datminmxid)::bigint as age_datminmxid, datfrozenxid, age(datfrozenxid)::bigint AS age_datfrozenxid, max_xacts, vacuum_freeze_min_age, autovacuum_freeze_max_age, (max_xacts - age(datfrozenxid))::bigint AS total_remaining_xids, (autovacuum_freeze_max_age - age(datfrozenxid))::bigint AS remaining_xids_till_emergency_autovacuum, (max_xacts - age(datfrozenxid) - vacuum_freeze_min_age)::bigint AS remaining_xids_till_wraparound, vacuum_multixact_freeze_min_age, autovacuum_multixact_freeze_max_age, (max_xacts - mxid_age (datminmxid))::bigint AS total_remaining_mxids, (autovacuum_multixact_freeze_max_age - mxid_age (datminmxid))::bigint AS remaining_mxids_till_emergency_autovacuum, (max_xacts - mxid_age (datminmxid) - vacuum_multixact_freeze_min_age)::bigint AS remaining_mxids_till_wraparound from pg_database, Constants;
Date: 2025-09-17 07:35:32 Duration: 3ms Database: postgres User: azuresu Remote: 169.254.128.1 Application: [unknown] Bind query: yes
-
WITH Constants AS ( SELECT 2 ^ 31::bigint AS max_xacts, max( case when name = 'vacuum_freeze_min_age' then setting else NULL end)::bigint as vacuum_freeze_min_age, max( case when name = 'autovacuum_freeze_max_age' then setting else NULL end)::bigint as autovacuum_freeze_max_age, max( case when name = 'vacuum_multixact_freeze_min_age' then setting else NULL end)::bigint as vacuum_multixact_freeze_min_age, max( case when name = 'autovacuum_multixact_freeze_max_age' then setting else NULL end)::bigint as autovacuum_multixact_freeze_max_age from pg_settings where name in ('vacuum_freeze_min_age', 'autovacuum_freeze_max_age', 'vacuum_multixact_freeze_min_age', 'autovacuum_multixact_freeze_max_age')) SELECT datname, datdba, datallowconn, datconnlimit, datminmxid, mxid_age (datminmxid)::bigint as age_datminmxid, datfrozenxid, age(datfrozenxid)::bigint AS age_datfrozenxid, max_xacts, vacuum_freeze_min_age, autovacuum_freeze_max_age, (max_xacts - age(datfrozenxid))::bigint AS total_remaining_xids, (autovacuum_freeze_max_age - age(datfrozenxid))::bigint AS remaining_xids_till_emergency_autovacuum, (max_xacts - age(datfrozenxid) - vacuum_freeze_min_age)::bigint AS remaining_xids_till_wraparound, vacuum_multixact_freeze_min_age, autovacuum_multixact_freeze_max_age, (max_xacts - mxid_age (datminmxid))::bigint AS total_remaining_mxids, (autovacuum_multixact_freeze_max_age - mxid_age (datminmxid))::bigint AS remaining_mxids_till_emergency_autovacuum, (max_xacts - mxid_age (datminmxid) - vacuum_multixact_freeze_min_age)::bigint AS remaining_mxids_till_wraparound from pg_database, Constants;
Date: 2025-09-17 12:50:31 Duration: 2ms Database: postgres User: azuresu Remote: 169.254.128.1 Application: [unknown] Bind query: yes
-
WITH Constants AS ( SELECT 2 ^ 31::bigint AS max_xacts, max( case when name = 'vacuum_freeze_min_age' then setting else NULL end)::bigint as vacuum_freeze_min_age, max( case when name = 'autovacuum_freeze_max_age' then setting else NULL end)::bigint as autovacuum_freeze_max_age, max( case when name = 'vacuum_multixact_freeze_min_age' then setting else NULL end)::bigint as vacuum_multixact_freeze_min_age, max( case when name = 'autovacuum_multixact_freeze_max_age' then setting else NULL end)::bigint as autovacuum_multixact_freeze_max_age from pg_settings where name in ('vacuum_freeze_min_age', 'autovacuum_freeze_max_age', 'vacuum_multixact_freeze_min_age', 'autovacuum_multixact_freeze_max_age')) SELECT datname, datdba, datallowconn, datconnlimit, datminmxid, mxid_age (datminmxid)::bigint as age_datminmxid, datfrozenxid, age(datfrozenxid)::bigint AS age_datfrozenxid, max_xacts, vacuum_freeze_min_age, autovacuum_freeze_max_age, (max_xacts - age(datfrozenxid))::bigint AS total_remaining_xids, (autovacuum_freeze_max_age - age(datfrozenxid))::bigint AS remaining_xids_till_emergency_autovacuum, (max_xacts - age(datfrozenxid) - vacuum_freeze_min_age)::bigint AS remaining_xids_till_wraparound, vacuum_multixact_freeze_min_age, autovacuum_multixact_freeze_max_age, (max_xacts - mxid_age (datminmxid))::bigint AS total_remaining_mxids, (autovacuum_multixact_freeze_max_age - mxid_age (datminmxid))::bigint AS remaining_mxids_till_emergency_autovacuum, (max_xacts - mxid_age (datminmxid) - vacuum_multixact_freeze_min_age)::bigint AS remaining_mxids_till_wraparound from pg_database, Constants;
Date: 2025-09-17 18:50:39 Duration: 2ms Database: postgres User: azuresu Remote: 169.254.128.1 Application: [unknown] Bind query: yes
19 79ms 286 0ms 1ms 0ms select count(*) filter (where state in (...)) as idle_cnt, count(*) filter (where state = ?) as active_cnt, count(*) filter (where state in (...) and usename = ?) as admin_idle_cnt, count(*) filter (where state = ? and usename = ?) as admin_active_cnt, count(*) filter (where state in (...) and usename != ?) as user_idle_cnt, count(*) filter (where state = ? and usename != ?) as user_active_cnt from pg_catalog.pg_stat_activity;Times Reported Time consuming queries #19
Day Hour Count Duration Avg duration Sep 17 02 12 2ms 0ms 03 12 3ms 0ms 04 12 3ms 0ms 05 12 3ms 0ms 06 12 2ms 0ms 07 12 2ms 0ms 08 12 3ms 0ms 09 12 3ms 0ms 10 12 2ms 0ms 11 12 3ms 0ms 12 10 3ms 0ms 13 12 4ms 0ms 14 12 3ms 0ms 15 12 4ms 0ms 16 12 3ms 0ms 17 12 3ms 0ms 18 12 2ms 0ms 19 12 3ms 0ms 20 12 2ms 0ms 21 12 2ms 0ms 22 12 3ms 0ms 23 12 3ms 0ms 00 12 3ms 0ms 01 12 3ms 0ms [ User: azuresu - Total duration: 79ms - Times executed: 286 ]
[ Application: [unknown] - Total duration: 79ms - Times executed: 286 ]
-
SELECT COUNT(*) filter (WHERE state in ('idle', 'idle in transaction', 'idle in transaction (aborted)', 'disabled')) AS idle_cnt, COUNT(*) filter (WHERE state = 'active') AS active_cnt, COUNT(*) filter (WHERE state in ('idle', 'idle in transaction', 'idle in transaction (aborted)', 'disabled') AND usename = 'azuresu') AS admin_idle_cnt, COUNT(*) filter (WHERE state = 'active' AND usename = 'azuresu') AS admin_active_cnt, COUNT(*) filter (WHERE state in ('idle', 'idle in transaction', 'idle in transaction (aborted)', 'disabled') AND usename != 'azuresu') AS user_idle_cnt, COUNT(*) filter (WHERE state = 'active' AND usename != 'azuresu') AS user_active_cnt FROM pg_catalog.pg_stat_activity;
Date: 2025-09-17 10:05:38 Duration: 1ms Database: postgres User: azuresu Remote: 169.254.128.1 Application: [unknown] Bind query: yes
-
SELECT COUNT(*) filter (WHERE state in ('idle', 'idle in transaction', 'idle in transaction (aborted)', 'disabled')) AS idle_cnt, COUNT(*) filter (WHERE state = 'active') AS active_cnt, COUNT(*) filter (WHERE state in ('idle', 'idle in transaction', 'idle in transaction (aborted)', 'disabled') AND usename = 'azuresu') AS admin_idle_cnt, COUNT(*) filter (WHERE state = 'active' AND usename = 'azuresu') AS admin_active_cnt, COUNT(*) filter (WHERE state in ('idle', 'idle in transaction', 'idle in transaction (aborted)', 'disabled') AND usename != 'azuresu') AS user_idle_cnt, COUNT(*) filter (WHERE state = 'active' AND usename != 'azuresu') AS user_active_cnt FROM pg_catalog.pg_stat_activity;
Date: 2025-09-17 11:55:29 Duration: 1ms Database: postgres User: azuresu Remote: 169.254.128.1 Application: [unknown] Bind query: yes
-
SELECT COUNT(*) filter (WHERE state in ('idle', 'idle in transaction', 'idle in transaction (aborted)', 'disabled')) AS idle_cnt, COUNT(*) filter (WHERE state = 'active') AS active_cnt, COUNT(*) filter (WHERE state in ('idle', 'idle in transaction', 'idle in transaction (aborted)', 'disabled') AND usename = 'azuresu') AS admin_idle_cnt, COUNT(*) filter (WHERE state = 'active' AND usename = 'azuresu') AS admin_active_cnt, COUNT(*) filter (WHERE state in ('idle', 'idle in transaction', 'idle in transaction (aborted)', 'disabled') AND usename != 'azuresu') AS user_idle_cnt, COUNT(*) filter (WHERE state = 'active' AND usename != 'azuresu') AS user_active_cnt FROM pg_catalog.pg_stat_activity;
Date: 2025-09-17 09:10:37 Duration: 0ms Database: postgres User: azuresu Remote: 169.254.128.1 Application: [unknown] Bind query: yes
20 72ms 286 0ms 2ms 0ms select ls.file_count, done.done_count, ready.ready_count, file_name as file_name, file_offset as file_offset, pg_wal_lsn_diff as pg_current_xlog_byte_location, pg_catalog.pg_current_wal_lsn ()::text from ( select (count(*) - ?) as file_count from ( select * from pg_catalog.pg_ls_dir(?)) as dir) as ls, ( select count(*) as done_count from pg_catalog.pg_ls_dir(?) as all_files where all_files like ?) as done, ( select count(*) as ready_count from pg_catalog.pg_ls_dir(?) as all_files where all_files like ?) as ready, pg_catalog.pg_walfile_name_offset (pg_catalog.pg_current_wal_lsn ()), pg_catalog.pg_wal_lsn_diff (pg_catalog.pg_current_wal_lsn (), ?), cast(pg_catalog.pg_current_wal_lsn () as varchar(?));Times Reported Time consuming queries #20
Day Hour Count Duration Avg duration Sep 17 02 12 3ms 0ms 03 12 2ms 0ms 04 12 2ms 0ms 05 12 2ms 0ms 06 12 3ms 0ms 07 12 3ms 0ms 08 12 3ms 0ms 09 12 3ms 0ms 10 12 3ms 0ms 11 12 2ms 0ms 12 10 1ms 0ms 13 12 2ms 0ms 14 12 3ms 0ms 15 12 2ms 0ms 16 12 3ms 0ms 17 12 3ms 0ms 18 12 3ms 0ms 19 12 3ms 0ms 20 12 2ms 0ms 21 12 2ms 0ms 22 12 2ms 0ms 23 12 2ms 0ms 00 12 2ms 0ms 01 12 4ms 0ms [ User: azuresu - Total duration: 72ms - Times executed: 286 ]
[ Application: [unknown] - Total duration: 72ms - Times executed: 286 ]
-
SELECT ls.file_count, done.done_count, ready.ready_count, file_name as file_name, file_offset as file_offset, pg_wal_lsn_diff as pg_current_xlog_byte_location, pg_catalog.pg_current_wal_lsn ()::text FROM ( SELECT (COUNT(*) - 1) as file_count FROM ( SELECT * FROM pg_catalog.pg_ls_dir('pg_wal/')) AS dir) AS ls, ( SELECT COUNT(*) as done_count FROM pg_catalog.pg_ls_dir('pg_wal/archive_status') AS all_files WHERE all_files LIKE '%.done') AS done, ( SELECT COUNT(*) as ready_count FROM pg_catalog.pg_ls_dir('pg_wal/archive_status') AS all_files WHERE all_files LIKE '%.ready') AS ready, pg_catalog.pg_walfile_name_offset (pg_catalog.pg_current_wal_lsn ()), pg_catalog.pg_wal_lsn_diff (pg_catalog.pg_current_wal_lsn (), '0/0000000'), CAST(pg_catalog.pg_current_wal_lsn () AS VARCHAR(20));
Date: 2025-09-17 23:00:46 Duration: 2ms Database: postgres User: azuresu Remote: 169.254.128.1 Application: [unknown] Bind query: yes
-
SELECT ls.file_count, done.done_count, ready.ready_count, file_name as file_name, file_offset as file_offset, pg_wal_lsn_diff as pg_current_xlog_byte_location, pg_catalog.pg_current_wal_lsn ()::text FROM ( SELECT (COUNT(*) - 1) as file_count FROM ( SELECT * FROM pg_catalog.pg_ls_dir('pg_wal/')) AS dir) AS ls, ( SELECT COUNT(*) as done_count FROM pg_catalog.pg_ls_dir('pg_wal/archive_status') AS all_files WHERE all_files LIKE '%.done') AS done, ( SELECT COUNT(*) as ready_count FROM pg_catalog.pg_ls_dir('pg_wal/archive_status') AS all_files WHERE all_files LIKE '%.ready') AS ready, pg_catalog.pg_walfile_name_offset (pg_catalog.pg_current_wal_lsn ()), pg_catalog.pg_wal_lsn_diff (pg_catalog.pg_current_wal_lsn (), '0/0000000'), CAST(pg_catalog.pg_current_wal_lsn () AS VARCHAR(20));
Date: 2025-09-17 14:35:33 Duration: 0ms Database: postgres User: azuresu Remote: 169.254.128.1 Application: [unknown] Bind query: yes
-
SELECT ls.file_count, done.done_count, ready.ready_count, file_name as file_name, file_offset as file_offset, pg_wal_lsn_diff as pg_current_xlog_byte_location, pg_catalog.pg_current_wal_lsn ()::text FROM ( SELECT (COUNT(*) - 1) as file_count FROM ( SELECT * FROM pg_catalog.pg_ls_dir('pg_wal/')) AS dir) AS ls, ( SELECT COUNT(*) as done_count FROM pg_catalog.pg_ls_dir('pg_wal/archive_status') AS all_files WHERE all_files LIKE '%.done') AS done, ( SELECT COUNT(*) as ready_count FROM pg_catalog.pg_ls_dir('pg_wal/archive_status') AS all_files WHERE all_files LIKE '%.ready') AS ready, pg_catalog.pg_walfile_name_offset (pg_catalog.pg_current_wal_lsn ()), pg_catalog.pg_wal_lsn_diff (pg_catalog.pg_current_wal_lsn (), '0/0000000'), CAST(pg_catalog.pg_current_wal_lsn () AS VARCHAR(20));
Date: 2025-09-17 15:25:34 Duration: 0ms Database: postgres 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 20,613 2s161ms 0ms 15ms 0ms discard all;Times Reported Time consuming queries #1
Day Hour Count Duration Avg duration Sep 17 02 852 89ms 0ms 03 855 102ms 0ms 04 862 86ms 0ms 05 868 87ms 0ms 06 861 86ms 0ms 07 857 85ms 0ms 08 850 81ms 0ms 09 859 84ms 0ms 10 862 88ms 0ms 11 858 87ms 0ms 12 743 77ms 0ms 13 875 96ms 0ms 14 872 92ms 0ms 15 867 92ms 0ms 16 869 90ms 0ms 17 875 92ms 0ms 18 876 95ms 0ms 19 872 93ms 0ms 20 874 91ms 0ms 21 875 91ms 0ms 22 873 92ms 0ms 23 849 92ms 0ms 00 854 92ms 0ms 01 855 92ms 0ms [ User: azuresu - Total duration: 2s161ms - Times executed: 20613 ]
[ Application: [unknown] - Total duration: 2s161ms - Times executed: 20613 ]
-
DISCARD ALL;
Date: 2025-09-17 01:58:40 Duration: 15ms Database: postgres User: azuresu Remote: 169.254.128.1 Application: [unknown]
-
DISCARD ALL;
Date: 2025-09-17 00:07:12 Duration: 3ms Database: postgres User: azuresu Remote: 169.254.128.1 Application: [unknown]
-
DISCARD ALL;
Date: 2025-09-17 16:51:43 Duration: 1ms Database: postgres User: azuresu Remote: 169.254.128.1 Application: [unknown]
2 14,251 239ms 0ms 2ms 0ms set session statement_timeout to ?;Times Reported Time consuming queries #2
Day Hour Count Duration Avg duration Sep 17 02 599 8ms 0ms 03 595 9ms 0ms 04 598 10ms 0ms 05 599 10ms 0ms 06 595 8ms 0ms 07 598 11ms 0ms 08 595 11ms 0ms 09 599 9ms 0ms 10 598 13ms 0ms 11 595 9ms 0ms 12 501 7ms 0ms 13 596 10ms 0ms 14 601 9ms 0ms 15 601 10ms 0ms 16 596 8ms 0ms 17 597 10ms 0ms 18 599 11ms 0ms 19 597 9ms 0ms 20 597 8ms 0ms 21 600 8ms 0ms 22 597 10ms 0ms 23 601 9ms 0ms 00 596 10ms 0ms 01 601 10ms 0ms [ User: azuresu - Total duration: 239ms - Times executed: 14251 ]
[ Application: [unknown] - Total duration: 239ms - Times executed: 14251 ]
-
set session statement_timeout to 10000;
Date: 2025-09-17 16:58:20 Duration: 2ms Database: postgres User: azuresu Remote: 169.254.128.1 Application: [unknown] Bind query: yes
-
set session statement_timeout to 180000;
Date: 2025-09-17 15:00:26 Duration: 1ms Database: postgres User: azuresu Remote: 169.254.128.1 Application: [unknown] Bind query: yes
-
set session statement_timeout to 10000;
Date: 2025-09-17 05:21:06 Duration: 0ms Database: postgres User: azuresu Remote: 169.254.128.1 Application: [unknown] Bind query: yes
3 12,659 1s606ms 0ms 8ms 0ms select ?;Times Reported Time consuming queries #3
Day Hour Count Duration Avg duration Sep 17 02 530 64ms 0ms 03 532 67ms 0ms 04 531 70ms 0ms 05 531 75ms 0ms 06 531 66ms 0ms 07 531 58ms 0ms 08 531 83ms 0ms 09 532 71ms 0ms 10 531 70ms 0ms 11 530 63ms 0ms 12 446 55ms 0ms 13 531 63ms 0ms 14 532 61ms 0ms 15 531 69ms 0ms 16 530 64ms 0ms 17 532 64ms 0ms 18 531 68ms 0ms 19 531 73ms 0ms 20 531 64ms 0ms 21 530 63ms 0ms 22 531 61ms 0ms 23 532 66ms 0ms 00 530 64ms 0ms 01 531 70ms 0ms [ User: azuresu - Total duration: 1s606ms - Times executed: 12659 ]
[ Application: psql - Total duration: 1s332ms - Times executed: 3845 ]
[ Application: [unknown] - Total duration: 274ms - Times executed: 8814 ]
-
select 1;
Date: 2025-09-17 02:18:40 Duration: 8ms Database: postgres User: azuresu Remote: [local] Application: psql
-
select 1;
Date: 2025-09-17 17:38:51 Duration: 8ms Database: postgres User: azuresu Remote: [local] Application: psql
-
select 1;
Date: 2025-09-17 03:08:40 Duration: 6ms Database: postgres User: azuresu Remote: [local] Application: psql
4 8,334 120ms 0ms 0ms 0ms select pg_catalog.pg_is_in_recovery() as is_in_recovery;Times Reported Time consuming queries #4
Day Hour Count Duration Avg duration Sep 17 02 348 4ms 0ms 03 348 4ms 0ms 04 347 4ms 0ms 05 349 5ms 0ms 06 348 4ms 0ms 07 347 5ms 0ms 08 346 5ms 0ms 09 348 4ms 0ms 10 349 4ms 0ms 11 347 5ms 0ms 12 293 3ms 0ms 13 352 4ms 0ms 14 352 5ms 0ms 15 353 4ms 0ms 16 349 6ms 0ms 17 353 4ms 0ms 18 353 5ms 0ms 19 350 6ms 0ms 20 352 5ms 0ms 21 352 4ms 0ms 22 352 4ms 0ms 23 349 4ms 0ms 00 348 5ms 0ms 01 349 4ms 0ms [ User: azuresu - Total duration: 120ms - Times executed: 8334 ]
[ Application: [unknown] - Total duration: 120ms - Times executed: 8334 ]
-
SELECT pg_catalog.pg_is_in_recovery() as is_in_Recovery;
Date: 2025-09-17 03:14:37 Duration: 0ms Database: postgres User: azuresu Remote: 169.254.128.1 Application: [unknown] Bind query: yes
-
SELECT pg_catalog.pg_is_in_recovery() as is_in_Recovery;
Date: 2025-09-17 22:35:45 Duration: 0ms Database: postgres User: azuresu Remote: 169.254.128.1 Application: [unknown] Bind query: yes
-
SELECT pg_catalog.pg_is_in_recovery() as is_in_Recovery;
Date: 2025-09-17 16:10:59 Duration: 0ms Database: postgres User: azuresu Remote: 169.254.128.1 Application: [unknown] Bind query: yes
5 4,059 125ms 0ms 3ms 0ms select archived_count from pg_catalog.pg_stat_archiver where (last_failed_time - last_archived_time) >= ?::interval;Times Reported Time consuming queries #5
Day Hour Count Duration Avg duration Sep 17 02 170 5ms 0ms 03 170 6ms 0ms 04 171 6ms 0ms 05 170 5ms 0ms 06 170 5ms 0ms 07 171 5ms 0ms 08 170 7ms 0ms 09 170 7ms 0ms 10 170 5ms 0ms 11 170 6ms 0ms 12 142 3ms 0ms 13 170 4ms 0ms 14 171 5ms 0ms 15 170 5ms 0ms 16 171 3ms 0ms 17 170 4ms 0ms 18 171 3ms 0ms 19 170 3ms 0ms 20 170 7ms 0ms 21 170 4ms 0ms 22 171 3ms 0ms 23 170 3ms 0ms 00 171 4ms 0ms 01 170 3ms 0ms [ User: azuresu - Total duration: 125ms - Times executed: 4059 ]
[ Application: [unknown] - Total duration: 125ms - Times executed: 4059 ]
-
select archived_count from pg_catalog.pg_stat_archiver where (last_failed_time - last_archived_time) >= '10 minute'::interval;
Date: 2025-09-17 18:03:00 Duration: 3ms Database: postgres User: azuresu Remote: 169.254.128.1 Application: [unknown] Bind query: yes
-
select archived_count from pg_catalog.pg_stat_archiver where (last_failed_time - last_archived_time) >= '10 minute'::interval;
Date: 2025-09-17 12:57:23 Duration: 1ms Database: postgres User: azuresu Remote: 169.254.128.1 Application: [unknown] Bind query: yes
-
select archived_count from pg_catalog.pg_stat_archiver where (last_failed_time - last_archived_time) >= '10 minute'::interval;
Date: 2025-09-17 13:41:42 Duration: 0ms Database: postgres User: azuresu Remote: 169.254.128.1 Application: [unknown] Bind query: yes
6 2,776 403ms 0ms 2ms 0ms select coalesce(sum(numbackends), ?) as active_connections from pg_catalog.pg_stat_database;Times Reported Time consuming queries #6
Day Hour Count Duration Avg duration Sep 17 02 117 14ms 0ms 03 116 14ms 0ms 04 117 16ms 0ms 05 117 19ms 0ms 06 116 14ms 0ms 07 117 17ms 0ms 08 116 19ms 0ms 09 117 14ms 0ms 10 117 18ms 0ms 11 116 15ms 0ms 12 96 15ms 0ms 13 116 17ms 0ms 14 117 16ms 0ms 15 117 19ms 0ms 16 116 17ms 0ms 17 116 15ms 0ms 18 117 17ms 0ms 19 116 16ms 0ms 20 116 15ms 0ms 21 117 15ms 0ms 22 116 18ms 0ms 23 117 16ms 0ms 00 116 20ms 0ms 01 117 17ms 0ms [ User: azuresu - Total duration: 403ms - Times executed: 2776 ]
[ Application: [unknown] - Total duration: 403ms - Times executed: 2776 ]
-
SELECT COALESCE(SUM(numbackends), 0) as active_connections FROM pg_catalog.pg_stat_database;
Date: 2025-09-17 10:25:50 Duration: 2ms Database: postgres User: azuresu Remote: 169.254.128.1 Application: [unknown] Bind query: yes
-
SELECT COALESCE(SUM(numbackends), 0) as active_connections FROM pg_catalog.pg_stat_database;
Date: 2025-09-17 14:38:06 Duration: 2ms Database: postgres User: azuresu Remote: 169.254.128.1 Application: [unknown] Bind query: yes
-
SELECT COALESCE(SUM(numbackends), 0) as active_connections FROM pg_catalog.pg_stat_database;
Date: 2025-09-17 03:14:37 Duration: 1ms Database: postgres User: azuresu Remote: 169.254.128.1 Application: [unknown] Bind query: yes
7 2,776 172ms 0ms 3ms 0ms select max( case when slot.slot_type = ? and (slot.slot_name like ? or slot.slot_name like ?) then case when stat.replay_lsn is null then pg_catalog.pg_wal_lsn_diff (pg_catalog.pg_current_wal_lsn (), slot.restart_lsn)::bigint else pg_catalog.pg_wal_lsn_diff (pg_catalog.pg_current_wal_lsn (), stat.replay_lsn)::bigint end else null end) as physical_replication_delay_in_bytes, max( case when slot.slot_type = ? then case when stat.replay_lsn is null then pg_catalog.pg_wal_lsn_diff (pg_catalog.pg_current_wal_lsn (), slot.restart_lsn)::bigint else pg_catalog.pg_wal_lsn_diff (pg_catalog.pg_current_wal_lsn (), stat.replay_lsn)::bigint end else null end) as logical_replication_delay_in_bytes from pg_catalog.pg_replication_slots as slot left join pg_catalog.pg_stat_replication as stat on stat.pid = slot.active_pid;Times Reported Time consuming queries #7
Day Hour Count Duration Avg duration Sep 17 02 117 6ms 0ms 03 116 7ms 0ms 04 117 8ms 0ms 05 117 7ms 0ms 06 116 6ms 0ms 07 117 6ms 0ms 08 116 7ms 0ms 09 117 6ms 0ms 10 117 8ms 0ms 11 116 6ms 0ms 12 96 7ms 0ms 13 116 7ms 0ms 14 117 6ms 0ms 15 117 6ms 0ms 16 116 4ms 0ms 17 116 5ms 0ms 18 117 8ms 0ms 19 116 10ms 0ms 20 116 7ms 0ms 21 117 5ms 0ms 22 116 7ms 0ms 23 117 5ms 0ms 00 116 11ms 0ms 01 117 7ms 0ms [ User: azuresu - Total duration: 172ms - Times executed: 2776 ]
[ Application: [unknown] - Total duration: 172ms - Times executed: 2776 ]
-
SELECT MAX( CASE WHEN slot.slot_type = 'physical' AND (slot.slot_name LIKE 'azure_asyncreplica%' or slot.slot_name LIKE 'azure_geoasyncreplica%') THEN CASE WHEN stat.replay_lsn IS NULL THEN pg_catalog.pg_wal_lsn_diff (pg_catalog.pg_current_wal_lsn (), slot.restart_lsn)::bigint ELSE pg_catalog.pg_wal_lsn_diff (pg_catalog.pg_current_wal_lsn (), stat.replay_lsn)::bigint END ELSE NULL END) AS physical_replication_delay_in_bytes, MAX( CASE WHEN slot.slot_type = 'logical' THEN CASE WHEN stat.replay_lsn IS NULL THEN pg_catalog.pg_wal_lsn_diff (pg_catalog.pg_current_wal_lsn (), slot.restart_lsn)::bigint ELSE pg_catalog.pg_wal_lsn_diff (pg_catalog.pg_current_wal_lsn (), stat.replay_lsn)::bigint END ELSE NULL END) AS logical_replication_delay_in_bytes FROM pg_catalog.pg_replication_slots AS slot LEFT JOIN pg_catalog.pg_stat_replication AS stat ON stat.pid = slot.active_pid;
Date: 2025-09-17 17:01:57 Duration: 3ms Database: postgres User: azuresu Remote: 169.254.128.1 Application: [unknown] Bind query: yes
-
SELECT MAX( CASE WHEN slot.slot_type = 'physical' AND (slot.slot_name LIKE 'azure_asyncreplica%' or slot.slot_name LIKE 'azure_geoasyncreplica%') THEN CASE WHEN stat.replay_lsn IS NULL THEN pg_catalog.pg_wal_lsn_diff (pg_catalog.pg_current_wal_lsn (), slot.restart_lsn)::bigint ELSE pg_catalog.pg_wal_lsn_diff (pg_catalog.pg_current_wal_lsn (), stat.replay_lsn)::bigint END ELSE NULL END) AS physical_replication_delay_in_bytes, MAX( CASE WHEN slot.slot_type = 'logical' THEN CASE WHEN stat.replay_lsn IS NULL THEN pg_catalog.pg_wal_lsn_diff (pg_catalog.pg_current_wal_lsn (), slot.restart_lsn)::bigint ELSE pg_catalog.pg_wal_lsn_diff (pg_catalog.pg_current_wal_lsn (), stat.replay_lsn)::bigint END ELSE NULL END) AS logical_replication_delay_in_bytes FROM pg_catalog.pg_replication_slots AS slot LEFT JOIN pg_catalog.pg_stat_replication AS stat ON stat.pid = slot.active_pid;
Date: 2025-09-17 22:43:36 Duration: 2ms Database: postgres User: azuresu Remote: 169.254.128.1 Application: [unknown] Bind query: yes
-
SELECT MAX( CASE WHEN slot.slot_type = 'physical' AND (slot.slot_name LIKE 'azure_asyncreplica%' or slot.slot_name LIKE 'azure_geoasyncreplica%') THEN CASE WHEN stat.replay_lsn IS NULL THEN pg_catalog.pg_wal_lsn_diff (pg_catalog.pg_current_wal_lsn (), slot.restart_lsn)::bigint ELSE pg_catalog.pg_wal_lsn_diff (pg_catalog.pg_current_wal_lsn (), stat.replay_lsn)::bigint END ELSE NULL END) AS physical_replication_delay_in_bytes, MAX( CASE WHEN slot.slot_type = 'logical' THEN CASE WHEN stat.replay_lsn IS NULL THEN pg_catalog.pg_wal_lsn_diff (pg_catalog.pg_current_wal_lsn (), slot.restart_lsn)::bigint ELSE pg_catalog.pg_wal_lsn_diff (pg_catalog.pg_current_wal_lsn (), stat.replay_lsn)::bigint END ELSE NULL END) AS logical_replication_delay_in_bytes FROM pg_catalog.pg_replication_slots AS slot LEFT JOIN pg_catalog.pg_stat_replication AS stat ON stat.pid = slot.active_pid;
Date: 2025-09-17 08:28:06 Duration: 2ms Database: postgres User: azuresu Remote: 169.254.128.1 Application: [unknown] Bind query: yes
8 2,776 85ms 0ms 1ms 0ms select max(age(datfrozenxid)) as maximum_used_transactionids from pg_catalog.pg_database;Times Reported Time consuming queries #8
Day Hour Count Duration Avg duration Sep 17 02 117 2ms 0ms 03 116 3ms 0ms 04 117 5ms 0ms 05 117 3ms 0ms 06 116 2ms 0ms 07 117 4ms 0ms 08 116 3ms 0ms 09 117 3ms 0ms 10 117 4ms 0ms 11 116 4ms 0ms 12 96 2ms 0ms 13 116 3ms 0ms 14 117 2ms 0ms 15 117 3ms 0ms 16 116 2ms 0ms 17 116 2ms 0ms 18 117 4ms 0ms 19 116 3ms 0ms 20 116 2ms 0ms 21 117 2ms 0ms 22 116 5ms 0ms 23 117 3ms 0ms 00 116 4ms 0ms 01 117 2ms 0ms [ User: azuresu - Total duration: 85ms - Times executed: 2776 ]
[ Application: [unknown] - Total duration: 85ms - Times executed: 2776 ]
-
SELECT max(age(datfrozenxid)) as maximum_used_transactionIDs FROM pg_catalog.pg_database;
Date: 2025-09-17 02:24:47 Duration: 1ms Database: postgres User: azuresu Remote: 169.254.128.1 Application: [unknown] Bind query: yes
-
SELECT max(age(datfrozenxid)) as maximum_used_transactionIDs FROM pg_catalog.pg_database;
Date: 2025-09-17 09:08:09 Duration: 0ms Database: postgres User: azuresu Remote: 169.254.128.1 Application: [unknown] Bind query: yes
-
SELECT max(age(datfrozenxid)) as maximum_used_transactionIDs FROM pg_catalog.pg_database;
Date: 2025-09-17 07:08:19 Duration: 0ms Database: postgres User: azuresu Remote: 169.254.128.1 Application: [unknown] Bind query: yes
9 2,776 23ms 0ms 0ms 0ms select case when pg_catalog.pg_is_in_recovery() = ? then extract(epoch from now() - pg_catalog.pg_last_xact_replay_timestamp())::bigint end as physical_replication_delay_in_seconds;Times Reported Time consuming queries #9
Day Hour Count Duration Avg duration Sep 17 02 117 0ms 0ms 03 116 0ms 0ms 04 117 1ms 0ms 05 117 0ms 0ms 06 116 1ms 0ms 07 117 1ms 0ms 08 116 0ms 0ms 09 117 0ms 0ms 10 117 0ms 0ms 11 116 1ms 0ms 12 96 0ms 0ms 13 116 1ms 0ms 14 117 1ms 0ms 15 117 0ms 0ms 16 116 0ms 0ms 17 116 0ms 0ms 18 117 1ms 0ms 19 116 0ms 0ms 20 116 0ms 0ms 21 117 0ms 0ms 22 116 0ms 0ms 23 117 1ms 0ms 00 116 1ms 0ms 01 117 0ms 0ms [ User: azuresu - Total duration: 23ms - Times executed: 2776 ]
[ Application: [unknown] - Total duration: 23ms - Times executed: 2776 ]
-
SELECT CASE WHEN pg_catalog.pg_is_in_recovery() = 't' THEN EXTRACT(EPOCH FROM now() - pg_catalog.pg_last_xact_replay_timestamp())::bigint END AS physical_replication_delay_in_seconds;
Date: 2025-09-17 04:16:49 Duration: 0ms Database: postgres User: azuresu Remote: 169.254.128.1 Application: [unknown] Bind query: yes
-
SELECT CASE WHEN pg_catalog.pg_is_in_recovery() = 't' THEN EXTRACT(EPOCH FROM now() - pg_catalog.pg_last_xact_replay_timestamp())::bigint END AS physical_replication_delay_in_seconds;
Date: 2025-09-17 22:36:53 Duration: 0ms Database: postgres User: azuresu Remote: 169.254.128.1 Application: [unknown] Bind query: yes
-
SELECT CASE WHEN pg_catalog.pg_is_in_recovery() = 't' THEN EXTRACT(EPOCH FROM now() - pg_catalog.pg_last_xact_replay_timestamp())::bigint END AS physical_replication_delay_in_seconds;
Date: 2025-09-17 02:11:21 Duration: 0ms Database: postgres User: azuresu Remote: 169.254.128.1 Application: [unknown] Bind query: yes
10 516 538ms 0ms 10ms 1ms select name, setting from pg_catalog.pg_file_settings where sourcefile =;Times Reported Time consuming queries #10
Day Hour Count Duration Avg duration Sep 17 02 18 16ms 0ms 03 18 17ms 0ms 04 18 19ms 1ms 05 18 14ms 0ms 06 27 27ms 1ms 07 18 16ms 0ms 08 18 23ms 1ms 09 18 24ms 1ms 10 18 16ms 0ms 11 27 28ms 1ms 12 86 103ms 1ms 13 16 14ms 0ms 14 16 16ms 1ms 15 16 13ms 0ms 16 16 18ms 1ms 17 16 15ms 0ms 18 24 25ms 1ms 19 16 15ms 0ms 20 16 11ms 0ms 21 16 16ms 1ms 22 16 14ms 0ms 23 16 14ms 0ms 00 32 30ms 0ms 01 16 21ms 1ms [ User: azuresu - Total duration: 538ms - Times executed: 516 ]
[ Application: [unknown] - Total duration: 538ms - Times executed: 516 ]
-
SELECT name, setting FROM pg_catalog.pg_file_settings where sourcefile =;
Date: 2025-09-17 10:18:48 Duration: 10ms Database: postgres User: azuresu Remote: 169.254.128.1 Application: [unknown] Bind query: yes
-
SELECT name, setting FROM pg_catalog.pg_file_settings where sourcefile =;
Date: 2025-09-17 10:18:48 Duration: 9ms Database: postgres User: azuresu Remote: 169.254.128.1 Application: [unknown] Bind query: yes
-
SELECT name, setting FROM pg_catalog.pg_file_settings where sourcefile =;
Date: 2025-09-17 23:12:33 Duration: 8ms Database: postgres User: azuresu Remote: 169.254.128.1 Application: [unknown] Bind query: yes
11 335 7ms 0ms 0ms 0ms select pg_catalog.pg_is_in_recovery();Times Reported Time consuming queries #11
Day Hour Count Duration Avg duration Sep 17 02 14 0ms 0ms 03 14 0ms 0ms 04 14 0ms 0ms 05 14 0ms 0ms 06 13 0ms 0ms 07 14 0ms 0ms 08 14 0ms 0ms 09 14 0ms 0ms 10 14 0ms 0ms 11 15 0ms 0ms 12 12 0ms 0ms 13 14 0ms 0ms 14 14 0ms 0ms 15 14 0ms 0ms 16 14 0ms 0ms 17 14 0ms 0ms 18 14 0ms 0ms 19 14 0ms 0ms 20 14 0ms 0ms 21 14 1ms 0ms 22 14 0ms 0ms 23 14 0ms 0ms 00 15 0ms 0ms 01 14 0ms 0ms [ User: azuresu - Total duration: 7ms - Times executed: 335 ]
[ Application: [unknown] - Total duration: 7ms - Times executed: 335 ]
-
SELECT pg_catalog.pg_is_in_recovery();
Date: 2025-09-17 12:22:49 Duration: 0ms Database: postgres User: azuresu Remote: 169.254.128.1 Application: [unknown] Bind query: yes
-
SELECT pg_catalog.pg_is_in_recovery();
Date: 2025-09-17 10:42:47 Duration: 0ms Database: postgres User: azuresu Remote: 169.254.128.1 Application: [unknown] Bind query: yes
-
SELECT pg_catalog.pg_is_in_recovery();
Date: 2025-09-17 11:22:48 Duration: 0ms Database: postgres User: azuresu Remote: 169.254.128.1 Application: [unknown] Bind query: yes
12 287 9ms 0ms 0ms 0ms select case when pg_catalog.pg_is_in_recovery() then null else pg_catalog.txid_current() end as txid_current;Times Reported Time consuming queries #12
Day Hour Count Duration Avg duration Sep 17 02 12 0ms 0ms 03 12 0ms 0ms 04 12 0ms 0ms 05 12 0ms 0ms 06 12 0ms 0ms 07 12 0ms 0ms 08 12 0ms 0ms 09 12 0ms 0ms 10 12 0ms 0ms 11 12 0ms 0ms 12 11 0ms 0ms 13 12 0ms 0ms 14 12 0ms 0ms 15 12 0ms 0ms 16 12 0ms 0ms 17 12 0ms 0ms 18 12 0ms 0ms 19 12 0ms 0ms 20 12 0ms 0ms 21 12 0ms 0ms 22 12 0ms 0ms 23 12 0ms 0ms 00 12 0ms 0ms 01 12 0ms 0ms [ User: azuresu - Total duration: 9ms - Times executed: 287 ]
[ Application: [unknown] - Total duration: 9ms - Times executed: 287 ]
-
SELECT CASE WHEN pg_catalog.pg_is_in_recovery() THEN NULL ELSE pg_catalog.txid_current() END as txid_current;
Date: 2025-09-17 00:21:08 Duration: 0ms Database: postgres User: azuresu Remote: 169.254.128.1 Application: [unknown] Bind query: yes
-
SELECT CASE WHEN pg_catalog.pg_is_in_recovery() THEN NULL ELSE pg_catalog.txid_current() END as txid_current;
Date: 2025-09-17 14:38:06 Duration: 0ms Database: postgres User: azuresu Remote: 169.254.128.1 Application: [unknown] Bind query: yes
-
SELECT CASE WHEN pg_catalog.pg_is_in_recovery() THEN NULL ELSE pg_catalog.txid_current() END as txid_current;
Date: 2025-09-17 04:11:14 Duration: 0ms Database: postgres User: azuresu Remote: 169.254.128.1 Application: [unknown] Bind query: yes
13 286 356ms 1ms 4ms 1ms with max_con as ( select setting::numeric from pg_catalog.pg_settings where name = ? ) select coalesce(sum(numbackends), ?) as active_connections, round(sum(numbackends) / max(setting), ?) as pct_connections, max(setting) as max_connections from pg_catalog.pg_stat_database, max_con;Times Reported Time consuming queries #13
Day Hour Count Duration Avg duration Sep 17 02 12 15ms 1ms 03 12 15ms 1ms 04 12 18ms 1ms 05 12 14ms 1ms 06 12 14ms 1ms 07 12 16ms 1ms 08 12 15ms 1ms 09 12 14ms 1ms 10 12 13ms 1ms 11 12 15ms 1ms 12 10 11ms 1ms 13 12 14ms 1ms 14 12 17ms 1ms 15 12 14ms 1ms 16 12 16ms 1ms 17 12 14ms 1ms 18 12 14ms 1ms 19 12 15ms 1ms 20 12 13ms 1ms 21 12 13ms 1ms 22 12 14ms 1ms 23 12 13ms 1ms 00 12 16ms 1ms 01 12 14ms 1ms [ User: azuresu - Total duration: 356ms - Times executed: 286 ]
[ Application: [unknown] - Total duration: 356ms - Times executed: 286 ]
-
WITH max_con AS ( SELECT setting::numeric FROM pg_catalog.pg_settings WHERE name = 'max_connections' ) SELECT COALESCE(SUM(numbackends), 0) as active_connections, ROUND(SUM(numbackends) / MAX(setting), 4) AS pct_connections, MAX(setting) AS max_connections FROM pg_catalog.pg_stat_database, max_con;
Date: 2025-09-17 14:35:33 Duration: 4ms Database: postgres User: azuresu Remote: 169.254.128.1 Application: [unknown] Bind query: yes
-
WITH max_con AS ( SELECT setting::numeric FROM pg_catalog.pg_settings WHERE name = 'max_connections' ) SELECT COALESCE(SUM(numbackends), 0) as active_connections, ROUND(SUM(numbackends) / MAX(setting), 4) AS pct_connections, MAX(setting) AS max_connections FROM pg_catalog.pg_stat_database, max_con;
Date: 2025-09-17 22:45:44 Duration: 3ms Database: postgres User: azuresu Remote: 169.254.128.1 Application: [unknown] Bind query: yes
-
WITH max_con AS ( SELECT setting::numeric FROM pg_catalog.pg_settings WHERE name = 'max_connections' ) SELECT COALESCE(SUM(numbackends), 0) as active_connections, ROUND(SUM(numbackends) / MAX(setting), 4) AS pct_connections, MAX(setting) AS max_connections FROM pg_catalog.pg_stat_database, max_con;
Date: 2025-09-17 02:55:22 Duration: 3ms Database: postgres User: azuresu Remote: 169.254.128.1 Application: [unknown] Bind query: yes
14 286 134ms 0ms 3ms 0ms select datid, datname as database_name, pid, usesysid, application_name, regexp_replace(host(client_addr), ?, ?) as client_addr, now() - backend_start as session_duration, state, backend_start, xact_start, query_start, state_change, wait_event_type, wait_event, backend_xid, backend_xmin, backend_type, now() as collection_time from pg_stat_activity;Times Reported Time consuming queries #14
Day Hour Count Duration Avg duration Sep 17 02 12 5ms 0ms 03 12 5ms 0ms 04 12 6ms 0ms 05 12 8ms 0ms 06 12 5ms 0ms 07 12 4ms 0ms 08 12 6ms 0ms 09 12 5ms 0ms 10 12 5ms 0ms 11 12 5ms 0ms 12 10 5ms 0ms 13 12 6ms 0ms 14 12 5ms 0ms 15 12 5ms 0ms 16 12 5ms 0ms 17 12 5ms 0ms 18 12 5ms 0ms 19 12 7ms 0ms 20 12 5ms 0ms 21 12 4ms 0ms 22 12 4ms 0ms 23 12 5ms 0ms 00 12 4ms 0ms 01 12 5ms 0ms [ User: azuresu - Total duration: 134ms - Times executed: 286 ]
[ Application: [unknown] - Total duration: 134ms - Times executed: 286 ]
-
SELECT datid, datname AS database_name, pid, usesysid, application_name, REGEXP_REPLACE(host(client_addr), '(.*)\.(.*)\.(.*)\.(.*)', '\1.\2.\3.X') AS client_addr, now() - backend_start AS session_duration, state, backend_start, xact_start, query_start, state_change, wait_event_type, wait_event, backend_xid, backend_xmin, backend_type, now() AS collection_time FROM pg_stat_activity;
Date: 2025-09-17 03:50:23 Duration: 3ms Database: postgres User: azuresu Remote: 169.254.128.1 Application: [unknown] Bind query: yes
-
SELECT datid, datname AS database_name, pid, usesysid, application_name, REGEXP_REPLACE(host(client_addr), '(.*)\.(.*)\.(.*)\.(.*)', '\1.\2.\3.X') AS client_addr, now() - backend_start AS session_duration, state, backend_start, xact_start, query_start, state_change, wait_event_type, wait_event, backend_xid, backend_xmin, backend_type, now() AS collection_time FROM pg_stat_activity;
Date: 2025-09-17 17:45:37 Duration: 2ms Database: postgres User: azuresu Remote: 169.254.128.1 Application: [unknown] Bind query: yes
-
SELECT datid, datname AS database_name, pid, usesysid, application_name, REGEXP_REPLACE(host(client_addr), '(.*)\.(.*)\.(.*)\.(.*)', '\1.\2.\3.X') AS client_addr, now() - backend_start AS session_duration, state, backend_start, xact_start, query_start, state_change, wait_event_type, wait_event, backend_xid, backend_xmin, backend_type, now() AS collection_time FROM pg_stat_activity;
Date: 2025-09-17 11:25:29 Duration: 1ms Database: postgres User: azuresu Remote: 169.254.128.1 Application: [unknown] Bind query: yes
15 286 79ms 0ms 1ms 0ms select count(*) filter (where state in (...)) as idle_cnt, count(*) filter (where state = ?) as active_cnt, count(*) filter (where state in (...) and usename = ?) as admin_idle_cnt, count(*) filter (where state = ? and usename = ?) as admin_active_cnt, count(*) filter (where state in (...) and usename != ?) as user_idle_cnt, count(*) filter (where state = ? and usename != ?) as user_active_cnt from pg_catalog.pg_stat_activity;Times Reported Time consuming queries #15
Day Hour Count Duration Avg duration Sep 17 02 12 2ms 0ms 03 12 3ms 0ms 04 12 3ms 0ms 05 12 3ms 0ms 06 12 2ms 0ms 07 12 2ms 0ms 08 12 3ms 0ms 09 12 3ms 0ms 10 12 2ms 0ms 11 12 3ms 0ms 12 10 3ms 0ms 13 12 4ms 0ms 14 12 3ms 0ms 15 12 4ms 0ms 16 12 3ms 0ms 17 12 3ms 0ms 18 12 2ms 0ms 19 12 3ms 0ms 20 12 2ms 0ms 21 12 2ms 0ms 22 12 3ms 0ms 23 12 3ms 0ms 00 12 3ms 0ms 01 12 3ms 0ms [ User: azuresu - Total duration: 79ms - Times executed: 286 ]
[ Application: [unknown] - Total duration: 79ms - Times executed: 286 ]
-
SELECT COUNT(*) filter (WHERE state in ('idle', 'idle in transaction', 'idle in transaction (aborted)', 'disabled')) AS idle_cnt, COUNT(*) filter (WHERE state = 'active') AS active_cnt, COUNT(*) filter (WHERE state in ('idle', 'idle in transaction', 'idle in transaction (aborted)', 'disabled') AND usename = 'azuresu') AS admin_idle_cnt, COUNT(*) filter (WHERE state = 'active' AND usename = 'azuresu') AS admin_active_cnt, COUNT(*) filter (WHERE state in ('idle', 'idle in transaction', 'idle in transaction (aborted)', 'disabled') AND usename != 'azuresu') AS user_idle_cnt, COUNT(*) filter (WHERE state = 'active' AND usename != 'azuresu') AS user_active_cnt FROM pg_catalog.pg_stat_activity;
Date: 2025-09-17 10:05:38 Duration: 1ms Database: postgres User: azuresu Remote: 169.254.128.1 Application: [unknown] Bind query: yes
-
SELECT COUNT(*) filter (WHERE state in ('idle', 'idle in transaction', 'idle in transaction (aborted)', 'disabled')) AS idle_cnt, COUNT(*) filter (WHERE state = 'active') AS active_cnt, COUNT(*) filter (WHERE state in ('idle', 'idle in transaction', 'idle in transaction (aborted)', 'disabled') AND usename = 'azuresu') AS admin_idle_cnt, COUNT(*) filter (WHERE state = 'active' AND usename = 'azuresu') AS admin_active_cnt, COUNT(*) filter (WHERE state in ('idle', 'idle in transaction', 'idle in transaction (aborted)', 'disabled') AND usename != 'azuresu') AS user_idle_cnt, COUNT(*) filter (WHERE state = 'active' AND usename != 'azuresu') AS user_active_cnt FROM pg_catalog.pg_stat_activity;
Date: 2025-09-17 11:55:29 Duration: 1ms Database: postgres User: azuresu Remote: 169.254.128.1 Application: [unknown] Bind query: yes
-
SELECT COUNT(*) filter (WHERE state in ('idle', 'idle in transaction', 'idle in transaction (aborted)', 'disabled')) AS idle_cnt, COUNT(*) filter (WHERE state = 'active') AS active_cnt, COUNT(*) filter (WHERE state in ('idle', 'idle in transaction', 'idle in transaction (aborted)', 'disabled') AND usename = 'azuresu') AS admin_idle_cnt, COUNT(*) filter (WHERE state = 'active' AND usename = 'azuresu') AS admin_active_cnt, COUNT(*) filter (WHERE state in ('idle', 'idle in transaction', 'idle in transaction (aborted)', 'disabled') AND usename != 'azuresu') AS user_idle_cnt, COUNT(*) filter (WHERE state = 'active' AND usename != 'azuresu') AS user_active_cnt FROM pg_catalog.pg_stat_activity;
Date: 2025-09-17 09:10:37 Duration: 0ms Database: postgres User: azuresu Remote: 169.254.128.1 Application: [unknown] Bind query: yes
16 286 72ms 0ms 2ms 0ms select ls.file_count, done.done_count, ready.ready_count, file_name as file_name, file_offset as file_offset, pg_wal_lsn_diff as pg_current_xlog_byte_location, pg_catalog.pg_current_wal_lsn ()::text from ( select (count(*) - ?) as file_count from ( select * from pg_catalog.pg_ls_dir(?)) as dir) as ls, ( select count(*) as done_count from pg_catalog.pg_ls_dir(?) as all_files where all_files like ?) as done, ( select count(*) as ready_count from pg_catalog.pg_ls_dir(?) as all_files where all_files like ?) as ready, pg_catalog.pg_walfile_name_offset (pg_catalog.pg_current_wal_lsn ()), pg_catalog.pg_wal_lsn_diff (pg_catalog.pg_current_wal_lsn (), ?), cast(pg_catalog.pg_current_wal_lsn () as varchar(?));Times Reported Time consuming queries #16
Day Hour Count Duration Avg duration Sep 17 02 12 3ms 0ms 03 12 2ms 0ms 04 12 2ms 0ms 05 12 2ms 0ms 06 12 3ms 0ms 07 12 3ms 0ms 08 12 3ms 0ms 09 12 3ms 0ms 10 12 3ms 0ms 11 12 2ms 0ms 12 10 1ms 0ms 13 12 2ms 0ms 14 12 3ms 0ms 15 12 2ms 0ms 16 12 3ms 0ms 17 12 3ms 0ms 18 12 3ms 0ms 19 12 3ms 0ms 20 12 2ms 0ms 21 12 2ms 0ms 22 12 2ms 0ms 23 12 2ms 0ms 00 12 2ms 0ms 01 12 4ms 0ms [ User: azuresu - Total duration: 72ms - Times executed: 286 ]
[ Application: [unknown] - Total duration: 72ms - Times executed: 286 ]
-
SELECT ls.file_count, done.done_count, ready.ready_count, file_name as file_name, file_offset as file_offset, pg_wal_lsn_diff as pg_current_xlog_byte_location, pg_catalog.pg_current_wal_lsn ()::text FROM ( SELECT (COUNT(*) - 1) as file_count FROM ( SELECT * FROM pg_catalog.pg_ls_dir('pg_wal/')) AS dir) AS ls, ( SELECT COUNT(*) as done_count FROM pg_catalog.pg_ls_dir('pg_wal/archive_status') AS all_files WHERE all_files LIKE '%.done') AS done, ( SELECT COUNT(*) as ready_count FROM pg_catalog.pg_ls_dir('pg_wal/archive_status') AS all_files WHERE all_files LIKE '%.ready') AS ready, pg_catalog.pg_walfile_name_offset (pg_catalog.pg_current_wal_lsn ()), pg_catalog.pg_wal_lsn_diff (pg_catalog.pg_current_wal_lsn (), '0/0000000'), CAST(pg_catalog.pg_current_wal_lsn () AS VARCHAR(20));
Date: 2025-09-17 23:00:46 Duration: 2ms Database: postgres User: azuresu Remote: 169.254.128.1 Application: [unknown] Bind query: yes
-
SELECT ls.file_count, done.done_count, ready.ready_count, file_name as file_name, file_offset as file_offset, pg_wal_lsn_diff as pg_current_xlog_byte_location, pg_catalog.pg_current_wal_lsn ()::text FROM ( SELECT (COUNT(*) - 1) as file_count FROM ( SELECT * FROM pg_catalog.pg_ls_dir('pg_wal/')) AS dir) AS ls, ( SELECT COUNT(*) as done_count FROM pg_catalog.pg_ls_dir('pg_wal/archive_status') AS all_files WHERE all_files LIKE '%.done') AS done, ( SELECT COUNT(*) as ready_count FROM pg_catalog.pg_ls_dir('pg_wal/archive_status') AS all_files WHERE all_files LIKE '%.ready') AS ready, pg_catalog.pg_walfile_name_offset (pg_catalog.pg_current_wal_lsn ()), pg_catalog.pg_wal_lsn_diff (pg_catalog.pg_current_wal_lsn (), '0/0000000'), CAST(pg_catalog.pg_current_wal_lsn () AS VARCHAR(20));
Date: 2025-09-17 14:35:33 Duration: 0ms Database: postgres User: azuresu Remote: 169.254.128.1 Application: [unknown] Bind query: yes
-
SELECT ls.file_count, done.done_count, ready.ready_count, file_name as file_name, file_offset as file_offset, pg_wal_lsn_diff as pg_current_xlog_byte_location, pg_catalog.pg_current_wal_lsn ()::text FROM ( SELECT (COUNT(*) - 1) as file_count FROM ( SELECT * FROM pg_catalog.pg_ls_dir('pg_wal/')) AS dir) AS ls, ( SELECT COUNT(*) as done_count FROM pg_catalog.pg_ls_dir('pg_wal/archive_status') AS all_files WHERE all_files LIKE '%.done') AS done, ( SELECT COUNT(*) as ready_count FROM pg_catalog.pg_ls_dir('pg_wal/archive_status') AS all_files WHERE all_files LIKE '%.ready') AS ready, pg_catalog.pg_walfile_name_offset (pg_catalog.pg_current_wal_lsn ()), pg_catalog.pg_wal_lsn_diff (pg_catalog.pg_current_wal_lsn (), '0/0000000'), CAST(pg_catalog.pg_current_wal_lsn () AS VARCHAR(20));
Date: 2025-09-17 15:25:34 Duration: 0ms Database: postgres User: azuresu Remote: 169.254.128.1 Application: [unknown] Bind query: yes
17 286 53ms 0ms 0ms 0ms select coalesce(nullif (application_name, ?), ?) as application_name, count(*) filter (where usename = ?) as internal_connections, count(*) filter (where usename != ?) as external_connections, count(*) as total_connections from pg_catalog.pg_stat_activity group by ?;Times Reported Time consuming queries #17
Day Hour Count Duration Avg duration Sep 17 02 12 1ms 0ms 03 12 2ms 0ms 04 12 2ms 0ms 05 12 2ms 0ms 06 12 1ms 0ms 07 12 1ms 0ms 08 12 2ms 0ms 09 12 2ms 0ms 10 12 2ms 0ms 11 12 2ms 0ms 12 10 2ms 0ms 13 12 2ms 0ms 14 12 2ms 0ms 15 12 2ms 0ms 16 12 1ms 0ms 17 12 2ms 0ms 18 12 2ms 0ms 19 12 2ms 0ms 20 12 2ms 0ms 21 12 1ms 0ms 22 12 2ms 0ms 23 12 1ms 0ms 00 12 2ms 0ms 01 12 2ms 0ms [ User: azuresu - Total duration: 53ms - Times executed: 286 ]
[ Application: [unknown] - Total duration: 53ms - Times executed: 286 ]
-
SELECT COALESCE(NULLIF (application_name, ''), 'other') AS application_name, COUNT(*) filter (WHERE usename = 'azuresu') AS internal_connections, COUNT(*) filter (WHERE usename != 'azuresu') AS external_connections, COUNT(*) AS total_connections FROM pg_catalog.pg_stat_activity group BY 1;
Date: 2025-09-17 09:35:37 Duration: 0ms Database: postgres User: azuresu Remote: 169.254.128.1 Application: [unknown] Bind query: yes
-
SELECT COALESCE(NULLIF (application_name, ''), 'other') AS application_name, COUNT(*) filter (WHERE usename = 'azuresu') AS internal_connections, COUNT(*) filter (WHERE usename != 'azuresu') AS external_connections, COUNT(*) AS total_connections FROM pg_catalog.pg_stat_activity group BY 1;
Date: 2025-09-17 11:45:29 Duration: 0ms Database: postgres User: azuresu Remote: 169.254.128.1 Application: [unknown] Bind query: yes
-
SELECT COALESCE(NULLIF (application_name, ''), 'other') AS application_name, COUNT(*) filter (WHERE usename = 'azuresu') AS internal_connections, COUNT(*) filter (WHERE usename != 'azuresu') AS external_connections, COUNT(*) AS total_connections FROM pg_catalog.pg_stat_activity group BY 1;
Date: 2025-09-17 17:35:37 Duration: 0ms Database: postgres User: azuresu Remote: 169.254.128.1 Application: [unknown] Bind query: yes
18 286 45ms 0ms 0ms 0ms select slot.slot_name as slot_name, slot.active as active, slot.slot_type as slot_type, pg_catalog.pg_current_wal_lsn ()::text as current_wal_lsn, pg_catalog.pg_wal_lsn_diff (pg_catalog.pg_current_wal_lsn (), stat.replay_lsn) as total_lag_in_bytes, pg_catalog.pg_wal_lsn_diff (pg_catalog.pg_current_wal_lsn (), stat.sent_lsn) as sending_lag_in_bytes, pg_catalog.pg_wal_lsn_diff (stat.sent_lsn, stat.flush_lsn) as receiving_lag_in_bytes, pg_catalog.pg_wal_lsn_diff (stat.flush_lsn, stat.replay_lsn) as replaying_lag_in_bytes, stat.state as wal_sender_state, stat.sync_state as sync_state, stat.sent_lsn::text as sent_lsn, stat.write_lsn::text as write_lsn, stat.flush_lsn::text as flush_lsn, stat.replay_lsn::text as replay_lsn, stat.write_lag as write_lag, stat.flush_lag as flush_lag, stat.replay_lag as replay_lag, stat.sync_priority as sync_priority, stat.backend_start as backend_start, stat.backend_xmin::text as backend_xmin, stat.pid as pid, stat.usesysid as usesysid, stat.application_name as application_name, cast(slot.restart_lsn as varchar(?)) as restart_lsn from cast(pg_catalog.pg_current_wal_lsn () as varchar(?)), pg_catalog.pg_stat_replication as stat left join pg_catalog.pg_replication_slots as slot on stat.pid = slot.active_pid;Times Reported Time consuming queries #18
Day Hour Count Duration Avg duration Sep 17 02 12 1ms 0ms 03 12 1ms 0ms 04 12 1ms 0ms 05 12 1ms 0ms 06 12 2ms 0ms 07 12 1ms 0ms 08 12 2ms 0ms 09 12 2ms 0ms 10 12 1ms 0ms 11 12 1ms 0ms 12 10 2ms 0ms 13 12 2ms 0ms 14 12 2ms 0ms 15 12 2ms 0ms 16 12 2ms 0ms 17 12 1ms 0ms 18 12 1ms 0ms 19 12 1ms 0ms 20 12 1ms 0ms 21 12 1ms 0ms 22 12 1ms 0ms 23 12 1ms 0ms 00 12 1ms 0ms 01 12 2ms 0ms [ User: azuresu - Total duration: 45ms - Times executed: 286 ]
[ Application: [unknown] - Total duration: 45ms - Times executed: 286 ]
-
SELECT slot.slot_name AS slot_name, slot.active AS active, slot.slot_type AS slot_type, pg_catalog.pg_current_wal_lsn ()::text AS current_wal_lsn, pg_catalog.pg_wal_lsn_diff (pg_catalog.pg_current_wal_lsn (), stat.replay_lsn) AS total_lag_in_bytes, pg_catalog.pg_wal_lsn_diff (pg_catalog.pg_current_wal_lsn (), stat.sent_lsn) AS sending_lag_in_bytes, pg_catalog.pg_wal_lsn_diff (stat.sent_lsn, stat.flush_lsn) AS receiving_lag_in_bytes, pg_catalog.pg_wal_lsn_diff (stat.flush_lsn, stat.replay_lsn) AS replaying_lag_in_bytes, stat.state AS wal_sender_state, stat.sync_state AS sync_state, stat.sent_lsn::text AS sent_lsn, stat.write_lsn::text AS write_lsn, stat.flush_lsn::text AS flush_lsn, stat.replay_lsn::text AS replay_lsn, stat.write_lag AS write_lag, stat.flush_lag AS flush_lag, stat.replay_lag AS replay_lag, stat.sync_priority AS sync_priority, stat.backend_start AS backend_start, stat.backend_xmin::text AS backend_xmin, stat.pid AS pid, stat.usesysid AS usesysid, stat.application_name AS application_name, CAST(slot.restart_lsn AS varchar(20)) as restart_lsn FROM CAST(pg_catalog.pg_current_wal_lsn () AS VARCHAR(20)), pg_catalog.pg_stat_replication AS stat LEFT JOIN pg_catalog.pg_replication_slots AS slot ON stat.pid = slot.active_pid;
Date: 2025-09-17 23:55:48 Duration: 0ms Database: postgres User: azuresu Remote: 169.254.128.1 Application: [unknown] Bind query: yes
-
SELECT slot.slot_name AS slot_name, slot.active AS active, slot.slot_type AS slot_type, pg_catalog.pg_current_wal_lsn ()::text AS current_wal_lsn, pg_catalog.pg_wal_lsn_diff (pg_catalog.pg_current_wal_lsn (), stat.replay_lsn) AS total_lag_in_bytes, pg_catalog.pg_wal_lsn_diff (pg_catalog.pg_current_wal_lsn (), stat.sent_lsn) AS sending_lag_in_bytes, pg_catalog.pg_wal_lsn_diff (stat.sent_lsn, stat.flush_lsn) AS receiving_lag_in_bytes, pg_catalog.pg_wal_lsn_diff (stat.flush_lsn, stat.replay_lsn) AS replaying_lag_in_bytes, stat.state AS wal_sender_state, stat.sync_state AS sync_state, stat.sent_lsn::text AS sent_lsn, stat.write_lsn::text AS write_lsn, stat.flush_lsn::text AS flush_lsn, stat.replay_lsn::text AS replay_lsn, stat.write_lag AS write_lag, stat.flush_lag AS flush_lag, stat.replay_lag AS replay_lag, stat.sync_priority AS sync_priority, stat.backend_start AS backend_start, stat.backend_xmin::text AS backend_xmin, stat.pid AS pid, stat.usesysid AS usesysid, stat.application_name AS application_name, CAST(slot.restart_lsn AS varchar(20)) as restart_lsn FROM CAST(pg_catalog.pg_current_wal_lsn () AS VARCHAR(20)), pg_catalog.pg_stat_replication AS stat LEFT JOIN pg_catalog.pg_replication_slots AS slot ON stat.pid = slot.active_pid;
Date: 2025-09-17 07:35:32 Duration: 0ms Database: postgres User: azuresu Remote: 169.254.128.1 Application: [unknown] Bind query: yes
-
SELECT slot.slot_name AS slot_name, slot.active AS active, slot.slot_type AS slot_type, pg_catalog.pg_current_wal_lsn ()::text AS current_wal_lsn, pg_catalog.pg_wal_lsn_diff (pg_catalog.pg_current_wal_lsn (), stat.replay_lsn) AS total_lag_in_bytes, pg_catalog.pg_wal_lsn_diff (pg_catalog.pg_current_wal_lsn (), stat.sent_lsn) AS sending_lag_in_bytes, pg_catalog.pg_wal_lsn_diff (stat.sent_lsn, stat.flush_lsn) AS receiving_lag_in_bytes, pg_catalog.pg_wal_lsn_diff (stat.flush_lsn, stat.replay_lsn) AS replaying_lag_in_bytes, stat.state AS wal_sender_state, stat.sync_state AS sync_state, stat.sent_lsn::text AS sent_lsn, stat.write_lsn::text AS write_lsn, stat.flush_lsn::text AS flush_lsn, stat.replay_lsn::text AS replay_lsn, stat.write_lag AS write_lag, stat.flush_lag AS flush_lag, stat.replay_lag AS replay_lag, stat.sync_priority AS sync_priority, stat.backend_start AS backend_start, stat.backend_xmin::text AS backend_xmin, stat.pid AS pid, stat.usesysid AS usesysid, stat.application_name AS application_name, CAST(slot.restart_lsn AS varchar(20)) as restart_lsn FROM CAST(pg_catalog.pg_current_wal_lsn () AS VARCHAR(20)), pg_catalog.pg_stat_replication AS stat LEFT JOIN pg_catalog.pg_replication_slots AS slot ON stat.pid = slot.active_pid;
Date: 2025-09-17 04:15:24 Duration: 0ms Database: postgres User: azuresu Remote: 169.254.128.1 Application: [unknown] Bind query: yes
19 286 10ms 0ms 0ms 0ms with current_lsn_cte as ( select case when pg_catalog.pg_is_in_recovery() = ? then case when pg_catalog.pg_last_wal_receive_lsn () is null then pg_catalog.pg_last_wal_replay_lsn () when pg_catalog.pg_last_wal_replay_lsn () is null then pg_catalog.pg_last_wal_receive_lsn () when pg_catalog.pg_wal_lsn_diff (pg_catalog.pg_last_wal_receive_lsn (), pg_catalog.pg_last_wal_replay_lsn ()) >= ? then pg_catalog.pg_last_wal_receive_lsn () else pg_catalog.pg_last_wal_replay_lsn () end else pg_catalog.pg_current_wal_lsn () end as current_lsn ) select slot.slot_name as slot_name, slot.active as active, slot.slot_type as slot_type, current_lsn_cte.current_lsn::text as current_wal_lsn, pg_catalog.pg_wal_lsn_diff (current_lsn_cte.current_lsn, stat.replay_lsn) as total_lag_in_bytes, pg_catalog.pg_wal_lsn_diff (current_lsn_cte.current_lsn, stat.sent_lsn) as sending_lag_in_bytes, pg_catalog.pg_wal_lsn_diff (stat.sent_lsn, stat.flush_lsn) as receiving_lag_in_bytes, pg_catalog.pg_wal_lsn_diff (stat.flush_lsn, stat.replay_lsn) as replaying_lag_in_bytes, stat.state as wal_sender_state, stat.sync_state as sync_state, stat.sent_lsn::text as sent_lsn, stat.write_lsn::text as write_lsn, stat.flush_lsn::text as flush_lsn, stat.replay_lsn::text as replay_lsn, stat.write_lag as write_lag, stat.flush_lag as flush_lag, stat.replay_lag as replay_lag, stat.sync_priority as sync_priority, stat.backend_start as backend_start, stat.backend_xmin::text as backend_xmin, slot.xmin::text as xmin, stat.pid as pid, stat.usesysid as usesysid, stat.application_name as application_name, cast(slot.restart_lsn as varchar(?)) as restart_lsn from pg_catalog.pg_replication_slots as slot left join pg_catalog.pg_stat_replication as stat on stat.pid = slot.active_pid, current_lsn_cte;Times Reported Time consuming queries #19
Day Hour Count Duration Avg duration Sep 17 02 12 0ms 0ms 03 12 0ms 0ms 04 12 0ms 0ms 05 12 0ms 0ms 06 12 0ms 0ms 07 12 0ms 0ms 08 12 0ms 0ms 09 12 0ms 0ms 10 12 0ms 0ms 11 12 0ms 0ms 12 10 0ms 0ms 13 12 0ms 0ms 14 12 0ms 0ms 15 12 0ms 0ms 16 12 0ms 0ms 17 12 0ms 0ms 18 12 0ms 0ms 19 12 0ms 0ms 20 12 0ms 0ms 21 12 0ms 0ms 22 12 0ms 0ms 23 12 0ms 0ms 00 12 0ms 0ms 01 12 0ms 0ms [ User: azuresu - Total duration: 10ms - Times executed: 286 ]
[ Application: [unknown] - Total duration: 10ms - Times executed: 286 ]
-
WITH current_lsn_cte AS ( SELECT CASE WHEN pg_catalog.pg_is_in_recovery() = 't' THEN CASE WHEN pg_catalog.pg_last_wal_receive_lsn () IS NULL THEN pg_catalog.pg_last_wal_replay_lsn () WHEN pg_catalog.pg_last_wal_replay_lsn () IS NULL THEN pg_catalog.pg_last_wal_receive_lsn () WHEN pg_catalog.pg_wal_lsn_diff (pg_catalog.pg_last_wal_receive_lsn (), pg_catalog.pg_last_wal_replay_lsn ()) >= 0 THEN pg_catalog.pg_last_wal_receive_lsn () ELSE pg_catalog.pg_last_wal_replay_lsn () END ELSE pg_catalog.pg_current_wal_lsn () END AS current_lsn ) SELECT slot.slot_name AS slot_name, slot.active AS active, slot.slot_type AS slot_type, current_lsn_cte.current_lsn::text AS current_wal_lsn, pg_catalog.pg_wal_lsn_diff (current_lsn_cte.current_lsn, stat.replay_lsn) AS total_lag_in_bytes, pg_catalog.pg_wal_lsn_diff (current_lsn_cte.current_lsn, stat.sent_lsn) AS sending_lag_in_bytes, pg_catalog.pg_wal_lsn_diff (stat.sent_lsn, stat.flush_lsn) AS receiving_lag_in_bytes, pg_catalog.pg_wal_lsn_diff (stat.flush_lsn, stat.replay_lsn) AS replaying_lag_in_bytes, stat.state AS wal_sender_state, stat.sync_state AS sync_state, stat.sent_lsn::text AS sent_lsn, stat.write_lsn::text AS write_lsn, stat.flush_lsn::text AS flush_lsn, stat.replay_lsn::text AS replay_lsn, stat.write_lag AS write_lag, stat.flush_lag AS flush_lag, stat.replay_lag AS replay_lag, stat.sync_priority AS sync_priority, stat.backend_start AS backend_start, stat.backend_xmin::text AS backend_xmin, slot.xmin::text AS xmin, stat.pid AS pid, stat.usesysid AS usesysid, stat.application_name AS application_name, CAST(slot.restart_lsn AS varchar(20)) AS restart_lsn FROM pg_catalog.pg_replication_slots AS slot LEFT JOIN pg_catalog.pg_stat_replication AS stat ON stat.pid = slot.active_pid, current_lsn_cte;
Date: 2025-09-17 16:00:35 Duration: 0ms Database: postgres User: azuresu Remote: 169.254.128.1 Application: [unknown] Bind query: yes
-
WITH current_lsn_cte AS ( SELECT CASE WHEN pg_catalog.pg_is_in_recovery() = 't' THEN CASE WHEN pg_catalog.pg_last_wal_receive_lsn () IS NULL THEN pg_catalog.pg_last_wal_replay_lsn () WHEN pg_catalog.pg_last_wal_replay_lsn () IS NULL THEN pg_catalog.pg_last_wal_receive_lsn () WHEN pg_catalog.pg_wal_lsn_diff (pg_catalog.pg_last_wal_receive_lsn (), pg_catalog.pg_last_wal_replay_lsn ()) >= 0 THEN pg_catalog.pg_last_wal_receive_lsn () ELSE pg_catalog.pg_last_wal_replay_lsn () END ELSE pg_catalog.pg_current_wal_lsn () END AS current_lsn ) SELECT slot.slot_name AS slot_name, slot.active AS active, slot.slot_type AS slot_type, current_lsn_cte.current_lsn::text AS current_wal_lsn, pg_catalog.pg_wal_lsn_diff (current_lsn_cte.current_lsn, stat.replay_lsn) AS total_lag_in_bytes, pg_catalog.pg_wal_lsn_diff (current_lsn_cte.current_lsn, stat.sent_lsn) AS sending_lag_in_bytes, pg_catalog.pg_wal_lsn_diff (stat.sent_lsn, stat.flush_lsn) AS receiving_lag_in_bytes, pg_catalog.pg_wal_lsn_diff (stat.flush_lsn, stat.replay_lsn) AS replaying_lag_in_bytes, stat.state AS wal_sender_state, stat.sync_state AS sync_state, stat.sent_lsn::text AS sent_lsn, stat.write_lsn::text AS write_lsn, stat.flush_lsn::text AS flush_lsn, stat.replay_lsn::text AS replay_lsn, stat.write_lag AS write_lag, stat.flush_lag AS flush_lag, stat.replay_lag AS replay_lag, stat.sync_priority AS sync_priority, stat.backend_start AS backend_start, stat.backend_xmin::text AS backend_xmin, slot.xmin::text AS xmin, stat.pid AS pid, stat.usesysid AS usesysid, stat.application_name AS application_name, CAST(slot.restart_lsn AS varchar(20)) AS restart_lsn FROM pg_catalog.pg_replication_slots AS slot LEFT JOIN pg_catalog.pg_stat_replication AS stat ON stat.pid = slot.active_pid, current_lsn_cte;
Date: 2025-09-17 17:35:37 Duration: 0ms Database: postgres User: azuresu Remote: 169.254.128.1 Application: [unknown] Bind query: yes
-
WITH current_lsn_cte AS ( SELECT CASE WHEN pg_catalog.pg_is_in_recovery() = 't' THEN CASE WHEN pg_catalog.pg_last_wal_receive_lsn () IS NULL THEN pg_catalog.pg_last_wal_replay_lsn () WHEN pg_catalog.pg_last_wal_replay_lsn () IS NULL THEN pg_catalog.pg_last_wal_receive_lsn () WHEN pg_catalog.pg_wal_lsn_diff (pg_catalog.pg_last_wal_receive_lsn (), pg_catalog.pg_last_wal_replay_lsn ()) >= 0 THEN pg_catalog.pg_last_wal_receive_lsn () ELSE pg_catalog.pg_last_wal_replay_lsn () END ELSE pg_catalog.pg_current_wal_lsn () END AS current_lsn ) SELECT slot.slot_name AS slot_name, slot.active AS active, slot.slot_type AS slot_type, current_lsn_cte.current_lsn::text AS current_wal_lsn, pg_catalog.pg_wal_lsn_diff (current_lsn_cte.current_lsn, stat.replay_lsn) AS total_lag_in_bytes, pg_catalog.pg_wal_lsn_diff (current_lsn_cte.current_lsn, stat.sent_lsn) AS sending_lag_in_bytes, pg_catalog.pg_wal_lsn_diff (stat.sent_lsn, stat.flush_lsn) AS receiving_lag_in_bytes, pg_catalog.pg_wal_lsn_diff (stat.flush_lsn, stat.replay_lsn) AS replaying_lag_in_bytes, stat.state AS wal_sender_state, stat.sync_state AS sync_state, stat.sent_lsn::text AS sent_lsn, stat.write_lsn::text AS write_lsn, stat.flush_lsn::text AS flush_lsn, stat.replay_lsn::text AS replay_lsn, stat.write_lag AS write_lag, stat.flush_lag AS flush_lag, stat.replay_lag AS replay_lag, stat.sync_priority AS sync_priority, stat.backend_start AS backend_start, stat.backend_xmin::text AS backend_xmin, slot.xmin::text AS xmin, stat.pid AS pid, stat.usesysid AS usesysid, stat.application_name AS application_name, CAST(slot.restart_lsn AS varchar(20)) AS restart_lsn FROM pg_catalog.pg_replication_slots AS slot LEFT JOIN pg_catalog.pg_stat_replication AS stat ON stat.pid = slot.active_pid, current_lsn_cte;
Date: 2025-09-17 12:10:30 Duration: 0ms Database: postgres User: azuresu Remote: 169.254.128.1 Application: [unknown] Bind query: yes
20 278 8ms 0ms 0ms 0ms select count(*) as superusers_count from pg_catalog.pg_roles where rolsuper = ? and rolname <> ?;Times Reported Time consuming queries #20
Day Hour Count Duration Avg duration Sep 17 02 12 0ms 0ms 03 12 0ms 0ms 04 11 0ms 0ms 05 12 0ms 0ms 06 12 0ms 0ms 07 11 0ms 0ms 08 12 0ms 0ms 09 12 0ms 0ms 10 11 0ms 0ms 11 12 0ms 0ms 12 10 0ms 0ms 13 11 0ms 0ms 14 12 0ms 0ms 15 12 0ms 0ms 16 11 0ms 0ms 17 12 0ms 0ms 18 11 0ms 0ms 19 12 0ms 0ms 20 12 0ms 0ms 21 11 0ms 0ms 22 12 0ms 0ms 23 12 0ms 0ms 00 11 0ms 0ms 01 12 0ms 0ms [ User: azuresu - Total duration: 8ms - Times executed: 278 ]
[ Application: [unknown] - Total duration: 8ms - Times executed: 278 ]
-
SELECT COUNT(*) as superusers_count FROM pg_catalog.pg_roles where rolsuper = 't' and rolname <> 'azuresu';
Date: 2025-09-17 02:50:29 Duration: 0ms Database: postgres User: azuresu Remote: 169.254.128.1 Application: [unknown] Bind query: yes
-
SELECT COUNT(*) as superusers_count FROM pg_catalog.pg_roles where rolsuper = 't' and rolname <> 'azuresu';
Date: 2025-09-17 22:40:30 Duration: 0ms Database: postgres User: azuresu Remote: 169.254.128.1 Application: [unknown] Bind query: yes
-
SELECT COUNT(*) as superusers_count FROM pg_catalog.pg_roles where rolsuper = 't' and rolname <> 'azuresu';
Date: 2025-09-17 08:50:40 Duration: 0ms Database: postgres 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 94ms 413ms 206ms 3 619ms select pg_catalog.pg_backup_start (, true);Times Reported Time consuming queries #1
Day Hour Count Duration Avg duration Sep 17 12 2 507ms 253ms 15 1 111ms 111ms [ User: azuresu - Total duration: 619ms - Times executed: 3 ]
[ Application: [unknown] - Total duration: 619ms - Times executed: 3 ]
-
SELECT pg_catalog.pg_backup_start (, true);
Date: 2025-09-17 10:18:44 Duration: 413ms Database: postgres User: azuresu Remote: 169.254.128.1 Application: [unknown] Bind query: yes
-
SELECT pg_catalog.pg_backup_start (, true);
Date: 2025-09-17 13:14:10 Duration: 111ms Database: postgres User: azuresu Remote: 169.254.128.1 Application: [unknown] Bind query: yes
-
SELECT pg_catalog.pg_backup_start (, true);
Date: 2025-09-17 10:06:51 Duration: 94ms Database: postgres User: azuresu Remote: 169.254.128.1 Application: [unknown] Bind query: yes
2 82ms 82ms 82ms 1 82ms select pg_catalog.pg_switch_wal ();Times Reported Time consuming queries #2
Day Hour Count Duration Avg duration Sep 17 12 1 82ms 82ms [ User: azuresu - Total duration: 82ms - Times executed: 1 ]
[ Application: [unknown] - Total duration: 82ms - Times executed: 1 ]
-
SELECT pg_catalog.pg_switch_wal ();
Date: 2025-09-17 10:06:43 Duration: 82ms Database: postgres User: azuresu Remote: 169.254.128.1 Application: [unknown] Bind query: yes
3 42ms 140ms 54ms 49 2s677ms select pg_catalog.pg_database.datname as database_name, pg_catalog.pg_database.oid as database_oid, pg_catalog.pg_database_size(pg_catalog.pg_database.datname) as database_size_bytes, pg_encoding_to_char(encoding) as encoding, datcollate, datctype, case datlocprovider when ? then ? when ? then ? end as datlocprovider from pg_catalog.pg_database;Times Reported Time consuming queries #3
Day Hour Count Duration Avg duration Sep 17 02 2 91ms 45ms 03 2 88ms 44ms 04 2 85ms 42ms 05 2 86ms 43ms 06 2 87ms 43ms 07 2 85ms 42ms 08 2 155ms 77ms 09 2 221ms 110ms 10 2 133ms 66ms 11 2 88ms 44ms 12 3 189ms 63ms 13 2 88ms 44ms 14 2 90ms 45ms 15 2 89ms 44ms 16 2 89ms 44ms 17 2 94ms 47ms 18 2 102ms 51ms 19 2 91ms 45ms 20 2 94ms 47ms 21 2 92ms 46ms 22 2 91ms 45ms 23 2 91ms 45ms 00 2 138ms 69ms 01 2 208ms 104ms [ User: azuresu - Total duration: 2s677ms - Times executed: 49 ]
[ Application: [unknown] - Total duration: 2s677ms - Times executed: 49 ]
-
SELECT pg_catalog.pg_database.datname AS database_name, pg_catalog.pg_database.oid AS database_oid, pg_catalog.pg_database_size(pg_catalog.pg_database.datname) AS database_size_bytes, pg_encoding_to_char(encoding) AS encoding, datcollate, datctype, CASE datlocprovider WHEN 'c' THEN 'libc' WHEN 'i' THEN 'icu' END AS datlocprovider FROM pg_catalog.pg_database;
Date: 2025-09-17 23:20:46 Duration: 140ms Database: postgres User: azuresu Remote: 169.254.128.1 Application: [unknown] Bind query: yes
-
SELECT pg_catalog.pg_database.datname AS database_name, pg_catalog.pg_database.oid AS database_oid, pg_catalog.pg_database_size(pg_catalog.pg_database.datname) AS database_size_bytes, pg_encoding_to_char(encoding) AS encoding, datcollate, datctype, CASE datlocprovider WHEN 'c' THEN 'libc' WHEN 'i' THEN 'icu' END AS datlocprovider FROM pg_catalog.pg_database;
Date: 2025-09-17 07:05:30 Duration: 134ms Database: postgres User: azuresu Remote: 169.254.128.1 Application: [unknown] Bind query: yes
-
SELECT pg_catalog.pg_database.datname AS database_name, pg_catalog.pg_database.oid AS database_oid, pg_catalog.pg_database_size(pg_catalog.pg_database.datname) AS database_size_bytes, pg_encoding_to_char(encoding) AS encoding, datcollate, datctype, CASE datlocprovider WHEN 'c' THEN 'libc' WHEN 'i' THEN 'icu' END AS datlocprovider FROM pg_catalog.pg_database;
Date: 2025-09-17 06:35:28 Duration: 112ms Database: postgres User: azuresu Remote: 169.254.128.1 Application: [unknown] Bind query: yes
4 31ms 54ms 42ms 3 127ms select lsn, labelfile, spcmapfile from pg_catalog.pg_backup_stop (false);Times Reported Time consuming queries #4
Day Hour Count Duration Avg duration Sep 17 12 2 86ms 43ms 15 1 41ms 41ms [ User: azuresu - Total duration: 127ms - Times executed: 3 ]
[ Application: [unknown] - Total duration: 127ms - Times executed: 3 ]
-
SELECT lsn, labelfile, spcmapfile from pg_catalog.pg_backup_stop (false);
Date: 2025-09-17 10:07:36 Duration: 54ms Database: postgres User: azuresu Remote: 169.254.128.1 Application: [unknown] Bind query: yes
-
SELECT lsn, labelfile, spcmapfile from pg_catalog.pg_backup_stop (false);
Date: 2025-09-17 13:15:55 Duration: 41ms Database: postgres User: azuresu Remote: 169.254.128.1 Application: [unknown] Bind query: yes
-
SELECT lsn, labelfile, spcmapfile from pg_catalog.pg_backup_stop (false);
Date: 2025-09-17 10:19:29 Duration: 31ms Database: postgres User: azuresu Remote: 169.254.128.1 Application: [unknown] Bind query: yes
5 8ms 112ms 20ms 11 222ms 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 #5
Day Hour Count Duration Avg duration Sep 17 12 11 222ms 20ms [ User: azuresu - Total duration: 222ms - Times executed: 11 ]
[ Application: [unknown] - Total duration: 222ms - Times executed: 11 ]
-
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-09-17 10:00:24 Duration: 112ms Database: postgres 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-09-17 10:17:58 Duration: 26ms Database: postgres 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-09-17 10:06:43 Duration: 11ms Database: postgres User: azuresu Remote: 169.254.128.1 Application: [unknown]
6 1ms 4ms 1ms 61 104ms select name, setting, pending_restart from pg_catalog.pg_settings;Times Reported Time consuming queries #6
Day Hour Count Duration Avg duration Sep 17 02 2 2ms 1ms 03 2 3ms 1ms 04 2 2ms 1ms 05 2 3ms 1ms 06 3 4ms 1ms 07 2 2ms 1ms 08 2 7ms 3ms 09 2 3ms 1ms 10 2 2ms 1ms 11 3 6ms 2ms 12 10 18ms 1ms 13 2 2ms 1ms 14 2 3ms 1ms 15 2 3ms 1ms 16 2 2ms 1ms 17 2 4ms 2ms 18 3 5ms 1ms 19 2 3ms 1ms 20 2 2ms 1ms 21 2 3ms 1ms 22 2 2ms 1ms 23 2 2ms 1ms 00 4 6ms 1ms 01 2 2ms 1ms [ User: azuresu - Total duration: 104ms - Times executed: 61 ]
[ Application: [unknown] - Total duration: 104ms - Times executed: 61 ]
-
SELECT name, setting, pending_restart FROM pg_catalog.pg_settings;
Date: 2025-09-17 06:00:17 Duration: 4ms Database: postgres User: azuresu Remote: 169.254.128.1 Application: [unknown] Bind query: yes
-
SELECT name, setting, pending_restart FROM pg_catalog.pg_settings;
Date: 2025-09-17 10:18:48 Duration: 3ms Database: postgres User: azuresu Remote: 169.254.128.1 Application: [unknown] Bind query: yes
-
SELECT name, setting, pending_restart FROM pg_catalog.pg_settings;
Date: 2025-09-17 15:42:23 Duration: 2ms Database: postgres User: azuresu Remote: 169.254.128.1 Application: [unknown] Bind query: yes
7 1ms 3ms 1ms 49 80ms with constants as ( select ? ^ ?::bigint as max_xacts, max( case when name = ? then setting else null end)::bigint as vacuum_freeze_min_age, max( case when name = ? then setting else null end)::bigint as autovacuum_freeze_max_age, max( case when name = ? then setting else null end)::bigint as vacuum_multixact_freeze_min_age, max( case when name = ? then setting else null end)::bigint as autovacuum_multixact_freeze_max_age from pg_settings where name in (...)) select datname, datdba, datallowconn, datconnlimit, datminmxid, mxid_age (datminmxid)::bigint as age_datminmxid, datfrozenxid, age(datfrozenxid)::bigint as age_datfrozenxid, max_xacts, vacuum_freeze_min_age, autovacuum_freeze_max_age, (max_xacts - age(datfrozenxid))::bigint as total_remaining_xids, (autovacuum_freeze_max_age - age(datfrozenxid))::bigint as remaining_xids_till_emergency_autovacuum, (max_xacts - age(datfrozenxid) - vacuum_freeze_min_age)::bigint as remaining_xids_till_wraparound, vacuum_multixact_freeze_min_age, autovacuum_multixact_freeze_max_age, (max_xacts - mxid_age (datminmxid))::bigint as total_remaining_mxids, (autovacuum_multixact_freeze_max_age - mxid_age (datminmxid))::bigint as remaining_mxids_till_emergency_autovacuum, (max_xacts - mxid_age (datminmxid) - vacuum_multixact_freeze_min_age)::bigint as remaining_mxids_till_wraparound from pg_database, constants;Times Reported Time consuming queries #7
Day Hour Count Duration Avg duration Sep 17 02 2 2ms 1ms 03 2 2ms 1ms 04 2 2ms 1ms 05 2 2ms 1ms 06 2 2ms 1ms 07 2 2ms 1ms 08 2 2ms 1ms 09 2 4ms 2ms 10 2 2ms 1ms 11 2 2ms 1ms 12 3 4ms 1ms 13 2 3ms 1ms 14 2 4ms 2ms 15 2 3ms 1ms 16 2 3ms 1ms 17 2 3ms 1ms 18 2 3ms 1ms 19 2 3ms 1ms 20 2 4ms 2ms 21 2 3ms 1ms 22 2 3ms 1ms 23 2 3ms 1ms 00 2 3ms 1ms 01 2 3ms 1ms [ User: azuresu - Total duration: 80ms - Times executed: 49 ]
[ Application: [unknown] - Total duration: 80ms - Times executed: 49 ]
-
WITH Constants AS ( SELECT 2 ^ 31::bigint AS max_xacts, max( case when name = 'vacuum_freeze_min_age' then setting else NULL end)::bigint as vacuum_freeze_min_age, max( case when name = 'autovacuum_freeze_max_age' then setting else NULL end)::bigint as autovacuum_freeze_max_age, max( case when name = 'vacuum_multixact_freeze_min_age' then setting else NULL end)::bigint as vacuum_multixact_freeze_min_age, max( case when name = 'autovacuum_multixact_freeze_max_age' then setting else NULL end)::bigint as autovacuum_multixact_freeze_max_age from pg_settings where name in ('vacuum_freeze_min_age', 'autovacuum_freeze_max_age', 'vacuum_multixact_freeze_min_age', 'autovacuum_multixact_freeze_max_age')) SELECT datname, datdba, datallowconn, datconnlimit, datminmxid, mxid_age (datminmxid)::bigint as age_datminmxid, datfrozenxid, age(datfrozenxid)::bigint AS age_datfrozenxid, max_xacts, vacuum_freeze_min_age, autovacuum_freeze_max_age, (max_xacts - age(datfrozenxid))::bigint AS total_remaining_xids, (autovacuum_freeze_max_age - age(datfrozenxid))::bigint AS remaining_xids_till_emergency_autovacuum, (max_xacts - age(datfrozenxid) - vacuum_freeze_min_age)::bigint AS remaining_xids_till_wraparound, vacuum_multixact_freeze_min_age, autovacuum_multixact_freeze_max_age, (max_xacts - mxid_age (datminmxid))::bigint AS total_remaining_mxids, (autovacuum_multixact_freeze_max_age - mxid_age (datminmxid))::bigint AS remaining_mxids_till_emergency_autovacuum, (max_xacts - mxid_age (datminmxid) - vacuum_multixact_freeze_min_age)::bigint AS remaining_mxids_till_wraparound from pg_database, Constants;
Date: 2025-09-17 07:35:32 Duration: 3ms Database: postgres User: azuresu Remote: 169.254.128.1 Application: [unknown] Bind query: yes
-
WITH Constants AS ( SELECT 2 ^ 31::bigint AS max_xacts, max( case when name = 'vacuum_freeze_min_age' then setting else NULL end)::bigint as vacuum_freeze_min_age, max( case when name = 'autovacuum_freeze_max_age' then setting else NULL end)::bigint as autovacuum_freeze_max_age, max( case when name = 'vacuum_multixact_freeze_min_age' then setting else NULL end)::bigint as vacuum_multixact_freeze_min_age, max( case when name = 'autovacuum_multixact_freeze_max_age' then setting else NULL end)::bigint as autovacuum_multixact_freeze_max_age from pg_settings where name in ('vacuum_freeze_min_age', 'autovacuum_freeze_max_age', 'vacuum_multixact_freeze_min_age', 'autovacuum_multixact_freeze_max_age')) SELECT datname, datdba, datallowconn, datconnlimit, datminmxid, mxid_age (datminmxid)::bigint as age_datminmxid, datfrozenxid, age(datfrozenxid)::bigint AS age_datfrozenxid, max_xacts, vacuum_freeze_min_age, autovacuum_freeze_max_age, (max_xacts - age(datfrozenxid))::bigint AS total_remaining_xids, (autovacuum_freeze_max_age - age(datfrozenxid))::bigint AS remaining_xids_till_emergency_autovacuum, (max_xacts - age(datfrozenxid) - vacuum_freeze_min_age)::bigint AS remaining_xids_till_wraparound, vacuum_multixact_freeze_min_age, autovacuum_multixact_freeze_max_age, (max_xacts - mxid_age (datminmxid))::bigint AS total_remaining_mxids, (autovacuum_multixact_freeze_max_age - mxid_age (datminmxid))::bigint AS remaining_mxids_till_emergency_autovacuum, (max_xacts - mxid_age (datminmxid) - vacuum_multixact_freeze_min_age)::bigint AS remaining_mxids_till_wraparound from pg_database, Constants;
Date: 2025-09-17 12:50:31 Duration: 2ms Database: postgres User: azuresu Remote: 169.254.128.1 Application: [unknown] Bind query: yes
-
WITH Constants AS ( SELECT 2 ^ 31::bigint AS max_xacts, max( case when name = 'vacuum_freeze_min_age' then setting else NULL end)::bigint as vacuum_freeze_min_age, max( case when name = 'autovacuum_freeze_max_age' then setting else NULL end)::bigint as autovacuum_freeze_max_age, max( case when name = 'vacuum_multixact_freeze_min_age' then setting else NULL end)::bigint as vacuum_multixact_freeze_min_age, max( case when name = 'autovacuum_multixact_freeze_max_age' then setting else NULL end)::bigint as autovacuum_multixact_freeze_max_age from pg_settings where name in ('vacuum_freeze_min_age', 'autovacuum_freeze_max_age', 'vacuum_multixact_freeze_min_age', 'autovacuum_multixact_freeze_max_age')) SELECT datname, datdba, datallowconn, datconnlimit, datminmxid, mxid_age (datminmxid)::bigint as age_datminmxid, datfrozenxid, age(datfrozenxid)::bigint AS age_datfrozenxid, max_xacts, vacuum_freeze_min_age, autovacuum_freeze_max_age, (max_xacts - age(datfrozenxid))::bigint AS total_remaining_xids, (autovacuum_freeze_max_age - age(datfrozenxid))::bigint AS remaining_xids_till_emergency_autovacuum, (max_xacts - age(datfrozenxid) - vacuum_freeze_min_age)::bigint AS remaining_xids_till_wraparound, vacuum_multixact_freeze_min_age, autovacuum_multixact_freeze_max_age, (max_xacts - mxid_age (datminmxid))::bigint AS total_remaining_mxids, (autovacuum_multixact_freeze_max_age - mxid_age (datminmxid))::bigint AS remaining_mxids_till_emergency_autovacuum, (max_xacts - mxid_age (datminmxid) - vacuum_multixact_freeze_min_age)::bigint AS remaining_mxids_till_wraparound from pg_database, Constants;
Date: 2025-09-17 18:50:39 Duration: 2ms Database: postgres User: azuresu Remote: 169.254.128.1 Application: [unknown] Bind query: yes
8 1ms 4ms 1ms 286 356ms with max_con as ( select setting::numeric from pg_catalog.pg_settings where name = ? ) select coalesce(sum(numbackends), ?) as active_connections, round(sum(numbackends) / max(setting), ?) as pct_connections, max(setting) as max_connections from pg_catalog.pg_stat_database, max_con;Times Reported Time consuming queries #8
Day Hour Count Duration Avg duration Sep 17 02 12 15ms 1ms 03 12 15ms 1ms 04 12 18ms 1ms 05 12 14ms 1ms 06 12 14ms 1ms 07 12 16ms 1ms 08 12 15ms 1ms 09 12 14ms 1ms 10 12 13ms 1ms 11 12 15ms 1ms 12 10 11ms 1ms 13 12 14ms 1ms 14 12 17ms 1ms 15 12 14ms 1ms 16 12 16ms 1ms 17 12 14ms 1ms 18 12 14ms 1ms 19 12 15ms 1ms 20 12 13ms 1ms 21 12 13ms 1ms 22 12 14ms 1ms 23 12 13ms 1ms 00 12 16ms 1ms 01 12 14ms 1ms [ User: azuresu - Total duration: 356ms - Times executed: 286 ]
[ Application: [unknown] - Total duration: 356ms - Times executed: 286 ]
-
WITH max_con AS ( SELECT setting::numeric FROM pg_catalog.pg_settings WHERE name = 'max_connections' ) SELECT COALESCE(SUM(numbackends), 0) as active_connections, ROUND(SUM(numbackends) / MAX(setting), 4) AS pct_connections, MAX(setting) AS max_connections FROM pg_catalog.pg_stat_database, max_con;
Date: 2025-09-17 14:35:33 Duration: 4ms Database: postgres User: azuresu Remote: 169.254.128.1 Application: [unknown] Bind query: yes
-
WITH max_con AS ( SELECT setting::numeric FROM pg_catalog.pg_settings WHERE name = 'max_connections' ) SELECT COALESCE(SUM(numbackends), 0) as active_connections, ROUND(SUM(numbackends) / MAX(setting), 4) AS pct_connections, MAX(setting) AS max_connections FROM pg_catalog.pg_stat_database, max_con;
Date: 2025-09-17 22:45:44 Duration: 3ms Database: postgres User: azuresu Remote: 169.254.128.1 Application: [unknown] Bind query: yes
-
WITH max_con AS ( SELECT setting::numeric FROM pg_catalog.pg_settings WHERE name = 'max_connections' ) SELECT COALESCE(SUM(numbackends), 0) as active_connections, ROUND(SUM(numbackends) / MAX(setting), 4) AS pct_connections, MAX(setting) AS max_connections FROM pg_catalog.pg_stat_database, max_con;
Date: 2025-09-17 02:55:22 Duration: 3ms Database: postgres User: azuresu Remote: 169.254.128.1 Application: [unknown] Bind query: yes
9 0ms 10ms 1ms 516 538ms select name, setting from pg_catalog.pg_file_settings where sourcefile =;Times Reported Time consuming queries #9
Day Hour Count Duration Avg duration Sep 17 02 18 16ms 0ms 03 18 17ms 0ms 04 18 19ms 1ms 05 18 14ms 0ms 06 27 27ms 1ms 07 18 16ms 0ms 08 18 23ms 1ms 09 18 24ms 1ms 10 18 16ms 0ms 11 27 28ms 1ms 12 86 103ms 1ms 13 16 14ms 0ms 14 16 16ms 1ms 15 16 13ms 0ms 16 16 18ms 1ms 17 16 15ms 0ms 18 24 25ms 1ms 19 16 15ms 0ms 20 16 11ms 0ms 21 16 16ms 1ms 22 16 14ms 0ms 23 16 14ms 0ms 00 32 30ms 0ms 01 16 21ms 1ms [ User: azuresu - Total duration: 538ms - Times executed: 516 ]
[ Application: [unknown] - Total duration: 538ms - Times executed: 516 ]
-
SELECT name, setting FROM pg_catalog.pg_file_settings where sourcefile =;
Date: 2025-09-17 10:18:48 Duration: 10ms Database: postgres User: azuresu Remote: 169.254.128.1 Application: [unknown] Bind query: yes
-
SELECT name, setting FROM pg_catalog.pg_file_settings where sourcefile =;
Date: 2025-09-17 10:18:48 Duration: 9ms Database: postgres User: azuresu Remote: 169.254.128.1 Application: [unknown] Bind query: yes
-
SELECT name, setting FROM pg_catalog.pg_file_settings where sourcefile =;
Date: 2025-09-17 23:12:33 Duration: 8ms Database: postgres User: azuresu Remote: 169.254.128.1 Application: [unknown] Bind query: yes
10 0ms 3ms 0ms 286 134ms select datid, datname as database_name, pid, usesysid, application_name, regexp_replace(host(client_addr), ?, ?) as client_addr, now() - backend_start as session_duration, state, backend_start, xact_start, query_start, state_change, wait_event_type, wait_event, backend_xid, backend_xmin, backend_type, now() as collection_time from pg_stat_activity;Times Reported Time consuming queries #10
Day Hour Count Duration Avg duration Sep 17 02 12 5ms 0ms 03 12 5ms 0ms 04 12 6ms 0ms 05 12 8ms 0ms 06 12 5ms 0ms 07 12 4ms 0ms 08 12 6ms 0ms 09 12 5ms 0ms 10 12 5ms 0ms 11 12 5ms 0ms 12 10 5ms 0ms 13 12 6ms 0ms 14 12 5ms 0ms 15 12 5ms 0ms 16 12 5ms 0ms 17 12 5ms 0ms 18 12 5ms 0ms 19 12 7ms 0ms 20 12 5ms 0ms 21 12 4ms 0ms 22 12 4ms 0ms 23 12 5ms 0ms 00 12 4ms 0ms 01 12 5ms 0ms [ User: azuresu - Total duration: 134ms - Times executed: 286 ]
[ Application: [unknown] - Total duration: 134ms - Times executed: 286 ]
-
SELECT datid, datname AS database_name, pid, usesysid, application_name, REGEXP_REPLACE(host(client_addr), '(.*)\.(.*)\.(.*)\.(.*)', '\1.\2.\3.X') AS client_addr, now() - backend_start AS session_duration, state, backend_start, xact_start, query_start, state_change, wait_event_type, wait_event, backend_xid, backend_xmin, backend_type, now() AS collection_time FROM pg_stat_activity;
Date: 2025-09-17 03:50:23 Duration: 3ms Database: postgres User: azuresu Remote: 169.254.128.1 Application: [unknown] Bind query: yes
-
SELECT datid, datname AS database_name, pid, usesysid, application_name, REGEXP_REPLACE(host(client_addr), '(.*)\.(.*)\.(.*)\.(.*)', '\1.\2.\3.X') AS client_addr, now() - backend_start AS session_duration, state, backend_start, xact_start, query_start, state_change, wait_event_type, wait_event, backend_xid, backend_xmin, backend_type, now() AS collection_time FROM pg_stat_activity;
Date: 2025-09-17 17:45:37 Duration: 2ms Database: postgres User: azuresu Remote: 169.254.128.1 Application: [unknown] Bind query: yes
-
SELECT datid, datname AS database_name, pid, usesysid, application_name, REGEXP_REPLACE(host(client_addr), '(.*)\.(.*)\.(.*)\.(.*)', '\1.\2.\3.X') AS client_addr, now() - backend_start AS session_duration, state, backend_start, xact_start, query_start, state_change, wait_event_type, wait_event, backend_xid, backend_xmin, backend_type, now() AS collection_time FROM pg_stat_activity;
Date: 2025-09-17 11:25:29 Duration: 1ms Database: postgres User: azuresu Remote: 169.254.128.1 Application: [unknown] Bind query: yes
11 0ms 1ms 0ms 286 79ms select count(*) filter (where state in (...)) as idle_cnt, count(*) filter (where state = ?) as active_cnt, count(*) filter (where state in (...) and usename = ?) as admin_idle_cnt, count(*) filter (where state = ? and usename = ?) as admin_active_cnt, count(*) filter (where state in (...) and usename != ?) as user_idle_cnt, count(*) filter (where state = ? and usename != ?) as user_active_cnt from pg_catalog.pg_stat_activity;Times Reported Time consuming queries #11
Day Hour Count Duration Avg duration Sep 17 02 12 2ms 0ms 03 12 3ms 0ms 04 12 3ms 0ms 05 12 3ms 0ms 06 12 2ms 0ms 07 12 2ms 0ms 08 12 3ms 0ms 09 12 3ms 0ms 10 12 2ms 0ms 11 12 3ms 0ms 12 10 3ms 0ms 13 12 4ms 0ms 14 12 3ms 0ms 15 12 4ms 0ms 16 12 3ms 0ms 17 12 3ms 0ms 18 12 2ms 0ms 19 12 3ms 0ms 20 12 2ms 0ms 21 12 2ms 0ms 22 12 3ms 0ms 23 12 3ms 0ms 00 12 3ms 0ms 01 12 3ms 0ms [ User: azuresu - Total duration: 79ms - Times executed: 286 ]
[ Application: [unknown] - Total duration: 79ms - Times executed: 286 ]
-
SELECT COUNT(*) filter (WHERE state in ('idle', 'idle in transaction', 'idle in transaction (aborted)', 'disabled')) AS idle_cnt, COUNT(*) filter (WHERE state = 'active') AS active_cnt, COUNT(*) filter (WHERE state in ('idle', 'idle in transaction', 'idle in transaction (aborted)', 'disabled') AND usename = 'azuresu') AS admin_idle_cnt, COUNT(*) filter (WHERE state = 'active' AND usename = 'azuresu') AS admin_active_cnt, COUNT(*) filter (WHERE state in ('idle', 'idle in transaction', 'idle in transaction (aborted)', 'disabled') AND usename != 'azuresu') AS user_idle_cnt, COUNT(*) filter (WHERE state = 'active' AND usename != 'azuresu') AS user_active_cnt FROM pg_catalog.pg_stat_activity;
Date: 2025-09-17 10:05:38 Duration: 1ms Database: postgres User: azuresu Remote: 169.254.128.1 Application: [unknown] Bind query: yes
-
SELECT COUNT(*) filter (WHERE state in ('idle', 'idle in transaction', 'idle in transaction (aborted)', 'disabled')) AS idle_cnt, COUNT(*) filter (WHERE state = 'active') AS active_cnt, COUNT(*) filter (WHERE state in ('idle', 'idle in transaction', 'idle in transaction (aborted)', 'disabled') AND usename = 'azuresu') AS admin_idle_cnt, COUNT(*) filter (WHERE state = 'active' AND usename = 'azuresu') AS admin_active_cnt, COUNT(*) filter (WHERE state in ('idle', 'idle in transaction', 'idle in transaction (aborted)', 'disabled') AND usename != 'azuresu') AS user_idle_cnt, COUNT(*) filter (WHERE state = 'active' AND usename != 'azuresu') AS user_active_cnt FROM pg_catalog.pg_stat_activity;
Date: 2025-09-17 11:55:29 Duration: 1ms Database: postgres User: azuresu Remote: 169.254.128.1 Application: [unknown] Bind query: yes
-
SELECT COUNT(*) filter (WHERE state in ('idle', 'idle in transaction', 'idle in transaction (aborted)', 'disabled')) AS idle_cnt, COUNT(*) filter (WHERE state = 'active') AS active_cnt, COUNT(*) filter (WHERE state in ('idle', 'idle in transaction', 'idle in transaction (aborted)', 'disabled') AND usename = 'azuresu') AS admin_idle_cnt, COUNT(*) filter (WHERE state = 'active' AND usename = 'azuresu') AS admin_active_cnt, COUNT(*) filter (WHERE state in ('idle', 'idle in transaction', 'idle in transaction (aborted)', 'disabled') AND usename != 'azuresu') AS user_idle_cnt, COUNT(*) filter (WHERE state = 'active' AND usename != 'azuresu') AS user_active_cnt FROM pg_catalog.pg_stat_activity;
Date: 2025-09-17 09:10:37 Duration: 0ms Database: postgres User: azuresu Remote: 169.254.128.1 Application: [unknown] Bind query: yes
12 0ms 2ms 0ms 286 72ms select ls.file_count, done.done_count, ready.ready_count, file_name as file_name, file_offset as file_offset, pg_wal_lsn_diff as pg_current_xlog_byte_location, pg_catalog.pg_current_wal_lsn ()::text from ( select (count(*) - ?) as file_count from ( select * from pg_catalog.pg_ls_dir(?)) as dir) as ls, ( select count(*) as done_count from pg_catalog.pg_ls_dir(?) as all_files where all_files like ?) as done, ( select count(*) as ready_count from pg_catalog.pg_ls_dir(?) as all_files where all_files like ?) as ready, pg_catalog.pg_walfile_name_offset (pg_catalog.pg_current_wal_lsn ()), pg_catalog.pg_wal_lsn_diff (pg_catalog.pg_current_wal_lsn (), ?), cast(pg_catalog.pg_current_wal_lsn () as varchar(?));Times Reported Time consuming queries #12
Day Hour Count Duration Avg duration Sep 17 02 12 3ms 0ms 03 12 2ms 0ms 04 12 2ms 0ms 05 12 2ms 0ms 06 12 3ms 0ms 07 12 3ms 0ms 08 12 3ms 0ms 09 12 3ms 0ms 10 12 3ms 0ms 11 12 2ms 0ms 12 10 1ms 0ms 13 12 2ms 0ms 14 12 3ms 0ms 15 12 2ms 0ms 16 12 3ms 0ms 17 12 3ms 0ms 18 12 3ms 0ms 19 12 3ms 0ms 20 12 2ms 0ms 21 12 2ms 0ms 22 12 2ms 0ms 23 12 2ms 0ms 00 12 2ms 0ms 01 12 4ms 0ms [ User: azuresu - Total duration: 72ms - Times executed: 286 ]
[ Application: [unknown] - Total duration: 72ms - Times executed: 286 ]
-
SELECT ls.file_count, done.done_count, ready.ready_count, file_name as file_name, file_offset as file_offset, pg_wal_lsn_diff as pg_current_xlog_byte_location, pg_catalog.pg_current_wal_lsn ()::text FROM ( SELECT (COUNT(*) - 1) as file_count FROM ( SELECT * FROM pg_catalog.pg_ls_dir('pg_wal/')) AS dir) AS ls, ( SELECT COUNT(*) as done_count FROM pg_catalog.pg_ls_dir('pg_wal/archive_status') AS all_files WHERE all_files LIKE '%.done') AS done, ( SELECT COUNT(*) as ready_count FROM pg_catalog.pg_ls_dir('pg_wal/archive_status') AS all_files WHERE all_files LIKE '%.ready') AS ready, pg_catalog.pg_walfile_name_offset (pg_catalog.pg_current_wal_lsn ()), pg_catalog.pg_wal_lsn_diff (pg_catalog.pg_current_wal_lsn (), '0/0000000'), CAST(pg_catalog.pg_current_wal_lsn () AS VARCHAR(20));
Date: 2025-09-17 23:00:46 Duration: 2ms Database: postgres User: azuresu Remote: 169.254.128.1 Application: [unknown] Bind query: yes
-
SELECT ls.file_count, done.done_count, ready.ready_count, file_name as file_name, file_offset as file_offset, pg_wal_lsn_diff as pg_current_xlog_byte_location, pg_catalog.pg_current_wal_lsn ()::text FROM ( SELECT (COUNT(*) - 1) as file_count FROM ( SELECT * FROM pg_catalog.pg_ls_dir('pg_wal/')) AS dir) AS ls, ( SELECT COUNT(*) as done_count FROM pg_catalog.pg_ls_dir('pg_wal/archive_status') AS all_files WHERE all_files LIKE '%.done') AS done, ( SELECT COUNT(*) as ready_count FROM pg_catalog.pg_ls_dir('pg_wal/archive_status') AS all_files WHERE all_files LIKE '%.ready') AS ready, pg_catalog.pg_walfile_name_offset (pg_catalog.pg_current_wal_lsn ()), pg_catalog.pg_wal_lsn_diff (pg_catalog.pg_current_wal_lsn (), '0/0000000'), CAST(pg_catalog.pg_current_wal_lsn () AS VARCHAR(20));
Date: 2025-09-17 14:35:33 Duration: 0ms Database: postgres User: azuresu Remote: 169.254.128.1 Application: [unknown] Bind query: yes
-
SELECT ls.file_count, done.done_count, ready.ready_count, file_name as file_name, file_offset as file_offset, pg_wal_lsn_diff as pg_current_xlog_byte_location, pg_catalog.pg_current_wal_lsn ()::text FROM ( SELECT (COUNT(*) - 1) as file_count FROM ( SELECT * FROM pg_catalog.pg_ls_dir('pg_wal/')) AS dir) AS ls, ( SELECT COUNT(*) as done_count FROM pg_catalog.pg_ls_dir('pg_wal/archive_status') AS all_files WHERE all_files LIKE '%.done') AS done, ( SELECT COUNT(*) as ready_count FROM pg_catalog.pg_ls_dir('pg_wal/archive_status') AS all_files WHERE all_files LIKE '%.ready') AS ready, pg_catalog.pg_walfile_name_offset (pg_catalog.pg_current_wal_lsn ()), pg_catalog.pg_wal_lsn_diff (pg_catalog.pg_current_wal_lsn (), '0/0000000'), CAST(pg_catalog.pg_current_wal_lsn () AS VARCHAR(20));
Date: 2025-09-17 15:25:34 Duration: 0ms Database: postgres User: azuresu Remote: 169.254.128.1 Application: [unknown] Bind query: yes
13 0ms 0ms 0ms 286 53ms select coalesce(nullif (application_name, ?), ?) as application_name, count(*) filter (where usename = ?) as internal_connections, count(*) filter (where usename != ?) as external_connections, count(*) as total_connections from pg_catalog.pg_stat_activity group by ?;Times Reported Time consuming queries #13
Day Hour Count Duration Avg duration Sep 17 02 12 1ms 0ms 03 12 2ms 0ms 04 12 2ms 0ms 05 12 2ms 0ms 06 12 1ms 0ms 07 12 1ms 0ms 08 12 2ms 0ms 09 12 2ms 0ms 10 12 2ms 0ms 11 12 2ms 0ms 12 10 2ms 0ms 13 12 2ms 0ms 14 12 2ms 0ms 15 12 2ms 0ms 16 12 1ms 0ms 17 12 2ms 0ms 18 12 2ms 0ms 19 12 2ms 0ms 20 12 2ms 0ms 21 12 1ms 0ms 22 12 2ms 0ms 23 12 1ms 0ms 00 12 2ms 0ms 01 12 2ms 0ms [ User: azuresu - Total duration: 53ms - Times executed: 286 ]
[ Application: [unknown] - Total duration: 53ms - Times executed: 286 ]
-
SELECT COALESCE(NULLIF (application_name, ''), 'other') AS application_name, COUNT(*) filter (WHERE usename = 'azuresu') AS internal_connections, COUNT(*) filter (WHERE usename != 'azuresu') AS external_connections, COUNT(*) AS total_connections FROM pg_catalog.pg_stat_activity group BY 1;
Date: 2025-09-17 09:35:37 Duration: 0ms Database: postgres User: azuresu Remote: 169.254.128.1 Application: [unknown] Bind query: yes
-
SELECT COALESCE(NULLIF (application_name, ''), 'other') AS application_name, COUNT(*) filter (WHERE usename = 'azuresu') AS internal_connections, COUNT(*) filter (WHERE usename != 'azuresu') AS external_connections, COUNT(*) AS total_connections FROM pg_catalog.pg_stat_activity group BY 1;
Date: 2025-09-17 11:45:29 Duration: 0ms Database: postgres User: azuresu Remote: 169.254.128.1 Application: [unknown] Bind query: yes
-
SELECT COALESCE(NULLIF (application_name, ''), 'other') AS application_name, COUNT(*) filter (WHERE usename = 'azuresu') AS internal_connections, COUNT(*) filter (WHERE usename != 'azuresu') AS external_connections, COUNT(*) AS total_connections FROM pg_catalog.pg_stat_activity group BY 1;
Date: 2025-09-17 17:35:37 Duration: 0ms Database: postgres User: azuresu Remote: 169.254.128.1 Application: [unknown] Bind query: yes
14 0ms 0ms 0ms 286 45ms select slot.slot_name as slot_name, slot.active as active, slot.slot_type as slot_type, pg_catalog.pg_current_wal_lsn ()::text as current_wal_lsn, pg_catalog.pg_wal_lsn_diff (pg_catalog.pg_current_wal_lsn (), stat.replay_lsn) as total_lag_in_bytes, pg_catalog.pg_wal_lsn_diff (pg_catalog.pg_current_wal_lsn (), stat.sent_lsn) as sending_lag_in_bytes, pg_catalog.pg_wal_lsn_diff (stat.sent_lsn, stat.flush_lsn) as receiving_lag_in_bytes, pg_catalog.pg_wal_lsn_diff (stat.flush_lsn, stat.replay_lsn) as replaying_lag_in_bytes, stat.state as wal_sender_state, stat.sync_state as sync_state, stat.sent_lsn::text as sent_lsn, stat.write_lsn::text as write_lsn, stat.flush_lsn::text as flush_lsn, stat.replay_lsn::text as replay_lsn, stat.write_lag as write_lag, stat.flush_lag as flush_lag, stat.replay_lag as replay_lag, stat.sync_priority as sync_priority, stat.backend_start as backend_start, stat.backend_xmin::text as backend_xmin, stat.pid as pid, stat.usesysid as usesysid, stat.application_name as application_name, cast(slot.restart_lsn as varchar(?)) as restart_lsn from cast(pg_catalog.pg_current_wal_lsn () as varchar(?)), pg_catalog.pg_stat_replication as stat left join pg_catalog.pg_replication_slots as slot on stat.pid = slot.active_pid;Times Reported Time consuming queries #14
Day Hour Count Duration Avg duration Sep 17 02 12 1ms 0ms 03 12 1ms 0ms 04 12 1ms 0ms 05 12 1ms 0ms 06 12 2ms 0ms 07 12 1ms 0ms 08 12 2ms 0ms 09 12 2ms 0ms 10 12 1ms 0ms 11 12 1ms 0ms 12 10 2ms 0ms 13 12 2ms 0ms 14 12 2ms 0ms 15 12 2ms 0ms 16 12 2ms 0ms 17 12 1ms 0ms 18 12 1ms 0ms 19 12 1ms 0ms 20 12 1ms 0ms 21 12 1ms 0ms 22 12 1ms 0ms 23 12 1ms 0ms 00 12 1ms 0ms 01 12 2ms 0ms [ User: azuresu - Total duration: 45ms - Times executed: 286 ]
[ Application: [unknown] - Total duration: 45ms - Times executed: 286 ]
-
SELECT slot.slot_name AS slot_name, slot.active AS active, slot.slot_type AS slot_type, pg_catalog.pg_current_wal_lsn ()::text AS current_wal_lsn, pg_catalog.pg_wal_lsn_diff (pg_catalog.pg_current_wal_lsn (), stat.replay_lsn) AS total_lag_in_bytes, pg_catalog.pg_wal_lsn_diff (pg_catalog.pg_current_wal_lsn (), stat.sent_lsn) AS sending_lag_in_bytes, pg_catalog.pg_wal_lsn_diff (stat.sent_lsn, stat.flush_lsn) AS receiving_lag_in_bytes, pg_catalog.pg_wal_lsn_diff (stat.flush_lsn, stat.replay_lsn) AS replaying_lag_in_bytes, stat.state AS wal_sender_state, stat.sync_state AS sync_state, stat.sent_lsn::text AS sent_lsn, stat.write_lsn::text AS write_lsn, stat.flush_lsn::text AS flush_lsn, stat.replay_lsn::text AS replay_lsn, stat.write_lag AS write_lag, stat.flush_lag AS flush_lag, stat.replay_lag AS replay_lag, stat.sync_priority AS sync_priority, stat.backend_start AS backend_start, stat.backend_xmin::text AS backend_xmin, stat.pid AS pid, stat.usesysid AS usesysid, stat.application_name AS application_name, CAST(slot.restart_lsn AS varchar(20)) as restart_lsn FROM CAST(pg_catalog.pg_current_wal_lsn () AS VARCHAR(20)), pg_catalog.pg_stat_replication AS stat LEFT JOIN pg_catalog.pg_replication_slots AS slot ON stat.pid = slot.active_pid;
Date: 2025-09-17 23:55:48 Duration: 0ms Database: postgres User: azuresu Remote: 169.254.128.1 Application: [unknown] Bind query: yes
-
SELECT slot.slot_name AS slot_name, slot.active AS active, slot.slot_type AS slot_type, pg_catalog.pg_current_wal_lsn ()::text AS current_wal_lsn, pg_catalog.pg_wal_lsn_diff (pg_catalog.pg_current_wal_lsn (), stat.replay_lsn) AS total_lag_in_bytes, pg_catalog.pg_wal_lsn_diff (pg_catalog.pg_current_wal_lsn (), stat.sent_lsn) AS sending_lag_in_bytes, pg_catalog.pg_wal_lsn_diff (stat.sent_lsn, stat.flush_lsn) AS receiving_lag_in_bytes, pg_catalog.pg_wal_lsn_diff (stat.flush_lsn, stat.replay_lsn) AS replaying_lag_in_bytes, stat.state AS wal_sender_state, stat.sync_state AS sync_state, stat.sent_lsn::text AS sent_lsn, stat.write_lsn::text AS write_lsn, stat.flush_lsn::text AS flush_lsn, stat.replay_lsn::text AS replay_lsn, stat.write_lag AS write_lag, stat.flush_lag AS flush_lag, stat.replay_lag AS replay_lag, stat.sync_priority AS sync_priority, stat.backend_start AS backend_start, stat.backend_xmin::text AS backend_xmin, stat.pid AS pid, stat.usesysid AS usesysid, stat.application_name AS application_name, CAST(slot.restart_lsn AS varchar(20)) as restart_lsn FROM CAST(pg_catalog.pg_current_wal_lsn () AS VARCHAR(20)), pg_catalog.pg_stat_replication AS stat LEFT JOIN pg_catalog.pg_replication_slots AS slot ON stat.pid = slot.active_pid;
Date: 2025-09-17 07:35:32 Duration: 0ms Database: postgres User: azuresu Remote: 169.254.128.1 Application: [unknown] Bind query: yes
-
SELECT slot.slot_name AS slot_name, slot.active AS active, slot.slot_type AS slot_type, pg_catalog.pg_current_wal_lsn ()::text AS current_wal_lsn, pg_catalog.pg_wal_lsn_diff (pg_catalog.pg_current_wal_lsn (), stat.replay_lsn) AS total_lag_in_bytes, pg_catalog.pg_wal_lsn_diff (pg_catalog.pg_current_wal_lsn (), stat.sent_lsn) AS sending_lag_in_bytes, pg_catalog.pg_wal_lsn_diff (stat.sent_lsn, stat.flush_lsn) AS receiving_lag_in_bytes, pg_catalog.pg_wal_lsn_diff (stat.flush_lsn, stat.replay_lsn) AS replaying_lag_in_bytes, stat.state AS wal_sender_state, stat.sync_state AS sync_state, stat.sent_lsn::text AS sent_lsn, stat.write_lsn::text AS write_lsn, stat.flush_lsn::text AS flush_lsn, stat.replay_lsn::text AS replay_lsn, stat.write_lag AS write_lag, stat.flush_lag AS flush_lag, stat.replay_lag AS replay_lag, stat.sync_priority AS sync_priority, stat.backend_start AS backend_start, stat.backend_xmin::text AS backend_xmin, stat.pid AS pid, stat.usesysid AS usesysid, stat.application_name AS application_name, CAST(slot.restart_lsn AS varchar(20)) as restart_lsn FROM CAST(pg_catalog.pg_current_wal_lsn () AS VARCHAR(20)), pg_catalog.pg_stat_replication AS stat LEFT JOIN pg_catalog.pg_replication_slots AS slot ON stat.pid = slot.active_pid;
Date: 2025-09-17 04:15:24 Duration: 0ms Database: postgres User: azuresu Remote: 169.254.128.1 Application: [unknown] Bind query: yes
15 0ms 2ms 0ms 2,776 403ms select coalesce(sum(numbackends), ?) as active_connections from pg_catalog.pg_stat_database;Times Reported Time consuming queries #15
Day Hour Count Duration Avg duration Sep 17 02 117 14ms 0ms 03 116 14ms 0ms 04 117 16ms 0ms 05 117 19ms 0ms 06 116 14ms 0ms 07 117 17ms 0ms 08 116 19ms 0ms 09 117 14ms 0ms 10 117 18ms 0ms 11 116 15ms 0ms 12 96 15ms 0ms 13 116 17ms 0ms 14 117 16ms 0ms 15 117 19ms 0ms 16 116 17ms 0ms 17 116 15ms 0ms 18 117 17ms 0ms 19 116 16ms 0ms 20 116 15ms 0ms 21 117 15ms 0ms 22 116 18ms 0ms 23 117 16ms 0ms 00 116 20ms 0ms 01 117 17ms 0ms [ User: azuresu - Total duration: 403ms - Times executed: 2776 ]
[ Application: [unknown] - Total duration: 403ms - Times executed: 2776 ]
-
SELECT COALESCE(SUM(numbackends), 0) as active_connections FROM pg_catalog.pg_stat_database;
Date: 2025-09-17 10:25:50 Duration: 2ms Database: postgres User: azuresu Remote: 169.254.128.1 Application: [unknown] Bind query: yes
-
SELECT COALESCE(SUM(numbackends), 0) as active_connections FROM pg_catalog.pg_stat_database;
Date: 2025-09-17 14:38:06 Duration: 2ms Database: postgres User: azuresu Remote: 169.254.128.1 Application: [unknown] Bind query: yes
-
SELECT COALESCE(SUM(numbackends), 0) as active_connections FROM pg_catalog.pg_stat_database;
Date: 2025-09-17 03:14:37 Duration: 1ms Database: postgres User: azuresu Remote: 169.254.128.1 Application: [unknown] Bind query: yes
16 0ms 8ms 0ms 12,659 1s606ms select ?;Times Reported Time consuming queries #16
Day Hour Count Duration Avg duration Sep 17 02 530 64ms 0ms 03 532 67ms 0ms 04 531 70ms 0ms 05 531 75ms 0ms 06 531 66ms 0ms 07 531 58ms 0ms 08 531 83ms 0ms 09 532 71ms 0ms 10 531 70ms 0ms 11 530 63ms 0ms 12 446 55ms 0ms 13 531 63ms 0ms 14 532 61ms 0ms 15 531 69ms 0ms 16 530 64ms 0ms 17 532 64ms 0ms 18 531 68ms 0ms 19 531 73ms 0ms 20 531 64ms 0ms 21 530 63ms 0ms 22 531 61ms 0ms 23 532 66ms 0ms 00 530 64ms 0ms 01 531 70ms 0ms [ User: azuresu - Total duration: 1s606ms - Times executed: 12659 ]
[ Application: psql - Total duration: 1s332ms - Times executed: 3845 ]
[ Application: [unknown] - Total duration: 274ms - Times executed: 8814 ]
-
select 1;
Date: 2025-09-17 02:18:40 Duration: 8ms Database: postgres User: azuresu Remote: [local] Application: psql
-
select 1;
Date: 2025-09-17 17:38:51 Duration: 8ms Database: postgres User: azuresu Remote: [local] Application: psql
-
select 1;
Date: 2025-09-17 03:08:40 Duration: 6ms Database: postgres User: azuresu Remote: [local] Application: psql
17 0ms 15ms 0ms 20,613 2s161ms discard all;Times Reported Time consuming queries #17
Day Hour Count Duration Avg duration Sep 17 02 852 89ms 0ms 03 855 102ms 0ms 04 862 86ms 0ms 05 868 87ms 0ms 06 861 86ms 0ms 07 857 85ms 0ms 08 850 81ms 0ms 09 859 84ms 0ms 10 862 88ms 0ms 11 858 87ms 0ms 12 743 77ms 0ms 13 875 96ms 0ms 14 872 92ms 0ms 15 867 92ms 0ms 16 869 90ms 0ms 17 875 92ms 0ms 18 876 95ms 0ms 19 872 93ms 0ms 20 874 91ms 0ms 21 875 91ms 0ms 22 873 92ms 0ms 23 849 92ms 0ms 00 854 92ms 0ms 01 855 92ms 0ms [ User: azuresu - Total duration: 2s161ms - Times executed: 20613 ]
[ Application: [unknown] - Total duration: 2s161ms - Times executed: 20613 ]
-
DISCARD ALL;
Date: 2025-09-17 01:58:40 Duration: 15ms Database: postgres User: azuresu Remote: 169.254.128.1 Application: [unknown]
-
DISCARD ALL;
Date: 2025-09-17 00:07:12 Duration: 3ms Database: postgres User: azuresu Remote: 169.254.128.1 Application: [unknown]
-
DISCARD ALL;
Date: 2025-09-17 16:51:43 Duration: 1ms Database: postgres User: azuresu Remote: 169.254.128.1 Application: [unknown]
18 0ms 3ms 0ms 2,776 172ms select max( case when slot.slot_type = ? and (slot.slot_name like ? or slot.slot_name like ?) then case when stat.replay_lsn is null then pg_catalog.pg_wal_lsn_diff (pg_catalog.pg_current_wal_lsn (), slot.restart_lsn)::bigint else pg_catalog.pg_wal_lsn_diff (pg_catalog.pg_current_wal_lsn (), stat.replay_lsn)::bigint end else null end) as physical_replication_delay_in_bytes, max( case when slot.slot_type = ? then case when stat.replay_lsn is null then pg_catalog.pg_wal_lsn_diff (pg_catalog.pg_current_wal_lsn (), slot.restart_lsn)::bigint else pg_catalog.pg_wal_lsn_diff (pg_catalog.pg_current_wal_lsn (), stat.replay_lsn)::bigint end else null end) as logical_replication_delay_in_bytes from pg_catalog.pg_replication_slots as slot left join pg_catalog.pg_stat_replication as stat on stat.pid = slot.active_pid;Times Reported Time consuming queries #18
Day Hour Count Duration Avg duration Sep 17 02 117 6ms 0ms 03 116 7ms 0ms 04 117 8ms 0ms 05 117 7ms 0ms 06 116 6ms 0ms 07 117 6ms 0ms 08 116 7ms 0ms 09 117 6ms 0ms 10 117 8ms 0ms 11 116 6ms 0ms 12 96 7ms 0ms 13 116 7ms 0ms 14 117 6ms 0ms 15 117 6ms 0ms 16 116 4ms 0ms 17 116 5ms 0ms 18 117 8ms 0ms 19 116 10ms 0ms 20 116 7ms 0ms 21 117 5ms 0ms 22 116 7ms 0ms 23 117 5ms 0ms 00 116 11ms 0ms 01 117 7ms 0ms [ User: azuresu - Total duration: 172ms - Times executed: 2776 ]
[ Application: [unknown] - Total duration: 172ms - Times executed: 2776 ]
-
SELECT MAX( CASE WHEN slot.slot_type = 'physical' AND (slot.slot_name LIKE 'azure_asyncreplica%' or slot.slot_name LIKE 'azure_geoasyncreplica%') THEN CASE WHEN stat.replay_lsn IS NULL THEN pg_catalog.pg_wal_lsn_diff (pg_catalog.pg_current_wal_lsn (), slot.restart_lsn)::bigint ELSE pg_catalog.pg_wal_lsn_diff (pg_catalog.pg_current_wal_lsn (), stat.replay_lsn)::bigint END ELSE NULL END) AS physical_replication_delay_in_bytes, MAX( CASE WHEN slot.slot_type = 'logical' THEN CASE WHEN stat.replay_lsn IS NULL THEN pg_catalog.pg_wal_lsn_diff (pg_catalog.pg_current_wal_lsn (), slot.restart_lsn)::bigint ELSE pg_catalog.pg_wal_lsn_diff (pg_catalog.pg_current_wal_lsn (), stat.replay_lsn)::bigint END ELSE NULL END) AS logical_replication_delay_in_bytes FROM pg_catalog.pg_replication_slots AS slot LEFT JOIN pg_catalog.pg_stat_replication AS stat ON stat.pid = slot.active_pid;
Date: 2025-09-17 17:01:57 Duration: 3ms Database: postgres User: azuresu Remote: 169.254.128.1 Application: [unknown] Bind query: yes
-
SELECT MAX( CASE WHEN slot.slot_type = 'physical' AND (slot.slot_name LIKE 'azure_asyncreplica%' or slot.slot_name LIKE 'azure_geoasyncreplica%') THEN CASE WHEN stat.replay_lsn IS NULL THEN pg_catalog.pg_wal_lsn_diff (pg_catalog.pg_current_wal_lsn (), slot.restart_lsn)::bigint ELSE pg_catalog.pg_wal_lsn_diff (pg_catalog.pg_current_wal_lsn (), stat.replay_lsn)::bigint END ELSE NULL END) AS physical_replication_delay_in_bytes, MAX( CASE WHEN slot.slot_type = 'logical' THEN CASE WHEN stat.replay_lsn IS NULL THEN pg_catalog.pg_wal_lsn_diff (pg_catalog.pg_current_wal_lsn (), slot.restart_lsn)::bigint ELSE pg_catalog.pg_wal_lsn_diff (pg_catalog.pg_current_wal_lsn (), stat.replay_lsn)::bigint END ELSE NULL END) AS logical_replication_delay_in_bytes FROM pg_catalog.pg_replication_slots AS slot LEFT JOIN pg_catalog.pg_stat_replication AS stat ON stat.pid = slot.active_pid;
Date: 2025-09-17 22:43:36 Duration: 2ms Database: postgres User: azuresu Remote: 169.254.128.1 Application: [unknown] Bind query: yes
-
SELECT MAX( CASE WHEN slot.slot_type = 'physical' AND (slot.slot_name LIKE 'azure_asyncreplica%' or slot.slot_name LIKE 'azure_geoasyncreplica%') THEN CASE WHEN stat.replay_lsn IS NULL THEN pg_catalog.pg_wal_lsn_diff (pg_catalog.pg_current_wal_lsn (), slot.restart_lsn)::bigint ELSE pg_catalog.pg_wal_lsn_diff (pg_catalog.pg_current_wal_lsn (), stat.replay_lsn)::bigint END ELSE NULL END) AS physical_replication_delay_in_bytes, MAX( CASE WHEN slot.slot_type = 'logical' THEN CASE WHEN stat.replay_lsn IS NULL THEN pg_catalog.pg_wal_lsn_diff (pg_catalog.pg_current_wal_lsn (), slot.restart_lsn)::bigint ELSE pg_catalog.pg_wal_lsn_diff (pg_catalog.pg_current_wal_lsn (), stat.replay_lsn)::bigint END ELSE NULL END) AS logical_replication_delay_in_bytes FROM pg_catalog.pg_replication_slots AS slot LEFT JOIN pg_catalog.pg_stat_replication AS stat ON stat.pid = slot.active_pid;
Date: 2025-09-17 08:28:06 Duration: 2ms Database: postgres User: azuresu Remote: 169.254.128.1 Application: [unknown] Bind query: yes
19 0ms 0ms 0ms 286 10ms with current_lsn_cte as ( select case when pg_catalog.pg_is_in_recovery() = ? then case when pg_catalog.pg_last_wal_receive_lsn () is null then pg_catalog.pg_last_wal_replay_lsn () when pg_catalog.pg_last_wal_replay_lsn () is null then pg_catalog.pg_last_wal_receive_lsn () when pg_catalog.pg_wal_lsn_diff (pg_catalog.pg_last_wal_receive_lsn (), pg_catalog.pg_last_wal_replay_lsn ()) >= ? then pg_catalog.pg_last_wal_receive_lsn () else pg_catalog.pg_last_wal_replay_lsn () end else pg_catalog.pg_current_wal_lsn () end as current_lsn ) select slot.slot_name as slot_name, slot.active as active, slot.slot_type as slot_type, current_lsn_cte.current_lsn::text as current_wal_lsn, pg_catalog.pg_wal_lsn_diff (current_lsn_cte.current_lsn, stat.replay_lsn) as total_lag_in_bytes, pg_catalog.pg_wal_lsn_diff (current_lsn_cte.current_lsn, stat.sent_lsn) as sending_lag_in_bytes, pg_catalog.pg_wal_lsn_diff (stat.sent_lsn, stat.flush_lsn) as receiving_lag_in_bytes, pg_catalog.pg_wal_lsn_diff (stat.flush_lsn, stat.replay_lsn) as replaying_lag_in_bytes, stat.state as wal_sender_state, stat.sync_state as sync_state, stat.sent_lsn::text as sent_lsn, stat.write_lsn::text as write_lsn, stat.flush_lsn::text as flush_lsn, stat.replay_lsn::text as replay_lsn, stat.write_lag as write_lag, stat.flush_lag as flush_lag, stat.replay_lag as replay_lag, stat.sync_priority as sync_priority, stat.backend_start as backend_start, stat.backend_xmin::text as backend_xmin, slot.xmin::text as xmin, stat.pid as pid, stat.usesysid as usesysid, stat.application_name as application_name, cast(slot.restart_lsn as varchar(?)) as restart_lsn from pg_catalog.pg_replication_slots as slot left join pg_catalog.pg_stat_replication as stat on stat.pid = slot.active_pid, current_lsn_cte;Times Reported Time consuming queries #19
Day Hour Count Duration Avg duration Sep 17 02 12 0ms 0ms 03 12 0ms 0ms 04 12 0ms 0ms 05 12 0ms 0ms 06 12 0ms 0ms 07 12 0ms 0ms 08 12 0ms 0ms 09 12 0ms 0ms 10 12 0ms 0ms 11 12 0ms 0ms 12 10 0ms 0ms 13 12 0ms 0ms 14 12 0ms 0ms 15 12 0ms 0ms 16 12 0ms 0ms 17 12 0ms 0ms 18 12 0ms 0ms 19 12 0ms 0ms 20 12 0ms 0ms 21 12 0ms 0ms 22 12 0ms 0ms 23 12 0ms 0ms 00 12 0ms 0ms 01 12 0ms 0ms [ User: azuresu - Total duration: 10ms - Times executed: 286 ]
[ Application: [unknown] - Total duration: 10ms - Times executed: 286 ]
-
WITH current_lsn_cte AS ( SELECT CASE WHEN pg_catalog.pg_is_in_recovery() = 't' THEN CASE WHEN pg_catalog.pg_last_wal_receive_lsn () IS NULL THEN pg_catalog.pg_last_wal_replay_lsn () WHEN pg_catalog.pg_last_wal_replay_lsn () IS NULL THEN pg_catalog.pg_last_wal_receive_lsn () WHEN pg_catalog.pg_wal_lsn_diff (pg_catalog.pg_last_wal_receive_lsn (), pg_catalog.pg_last_wal_replay_lsn ()) >= 0 THEN pg_catalog.pg_last_wal_receive_lsn () ELSE pg_catalog.pg_last_wal_replay_lsn () END ELSE pg_catalog.pg_current_wal_lsn () END AS current_lsn ) SELECT slot.slot_name AS slot_name, slot.active AS active, slot.slot_type AS slot_type, current_lsn_cte.current_lsn::text AS current_wal_lsn, pg_catalog.pg_wal_lsn_diff (current_lsn_cte.current_lsn, stat.replay_lsn) AS total_lag_in_bytes, pg_catalog.pg_wal_lsn_diff (current_lsn_cte.current_lsn, stat.sent_lsn) AS sending_lag_in_bytes, pg_catalog.pg_wal_lsn_diff (stat.sent_lsn, stat.flush_lsn) AS receiving_lag_in_bytes, pg_catalog.pg_wal_lsn_diff (stat.flush_lsn, stat.replay_lsn) AS replaying_lag_in_bytes, stat.state AS wal_sender_state, stat.sync_state AS sync_state, stat.sent_lsn::text AS sent_lsn, stat.write_lsn::text AS write_lsn, stat.flush_lsn::text AS flush_lsn, stat.replay_lsn::text AS replay_lsn, stat.write_lag AS write_lag, stat.flush_lag AS flush_lag, stat.replay_lag AS replay_lag, stat.sync_priority AS sync_priority, stat.backend_start AS backend_start, stat.backend_xmin::text AS backend_xmin, slot.xmin::text AS xmin, stat.pid AS pid, stat.usesysid AS usesysid, stat.application_name AS application_name, CAST(slot.restart_lsn AS varchar(20)) AS restart_lsn FROM pg_catalog.pg_replication_slots AS slot LEFT JOIN pg_catalog.pg_stat_replication AS stat ON stat.pid = slot.active_pid, current_lsn_cte;
Date: 2025-09-17 16:00:35 Duration: 0ms Database: postgres User: azuresu Remote: 169.254.128.1 Application: [unknown] Bind query: yes
-
WITH current_lsn_cte AS ( SELECT CASE WHEN pg_catalog.pg_is_in_recovery() = 't' THEN CASE WHEN pg_catalog.pg_last_wal_receive_lsn () IS NULL THEN pg_catalog.pg_last_wal_replay_lsn () WHEN pg_catalog.pg_last_wal_replay_lsn () IS NULL THEN pg_catalog.pg_last_wal_receive_lsn () WHEN pg_catalog.pg_wal_lsn_diff (pg_catalog.pg_last_wal_receive_lsn (), pg_catalog.pg_last_wal_replay_lsn ()) >= 0 THEN pg_catalog.pg_last_wal_receive_lsn () ELSE pg_catalog.pg_last_wal_replay_lsn () END ELSE pg_catalog.pg_current_wal_lsn () END AS current_lsn ) SELECT slot.slot_name AS slot_name, slot.active AS active, slot.slot_type AS slot_type, current_lsn_cte.current_lsn::text AS current_wal_lsn, pg_catalog.pg_wal_lsn_diff (current_lsn_cte.current_lsn, stat.replay_lsn) AS total_lag_in_bytes, pg_catalog.pg_wal_lsn_diff (current_lsn_cte.current_lsn, stat.sent_lsn) AS sending_lag_in_bytes, pg_catalog.pg_wal_lsn_diff (stat.sent_lsn, stat.flush_lsn) AS receiving_lag_in_bytes, pg_catalog.pg_wal_lsn_diff (stat.flush_lsn, stat.replay_lsn) AS replaying_lag_in_bytes, stat.state AS wal_sender_state, stat.sync_state AS sync_state, stat.sent_lsn::text AS sent_lsn, stat.write_lsn::text AS write_lsn, stat.flush_lsn::text AS flush_lsn, stat.replay_lsn::text AS replay_lsn, stat.write_lag AS write_lag, stat.flush_lag AS flush_lag, stat.replay_lag AS replay_lag, stat.sync_priority AS sync_priority, stat.backend_start AS backend_start, stat.backend_xmin::text AS backend_xmin, slot.xmin::text AS xmin, stat.pid AS pid, stat.usesysid AS usesysid, stat.application_name AS application_name, CAST(slot.restart_lsn AS varchar(20)) AS restart_lsn FROM pg_catalog.pg_replication_slots AS slot LEFT JOIN pg_catalog.pg_stat_replication AS stat ON stat.pid = slot.active_pid, current_lsn_cte;
Date: 2025-09-17 17:35:37 Duration: 0ms Database: postgres User: azuresu Remote: 169.254.128.1 Application: [unknown] Bind query: yes
-
WITH current_lsn_cte AS ( SELECT CASE WHEN pg_catalog.pg_is_in_recovery() = 't' THEN CASE WHEN pg_catalog.pg_last_wal_receive_lsn () IS NULL THEN pg_catalog.pg_last_wal_replay_lsn () WHEN pg_catalog.pg_last_wal_replay_lsn () IS NULL THEN pg_catalog.pg_last_wal_receive_lsn () WHEN pg_catalog.pg_wal_lsn_diff (pg_catalog.pg_last_wal_receive_lsn (), pg_catalog.pg_last_wal_replay_lsn ()) >= 0 THEN pg_catalog.pg_last_wal_receive_lsn () ELSE pg_catalog.pg_last_wal_replay_lsn () END ELSE pg_catalog.pg_current_wal_lsn () END AS current_lsn ) SELECT slot.slot_name AS slot_name, slot.active AS active, slot.slot_type AS slot_type, current_lsn_cte.current_lsn::text AS current_wal_lsn, pg_catalog.pg_wal_lsn_diff (current_lsn_cte.current_lsn, stat.replay_lsn) AS total_lag_in_bytes, pg_catalog.pg_wal_lsn_diff (current_lsn_cte.current_lsn, stat.sent_lsn) AS sending_lag_in_bytes, pg_catalog.pg_wal_lsn_diff (stat.sent_lsn, stat.flush_lsn) AS receiving_lag_in_bytes, pg_catalog.pg_wal_lsn_diff (stat.flush_lsn, stat.replay_lsn) AS replaying_lag_in_bytes, stat.state AS wal_sender_state, stat.sync_state AS sync_state, stat.sent_lsn::text AS sent_lsn, stat.write_lsn::text AS write_lsn, stat.flush_lsn::text AS flush_lsn, stat.replay_lsn::text AS replay_lsn, stat.write_lag AS write_lag, stat.flush_lag AS flush_lag, stat.replay_lag AS replay_lag, stat.sync_priority AS sync_priority, stat.backend_start AS backend_start, stat.backend_xmin::text AS backend_xmin, slot.xmin::text AS xmin, stat.pid AS pid, stat.usesysid AS usesysid, stat.application_name AS application_name, CAST(slot.restart_lsn AS varchar(20)) AS restart_lsn FROM pg_catalog.pg_replication_slots AS slot LEFT JOIN pg_catalog.pg_stat_replication AS stat ON stat.pid = slot.active_pid, current_lsn_cte;
Date: 2025-09-17 12:10:30 Duration: 0ms Database: postgres User: azuresu Remote: 169.254.128.1 Application: [unknown] Bind query: yes
20 0ms 0ms 0ms 287 9ms select case when pg_catalog.pg_is_in_recovery() then null else pg_catalog.txid_current() end as txid_current;Times Reported Time consuming queries #20
Day Hour Count Duration Avg duration Sep 17 02 12 0ms 0ms 03 12 0ms 0ms 04 12 0ms 0ms 05 12 0ms 0ms 06 12 0ms 0ms 07 12 0ms 0ms 08 12 0ms 0ms 09 12 0ms 0ms 10 12 0ms 0ms 11 12 0ms 0ms 12 11 0ms 0ms 13 12 0ms 0ms 14 12 0ms 0ms 15 12 0ms 0ms 16 12 0ms 0ms 17 12 0ms 0ms 18 12 0ms 0ms 19 12 0ms 0ms 20 12 0ms 0ms 21 12 0ms 0ms 22 12 0ms 0ms 23 12 0ms 0ms 00 12 0ms 0ms 01 12 0ms 0ms [ User: azuresu - Total duration: 9ms - Times executed: 287 ]
[ Application: [unknown] - Total duration: 9ms - Times executed: 287 ]
-
SELECT CASE WHEN pg_catalog.pg_is_in_recovery() THEN NULL ELSE pg_catalog.txid_current() END as txid_current;
Date: 2025-09-17 00:21:08 Duration: 0ms Database: postgres User: azuresu Remote: 169.254.128.1 Application: [unknown] Bind query: yes
-
SELECT CASE WHEN pg_catalog.pg_is_in_recovery() THEN NULL ELSE pg_catalog.txid_current() END as txid_current;
Date: 2025-09-17 14:38:06 Duration: 0ms Database: postgres User: azuresu Remote: 169.254.128.1 Application: [unknown] Bind query: yes
-
SELECT CASE WHEN pg_catalog.pg_is_in_recovery() THEN NULL ELSE pg_catalog.txid_current() END as txid_current;
Date: 2025-09-17 04:11:14 Duration: 0ms Database: postgres 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 4s617ms 2,776 0ms 9ms 1ms SELECT MAX( CASE WHEN slot.slot_type = 'physical' AND (slot.slot_name LIKE 'azure_asyncreplica%' or slot.slot_name LIKE 'azure_geoasyncreplica%') THEN CASE WHEN stat.replay_lsn IS NULL THEN pg_catalog.pg_wal_lsn_diff (pg_catalog.pg_current_wal_lsn (), slot.restart_lsn)::bigint ELSE pg_catalog.pg_wal_lsn_diff (pg_catalog.pg_current_wal_lsn (), stat.replay_lsn)::bigint END ELSE NULL END) AS physical_replication_delay_in_bytes, MAX( CASE WHEN slot.slot_type = 'logical' THEN CASE WHEN stat.replay_lsn IS NULL THEN pg_catalog.pg_wal_lsn_diff (pg_catalog.pg_current_wal_lsn (), slot.restart_lsn)::bigint ELSE pg_catalog.pg_wal_lsn_diff (pg_catalog.pg_current_wal_lsn (), stat.replay_lsn)::bigint END ELSE NULL END) AS logical_replication_delay_in_bytes FROM pg_catalog.pg_replication_slots AS slot LEFT JOIN pg_catalog.pg_stat_replication AS stat ON stat.pid = slot.active_pid;Times Reported Time consuming prepare #1
Day Hour Count Duration Avg duration Sep 17 02 117 195ms 1ms 03 116 196ms 1ms 04 117 198ms 1ms 05 117 188ms 1ms 06 116 189ms 1ms 07 117 193ms 1ms 08 116 201ms 1ms 09 117 201ms 1ms 10 117 199ms 1ms 11 116 197ms 1ms 12 96 161ms 1ms 13 116 190ms 1ms 14 117 186ms 1ms 15 117 199ms 1ms 16 116 188ms 1ms 17 116 192ms 1ms 18 117 194ms 1ms 19 116 198ms 1ms 20 116 191ms 1ms 21 117 185ms 1ms 22 116 188ms 1ms 23 117 190ms 1ms 00 116 192ms 1ms 01 117 194ms 1ms [ User: azuresu - Total duration: 172ms - Times executed: 2776 ]
[ Application: [unknown] - Total duration: 172ms - Times executed: 2776 ]
-
SELECT MAX( CASE WHEN slot.slot_type = 'physical' AND (slot.slot_name LIKE 'azure_asyncreplica%' or slot.slot_name LIKE 'azure_geoasyncreplica%') THEN CASE WHEN stat.replay_lsn IS NULL THEN pg_catalog.pg_wal_lsn_diff (pg_catalog.pg_current_wal_lsn (), slot.restart_lsn)::bigint ELSE pg_catalog.pg_wal_lsn_diff (pg_catalog.pg_current_wal_lsn (), stat.replay_lsn)::bigint END ELSE NULL END) AS physical_replication_delay_in_bytes, MAX( CASE WHEN slot.slot_type = 'logical' THEN CASE WHEN stat.replay_lsn IS NULL THEN pg_catalog.pg_wal_lsn_diff (pg_catalog.pg_current_wal_lsn (), slot.restart_lsn)::bigint ELSE pg_catalog.pg_wal_lsn_diff (pg_catalog.pg_current_wal_lsn (), stat.replay_lsn)::bigint END ELSE NULL END) AS logical_replication_delay_in_bytes FROM pg_catalog.pg_replication_slots AS slot LEFT JOIN pg_catalog.pg_stat_replication AS stat ON stat.pid = slot.active_pid;
Date: 2025-09-17 06:20:23 Duration: 9ms Database: postgres User: postgres Remote: azuresu Application: 169.254.128.1 Queryid: [unknown]
-
SELECT MAX( CASE WHEN slot.slot_type = 'physical' AND (slot.slot_name LIKE 'azure_asyncreplica%' or slot.slot_name LIKE 'azure_geoasyncreplica%') THEN CASE WHEN stat.replay_lsn IS NULL THEN pg_catalog.pg_wal_lsn_diff (pg_catalog.pg_current_wal_lsn (), slot.restart_lsn)::bigint ELSE pg_catalog.pg_wal_lsn_diff (pg_catalog.pg_current_wal_lsn (), stat.replay_lsn)::bigint END ELSE NULL END) AS physical_replication_delay_in_bytes, MAX( CASE WHEN slot.slot_type = 'logical' THEN CASE WHEN stat.replay_lsn IS NULL THEN pg_catalog.pg_wal_lsn_diff (pg_catalog.pg_current_wal_lsn (), slot.restart_lsn)::bigint ELSE pg_catalog.pg_wal_lsn_diff (pg_catalog.pg_current_wal_lsn (), stat.replay_lsn)::bigint END ELSE NULL END) AS logical_replication_delay_in_bytes FROM pg_catalog.pg_replication_slots AS slot LEFT JOIN pg_catalog.pg_stat_replication AS stat ON stat.pid = slot.active_pid;
Date: 2025-09-17 17:06:36 Duration: 6ms Database: postgres User: postgres Remote: azuresu Application: 169.254.128.1 Queryid: [unknown]
-
SELECT MAX( CASE WHEN slot.slot_type = 'physical' AND (slot.slot_name LIKE 'azure_asyncreplica%' or slot.slot_name LIKE 'azure_geoasyncreplica%') THEN CASE WHEN stat.replay_lsn IS NULL THEN pg_catalog.pg_wal_lsn_diff (pg_catalog.pg_current_wal_lsn (), slot.restart_lsn)::bigint ELSE pg_catalog.pg_wal_lsn_diff (pg_catalog.pg_current_wal_lsn (), stat.replay_lsn)::bigint END ELSE NULL END) AS physical_replication_delay_in_bytes, MAX( CASE WHEN slot.slot_type = 'logical' THEN CASE WHEN stat.replay_lsn IS NULL THEN pg_catalog.pg_wal_lsn_diff (pg_catalog.pg_current_wal_lsn (), slot.restart_lsn)::bigint ELSE pg_catalog.pg_wal_lsn_diff (pg_catalog.pg_current_wal_lsn (), stat.replay_lsn)::bigint END ELSE NULL END) AS logical_replication_delay_in_bytes FROM pg_catalog.pg_replication_slots AS slot LEFT JOIN pg_catalog.pg_stat_replication AS stat ON stat.pid = slot.active_pid;
Date: 2025-09-17 07:47:26 Duration: 6ms Database: postgres User: postgres Remote: azuresu Application: 169.254.128.1 Queryid: [unknown]
2 2s124ms 2,776 0ms 3ms 0ms SELECT COALESCE(SUM(numbackends), 0) as active_connections FROM pg_catalog.pg_stat_database;Times Reported Time consuming prepare #2
Day Hour Count Duration Avg duration 00 117 93ms 0ms 01 116 86ms 0ms 02 117 90ms 0ms 03 117 89ms 0ms 04 116 89ms 0ms 05 117 88ms 0ms 06 116 83ms 0ms 07 117 85ms 0ms 08 117 89ms 0ms 09 116 91ms 0ms 10 96 67ms 0ms 11 116 91ms 0ms 12 117 85ms 0ms 13 117 93ms 0ms 14 116 84ms 0ms 15 116 89ms 0ms 16 117 95ms 0ms 17 116 92ms 0ms 18 116 89ms 0ms 19 117 84ms 0ms 20 116 87ms 0ms 21 117 85ms 0ms 22 116 96ms 0ms 23 117 91ms 0ms [ User: azuresu - Total duration: 403ms - Times executed: 2776 ]
[ Application: [unknown] - Total duration: 403ms - Times executed: 2776 ]
-
SELECT COALESCE(SUM(numbackends), 0) as active_connections FROM pg_catalog.pg_stat_database;
Date: 2025-09-17 17:55:03 Duration: 3ms Database: postgres User: postgres Remote: azuresu Application: 169.254.128.1 Queryid: [unknown]
-
SELECT COALESCE(SUM(numbackends), 0) as active_connections FROM pg_catalog.pg_stat_database;
Date: 2025-09-17 20:13:43 Duration: 3ms Database: postgres User: postgres Remote: azuresu Application: 169.254.128.1 Queryid: [unknown]
-
SELECT COALESCE(SUM(numbackends), 0) as active_connections FROM pg_catalog.pg_stat_database;
Date: 2025-09-17 11:45:07 Duration: 3ms Database: postgres User: postgres Remote: azuresu Application: 169.254.128.1 Queryid: [unknown]
3 1s901ms 4,059 0ms 6ms 0ms select archived_count from pg_catalog.pg_stat_archiver where (last_failed_time - last_archived_time) >= '10 minute'::interval;Times Reported Time consuming prepare #3
Day Hour Count Duration Avg duration 00 170 79ms 0ms 01 170 79ms 0ms 02 171 80ms 0ms 03 170 74ms 0ms 04 170 74ms 0ms 05 171 77ms 0ms 06 170 73ms 0ms 07 170 73ms 0ms 08 170 72ms 0ms 09 170 76ms 0ms 10 142 66ms 0ms 11 170 79ms 0ms 12 171 84ms 0ms 13 170 78ms 0ms 14 171 81ms 0ms 15 170 83ms 0ms 16 171 91ms 0ms 17 170 76ms 0ms 18 170 78ms 0ms 19 170 84ms 0ms 20 171 81ms 0ms 21 170 87ms 0ms 22 171 81ms 0ms 23 170 83ms 0ms [ User: azuresu - Total duration: 125ms - Times executed: 4059 ]
[ Application: [unknown] - Total duration: 125ms - Times executed: 4059 ]
-
select archived_count from pg_catalog.pg_stat_archiver where (last_failed_time - last_archived_time) >= '10 minute'::interval;
Date: 2025-09-17 16:09:31 Duration: 6ms Database: postgres User: postgres Remote: azuresu Application: 169.254.128.1 Queryid: [unknown]
-
select archived_count from pg_catalog.pg_stat_archiver where (last_failed_time - last_archived_time) >= '10 minute'::interval;
Date: 2025-09-17 21:19:32 Duration: 5ms Database: postgres User: postgres Remote: azuresu Application: 169.254.128.1 Queryid: [unknown]
-
select archived_count from pg_catalog.pg_stat_archiver where (last_failed_time - last_archived_time) >= '10 minute'::interval;
Date: 2025-09-17 23:28:53 Duration: 3ms Database: postgres User: postgres Remote: azuresu Application: 169.254.128.1 Queryid: [unknown]
4 1s216ms 8,334 0ms 3ms 0ms SELECT pg_catalog.pg_is_in_recovery() as is_in_Recovery;Times Reported Time consuming prepare #4
Day Hour Count Duration Avg duration 00 348 50ms 0ms 01 348 53ms 0ms 02 347 47ms 0ms 03 349 48ms 0ms 04 348 49ms 0ms 05 347 50ms 0ms 06 346 48ms 0ms 07 348 46ms 0ms 08 349 47ms 0ms 09 347 48ms 0ms 10 293 43ms 0ms 11 352 50ms 0ms 12 352 56ms 0ms 13 353 50ms 0ms 14 349 55ms 0ms 15 353 53ms 0ms 16 353 49ms 0ms 17 350 50ms 0ms 18 352 55ms 0ms 19 352 53ms 0ms 20 352 52ms 0ms 21 349 51ms 0ms 22 348 54ms 0ms 23 349 50ms 0ms [ User: azuresu - Total duration: 120ms - Times executed: 8334 ]
[ Application: [unknown] - Total duration: 120ms - Times executed: 8334 ]
-
SELECT pg_catalog.pg_is_in_recovery() as is_in_Recovery;
Date: 2025-09-17 00:47:27 Duration: 3ms Database: postgres User: postgres Remote: azuresu Application: 169.254.128.1 Queryid: [unknown]
-
SELECT pg_catalog.pg_is_in_recovery() as is_in_Recovery;
Date: 2025-09-17 01:00:01 Duration: 3ms Database: postgres User: postgres Remote: azuresu Application: 169.254.128.1 Queryid: [unknown]
-
SELECT pg_catalog.pg_is_in_recovery() as is_in_Recovery;
Date: 2025-09-17 01:10:40 Duration: 2ms Database: postgres User: postgres Remote: azuresu Application: 169.254.128.1 Queryid: [unknown]
5 1s77ms 8,814 0ms 4ms 0ms SELECT 1;Times Reported Time consuming prepare #5
Day Hour Count Duration Avg duration 00 369 45ms 0ms 01 370 44ms 0ms 02 370 50ms 0ms 03 370 44ms 0ms 04 369 45ms 0ms 05 370 47ms 0ms 06 370 54ms 0ms 07 370 48ms 0ms 08 370 46ms 0ms 09 369 42ms 0ms 10 311 36ms 0ms 11 370 42ms 0ms 12 370 39ms 0ms 13 370 44ms 0ms 14 369 38ms 0ms 15 370 44ms 0ms 16 370 47ms 0ms 17 370 43ms 0ms 18 369 42ms 0ms 19 369 42ms 0ms 20 370 45ms 0ms 21 370 48ms 0ms 22 369 45ms 0ms 23 370 46ms 0ms [ User: azuresu - Total duration: 274ms - Times executed: 8814 ]
[ Application: [unknown] - Total duration: 274ms - Times executed: 8814 ]
-
SELECT 1;
Date: 2025-09-17 06:36:26 Duration: 4ms Database: postgres User: postgres Remote: azuresu Application: 169.254.128.1 Queryid: [unknown]
-
SELECT 1;
Date: 2025-09-17 02:41:49 Duration: 3ms Database: postgres User: postgres Remote: azuresu Application: 169.254.128.1 Queryid: [unknown]
-
SELECT 1;
Date: 2025-09-17 07:52:34 Duration: 3ms Database: postgres User: postgres Remote: azuresu Application: 169.254.128.1 Queryid: [unknown]
6 871ms 2,776 0ms 4ms 0ms SELECT CASE WHEN pg_catalog.pg_is_in_recovery() = 't' THEN EXTRACT(EPOCH FROM now() - pg_catalog.pg_last_xact_replay_timestamp())::bigint END AS physical_replication_delay_in_seconds;Times Reported Time consuming prepare #6
Day Hour Count Duration Avg duration 00 117 36ms 0ms 01 116 34ms 0ms 02 117 42ms 0ms 03 117 35ms 0ms 04 116 35ms 0ms 05 117 35ms 0ms 06 116 35ms 0ms 07 117 36ms 0ms 08 117 37ms 0ms 09 116 35ms 0ms 10 96 30ms 0ms 11 116 36ms 0ms 12 117 35ms 0ms 13 117 36ms 0ms 14 116 35ms 0ms 15 116 34ms 0ms 16 117 37ms 0ms 17 116 35ms 0ms 18 116 35ms 0ms 19 117 36ms 0ms 20 116 35ms 0ms 21 117 37ms 0ms 22 116 36ms 0ms 23 117 40ms 0ms [ User: azuresu - Total duration: 23ms - Times executed: 2776 ]
[ Application: [unknown] - Total duration: 23ms - Times executed: 2776 ]
-
SELECT CASE WHEN pg_catalog.pg_is_in_recovery() = 't' THEN EXTRACT(EPOCH FROM now() - pg_catalog.pg_last_xact_replay_timestamp())::bigint END AS physical_replication_delay_in_seconds;
Date: 2025-09-17 02:45:21 Duration: 4ms Database: postgres User: postgres Remote: azuresu Application: 169.254.128.1 Queryid: [unknown]
-
SELECT CASE WHEN pg_catalog.pg_is_in_recovery() = 't' THEN EXTRACT(EPOCH FROM now() - pg_catalog.pg_last_xact_replay_timestamp())::bigint END AS physical_replication_delay_in_seconds;
Date: 2025-09-17 23:17:39 Duration: 3ms Database: postgres User: postgres Remote: azuresu Application: 169.254.128.1 Queryid: [unknown]
-
SELECT CASE WHEN pg_catalog.pg_is_in_recovery() = 't' THEN EXTRACT(EPOCH FROM now() - pg_catalog.pg_last_xact_replay_timestamp())::bigint END AS physical_replication_delay_in_seconds;
Date: 2025-09-17 19:00:35 Duration: 2ms Database: postgres User: postgres Remote: azuresu Application: 169.254.128.1 Queryid: [unknown]
7 566ms 2,776 0ms 2ms 0ms SELECT max(age(datfrozenxid)) as maximum_used_transactionIDs FROM pg_catalog.pg_database;Times Reported Time consuming prepare #7
Day Hour Count Duration Avg duration 00 117 25ms 0ms 01 116 23ms 0ms 02 117 26ms 0ms 03 117 23ms 0ms 04 116 25ms 0ms 05 117 24ms 0ms 06 116 23ms 0ms 07 117 23ms 0ms 08 117 24ms 0ms 09 116 24ms 0ms 10 96 19ms 0ms 11 116 22ms 0ms 12 117 23ms 0ms 13 117 25ms 0ms 14 116 23ms 0ms 15 116 23ms 0ms 16 117 24ms 0ms 17 116 23ms 0ms 18 116 23ms 0ms 19 117 21ms 0ms 20 116 23ms 0ms 21 117 22ms 0ms 22 116 23ms 0ms 23 117 22ms 0ms [ User: azuresu - Total duration: 85ms - Times executed: 2776 ]
[ Application: [unknown] - Total duration: 85ms - Times executed: 2776 ]
-
SELECT max(age(datfrozenxid)) as maximum_used_transactionIDs FROM pg_catalog.pg_database;
Date: 2025-09-17 02:19:06 Duration: 2ms Database: postgres User: postgres Remote: azuresu Application: 169.254.128.1 Queryid: [unknown]
-
SELECT max(age(datfrozenxid)) as maximum_used_transactionIDs FROM pg_catalog.pg_database;
Date: 2025-09-17 20:13:12 Duration: 1ms Database: postgres User: postgres Remote: azuresu Application: 169.254.128.1 Queryid: [unknown]
-
SELECT max(age(datfrozenxid)) as maximum_used_transactionIDs FROM pg_catalog.pg_database;
Date: 2025-09-17 00:06:08 Duration: 1ms Database: postgres User: postgres Remote: azuresu Application: 169.254.128.1 Queryid: [unknown]
8 490ms 286 0ms 7ms 1ms SELECT COUNT(*) filter (WHERE state in ('idle', 'idle in transaction', 'idle in transaction (aborted)', 'disabled')) AS idle_cnt, COUNT(*) filter (WHERE state = 'active') AS active_cnt, COUNT(*) filter (WHERE state in ('idle', 'idle in transaction', 'idle in transaction (aborted)', 'disabled') AND usename = 'azuresu') AS admin_idle_cnt, COUNT(*) filter (WHERE state = 'active' AND usename = 'azuresu') AS admin_active_cnt, COUNT(*) filter (WHERE state in ('idle', 'idle in transaction', 'idle in transaction (aborted)', 'disabled') AND usename != 'azuresu') AS user_idle_cnt, COUNT(*) filter (WHERE state = 'active' AND usename != 'azuresu') AS user_active_cnt FROM pg_catalog.pg_stat_activity;Times Reported Time consuming prepare #8
Day Hour Count Duration Avg duration 00 12 20ms 1ms 01 12 19ms 1ms 02 12 22ms 1ms 03 12 23ms 1ms 04 12 19ms 1ms 05 12 20ms 1ms 06 12 23ms 1ms 07 12 20ms 1ms 08 12 25ms 2ms 09 12 23ms 1ms 10 10 16ms 1ms 11 12 19ms 1ms 12 12 18ms 1ms 13 12 20ms 1ms 14 12 19ms 1ms 15 12 19ms 1ms 16 12 17ms 1ms 17 12 18ms 1ms 18 12 20ms 1ms 19 12 19ms 1ms 20 12 21ms 1ms 21 12 21ms 1ms 22 12 17ms 1ms 23 12 19ms 1ms [ User: azuresu - Total duration: 79ms - Times executed: 286 ]
[ Application: [unknown] - Total duration: 79ms - Times executed: 286 ]
-
SELECT COUNT(*) filter (WHERE state in ('idle', 'idle in transaction', 'idle in transaction (aborted)', 'disabled')) AS idle_cnt, COUNT(*) filter (WHERE state = 'active') AS active_cnt, COUNT(*) filter (WHERE state in ('idle', 'idle in transaction', 'idle in transaction (aborted)', 'disabled') AND usename = 'azuresu') AS admin_idle_cnt, COUNT(*) filter (WHERE state = 'active' AND usename = 'azuresu') AS admin_active_cnt, COUNT(*) filter (WHERE state in ('idle', 'idle in transaction', 'idle in transaction (aborted)', 'disabled') AND usename != 'azuresu') AS user_idle_cnt, COUNT(*) filter (WHERE state = 'active' AND usename != 'azuresu') AS user_active_cnt FROM pg_catalog.pg_stat_activity;
Date: 2025-09-17 08:10:34 Duration: 7ms Database: postgres User: postgres Remote: azuresu Application: 169.254.128.1 Queryid: [unknown]
-
SELECT COUNT(*) filter (WHERE state in ('idle', 'idle in transaction', 'idle in transaction (aborted)', 'disabled')) AS idle_cnt, COUNT(*) filter (WHERE state = 'active') AS active_cnt, COUNT(*) filter (WHERE state in ('idle', 'idle in transaction', 'idle in transaction (aborted)', 'disabled') AND usename = 'azuresu') AS admin_idle_cnt, COUNT(*) filter (WHERE state = 'active' AND usename = 'azuresu') AS admin_active_cnt, COUNT(*) filter (WHERE state in ('idle', 'idle in transaction', 'idle in transaction (aborted)', 'disabled') AND usename != 'azuresu') AS user_idle_cnt, COUNT(*) filter (WHERE state = 'active' AND usename != 'azuresu') AS user_active_cnt FROM pg_catalog.pg_stat_activity;
Date: 2025-09-17 09:20:37 Duration: 3ms Database: postgres User: postgres Remote: azuresu Application: 169.254.128.1 Queryid: [unknown]
-
SELECT COUNT(*) filter (WHERE state in ('idle', 'idle in transaction', 'idle in transaction (aborted)', 'disabled')) AS idle_cnt, COUNT(*) filter (WHERE state = 'active') AS active_cnt, COUNT(*) filter (WHERE state in ('idle', 'idle in transaction', 'idle in transaction (aborted)', 'disabled') AND usename = 'azuresu') AS admin_idle_cnt, COUNT(*) filter (WHERE state = 'active' AND usename = 'azuresu') AS admin_active_cnt, COUNT(*) filter (WHERE state in ('idle', 'idle in transaction', 'idle in transaction (aborted)', 'disabled') AND usename != 'azuresu') AS user_idle_cnt, COUNT(*) filter (WHERE state = 'active' AND usename != 'azuresu') AS user_active_cnt FROM pg_catalog.pg_stat_activity;
Date: 2025-09-17 15:40:35 Duration: 3ms Database: postgres User: postgres Remote: azuresu Application: 169.254.128.1 Queryid: [unknown]
9 412ms 286 0ms 5ms 1ms WITH current_lsn_cte AS ( SELECT CASE WHEN pg_catalog.pg_is_in_recovery() = 't' THEN CASE WHEN pg_catalog.pg_last_wal_receive_lsn () IS NULL THEN pg_catalog.pg_last_wal_replay_lsn () WHEN pg_catalog.pg_last_wal_replay_lsn () IS NULL THEN pg_catalog.pg_last_wal_receive_lsn () WHEN pg_catalog.pg_wal_lsn_diff (pg_catalog.pg_last_wal_receive_lsn (), pg_catalog.pg_last_wal_replay_lsn ()) >= 0 THEN pg_catalog.pg_last_wal_receive_lsn () ELSE pg_catalog.pg_last_wal_replay_lsn () END ELSE pg_catalog.pg_current_wal_lsn () END AS current_lsn ) SELECT slot.slot_name AS slot_name, slot.active AS active, slot.slot_type AS slot_type, current_lsn_cte.current_lsn::text AS current_wal_lsn, pg_catalog.pg_wal_lsn_diff (current_lsn_cte.current_lsn, stat.replay_lsn) AS total_lag_in_bytes, pg_catalog.pg_wal_lsn_diff (current_lsn_cte.current_lsn, stat.sent_lsn) AS sending_lag_in_bytes, pg_catalog.pg_wal_lsn_diff (stat.sent_lsn, stat.flush_lsn) AS receiving_lag_in_bytes, pg_catalog.pg_wal_lsn_diff (stat.flush_lsn, stat.replay_lsn) AS replaying_lag_in_bytes, stat.state AS wal_sender_state, stat.sync_state AS sync_state, stat.sent_lsn::text AS sent_lsn, stat.write_lsn::text AS write_lsn, stat.flush_lsn::text AS flush_lsn, stat.replay_lsn::text AS replay_lsn, stat.write_lag AS write_lag, stat.flush_lag AS flush_lag, stat.replay_lag AS replay_lag, stat.sync_priority AS sync_priority, stat.backend_start AS backend_start, stat.backend_xmin::text AS backend_xmin, slot.xmin::text AS xmin, stat.pid AS pid, stat.usesysid AS usesysid, stat.application_name AS application_name, CAST(slot.restart_lsn AS varchar(20)) AS restart_lsn FROM pg_catalog.pg_replication_slots AS slot LEFT JOIN pg_catalog.pg_stat_replication AS stat ON stat.pid = slot.active_pid, current_lsn_cte;Times Reported Time consuming prepare #9
Day Hour Count Duration Avg duration 00 12 16ms 1ms 01 12 15ms 1ms 02 12 17ms 1ms 03 12 17ms 1ms 04 12 18ms 1ms 05 12 19ms 1ms 06 12 21ms 1ms 07 12 18ms 1ms 08 12 18ms 1ms 09 12 17ms 1ms 10 10 13ms 1ms 11 12 18ms 1ms 12 12 17ms 1ms 13 12 19ms 1ms 14 12 16ms 1ms 15 12 18ms 1ms 16 12 16ms 1ms 17 12 16ms 1ms 18 12 16ms 1ms 19 12 15ms 1ms 20 12 16ms 1ms 21 12 14ms 1ms 22 12 15ms 1ms 23 12 15ms 1ms [ User: azuresu - Total duration: 10ms - Times executed: 286 ]
[ Application: [unknown] - Total duration: 10ms - Times executed: 286 ]
-
WITH current_lsn_cte AS ( SELECT CASE WHEN pg_catalog.pg_is_in_recovery() = 't' THEN CASE WHEN pg_catalog.pg_last_wal_receive_lsn () IS NULL THEN pg_catalog.pg_last_wal_replay_lsn () WHEN pg_catalog.pg_last_wal_replay_lsn () IS NULL THEN pg_catalog.pg_last_wal_receive_lsn () WHEN pg_catalog.pg_wal_lsn_diff (pg_catalog.pg_last_wal_receive_lsn (), pg_catalog.pg_last_wal_replay_lsn ()) >= 0 THEN pg_catalog.pg_last_wal_receive_lsn () ELSE pg_catalog.pg_last_wal_replay_lsn () END ELSE pg_catalog.pg_current_wal_lsn () END AS current_lsn ) SELECT slot.slot_name AS slot_name, slot.active AS active, slot.slot_type AS slot_type, current_lsn_cte.current_lsn::text AS current_wal_lsn, pg_catalog.pg_wal_lsn_diff (current_lsn_cte.current_lsn, stat.replay_lsn) AS total_lag_in_bytes, pg_catalog.pg_wal_lsn_diff (current_lsn_cte.current_lsn, stat.sent_lsn) AS sending_lag_in_bytes, pg_catalog.pg_wal_lsn_diff (stat.sent_lsn, stat.flush_lsn) AS receiving_lag_in_bytes, pg_catalog.pg_wal_lsn_diff (stat.flush_lsn, stat.replay_lsn) AS replaying_lag_in_bytes, stat.state AS wal_sender_state, stat.sync_state AS sync_state, stat.sent_lsn::text AS sent_lsn, stat.write_lsn::text AS write_lsn, stat.flush_lsn::text AS flush_lsn, stat.replay_lsn::text AS replay_lsn, stat.write_lag AS write_lag, stat.flush_lag AS flush_lag, stat.replay_lag AS replay_lag, stat.sync_priority AS sync_priority, stat.backend_start AS backend_start, stat.backend_xmin::text AS backend_xmin, slot.xmin::text AS xmin, stat.pid AS pid, stat.usesysid AS usesysid, stat.application_name AS application_name, CAST(slot.restart_lsn AS varchar(20)) AS restart_lsn FROM pg_catalog.pg_replication_slots AS slot LEFT JOIN pg_catalog.pg_stat_replication AS stat ON stat.pid = slot.active_pid, current_lsn_cte;
Date: 2025-09-17 15:15:34 Duration: 5ms Database: postgres User: postgres Remote: azuresu Application: 169.254.128.1 Queryid: [unknown]
-
WITH current_lsn_cte AS ( SELECT CASE WHEN pg_catalog.pg_is_in_recovery() = 't' THEN CASE WHEN pg_catalog.pg_last_wal_receive_lsn () IS NULL THEN pg_catalog.pg_last_wal_replay_lsn () WHEN pg_catalog.pg_last_wal_replay_lsn () IS NULL THEN pg_catalog.pg_last_wal_receive_lsn () WHEN pg_catalog.pg_wal_lsn_diff (pg_catalog.pg_last_wal_receive_lsn (), pg_catalog.pg_last_wal_replay_lsn ()) >= 0 THEN pg_catalog.pg_last_wal_receive_lsn () ELSE pg_catalog.pg_last_wal_replay_lsn () END ELSE pg_catalog.pg_current_wal_lsn () END AS current_lsn ) SELECT slot.slot_name AS slot_name, slot.active AS active, slot.slot_type AS slot_type, current_lsn_cte.current_lsn::text AS current_wal_lsn, pg_catalog.pg_wal_lsn_diff (current_lsn_cte.current_lsn, stat.replay_lsn) AS total_lag_in_bytes, pg_catalog.pg_wal_lsn_diff (current_lsn_cte.current_lsn, stat.sent_lsn) AS sending_lag_in_bytes, pg_catalog.pg_wal_lsn_diff (stat.sent_lsn, stat.flush_lsn) AS receiving_lag_in_bytes, pg_catalog.pg_wal_lsn_diff (stat.flush_lsn, stat.replay_lsn) AS replaying_lag_in_bytes, stat.state AS wal_sender_state, stat.sync_state AS sync_state, stat.sent_lsn::text AS sent_lsn, stat.write_lsn::text AS write_lsn, stat.flush_lsn::text AS flush_lsn, stat.replay_lsn::text AS replay_lsn, stat.write_lag AS write_lag, stat.flush_lag AS flush_lag, stat.replay_lag AS replay_lag, stat.sync_priority AS sync_priority, stat.backend_start AS backend_start, stat.backend_xmin::text AS backend_xmin, slot.xmin::text AS xmin, stat.pid AS pid, stat.usesysid AS usesysid, stat.application_name AS application_name, CAST(slot.restart_lsn AS varchar(20)) AS restart_lsn FROM pg_catalog.pg_replication_slots AS slot LEFT JOIN pg_catalog.pg_stat_replication AS stat ON stat.pid = slot.active_pid, current_lsn_cte;
Date: 2025-09-17 13:50:32 Duration: 4ms Database: postgres User: postgres Remote: azuresu Application: 169.254.128.1 Queryid: [unknown]
-
WITH current_lsn_cte AS ( SELECT CASE WHEN pg_catalog.pg_is_in_recovery() = 't' THEN CASE WHEN pg_catalog.pg_last_wal_receive_lsn () IS NULL THEN pg_catalog.pg_last_wal_replay_lsn () WHEN pg_catalog.pg_last_wal_replay_lsn () IS NULL THEN pg_catalog.pg_last_wal_receive_lsn () WHEN pg_catalog.pg_wal_lsn_diff (pg_catalog.pg_last_wal_receive_lsn (), pg_catalog.pg_last_wal_replay_lsn ()) >= 0 THEN pg_catalog.pg_last_wal_receive_lsn () ELSE pg_catalog.pg_last_wal_replay_lsn () END ELSE pg_catalog.pg_current_wal_lsn () END AS current_lsn ) SELECT slot.slot_name AS slot_name, slot.active AS active, slot.slot_type AS slot_type, current_lsn_cte.current_lsn::text AS current_wal_lsn, pg_catalog.pg_wal_lsn_diff (current_lsn_cte.current_lsn, stat.replay_lsn) AS total_lag_in_bytes, pg_catalog.pg_wal_lsn_diff (current_lsn_cte.current_lsn, stat.sent_lsn) AS sending_lag_in_bytes, pg_catalog.pg_wal_lsn_diff (stat.sent_lsn, stat.flush_lsn) AS receiving_lag_in_bytes, pg_catalog.pg_wal_lsn_diff (stat.flush_lsn, stat.replay_lsn) AS replaying_lag_in_bytes, stat.state AS wal_sender_state, stat.sync_state AS sync_state, stat.sent_lsn::text AS sent_lsn, stat.write_lsn::text AS write_lsn, stat.flush_lsn::text AS flush_lsn, stat.replay_lsn::text AS replay_lsn, stat.write_lag AS write_lag, stat.flush_lag AS flush_lag, stat.replay_lag AS replay_lag, stat.sync_priority AS sync_priority, stat.backend_start AS backend_start, stat.backend_xmin::text AS backend_xmin, slot.xmin::text AS xmin, stat.pid AS pid, stat.usesysid AS usesysid, stat.application_name AS application_name, CAST(slot.restart_lsn AS varchar(20)) AS restart_lsn FROM pg_catalog.pg_replication_slots AS slot LEFT JOIN pg_catalog.pg_stat_replication AS stat ON stat.pid = slot.active_pid, current_lsn_cte;
Date: 2025-09-17 04:05:24 Duration: 4ms Database: postgres User: postgres Remote: azuresu Application: 169.254.128.1 Queryid: [unknown]
10 316ms 11,428 0ms 1ms 0ms set session statement_timeout to 10000;Times Reported Time consuming prepare #10
Day Hour Count Duration Avg duration 00 482 13ms 0ms 01 478 12ms 0ms 02 481 13ms 0ms 03 482 13ms 0ms 04 478 14ms 0ms 05 481 13ms 0ms 06 478 15ms 0ms 07 482 14ms 0ms 08 481 14ms 0ms 09 478 15ms 0ms 10 395 10ms 0ms 11 477 13ms 0ms 12 482 12ms 0ms 13 482 12ms 0ms 14 477 12ms 0ms 15 478 12ms 0ms 16 480 12ms 0ms 17 478 13ms 0ms 18 478 12ms 0ms 19 481 11ms 0ms 20 478 13ms 0ms 21 482 12ms 0ms 22 477 13ms 0ms 23 482 13ms 0ms [ User: azuresu - Total duration: 195ms - Times executed: 11428 ]
[ Application: [unknown] - Total duration: 195ms - Times executed: 11428 ]
-
set session statement_timeout to 10000;
Date: 2025-09-17 09:28:14 Duration: 1ms Database: postgres User: postgres Remote: azuresu Application: 169.254.128.1 Queryid: [unknown]
-
set session statement_timeout to 10000;
Date: 2025-09-17 22:42:03 Duration: 1ms Database: postgres User: postgres Remote: azuresu Application: 169.254.128.1 Queryid: [unknown]
-
set session statement_timeout to 10000;
Date: 2025-09-17 08:56:47 Duration: 0ms Database: postgres User: postgres Remote: azuresu Application: 169.254.128.1 Queryid: [unknown]
11 205ms 286 0ms 2ms 0ms SELECT COALESCE(NULLIF (application_name, ''), 'other') AS application_name, COUNT(*) filter (WHERE usename = 'azuresu') AS internal_connections, COUNT(*) filter (WHERE usename != 'azuresu') AS external_connections, COUNT(*) AS total_connections FROM pg_catalog.pg_stat_activity group BY 1;Times Reported Time consuming prepare #11
Day Hour Count Duration Avg duration 00 12 9ms 0ms 01 12 8ms 0ms 02 12 8ms 0ms 03 12 9ms 0ms 04 12 7ms 0ms 05 12 8ms 0ms 06 12 8ms 0ms 07 12 8ms 0ms 08 12 8ms 0ms 09 12 11ms 0ms 10 10 7ms 0ms 11 12 9ms 0ms 12 12 7ms 0ms 13 12 8ms 0ms 14 12 8ms 0ms 15 12 8ms 0ms 16 12 8ms 0ms 17 12 7ms 0ms 18 12 8ms 0ms 19 12 7ms 0ms 20 12 8ms 0ms 21 12 9ms 0ms 22 12 7ms 0ms 23 12 9ms 0ms [ User: azuresu - Total duration: 53ms - Times executed: 286 ]
[ Application: [unknown] - Total duration: 53ms - Times executed: 286 ]
-
SELECT COALESCE(NULLIF (application_name, ''), 'other') AS application_name, COUNT(*) filter (WHERE usename = 'azuresu') AS internal_connections, COUNT(*) filter (WHERE usename != 'azuresu') AS external_connections, COUNT(*) AS total_connections FROM pg_catalog.pg_stat_activity group BY 1;
Date: 2025-09-17 11:55:29 Duration: 2ms Database: postgres User: postgres Remote: azuresu Application: 169.254.128.1 Queryid: [unknown]
-
SELECT COALESCE(NULLIF (application_name, ''), 'other') AS application_name, COUNT(*) filter (WHERE usename = 'azuresu') AS internal_connections, COUNT(*) filter (WHERE usename != 'azuresu') AS external_connections, COUNT(*) AS total_connections FROM pg_catalog.pg_stat_activity group BY 1;
Date: 2025-09-17 00:30:17 Duration: 1ms Database: postgres User: postgres Remote: azuresu Application: 169.254.128.1 Queryid: [unknown]
-
SELECT COALESCE(NULLIF (application_name, ''), 'other') AS application_name, COUNT(*) filter (WHERE usename = 'azuresu') AS internal_connections, COUNT(*) filter (WHERE usename != 'azuresu') AS external_connections, COUNT(*) AS total_connections FROM pg_catalog.pg_stat_activity group BY 1;
Date: 2025-09-17 09:35:37 Duration: 1ms Database: postgres User: postgres Remote: azuresu Application: 169.254.128.1 Queryid: [unknown]
12 188ms 286 0ms 3ms 0ms WITH max_con AS ( SELECT setting::numeric FROM pg_catalog.pg_settings WHERE name = 'max_connections' ) SELECT COALESCE(SUM(numbackends), 0) as active_connections, ROUND(SUM(numbackends) / MAX(setting), 4) AS pct_connections, MAX(setting) AS max_connections FROM pg_catalog.pg_stat_database, max_con;Times Reported Time consuming prepare #12
Day Hour Count Duration Avg duration 00 12 7ms 0ms 01 12 9ms 0ms 02 12 8ms 0ms 03 12 7ms 0ms 04 12 7ms 0ms 05 12 7ms 0ms 06 12 13ms 1ms 07 12 9ms 0ms 08 12 8ms 0ms 09 12 8ms 0ms 10 10 5ms 0ms 11 12 7ms 0ms 12 12 7ms 0ms 13 12 6ms 0ms 14 12 7ms 0ms 15 12 7ms 0ms 16 12 10ms 0ms 17 12 6ms 0ms 18 12 7ms 0ms 19 12 6ms 0ms 20 12 7ms 0ms 21 12 6ms 0ms 22 12 6ms 0ms 23 12 7ms 0ms [ User: azuresu - Total duration: 356ms - Times executed: 286 ]
[ Application: [unknown] - Total duration: 356ms - Times executed: 286 ]
-
WITH max_con AS ( SELECT setting::numeric FROM pg_catalog.pg_settings WHERE name = 'max_connections' ) SELECT COALESCE(SUM(numbackends), 0) as active_connections, ROUND(SUM(numbackends) / MAX(setting), 4) AS pct_connections, MAX(setting) AS max_connections FROM pg_catalog.pg_stat_database, max_con;
Date: 2025-09-17 16:30:36 Duration: 3ms Database: postgres User: postgres Remote: azuresu Application: 169.254.128.1 Queryid: [unknown]
-
WITH max_con AS ( SELECT setting::numeric FROM pg_catalog.pg_settings WHERE name = 'max_connections' ) SELECT COALESCE(SUM(numbackends), 0) as active_connections, ROUND(SUM(numbackends) / MAX(setting), 4) AS pct_connections, MAX(setting) AS max_connections FROM pg_catalog.pg_stat_database, max_con;
Date: 2025-09-17 06:40:29 Duration: 3ms Database: postgres User: postgres Remote: azuresu Application: 169.254.128.1 Queryid: [unknown]
-
WITH max_con AS ( SELECT setting::numeric FROM pg_catalog.pg_settings WHERE name = 'max_connections' ) SELECT COALESCE(SUM(numbackends), 0) as active_connections, ROUND(SUM(numbackends) / MAX(setting), 4) AS pct_connections, MAX(setting) AS max_connections FROM pg_catalog.pg_stat_database, max_con;
Date: 2025-09-17 06:45:29 Duration: 3ms Database: postgres User: postgres Remote: azuresu Application: 169.254.128.1 Queryid: [unknown]
13 174ms 286 0ms 2ms 0ms SELECT slot.slot_name AS slot_name, slot.active AS active, slot.slot_type AS slot_type, pg_catalog.pg_current_wal_lsn ()::text AS current_wal_lsn, pg_catalog.pg_wal_lsn_diff (pg_catalog.pg_current_wal_lsn (), stat.replay_lsn) AS total_lag_in_bytes, pg_catalog.pg_wal_lsn_diff (pg_catalog.pg_current_wal_lsn (), stat.sent_lsn) AS sending_lag_in_bytes, pg_catalog.pg_wal_lsn_diff (stat.sent_lsn, stat.flush_lsn) AS receiving_lag_in_bytes, pg_catalog.pg_wal_lsn_diff (stat.flush_lsn, stat.replay_lsn) AS replaying_lag_in_bytes, stat.state AS wal_sender_state, stat.sync_state AS sync_state, stat.sent_lsn::text AS sent_lsn, stat.write_lsn::text AS write_lsn, stat.flush_lsn::text AS flush_lsn, stat.replay_lsn::text AS replay_lsn, stat.write_lag AS write_lag, stat.flush_lag AS flush_lag, stat.replay_lag AS replay_lag, stat.sync_priority AS sync_priority, stat.backend_start AS backend_start, stat.backend_xmin::text AS backend_xmin, stat.pid AS pid, stat.usesysid AS usesysid, stat.application_name AS application_name, CAST(slot.restart_lsn AS varchar(20)) as restart_lsn FROM CAST(pg_catalog.pg_current_wal_lsn () AS VARCHAR(20)), pg_catalog.pg_stat_replication AS stat LEFT JOIN pg_catalog.pg_replication_slots AS slot ON stat.pid = slot.active_pid;Times Reported Time consuming prepare #13
Day Hour Count Duration Avg duration 00 12 7ms 0ms 01 12 7ms 0ms 02 12 7ms 0ms 03 12 7ms 0ms 04 12 7ms 0ms 05 12 8ms 0ms 06 12 7ms 0ms 07 12 7ms 0ms 08 12 7ms 0ms 09 12 7ms 0ms 10 10 5ms 0ms 11 12 6ms 0ms 12 12 7ms 0ms 13 12 7ms 0ms 14 12 8ms 0ms 15 12 6ms 0ms 16 12 7ms 0ms 17 12 7ms 0ms 18 12 6ms 0ms 19 12 6ms 0ms 20 12 6ms 0ms 21 12 7ms 0ms 22 12 6ms 0ms 23 12 7ms 0ms [ User: azuresu - Total duration: 45ms - Times executed: 286 ]
[ Application: [unknown] - Total duration: 45ms - Times executed: 286 ]
-
SELECT slot.slot_name AS slot_name, slot.active AS active, slot.slot_type AS slot_type, pg_catalog.pg_current_wal_lsn ()::text AS current_wal_lsn, pg_catalog.pg_wal_lsn_diff (pg_catalog.pg_current_wal_lsn (), stat.replay_lsn) AS total_lag_in_bytes, pg_catalog.pg_wal_lsn_diff (pg_catalog.pg_current_wal_lsn (), stat.sent_lsn) AS sending_lag_in_bytes, pg_catalog.pg_wal_lsn_diff (stat.sent_lsn, stat.flush_lsn) AS receiving_lag_in_bytes, pg_catalog.pg_wal_lsn_diff (stat.flush_lsn, stat.replay_lsn) AS replaying_lag_in_bytes, stat.state AS wal_sender_state, stat.sync_state AS sync_state, stat.sent_lsn::text AS sent_lsn, stat.write_lsn::text AS write_lsn, stat.flush_lsn::text AS flush_lsn, stat.replay_lsn::text AS replay_lsn, stat.write_lag AS write_lag, stat.flush_lag AS flush_lag, stat.replay_lag AS replay_lag, stat.sync_priority AS sync_priority, stat.backend_start AS backend_start, stat.backend_xmin::text AS backend_xmin, stat.pid AS pid, stat.usesysid AS usesysid, stat.application_name AS application_name, CAST(slot.restart_lsn AS varchar(20)) as restart_lsn FROM CAST(pg_catalog.pg_current_wal_lsn () AS VARCHAR(20)), pg_catalog.pg_stat_replication AS stat LEFT JOIN pg_catalog.pg_replication_slots AS slot ON stat.pid = slot.active_pid;
Date: 2025-09-17 14:35:33 Duration: 2ms Database: postgres User: postgres Remote: azuresu Application: 169.254.128.1 Queryid: [unknown]
-
SELECT slot.slot_name AS slot_name, slot.active AS active, slot.slot_type AS slot_type, pg_catalog.pg_current_wal_lsn ()::text AS current_wal_lsn, pg_catalog.pg_wal_lsn_diff (pg_catalog.pg_current_wal_lsn (), stat.replay_lsn) AS total_lag_in_bytes, pg_catalog.pg_wal_lsn_diff (pg_catalog.pg_current_wal_lsn (), stat.sent_lsn) AS sending_lag_in_bytes, pg_catalog.pg_wal_lsn_diff (stat.sent_lsn, stat.flush_lsn) AS receiving_lag_in_bytes, pg_catalog.pg_wal_lsn_diff (stat.flush_lsn, stat.replay_lsn) AS replaying_lag_in_bytes, stat.state AS wal_sender_state, stat.sync_state AS sync_state, stat.sent_lsn::text AS sent_lsn, stat.write_lsn::text AS write_lsn, stat.flush_lsn::text AS flush_lsn, stat.replay_lsn::text AS replay_lsn, stat.write_lag AS write_lag, stat.flush_lag AS flush_lag, stat.replay_lag AS replay_lag, stat.sync_priority AS sync_priority, stat.backend_start AS backend_start, stat.backend_xmin::text AS backend_xmin, stat.pid AS pid, stat.usesysid AS usesysid, stat.application_name AS application_name, CAST(slot.restart_lsn AS varchar(20)) as restart_lsn FROM CAST(pg_catalog.pg_current_wal_lsn () AS VARCHAR(20)), pg_catalog.pg_stat_replication AS stat LEFT JOIN pg_catalog.pg_replication_slots AS slot ON stat.pid = slot.active_pid;
Date: 2025-09-17 05:55:27 Duration: 1ms Database: postgres User: postgres Remote: azuresu Application: 169.254.128.1 Queryid: [unknown]
-
SELECT slot.slot_name AS slot_name, slot.active AS active, slot.slot_type AS slot_type, pg_catalog.pg_current_wal_lsn ()::text AS current_wal_lsn, pg_catalog.pg_wal_lsn_diff (pg_catalog.pg_current_wal_lsn (), stat.replay_lsn) AS total_lag_in_bytes, pg_catalog.pg_wal_lsn_diff (pg_catalog.pg_current_wal_lsn (), stat.sent_lsn) AS sending_lag_in_bytes, pg_catalog.pg_wal_lsn_diff (stat.sent_lsn, stat.flush_lsn) AS receiving_lag_in_bytes, pg_catalog.pg_wal_lsn_diff (stat.flush_lsn, stat.replay_lsn) AS replaying_lag_in_bytes, stat.state AS wal_sender_state, stat.sync_state AS sync_state, stat.sent_lsn::text AS sent_lsn, stat.write_lsn::text AS write_lsn, stat.flush_lsn::text AS flush_lsn, stat.replay_lsn::text AS replay_lsn, stat.write_lag AS write_lag, stat.flush_lag AS flush_lag, stat.replay_lag AS replay_lag, stat.sync_priority AS sync_priority, stat.backend_start AS backend_start, stat.backend_xmin::text AS backend_xmin, stat.pid AS pid, stat.usesysid AS usesysid, stat.application_name AS application_name, CAST(slot.restart_lsn AS varchar(20)) as restart_lsn FROM CAST(pg_catalog.pg_current_wal_lsn () AS VARCHAR(20)), pg_catalog.pg_stat_replication AS stat LEFT JOIN pg_catalog.pg_replication_slots AS slot ON stat.pid = slot.active_pid;
Date: 2025-09-17 07:00:30 Duration: 1ms Database: postgres User: postgres Remote: azuresu Application: 169.254.128.1 Queryid: [unknown]
14 148ms 286 0ms 1ms 0ms SELECT datid, datname AS database_name, pid, usesysid, application_name, REGEXP_REPLACE(host(client_addr), '(.*)\.(.*)\.(.*)\.(.*)', '\1.\2.\3.X') AS client_addr, now() - backend_start AS session_duration, state, backend_start, xact_start, query_start, state_change, wait_event_type, wait_event, backend_xid, backend_xmin, backend_type, now() AS collection_time FROM pg_stat_activity;Times Reported Time consuming prepare #14
Day Hour Count Duration Avg duration 00 12 5ms 0ms 01 12 6ms 0ms 02 12 7ms 0ms 03 12 6ms 0ms 04 12 6ms 0ms 05 12 6ms 0ms 06 12 8ms 0ms 07 12 6ms 0ms 08 12 6ms 0ms 09 12 6ms 0ms 10 10 5ms 0ms 11 12 6ms 0ms 12 12 5ms 0ms 13 12 5ms 0ms 14 12 5ms 0ms 15 12 6ms 0ms 16 12 6ms 0ms 17 12 6ms 0ms 18 12 5ms 0ms 19 12 6ms 0ms 20 12 5ms 0ms 21 12 5ms 0ms 22 12 5ms 0ms 23 12 5ms 0ms [ User: azuresu - Total duration: 134ms - Times executed: 286 ]
[ Application: [unknown] - Total duration: 134ms - Times executed: 286 ]
-
SELECT datid, datname AS database_name, pid, usesysid, application_name, REGEXP_REPLACE(host(client_addr), '(.*)\.(.*)\.(.*)\.(.*)', '\1.\2.\3.X') AS client_addr, now() - backend_start AS session_duration, state, backend_start, xact_start, query_start, state_change, wait_event_type, wait_event, backend_xid, backend_xmin, backend_type, now() AS collection_time FROM pg_stat_activity;
Date: 2025-09-17 19:00:39 Duration: 1ms Database: postgres User: postgres Remote: azuresu Application: 169.254.128.1 Queryid: [unknown]
-
SELECT datid, datname AS database_name, pid, usesysid, application_name, REGEXP_REPLACE(host(client_addr), '(.*)\.(.*)\.(.*)\.(.*)', '\1.\2.\3.X') AS client_addr, now() - backend_start AS session_duration, state, backend_start, xact_start, query_start, state_change, wait_event_type, wait_event, backend_xid, backend_xmin, backend_type, now() AS collection_time FROM pg_stat_activity;
Date: 2025-09-17 02:45:21 Duration: 1ms Database: postgres User: postgres Remote: azuresu Application: 169.254.128.1 Queryid: [unknown]
-
SELECT datid, datname AS database_name, pid, usesysid, application_name, REGEXP_REPLACE(host(client_addr), '(.*)\.(.*)\.(.*)\.(.*)', '\1.\2.\3.X') AS client_addr, now() - backend_start AS session_duration, state, backend_start, xact_start, query_start, state_change, wait_event_type, wait_event, backend_xid, backend_xmin, backend_type, now() AS collection_time FROM pg_stat_activity;
Date: 2025-09-17 17:15:37 Duration: 1ms Database: postgres User: postgres Remote: azuresu Application: 169.254.128.1 Queryid: [unknown]
15 111ms 278 0ms 3ms 0ms SELECT COUNT(*) as superusers_count FROM pg_catalog.pg_roles where rolsuper = 't' and rolname <> 'azuresu';Times Reported Time consuming prepare #15
Day Hour Count Duration Avg duration 00 12 4ms 0ms 01 12 4ms 0ms 02 11 4ms 0ms 03 12 4ms 0ms 04 12 4ms 0ms 05 11 5ms 0ms 06 12 13ms 1ms 07 12 4ms 0ms 08 11 4ms 0ms 09 12 5ms 0ms 10 10 4ms 0ms 11 11 3ms 0ms 12 12 3ms 0ms 13 12 3ms 0ms 14 11 3ms 0ms 15 12 3ms 0ms 16 11 3ms 0ms 17 12 3ms 0ms 18 12 3ms 0ms 19 11 3ms 0ms 20 12 4ms 0ms 21 12 3ms 0ms 22 11 3ms 0ms 23 12 4ms 0ms [ User: azuresu - Total duration: 8ms - Times executed: 278 ]
[ Application: [unknown] - Total duration: 8ms - Times executed: 278 ]
-
SELECT COUNT(*) as superusers_count FROM pg_catalog.pg_roles where rolsuper = 't' and rolname <> 'azuresu';
Date: 2025-09-17 06:36:53 Duration: 3ms Database: postgres User: postgres Remote: azuresu Application: 169.254.128.1 Queryid: [unknown]
-
SELECT COUNT(*) as superusers_count FROM pg_catalog.pg_roles where rolsuper = 't' and rolname <> 'azuresu';
Date: 2025-09-17 06:52:19 Duration: 2ms Database: postgres User: postgres Remote: azuresu Application: 169.254.128.1 Queryid: [unknown]
-
SELECT COUNT(*) as superusers_count FROM pg_catalog.pg_roles where rolsuper = 't' and rolname <> 'azuresu';
Date: 2025-09-17 06:42:02 Duration: 2ms Database: postgres User: postgres Remote: azuresu Application: 169.254.128.1 Queryid: [unknown]
16 104ms 286 0ms 2ms 0ms SELECT ls.file_count, done.done_count, ready.ready_count, file_name as file_name, file_offset as file_offset, pg_wal_lsn_diff as pg_current_xlog_byte_location, pg_catalog.pg_current_wal_lsn ()::text FROM ( SELECT (COUNT(*) - 1) as file_count FROM ( SELECT * FROM pg_catalog.pg_ls_dir('pg_wal/')) AS dir) AS ls, ( SELECT COUNT(*) as done_count FROM pg_catalog.pg_ls_dir('pg_wal/archive_status') AS all_files WHERE all_files LIKE '%.done') AS done, ( SELECT COUNT(*) as ready_count FROM pg_catalog.pg_ls_dir('pg_wal/archive_status') AS all_files WHERE all_files LIKE '%.ready') AS ready, pg_catalog.pg_walfile_name_offset (pg_catalog.pg_current_wal_lsn ()), pg_catalog.pg_wal_lsn_diff (pg_catalog.pg_current_wal_lsn (), '0/0000000'), CAST(pg_catalog.pg_current_wal_lsn () AS VARCHAR(20));Times Reported Time consuming prepare #16
Day Hour Count Duration Avg duration 00 12 7ms 0ms 01 12 5ms 0ms 02 12 4ms 0ms 03 12 4ms 0ms 04 12 4ms 0ms 05 12 4ms 0ms 06 12 5ms 0ms 07 12 3ms 0ms 08 12 4ms 0ms 09 12 4ms 0ms 10 10 3ms 0ms 11 12 4ms 0ms 12 12 4ms 0ms 13 12 3ms 0ms 14 12 3ms 0ms 15 12 3ms 0ms 16 12 4ms 0ms 17 12 4ms 0ms 18 12 4ms 0ms 19 12 3ms 0ms 20 12 4ms 0ms 21 12 4ms 0ms 22 12 4ms 0ms 23 12 4ms 0ms [ User: azuresu - Total duration: 72ms - Times executed: 286 ]
[ Application: [unknown] - Total duration: 72ms - Times executed: 286 ]
-
SELECT ls.file_count, done.done_count, ready.ready_count, file_name as file_name, file_offset as file_offset, pg_wal_lsn_diff as pg_current_xlog_byte_location, pg_catalog.pg_current_wal_lsn ()::text FROM ( SELECT (COUNT(*) - 1) as file_count FROM ( SELECT * FROM pg_catalog.pg_ls_dir('pg_wal/')) AS dir) AS ls, ( SELECT COUNT(*) as done_count FROM pg_catalog.pg_ls_dir('pg_wal/archive_status') AS all_files WHERE all_files LIKE '%.done') AS done, ( SELECT COUNT(*) as ready_count FROM pg_catalog.pg_ls_dir('pg_wal/archive_status') AS all_files WHERE all_files LIKE '%.ready') AS ready, pg_catalog.pg_walfile_name_offset (pg_catalog.pg_current_wal_lsn ()), pg_catalog.pg_wal_lsn_diff (pg_catalog.pg_current_wal_lsn (), '0/0000000'), CAST(pg_catalog.pg_current_wal_lsn () AS VARCHAR(20));
Date: 2025-09-17 00:00:16 Duration: 2ms Database: postgres User: postgres Remote: azuresu Application: 169.254.128.1 Queryid: [unknown]
-
SELECT ls.file_count, done.done_count, ready.ready_count, file_name as file_name, file_offset as file_offset, pg_wal_lsn_diff as pg_current_xlog_byte_location, pg_catalog.pg_current_wal_lsn ()::text FROM ( SELECT (COUNT(*) - 1) as file_count FROM ( SELECT * FROM pg_catalog.pg_ls_dir('pg_wal/')) AS dir) AS ls, ( SELECT COUNT(*) as done_count FROM pg_catalog.pg_ls_dir('pg_wal/archive_status') AS all_files WHERE all_files LIKE '%.done') AS done, ( SELECT COUNT(*) as ready_count FROM pg_catalog.pg_ls_dir('pg_wal/archive_status') AS all_files WHERE all_files LIKE '%.ready') AS ready, pg_catalog.pg_walfile_name_offset (pg_catalog.pg_current_wal_lsn ()), pg_catalog.pg_wal_lsn_diff (pg_catalog.pg_current_wal_lsn (), '0/0000000'), CAST(pg_catalog.pg_current_wal_lsn () AS VARCHAR(20));
Date: 2025-09-17 01:35:19 Duration: 1ms Database: postgres User: postgres Remote: azuresu Application: 169.254.128.1 Queryid: [unknown]
-
SELECT ls.file_count, done.done_count, ready.ready_count, file_name as file_name, file_offset as file_offset, pg_wal_lsn_diff as pg_current_xlog_byte_location, pg_catalog.pg_current_wal_lsn ()::text FROM ( SELECT (COUNT(*) - 1) as file_count FROM ( SELECT * FROM pg_catalog.pg_ls_dir('pg_wal/')) AS dir) AS ls, ( SELECT COUNT(*) as done_count FROM pg_catalog.pg_ls_dir('pg_wal/archive_status') AS all_files WHERE all_files LIKE '%.done') AS done, ( SELECT COUNT(*) as ready_count FROM pg_catalog.pg_ls_dir('pg_wal/archive_status') AS all_files WHERE all_files LIKE '%.ready') AS ready, pg_catalog.pg_walfile_name_offset (pg_catalog.pg_current_wal_lsn ()), pg_catalog.pg_wal_lsn_diff (pg_catalog.pg_current_wal_lsn (), '0/0000000'), CAST(pg_catalog.pg_current_wal_lsn () AS VARCHAR(20));
Date: 2025-09-17 00:25:17 Duration: 0ms Database: postgres User: postgres Remote: azuresu Application: 169.254.128.1 Queryid: [unknown]
17 75ms 47 1ms 5ms 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 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 #17
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 7ms 3ms 07 2 6ms 3ms 08 2 2ms 1ms 09 2 2ms 1ms 10 1 2ms 2ms 11 2 2ms 1ms 12 2 3ms 1ms 13 2 2ms 1ms 14 2 3ms 1ms 15 2 2ms 1ms 16 2 3ms 1ms 17 2 2ms 1ms 18 2 2ms 1ms 19 2 2ms 1ms 20 2 2ms 1ms 21 2 2ms 1ms 22 2 2ms 1ms 23 2 2ms 1ms [ User: azuresu - Total duration: 51ms - Times executed: 47 ]
[ Application: [unknown] - Total duration: 51ms - Times executed: 47 ]
-
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-09-17 06:54:54 Duration: 5ms Database: postgres User: postgres 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-09-17 07:24:56 Duration: 5ms Database: postgres User: postgres 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-09-17 10:30:11 Duration: 2ms Database: postgres User: postgres Remote: azuresu Application: 169.254.128.1 Queryid: [unknown]
18 66ms 122 0ms 5ms 0ms SELECT pid, datid, datname, relid, phase, heap_blks_total, heap_blks_scanned, heap_blks_vacuumed, index_vacuum_count, max_dead_tuples, num_dead_tuples, null as max_dead_tuple_bytes, null as dead_tuple_bytes, null as num_dead_item_ids, null as indexes_total, null as indexes_processed FROM pg_catalog.pg_stat_progress_vacuum;Times Reported Time consuming prepare #18
Day Hour Count Duration Avg duration 00 12 8ms 0ms 01 12 4ms 0ms 02 12 4ms 0ms 03 12 4ms 0ms 04 12 4ms 0ms 05 12 5ms 0ms 06 12 17ms 1ms 07 12 5ms 0ms 08 12 5ms 0ms 09 12 5ms 0ms 10 2 0ms 0ms [ User: azuresu - Total duration: 8ms - Times executed: 122 ]
[ Application: [unknown] - Total duration: 8ms - Times executed: 122 ]
-
SELECT pid, datid, datname, relid, phase, heap_blks_total, heap_blks_scanned, heap_blks_vacuumed, index_vacuum_count, max_dead_tuples, num_dead_tuples, null as max_dead_tuple_bytes, null as dead_tuple_bytes, null as num_dead_item_ids, null as indexes_total, null as indexes_processed FROM pg_catalog.pg_stat_progress_vacuum;
Date: 2025-09-17 06:45:29 Duration: 5ms Database: postgres User: postgres Remote: azuresu Application: 169.254.128.1 Queryid: [unknown]
-
SELECT pid, datid, datname, relid, phase, heap_blks_total, heap_blks_scanned, heap_blks_vacuumed, index_vacuum_count, max_dead_tuples, num_dead_tuples, null as max_dead_tuple_bytes, null as dead_tuple_bytes, null as num_dead_item_ids, null as indexes_total, null as indexes_processed FROM pg_catalog.pg_stat_progress_vacuum;
Date: 2025-09-17 06:40:29 Duration: 3ms Database: postgres User: postgres Remote: azuresu Application: 169.254.128.1 Queryid: [unknown]
-
SELECT pid, datid, datname, relid, phase, heap_blks_total, heap_blks_scanned, heap_blks_vacuumed, index_vacuum_count, max_dead_tuples, num_dead_tuples, null as max_dead_tuple_bytes, null as dead_tuple_bytes, null as num_dead_item_ids, null as indexes_total, null as indexes_processed FROM pg_catalog.pg_stat_progress_vacuum;
Date: 2025-09-17 06:35:28 Duration: 3ms Database: postgres User: postgres Remote: azuresu Application: 169.254.128.1 Queryid: [unknown]
19 64ms 287 0ms 1ms 0ms SELECT CASE WHEN pg_catalog.pg_is_in_recovery() THEN NULL ELSE pg_catalog.txid_current() END as txid_current;Times Reported Time consuming prepare #19
Day Hour Count Duration Avg duration 00 12 3ms 0ms 01 12 2ms 0ms 02 12 2ms 0ms 03 12 3ms 0ms 04 12 2ms 0ms 05 12 2ms 0ms 06 12 5ms 0ms 07 12 4ms 0ms 08 12 2ms 0ms 09 12 2ms 0ms 10 11 2ms 0ms 11 12 3ms 0ms 12 12 1ms 0ms 13 12 2ms 0ms 14 12 2ms 0ms 15 12 2ms 0ms 16 12 2ms 0ms 17 12 2ms 0ms 18 12 1ms 0ms 19 12 2ms 0ms 20 12 2ms 0ms 21 12 2ms 0ms 22 12 2ms 0ms 23 12 2ms 0ms [ User: azuresu - Total duration: 9ms - Times executed: 287 ]
[ Application: [unknown] - Total duration: 9ms - Times executed: 287 ]
-
SELECT CASE WHEN pg_catalog.pg_is_in_recovery() THEN NULL ELSE pg_catalog.txid_current() END as txid_current;
Date: 2025-09-17 06:36:17 Duration: 1ms Database: postgres User: postgres Remote: azuresu Application: 169.254.128.1 Queryid: [unknown]
-
SELECT CASE WHEN pg_catalog.pg_is_in_recovery() THEN NULL ELSE pg_catalog.txid_current() END as txid_current;
Date: 2025-09-17 07:01:18 Duration: 1ms Database: postgres User: postgres Remote: azuresu Application: 169.254.128.1 Queryid: [unknown]
-
SELECT CASE WHEN pg_catalog.pg_is_in_recovery() THEN NULL ELSE pg_catalog.txid_current() END as txid_current;
Date: 2025-09-17 07:16:18 Duration: 1ms Database: postgres User: postgres Remote: azuresu Application: 169.254.128.1 Queryid: [unknown]
20 62ms 164 0ms 0ms 0ms SELECT pid, datid, datname, relid, phase, heap_blks_total, heap_blks_scanned, heap_blks_vacuumed, index_vacuum_count, null as max_dead_tuples, null as num_dead_tuples, max_dead_tuple_bytes, dead_tuple_bytes, num_dead_item_ids, indexes_total, indexes_processed from pg_catalog.pg_stat_progress_vacuum;Times Reported Time consuming prepare #20
Day Hour Count Duration Avg duration 10 8 3ms 0ms 11 12 4ms 0ms 12 12 4ms 0ms 13 12 4ms 0ms 14 12 4ms 0ms 15 12 5ms 0ms 16 12 4ms 0ms 17 12 4ms 0ms 18 12 4ms 0ms 19 12 4ms 0ms 20 12 4ms 0ms 21 12 4ms 0ms 22 12 4ms 0ms 23 12 4ms 0ms [ User: azuresu - Total duration: 8ms - Times executed: 164 ]
[ Application: [unknown] - Total duration: 8ms - Times executed: 164 ]
-
SELECT pid, datid, datname, relid, phase, heap_blks_total, heap_blks_scanned, heap_blks_vacuumed, index_vacuum_count, null as max_dead_tuples, null as num_dead_tuples, max_dead_tuple_bytes, dead_tuple_bytes, num_dead_item_ids, indexes_total, indexes_processed from pg_catalog.pg_stat_progress_vacuum;
Date: 2025-09-17 15:00:34 Duration: 0ms Database: postgres User: postgres Remote: azuresu Application: 169.254.128.1 Queryid: [unknown]
-
SELECT pid, datid, datname, relid, phase, heap_blks_total, heap_blks_scanned, heap_blks_vacuumed, index_vacuum_count, null as max_dead_tuples, null as num_dead_tuples, max_dead_tuple_bytes, dead_tuple_bytes, num_dead_item_ids, indexes_total, indexes_processed from pg_catalog.pg_stat_progress_vacuum;
Date: 2025-09-17 23:20:46 Duration: 0ms Database: postgres User: postgres Remote: azuresu Application: 169.254.128.1 Queryid: [unknown]
-
SELECT pid, datid, datname, relid, phase, heap_blks_total, heap_blks_scanned, heap_blks_vacuumed, index_vacuum_count, null as max_dead_tuples, null as num_dead_tuples, max_dead_tuple_bytes, dead_tuple_bytes, num_dead_item_ids, indexes_total, indexes_processed from pg_catalog.pg_stat_progress_vacuum;
Date: 2025-09-17 11:25:29 Duration: 0ms Database: postgres User: postgres 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 3s199ms 2,776 0ms 8ms 1ms SELECT MAX( CASE WHEN slot.slot_type = 'physical' AND (slot.slot_name LIKE 'azure_asyncreplica%' or slot.slot_name LIKE 'azure_geoasyncreplica%') THEN CASE WHEN stat.replay_lsn IS NULL THEN pg_catalog.pg_wal_lsn_diff (pg_catalog.pg_current_wal_lsn (), slot.restart_lsn)::bigint ELSE pg_catalog.pg_wal_lsn_diff (pg_catalog.pg_current_wal_lsn (), stat.replay_lsn)::bigint END ELSE NULL END) AS physical_replication_delay_in_bytes, MAX( CASE WHEN slot.slot_type = 'logical' THEN CASE WHEN stat.replay_lsn IS NULL THEN pg_catalog.pg_wal_lsn_diff (pg_catalog.pg_current_wal_lsn (), slot.restart_lsn)::bigint ELSE pg_catalog.pg_wal_lsn_diff (pg_catalog.pg_current_wal_lsn (), stat.replay_lsn)::bigint END ELSE NULL END) AS logical_replication_delay_in_bytes FROM pg_catalog.pg_replication_slots AS slot LEFT JOIN pg_catalog.pg_stat_replication AS stat ON stat.pid = slot.active_pid;Times Reported Time consuming bind #1
Day Hour Count Duration Avg duration Sep 17 02 117 136ms 1ms 03 116 129ms 1ms 04 117 140ms 1ms 05 117 129ms 1ms 06 116 135ms 1ms 07 117 139ms 1ms 08 116 135ms 1ms 09 117 133ms 1ms 10 117 136ms 1ms 11 116 135ms 1ms 12 96 110ms 1ms 13 116 145ms 1ms 14 117 130ms 1ms 15 117 135ms 1ms 16 116 123ms 1ms 17 116 130ms 1ms 18 117 136ms 1ms 19 116 125ms 1ms 20 116 131ms 1ms 21 117 126ms 1ms 22 116 131ms 1ms 23 117 125ms 1ms 00 116 151ms 1ms 01 117 143ms 1ms [ User: azuresu - Total duration: 172ms - Times executed: 2776 ]
[ Application: [unknown] - Total duration: 172ms - Times executed: 2776 ]
-
SELECT MAX( CASE WHEN slot.slot_type = 'physical' AND (slot.slot_name LIKE 'azure_asyncreplica%' or slot.slot_name LIKE 'azure_geoasyncreplica%') THEN CASE WHEN stat.replay_lsn IS NULL THEN pg_catalog.pg_wal_lsn_diff (pg_catalog.pg_current_wal_lsn (), slot.restart_lsn)::bigint ELSE pg_catalog.pg_wal_lsn_diff (pg_catalog.pg_current_wal_lsn (), stat.replay_lsn)::bigint END ELSE NULL END) AS physical_replication_delay_in_bytes, MAX( CASE WHEN slot.slot_type = 'logical' THEN CASE WHEN stat.replay_lsn IS NULL THEN pg_catalog.pg_wal_lsn_diff (pg_catalog.pg_current_wal_lsn (), slot.restart_lsn)::bigint ELSE pg_catalog.pg_wal_lsn_diff (pg_catalog.pg_current_wal_lsn (), stat.replay_lsn)::bigint END ELSE NULL END) AS logical_replication_delay_in_bytes FROM pg_catalog.pg_replication_slots AS slot LEFT JOIN pg_catalog.pg_stat_replication AS stat ON stat.pid = slot.active_pid;
Date: 2025-09-17 23:49:25 Duration: 8ms Database: postgres User: postgres Remote: azuresu Application: 169.254.128.1 Queryid: [unknown]
-
SELECT MAX( CASE WHEN slot.slot_type = 'physical' AND (slot.slot_name LIKE 'azure_asyncreplica%' or slot.slot_name LIKE 'azure_geoasyncreplica%') THEN CASE WHEN stat.replay_lsn IS NULL THEN pg_catalog.pg_wal_lsn_diff (pg_catalog.pg_current_wal_lsn (), slot.restart_lsn)::bigint ELSE pg_catalog.pg_wal_lsn_diff (pg_catalog.pg_current_wal_lsn (), stat.replay_lsn)::bigint END ELSE NULL END) AS physical_replication_delay_in_bytes, MAX( CASE WHEN slot.slot_type = 'logical' THEN CASE WHEN stat.replay_lsn IS NULL THEN pg_catalog.pg_wal_lsn_diff (pg_catalog.pg_current_wal_lsn (), slot.restart_lsn)::bigint ELSE pg_catalog.pg_wal_lsn_diff (pg_catalog.pg_current_wal_lsn (), stat.replay_lsn)::bigint END ELSE NULL END) AS logical_replication_delay_in_bytes FROM pg_catalog.pg_replication_slots AS slot LEFT JOIN pg_catalog.pg_stat_replication AS stat ON stat.pid = slot.active_pid;
Date: 2025-09-17 12:00:01 Duration: 8ms Database: postgres User: postgres Remote: azuresu Application: 169.254.128.1 Queryid: [unknown]
-
SELECT MAX( CASE WHEN slot.slot_type = 'physical' AND (slot.slot_name LIKE 'azure_asyncreplica%' or slot.slot_name LIKE 'azure_geoasyncreplica%') THEN CASE WHEN stat.replay_lsn IS NULL THEN pg_catalog.pg_wal_lsn_diff (pg_catalog.pg_current_wal_lsn (), slot.restart_lsn)::bigint ELSE pg_catalog.pg_wal_lsn_diff (pg_catalog.pg_current_wal_lsn (), stat.replay_lsn)::bigint END ELSE NULL END) AS physical_replication_delay_in_bytes, MAX( CASE WHEN slot.slot_type = 'logical' THEN CASE WHEN stat.replay_lsn IS NULL THEN pg_catalog.pg_wal_lsn_diff (pg_catalog.pg_current_wal_lsn (), slot.restart_lsn)::bigint ELSE pg_catalog.pg_wal_lsn_diff (pg_catalog.pg_current_wal_lsn (), stat.replay_lsn)::bigint END ELSE NULL END) AS logical_replication_delay_in_bytes FROM pg_catalog.pg_replication_slots AS slot LEFT JOIN pg_catalog.pg_stat_replication AS stat ON stat.pid = slot.active_pid;
Date: 2025-09-17 23:01:42 Duration: 6ms Database: postgres User: postgres Remote: azuresu Application: 169.254.128.1 Queryid: [unknown]
2 2s75ms 2,776 0ms 9ms 0ms SELECT COALESCE(SUM(numbackends), 0) as active_connections FROM pg_catalog.pg_stat_database;Times Reported Time consuming bind #2
Day Hour Count Duration Avg duration 00 117 89ms 0ms 01 116 87ms 0ms 02 117 89ms 0ms 03 117 91ms 0ms 04 116 82ms 0ms 05 117 84ms 0ms 06 116 87ms 0ms 07 117 84ms 0ms 08 117 92ms 0ms 09 116 86ms 0ms 10 96 65ms 0ms 11 116 95ms 0ms 12 117 80ms 0ms 13 117 97ms 0ms 14 116 81ms 0ms 15 116 81ms 0ms 16 117 88ms 0ms 17 116 90ms 0ms 18 116 82ms 0ms 19 117 81ms 0ms 20 116 92ms 0ms 21 117 79ms 0ms 22 116 96ms 0ms 23 117 84ms 0ms [ User: azuresu - Total duration: 403ms - Times executed: 2776 ]
[ Application: [unknown] - Total duration: 403ms - Times executed: 2776 ]
-
SELECT COALESCE(SUM(numbackends), 0) as active_connections FROM pg_catalog.pg_stat_database;
Date: 2025-09-17 13:38:50 Duration: 9ms Database: postgres User: postgres Remote: azuresu Application: 169.254.128.1 Queryid: [unknown]
-
SELECT COALESCE(SUM(numbackends), 0) as active_connections FROM pg_catalog.pg_stat_database;
Date: 2025-09-17 06:17:49 Duration: 4ms Database: postgres User: postgres Remote: azuresu Application: 169.254.128.1 Queryid: [unknown]
-
SELECT COALESCE(SUM(numbackends), 0) as active_connections FROM pg_catalog.pg_stat_database;
Date: 2025-09-17 00:52:16 Duration: 3ms Database: postgres User: postgres Remote: azuresu Application: 169.254.128.1 Queryid: [unknown]
3 1s18ms 8,814 0ms 2ms 0ms SELECT 1;Times Reported Time consuming bind #3
Day Hour Count Duration Avg duration 00 369 42ms 0ms 01 370 39ms 0ms 02 370 43ms 0ms 03 370 41ms 0ms 04 369 42ms 0ms 05 370 39ms 0ms 06 370 42ms 0ms 07 370 39ms 0ms 08 370 42ms 0ms 09 369 40ms 0ms 10 311 33ms 0ms 11 370 38ms 0ms 12 370 38ms 0ms 13 370 45ms 0ms 14 369 33ms 0ms 15 370 41ms 0ms 16 370 48ms 0ms 17 370 46ms 0ms 18 369 46ms 0ms 19 369 40ms 0ms 20 370 44ms 0ms 21 370 50ms 0ms 22 369 47ms 0ms 23 370 49ms 0ms [ User: azuresu - Total duration: 274ms - Times executed: 8814 ]
[ Application: [unknown] - Total duration: 274ms - Times executed: 8814 ]
-
SELECT 1;
Date: 2025-09-17 18:48:26 Duration: 2ms Database: postgres User: postgres Remote: azuresu Application: 169.254.128.1 Queryid: [unknown]
-
SELECT 1;
Date: 2025-09-17 16:00:24 Duration: 2ms Database: postgres User: postgres Remote: azuresu Application: 169.254.128.1 Queryid: [unknown]
-
SELECT 1;
Date: 2025-09-17 23:06:22 Duration: 2ms Database: postgres User: postgres Remote: azuresu Application: 169.254.128.1 Queryid: [unknown]
4 811ms 4,059 0ms 3ms 0ms select archived_count from pg_catalog.pg_stat_archiver where (last_failed_time - last_archived_time) >= '10 minute'::interval;Times Reported Time consuming bind #4
Day Hour Count Duration Avg duration 00 170 35ms 0ms 01 170 36ms 0ms 02 171 36ms 0ms 03 170 33ms 0ms 04 170 34ms 0ms 05 171 36ms 0ms 06 170 38ms 0ms 07 170 33ms 0ms 08 170 30ms 0ms 09 170 37ms 0ms 10 142 28ms 0ms 11 170 32ms 0ms 12 171 33ms 0ms 13 170 32ms 0ms 14 171 34ms 0ms 15 170 31ms 0ms 16 171 32ms 0ms 17 170 30ms 0ms 18 170 33ms 0ms 19 170 30ms 0ms 20 171 33ms 0ms 21 170 37ms 0ms 22 171 32ms 0ms 23 170 36ms 0ms [ User: azuresu - Total duration: 125ms - Times executed: 4059 ]
[ Application: [unknown] - Total duration: 125ms - Times executed: 4059 ]
-
select archived_count from pg_catalog.pg_stat_archiver where (last_failed_time - last_archived_time) >= '10 minute'::interval;
Date: 2025-09-17 09:08:55 Duration: 3ms Database: postgres User: postgres Remote: azuresu Application: 169.254.128.1 Queryid: [unknown]
-
select archived_count from pg_catalog.pg_stat_archiver where (last_failed_time - last_archived_time) >= '10 minute'::interval;
Date: 2025-09-17 05:13:43 Duration: 2ms Database: postgres User: postgres Remote: azuresu Application: 169.254.128.1 Queryid: [unknown]
-
select archived_count from pg_catalog.pg_stat_archiver where (last_failed_time - last_archived_time) >= '10 minute'::interval;
Date: 2025-09-17 02:08:14 Duration: 2ms Database: postgres User: postgres Remote: azuresu Application: 169.254.128.1 Queryid: [unknown]
5 535ms 8,334 0ms 4ms 0ms SELECT pg_catalog.pg_is_in_recovery() as is_in_Recovery;Times Reported Time consuming bind #5
Day Hour Count Duration Avg duration 00 348 27ms 0ms 01 348 21ms 0ms 02 347 18ms 0ms 03 349 20ms 0ms 04 348 19ms 0ms 05 347 23ms 0ms 06 346 23ms 0ms 07 348 20ms 0ms 08 349 22ms 0ms 09 347 22ms 0ms 10 293 20ms 0ms 11 352 20ms 0ms 12 352 27ms 0ms 13 353 19ms 0ms 14 349 26ms 0ms 15 353 25ms 0ms 16 353 18ms 0ms 17 350 22ms 0ms 18 352 23ms 0ms 19 352 24ms 0ms 20 352 20ms 0ms 21 349 20ms 0ms 22 348 23ms 0ms 23 349 22ms 0ms [ User: azuresu - Total duration: 120ms - Times executed: 8334 ]
[ Application: [unknown] - Total duration: 120ms - Times executed: 8334 ]
-
SELECT pg_catalog.pg_is_in_recovery() as is_in_Recovery;
Date: 2025-09-17 00:00:10 Duration: 4ms Database: postgres User: postgres Remote: azuresu Application: 169.254.128.1 Queryid: [unknown]
-
SELECT pg_catalog.pg_is_in_recovery() as is_in_Recovery;
Date: 2025-09-17 00:14:01 Duration: 1ms Database: postgres User: postgres Remote: azuresu Application: 169.254.128.1 Queryid: [unknown]
-
SELECT pg_catalog.pg_is_in_recovery() as is_in_Recovery;
Date: 2025-09-17 14:03:34 Duration: 1ms Database: postgres User: postgres Remote: azuresu Application: 169.254.128.1 Queryid: [unknown]
6 421ms 2,776 0ms 3ms 0ms SELECT max(age(datfrozenxid)) as maximum_used_transactionIDs FROM pg_catalog.pg_database;Times Reported Time consuming bind #6
Day Hour Count Duration Avg duration 00 117 16ms 0ms 01 116 15ms 0ms 02 117 17ms 0ms 03 117 16ms 0ms 04 116 16ms 0ms 05 117 20ms 0ms 06 116 22ms 0ms 07 117 15ms 0ms 08 117 18ms 0ms 09 116 17ms 0ms 10 96 14ms 0ms 11 116 18ms 0ms 12 117 20ms 0ms 13 117 21ms 0ms 14 116 15ms 0ms 15 116 14ms 0ms 16 117 19ms 0ms 17 116 17ms 0ms 18 116 15ms 0ms 19 117 14ms 0ms 20 116 19ms 0ms 21 117 15ms 0ms 22 116 22ms 0ms 23 117 17ms 0ms [ User: azuresu - Total duration: 85ms - Times executed: 2776 ]
[ Application: [unknown] - Total duration: 85ms - Times executed: 2776 ]
-
SELECT max(age(datfrozenxid)) as maximum_used_transactionIDs FROM pg_catalog.pg_database;
Date: 2025-09-17 12:28:49 Duration: 3ms Database: postgres User: postgres Remote: azuresu Application: 169.254.128.1 Queryid: [unknown]
-
SELECT max(age(datfrozenxid)) as maximum_used_transactionIDs FROM pg_catalog.pg_database;
Date: 2025-09-17 22:28:37 Duration: 2ms Database: postgres User: postgres Remote: azuresu Application: 169.254.128.1 Queryid: [unknown]
-
SELECT max(age(datfrozenxid)) as maximum_used_transactionIDs FROM pg_catalog.pg_database;
Date: 2025-09-17 13:32:39 Duration: 2ms Database: postgres User: postgres Remote: azuresu Application: 169.254.128.1 Queryid: [unknown]
7 328ms 286 0ms 4ms 1ms SELECT COUNT(*) filter (WHERE state in ('idle', 'idle in transaction', 'idle in transaction (aborted)', 'disabled')) AS idle_cnt, COUNT(*) filter (WHERE state = 'active') AS active_cnt, COUNT(*) filter (WHERE state in ('idle', 'idle in transaction', 'idle in transaction (aborted)', 'disabled') AND usename = 'azuresu') AS admin_idle_cnt, COUNT(*) filter (WHERE state = 'active' AND usename = 'azuresu') AS admin_active_cnt, COUNT(*) filter (WHERE state in ('idle', 'idle in transaction', 'idle in transaction (aborted)', 'disabled') AND usename != 'azuresu') AS user_idle_cnt, COUNT(*) filter (WHERE state = 'active' AND usename != 'azuresu') AS user_active_cnt FROM pg_catalog.pg_stat_activity;Times Reported Time consuming bind #7
Day Hour Count Duration Avg duration 00 12 13ms 1ms 01 12 13ms 1ms 02 12 17ms 1ms 03 12 13ms 1ms 04 12 12ms 1ms 05 12 14ms 1ms 06 12 14ms 1ms 07 12 15ms 1ms 08 12 14ms 1ms 09 12 16ms 1ms 10 10 10ms 1ms 11 12 12ms 1ms 12 12 11ms 0ms 13 12 12ms 1ms 14 12 14ms 1ms 15 12 13ms 1ms 16 12 12ms 1ms 17 12 12ms 1ms 18 12 13ms 1ms 19 12 14ms 1ms 20 12 13ms 1ms 21 12 12ms 1ms 22 12 12ms 1ms 23 12 16ms 1ms [ User: azuresu - Total duration: 79ms - Times executed: 286 ]
[ Application: [unknown] - Total duration: 79ms - Times executed: 286 ]
-
SELECT COUNT(*) filter (WHERE state in ('idle', 'idle in transaction', 'idle in transaction (aborted)', 'disabled')) AS idle_cnt, COUNT(*) filter (WHERE state = 'active') AS active_cnt, COUNT(*) filter (WHERE state in ('idle', 'idle in transaction', 'idle in transaction (aborted)', 'disabled') AND usename = 'azuresu') AS admin_idle_cnt, COUNT(*) filter (WHERE state = 'active' AND usename = 'azuresu') AS admin_active_cnt, COUNT(*) filter (WHERE state in ('idle', 'idle in transaction', 'idle in transaction (aborted)', 'disabled') AND usename != 'azuresu') AS user_idle_cnt, COUNT(*) filter (WHERE state = 'active' AND usename != 'azuresu') AS user_active_cnt FROM pg_catalog.pg_stat_activity;
Date: 2025-09-17 19:50:40 Duration: 4ms Database: postgres User: postgres Remote: azuresu Application: 169.254.128.1 Queryid: [unknown]
-
SELECT COUNT(*) filter (WHERE state in ('idle', 'idle in transaction', 'idle in transaction (aborted)', 'disabled')) AS idle_cnt, COUNT(*) filter (WHERE state = 'active') AS active_cnt, COUNT(*) filter (WHERE state in ('idle', 'idle in transaction', 'idle in transaction (aborted)', 'disabled') AND usename = 'azuresu') AS admin_idle_cnt, COUNT(*) filter (WHERE state = 'active' AND usename = 'azuresu') AS admin_active_cnt, COUNT(*) filter (WHERE state in ('idle', 'idle in transaction', 'idle in transaction (aborted)', 'disabled') AND usename != 'azuresu') AS user_idle_cnt, COUNT(*) filter (WHERE state = 'active' AND usename != 'azuresu') AS user_active_cnt FROM pg_catalog.pg_stat_activity;
Date: 2025-09-17 23:25:47 Duration: 4ms Database: postgres User: postgres Remote: azuresu Application: 169.254.128.1 Queryid: [unknown]
-
SELECT COUNT(*) filter (WHERE state in ('idle', 'idle in transaction', 'idle in transaction (aborted)', 'disabled')) AS idle_cnt, COUNT(*) filter (WHERE state = 'active') AS active_cnt, COUNT(*) filter (WHERE state in ('idle', 'idle in transaction', 'idle in transaction (aborted)', 'disabled') AND usename = 'azuresu') AS admin_idle_cnt, COUNT(*) filter (WHERE state = 'active' AND usename = 'azuresu') AS admin_active_cnt, COUNT(*) filter (WHERE state in ('idle', 'idle in transaction', 'idle in transaction (aborted)', 'disabled') AND usename != 'azuresu') AS user_idle_cnt, COUNT(*) filter (WHERE state = 'active' AND usename != 'azuresu') AS user_active_cnt FROM pg_catalog.pg_stat_activity;
Date: 2025-09-17 15:45:35 Duration: 3ms Database: postgres User: postgres Remote: azuresu Application: 169.254.128.1 Queryid: [unknown]
8 226ms 286 0ms 8ms 0ms WITH current_lsn_cte AS ( SELECT CASE WHEN pg_catalog.pg_is_in_recovery() = 't' THEN CASE WHEN pg_catalog.pg_last_wal_receive_lsn () IS NULL THEN pg_catalog.pg_last_wal_replay_lsn () WHEN pg_catalog.pg_last_wal_replay_lsn () IS NULL THEN pg_catalog.pg_last_wal_receive_lsn () WHEN pg_catalog.pg_wal_lsn_diff (pg_catalog.pg_last_wal_receive_lsn (), pg_catalog.pg_last_wal_replay_lsn ()) >= 0 THEN pg_catalog.pg_last_wal_receive_lsn () ELSE pg_catalog.pg_last_wal_replay_lsn () END ELSE pg_catalog.pg_current_wal_lsn () END AS current_lsn ) SELECT slot.slot_name AS slot_name, slot.active AS active, slot.slot_type AS slot_type, current_lsn_cte.current_lsn::text AS current_wal_lsn, pg_catalog.pg_wal_lsn_diff (current_lsn_cte.current_lsn, stat.replay_lsn) AS total_lag_in_bytes, pg_catalog.pg_wal_lsn_diff (current_lsn_cte.current_lsn, stat.sent_lsn) AS sending_lag_in_bytes, pg_catalog.pg_wal_lsn_diff (stat.sent_lsn, stat.flush_lsn) AS receiving_lag_in_bytes, pg_catalog.pg_wal_lsn_diff (stat.flush_lsn, stat.replay_lsn) AS replaying_lag_in_bytes, stat.state AS wal_sender_state, stat.sync_state AS sync_state, stat.sent_lsn::text AS sent_lsn, stat.write_lsn::text AS write_lsn, stat.flush_lsn::text AS flush_lsn, stat.replay_lsn::text AS replay_lsn, stat.write_lag AS write_lag, stat.flush_lag AS flush_lag, stat.replay_lag AS replay_lag, stat.sync_priority AS sync_priority, stat.backend_start AS backend_start, stat.backend_xmin::text AS backend_xmin, slot.xmin::text AS xmin, stat.pid AS pid, stat.usesysid AS usesysid, stat.application_name AS application_name, CAST(slot.restart_lsn AS varchar(20)) AS restart_lsn FROM pg_catalog.pg_replication_slots AS slot LEFT JOIN pg_catalog.pg_stat_replication AS stat ON stat.pid = slot.active_pid, current_lsn_cte;Times Reported Time consuming bind #8
Day Hour Count Duration Avg duration 00 12 8ms 0ms 01 12 8ms 0ms 02 12 10ms 0ms 03 12 9ms 0ms 04 12 9ms 0ms 05 12 9ms 0ms 06 12 9ms 0ms 07 12 9ms 0ms 08 12 9ms 0ms 09 12 10ms 0ms 10 10 7ms 0ms 11 12 9ms 0ms 12 12 8ms 0ms 13 12 9ms 0ms 14 12 8ms 0ms 15 12 8ms 0ms 16 12 9ms 0ms 17 12 9ms 0ms 18 12 8ms 0ms 19 12 8ms 0ms 20 12 9ms 0ms 21 12 8ms 0ms 22 12 8ms 0ms 23 12 16ms 1ms [ User: azuresu - Total duration: 10ms - Times executed: 286 ]
[ Application: [unknown] - Total duration: 10ms - Times executed: 286 ]
-
WITH current_lsn_cte AS ( SELECT CASE WHEN pg_catalog.pg_is_in_recovery() = 't' THEN CASE WHEN pg_catalog.pg_last_wal_receive_lsn () IS NULL THEN pg_catalog.pg_last_wal_replay_lsn () WHEN pg_catalog.pg_last_wal_replay_lsn () IS NULL THEN pg_catalog.pg_last_wal_receive_lsn () WHEN pg_catalog.pg_wal_lsn_diff (pg_catalog.pg_last_wal_receive_lsn (), pg_catalog.pg_last_wal_replay_lsn ()) >= 0 THEN pg_catalog.pg_last_wal_receive_lsn () ELSE pg_catalog.pg_last_wal_replay_lsn () END ELSE pg_catalog.pg_current_wal_lsn () END AS current_lsn ) SELECT slot.slot_name AS slot_name, slot.active AS active, slot.slot_type AS slot_type, current_lsn_cte.current_lsn::text AS current_wal_lsn, pg_catalog.pg_wal_lsn_diff (current_lsn_cte.current_lsn, stat.replay_lsn) AS total_lag_in_bytes, pg_catalog.pg_wal_lsn_diff (current_lsn_cte.current_lsn, stat.sent_lsn) AS sending_lag_in_bytes, pg_catalog.pg_wal_lsn_diff (stat.sent_lsn, stat.flush_lsn) AS receiving_lag_in_bytes, pg_catalog.pg_wal_lsn_diff (stat.flush_lsn, stat.replay_lsn) AS replaying_lag_in_bytes, stat.state AS wal_sender_state, stat.sync_state AS sync_state, stat.sent_lsn::text AS sent_lsn, stat.write_lsn::text AS write_lsn, stat.flush_lsn::text AS flush_lsn, stat.replay_lsn::text AS replay_lsn, stat.write_lag AS write_lag, stat.flush_lag AS flush_lag, stat.replay_lag AS replay_lag, stat.sync_priority AS sync_priority, stat.backend_start AS backend_start, stat.backend_xmin::text AS backend_xmin, slot.xmin::text AS xmin, stat.pid AS pid, stat.usesysid AS usesysid, stat.application_name AS application_name, CAST(slot.restart_lsn AS varchar(20)) AS restart_lsn FROM pg_catalog.pg_replication_slots AS slot LEFT JOIN pg_catalog.pg_stat_replication AS stat ON stat.pid = slot.active_pid, current_lsn_cte;
Date: 2025-09-17 23:55:48 Duration: 8ms Database: postgres User: postgres Remote: azuresu Application: 169.254.128.1 Queryid: [unknown]
-
WITH current_lsn_cte AS ( SELECT CASE WHEN pg_catalog.pg_is_in_recovery() = 't' THEN CASE WHEN pg_catalog.pg_last_wal_receive_lsn () IS NULL THEN pg_catalog.pg_last_wal_replay_lsn () WHEN pg_catalog.pg_last_wal_replay_lsn () IS NULL THEN pg_catalog.pg_last_wal_receive_lsn () WHEN pg_catalog.pg_wal_lsn_diff (pg_catalog.pg_last_wal_receive_lsn (), pg_catalog.pg_last_wal_replay_lsn ()) >= 0 THEN pg_catalog.pg_last_wal_receive_lsn () ELSE pg_catalog.pg_last_wal_replay_lsn () END ELSE pg_catalog.pg_current_wal_lsn () END AS current_lsn ) SELECT slot.slot_name AS slot_name, slot.active AS active, slot.slot_type AS slot_type, current_lsn_cte.current_lsn::text AS current_wal_lsn, pg_catalog.pg_wal_lsn_diff (current_lsn_cte.current_lsn, stat.replay_lsn) AS total_lag_in_bytes, pg_catalog.pg_wal_lsn_diff (current_lsn_cte.current_lsn, stat.sent_lsn) AS sending_lag_in_bytes, pg_catalog.pg_wal_lsn_diff (stat.sent_lsn, stat.flush_lsn) AS receiving_lag_in_bytes, pg_catalog.pg_wal_lsn_diff (stat.flush_lsn, stat.replay_lsn) AS replaying_lag_in_bytes, stat.state AS wal_sender_state, stat.sync_state AS sync_state, stat.sent_lsn::text AS sent_lsn, stat.write_lsn::text AS write_lsn, stat.flush_lsn::text AS flush_lsn, stat.replay_lsn::text AS replay_lsn, stat.write_lag AS write_lag, stat.flush_lag AS flush_lag, stat.replay_lag AS replay_lag, stat.sync_priority AS sync_priority, stat.backend_start AS backend_start, stat.backend_xmin::text AS backend_xmin, slot.xmin::text AS xmin, stat.pid AS pid, stat.usesysid AS usesysid, stat.application_name AS application_name, CAST(slot.restart_lsn AS varchar(20)) AS restart_lsn FROM pg_catalog.pg_replication_slots AS slot LEFT JOIN pg_catalog.pg_stat_replication AS stat ON stat.pid = slot.active_pid, current_lsn_cte;
Date: 2025-09-17 09:20:37 Duration: 2ms Database: postgres User: postgres Remote: azuresu Application: 169.254.128.1 Queryid: [unknown]
-
WITH current_lsn_cte AS ( SELECT CASE WHEN pg_catalog.pg_is_in_recovery() = 't' THEN CASE WHEN pg_catalog.pg_last_wal_receive_lsn () IS NULL THEN pg_catalog.pg_last_wal_replay_lsn () WHEN pg_catalog.pg_last_wal_replay_lsn () IS NULL THEN pg_catalog.pg_last_wal_receive_lsn () WHEN pg_catalog.pg_wal_lsn_diff (pg_catalog.pg_last_wal_receive_lsn (), pg_catalog.pg_last_wal_replay_lsn ()) >= 0 THEN pg_catalog.pg_last_wal_receive_lsn () ELSE pg_catalog.pg_last_wal_replay_lsn () END ELSE pg_catalog.pg_current_wal_lsn () END AS current_lsn ) SELECT slot.slot_name AS slot_name, slot.active AS active, slot.slot_type AS slot_type, current_lsn_cte.current_lsn::text AS current_wal_lsn, pg_catalog.pg_wal_lsn_diff (current_lsn_cte.current_lsn, stat.replay_lsn) AS total_lag_in_bytes, pg_catalog.pg_wal_lsn_diff (current_lsn_cte.current_lsn, stat.sent_lsn) AS sending_lag_in_bytes, pg_catalog.pg_wal_lsn_diff (stat.sent_lsn, stat.flush_lsn) AS receiving_lag_in_bytes, pg_catalog.pg_wal_lsn_diff (stat.flush_lsn, stat.replay_lsn) AS replaying_lag_in_bytes, stat.state AS wal_sender_state, stat.sync_state AS sync_state, stat.sent_lsn::text AS sent_lsn, stat.write_lsn::text AS write_lsn, stat.flush_lsn::text AS flush_lsn, stat.replay_lsn::text AS replay_lsn, stat.write_lag AS write_lag, stat.flush_lag AS flush_lag, stat.replay_lag AS replay_lag, stat.sync_priority AS sync_priority, stat.backend_start AS backend_start, stat.backend_xmin::text AS backend_xmin, slot.xmin::text AS xmin, stat.pid AS pid, stat.usesysid AS usesysid, stat.application_name AS application_name, CAST(slot.restart_lsn AS varchar(20)) AS restart_lsn FROM pg_catalog.pg_replication_slots AS slot LEFT JOIN pg_catalog.pg_stat_replication AS stat ON stat.pid = slot.active_pid, current_lsn_cte;
Date: 2025-09-17 02:45:21 Duration: 2ms Database: postgres User: postgres Remote: azuresu Application: 169.254.128.1 Queryid: [unknown]
9 163ms 286 0ms 5ms 0ms SELECT slot.slot_name AS slot_name, slot.active AS active, slot.slot_type AS slot_type, pg_catalog.pg_current_wal_lsn ()::text AS current_wal_lsn, pg_catalog.pg_wal_lsn_diff (pg_catalog.pg_current_wal_lsn (), stat.replay_lsn) AS total_lag_in_bytes, pg_catalog.pg_wal_lsn_diff (pg_catalog.pg_current_wal_lsn (), stat.sent_lsn) AS sending_lag_in_bytes, pg_catalog.pg_wal_lsn_diff (stat.sent_lsn, stat.flush_lsn) AS receiving_lag_in_bytes, pg_catalog.pg_wal_lsn_diff (stat.flush_lsn, stat.replay_lsn) AS replaying_lag_in_bytes, stat.state AS wal_sender_state, stat.sync_state AS sync_state, stat.sent_lsn::text AS sent_lsn, stat.write_lsn::text AS write_lsn, stat.flush_lsn::text AS flush_lsn, stat.replay_lsn::text AS replay_lsn, stat.write_lag AS write_lag, stat.flush_lag AS flush_lag, stat.replay_lag AS replay_lag, stat.sync_priority AS sync_priority, stat.backend_start AS backend_start, stat.backend_xmin::text AS backend_xmin, stat.pid AS pid, stat.usesysid AS usesysid, stat.application_name AS application_name, CAST(slot.restart_lsn AS varchar(20)) as restart_lsn FROM CAST(pg_catalog.pg_current_wal_lsn () AS VARCHAR(20)), pg_catalog.pg_stat_replication AS stat LEFT JOIN pg_catalog.pg_replication_slots AS slot ON stat.pid = slot.active_pid;Times Reported Time consuming bind #9
Day Hour Count Duration Avg duration 00 12 6ms 0ms 01 12 5ms 0ms 02 12 6ms 0ms 03 12 6ms 0ms 04 12 6ms 0ms 05 12 6ms 0ms 06 12 7ms 0ms 07 12 12ms 1ms 08 12 6ms 0ms 09 12 6ms 0ms 10 10 5ms 0ms 11 12 8ms 0ms 12 12 6ms 0ms 13 12 6ms 0ms 14 12 6ms 0ms 15 12 5ms 0ms 16 12 6ms 0ms 17 12 6ms 0ms 18 12 6ms 0ms 19 12 6ms 0ms 20 12 6ms 0ms 21 12 6ms 0ms 22 12 6ms 0ms 23 12 8ms 0ms [ User: azuresu - Total duration: 45ms - Times executed: 286 ]
[ Application: [unknown] - Total duration: 45ms - Times executed: 286 ]
-
SELECT slot.slot_name AS slot_name, slot.active AS active, slot.slot_type AS slot_type, pg_catalog.pg_current_wal_lsn ()::text AS current_wal_lsn, pg_catalog.pg_wal_lsn_diff (pg_catalog.pg_current_wal_lsn (), stat.replay_lsn) AS total_lag_in_bytes, pg_catalog.pg_wal_lsn_diff (pg_catalog.pg_current_wal_lsn (), stat.sent_lsn) AS sending_lag_in_bytes, pg_catalog.pg_wal_lsn_diff (stat.sent_lsn, stat.flush_lsn) AS receiving_lag_in_bytes, pg_catalog.pg_wal_lsn_diff (stat.flush_lsn, stat.replay_lsn) AS replaying_lag_in_bytes, stat.state AS wal_sender_state, stat.sync_state AS sync_state, stat.sent_lsn::text AS sent_lsn, stat.write_lsn::text AS write_lsn, stat.flush_lsn::text AS flush_lsn, stat.replay_lsn::text AS replay_lsn, stat.write_lag AS write_lag, stat.flush_lag AS flush_lag, stat.replay_lag AS replay_lag, stat.sync_priority AS sync_priority, stat.backend_start AS backend_start, stat.backend_xmin::text AS backend_xmin, stat.pid AS pid, stat.usesysid AS usesysid, stat.application_name AS application_name, CAST(slot.restart_lsn AS varchar(20)) as restart_lsn FROM CAST(pg_catalog.pg_current_wal_lsn () AS VARCHAR(20)), pg_catalog.pg_stat_replication AS stat LEFT JOIN pg_catalog.pg_replication_slots AS slot ON stat.pid = slot.active_pid;
Date: 2025-09-17 07:35:32 Duration: 5ms Database: postgres User: postgres Remote: azuresu Application: 169.254.128.1 Queryid: [unknown]
-
SELECT slot.slot_name AS slot_name, slot.active AS active, slot.slot_type AS slot_type, pg_catalog.pg_current_wal_lsn ()::text AS current_wal_lsn, pg_catalog.pg_wal_lsn_diff (pg_catalog.pg_current_wal_lsn (), stat.replay_lsn) AS total_lag_in_bytes, pg_catalog.pg_wal_lsn_diff (pg_catalog.pg_current_wal_lsn (), stat.sent_lsn) AS sending_lag_in_bytes, pg_catalog.pg_wal_lsn_diff (stat.sent_lsn, stat.flush_lsn) AS receiving_lag_in_bytes, pg_catalog.pg_wal_lsn_diff (stat.flush_lsn, stat.replay_lsn) AS replaying_lag_in_bytes, stat.state AS wal_sender_state, stat.sync_state AS sync_state, stat.sent_lsn::text AS sent_lsn, stat.write_lsn::text AS write_lsn, stat.flush_lsn::text AS flush_lsn, stat.replay_lsn::text AS replay_lsn, stat.write_lag AS write_lag, stat.flush_lag AS flush_lag, stat.replay_lag AS replay_lag, stat.sync_priority AS sync_priority, stat.backend_start AS backend_start, stat.backend_xmin::text AS backend_xmin, stat.pid AS pid, stat.usesysid AS usesysid, stat.application_name AS application_name, CAST(slot.restart_lsn AS varchar(20)) as restart_lsn FROM CAST(pg_catalog.pg_current_wal_lsn () AS VARCHAR(20)), pg_catalog.pg_stat_replication AS stat LEFT JOIN pg_catalog.pg_replication_slots AS slot ON stat.pid = slot.active_pid;
Date: 2025-09-17 23:55:48 Duration: 2ms Database: postgres User: postgres Remote: azuresu Application: 169.254.128.1 Queryid: [unknown]
-
SELECT slot.slot_name AS slot_name, slot.active AS active, slot.slot_type AS slot_type, pg_catalog.pg_current_wal_lsn ()::text AS current_wal_lsn, pg_catalog.pg_wal_lsn_diff (pg_catalog.pg_current_wal_lsn (), stat.replay_lsn) AS total_lag_in_bytes, pg_catalog.pg_wal_lsn_diff (pg_catalog.pg_current_wal_lsn (), stat.sent_lsn) AS sending_lag_in_bytes, pg_catalog.pg_wal_lsn_diff (stat.sent_lsn, stat.flush_lsn) AS receiving_lag_in_bytes, pg_catalog.pg_wal_lsn_diff (stat.flush_lsn, stat.replay_lsn) AS replaying_lag_in_bytes, stat.state AS wal_sender_state, stat.sync_state AS sync_state, stat.sent_lsn::text AS sent_lsn, stat.write_lsn::text AS write_lsn, stat.flush_lsn::text AS flush_lsn, stat.replay_lsn::text AS replay_lsn, stat.write_lag AS write_lag, stat.flush_lag AS flush_lag, stat.replay_lag AS replay_lag, stat.sync_priority AS sync_priority, stat.backend_start AS backend_start, stat.backend_xmin::text AS backend_xmin, stat.pid AS pid, stat.usesysid AS usesysid, stat.application_name AS application_name, CAST(slot.restart_lsn AS varchar(20)) as restart_lsn FROM CAST(pg_catalog.pg_current_wal_lsn () AS VARCHAR(20)), pg_catalog.pg_stat_replication AS stat LEFT JOIN pg_catalog.pg_replication_slots AS slot ON stat.pid = slot.active_pid;
Date: 2025-09-17 11:10:28 Duration: 1ms Database: postgres User: postgres Remote: azuresu Application: 169.254.128.1 Queryid: [unknown]
10 148ms 2,776 0ms 1ms 0ms SELECT CASE WHEN pg_catalog.pg_is_in_recovery() = 't' THEN EXTRACT(EPOCH FROM now() - pg_catalog.pg_last_xact_replay_timestamp())::bigint END AS physical_replication_delay_in_seconds;Times Reported Time consuming bind #10
Day Hour Count Duration Avg duration 00 117 5ms 0ms 01 116 5ms 0ms 02 117 5ms 0ms 03 117 5ms 0ms 04 116 4ms 0ms 05 117 6ms 0ms 06 116 8ms 0ms 07 117 6ms 0ms 08 117 9ms 0ms 09 116 4ms 0ms 10 96 4ms 0ms 11 116 9ms 0ms 12 117 4ms 0ms 13 117 6ms 0ms 14 116 5ms 0ms 15 116 5ms 0ms 16 117 7ms 0ms 17 116 6ms 0ms 18 116 5ms 0ms 19 117 5ms 0ms 20 116 5ms 0ms 21 117 5ms 0ms 22 116 7ms 0ms 23 117 7ms 0ms [ User: azuresu - Total duration: 23ms - Times executed: 2776 ]
[ Application: [unknown] - Total duration: 23ms - Times executed: 2776 ]
-
SELECT CASE WHEN pg_catalog.pg_is_in_recovery() = 't' THEN EXTRACT(EPOCH FROM now() - pg_catalog.pg_last_xact_replay_timestamp())::bigint END AS physical_replication_delay_in_seconds;
Date: 2025-09-17 08:14:11 Duration: 1ms Database: postgres User: postgres Remote: azuresu Application: 169.254.128.1 Queryid: [unknown]
-
SELECT CASE WHEN pg_catalog.pg_is_in_recovery() = 't' THEN EXTRACT(EPOCH FROM now() - pg_catalog.pg_last_xact_replay_timestamp())::bigint END AS physical_replication_delay_in_seconds;
Date: 2025-09-17 06:27:06 Duration: 1ms Database: postgres User: postgres Remote: azuresu Application: 169.254.128.1 Queryid: [unknown]
-
SELECT CASE WHEN pg_catalog.pg_is_in_recovery() = 't' THEN EXTRACT(EPOCH FROM now() - pg_catalog.pg_last_xact_replay_timestamp())::bigint END AS physical_replication_delay_in_seconds;
Date: 2025-09-17 08:32:11 Duration: 1ms Database: postgres User: postgres Remote: azuresu Application: 169.254.128.1 Queryid: [unknown]
11 138ms 286 0ms 3ms 0ms SELECT ls.file_count, done.done_count, ready.ready_count, file_name as file_name, file_offset as file_offset, pg_wal_lsn_diff as pg_current_xlog_byte_location, pg_catalog.pg_current_wal_lsn ()::text FROM ( SELECT (COUNT(*) - 1) as file_count FROM ( SELECT * FROM pg_catalog.pg_ls_dir('pg_wal/')) AS dir) AS ls, ( SELECT COUNT(*) as done_count FROM pg_catalog.pg_ls_dir('pg_wal/archive_status') AS all_files WHERE all_files LIKE '%.done') AS done, ( SELECT COUNT(*) as ready_count FROM pg_catalog.pg_ls_dir('pg_wal/archive_status') AS all_files WHERE all_files LIKE '%.ready') AS ready, pg_catalog.pg_walfile_name_offset (pg_catalog.pg_current_wal_lsn ()), pg_catalog.pg_wal_lsn_diff (pg_catalog.pg_current_wal_lsn (), '0/0000000'), CAST(pg_catalog.pg_current_wal_lsn () AS VARCHAR(20));Times Reported Time consuming bind #11
Day Hour Count Duration Avg duration 00 12 5ms 0ms 01 12 5ms 0ms 02 12 5ms 0ms 03 12 5ms 0ms 04 12 5ms 0ms 05 12 5ms 0ms 06 12 9ms 0ms 07 12 5ms 0ms 08 12 5ms 0ms 09 12 6ms 0ms 10 10 4ms 0ms 11 12 5ms 0ms 12 12 5ms 0ms 13 12 8ms 0ms 14 12 5ms 0ms 15 12 6ms 0ms 16 12 5ms 0ms 17 12 5ms 0ms 18 12 6ms 0ms 19 12 4ms 0ms 20 12 4ms 0ms 21 12 5ms 0ms 22 12 5ms 0ms 23 12 5ms 0ms [ User: azuresu - Total duration: 72ms - Times executed: 286 ]
[ Application: [unknown] - Total duration: 72ms - Times executed: 286 ]
-
SELECT ls.file_count, done.done_count, ready.ready_count, file_name as file_name, file_offset as file_offset, pg_wal_lsn_diff as pg_current_xlog_byte_location, pg_catalog.pg_current_wal_lsn ()::text FROM ( SELECT (COUNT(*) - 1) as file_count FROM ( SELECT * FROM pg_catalog.pg_ls_dir('pg_wal/')) AS dir) AS ls, ( SELECT COUNT(*) as done_count FROM pg_catalog.pg_ls_dir('pg_wal/archive_status') AS all_files WHERE all_files LIKE '%.done') AS done, ( SELECT COUNT(*) as ready_count FROM pg_catalog.pg_ls_dir('pg_wal/archive_status') AS all_files WHERE all_files LIKE '%.ready') AS ready, pg_catalog.pg_walfile_name_offset (pg_catalog.pg_current_wal_lsn ()), pg_catalog.pg_wal_lsn_diff (pg_catalog.pg_current_wal_lsn (), '0/0000000'), CAST(pg_catalog.pg_current_wal_lsn () AS VARCHAR(20));
Date: 2025-09-17 13:35:32 Duration: 3ms Database: postgres User: postgres Remote: azuresu Application: 169.254.128.1 Queryid: [unknown]
-
SELECT ls.file_count, done.done_count, ready.ready_count, file_name as file_name, file_offset as file_offset, pg_wal_lsn_diff as pg_current_xlog_byte_location, pg_catalog.pg_current_wal_lsn ()::text FROM ( SELECT (COUNT(*) - 1) as file_count FROM ( SELECT * FROM pg_catalog.pg_ls_dir('pg_wal/')) AS dir) AS ls, ( SELECT COUNT(*) as done_count FROM pg_catalog.pg_ls_dir('pg_wal/archive_status') AS all_files WHERE all_files LIKE '%.done') AS done, ( SELECT COUNT(*) as ready_count FROM pg_catalog.pg_ls_dir('pg_wal/archive_status') AS all_files WHERE all_files LIKE '%.ready') AS ready, pg_catalog.pg_walfile_name_offset (pg_catalog.pg_current_wal_lsn ()), pg_catalog.pg_wal_lsn_diff (pg_catalog.pg_current_wal_lsn (), '0/0000000'), CAST(pg_catalog.pg_current_wal_lsn () AS VARCHAR(20));
Date: 2025-09-17 06:45:29 Duration: 1ms Database: postgres User: postgres Remote: azuresu Application: 169.254.128.1 Queryid: [unknown]
-
SELECT ls.file_count, done.done_count, ready.ready_count, file_name as file_name, file_offset as file_offset, pg_wal_lsn_diff as pg_current_xlog_byte_location, pg_catalog.pg_current_wal_lsn ()::text FROM ( SELECT (COUNT(*) - 1) as file_count FROM ( SELECT * FROM pg_catalog.pg_ls_dir('pg_wal/')) AS dir) AS ls, ( SELECT COUNT(*) as done_count FROM pg_catalog.pg_ls_dir('pg_wal/archive_status') AS all_files WHERE all_files LIKE '%.done') AS done, ( SELECT COUNT(*) as ready_count FROM pg_catalog.pg_ls_dir('pg_wal/archive_status') AS all_files WHERE all_files LIKE '%.ready') AS ready, pg_catalog.pg_walfile_name_offset (pg_catalog.pg_current_wal_lsn ()), pg_catalog.pg_wal_lsn_diff (pg_catalog.pg_current_wal_lsn (), '0/0000000'), CAST(pg_catalog.pg_current_wal_lsn () AS VARCHAR(20));
Date: 2025-09-17 21:25:42 Duration: 1ms Database: postgres User: postgres Remote: azuresu Application: 169.254.128.1 Queryid: [unknown]
12 126ms 286 0ms 3ms 0ms WITH max_con AS ( SELECT setting::numeric FROM pg_catalog.pg_settings WHERE name = 'max_connections' ) SELECT COALESCE(SUM(numbackends), 0) as active_connections, ROUND(SUM(numbackends) / MAX(setting), 4) AS pct_connections, MAX(setting) AS max_connections FROM pg_catalog.pg_stat_database, max_con;Times Reported Time consuming bind #12
Day Hour Count Duration Avg duration 00 12 4ms 0ms 01 12 5ms 0ms 02 12 5ms 0ms 03 12 5ms 0ms 04 12 5ms 0ms 05 12 4ms 0ms 06 12 7ms 0ms 07 12 4ms 0ms 08 12 5ms 0ms 09 12 4ms 0ms 10 10 3ms 0ms 11 12 5ms 0ms 12 12 5ms 0ms 13 12 4ms 0ms 14 12 5ms 0ms 15 12 5ms 0ms 16 12 5ms 0ms 17 12 4ms 0ms 18 12 5ms 0ms 19 12 8ms 0ms 20 12 4ms 0ms 21 12 4ms 0ms 22 12 4ms 0ms 23 12 5ms 0ms [ User: azuresu - Total duration: 356ms - Times executed: 286 ]
[ Application: [unknown] - Total duration: 356ms - Times executed: 286 ]
-
WITH max_con AS ( SELECT setting::numeric FROM pg_catalog.pg_settings WHERE name = 'max_connections' ) SELECT COALESCE(SUM(numbackends), 0) as active_connections, ROUND(SUM(numbackends) / MAX(setting), 4) AS pct_connections, MAX(setting) AS max_connections FROM pg_catalog.pg_stat_database, max_con;
Date: 2025-09-17 19:35:40 Duration: 3ms Database: postgres User: postgres Remote: azuresu Application: 169.254.128.1 Queryid: [unknown]
-
WITH max_con AS ( SELECT setting::numeric FROM pg_catalog.pg_settings WHERE name = 'max_connections' ) SELECT COALESCE(SUM(numbackends), 0) as active_connections, ROUND(SUM(numbackends) / MAX(setting), 4) AS pct_connections, MAX(setting) AS max_connections FROM pg_catalog.pg_stat_database, max_con;
Date: 2025-09-17 06:40:29 Duration: 1ms Database: postgres User: postgres Remote: azuresu Application: 169.254.128.1 Queryid: [unknown]
-
WITH max_con AS ( SELECT setting::numeric FROM pg_catalog.pg_settings WHERE name = 'max_connections' ) SELECT COALESCE(SUM(numbackends), 0) as active_connections, ROUND(SUM(numbackends) / MAX(setting), 4) AS pct_connections, MAX(setting) AS max_connections FROM pg_catalog.pg_stat_database, max_con;
Date: 2025-09-17 01:35:19 Duration: 1ms Database: postgres User: postgres Remote: azuresu Application: 169.254.128.1 Queryid: [unknown]
13 119ms 286 0ms 2ms 0ms SELECT COALESCE(NULLIF (application_name, ''), 'other') AS application_name, COUNT(*) filter (WHERE usename = 'azuresu') AS internal_connections, COUNT(*) filter (WHERE usename != 'azuresu') AS external_connections, COUNT(*) AS total_connections FROM pg_catalog.pg_stat_activity group BY 1;Times Reported Time consuming bind #13
Day Hour Count Duration Avg duration 00 12 4ms 0ms 01 12 4ms 0ms 02 12 4ms 0ms 03 12 4ms 0ms 04 12 4ms 0ms 05 12 4ms 0ms 06 12 7ms 0ms 07 12 4ms 0ms 08 12 5ms 0ms 09 12 6ms 0ms 10 10 4ms 0ms 11 12 5ms 0ms 12 12 4ms 0ms 13 12 4ms 0ms 14 12 4ms 0ms 15 12 4ms 0ms 16 12 4ms 0ms 17 12 4ms 0ms 18 12 4ms 0ms 19 12 4ms 0ms 20 12 4ms 0ms 21 12 4ms 0ms 22 12 5ms 0ms 23 12 7ms 0ms [ User: azuresu - Total duration: 53ms - Times executed: 286 ]
[ Application: [unknown] - Total duration: 53ms - Times executed: 286 ]
-
SELECT COALESCE(NULLIF (application_name, ''), 'other') AS application_name, COUNT(*) filter (WHERE usename = 'azuresu') AS internal_connections, COUNT(*) filter (WHERE usename != 'azuresu') AS external_connections, COUNT(*) AS total_connections FROM pg_catalog.pg_stat_activity group BY 1;
Date: 2025-09-17 23:05:46 Duration: 2ms Database: postgres User: postgres Remote: azuresu Application: 169.254.128.1 Queryid: [unknown]
-
SELECT COALESCE(NULLIF (application_name, ''), 'other') AS application_name, COUNT(*) filter (WHERE usename = 'azuresu') AS internal_connections, COUNT(*) filter (WHERE usename != 'azuresu') AS external_connections, COUNT(*) AS total_connections FROM pg_catalog.pg_stat_activity group BY 1;
Date: 2025-09-17 06:40:29 Duration: 2ms Database: postgres User: postgres Remote: azuresu Application: 169.254.128.1 Queryid: [unknown]
-
SELECT COALESCE(NULLIF (application_name, ''), 'other') AS application_name, COUNT(*) filter (WHERE usename = 'azuresu') AS internal_connections, COUNT(*) filter (WHERE usename != 'azuresu') AS external_connections, COUNT(*) AS total_connections FROM pg_catalog.pg_stat_activity group BY 1;
Date: 2025-09-17 22:15:44 Duration: 1ms Database: postgres User: postgres Remote: azuresu Application: 169.254.128.1 Queryid: [unknown]
14 117ms 47 1ms 16ms 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 #14
Day Hour Count Duration Avg duration 00 2 3ms 1ms 01 2 4ms 2ms 02 2 4ms 2ms 03 2 4ms 2ms 04 2 4ms 2ms 05 2 4ms 2ms 06 2 18ms 9ms 07 2 11ms 5ms 08 2 4ms 2ms 09 2 3ms 1ms 10 1 1ms 1ms 11 2 3ms 1ms 12 2 3ms 1ms 13 2 3ms 1ms 14 2 3ms 1ms 15 2 4ms 2ms 16 2 4ms 2ms 17 2 4ms 2ms 18 2 3ms 1ms 19 2 3ms 1ms 20 2 4ms 2ms 21 2 4ms 2ms 22 2 3ms 1ms 23 2 4ms 2ms [ User: azuresu - Total duration: 51ms - Times executed: 47 ]
[ Application: [unknown] - Total duration: 51ms - Times executed: 47 ]
-
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-09-17 06:54:54 Duration: 16ms Database: postgres User: postgres 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-09-17 07:24:56 Duration: 9ms Database: postgres User: postgres 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-09-17 16:00:29 Duration: 2ms Database: postgres User: postgres Remote: azuresu Application: 169.254.128.1 Queryid: [unknown]
15 94ms 286 0ms 1ms 0ms SELECT datid, datname AS database_name, pid, usesysid, application_name, REGEXP_REPLACE(host(client_addr), '(.*)\.(.*)\.(.*)\.(.*)', '\1.\2.\3.X') AS client_addr, now() - backend_start AS session_duration, state, backend_start, xact_start, query_start, state_change, wait_event_type, wait_event, backend_xid, backend_xmin, backend_type, now() AS collection_time FROM pg_stat_activity;Times Reported Time consuming bind #15
Day Hour Count Duration Avg duration 00 12 3ms 0ms 01 12 3ms 0ms 02 12 4ms 0ms 03 12 3ms 0ms 04 12 4ms 0ms 05 12 3ms 0ms 06 12 4ms 0ms 07 12 6ms 0ms 08 12 4ms 0ms 09 12 4ms 0ms 10 10 2ms 0ms 11 12 3ms 0ms 12 12 3ms 0ms 13 12 3ms 0ms 14 12 3ms 0ms 15 12 3ms 0ms 16 12 3ms 0ms 17 12 4ms 0ms 18 12 3ms 0ms 19 12 4ms 0ms 20 12 3ms 0ms 21 12 3ms 0ms 22 12 3ms 0ms 23 12 3ms 0ms [ User: azuresu - Total duration: 134ms - Times executed: 286 ]
[ Application: [unknown] - Total duration: 134ms - Times executed: 286 ]
-
SELECT datid, datname AS database_name, pid, usesysid, application_name, REGEXP_REPLACE(host(client_addr), '(.*)\.(.*)\.(.*)\.(.*)', '\1.\2.\3.X') AS client_addr, now() - backend_start AS session_duration, state, backend_start, xact_start, query_start, state_change, wait_event_type, wait_event, backend_xid, backend_xmin, backend_type, now() AS collection_time FROM pg_stat_activity;
Date: 2025-09-17 07:35:32 Duration: 1ms Database: postgres User: postgres Remote: azuresu Application: 169.254.128.1 Queryid: [unknown]
-
SELECT datid, datname AS database_name, pid, usesysid, application_name, REGEXP_REPLACE(host(client_addr), '(.*)\.(.*)\.(.*)\.(.*)', '\1.\2.\3.X') AS client_addr, now() - backend_start AS session_duration, state, backend_start, xact_start, query_start, state_change, wait_event_type, wait_event, backend_xid, backend_xmin, backend_type, now() AS collection_time FROM pg_stat_activity;
Date: 2025-09-17 19:10:39 Duration: 1ms Database: postgres User: postgres Remote: azuresu Application: 169.254.128.1 Queryid: [unknown]
-
SELECT datid, datname AS database_name, pid, usesysid, application_name, REGEXP_REPLACE(host(client_addr), '(.*)\.(.*)\.(.*)\.(.*)', '\1.\2.\3.X') AS client_addr, now() - backend_start AS session_duration, state, backend_start, xact_start, query_start, state_change, wait_event_type, wait_event, backend_xid, backend_xmin, backend_type, now() AS collection_time FROM pg_stat_activity;
Date: 2025-09-17 04:40:24 Duration: 0ms Database: postgres User: postgres Remote: azuresu Application: 169.254.128.1 Queryid: [unknown]
16 81ms 278 0ms 1ms 0ms SELECT COUNT(*) as superusers_count FROM pg_catalog.pg_roles where rolsuper = 't' and rolname <> 'azuresu';Times Reported Time consuming bind #16
Day Hour Count Duration Avg duration 00 12 3ms 0ms 01 12 3ms 0ms 02 11 4ms 0ms 03 12 3ms 0ms 04 12 3ms 0ms 05 11 3ms 0ms 06 12 4ms 0ms 07 12 3ms 0ms 08 11 2ms 0ms 09 12 4ms 0ms 10 10 3ms 0ms 11 11 3ms 0ms 12 12 3ms 0ms 13 12 3ms 0ms 14 11 3ms 0ms 15 12 2ms 0ms 16 11 3ms 0ms 17 12 3ms 0ms 18 12 3ms 0ms 19 11 3ms 0ms 20 12 3ms 0ms 21 12 2ms 0ms 22 11 3ms 0ms 23 12 3ms 0ms [ User: azuresu - Total duration: 8ms - Times executed: 278 ]
[ Application: [unknown] - Total duration: 8ms - Times executed: 278 ]
-
SELECT COUNT(*) as superusers_count FROM pg_catalog.pg_roles where rolsuper = 't' and rolname <> 'azuresu';
Date: 2025-09-17 02:35:05 Duration: 1ms Database: postgres User: postgres Remote: azuresu Application: 169.254.128.1 Queryid: [unknown]
-
SELECT COUNT(*) as superusers_count FROM pg_catalog.pg_roles where rolsuper = 't' and rolname <> 'azuresu';
Date: 2025-09-17 01:07:39 Duration: 0ms Database: postgres User: postgres Remote: azuresu Application: 169.254.128.1 Queryid: [unknown]
-
SELECT COUNT(*) as superusers_count FROM pg_catalog.pg_roles where rolsuper = 't' and rolname <> 'azuresu';
Date: 2025-09-17 10:44:19 Duration: 0ms Database: postgres User: postgres Remote: azuresu Application: 169.254.128.1 Queryid: [unknown]
17 79ms 11,428 0ms 4ms 0ms set session statement_timeout to 10000;Times Reported Time consuming bind #17
Day Hour Count Duration Avg duration 00 482 5ms 0ms 01 478 2ms 0ms 02 481 2ms 0ms 03 482 2ms 0ms 04 478 2ms 0ms 05 481 2ms 0ms 06 478 3ms 0ms 07 482 8ms 0ms 08 481 2ms 0ms 09 478 3ms 0ms 10 395 2ms 0ms 11 477 3ms 0ms 12 482 2ms 0ms 13 482 3ms 0ms 14 477 2ms 0ms 15 478 2ms 0ms 16 480 3ms 0ms 17 478 2ms 0ms 18 478 2ms 0ms 19 481 3ms 0ms 20 478 3ms 0ms 21 482 2ms 0ms 22 477 3ms 0ms 23 482 3ms 0ms [ User: azuresu - Total duration: 195ms - Times executed: 11428 ]
[ Application: [unknown] - Total duration: 195ms - Times executed: 11428 ]
-
set session statement_timeout to 10000;
Date: 2025-09-17 07:09:52 Duration: 4ms Database: postgres User: postgres Remote: azuresu Application: 169.254.128.1 Queryid: [unknown]
-
set session statement_timeout to 10000;
Date: 2025-09-17 00:24:01 Duration: 2ms Database: postgres User: postgres Remote: azuresu Application: 169.254.128.1 Queryid: [unknown]
-
set session statement_timeout to 10000;
Date: 2025-09-17 07:43:49 Duration: 1ms Database: postgres User: postgres Remote: azuresu Application: 169.254.128.1 Queryid: [unknown]
18 72ms 516 0ms 2ms 0ms SELECT name, setting FROM pg_catalog.pg_file_settings where sourcefile = $1;Times Reported Time consuming bind #18
Day Hour Count Duration Avg duration 00 18 2ms 0ms 01 18 1ms 0ms 02 18 2ms 0ms 03 18 1ms 0ms 04 27 4ms 0ms 05 18 1ms 0ms 06 18 4ms 0ms 07 18 6ms 0ms 08 18 2ms 0ms 09 27 3ms 0ms 10 86 12ms 0ms 11 16 2ms 0ms 12 16 2ms 0ms 13 16 1ms 0ms 14 16 1ms 0ms 15 16 1ms 0ms 16 24 3ms 0ms 17 16 2ms 0ms 18 16 1ms 0ms 19 16 2ms 0ms 20 16 1ms 0ms 21 16 2ms 0ms 22 32 4ms 0ms 23 16 3ms 0ms [ User: azuresu - Total duration: 538ms - Times executed: 516 ]
[ Application: [unknown] - Total duration: 538ms - Times executed: 516 ]
-
SELECT name, setting FROM pg_catalog.pg_file_settings where sourcefile = $1;
Date: 2025-09-17 07:30:19 Duration: 2ms Database: postgres User: postgres Remote: azuresu Application: 169.254.128.1 Queryid: [unknown]
-
SELECT name, setting FROM pg_catalog.pg_file_settings where sourcefile = $1;
Date: 2025-09-17 06:30:18 Duration: 1ms Database: postgres User: postgres Remote: azuresu Application: 169.254.128.1 Queryid: [unknown]
-
SELECT name, setting FROM pg_catalog.pg_file_settings where sourcefile = $1;
Date: 2025-09-17 07:00:19 Duration: 0ms Database: postgres User: postgres Remote: azuresu Application: 169.254.128.1 Queryid: [unknown]
19 44ms 164 0ms 2ms 0ms SELECT pid, datid, datname, relid, phase, heap_blks_total, heap_blks_scanned, heap_blks_vacuumed, index_vacuum_count, null as max_dead_tuples, null as num_dead_tuples, max_dead_tuple_bytes, dead_tuple_bytes, num_dead_item_ids, indexes_total, indexes_processed from pg_catalog.pg_stat_progress_vacuum;Times Reported Time consuming bind #19
Day Hour Count Duration Avg duration 10 8 2ms 0ms 11 12 3ms 0ms 12 12 3ms 0ms 13 12 4ms 0ms 14 12 2ms 0ms 15 12 2ms 0ms 16 12 3ms 0ms 17 12 2ms 0ms 18 12 2ms 0ms 19 12 2ms 0ms 20 12 2ms 0ms 21 12 2ms 0ms 22 12 5ms 0ms 23 12 3ms 0ms [ User: azuresu - Total duration: 8ms - Times executed: 164 ]
[ Application: [unknown] - Total duration: 8ms - Times executed: 164 ]
-
SELECT pid, datid, datname, relid, phase, heap_blks_total, heap_blks_scanned, heap_blks_vacuumed, index_vacuum_count, null as max_dead_tuples, null as num_dead_tuples, max_dead_tuple_bytes, dead_tuple_bytes, num_dead_item_ids, indexes_total, indexes_processed from pg_catalog.pg_stat_progress_vacuum;
Date: 2025-09-17 22:15:44 Duration: 2ms Database: postgres User: postgres Remote: azuresu Application: 169.254.128.1 Queryid: [unknown]
-
SELECT pid, datid, datname, relid, phase, heap_blks_total, heap_blks_scanned, heap_blks_vacuumed, index_vacuum_count, null as max_dead_tuples, null as num_dead_tuples, max_dead_tuple_bytes, dead_tuple_bytes, num_dead_item_ids, indexes_total, indexes_processed from pg_catalog.pg_stat_progress_vacuum;
Date: 2025-09-17 13:05:31 Duration: 0ms Database: postgres User: postgres Remote: azuresu Application: 169.254.128.1 Queryid: [unknown]
-
SELECT pid, datid, datname, relid, phase, heap_blks_total, heap_blks_scanned, heap_blks_vacuumed, index_vacuum_count, null as max_dead_tuples, null as num_dead_tuples, max_dead_tuple_bytes, dead_tuple_bytes, num_dead_item_ids, indexes_total, indexes_processed from pg_catalog.pg_stat_progress_vacuum;
Date: 2025-09-17 16:30:36 Duration: 0ms Database: postgres User: postgres Remote: azuresu Application: 169.254.128.1 Queryid: [unknown]
20 33ms 122 0ms 0ms 0ms SELECT pid, datid, datname, relid, phase, heap_blks_total, heap_blks_scanned, heap_blks_vacuumed, index_vacuum_count, max_dead_tuples, num_dead_tuples, null as max_dead_tuple_bytes, null as dead_tuple_bytes, null as num_dead_item_ids, null as indexes_total, null as indexes_processed FROM pg_catalog.pg_stat_progress_vacuum;Times Reported Time consuming bind #20
Day Hour Count Duration Avg duration 00 12 2ms 0ms 01 12 2ms 0ms 02 12 3ms 0ms 03 12 2ms 0ms 04 12 3ms 0ms 05 12 3ms 0ms 06 12 3ms 0ms 07 12 3ms 0ms 08 12 3ms 0ms 09 12 3ms 0ms 10 2 0ms 0ms [ User: azuresu - Total duration: 8ms - Times executed: 122 ]
[ Application: [unknown] - Total duration: 8ms - Times executed: 122 ]
-
SELECT pid, datid, datname, relid, phase, heap_blks_total, heap_blks_scanned, heap_blks_vacuumed, index_vacuum_count, max_dead_tuples, num_dead_tuples, null as max_dead_tuple_bytes, null as dead_tuple_bytes, null as num_dead_item_ids, null as indexes_total, null as indexes_processed FROM pg_catalog.pg_stat_progress_vacuum;
Date: 2025-09-17 07:50:33 Duration: 0ms Database: postgres User: postgres Remote: azuresu Application: 169.254.128.1 Queryid: [unknown]
-
SELECT pid, datid, datname, relid, phase, heap_blks_total, heap_blks_scanned, heap_blks_vacuumed, index_vacuum_count, max_dead_tuples, num_dead_tuples, null as max_dead_tuple_bytes, null as dead_tuple_bytes, null as num_dead_item_ids, null as indexes_total, null as indexes_processed FROM pg_catalog.pg_stat_progress_vacuum;
Date: 2025-09-17 04:10:24 Duration: 0ms Database: postgres User: postgres Remote: azuresu Application: 169.254.128.1 Queryid: [unknown]
-
SELECT pid, datid, datname, relid, phase, heap_blks_total, heap_blks_scanned, heap_blks_vacuumed, index_vacuum_count, max_dead_tuples, num_dead_tuples, null as max_dead_tuple_bytes, null as dead_tuple_bytes, null as num_dead_item_ids, null as indexes_total, null as indexes_processed FROM pg_catalog.pg_stat_progress_vacuum;
Date: 2025-09-17 09:40:38 Duration: 0ms Database: postgres User: postgres Remote: azuresu Application: 169.254.128.1 Queryid: [unknown]
-
Events
Log levels
Key values
- 219,426 Log entries
Events distribution
Key values
- 0 PANIC entries
- 3 FATAL entries
- 2 ERROR entries
- 1 WARNING entries
Most Frequent Errors/Events
Key values
- 3 Max number of times the same event was reported
- 6 Total events found
Rank Times reported Error 1 3 FATAL: terminating connection due to administrator command
Times Reported Most Frequent Error / Event #1
Day Hour Count Sep 17 12 3 2 1 WARNING: ...: SIGTERM signal received, pg-availability background worker will exit shortly.
Times Reported Most Frequent Error / Event #2
Day Hour Count Sep 17 12 1 3 1 LOG: database system was shut down at ...
Times Reported Most Frequent Error / Event #3
Day Hour Count Sep 17 12 1 4 1 ERROR: syntax error at or near "..."
Times Reported Most Frequent Error / Event #4
Day Hour Count Sep 17 12 1