-
Global information
- Generated on Mon Sep 22 15:56:41 2025
- Log file: ././A3D-RND-REF/y=2025/m=09/d=19/h=00/m=00/PT1H.log, ..., ././A3D-RND-REF/y=2025/m=09/d=19/h=23/m=00/PT1H.log
- Parsed 3,083 log entries in 8m15s
- Log start from 2025-09-16 00:23:09 to 2025-09-19 23:35:31
-
Overview
Global Stats
- 36 Number of unique normalized queries
- 632 Number of queries
- 2s33ms Total query duration
- 2025-09-16 00:23:09 First query
- 2025-09-19 23:35:31 Last query
- 29 queries/s at 2025-09-17 10:18:00 Query peak
- 2s33ms Total query duration
- 759ms Prepare/parse total duration
- 812ms Bind total duration
- 461ms Execute total duration
- 1 Number of events
- 1 Number of unique normalized events
- 1 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
- 204 Total number of sessions
- 1 sessions at 2025-09-18 06:31:19 Session peak
- 20m14s Total duration of sessions
- 5s954ms Average duration of sessions
- 3 Average queries per session
- 9ms Average queries duration per session
- 5s944ms Average idle time per session
- 204 Total number of connections
- 5 connections/s at 2025-09-17 10:00:29 Connection peak
- 1 Total number of databases
SQL Traffic
Key values
- 29 queries/s Query Peak
- 2025-09-17 10:18:00 Date
SELECT Traffic
Key values
- 5 queries/s Query Peak
- 2025-09-17 10:00:29 Date
INSERT/UPDATE/DELETE Traffic
Key values
- 2 queries/s Query Peak
- 2025-09-17 10:06:19 Date
Queries duration
Key values
- 2s33ms 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 16 00 6 0ms 1ms 0ms 1ms 1ms 1ms 01 6 0ms 0ms 0ms 0ms 0ms 0ms 02 6 0ms 1ms 0ms 1ms 1ms 1ms 03 6 0ms 1ms 0ms 1ms 1ms 1ms 04 6 0ms 0ms 0ms 1ms 1ms 1ms 05 6 0ms 0ms 0ms 0ms 0ms 0ms 06 6 0ms 1ms 0ms 2ms 2ms 2ms 07 6 0ms 1ms 0ms 1ms 1ms 1ms 08 6 0ms 1ms 0ms 1ms 1ms 1ms 09 6 0ms 0ms 0ms 1ms 1ms 1ms 10 6 0ms 1ms 0ms 1ms 1ms 1ms 11 6 0ms 1ms 0ms 1ms 1ms 1ms 12 6 0ms 0ms 0ms 1ms 1ms 1ms 13 6 0ms 0ms 0ms 0ms 0ms 0ms 14 6 0ms 1ms 0ms 1ms 1ms 1ms 15 6 0ms 1ms 0ms 1ms 1ms 1ms 16 6 0ms 0ms 0ms 1ms 1ms 1ms 17 6 0ms 1ms 0ms 1ms 1ms 1ms 18 6 0ms 1ms 0ms 1ms 1ms 1ms 19 6 0ms 0ms 0ms 1ms 1ms 1ms 20 6 0ms 1ms 0ms 1ms 1ms 1ms 21 6 0ms 1ms 0ms 1ms 1ms 1ms 22 6 0ms 1ms 0ms 1ms 1ms 1ms 23 6 0ms 1ms 0ms 1ms 1ms 1ms Sep 17 00 6 0ms 0ms 0ms 0ms 0ms 0ms 01 6 0ms 1ms 0ms 1ms 1ms 1ms 02 6 0ms 1ms 0ms 1ms 1ms 1ms 03 6 0ms 1ms 0ms 1ms 1ms 1ms 04 6 0ms 1ms 0ms 1ms 1ms 1ms 05 6 0ms 1ms 0ms 1ms 1ms 1ms 06 6 0ms 0ms 0ms 1ms 1ms 1ms 07 6 0ms 1ms 0ms 1ms 1ms 1ms 08 6 0ms 1ms 0ms 1ms 1ms 1ms 09 6 0ms 1ms 0ms 1ms 1ms 1ms 10 62 0ms 107ms 3ms 149ms 149ms 149ms 11 6 0ms 1ms 0ms 1ms 1ms 1ms 12 6 0ms 1ms 0ms 1ms 1ms 1ms 13 6 0ms 0ms 0ms 1ms 1ms 1ms 14 6 0ms 1ms 0ms 1ms 1ms 1ms 15 6 0ms 1ms 0ms 1ms 1ms 1ms 16 6 0ms 1ms 0ms 1ms 1ms 1ms 17 6 0ms 0ms 0ms 1ms 1ms 1ms 18 6 0ms 1ms 0ms 1ms 1ms 1ms 19 6 0ms 1ms 0ms 1ms 1ms 1ms 20 6 0ms 1ms 0ms 1ms 1ms 1ms 21 6 0ms 1ms 0ms 1ms 1ms 1ms 22 6 0ms 0ms 0ms 0ms 0ms 0ms 23 6 0ms 1ms 0ms 1ms 1ms 1ms Sep 18 00 6 0ms 1ms 0ms 1ms 1ms 1ms 01 6 0ms 1ms 0ms 1ms 1ms 1ms 02 6 0ms 0ms 0ms 1ms 1ms 1ms 03 6 0ms 1ms 0ms 1ms 1ms 1ms 04 6 0ms 0ms 0ms 0ms 0ms 0ms 05 6 0ms 1ms 0ms 1ms 1ms 1ms 06 6 0ms 1ms 0ms 2ms 2ms 2ms 07 6 0ms 1ms 0ms 1ms 1ms 1ms 08 6 0ms 1ms 0ms 1ms 1ms 1ms 09 6 0ms 1ms 0ms 1ms 1ms 1ms 10 6 0ms 1ms 0ms 1ms 1ms 1ms 11 6 0ms 1ms 0ms 1ms 1ms 1ms 12 6 0ms 1ms 0ms 1ms 1ms 1ms 13 6 0ms 1ms 0ms 1ms 1ms 1ms 14 6 0ms 1ms 0ms 1ms 1ms 1ms 15 6 0ms 1ms 0ms 1ms 1ms 1ms 16 6 0ms 1ms 0ms 1ms 1ms 1ms 17 6 0ms 1ms 0ms 1ms 1ms 1ms 18 6 0ms 1ms 0ms 1ms 1ms 1ms 19 6 0ms 0ms 0ms 1ms 1ms 1ms 20 6 0ms 1ms 0ms 1ms 1ms 1ms 21 6 0ms 0ms 0ms 1ms 1ms 1ms 22 6 0ms 1ms 0ms 1ms 1ms 1ms 23 6 0ms 0ms 0ms 1ms 1ms 1ms Sep 19 00 6 0ms 1ms 0ms 1ms 1ms 1ms 01 6 0ms 1ms 0ms 1ms 1ms 1ms 02 6 0ms 0ms 0ms 1ms 1ms 1ms 03 6 0ms 1ms 0ms 1ms 1ms 1ms 04 6 0ms 1ms 0ms 1ms 1ms 1ms 05 6 0ms 1ms 0ms 1ms 1ms 1ms 06 6 0ms 1ms 0ms 1ms 1ms 1ms 07 6 0ms 1ms 0ms 1ms 1ms 1ms 08 6 0ms 1ms 0ms 1ms 1ms 1ms 09 6 0ms 1ms 0ms 1ms 1ms 1ms 10 6 0ms 1ms 0ms 1ms 1ms 1ms 11 6 0ms 1ms 0ms 2ms 2ms 2ms 12 6 0ms 0ms 0ms 0ms 0ms 0ms 13 6 0ms 1ms 0ms 1ms 1ms 1ms 14 6 0ms 1ms 0ms 1ms 1ms 1ms 15 6 0ms 1ms 0ms 2ms 2ms 2ms 16 6 0ms 1ms 0ms 1ms 1ms 1ms 17 6 0ms 1ms 0ms 1ms 1ms 1ms 18 6 0ms 1ms 0ms 1ms 1ms 1ms 19 6 0ms 1ms 0ms 1ms 1ms 1ms 20 6 0ms 1ms 0ms 1ms 1ms 1ms 21 6 0ms 1ms 0ms 1ms 1ms 1ms 22 6 0ms 1ms 0ms 1ms 1ms 1ms 23 6 0ms 2ms 0ms 2ms 2ms 2ms Day Hour SELECT COPY TO Average Duration Latency Percentile(90) Latency Percentile(95) Latency Percentile(99) Sep 16 00 3 0 0ms 1ms 1ms 1ms 01 3 0 0ms 0ms 0ms 0ms 02 3 0 0ms 1ms 1ms 1ms 03 3 0 0ms 1ms 1ms 1ms 04 3 0 0ms 0ms 0ms 0ms 05 3 0 0ms 0ms 0ms 0ms 06 3 0 0ms 1ms 1ms 1ms 07 3 0 0ms 1ms 1ms 1ms 08 3 0 0ms 1ms 1ms 1ms 09 3 0 0ms 0ms 0ms 0ms 10 3 0 0ms 1ms 1ms 1ms 11 3 0 0ms 1ms 1ms 1ms 12 3 0 0ms 0ms 0ms 0ms 13 3 0 0ms 0ms 0ms 0ms 14 3 0 0ms 1ms 1ms 1ms 15 3 0 0ms 1ms 1ms 1ms 16 3 0 0ms 1ms 1ms 1ms 17 3 0 0ms 1ms 1ms 1ms 18 3 0 0ms 1ms 1ms 1ms 19 3 0 0ms 0ms 0ms 0ms 20 3 0 0ms 1ms 1ms 1ms 21 3 0 1ms 1ms 1ms 1ms 22 3 0 0ms 1ms 1ms 1ms 23 3 0 0ms 1ms 1ms 1ms Sep 17 00 3 0 0ms 0ms 0ms 0ms 01 3 0 0ms 1ms 1ms 1ms 02 3 0 0ms 1ms 1ms 1ms 03 3 0 0ms 1ms 1ms 1ms 04 3 0 0ms 1ms 1ms 1ms 05 3 0 0ms 1ms 1ms 1ms 06 3 0 0ms 0ms 0ms 0ms 07 3 0 0ms 1ms 1ms 1ms 08 3 0 0ms 1ms 1ms 1ms 09 3 0 0ms 1ms 1ms 1ms 10 19 0 8ms 12ms 132ms 132ms 11 3 0 0ms 1ms 1ms 1ms 12 3 0 0ms 1ms 1ms 1ms 13 3 0 0ms 0ms 0ms 0ms 14 3 0 0ms 1ms 1ms 1ms 15 3 0 0ms 1ms 1ms 1ms 16 3 0 0ms 1ms 1ms 1ms 17 3 0 0ms 0ms 0ms 0ms 18 3 0 0ms 1ms 1ms 1ms 19 3 0 0ms 1ms 1ms 1ms 20 3 0 0ms 1ms 1ms 1ms 21 3 0 0ms 1ms 1ms 1ms 22 3 0 0ms 0ms 0ms 0ms 23 3 0 0ms 1ms 1ms 1ms Sep 18 00 3 0 0ms 1ms 1ms 1ms 01 3 0 0ms 1ms 1ms 1ms 02 3 0 0ms 0ms 0ms 0ms 03 3 0 0ms 1ms 1ms 1ms 04 3 0 0ms 0ms 0ms 0ms 05 3 0 0ms 1ms 1ms 1ms 06 3 0 0ms 1ms 1ms 1ms 07 3 0 0ms 1ms 1ms 1ms 08 3 0 0ms 1ms 1ms 1ms 09 3 0 1ms 1ms 1ms 1ms 10 3 0 1ms 1ms 1ms 1ms 11 3 0 0ms 1ms 1ms 1ms 12 3 0 1ms 1ms 1ms 1ms 13 3 0 0ms 1ms 1ms 1ms 14 3 0 0ms 1ms 1ms 1ms 15 3 0 0ms 1ms 1ms 1ms 16 3 0 0ms 1ms 1ms 1ms 17 3 0 0ms 1ms 1ms 1ms 18 3 0 0ms 1ms 1ms 1ms 19 3 0 0ms 1ms 1ms 1ms 20 3 0 0ms 1ms 1ms 1ms 21 3 0 0ms 0ms 0ms 0ms 22 3 0 0ms 1ms 1ms 1ms 23 3 0 0ms 1ms 1ms 1ms Sep 19 00 3 0 0ms 1ms 1ms 1ms 01 3 0 0ms 1ms 1ms 1ms 02 3 0 0ms 1ms 1ms 1ms 03 3 0 0ms 1ms 1ms 1ms 04 3 0 0ms 1ms 1ms 1ms 05 3 0 0ms 1ms 1ms 1ms 06 3 0 0ms 1ms 1ms 1ms 07 3 0 0ms 1ms 1ms 1ms 08 3 0 0ms 1ms 1ms 1ms 09 3 0 0ms 1ms 1ms 1ms 10 3 0 0ms 1ms 1ms 1ms 11 3 0 1ms 1ms 1ms 1ms 12 3 0 0ms 0ms 0ms 0ms 13 3 0 0ms 1ms 1ms 1ms 14 3 0 0ms 1ms 1ms 1ms 15 3 0 1ms 2ms 2ms 2ms 16 3 0 0ms 1ms 1ms 1ms 17 3 0 0ms 1ms 1ms 1ms 18 3 0 0ms 1ms 1ms 1ms 19 3 0 0ms 1ms 1ms 1ms 20 3 0 0ms 1ms 1ms 1ms 21 3 0 0ms 1ms 1ms 1ms 22 3 0 0ms 1ms 1ms 1ms 23 3 0 1ms 2ms 2ms 2ms Day Hour INSERT UPDATE DELETE COPY FROM Average Duration Latency Percentile(90) Latency Percentile(95) Latency Percentile(99) Sep 16 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 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 Sep 18 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 Sep 19 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 16 00 6 6 1.00 200.00% 01 6 6 1.00 200.00% 02 6 6 1.00 200.00% 03 6 6 1.00 200.00% 04 6 6 1.00 200.00% 05 6 6 1.00 200.00% 06 6 6 1.00 200.00% 07 6 6 1.00 200.00% 08 6 6 1.00 200.00% 09 6 6 1.00 200.00% 10 6 6 1.00 200.00% 11 6 6 1.00 200.00% 12 6 6 1.00 200.00% 13 6 6 1.00 200.00% 14 6 6 1.00 200.00% 15 6 6 1.00 200.00% 16 6 6 1.00 200.00% 17 6 6 1.00 200.00% 18 6 6 1.00 200.00% 19 6 6 1.00 200.00% 20 6 6 1.00 200.00% 21 6 6 1.00 200.00% 22 6 6 1.00 200.00% 23 6 6 1.00 200.00% Sep 17 00 6 6 1.00 200.00% 01 6 6 1.00 200.00% 02 6 6 1.00 200.00% 03 6 6 1.00 200.00% 04 6 6 1.00 200.00% 05 6 6 1.00 200.00% 06 6 6 1.00 200.00% 07 6 6 1.00 200.00% 08 6 6 1.00 200.00% 09 6 6 1.00 200.00% 10 34 34 1.00 130.77% 11 6 6 1.00 200.00% 12 6 6 1.00 200.00% 13 6 6 1.00 200.00% 14 6 6 1.00 200.00% 15 6 6 1.00 200.00% 16 6 6 1.00 200.00% 17 6 6 1.00 200.00% 18 6 6 1.00 200.00% 19 6 6 1.00 200.00% 20 6 6 1.00 200.00% 21 6 6 1.00 200.00% 22 6 6 1.00 200.00% 23 6 6 1.00 200.00% Sep 18 00 6 6 1.00 200.00% 01 6 6 1.00 200.00% 02 6 6 1.00 200.00% 03 6 6 1.00 200.00% 04 6 6 1.00 200.00% 05 6 6 1.00 200.00% 06 6 6 1.00 200.00% 07 6 6 1.00 200.00% 08 6 6 1.00 200.00% 09 6 6 1.00 200.00% 10 6 6 1.00 200.00% 11 6 6 1.00 200.00% 12 6 6 1.00 200.00% 13 6 6 1.00 200.00% 14 6 6 1.00 200.00% 15 6 6 1.00 200.00% 16 6 6 1.00 200.00% 17 6 6 1.00 200.00% 18 6 6 1.00 200.00% 19 6 6 1.00 200.00% 20 6 6 1.00 200.00% 21 6 6 1.00 200.00% 22 6 6 1.00 200.00% 23 6 6 1.00 200.00% Sep 19 00 6 6 1.00 200.00% 01 6 6 1.00 200.00% 02 6 6 1.00 200.00% 03 6 6 1.00 200.00% 04 6 6 1.00 200.00% 05 6 6 1.00 200.00% 06 6 6 1.00 200.00% 07 6 6 1.00 200.00% 08 6 6 1.00 200.00% 09 6 6 1.00 200.00% 10 6 6 1.00 200.00% 11 6 6 1.00 200.00% 12 6 6 1.00 200.00% 13 6 6 1.00 200.00% 14 6 6 1.00 200.00% 15 6 6 1.00 200.00% 16 6 6 1.00 200.00% 17 6 6 1.00 200.00% 18 6 6 1.00 200.00% 19 6 6 1.00 200.00% 20 6 6 1.00 200.00% 21 6 6 1.00 200.00% 22 6 6 1.00 200.00% 23 6 6 1.00 200.00% Day Hour Count Average / Second Sep 16 00 2 0.00/s 01 2 0.00/s 02 2 0.00/s 03 2 0.00/s 04 2 0.00/s 05 2 0.00/s 06 2 0.00/s 07 2 0.00/s 08 2 0.00/s 09 2 0.00/s 10 2 0.00/s 11 2 0.00/s 12 2 0.00/s 13 2 0.00/s 14 2 0.00/s 15 2 0.00/s 16 2 0.00/s 17 2 0.00/s 18 2 0.00/s 19 2 0.00/s 20 2 0.00/s 21 2 0.00/s 22 2 0.00/s 23 2 0.00/s Sep 17 00 2 0.00/s 01 2 0.00/s 02 2 0.00/s 03 2 0.00/s 04 2 0.00/s 05 2 0.00/s 06 2 0.00/s 07 2 0.00/s 08 2 0.00/s 09 2 0.00/s 10 14 0.00/s 11 2 0.00/s 12 2 0.00/s 13 2 0.00/s 14 2 0.00/s 15 2 0.00/s 16 2 0.00/s 17 2 0.00/s 18 2 0.00/s 19 2 0.00/s 20 2 0.00/s 21 2 0.00/s 22 2 0.00/s 23 2 0.00/s Sep 18 00 2 0.00/s 01 2 0.00/s 02 2 0.00/s 03 2 0.00/s 04 2 0.00/s 05 2 0.00/s 06 2 0.00/s 07 2 0.00/s 08 2 0.00/s 09 2 0.00/s 10 2 0.00/s 11 2 0.00/s 12 2 0.00/s 13 2 0.00/s 14 2 0.00/s 15 2 0.00/s 16 2 0.00/s 17 2 0.00/s 18 2 0.00/s 19 2 0.00/s 20 2 0.00/s 21 2 0.00/s 22 2 0.00/s 23 2 0.00/s Sep 19 00 2 0.00/s 01 2 0.00/s 02 2 0.00/s 03 2 0.00/s 04 2 0.00/s 05 2 0.00/s 06 2 0.00/s 07 2 0.00/s 08 2 0.00/s 09 2 0.00/s 10 2 0.00/s 11 2 0.00/s 12 2 0.00/s 13 2 0.00/s 14 2 0.00/s 15 2 0.00/s 16 2 0.00/s 17 2 0.00/s 18 2 0.00/s 19 2 0.00/s 20 2 0.00/s 21 2 0.00/s 22 2 0.00/s 23 2 0.00/s Day Hour Count Average Duration Average idle time Sep 16 00 2 66ms 64ms 01 2 69ms 68ms 02 2 68ms 67ms 03 2 66ms 64ms 04 2 70ms 69ms 05 2 68ms 67ms 06 2 102ms 100ms 07 2 94ms 92ms 08 2 69ms 67ms 09 2 67ms 66ms 10 2 64ms 62ms 11 2 68ms 67ms 12 2 68ms 67ms 13 2 71ms 70ms 14 2 67ms 65ms 15 2 71ms 70ms 16 2 64ms 62ms 17 2 70ms 69ms 18 2 69ms 68ms 19 2 74ms 73ms 20 2 67ms 65ms 21 2 67ms 65ms 22 2 67ms 65ms 23 2 66ms 64ms Sep 17 00 2 67ms 66ms 01 2 71ms 69ms 02 2 69ms 68ms 03 2 69ms 68ms 04 2 68ms 66ms 05 2 68ms 67ms 06 2 102ms 101ms 07 2 94ms 92ms 08 2 72ms 70ms 09 2 68ms 66ms 10 14 1m25s 1m25s 11 2 69ms 67ms 12 2 65ms 64ms 13 2 92ms 91ms 14 2 72ms 70ms 15 2 70ms 68ms 16 2 67ms 65ms 17 2 65ms 64ms 18 2 66ms 64ms 19 2 77ms 76ms 20 2 67ms 65ms 21 2 67ms 66ms 22 2 63ms 62ms 23 2 67ms 66ms Sep 18 00 2 66ms 65ms 01 2 68ms 67ms 02 2 66ms 64ms 03 2 65ms 63ms 04 2 69ms 68ms 05 2 68ms 66ms 06 2 69ms 67ms 07 2 66ms 64ms 08 2 64ms 62ms 09 2 91ms 89ms 10 2 106ms 104ms 11 2 66ms 64ms 12 2 78ms 76ms 13 2 69ms 67ms 14 2 68ms 66ms 15 2 67ms 66ms 16 2 65ms 64ms 17 2 69ms 67ms 18 2 62ms 61ms 19 2 69ms 68ms 20 2 72ms 70ms 21 2 68ms 67ms 22 2 67ms 65ms 23 2 66ms 64ms Sep 19 00 2 67ms 66ms 01 2 71ms 69ms 02 2 66ms 64ms 03 2 73ms 71ms 04 2 67ms 65ms 05 2 73ms 71ms 06 2 99ms 98ms 07 2 97ms 95ms 08 2 80ms 79ms 09 2 68ms 67ms 10 2 72ms 71ms 11 2 131ms 129ms 12 2 72ms 71ms 13 2 68ms 66ms 14 2 79ms 77ms 15 2 95ms 93ms 16 2 68ms 67ms 17 2 74ms 72ms 18 2 96ms 94ms 19 2 69ms 67ms 20 2 69ms 67ms 21 2 66ms 65ms 22 2 67ms 65ms 23 2 68ms 66ms -
Connections
Established Connections
Key values
- 5 connections Connection Peak
- 2025-09-17 10:00:29 Date
Connections per database
Key values
- flexibleserverdb Main Database
- 204 connections Total
Connections per user
Key values
- azuresu Main User
- 204 connections Total
-
Sessions
Simultaneous sessions
Key values
- 1 sessions Session Peak
- 2025-09-18 06:31:19 Date
Histogram of session times
Key values
- 202 0-500ms duration
Sessions per database
Key values
- flexibleserverdb Main Database
- 204 sessions Total
Sessions per user
Key values
- azuresu Main User
- 204 sessions Total
Sessions per host
Key values
- 169.254.128.1 Main Host
- 204 sessions Total
-
Temporary Files
Size of temporary files
Key values
- 0 Temp Files size Peak
- Date
Size of temporary files (5 minutes period)
NO DATASET
Number of temporary files
Key values
- 0 per second Temp Files Peak
- Date
Number of temporary files (5 minutes period)
NO DATASET
Temporary Files Activity
↑ Back to the top of the Temporary Files Activity tableDay Hour Count Total size Average size Sep 16 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 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 Sep 18 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 Sep 19 00 0 0 0 01 0 0 0 02 0 0 0 03 0 0 0 04 0 0 0 05 0 0 0 06 0 0 0 07 0 0 0 08 0 0 0 09 0 0 0 10 0 0 0 11 0 0 0 12 0 0 0 13 0 0 0 14 0 0 0 15 0 0 0 16 0 0 0 17 0 0 0 18 0 0 0 19 0 0 0 20 0 0 0 21 0 0 0 22 0 0 0 23 0 0 0 -
Vacuums
Vacuums / Analyzes Distribution
Key values
- 0 sec Highest CPU-cost vacuum
Table
Database - Date
- 0 sec Highest CPU-cost analyze
Table
Database - Date
Autovacuum actions (5 minutes period)
NO DATASET
Average Autovacuum Duration
Key values
- 0 sec Highest CPU-cost vacuum
Table
Database - Date
Average Autovacuum Duration (5 minutes average)
NO DATASET
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
- unknown (0) Main table with removed tuples on database
- 0 tuples Total removed
Pages removed per table
Key values
- unknown (0) Main table with removed pages on database unknown
- 0 pages Total removed
Autovacuum Activity
↑ Back to the top of the Autovacuum Activity tableDay Hour VACUUMs ANALYZEs Sep 16 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 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 Sep 18 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 Sep 19 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 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
- 304 Total read queries
- 7 Total write queries
Queries by database
Key values
- flexibleserverdb Main database
- 632 Requests
- 461ms (flexibleserverdb)
- Main time consuming database
Queries by user
Key values
- azuresu Main user
- 776 Requests
User Request type Count Duration azuresu Total 776 523ms cte 5 53ms ddl 2 1ms others 393 30ms select 376 438ms Duration by user
Key values
- 523ms (azuresu) Main time consuming user
User Request type Count Duration azuresu Total 776 523ms cte 5 53ms ddl 2 1ms others 393 30ms select 376 438ms Queries by host
Key values
- 169.254.128.1 Main host
- 769 Requests
- 482ms (169.254.128.1)
- Main time consuming host
Queries by application
Key values
- [unknown] Main application
- 632 Requests
- 461ms ([unknown])
- Main time consuming application
Number of cancelled queries
Key values
- 0 per second Cancelled query Peak
- 2025-09-16 13:53:55 Date
Number of cancelled queries (5 minutes period)
NO DATASET
-
Top Queries
Histogram of query times
Key values
- 510 0-1ms duration
Slowest individual queries
Rank Duration Query 1 107ms 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:29 - Database: flexibleserverdb - User: azuresu - Remote: 169.254.128.1 - Application: [unknown] ]
2 18ms WITH RECURSIVE oids AS ( SELECT t.oid FROM pg_catalog.pg_type t LEFT JOIN pg_catalog.pg_namespace n ON t.typnamespace = n.oid WHERE typtype = 'c' AND (t.oid < 16384 OR nspname = 'information_schema') UNION ALL SELECT * FROM ( WITH x AS ( SELECT oid FROM oids ) SELECT t.oid FROM pg_catalog.pg_type t, x WHERE typbasetype = x.oid AND typtype = 'd' UNION ALL SELECT t.oid FROM pg_catalog.pg_type t, x WHERE typelem = x.oid AND typtype = 'b' UNION ALL SELECT t.oid FROM pg_catalog.pg_type t, pg_catalog.pg_class c, pg_catalog.pg_attribute a, x WHERE t.typtype = 'c' AND t.oid = c.reltype AND c.oid = a.attrelid AND NOT a.attisdropped AND a.atttypid = x.oid UNION ALL SELECT t.oid FROM pg_catalog.pg_type t, pg_catalog.pg_range r, x WHERE t.typtype = 'r' AND r.rngtypid = t.oid AND r.rngsubtype = x.oid) foo ) SELECT n.nspname, c.relname, a.attname FROM pg_catalog.pg_class c, pg_catalog.pg_namespace n, pg_catalog.pg_attribute a WHERE c.oid = a.attrelid AND NOT a.attisdropped AND a.atttypid IN ( SELECT oid FROM oids) AND c.relkind IN ('r', 'm', 'i') AND c.relnamespace = n.oid AND n.nspname !~ '^pg_temp_' AND n.nspname !~ '^pg_toast_temp_' AND n.nspname NOT IN ('pg_catalog', 'information_schema');[ Date: 2025-09-17 10:06:19 - Database: flexibleserverdb - User: azuresu - Remote: [local] - Application: [unknown] ]
3 16ms SELECT count(*) FROM pg_catalog.pg_class class, pg_catalog.pg_attribute attr, pg_catalog.pg_namespace ns, pg_catalog.pg_roles rolWHERE attr.atttypid IN ('pg_catalog.regcollation'::pg_catalog.regtype, 'pg_catalog.regconfig'::pg_catalog.regtype, 'pg_catalog.regdictionary'::pg_catalog.regtype, 'pg_catalog.regnamespace'::pg_catalog.regtype, 'pg_catalog.regoper'::pg_catalog.regtype, 'pg_catalog.regoperator'::pg_catalog.regtype, 'pg_catalog.regproc'::pg_catalog.regtype, 'pg_catalog.regprocedure'::pg_catalog.regtype) AND ns.nspname NOT IN ('pg_catalog', 'information_schema') AND class.oid = attr.attrelid AND class.relnamespace = ns.oid AND rol.oid = class.relowner AND NOT attr.attisdropped AND NOT (class.relname IN ('pg_masking_rules', 'pg_masks') and rol.rolname = 'azuresu' and atttypid = 'pg_catalog.regnamespace'::pg_catalog.regtype);[ Date: 2025-09-17 10:00:29 - Database: flexibleserverdb - User: azuresu - Remote: 169.254.128.1 - Application: [unknown] - Bind query: yes ]
4 11ms WITH RECURSIVE oids AS ( SELECT oid FROM pg_catalog.pg_type t WHERE t.typnamespace = ( SELECT oid FROM pg_catalog.pg_namespace WHERE nspname = 'pg_catalog') AND t.typname IN ('regcollation', 'regconfig', 'regdictionary', 'regnamespace', 'regoper', 'regoperator', 'regproc', 'regprocedure') UNION ALL SELECT * FROM ( WITH x AS ( SELECT oid FROM oids ) SELECT t.oid FROM pg_catalog.pg_type t, x WHERE typbasetype = x.oid AND typtype = 'd' UNION ALL SELECT t.oid FROM pg_catalog.pg_type t, x WHERE typelem = x.oid AND typtype = 'b' UNION ALL SELECT t.oid FROM pg_catalog.pg_type t, pg_catalog.pg_class c, pg_catalog.pg_attribute a, x WHERE t.typtype = 'c' AND t.oid = c.reltype AND c.oid = a.attrelid AND NOT a.attisdropped AND a.atttypid = x.oid UNION ALL SELECT t.oid FROM pg_catalog.pg_type t, pg_catalog.pg_range r, x WHERE t.typtype = 'r' AND r.rngtypid = t.oid AND r.rngsubtype = x.oid) foo ) SELECT n.nspname, c.relname, a.attname FROM pg_catalog.pg_class c, pg_catalog.pg_namespace n, pg_catalog.pg_attribute a WHERE c.oid = a.attrelid AND NOT a.attisdropped AND a.atttypid IN ( SELECT oid FROM oids) AND c.relkind IN ('r', 'm', 'i') AND c.relnamespace = n.oid AND n.nspname !~ '^pg_temp_' AND n.nspname !~ '^pg_toast_temp_' AND n.nspname NOT IN ('pg_catalog', 'information_schema');[ Date: 2025-09-17 10:06:19 - Database: flexibleserverdb - User: azuresu - Remote: [local] - Application: [unknown] ]
5 10ms 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:59 - Database: flexibleserverdb - User: azuresu - Remote: 169.254.128.1 - Application: [unknown] ]
6 9ms 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:18:04 - Database: flexibleserverdb - User: azuresu - Remote: 169.254.128.1 - Application: [unknown] ]
7 9ms WITH target_oids AS ( SELECT oid FROM pg_class WHERE relname = 'pg_stat_activity' ) SELECT COUNT(*) OVER () AS total_count, c.relname AS view_name, n.nspname AS schema_name, current_database() AS database_nameFROM pg_depend dJOIN pg_rewrite r ON d.objid = r.oidJOIN pg_class c ON r.ev_class = c.oidJOIN pg_namespace n ON c.relnamespace = n.oidWHERE d.refobjid IN ( SELECT oid FROM target_oids) AND c.relkind = 'v' AND n.nspname NOT IN ('pg_catalog', 'information_schema');[ Date: 2025-09-17 10:00:31 - Database: flexibleserverdb - User: azuresu - Remote: 169.254.128.1 - Application: [unknown] - Bind query: yes ]
8 8ms 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:30:11 - Database: flexibleserverdb - User: azuresu - Remote: 169.254.128.1 - Application: [unknown] ]
9 8ms WITH regular_heap ( reloid, indtable, toastheap ) AS ( SELECT c.oid, 0::oid, 0::oid FROM pg_catalog.pg_class c JOIN pg_catalog.pg_namespace n ON c.relnamespace = n.oid WHERE relkind IN ('r', 'm') AND ((n.nspname !~ '^pg_temp_' AND n.nspname !~ '^pg_toast_temp_' AND n.nspname NOT IN ('pg_catalog', 'information_schema', 'binary_upgrade', 'pg_toast') AND c.oid >= 16384::pg_catalog.oid) OR (n.nspname = 'pg_catalog' AND relname IN ('pg_largeobject'))) ), toast_heap ( reloid, indtable, toastheap ) AS ( SELECT c.reltoastrelid, 0::oid, c.oid FROM regular_heap JOIN pg_catalog.pg_class c ON regular_heap.reloid = c.oid WHERE c.reltoastrelid != 0 ), all_index ( reloid, indtable, toastheap ) AS ( SELECT indexrelid, indrelid, 0::oid FROM pg_catalog.pg_index WHERE indisvalid AND indisready AND indrelid IN ( SELECT reloid FROM regular_heap UNION ALL SELECT reloid FROM toast_heap)) SELECT all_rels.*, n.nspname, c.relname, c.relfilenode, c.reltablespace, pg_catalog.pg_tablespace_location(t.oid) AS spclocation FROM ( SELECT * FROM regular_heap UNION ALL SELECT * FROM toast_heap UNION ALL SELECT * FROM all_index) all_rels JOIN pg_catalog.pg_class c ON all_rels.reloid = c.oid JOIN pg_catalog.pg_namespace n ON c.relnamespace = n.oid LEFT OUTER JOIN pg_catalog.pg_tablespace t ON c.reltablespace = t.oid ORDER BY 1;[ Date: 2025-09-17 10:06:18 - Database: flexibleserverdb - User: azuresu - Remote: [local] - Application: [unknown] ]
10 6ms WITH init_privs AS ( SELECT DISTINCT classoid, objoid, objsubid, /* * initprivs is an array, with elements in format: * '[$user]=$Perm/$grantor', where $grantor could be double-quoted. * Therefore we first unnest, then extract grantor using regexp (it * also handles first and last double-quote symbols, if there are * any), and finally replace two double-quotes with a single one. */ replace((regexp_matches(unnest(initprivs)::text, '.*/"{0,1}(.*?)"{0,1}'))[1], '""', '"') as grantor FROM pg_init_privs WHERE privtype = 'e' /* we are interested only in extension objects */ ), all_privs AS ( /* * Depending on classoid we need to join with respective catalog tables to * find the object owner. List of tables is taken from getAdditionalACLs() * function in pg_dump.c file. * Besides that we extract a schema OID from the object, to check later * that required grantor from pg_init_privs has access to the schema. */ SELECT c.relnamespace AS namespace, i.*, relowner AS owner FROM init_privs i JOIN pg_class AS c ON i.classoid = 1259 AND c.oid = i.objoid UNION ALL SELECT t.typnamespace, i.*, t.typowner FROM init_privs i JOIN pg_type AS t ON i.classoid = 1247 AND t.oid = i.objoid UNION ALL SELECT 0, i.*, fdw.fdwowner FROM init_privs i JOIN pg_foreign_data_wrapper AS fdw ON i.classoid = 2328 AND fdw.oid = i.objoid UNION ALL SELECT 0, i.*, fs.srvowner FROM init_privs i JOIN pg_foreign_server AS fs ON i.classoid = 1417 AND fs.oid = i.objoid UNION ALL SELECT p.pronamespace, i.*, p.proowner FROM init_privs i JOIN pg_proc AS p ON i.classoid = 1255 AND p.oid = i.objoid UNION ALL SELECT 0, i.*, l.lanowner FROM init_privs i JOIN pg_language AS l ON i.classoid = 2612 AND l.oid = i.objoid UNION ALL SELECT 0, i.*, n.nspowner FROM init_privs i JOIN pg_namespace n ON i.classoid = 2615 AND n.oid = i.objoid ) SELECT pg_describe_object(classoid, objoid, objsubid), current_database() as database FROM all_privs /* * pg_dump/pg_restore creates an object and immediately changes the owner. * Later, when pg_init_privs are restored, the following happens: * ``` * SELECT pg_catalog.binary_upgrade_set_record_init_privs(true); * REVOKE ALL ON $object FROM $user; * SET SESSION AUTHORIZATION $grantor; * GRANT $permission ON $object TO $grantee;; * RESET SESSION AUTHORIZATION; * SELECT pg_catalog.binary_upgrade_set_record_init_privs(false); * ``` * Therefore we need to check only two things: * - $grantor has role privilege of object owner * - $grantor has USAGE on SCHEMA where object exists */ WHERE NOT pg_has_role(grantor, owner, 'USAGE') OR namespace <> 0 AND NOT has_schema_privilege(grantor, namespace, 'USAGE');[ Date: 2025-09-17 10:00:29 - Database: flexibleserverdb - User: azuresu - Remote: 169.254.128.1 - Application: [unknown] - Bind query: yes ]
11 3ms GRANT EXECUTE ON FUNCTION pg_catalog.pg_show_replication_origin_status () TO azure_pg_admin;[ Date: 2025-09-17 10:18:00 - Database: flexibleserverdb - User: azuresu - Remote: 169.254.128.1 - Application: [unknown] - Bind query: yes ]
12 3ms SELECT extension.name, extension.installed_version IS NOT NULL AS installed, extension.default_version, extension.installed_version, current_database() as databaseFROM pg_available_extensions extensionORDER BY extension.name ASC;[ Date: 2025-09-17 10:00:29 - Database: flexibleserverdb - User: azuresu - Remote: 169.254.128.1 - Application: [unknown] - Bind query: yes ]
13 3ms SELECT extension.name, extension.installed_version IS NOT NULL AS installed, extension.default_version, extension.installed_version, current_database() as databaseFROM pg_available_extensions extensionORDER BY extension.name ASC;[ Date: 2025-09-17 10:18:04 - Database: flexibleserverdb - User: azuresu - Remote: 169.254.128.1 - Application: [unknown] - Bind query: yes ]
14 3ms SELECT extension.name, extension.installed_version IS NOT NULL AS installed, extension.default_version, extension.installed_version, current_database() as databaseFROM pg_available_extensions extensionORDER BY extension.name ASC;[ Date: 2025-09-17 10:00:56 - Database: flexibleserverdb - User: azuresu - Remote: 169.254.128.1 - Application: [unknown] - Bind query: yes ]
15 3ms SELECT extension.name, extension.installed_version IS NOT NULL AS installed, extension.default_version, extension.installed_version, current_database() as databaseFROM pg_available_extensions extensionORDER BY extension.name ASC;[ Date: 2025-09-17 10:00:31 - Database: flexibleserverdb - User: azuresu - Remote: 169.254.128.1 - Application: [unknown] - Bind query: yes ]
16 2ms SELECT DISTINCT probin FROM pg_catalog.pg_proc WHERE prolang = 13 AND probin IS NOT NULL AND oid >= 16384;[ Date: 2025-09-17 10:06:19 - Database: flexibleserverdb - User: azuresu - Remote: [local] - Application: [unknown] ]
17 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;[ Date: 2025-09-19 23:05:29 - Database: flexibleserverdb - User: azuresu - Remote: 169.254.128.1 - Application: [unknown] - Bind query: yes ]
18 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;[ Date: 2025-09-18 12:31:40 - Database: flexibleserverdb - User: azuresu - Remote: 169.254.128.1 - Application: [unknown] - Bind query: yes ]
19 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;[ Date: 2025-09-18 06:31:19 - Database: flexibleserverdb - User: azuresu - Remote: 169.254.128.1 - Application: [unknown] - Bind query: yes ]
20 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;[ Date: 2025-09-16 06:23:30 - Database: flexibleserverdb - 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 201ms 191 0ms 2ms 1ms select schemaname, sum(n_live_tup) as n_live_tup, sum(n_dead_tup) as n_dead_tup, sum(seq_scan) as seq_scan, sum(seq_tup_read) as seq_tup_read, sum(idx_scan) as idx_scan, sum(idx_tup_fetch) as idx_tup_fetch, sum(n_tup_ins) as n_tup_ins, sum(n_tup_upd) as n_tup_upd, sum(n_tup_del) as n_tup_del, sum(n_tup_hot_upd) as n_tup_hot_upd, sum(n_mod_since_analyze) as n_mod_since_analyze, sum(vacuum_count) as vacuum_count, sum(autovacuum_count) as autovacuum_count, sum(analyze_count) as analyze_count, sum(autoanalyze_count) as autoanalyze_count, count(relid) as tables_counter, sum( case when last_vacuum is not null then ? else ? end)::bigint as tables_vacuumed, sum( case when last_autovacuum is not null then ? else ? end)::bigint as tables_autovacuumed, sum( case when last_analyze is not null then ? else ? end)::bigint as tables_analyzed, sum( case when last_autoanalyze is not null then ? else ? end)::bigint as tables_autoanalyzed from pg_catalog.pg_stat_all_tables group by schemaname;Times Reported Time consuming queries #1
Day Hour Count Duration Avg duration Sep 16 02 2 2ms 1ms 03 2 1ms 0ms 04 2 2ms 1ms 05 2 2ms 1ms 06 2 1ms 0ms 07 2 1ms 0ms 08 2 2ms 1ms 09 2 2ms 1ms 10 2 2ms 1ms 11 2 1ms 0ms 12 2 1ms 0ms 13 2 1ms 0ms 14 2 1ms 0ms 15 2 1ms 0ms 16 2 2ms 1ms 17 2 1ms 0ms 18 2 1ms 0ms 19 2 2ms 1ms 20 2 2ms 1ms 21 2 1ms 0ms 22 2 2ms 1ms 23 2 3ms 1ms 00 2 2ms 1ms 01 2 2ms 1ms Sep 17 02 2 1ms 0ms 03 2 2ms 1ms 04 2 1ms 0ms 05 2 1ms 0ms 06 2 2ms 1ms 07 2 1ms 0ms 08 2 1ms 0ms 09 2 2ms 1ms 10 2 2ms 1ms 11 2 1ms 0ms 12 1 0ms 0ms 13 2 2ms 1ms 14 2 2ms 1ms 15 2 1ms 0ms 16 2 2ms 1ms 17 2 2ms 1ms 18 2 2ms 1ms 19 2 1ms 0ms 20 2 1ms 0ms 21 2 1ms 0ms 22 2 2ms 1ms 23 2 2ms 1ms 00 2 1ms 0ms 01 2 1ms 0ms Sep 18 02 2 2ms 1ms 03 2 2ms 1ms 04 2 1ms 0ms 05 2 2ms 1ms 06 2 1ms 0ms 07 2 1ms 0ms 08 2 2ms 1ms 09 2 2ms 1ms 10 2 2ms 1ms 11 2 2ms 1ms 12 2 2ms 1ms 13 2 2ms 1ms 14 2 2ms 1ms 15 2 2ms 1ms 16 2 2ms 1ms 17 2 2ms 1ms 18 2 1ms 0ms 19 2 2ms 1ms 20 2 2ms 1ms 21 2 1ms 0ms 22 2 2ms 1ms 23 2 1ms 0ms 00 2 1ms 0ms 01 2 1ms 0ms Sep 19 02 2 2ms 1ms 03 2 2ms 1ms 04 2 1ms 0ms 05 2 2ms 1ms 06 2 2ms 1ms 07 2 2ms 1ms 08 2 2ms 1ms 09 2 2ms 1ms 10 2 2ms 1ms 11 2 2ms 1ms 12 2 2ms 1ms 13 2 2ms 1ms 14 2 1ms 0ms 15 2 2ms 1ms 16 2 2ms 1ms 17 2 2ms 1ms 18 2 2ms 1ms 19 2 2ms 1ms 20 2 2ms 1ms 21 2 2ms 1ms 22 2 2ms 1ms 23 2 2ms 1ms 00 2 2ms 1ms 01 2 3ms 1ms [ User: azuresu - Total duration: 201ms - Times executed: 191 ]
[ Application: [unknown] - Total duration: 201ms - Times executed: 191 ]
-
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-19 23:05:29 Duration: 2ms Database: flexibleserverdb User: azuresu Remote: 169.254.128.1 Application: [unknown] Bind query: yes
-
SELECT schemaname, sum(n_live_tup) AS n_live_tup, sum(n_dead_tup) AS n_dead_tup, sum(seq_scan) AS seq_scan, sum(seq_tup_read) AS seq_tup_read, sum(idx_scan) AS idx_scan, sum(idx_tup_fetch) AS idx_tup_fetch, sum(n_tup_ins) AS n_tup_ins, sum(n_tup_upd) AS n_tup_upd, sum(n_tup_del) AS n_tup_del, sum(n_tup_hot_upd) AS n_tup_hot_upd, sum(n_mod_since_analyze) AS n_mod_since_analyze, sum(vacuum_count) AS vacuum_count, sum(autovacuum_count) AS autovacuum_count, sum(analyze_count) AS analyze_count, sum(autoanalyze_count) AS autoanalyze_count, count(relid) AS tables_counter, sum( case when last_vacuum IS NOT NULL then 1 else 0 end)::bigint as tables_vacuumed, sum( case when last_autovacuum IS NOT NULL then 1 else 0 end)::bigint as tables_autovacuumed, sum( case when last_analyze IS NOT NULL then 1 else 0 end)::bigint as tables_analyzed, sum( case when last_autoanalyze IS NOT NULL then 1 else 0 end)::bigint as tables_autoanalyzed FROM pg_catalog.pg_stat_all_tables group by schemaname;
Date: 2025-09-18 12:31:40 Duration: 1ms Database: flexibleserverdb User: azuresu Remote: 169.254.128.1 Application: [unknown] Bind query: yes
-
SELECT schemaname, sum(n_live_tup) AS n_live_tup, sum(n_dead_tup) AS n_dead_tup, sum(seq_scan) AS seq_scan, sum(seq_tup_read) AS seq_tup_read, sum(idx_scan) AS idx_scan, sum(idx_tup_fetch) AS idx_tup_fetch, sum(n_tup_ins) AS n_tup_ins, sum(n_tup_upd) AS n_tup_upd, sum(n_tup_del) AS n_tup_del, sum(n_tup_hot_upd) AS n_tup_hot_upd, sum(n_mod_since_analyze) AS n_mod_since_analyze, sum(vacuum_count) AS vacuum_count, sum(autovacuum_count) AS autovacuum_count, sum(analyze_count) AS analyze_count, sum(autoanalyze_count) AS autoanalyze_count, count(relid) AS tables_counter, sum( case when last_vacuum IS NOT NULL then 1 else 0 end)::bigint as tables_vacuumed, sum( case when last_autovacuum IS NOT NULL then 1 else 0 end)::bigint as tables_autovacuumed, sum( case when last_analyze IS NOT NULL then 1 else 0 end)::bigint as tables_analyzed, sum( case when last_autoanalyze IS NOT NULL then 1 else 0 end)::bigint as tables_autoanalyzed FROM pg_catalog.pg_stat_all_tables group by schemaname;
Date: 2025-09-18 06:31:19 Duration: 1ms Database: flexibleserverdb User: azuresu Remote: 169.254.128.1 Application: [unknown] Bind query: yes
2 136ms 4 8ms 107ms 34ms select version(); select ns.nspname, t.oid, t.typname, t.typtype, t.typnotnull, t.elemtypoid from ( select typ.oid, typ.typnamespace, typ.typname, typ.typtype, typ.typrelid, typ.typnotnull, typ.relkind, elemtyp.oid as elemtypoid, elemtyp.typname as elemtypname, elemcls.relkind as elemrelkind, case when elemproc.proname = ? then ? else elemtyp.typtype end as elemtyptype from ( select typ.oid, typnamespace, typname, typrelid, typnotnull, relkind, typelem as elemoid, case when proc.proname = ? then ? else typ.typtype end as typtype, case when proc.proname = ? then typ.typelem when typ.typtype = ? then rngsubtype when typ.typtype = ? then ( select rngtypid from pg_range where rngmultitypid = typ.oid) when typ.typtype = ? then typ.typbasetype end as elemtypoid from pg_type as typ left join pg_class as cls on (cls.oid = typ.typrelid) left join pg_proc as proc on proc.oid = typ.typreceive left join pg_range on (pg_range.rngtypid = typ.oid)) as typ left join pg_type as elemtyp on elemtyp.oid = elemtypoid left join pg_class as elemcls on (elemcls.oid = elemtyp.typrelid) left join pg_proc as elemproc on elemproc.oid = elemtyp.typreceive) as t join pg_namespace as ns on (ns.oid = typnamespace) where typtype in (...) or (typtype = ? and relkind = ?) or (typtype = ? and typname in (...)) or (typtype = ? and (elemtyptype in (...) or (elemtyptype = ? and elemtypname in (...)) or (elemtyptype = ? and elemrelkind = ?))) order by case when typtype in (...) then ? when typtype = ? then ? when typtype = ? then ? when typtype = ? then ? when typtype = ? and elemtyptype <> ? then ? when typtype = ? then ? when typtype = ? and elemtyptype = ? then ? end; select typ.oid, att.attname, att.atttypid from pg_type as typ join pg_namespace as ns on (ns.oid = typ.typnamespace) join pg_class as cls on (cls.oid = typ.typrelid) join pg_attribute as att on (att.attrelid = typ.typrelid) where (typ.typtype = ? and cls.relkind = ?) and attnum > ? and not attisdropped order by typ.oid, att.attnum; select pg_type.oid, enumlabel from pg_enum join pg_type on pg_type.oid = enumtypid order by oid, enumsortorder;Times Reported Time consuming queries #2
Day Hour Count Duration Avg duration Sep 17 12 4 136ms 34ms [ User: azuresu - Total duration: 136ms - Times executed: 4 ]
[ Application: [unknown] - Total duration: 136ms - Times executed: 4 ]
-
SELECT version(); SELECT ns.nspname, t.oid, t.typname, t.typtype, t.typnotnull, t.elemtypoid FROM ( -- Arrays have typtype=b - this subquery identifies them by their typreceive and converts their typtype to a -- We first do this for the type (innerest-most subquery), and then for its element type -- This also returns the array element, range subtype and domain base type as elemtypoid SELECT typ.oid, typ.typnamespace, typ.typname, typ.typtype, typ.typrelid, typ.typnotnull, typ.relkind, elemtyp.oid AS elemtypoid, elemtyp.typname AS elemtypname, elemcls.relkind AS elemrelkind, CASE WHEN elemproc.proname = 'array_recv' THEN 'a' ELSE elemtyp.typtype END AS elemtyptype FROM ( SELECT typ.oid, typnamespace, typname, typrelid, typnotnull, relkind, typelem AS elemoid, CASE WHEN proc.proname = 'array_recv' THEN 'a' ELSE typ.typtype END AS typtype, CASE WHEN proc.proname = 'array_recv' THEN typ.typelem WHEN typ.typtype = 'r' THEN rngsubtype WHEN typ.typtype = 'm' THEN ( SELECT rngtypid FROM pg_range WHERE rngmultitypid = typ.oid) WHEN typ.typtype = 'd' THEN typ.typbasetype END AS elemtypoid FROM pg_type AS typ LEFT JOIN pg_class AS cls ON (cls.oid = typ.typrelid) LEFT JOIN pg_proc AS proc ON proc.oid = typ.typreceive LEFT JOIN pg_range ON (pg_range.rngtypid = typ.oid)) AS typ LEFT JOIN pg_type AS elemtyp ON elemtyp.oid = elemtypoid LEFT JOIN pg_class AS elemcls ON (elemcls.oid = elemtyp.typrelid) LEFT JOIN pg_proc AS elemproc ON elemproc.oid = elemtyp.typreceive) AS t JOIN pg_namespace AS ns ON (ns.oid = typnamespace) WHERE typtype IN ('b', 'r', 'm', 'e', 'd') OR -- Base, range, multirange, enum, domain (typtype = 'c' AND relkind = 'c') OR -- User-defined free-standing composites (not table composites) by default (typtype = 'p' AND typname IN ('record', 'void')) OR -- Some special supported pseudo-types (typtype = 'a' AND ( -- Array of... elemtyptype IN ('b', 'r', 'm', 'e', 'd') OR -- Array of base, range, multirange, enum, domain (elemtyptype = 'p' AND elemtypname IN ('record', 'void')) OR -- Arrays of special supported pseudo-types (elemtyptype = 'c' AND elemrelkind = 'c') -- Array of user-defined free-standing composites (not table composites) by default )) ORDER BY CASE WHEN typtype IN ('b', 'e', 'p') THEN 0 -- First base types, enums, pseudo-types WHEN typtype = 'r' THEN 1 -- Ranges after WHEN typtype = 'm' THEN 2 -- Multiranges after WHEN typtype = 'c' THEN 3 -- Composites after WHEN typtype = 'd' AND elemtyptype <> 'a' THEN 4 -- Domains over non-arrays after WHEN typtype = 'a' THEN 5 -- Arrays after WHEN typtype = 'd' AND elemtyptype = 'a' THEN 6 -- Domains over arrays last END; -- Load field definitions for (free-standing) composite types SELECT typ.oid, att.attname, att.atttypid FROM pg_type AS typ JOIN pg_namespace AS ns ON (ns.oid = typ.typnamespace) JOIN pg_class AS cls ON (cls.oid = typ.typrelid) JOIN pg_attribute AS att ON (att.attrelid = typ.typrelid) WHERE (typ.typtype = 'c' AND cls.relkind = 'c') AND attnum > 0 AND -- Don't load system attributes NOT attisdropped ORDER BY typ.oid, att.attnum; -- Load enum fields SELECT pg_type.oid, enumlabel FROM pg_enum JOIN pg_type ON pg_type.oid = enumtypid ORDER BY oid, enumsortorder;
Date: 2025-09-17 10:00:29 Duration: 107ms Database: flexibleserverdb 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:59 Duration: 10ms Database: flexibleserverdb 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:18:04 Duration: 9ms Database: flexibleserverdb User: azuresu Remote: 169.254.128.1 Application: [unknown]
3 18ms 1 18ms 18ms 18ms with recursive oids as ( select t.oid from pg_catalog.pg_type t left join pg_catalog.pg_namespace n on t.typnamespace = n.oid where typtype = ? and (t.oid < ? or nspname = ?) union all select * from ( with x as ( select oid from oids ) select t.oid from pg_catalog.pg_type t, x where typbasetype = x.oid and typtype = ? union all select t.oid from pg_catalog.pg_type t, x where typelem = x.oid and typtype = ? union all select t.oid from pg_catalog.pg_type t, pg_catalog.pg_class c, pg_catalog.pg_attribute a, x where t.typtype = ? and t.oid = c.reltype and c.oid = a.attrelid and not a.attisdropped and a.atttypid = x.oid union all select t.oid from pg_catalog.pg_type t, pg_catalog.pg_range r, x where t.typtype = ? and r.rngtypid = t.oid and r.rngsubtype = x.oid) foo ) select n.nspname, c.relname, a.attname from pg_catalog.pg_class c, pg_catalog.pg_namespace n, pg_catalog.pg_attribute a where c.oid = a.attrelid and not a.attisdropped and a.atttypid in ( select oid from oids) and c.relkind in (...) and c.relnamespace = n.oid and n.nspname !~ ? and n.nspname !~ ? and n.nspname not in (...);Times Reported Time consuming queries #3
Day Hour Count Duration Avg duration Sep 17 12 1 18ms 18ms [ User: azuresu - Total duration: 18ms - Times executed: 1 ]
[ Application: [unknown] - Total duration: 18ms - Times executed: 1 ]
-
WITH RECURSIVE oids AS ( SELECT t.oid FROM pg_catalog.pg_type t LEFT JOIN pg_catalog.pg_namespace n ON t.typnamespace = n.oid WHERE typtype = 'c' AND (t.oid < 16384 OR nspname = 'information_schema') UNION ALL SELECT * FROM ( WITH x AS ( SELECT oid FROM oids ) SELECT t.oid FROM pg_catalog.pg_type t, x WHERE typbasetype = x.oid AND typtype = 'd' UNION ALL SELECT t.oid FROM pg_catalog.pg_type t, x WHERE typelem = x.oid AND typtype = 'b' UNION ALL SELECT t.oid FROM pg_catalog.pg_type t, pg_catalog.pg_class c, pg_catalog.pg_attribute a, x WHERE t.typtype = 'c' AND t.oid = c.reltype AND c.oid = a.attrelid AND NOT a.attisdropped AND a.atttypid = x.oid UNION ALL SELECT t.oid FROM pg_catalog.pg_type t, pg_catalog.pg_range r, x WHERE t.typtype = 'r' AND r.rngtypid = t.oid AND r.rngsubtype = x.oid) foo ) SELECT n.nspname, c.relname, a.attname FROM pg_catalog.pg_class c, pg_catalog.pg_namespace n, pg_catalog.pg_attribute a WHERE c.oid = a.attrelid AND NOT a.attisdropped AND a.atttypid IN ( SELECT oid FROM oids) AND c.relkind IN ('r', 'm', 'i') AND c.relnamespace = n.oid AND n.nspname !~ '^pg_temp_' AND n.nspname !~ '^pg_toast_temp_' AND n.nspname NOT IN ('pg_catalog', 'information_schema');
Date: 2025-09-17 10:06:19 Duration: 18ms Database: flexibleserverdb User: azuresu Remote: [local] Application: [unknown]
4 16ms 1 16ms 16ms 16ms select count(*) from pg_catalog.pg_class class, pg_catalog.pg_attribute attr, pg_catalog.pg_namespace ns, pg_catalog.pg_roles rolwhere attr.atttypid in (?::pg_catalog.regtype, ?::pg_catalog.regtype, ?::pg_catalog.regtype, ?::pg_catalog.regtype, ?::pg_catalog.regtype, ?::pg_catalog.regtype, ?::pg_catalog.regtype, ?::pg_catalog.regtype) and ns.nspname not in (...) and class.oid = attr.attrelid and class.relnamespace = ns.oid and rol.oid = class.relowner and not attr.attisdropped and not (class.relname in (...) and rol.rolname = ? and atttypid = ?::pg_catalog.regtype);Times Reported Time consuming queries #4
Day Hour Count Duration Avg duration Sep 17 12 1 16ms 16ms [ User: azuresu - Total duration: 16ms - Times executed: 1 ]
[ Application: [unknown] - Total duration: 16ms - Times executed: 1 ]
-
SELECT count(*) FROM pg_catalog.pg_class class, pg_catalog.pg_attribute attr, pg_catalog.pg_namespace ns, pg_catalog.pg_roles rolWHERE attr.atttypid IN ('pg_catalog.regcollation'::pg_catalog.regtype, 'pg_catalog.regconfig'::pg_catalog.regtype, 'pg_catalog.regdictionary'::pg_catalog.regtype, 'pg_catalog.regnamespace'::pg_catalog.regtype, 'pg_catalog.regoper'::pg_catalog.regtype, 'pg_catalog.regoperator'::pg_catalog.regtype, 'pg_catalog.regproc'::pg_catalog.regtype, 'pg_catalog.regprocedure'::pg_catalog.regtype) AND ns.nspname NOT IN ('pg_catalog', 'information_schema') AND class.oid = attr.attrelid AND class.relnamespace = ns.oid AND rol.oid = class.relowner AND NOT attr.attisdropped AND NOT (class.relname IN ('pg_masking_rules', 'pg_masks') and rol.rolname = 'azuresu' and atttypid = 'pg_catalog.regnamespace'::pg_catalog.regtype);
Date: 2025-09-17 10:00:29 Duration: 16ms Database: flexibleserverdb User: azuresu Remote: 169.254.128.1 Application: [unknown] Bind query: yes
5 14ms 288 0ms 0ms 0ms set session statement_timeout to ?;Times Reported Time consuming queries #5
Day Hour Count Duration Avg duration Sep 16 02 3 0ms 0ms 03 3 0ms 0ms 04 3 0ms 0ms 05 3 0ms 0ms 06 3 0ms 0ms 07 3 0ms 0ms 08 3 0ms 0ms 09 3 0ms 0ms 10 3 0ms 0ms 11 3 0ms 0ms 12 3 0ms 0ms 13 3 0ms 0ms 14 3 0ms 0ms 15 3 0ms 0ms 16 3 0ms 0ms 17 3 0ms 0ms 18 3 0ms 0ms 19 3 0ms 0ms 20 3 0ms 0ms 21 3 0ms 0ms 22 3 0ms 0ms 23 3 0ms 0ms 00 3 0ms 0ms 01 3 0ms 0ms Sep 17 02 3 0ms 0ms 03 3 0ms 0ms 04 3 0ms 0ms 05 3 0ms 0ms 06 3 0ms 0ms 07 3 0ms 0ms 08 3 0ms 0ms 09 3 0ms 0ms 10 3 0ms 0ms 11 3 0ms 0ms 12 3 0ms 0ms 13 3 0ms 0ms 14 3 0ms 0ms 15 3 0ms 0ms 16 3 0ms 0ms 17 3 0ms 0ms 18 3 0ms 0ms 19 3 0ms 0ms 20 3 0ms 0ms 21 3 0ms 0ms 22 3 0ms 0ms 23 3 0ms 0ms 00 3 0ms 0ms 01 3 0ms 0ms Sep 18 02 3 0ms 0ms 03 3 0ms 0ms 04 3 0ms 0ms 05 3 0ms 0ms 06 3 0ms 0ms 07 3 0ms 0ms 08 3 0ms 0ms 09 3 0ms 0ms 10 3 0ms 0ms 11 3 0ms 0ms 12 3 0ms 0ms 13 3 0ms 0ms 14 3 0ms 0ms 15 3 0ms 0ms 16 3 0ms 0ms 17 3 0ms 0ms 18 3 0ms 0ms 19 3 0ms 0ms 20 3 0ms 0ms 21 3 0ms 0ms 22 3 0ms 0ms 23 3 0ms 0ms 00 3 0ms 0ms 01 3 0ms 0ms Sep 19 02 3 0ms 0ms 03 3 0ms 0ms 04 3 0ms 0ms 05 3 0ms 0ms 06 3 0ms 0ms 07 3 0ms 0ms 08 3 0ms 0ms 09 3 0ms 0ms 10 3 0ms 0ms 11 3 0ms 0ms 12 3 0ms 0ms 13 3 0ms 0ms 14 3 0ms 0ms 15 3 0ms 0ms 16 3 0ms 0ms 17 3 0ms 0ms 18 3 0ms 0ms 19 3 0ms 0ms 20 3 0ms 0ms 21 3 0ms 0ms 22 3 0ms 0ms 23 3 0ms 0ms 00 3 0ms 0ms 01 3 0ms 0ms [ User: azuresu - Total duration: 14ms - Times executed: 288 ]
[ Application: [unknown] - Total duration: 14ms - Times executed: 288 ]
-
set session statement_timeout to 120000;
Date: 2025-09-19 20:35:20 Duration: 0ms Database: flexibleserverdb User: azuresu Remote: 169.254.128.1 Application: [unknown] Bind query: yes
-
set session statement_timeout to 60000;
Date: 2025-09-19 01:02:23 Duration: 0ms Database: flexibleserverdb User: azuresu Remote: 169.254.128.1 Application: [unknown] Bind query: yes
-
set session statement_timeout to 60000;
Date: 2025-09-18 15:01:48 Duration: 0ms Database: flexibleserverdb User: azuresu Remote: 169.254.128.1 Application: [unknown] Bind query: yes
6 12ms 4 3ms 3ms 3ms select extension.name, extension.installed_version is not null as installed, extension.default_version, extension.installed_version, current_database() as databasefrom pg_available_extensions extensionorder by extension.name asc;Times Reported Time consuming queries #6
Day Hour Count Duration Avg duration Sep 17 12 4 12ms 3ms [ User: azuresu - Total duration: 12ms - Times executed: 4 ]
[ Application: [unknown] - Total duration: 12ms - Times executed: 4 ]
-
SELECT extension.name, extension.installed_version IS NOT NULL AS installed, extension.default_version, extension.installed_version, current_database() as databaseFROM pg_available_extensions extensionORDER BY extension.name ASC;
Date: 2025-09-17 10:00:29 Duration: 3ms Database: flexibleserverdb User: azuresu Remote: 169.254.128.1 Application: [unknown] Bind query: yes
-
SELECT extension.name, extension.installed_version IS NOT NULL AS installed, extension.default_version, extension.installed_version, current_database() as databaseFROM pg_available_extensions extensionORDER BY extension.name ASC;
Date: 2025-09-17 10:18:04 Duration: 3ms Database: flexibleserverdb User: azuresu Remote: 169.254.128.1 Application: [unknown] Bind query: yes
-
SELECT extension.name, extension.installed_version IS NOT NULL AS installed, extension.default_version, extension.installed_version, current_database() as databaseFROM pg_available_extensions extensionORDER BY extension.name ASC;
Date: 2025-09-17 10:00:56 Duration: 3ms Database: flexibleserverdb User: azuresu Remote: 169.254.128.1 Application: [unknown] Bind query: yes
7 11ms 1 11ms 11ms 11ms with recursive oids as ( select oid from pg_catalog.pg_type t where t.typnamespace = ( select oid from pg_catalog.pg_namespace where nspname = ?) and t.typname in (...) union all select * from ( with x as ( select oid from oids ) select t.oid from pg_catalog.pg_type t, x where typbasetype = x.oid and typtype = ? union all select t.oid from pg_catalog.pg_type t, x where typelem = x.oid and typtype = ? union all select t.oid from pg_catalog.pg_type t, pg_catalog.pg_class c, pg_catalog.pg_attribute a, x where t.typtype = ? and t.oid = c.reltype and c.oid = a.attrelid and not a.attisdropped and a.atttypid = x.oid union all select t.oid from pg_catalog.pg_type t, pg_catalog.pg_range r, x where t.typtype = ? and r.rngtypid = t.oid and r.rngsubtype = x.oid) foo ) select n.nspname, c.relname, a.attname from pg_catalog.pg_class c, pg_catalog.pg_namespace n, pg_catalog.pg_attribute a where c.oid = a.attrelid and not a.attisdropped and a.atttypid in ( select oid from oids) and c.relkind in (...) and c.relnamespace = n.oid and n.nspname !~ ? and n.nspname !~ ? and n.nspname not in (...);Times Reported Time consuming queries #7
Day Hour Count Duration Avg duration Sep 17 12 1 11ms 11ms [ User: azuresu - Total duration: 11ms - Times executed: 1 ]
[ Application: [unknown] - Total duration: 11ms - Times executed: 1 ]
-
WITH RECURSIVE oids AS ( SELECT oid FROM pg_catalog.pg_type t WHERE t.typnamespace = ( SELECT oid FROM pg_catalog.pg_namespace WHERE nspname = 'pg_catalog') AND t.typname IN ('regcollation', 'regconfig', 'regdictionary', 'regnamespace', 'regoper', 'regoperator', 'regproc', 'regprocedure') UNION ALL SELECT * FROM ( WITH x AS ( SELECT oid FROM oids ) SELECT t.oid FROM pg_catalog.pg_type t, x WHERE typbasetype = x.oid AND typtype = 'd' UNION ALL SELECT t.oid FROM pg_catalog.pg_type t, x WHERE typelem = x.oid AND typtype = 'b' UNION ALL SELECT t.oid FROM pg_catalog.pg_type t, pg_catalog.pg_class c, pg_catalog.pg_attribute a, x WHERE t.typtype = 'c' AND t.oid = c.reltype AND c.oid = a.attrelid AND NOT a.attisdropped AND a.atttypid = x.oid UNION ALL SELECT t.oid FROM pg_catalog.pg_type t, pg_catalog.pg_range r, x WHERE t.typtype = 'r' AND r.rngtypid = t.oid AND r.rngsubtype = x.oid) foo ) SELECT n.nspname, c.relname, a.attname FROM pg_catalog.pg_class c, pg_catalog.pg_namespace n, pg_catalog.pg_attribute a WHERE c.oid = a.attrelid AND NOT a.attisdropped AND a.atttypid IN ( SELECT oid FROM oids) AND c.relkind IN ('r', 'm', 'i') AND c.relnamespace = n.oid AND n.nspname !~ '^pg_temp_' AND n.nspname !~ '^pg_toast_temp_' AND n.nspname NOT IN ('pg_catalog', 'information_schema');
Date: 2025-09-17 10:06:19 Duration: 11ms Database: flexibleserverdb User: azuresu Remote: [local] Application: [unknown]
8 9ms 96 0ms 0ms 0ms select extname, extowner, extnamespace, extrelocatable, extversion, extconfig, extcondition from pg_catalog.pg_extension;Times Reported Time consuming queries #8
Day Hour Count Duration Avg duration Sep 16 02 1 0ms 0ms 03 1 0ms 0ms 04 1 0ms 0ms 05 1 0ms 0ms 06 1 0ms 0ms 07 1 0ms 0ms 08 1 0ms 0ms 09 1 0ms 0ms 10 1 0ms 0ms 11 1 0ms 0ms 12 1 0ms 0ms 13 1 0ms 0ms 14 1 0ms 0ms 15 1 0ms 0ms 16 1 0ms 0ms 17 1 0ms 0ms 18 1 0ms 0ms 19 1 0ms 0ms 20 1 0ms 0ms 21 1 0ms 0ms 22 1 0ms 0ms 23 1 0ms 0ms 00 1 0ms 0ms 01 1 0ms 0ms Sep 17 02 1 0ms 0ms 03 1 0ms 0ms 04 1 0ms 0ms 05 1 0ms 0ms 06 1 0ms 0ms 07 1 0ms 0ms 08 1 0ms 0ms 09 1 0ms 0ms 10 1 0ms 0ms 11 1 0ms 0ms 12 1 0ms 0ms 13 1 0ms 0ms 14 1 0ms 0ms 15 1 0ms 0ms 16 1 0ms 0ms 17 1 0ms 0ms 18 1 0ms 0ms 19 1 0ms 0ms 20 1 0ms 0ms 21 1 0ms 0ms 22 1 0ms 0ms 23 1 0ms 0ms 00 1 0ms 0ms 01 1 0ms 0ms Sep 18 02 1 0ms 0ms 03 1 0ms 0ms 04 1 0ms 0ms 05 1 0ms 0ms 06 1 0ms 0ms 07 1 0ms 0ms 08 1 0ms 0ms 09 1 0ms 0ms 10 1 0ms 0ms 11 1 0ms 0ms 12 1 0ms 0ms 13 1 0ms 0ms 14 1 0ms 0ms 15 1 0ms 0ms 16 1 0ms 0ms 17 1 0ms 0ms 18 1 0ms 0ms 19 1 0ms 0ms 20 1 0ms 0ms 21 1 0ms 0ms 22 1 0ms 0ms 23 1 0ms 0ms 00 1 0ms 0ms 01 1 0ms 0ms Sep 19 02 1 0ms 0ms 03 1 0ms 0ms 04 1 0ms 0ms 05 1 0ms 0ms 06 1 0ms 0ms 07 1 0ms 0ms 08 1 0ms 0ms 09 1 0ms 0ms 10 1 0ms 0ms 11 1 0ms 0ms 12 1 0ms 0ms 13 1 0ms 0ms 14 1 0ms 0ms 15 1 0ms 0ms 16 1 0ms 0ms 17 1 0ms 0ms 18 1 0ms 0ms 19 1 0ms 0ms 20 1 0ms 0ms 21 1 0ms 0ms 22 1 0ms 0ms 23 1 0ms 0ms 00 1 0ms 0ms 01 1 0ms 0ms [ User: azuresu - Total duration: 9ms - Times executed: 96 ]
[ Application: [unknown] - Total duration: 9ms - Times executed: 96 ]
-
SELECT extname, extowner, extnamespace, extrelocatable, extversion, extconfig, extcondition FROM pg_catalog.pg_extension;
Date: 2025-09-19 15:35:03 Duration: 0ms Database: flexibleserverdb User: azuresu Remote: 169.254.128.1 Application: [unknown] Bind query: yes
-
SELECT extname, extowner, extnamespace, extrelocatable, extversion, extconfig, extcondition FROM pg_catalog.pg_extension;
Date: 2025-09-18 09:31:30 Duration: 0ms Database: flexibleserverdb User: azuresu Remote: 169.254.128.1 Application: [unknown] Bind query: yes
-
SELECT extname, extowner, extnamespace, extrelocatable, extversion, extconfig, extcondition FROM pg_catalog.pg_extension;
Date: 2025-09-19 11:34:49 Duration: 0ms Database: flexibleserverdb User: azuresu Remote: 169.254.128.1 Application: [unknown] Bind query: yes
9 9ms 1 9ms 9ms 9ms with target_oids as ( select oid from pg_class where relname = ? ) select count(*) over () as total_count, c.relname as view_name, n.nspname as schema_name, current_database() as database_namefrom pg_depend djoin pg_rewrite r on d.objid = r.oidjoin pg_class c on r.ev_class = c.oidjoin pg_namespace n on c.relnamespace = n.oidwhere d.refobjid in ( select oid from target_oids) and c.relkind = ? and n.nspname not in (...);Times Reported Time consuming queries #9
Day Hour Count Duration Avg duration Sep 17 12 1 9ms 9ms [ User: azuresu - Total duration: 9ms - Times executed: 1 ]
[ Application: [unknown] - Total duration: 9ms - Times executed: 1 ]
-
WITH target_oids AS ( SELECT oid FROM pg_class WHERE relname = 'pg_stat_activity' ) SELECT COUNT(*) OVER () AS total_count, c.relname AS view_name, n.nspname AS schema_name, current_database() AS database_nameFROM pg_depend dJOIN pg_rewrite r ON d.objid = r.oidJOIN pg_class c ON r.ev_class = c.oidJOIN pg_namespace n ON c.relnamespace = n.oidWHERE d.refobjid IN ( SELECT oid FROM target_oids) AND c.relkind = 'v' AND n.nspname NOT IN ('pg_catalog', 'information_schema');
Date: 2025-09-17 10:00:31 Duration: 9ms Database: flexibleserverdb User: azuresu Remote: 169.254.128.1 Application: [unknown] Bind query: yes
10 8ms 1 8ms 8ms 8ms with regular_heap ( reloid, indtable, toastheap ) as ( select c.oid, ?::oid, ?::oid from pg_catalog.pg_class c join pg_catalog.pg_namespace n on c.relnamespace = n.oid where relkind in (...) and ((n.nspname !~ ? and n.nspname !~ ? and n.nspname not in (...) and c.oid >= ?::pg_catalog.oid) or (n.nspname = ? and relname in (...))) ), toast_heap ( reloid, indtable, toastheap ) as ( select c.reltoastrelid, ?::oid, c.oid from regular_heap join pg_catalog.pg_class c on regular_heap.reloid = c.oid where c.reltoastrelid != ? ), all_index ( reloid, indtable, toastheap ) as ( select indexrelid, indrelid, ?::oid from pg_catalog.pg_index where indisvalid and indisready and indrelid in ( select reloid from regular_heap union all select reloid from toast_heap)) select all_rels.*, n.nspname, c.relname, c.relfilenode, c.reltablespace, pg_catalog.pg_tablespace_location(t.oid) as spclocation from ( select * from regular_heap union all select * from toast_heap union all select * from all_index) all_rels join pg_catalog.pg_class c on all_rels.reloid = c.oid join pg_catalog.pg_namespace n on c.relnamespace = n.oid left outer join pg_catalog.pg_tablespace t on c.reltablespace = t.oid order by ?;Times Reported Time consuming queries #10
Day Hour Count Duration Avg duration Sep 17 12 1 8ms 8ms [ User: azuresu - Total duration: 8ms - Times executed: 1 ]
[ Application: [unknown] - Total duration: 8ms - Times executed: 1 ]
-
WITH regular_heap ( reloid, indtable, toastheap ) AS ( SELECT c.oid, 0::oid, 0::oid FROM pg_catalog.pg_class c JOIN pg_catalog.pg_namespace n ON c.relnamespace = n.oid WHERE relkind IN ('r', 'm') AND ((n.nspname !~ '^pg_temp_' AND n.nspname !~ '^pg_toast_temp_' AND n.nspname NOT IN ('pg_catalog', 'information_schema', 'binary_upgrade', 'pg_toast') AND c.oid >= 16384::pg_catalog.oid) OR (n.nspname = 'pg_catalog' AND relname IN ('pg_largeobject'))) ), toast_heap ( reloid, indtable, toastheap ) AS ( SELECT c.reltoastrelid, 0::oid, c.oid FROM regular_heap JOIN pg_catalog.pg_class c ON regular_heap.reloid = c.oid WHERE c.reltoastrelid != 0 ), all_index ( reloid, indtable, toastheap ) AS ( SELECT indexrelid, indrelid, 0::oid FROM pg_catalog.pg_index WHERE indisvalid AND indisready AND indrelid IN ( SELECT reloid FROM regular_heap UNION ALL SELECT reloid FROM toast_heap)) SELECT all_rels.*, n.nspname, c.relname, c.relfilenode, c.reltablespace, pg_catalog.pg_tablespace_location(t.oid) AS spclocation FROM ( SELECT * FROM regular_heap UNION ALL SELECT * FROM toast_heap UNION ALL SELECT * FROM all_index) all_rels JOIN pg_catalog.pg_class c ON all_rels.reloid = c.oid JOIN pg_catalog.pg_namespace n ON c.relnamespace = n.oid LEFT OUTER JOIN pg_catalog.pg_tablespace t ON c.reltablespace = t.oid ORDER BY 1;
Date: 2025-09-17 10:06:18 Duration: 8ms Database: flexibleserverdb User: azuresu Remote: [local] Application: [unknown]
11 6ms 1 6ms 6ms 6ms with init_privs as ( select distinct classoid, objoid, objsubid, replace((regexp_matches(unnest(initprivs)::text, ?))[?], ?, ?) as grantor from pg_init_privs where privtype = ? ), all_privs as ( select c.relnamespace as namespace, i.*, relowner as owner from init_privs i join pg_class as c on i.classoid = ? and c.oid = i.objoid union all select t.typnamespace, i.*, t.typowner from init_privs i join pg_type as t on i.classoid = ? and t.oid = i.objoid union all select ?, i.*, fdw.fdwowner from init_privs i join pg_foreign_data_wrapper as fdw on i.classoid = ? and fdw.oid = i.objoid union all select ?, i.*, fs.srvowner from init_privs i join pg_foreign_server as fs on i.classoid = ? and fs.oid = i.objoid union all select p.pronamespace, i.*, p.proowner from init_privs i join pg_proc as p on i.classoid = ? and p.oid = i.objoid union all select ?, i.*, l.lanowner from init_privs i join pg_language as l on i.classoid = ? and l.oid = i.objoid union all select ?, i.*, n.nspowner from init_privs i join pg_namespace n on i.classoid = ? and n.oid = i.objoid ) select pg_describe_object(classoid, objoid, objsubid), current_database() as database from all_privs where not pg_has_role(grantor, owner, ?) or namespace <> ? and not has_schema_privilege(grantor, namespace, ?);Times Reported Time consuming queries #11
Day Hour Count Duration Avg duration Sep 17 12 1 6ms 6ms [ User: azuresu - Total duration: 6ms - Times executed: 1 ]
[ Application: [unknown] - Total duration: 6ms - Times executed: 1 ]
-
WITH init_privs AS ( SELECT DISTINCT classoid, objoid, objsubid, /* * initprivs is an array, with elements in format: * '[$user]=$Perm/$grantor', where $grantor could be double-quoted. * Therefore we first unnest, then extract grantor using regexp (it * also handles first and last double-quote symbols, if there are * any), and finally replace two double-quotes with a single one. */ replace((regexp_matches(unnest(initprivs)::text, '.*/"{0,1}(.*?)"{0,1}'))[1], '""', '"') as grantor FROM pg_init_privs WHERE privtype = 'e' /* we are interested only in extension objects */ ), all_privs AS ( /* * Depending on classoid we need to join with respective catalog tables to * find the object owner. List of tables is taken from getAdditionalACLs() * function in pg_dump.c file. * Besides that we extract a schema OID from the object, to check later * that required grantor from pg_init_privs has access to the schema. */ SELECT c.relnamespace AS namespace, i.*, relowner AS owner FROM init_privs i JOIN pg_class AS c ON i.classoid = 1259 AND c.oid = i.objoid UNION ALL SELECT t.typnamespace, i.*, t.typowner FROM init_privs i JOIN pg_type AS t ON i.classoid = 1247 AND t.oid = i.objoid UNION ALL SELECT 0, i.*, fdw.fdwowner FROM init_privs i JOIN pg_foreign_data_wrapper AS fdw ON i.classoid = 2328 AND fdw.oid = i.objoid UNION ALL SELECT 0, i.*, fs.srvowner FROM init_privs i JOIN pg_foreign_server AS fs ON i.classoid = 1417 AND fs.oid = i.objoid UNION ALL SELECT p.pronamespace, i.*, p.proowner FROM init_privs i JOIN pg_proc AS p ON i.classoid = 1255 AND p.oid = i.objoid UNION ALL SELECT 0, i.*, l.lanowner FROM init_privs i JOIN pg_language AS l ON i.classoid = 2612 AND l.oid = i.objoid UNION ALL SELECT 0, i.*, n.nspowner FROM init_privs i JOIN pg_namespace n ON i.classoid = 2615 AND n.oid = i.objoid ) SELECT pg_describe_object(classoid, objoid, objsubid), current_database() as database FROM all_privs /* * pg_dump/pg_restore creates an object and immediately changes the owner. * Later, when pg_init_privs are restored, the following happens: * ``` * SELECT pg_catalog.binary_upgrade_set_record_init_privs(true); * REVOKE ALL ON $object FROM $user; * SET SESSION AUTHORIZATION $grantor; * GRANT $permission ON $object TO $grantee;; * RESET SESSION AUTHORIZATION; * SELECT pg_catalog.binary_upgrade_set_record_init_privs(false); * ``` * Therefore we need to check only two things: * - $grantor has role privilege of object owner * - $grantor has USAGE on SCHEMA where object exists */ WHERE NOT pg_has_role(grantor, owner, 'USAGE') OR namespace <> 0 AND NOT has_schema_privilege(grantor, namespace, 'USAGE');
Date: 2025-09-17 10:00:29 Duration: 6ms Database: flexibleserverdb User: azuresu Remote: 169.254.128.1 Application: [unknown] Bind query: yes
12 3ms 1 3ms 3ms 3ms grant execute on function pg_catalog.pg_show_replication_origin_status () to azure_pg_admin;Times Reported Time consuming queries #12
Day Hour Count Duration Avg duration Sep 17 12 1 3ms 3ms [ User: azuresu - Total duration: 3ms - Times executed: 1 ]
[ Application: [unknown] - Total duration: 3ms - Times executed: 1 ]
-
GRANT EXECUTE ON FUNCTION pg_catalog.pg_show_replication_origin_status () TO azure_pg_admin;
Date: 2025-09-17 10:18:00 Duration: 3ms Database: flexibleserverdb User: azuresu Remote: 169.254.128.1 Application: [unknown] Bind query: yes
13 2ms 16 0ms 0ms 0ms set session authorization default; reset all; close "..." *; select pg_advisory_unlock_all(); discard sequences; discard temp;Times Reported Time consuming queries #13
Day Hour Count Duration Avg duration Sep 17 12 16 2ms 0ms [ User: azuresu - Total duration: 2ms - Times executed: 16 ]
[ Application: [unknown] - Total duration: 2ms - Times executed: 16 ]
-
SET SESSION AUTHORIZATION DEFAULT; RESET ALL; CLOSE ALL; UNLISTEN *; SELECT pg_advisory_unlock_all(); DISCARD SEQUENCES; DISCARD TEMP;
Date: 2025-09-17 10:18:00 Duration: 0ms Database: flexibleserverdb User: azuresu Remote: 169.254.128.1 Application: [unknown]
-
SET SESSION AUTHORIZATION DEFAULT; RESET ALL; CLOSE ALL; UNLISTEN *; SELECT pg_advisory_unlock_all(); DISCARD SEQUENCES; DISCARD TEMP;
Date: 2025-09-17 10:18:10 Duration: 0ms Database: flexibleserverdb User: azuresu Remote: 169.254.128.1 Application: [unknown]
-
SET SESSION AUTHORIZATION DEFAULT; RESET ALL; CLOSE ALL; UNLISTEN *; SELECT pg_advisory_unlock_all(); DISCARD SEQUENCES; DISCARD TEMP;
Date: 2025-09-17 10:18:10 Duration: 0ms Database: flexibleserverdb User: azuresu Remote: 169.254.128.1 Application: [unknown]
14 2ms 1 2ms 2ms 2ms select distinct probin from pg_catalog.pg_proc where prolang = ? and probin is not null and oid >= ?;Times Reported Time consuming queries #14
Day Hour Count Duration Avg duration Sep 17 12 1 2ms 2ms [ User: azuresu - Total duration: 2ms - Times executed: 1 ]
[ Application: [unknown] - Total duration: 2ms - Times executed: 1 ]
-
SELECT DISTINCT probin FROM pg_catalog.pg_proc WHERE prolang = 13 AND probin IS NOT NULL AND oid >= 16384;
Date: 2025-09-17 10:06:19 Duration: 2ms Database: flexibleserverdb User: azuresu Remote: [local] Application: [unknown]
15 1ms 3 0ms 0ms 0ms select pg_catalog.set_config(?, ?, false);Times Reported Time consuming queries #15
Day Hour Count Duration Avg duration Sep 17 12 3 1ms 0ms [ User: azuresu - Total duration: 1ms - Times executed: 3 ]
[ Application: [unknown] - Total duration: 1ms - Times executed: 3 ]
-
SELECT pg_catalog.set_config('search_path', '', false);
Date: 2025-09-17 10:06:18 Duration: 0ms Database: flexibleserverdb User: azuresu Remote: [local] Application: [unknown]
-
SELECT pg_catalog.set_config('search_path', '', false);
Date: 2025-09-17 10:06:19 Duration: 0ms Database: flexibleserverdb User: azuresu Remote: [local] Application: [unknown]
-
SELECT pg_catalog.set_config('search_path', '', false);
Date: 2025-09-17 10:06:19 Duration: 0ms Database: flexibleserverdb User: azuresu Remote: [local] Application: [unknown]
16 1ms 2 0ms 0ms 0ms alter extension "plpgsql" update;Times Reported Time consuming queries #16
Day Hour Count Duration Avg duration Sep 17 12 2 1ms 0ms [ User: azuresu - Total duration: 1ms - Times executed: 2 ]
[ Application: [unknown] - Total duration: 1ms - Times executed: 2 ]
-
ALTER EXTENSION "plpgsql" UPDATE;
Date: 2025-09-17 10:00:56 Duration: 0ms Database: flexibleserverdb User: azuresu Remote: 169.254.128.1 Application: [unknown] Bind query: yes
-
ALTER EXTENSION "plpgsql" UPDATE;
Date: 2025-09-17 10:18:04 Duration: 0ms Database: flexibleserverdb User: azuresu Remote: 169.254.128.1 Application: [unknown] Bind query: yes
17 0ms 1 0ms 0ms 0ms grant execute on function pg_catalog.pg_stat_reset_single_function_counters(oid) to azure_pg_admin;Times Reported Time consuming queries #17
Day Hour Count Duration Avg duration Sep 17 12 1 0ms 0ms [ User: azuresu - Total duration: 0ms - Times executed: 1 ]
[ Application: [unknown] - Total duration: 0ms - Times executed: 1 ]
-
GRANT EXECUTE ON FUNCTION pg_catalog.pg_stat_reset_single_function_counters(oid) TO azure_pg_admin;
Date: 2025-09-17 10:17:59 Duration: 0ms Database: flexibleserverdb User: azuresu Remote: 169.254.128.1 Application: [unknown] Bind query: yes
18 0ms 1 0ms 0ms 0ms grant execute on function pg_catalog.pg_stat_reset_shared(text) to azure_pg_admin;Times Reported Time consuming queries #18
Day Hour Count Duration Avg duration Sep 17 12 1 0ms 0ms [ User: azuresu - Total duration: 0ms - Times executed: 1 ]
[ Application: [unknown] - Total duration: 0ms - Times executed: 1 ]
-
GRANT EXECUTE ON FUNCTION pg_catalog.pg_stat_reset_shared(text) TO azure_pg_admin;
Date: 2025-09-17 10:18:00 Duration: 0ms Database: flexibleserverdb User: azuresu Remote: 169.254.128.1 Application: [unknown] Bind query: yes
19 0ms 1 0ms 0ms 0ms grant execute on function pg_catalog.pg_stat_reset_single_table_counters(oid) to azure_pg_admin;Times Reported Time consuming queries #19
Day Hour Count Duration Avg duration Sep 17 12 1 0ms 0ms [ User: azuresu - Total duration: 0ms - Times executed: 1 ]
[ Application: [unknown] - Total duration: 0ms - Times executed: 1 ]
-
GRANT EXECUTE ON FUNCTION pg_catalog.pg_stat_reset_single_table_counters(oid) TO azure_pg_admin;
Date: 2025-09-17 10:18:00 Duration: 0ms Database: flexibleserverdb User: azuresu Remote: 169.254.128.1 Application: [unknown] Bind query: yes
20 0ms 1 0ms 0ms 0ms grant execute on function pg_catalog.pg_replication_origin_oid (text) to azure_pg_admin;Times Reported Time consuming queries #20
Day Hour Count Duration Avg duration Sep 17 12 1 0ms 0ms [ User: azuresu - Total duration: 0ms - Times executed: 1 ]
[ Application: [unknown] - Total duration: 0ms - Times executed: 1 ]
-
GRANT EXECUTE ON FUNCTION pg_catalog.pg_replication_origin_oid (text) TO azure_pg_admin;
Date: 2025-09-17 10:18:00 Duration: 0ms Database: flexibleserverdb 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 288 14ms 0ms 0ms 0ms set session statement_timeout to ?;Times Reported Time consuming queries #1
Day Hour Count Duration Avg duration Sep 16 02 3 0ms 0ms 03 3 0ms 0ms 04 3 0ms 0ms 05 3 0ms 0ms 06 3 0ms 0ms 07 3 0ms 0ms 08 3 0ms 0ms 09 3 0ms 0ms 10 3 0ms 0ms 11 3 0ms 0ms 12 3 0ms 0ms 13 3 0ms 0ms 14 3 0ms 0ms 15 3 0ms 0ms 16 3 0ms 0ms 17 3 0ms 0ms 18 3 0ms 0ms 19 3 0ms 0ms 20 3 0ms 0ms 21 3 0ms 0ms 22 3 0ms 0ms 23 3 0ms 0ms 00 3 0ms 0ms 01 3 0ms 0ms Sep 17 02 3 0ms 0ms 03 3 0ms 0ms 04 3 0ms 0ms 05 3 0ms 0ms 06 3 0ms 0ms 07 3 0ms 0ms 08 3 0ms 0ms 09 3 0ms 0ms 10 3 0ms 0ms 11 3 0ms 0ms 12 3 0ms 0ms 13 3 0ms 0ms 14 3 0ms 0ms 15 3 0ms 0ms 16 3 0ms 0ms 17 3 0ms 0ms 18 3 0ms 0ms 19 3 0ms 0ms 20 3 0ms 0ms 21 3 0ms 0ms 22 3 0ms 0ms 23 3 0ms 0ms 00 3 0ms 0ms 01 3 0ms 0ms Sep 18 02 3 0ms 0ms 03 3 0ms 0ms 04 3 0ms 0ms 05 3 0ms 0ms 06 3 0ms 0ms 07 3 0ms 0ms 08 3 0ms 0ms 09 3 0ms 0ms 10 3 0ms 0ms 11 3 0ms 0ms 12 3 0ms 0ms 13 3 0ms 0ms 14 3 0ms 0ms 15 3 0ms 0ms 16 3 0ms 0ms 17 3 0ms 0ms 18 3 0ms 0ms 19 3 0ms 0ms 20 3 0ms 0ms 21 3 0ms 0ms 22 3 0ms 0ms 23 3 0ms 0ms 00 3 0ms 0ms 01 3 0ms 0ms Sep 19 02 3 0ms 0ms 03 3 0ms 0ms 04 3 0ms 0ms 05 3 0ms 0ms 06 3 0ms 0ms 07 3 0ms 0ms 08 3 0ms 0ms 09 3 0ms 0ms 10 3 0ms 0ms 11 3 0ms 0ms 12 3 0ms 0ms 13 3 0ms 0ms 14 3 0ms 0ms 15 3 0ms 0ms 16 3 0ms 0ms 17 3 0ms 0ms 18 3 0ms 0ms 19 3 0ms 0ms 20 3 0ms 0ms 21 3 0ms 0ms 22 3 0ms 0ms 23 3 0ms 0ms 00 3 0ms 0ms 01 3 0ms 0ms [ User: azuresu - Total duration: 14ms - Times executed: 288 ]
[ Application: [unknown] - Total duration: 14ms - Times executed: 288 ]
-
set session statement_timeout to 120000;
Date: 2025-09-19 20:35:20 Duration: 0ms Database: flexibleserverdb User: azuresu Remote: 169.254.128.1 Application: [unknown] Bind query: yes
-
set session statement_timeout to 60000;
Date: 2025-09-19 01:02:23 Duration: 0ms Database: flexibleserverdb User: azuresu Remote: 169.254.128.1 Application: [unknown] Bind query: yes
-
set session statement_timeout to 60000;
Date: 2025-09-18 15:01:48 Duration: 0ms Database: flexibleserverdb User: azuresu Remote: 169.254.128.1 Application: [unknown] Bind query: yes
2 191 201ms 0ms 2ms 1ms select schemaname, sum(n_live_tup) as n_live_tup, sum(n_dead_tup) as n_dead_tup, sum(seq_scan) as seq_scan, sum(seq_tup_read) as seq_tup_read, sum(idx_scan) as idx_scan, sum(idx_tup_fetch) as idx_tup_fetch, sum(n_tup_ins) as n_tup_ins, sum(n_tup_upd) as n_tup_upd, sum(n_tup_del) as n_tup_del, sum(n_tup_hot_upd) as n_tup_hot_upd, sum(n_mod_since_analyze) as n_mod_since_analyze, sum(vacuum_count) as vacuum_count, sum(autovacuum_count) as autovacuum_count, sum(analyze_count) as analyze_count, sum(autoanalyze_count) as autoanalyze_count, count(relid) as tables_counter, sum( case when last_vacuum is not null then ? else ? end)::bigint as tables_vacuumed, sum( case when last_autovacuum is not null then ? else ? end)::bigint as tables_autovacuumed, sum( case when last_analyze is not null then ? else ? end)::bigint as tables_analyzed, sum( case when last_autoanalyze is not null then ? else ? end)::bigint as tables_autoanalyzed from pg_catalog.pg_stat_all_tables group by schemaname;Times Reported Time consuming queries #2
Day Hour Count Duration Avg duration Sep 16 02 2 2ms 1ms 03 2 1ms 0ms 04 2 2ms 1ms 05 2 2ms 1ms 06 2 1ms 0ms 07 2 1ms 0ms 08 2 2ms 1ms 09 2 2ms 1ms 10 2 2ms 1ms 11 2 1ms 0ms 12 2 1ms 0ms 13 2 1ms 0ms 14 2 1ms 0ms 15 2 1ms 0ms 16 2 2ms 1ms 17 2 1ms 0ms 18 2 1ms 0ms 19 2 2ms 1ms 20 2 2ms 1ms 21 2 1ms 0ms 22 2 2ms 1ms 23 2 3ms 1ms 00 2 2ms 1ms 01 2 2ms 1ms Sep 17 02 2 1ms 0ms 03 2 2ms 1ms 04 2 1ms 0ms 05 2 1ms 0ms 06 2 2ms 1ms 07 2 1ms 0ms 08 2 1ms 0ms 09 2 2ms 1ms 10 2 2ms 1ms 11 2 1ms 0ms 12 1 0ms 0ms 13 2 2ms 1ms 14 2 2ms 1ms 15 2 1ms 0ms 16 2 2ms 1ms 17 2 2ms 1ms 18 2 2ms 1ms 19 2 1ms 0ms 20 2 1ms 0ms 21 2 1ms 0ms 22 2 2ms 1ms 23 2 2ms 1ms 00 2 1ms 0ms 01 2 1ms 0ms Sep 18 02 2 2ms 1ms 03 2 2ms 1ms 04 2 1ms 0ms 05 2 2ms 1ms 06 2 1ms 0ms 07 2 1ms 0ms 08 2 2ms 1ms 09 2 2ms 1ms 10 2 2ms 1ms 11 2 2ms 1ms 12 2 2ms 1ms 13 2 2ms 1ms 14 2 2ms 1ms 15 2 2ms 1ms 16 2 2ms 1ms 17 2 2ms 1ms 18 2 1ms 0ms 19 2 2ms 1ms 20 2 2ms 1ms 21 2 1ms 0ms 22 2 2ms 1ms 23 2 1ms 0ms 00 2 1ms 0ms 01 2 1ms 0ms Sep 19 02 2 2ms 1ms 03 2 2ms 1ms 04 2 1ms 0ms 05 2 2ms 1ms 06 2 2ms 1ms 07 2 2ms 1ms 08 2 2ms 1ms 09 2 2ms 1ms 10 2 2ms 1ms 11 2 2ms 1ms 12 2 2ms 1ms 13 2 2ms 1ms 14 2 1ms 0ms 15 2 2ms 1ms 16 2 2ms 1ms 17 2 2ms 1ms 18 2 2ms 1ms 19 2 2ms 1ms 20 2 2ms 1ms 21 2 2ms 1ms 22 2 2ms 1ms 23 2 2ms 1ms 00 2 2ms 1ms 01 2 3ms 1ms [ User: azuresu - Total duration: 201ms - Times executed: 191 ]
[ Application: [unknown] - Total duration: 201ms - Times executed: 191 ]
-
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-19 23:05:29 Duration: 2ms Database: flexibleserverdb User: azuresu Remote: 169.254.128.1 Application: [unknown] Bind query: yes
-
SELECT schemaname, sum(n_live_tup) AS n_live_tup, sum(n_dead_tup) AS n_dead_tup, sum(seq_scan) AS seq_scan, sum(seq_tup_read) AS seq_tup_read, sum(idx_scan) AS idx_scan, sum(idx_tup_fetch) AS idx_tup_fetch, sum(n_tup_ins) AS n_tup_ins, sum(n_tup_upd) AS n_tup_upd, sum(n_tup_del) AS n_tup_del, sum(n_tup_hot_upd) AS n_tup_hot_upd, sum(n_mod_since_analyze) AS n_mod_since_analyze, sum(vacuum_count) AS vacuum_count, sum(autovacuum_count) AS autovacuum_count, sum(analyze_count) AS analyze_count, sum(autoanalyze_count) AS autoanalyze_count, count(relid) AS tables_counter, sum( case when last_vacuum IS NOT NULL then 1 else 0 end)::bigint as tables_vacuumed, sum( case when last_autovacuum IS NOT NULL then 1 else 0 end)::bigint as tables_autovacuumed, sum( case when last_analyze IS NOT NULL then 1 else 0 end)::bigint as tables_analyzed, sum( case when last_autoanalyze IS NOT NULL then 1 else 0 end)::bigint as tables_autoanalyzed FROM pg_catalog.pg_stat_all_tables group by schemaname;
Date: 2025-09-18 12:31:40 Duration: 1ms Database: flexibleserverdb User: azuresu Remote: 169.254.128.1 Application: [unknown] Bind query: yes
-
SELECT schemaname, sum(n_live_tup) AS n_live_tup, sum(n_dead_tup) AS n_dead_tup, sum(seq_scan) AS seq_scan, sum(seq_tup_read) AS seq_tup_read, sum(idx_scan) AS idx_scan, sum(idx_tup_fetch) AS idx_tup_fetch, sum(n_tup_ins) AS n_tup_ins, sum(n_tup_upd) AS n_tup_upd, sum(n_tup_del) AS n_tup_del, sum(n_tup_hot_upd) AS n_tup_hot_upd, sum(n_mod_since_analyze) AS n_mod_since_analyze, sum(vacuum_count) AS vacuum_count, sum(autovacuum_count) AS autovacuum_count, sum(analyze_count) AS analyze_count, sum(autoanalyze_count) AS autoanalyze_count, count(relid) AS tables_counter, sum( case when last_vacuum IS NOT NULL then 1 else 0 end)::bigint as tables_vacuumed, sum( case when last_autovacuum IS NOT NULL then 1 else 0 end)::bigint as tables_autovacuumed, sum( case when last_analyze IS NOT NULL then 1 else 0 end)::bigint as tables_analyzed, sum( case when last_autoanalyze IS NOT NULL then 1 else 0 end)::bigint as tables_autoanalyzed FROM pg_catalog.pg_stat_all_tables group by schemaname;
Date: 2025-09-18 06:31:19 Duration: 1ms Database: flexibleserverdb User: azuresu Remote: 169.254.128.1 Application: [unknown] Bind query: yes
3 96 9ms 0ms 0ms 0ms select extname, extowner, extnamespace, extrelocatable, extversion, extconfig, extcondition from pg_catalog.pg_extension;Times Reported Time consuming queries #3
Day Hour Count Duration Avg duration Sep 16 02 1 0ms 0ms 03 1 0ms 0ms 04 1 0ms 0ms 05 1 0ms 0ms 06 1 0ms 0ms 07 1 0ms 0ms 08 1 0ms 0ms 09 1 0ms 0ms 10 1 0ms 0ms 11 1 0ms 0ms 12 1 0ms 0ms 13 1 0ms 0ms 14 1 0ms 0ms 15 1 0ms 0ms 16 1 0ms 0ms 17 1 0ms 0ms 18 1 0ms 0ms 19 1 0ms 0ms 20 1 0ms 0ms 21 1 0ms 0ms 22 1 0ms 0ms 23 1 0ms 0ms 00 1 0ms 0ms 01 1 0ms 0ms Sep 17 02 1 0ms 0ms 03 1 0ms 0ms 04 1 0ms 0ms 05 1 0ms 0ms 06 1 0ms 0ms 07 1 0ms 0ms 08 1 0ms 0ms 09 1 0ms 0ms 10 1 0ms 0ms 11 1 0ms 0ms 12 1 0ms 0ms 13 1 0ms 0ms 14 1 0ms 0ms 15 1 0ms 0ms 16 1 0ms 0ms 17 1 0ms 0ms 18 1 0ms 0ms 19 1 0ms 0ms 20 1 0ms 0ms 21 1 0ms 0ms 22 1 0ms 0ms 23 1 0ms 0ms 00 1 0ms 0ms 01 1 0ms 0ms Sep 18 02 1 0ms 0ms 03 1 0ms 0ms 04 1 0ms 0ms 05 1 0ms 0ms 06 1 0ms 0ms 07 1 0ms 0ms 08 1 0ms 0ms 09 1 0ms 0ms 10 1 0ms 0ms 11 1 0ms 0ms 12 1 0ms 0ms 13 1 0ms 0ms 14 1 0ms 0ms 15 1 0ms 0ms 16 1 0ms 0ms 17 1 0ms 0ms 18 1 0ms 0ms 19 1 0ms 0ms 20 1 0ms 0ms 21 1 0ms 0ms 22 1 0ms 0ms 23 1 0ms 0ms 00 1 0ms 0ms 01 1 0ms 0ms Sep 19 02 1 0ms 0ms 03 1 0ms 0ms 04 1 0ms 0ms 05 1 0ms 0ms 06 1 0ms 0ms 07 1 0ms 0ms 08 1 0ms 0ms 09 1 0ms 0ms 10 1 0ms 0ms 11 1 0ms 0ms 12 1 0ms 0ms 13 1 0ms 0ms 14 1 0ms 0ms 15 1 0ms 0ms 16 1 0ms 0ms 17 1 0ms 0ms 18 1 0ms 0ms 19 1 0ms 0ms 20 1 0ms 0ms 21 1 0ms 0ms 22 1 0ms 0ms 23 1 0ms 0ms 00 1 0ms 0ms 01 1 0ms 0ms [ User: azuresu - Total duration: 9ms - Times executed: 96 ]
[ Application: [unknown] - Total duration: 9ms - Times executed: 96 ]
-
SELECT extname, extowner, extnamespace, extrelocatable, extversion, extconfig, extcondition FROM pg_catalog.pg_extension;
Date: 2025-09-19 15:35:03 Duration: 0ms Database: flexibleserverdb User: azuresu Remote: 169.254.128.1 Application: [unknown] Bind query: yes
-
SELECT extname, extowner, extnamespace, extrelocatable, extversion, extconfig, extcondition FROM pg_catalog.pg_extension;
Date: 2025-09-18 09:31:30 Duration: 0ms Database: flexibleserverdb User: azuresu Remote: 169.254.128.1 Application: [unknown] Bind query: yes
-
SELECT extname, extowner, extnamespace, extrelocatable, extversion, extconfig, extcondition FROM pg_catalog.pg_extension;
Date: 2025-09-19 11:34:49 Duration: 0ms Database: flexibleserverdb User: azuresu Remote: 169.254.128.1 Application: [unknown] Bind query: yes
4 16 2ms 0ms 0ms 0ms set session authorization default; reset all; close "..." *; select pg_advisory_unlock_all(); discard sequences; discard temp;Times Reported Time consuming queries #4
Day Hour Count Duration Avg duration Sep 17 12 16 2ms 0ms [ User: azuresu - Total duration: 2ms - Times executed: 16 ]
[ Application: [unknown] - Total duration: 2ms - Times executed: 16 ]
-
SET SESSION AUTHORIZATION DEFAULT; RESET ALL; CLOSE ALL; UNLISTEN *; SELECT pg_advisory_unlock_all(); DISCARD SEQUENCES; DISCARD TEMP;
Date: 2025-09-17 10:18:00 Duration: 0ms Database: flexibleserverdb User: azuresu Remote: 169.254.128.1 Application: [unknown]
-
SET SESSION AUTHORIZATION DEFAULT; RESET ALL; CLOSE ALL; UNLISTEN *; SELECT pg_advisory_unlock_all(); DISCARD SEQUENCES; DISCARD TEMP;
Date: 2025-09-17 10:18:10 Duration: 0ms Database: flexibleserverdb User: azuresu Remote: 169.254.128.1 Application: [unknown]
-
SET SESSION AUTHORIZATION DEFAULT; RESET ALL; CLOSE ALL; UNLISTEN *; SELECT pg_advisory_unlock_all(); DISCARD SEQUENCES; DISCARD TEMP;
Date: 2025-09-17 10:18:10 Duration: 0ms Database: flexibleserverdb User: azuresu Remote: 169.254.128.1 Application: [unknown]
5 4 136ms 8ms 107ms 34ms 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 4 136ms 34ms [ User: azuresu - Total duration: 136ms - Times executed: 4 ]
[ Application: [unknown] - Total duration: 136ms - Times executed: 4 ]
-
SELECT version(); SELECT ns.nspname, t.oid, t.typname, t.typtype, t.typnotnull, t.elemtypoid FROM ( -- Arrays have typtype=b - this subquery identifies them by their typreceive and converts their typtype to a -- We first do this for the type (innerest-most subquery), and then for its element type -- This also returns the array element, range subtype and domain base type as elemtypoid SELECT typ.oid, typ.typnamespace, typ.typname, typ.typtype, typ.typrelid, typ.typnotnull, typ.relkind, elemtyp.oid AS elemtypoid, elemtyp.typname AS elemtypname, elemcls.relkind AS elemrelkind, CASE WHEN elemproc.proname = 'array_recv' THEN 'a' ELSE elemtyp.typtype END AS elemtyptype FROM ( SELECT typ.oid, typnamespace, typname, typrelid, typnotnull, relkind, typelem AS elemoid, CASE WHEN proc.proname = 'array_recv' THEN 'a' ELSE typ.typtype END AS typtype, CASE WHEN proc.proname = 'array_recv' THEN typ.typelem WHEN typ.typtype = 'r' THEN rngsubtype WHEN typ.typtype = 'm' THEN ( SELECT rngtypid FROM pg_range WHERE rngmultitypid = typ.oid) WHEN typ.typtype = 'd' THEN typ.typbasetype END AS elemtypoid FROM pg_type AS typ LEFT JOIN pg_class AS cls ON (cls.oid = typ.typrelid) LEFT JOIN pg_proc AS proc ON proc.oid = typ.typreceive LEFT JOIN pg_range ON (pg_range.rngtypid = typ.oid)) AS typ LEFT JOIN pg_type AS elemtyp ON elemtyp.oid = elemtypoid LEFT JOIN pg_class AS elemcls ON (elemcls.oid = elemtyp.typrelid) LEFT JOIN pg_proc AS elemproc ON elemproc.oid = elemtyp.typreceive) AS t JOIN pg_namespace AS ns ON (ns.oid = typnamespace) WHERE typtype IN ('b', 'r', 'm', 'e', 'd') OR -- Base, range, multirange, enum, domain (typtype = 'c' AND relkind = 'c') OR -- User-defined free-standing composites (not table composites) by default (typtype = 'p' AND typname IN ('record', 'void')) OR -- Some special supported pseudo-types (typtype = 'a' AND ( -- Array of... elemtyptype IN ('b', 'r', 'm', 'e', 'd') OR -- Array of base, range, multirange, enum, domain (elemtyptype = 'p' AND elemtypname IN ('record', 'void')) OR -- Arrays of special supported pseudo-types (elemtyptype = 'c' AND elemrelkind = 'c') -- Array of user-defined free-standing composites (not table composites) by default )) ORDER BY CASE WHEN typtype IN ('b', 'e', 'p') THEN 0 -- First base types, enums, pseudo-types WHEN typtype = 'r' THEN 1 -- Ranges after WHEN typtype = 'm' THEN 2 -- Multiranges after WHEN typtype = 'c' THEN 3 -- Composites after WHEN typtype = 'd' AND elemtyptype <> 'a' THEN 4 -- Domains over non-arrays after WHEN typtype = 'a' THEN 5 -- Arrays after WHEN typtype = 'd' AND elemtyptype = 'a' THEN 6 -- Domains over arrays last END; -- Load field definitions for (free-standing) composite types SELECT typ.oid, att.attname, att.atttypid FROM pg_type AS typ JOIN pg_namespace AS ns ON (ns.oid = typ.typnamespace) JOIN pg_class AS cls ON (cls.oid = typ.typrelid) JOIN pg_attribute AS att ON (att.attrelid = typ.typrelid) WHERE (typ.typtype = 'c' AND cls.relkind = 'c') AND attnum > 0 AND -- Don't load system attributes NOT attisdropped ORDER BY typ.oid, att.attnum; -- Load enum fields SELECT pg_type.oid, enumlabel FROM pg_enum JOIN pg_type ON pg_type.oid = enumtypid ORDER BY oid, enumsortorder;
Date: 2025-09-17 10:00:29 Duration: 107ms Database: flexibleserverdb 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:59 Duration: 10ms Database: flexibleserverdb 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:18:04 Duration: 9ms Database: flexibleserverdb User: azuresu Remote: 169.254.128.1 Application: [unknown]
6 4 12ms 3ms 3ms 3ms select extension.name, extension.installed_version is not null as installed, extension.default_version, extension.installed_version, current_database() as databasefrom pg_available_extensions extensionorder by extension.name asc;Times Reported Time consuming queries #6
Day Hour Count Duration Avg duration Sep 17 12 4 12ms 3ms [ User: azuresu - Total duration: 12ms - Times executed: 4 ]
[ Application: [unknown] - Total duration: 12ms - Times executed: 4 ]
-
SELECT extension.name, extension.installed_version IS NOT NULL AS installed, extension.default_version, extension.installed_version, current_database() as databaseFROM pg_available_extensions extensionORDER BY extension.name ASC;
Date: 2025-09-17 10:00:29 Duration: 3ms Database: flexibleserverdb User: azuresu Remote: 169.254.128.1 Application: [unknown] Bind query: yes
-
SELECT extension.name, extension.installed_version IS NOT NULL AS installed, extension.default_version, extension.installed_version, current_database() as databaseFROM pg_available_extensions extensionORDER BY extension.name ASC;
Date: 2025-09-17 10:18:04 Duration: 3ms Database: flexibleserverdb User: azuresu Remote: 169.254.128.1 Application: [unknown] Bind query: yes
-
SELECT extension.name, extension.installed_version IS NOT NULL AS installed, extension.default_version, extension.installed_version, current_database() as databaseFROM pg_available_extensions extensionORDER BY extension.name ASC;
Date: 2025-09-17 10:00:56 Duration: 3ms Database: flexibleserverdb User: azuresu Remote: 169.254.128.1 Application: [unknown] Bind query: yes
7 3 1ms 0ms 0ms 0ms select pg_catalog.set_config(?, ?, false);Times Reported Time consuming queries #7
Day Hour Count Duration Avg duration Sep 17 12 3 1ms 0ms [ User: azuresu - Total duration: 1ms - Times executed: 3 ]
[ Application: [unknown] - Total duration: 1ms - Times executed: 3 ]
-
SELECT pg_catalog.set_config('search_path', '', false);
Date: 2025-09-17 10:06:18 Duration: 0ms Database: flexibleserverdb User: azuresu Remote: [local] Application: [unknown]
-
SELECT pg_catalog.set_config('search_path', '', false);
Date: 2025-09-17 10:06:19 Duration: 0ms Database: flexibleserverdb User: azuresu Remote: [local] Application: [unknown]
-
SELECT pg_catalog.set_config('search_path', '', false);
Date: 2025-09-17 10:06:19 Duration: 0ms Database: flexibleserverdb User: azuresu Remote: [local] Application: [unknown]
8 2 1ms 0ms 0ms 0ms alter extension "plpgsql" update;Times Reported Time consuming queries #8
Day Hour Count Duration Avg duration Sep 17 12 2 1ms 0ms [ User: azuresu - Total duration: 1ms - Times executed: 2 ]
[ Application: [unknown] - Total duration: 1ms - Times executed: 2 ]
-
ALTER EXTENSION "plpgsql" UPDATE;
Date: 2025-09-17 10:00:56 Duration: 0ms Database: flexibleserverdb User: azuresu Remote: 169.254.128.1 Application: [unknown] Bind query: yes
-
ALTER EXTENSION "plpgsql" UPDATE;
Date: 2025-09-17 10:18:04 Duration: 0ms Database: flexibleserverdb User: azuresu Remote: 169.254.128.1 Application: [unknown] Bind query: yes
9 1 18ms 18ms 18ms 18ms with recursive oids as ( select t.oid from pg_catalog.pg_type t left join pg_catalog.pg_namespace n on t.typnamespace = n.oid where typtype = ? and (t.oid < ? or nspname = ?) union all select * from ( with x as ( select oid from oids ) select t.oid from pg_catalog.pg_type t, x where typbasetype = x.oid and typtype = ? union all select t.oid from pg_catalog.pg_type t, x where typelem = x.oid and typtype = ? union all select t.oid from pg_catalog.pg_type t, pg_catalog.pg_class c, pg_catalog.pg_attribute a, x where t.typtype = ? and t.oid = c.reltype and c.oid = a.attrelid and not a.attisdropped and a.atttypid = x.oid union all select t.oid from pg_catalog.pg_type t, pg_catalog.pg_range r, x where t.typtype = ? and r.rngtypid = t.oid and r.rngsubtype = x.oid) foo ) select n.nspname, c.relname, a.attname from pg_catalog.pg_class c, pg_catalog.pg_namespace n, pg_catalog.pg_attribute a where c.oid = a.attrelid and not a.attisdropped and a.atttypid in ( select oid from oids) and c.relkind in (...) and c.relnamespace = n.oid and n.nspname !~ ? and n.nspname !~ ? and n.nspname not in (...);Times Reported Time consuming queries #9
Day Hour Count Duration Avg duration Sep 17 12 1 18ms 18ms [ User: azuresu - Total duration: 18ms - Times executed: 1 ]
[ Application: [unknown] - Total duration: 18ms - Times executed: 1 ]
-
WITH RECURSIVE oids AS ( SELECT t.oid FROM pg_catalog.pg_type t LEFT JOIN pg_catalog.pg_namespace n ON t.typnamespace = n.oid WHERE typtype = 'c' AND (t.oid < 16384 OR nspname = 'information_schema') UNION ALL SELECT * FROM ( WITH x AS ( SELECT oid FROM oids ) SELECT t.oid FROM pg_catalog.pg_type t, x WHERE typbasetype = x.oid AND typtype = 'd' UNION ALL SELECT t.oid FROM pg_catalog.pg_type t, x WHERE typelem = x.oid AND typtype = 'b' UNION ALL SELECT t.oid FROM pg_catalog.pg_type t, pg_catalog.pg_class c, pg_catalog.pg_attribute a, x WHERE t.typtype = 'c' AND t.oid = c.reltype AND c.oid = a.attrelid AND NOT a.attisdropped AND a.atttypid = x.oid UNION ALL SELECT t.oid FROM pg_catalog.pg_type t, pg_catalog.pg_range r, x WHERE t.typtype = 'r' AND r.rngtypid = t.oid AND r.rngsubtype = x.oid) foo ) SELECT n.nspname, c.relname, a.attname FROM pg_catalog.pg_class c, pg_catalog.pg_namespace n, pg_catalog.pg_attribute a WHERE c.oid = a.attrelid AND NOT a.attisdropped AND a.atttypid IN ( SELECT oid FROM oids) AND c.relkind IN ('r', 'm', 'i') AND c.relnamespace = n.oid AND n.nspname !~ '^pg_temp_' AND n.nspname !~ '^pg_toast_temp_' AND n.nspname NOT IN ('pg_catalog', 'information_schema');
Date: 2025-09-17 10:06:19 Duration: 18ms Database: flexibleserverdb User: azuresu Remote: [local] Application: [unknown]
10 1 16ms 16ms 16ms 16ms select count(*) from pg_catalog.pg_class class, pg_catalog.pg_attribute attr, pg_catalog.pg_namespace ns, pg_catalog.pg_roles rolwhere attr.atttypid in (?::pg_catalog.regtype, ?::pg_catalog.regtype, ?::pg_catalog.regtype, ?::pg_catalog.regtype, ?::pg_catalog.regtype, ?::pg_catalog.regtype, ?::pg_catalog.regtype, ?::pg_catalog.regtype) and ns.nspname not in (...) and class.oid = attr.attrelid and class.relnamespace = ns.oid and rol.oid = class.relowner and not attr.attisdropped and not (class.relname in (...) and rol.rolname = ? and atttypid = ?::pg_catalog.regtype);Times Reported Time consuming queries #10
Day Hour Count Duration Avg duration Sep 17 12 1 16ms 16ms [ User: azuresu - Total duration: 16ms - Times executed: 1 ]
[ Application: [unknown] - Total duration: 16ms - Times executed: 1 ]
-
SELECT count(*) FROM pg_catalog.pg_class class, pg_catalog.pg_attribute attr, pg_catalog.pg_namespace ns, pg_catalog.pg_roles rolWHERE attr.atttypid IN ('pg_catalog.regcollation'::pg_catalog.regtype, 'pg_catalog.regconfig'::pg_catalog.regtype, 'pg_catalog.regdictionary'::pg_catalog.regtype, 'pg_catalog.regnamespace'::pg_catalog.regtype, 'pg_catalog.regoper'::pg_catalog.regtype, 'pg_catalog.regoperator'::pg_catalog.regtype, 'pg_catalog.regproc'::pg_catalog.regtype, 'pg_catalog.regprocedure'::pg_catalog.regtype) AND ns.nspname NOT IN ('pg_catalog', 'information_schema') AND class.oid = attr.attrelid AND class.relnamespace = ns.oid AND rol.oid = class.relowner AND NOT attr.attisdropped AND NOT (class.relname IN ('pg_masking_rules', 'pg_masks') and rol.rolname = 'azuresu' and atttypid = 'pg_catalog.regnamespace'::pg_catalog.regtype);
Date: 2025-09-17 10:00:29 Duration: 16ms Database: flexibleserverdb User: azuresu Remote: 169.254.128.1 Application: [unknown] Bind query: yes
11 1 11ms 11ms 11ms 11ms with recursive oids as ( select oid from pg_catalog.pg_type t where t.typnamespace = ( select oid from pg_catalog.pg_namespace where nspname = ?) and t.typname in (...) union all select * from ( with x as ( select oid from oids ) select t.oid from pg_catalog.pg_type t, x where typbasetype = x.oid and typtype = ? union all select t.oid from pg_catalog.pg_type t, x where typelem = x.oid and typtype = ? union all select t.oid from pg_catalog.pg_type t, pg_catalog.pg_class c, pg_catalog.pg_attribute a, x where t.typtype = ? and t.oid = c.reltype and c.oid = a.attrelid and not a.attisdropped and a.atttypid = x.oid union all select t.oid from pg_catalog.pg_type t, pg_catalog.pg_range r, x where t.typtype = ? and r.rngtypid = t.oid and r.rngsubtype = x.oid) foo ) select n.nspname, c.relname, a.attname from pg_catalog.pg_class c, pg_catalog.pg_namespace n, pg_catalog.pg_attribute a where c.oid = a.attrelid and not a.attisdropped and a.atttypid in ( select oid from oids) and c.relkind in (...) and c.relnamespace = n.oid and n.nspname !~ ? and n.nspname !~ ? and n.nspname not in (...);Times Reported Time consuming queries #11
Day Hour Count Duration Avg duration Sep 17 12 1 11ms 11ms [ User: azuresu - Total duration: 11ms - Times executed: 1 ]
[ Application: [unknown] - Total duration: 11ms - Times executed: 1 ]
-
WITH RECURSIVE oids AS ( SELECT oid FROM pg_catalog.pg_type t WHERE t.typnamespace = ( SELECT oid FROM pg_catalog.pg_namespace WHERE nspname = 'pg_catalog') AND t.typname IN ('regcollation', 'regconfig', 'regdictionary', 'regnamespace', 'regoper', 'regoperator', 'regproc', 'regprocedure') UNION ALL SELECT * FROM ( WITH x AS ( SELECT oid FROM oids ) SELECT t.oid FROM pg_catalog.pg_type t, x WHERE typbasetype = x.oid AND typtype = 'd' UNION ALL SELECT t.oid FROM pg_catalog.pg_type t, x WHERE typelem = x.oid AND typtype = 'b' UNION ALL SELECT t.oid FROM pg_catalog.pg_type t, pg_catalog.pg_class c, pg_catalog.pg_attribute a, x WHERE t.typtype = 'c' AND t.oid = c.reltype AND c.oid = a.attrelid AND NOT a.attisdropped AND a.atttypid = x.oid UNION ALL SELECT t.oid FROM pg_catalog.pg_type t, pg_catalog.pg_range r, x WHERE t.typtype = 'r' AND r.rngtypid = t.oid AND r.rngsubtype = x.oid) foo ) SELECT n.nspname, c.relname, a.attname FROM pg_catalog.pg_class c, pg_catalog.pg_namespace n, pg_catalog.pg_attribute a WHERE c.oid = a.attrelid AND NOT a.attisdropped AND a.atttypid IN ( SELECT oid FROM oids) AND c.relkind IN ('r', 'm', 'i') AND c.relnamespace = n.oid AND n.nspname !~ '^pg_temp_' AND n.nspname !~ '^pg_toast_temp_' AND n.nspname NOT IN ('pg_catalog', 'information_schema');
Date: 2025-09-17 10:06:19 Duration: 11ms Database: flexibleserverdb User: azuresu Remote: [local] Application: [unknown]
12 1 9ms 9ms 9ms 9ms with target_oids as ( select oid from pg_class where relname = ? ) select count(*) over () as total_count, c.relname as view_name, n.nspname as schema_name, current_database() as database_namefrom pg_depend djoin pg_rewrite r on d.objid = r.oidjoin pg_class c on r.ev_class = c.oidjoin pg_namespace n on c.relnamespace = n.oidwhere d.refobjid in ( select oid from target_oids) and c.relkind = ? and n.nspname not in (...);Times Reported Time consuming queries #12
Day Hour Count Duration Avg duration Sep 17 12 1 9ms 9ms [ User: azuresu - Total duration: 9ms - Times executed: 1 ]
[ Application: [unknown] - Total duration: 9ms - Times executed: 1 ]
-
WITH target_oids AS ( SELECT oid FROM pg_class WHERE relname = 'pg_stat_activity' ) SELECT COUNT(*) OVER () AS total_count, c.relname AS view_name, n.nspname AS schema_name, current_database() AS database_nameFROM pg_depend dJOIN pg_rewrite r ON d.objid = r.oidJOIN pg_class c ON r.ev_class = c.oidJOIN pg_namespace n ON c.relnamespace = n.oidWHERE d.refobjid IN ( SELECT oid FROM target_oids) AND c.relkind = 'v' AND n.nspname NOT IN ('pg_catalog', 'information_schema');
Date: 2025-09-17 10:00:31 Duration: 9ms Database: flexibleserverdb User: azuresu Remote: 169.254.128.1 Application: [unknown] Bind query: yes
13 1 8ms 8ms 8ms 8ms with regular_heap ( reloid, indtable, toastheap ) as ( select c.oid, ?::oid, ?::oid from pg_catalog.pg_class c join pg_catalog.pg_namespace n on c.relnamespace = n.oid where relkind in (...) and ((n.nspname !~ ? and n.nspname !~ ? and n.nspname not in (...) and c.oid >= ?::pg_catalog.oid) or (n.nspname = ? and relname in (...))) ), toast_heap ( reloid, indtable, toastheap ) as ( select c.reltoastrelid, ?::oid, c.oid from regular_heap join pg_catalog.pg_class c on regular_heap.reloid = c.oid where c.reltoastrelid != ? ), all_index ( reloid, indtable, toastheap ) as ( select indexrelid, indrelid, ?::oid from pg_catalog.pg_index where indisvalid and indisready and indrelid in ( select reloid from regular_heap union all select reloid from toast_heap)) select all_rels.*, n.nspname, c.relname, c.relfilenode, c.reltablespace, pg_catalog.pg_tablespace_location(t.oid) as spclocation from ( select * from regular_heap union all select * from toast_heap union all select * from all_index) all_rels join pg_catalog.pg_class c on all_rels.reloid = c.oid join pg_catalog.pg_namespace n on c.relnamespace = n.oid left outer join pg_catalog.pg_tablespace t on c.reltablespace = t.oid order by ?;Times Reported Time consuming queries #13
Day Hour Count Duration Avg duration Sep 17 12 1 8ms 8ms [ User: azuresu - Total duration: 8ms - Times executed: 1 ]
[ Application: [unknown] - Total duration: 8ms - Times executed: 1 ]
-
WITH regular_heap ( reloid, indtable, toastheap ) AS ( SELECT c.oid, 0::oid, 0::oid FROM pg_catalog.pg_class c JOIN pg_catalog.pg_namespace n ON c.relnamespace = n.oid WHERE relkind IN ('r', 'm') AND ((n.nspname !~ '^pg_temp_' AND n.nspname !~ '^pg_toast_temp_' AND n.nspname NOT IN ('pg_catalog', 'information_schema', 'binary_upgrade', 'pg_toast') AND c.oid >= 16384::pg_catalog.oid) OR (n.nspname = 'pg_catalog' AND relname IN ('pg_largeobject'))) ), toast_heap ( reloid, indtable, toastheap ) AS ( SELECT c.reltoastrelid, 0::oid, c.oid FROM regular_heap JOIN pg_catalog.pg_class c ON regular_heap.reloid = c.oid WHERE c.reltoastrelid != 0 ), all_index ( reloid, indtable, toastheap ) AS ( SELECT indexrelid, indrelid, 0::oid FROM pg_catalog.pg_index WHERE indisvalid AND indisready AND indrelid IN ( SELECT reloid FROM regular_heap UNION ALL SELECT reloid FROM toast_heap)) SELECT all_rels.*, n.nspname, c.relname, c.relfilenode, c.reltablespace, pg_catalog.pg_tablespace_location(t.oid) AS spclocation FROM ( SELECT * FROM regular_heap UNION ALL SELECT * FROM toast_heap UNION ALL SELECT * FROM all_index) all_rels JOIN pg_catalog.pg_class c ON all_rels.reloid = c.oid JOIN pg_catalog.pg_namespace n ON c.relnamespace = n.oid LEFT OUTER JOIN pg_catalog.pg_tablespace t ON c.reltablespace = t.oid ORDER BY 1;
Date: 2025-09-17 10:06:18 Duration: 8ms Database: flexibleserverdb User: azuresu Remote: [local] Application: [unknown]
14 1 6ms 6ms 6ms 6ms with init_privs as ( select distinct classoid, objoid, objsubid, replace((regexp_matches(unnest(initprivs)::text, ?))[?], ?, ?) as grantor from pg_init_privs where privtype = ? ), all_privs as ( select c.relnamespace as namespace, i.*, relowner as owner from init_privs i join pg_class as c on i.classoid = ? and c.oid = i.objoid union all select t.typnamespace, i.*, t.typowner from init_privs i join pg_type as t on i.classoid = ? and t.oid = i.objoid union all select ?, i.*, fdw.fdwowner from init_privs i join pg_foreign_data_wrapper as fdw on i.classoid = ? and fdw.oid = i.objoid union all select ?, i.*, fs.srvowner from init_privs i join pg_foreign_server as fs on i.classoid = ? and fs.oid = i.objoid union all select p.pronamespace, i.*, p.proowner from init_privs i join pg_proc as p on i.classoid = ? and p.oid = i.objoid union all select ?, i.*, l.lanowner from init_privs i join pg_language as l on i.classoid = ? and l.oid = i.objoid union all select ?, i.*, n.nspowner from init_privs i join pg_namespace n on i.classoid = ? and n.oid = i.objoid ) select pg_describe_object(classoid, objoid, objsubid), current_database() as database from all_privs where not pg_has_role(grantor, owner, ?) or namespace <> ? and not has_schema_privilege(grantor, namespace, ?);Times Reported Time consuming queries #14
Day Hour Count Duration Avg duration Sep 17 12 1 6ms 6ms [ User: azuresu - Total duration: 6ms - Times executed: 1 ]
[ Application: [unknown] - Total duration: 6ms - Times executed: 1 ]
-
WITH init_privs AS ( SELECT DISTINCT classoid, objoid, objsubid, /* * initprivs is an array, with elements in format: * '[$user]=$Perm/$grantor', where $grantor could be double-quoted. * Therefore we first unnest, then extract grantor using regexp (it * also handles first and last double-quote symbols, if there are * any), and finally replace two double-quotes with a single one. */ replace((regexp_matches(unnest(initprivs)::text, '.*/"{0,1}(.*?)"{0,1}'))[1], '""', '"') as grantor FROM pg_init_privs WHERE privtype = 'e' /* we are interested only in extension objects */ ), all_privs AS ( /* * Depending on classoid we need to join with respective catalog tables to * find the object owner. List of tables is taken from getAdditionalACLs() * function in pg_dump.c file. * Besides that we extract a schema OID from the object, to check later * that required grantor from pg_init_privs has access to the schema. */ SELECT c.relnamespace AS namespace, i.*, relowner AS owner FROM init_privs i JOIN pg_class AS c ON i.classoid = 1259 AND c.oid = i.objoid UNION ALL SELECT t.typnamespace, i.*, t.typowner FROM init_privs i JOIN pg_type AS t ON i.classoid = 1247 AND t.oid = i.objoid UNION ALL SELECT 0, i.*, fdw.fdwowner FROM init_privs i JOIN pg_foreign_data_wrapper AS fdw ON i.classoid = 2328 AND fdw.oid = i.objoid UNION ALL SELECT 0, i.*, fs.srvowner FROM init_privs i JOIN pg_foreign_server AS fs ON i.classoid = 1417 AND fs.oid = i.objoid UNION ALL SELECT p.pronamespace, i.*, p.proowner FROM init_privs i JOIN pg_proc AS p ON i.classoid = 1255 AND p.oid = i.objoid UNION ALL SELECT 0, i.*, l.lanowner FROM init_privs i JOIN pg_language AS l ON i.classoid = 2612 AND l.oid = i.objoid UNION ALL SELECT 0, i.*, n.nspowner FROM init_privs i JOIN pg_namespace n ON i.classoid = 2615 AND n.oid = i.objoid ) SELECT pg_describe_object(classoid, objoid, objsubid), current_database() as database FROM all_privs /* * pg_dump/pg_restore creates an object and immediately changes the owner. * Later, when pg_init_privs are restored, the following happens: * ``` * SELECT pg_catalog.binary_upgrade_set_record_init_privs(true); * REVOKE ALL ON $object FROM $user; * SET SESSION AUTHORIZATION $grantor; * GRANT $permission ON $object TO $grantee;; * RESET SESSION AUTHORIZATION; * SELECT pg_catalog.binary_upgrade_set_record_init_privs(false); * ``` * Therefore we need to check only two things: * - $grantor has role privilege of object owner * - $grantor has USAGE on SCHEMA where object exists */ WHERE NOT pg_has_role(grantor, owner, 'USAGE') OR namespace <> 0 AND NOT has_schema_privilege(grantor, namespace, 'USAGE');
Date: 2025-09-17 10:00:29 Duration: 6ms Database: flexibleserverdb User: azuresu Remote: 169.254.128.1 Application: [unknown] Bind query: yes
15 1 3ms 3ms 3ms 3ms grant execute on function pg_catalog.pg_show_replication_origin_status () to azure_pg_admin;Times Reported Time consuming queries #15
Day Hour Count Duration Avg duration Sep 17 12 1 3ms 3ms [ User: azuresu - Total duration: 3ms - Times executed: 1 ]
[ Application: [unknown] - Total duration: 3ms - Times executed: 1 ]
-
GRANT EXECUTE ON FUNCTION pg_catalog.pg_show_replication_origin_status () TO azure_pg_admin;
Date: 2025-09-17 10:18:00 Duration: 3ms Database: flexibleserverdb User: azuresu Remote: 169.254.128.1 Application: [unknown] Bind query: yes
16 1 2ms 2ms 2ms 2ms select distinct probin from pg_catalog.pg_proc where prolang = ? and probin is not null and oid >= ?;Times Reported Time consuming queries #16
Day Hour Count Duration Avg duration Sep 17 12 1 2ms 2ms [ User: azuresu - Total duration: 2ms - Times executed: 1 ]
[ Application: [unknown] - Total duration: 2ms - Times executed: 1 ]
-
SELECT DISTINCT probin FROM pg_catalog.pg_proc WHERE prolang = 13 AND probin IS NOT NULL AND oid >= 16384;
Date: 2025-09-17 10:06:19 Duration: 2ms Database: flexibleserverdb User: azuresu Remote: [local] Application: [unknown]
17 1 0ms 0ms 0ms 0ms grant execute on function pg_catalog.pg_stat_reset_single_function_counters(oid) to azure_pg_admin;Times Reported Time consuming queries #17
Day Hour Count Duration Avg duration Sep 17 12 1 0ms 0ms [ User: azuresu - Total duration: 0ms - Times executed: 1 ]
[ Application: [unknown] - Total duration: 0ms - Times executed: 1 ]
-
GRANT EXECUTE ON FUNCTION pg_catalog.pg_stat_reset_single_function_counters(oid) TO azure_pg_admin;
Date: 2025-09-17 10:17:59 Duration: 0ms Database: flexibleserverdb User: azuresu Remote: 169.254.128.1 Application: [unknown] Bind query: yes
18 1 0ms 0ms 0ms 0ms grant execute on function pg_catalog.pg_stat_reset_shared(text) to azure_pg_admin;Times Reported Time consuming queries #18
Day Hour Count Duration Avg duration Sep 17 12 1 0ms 0ms [ User: azuresu - Total duration: 0ms - Times executed: 1 ]
[ Application: [unknown] - Total duration: 0ms - Times executed: 1 ]
-
GRANT EXECUTE ON FUNCTION pg_catalog.pg_stat_reset_shared(text) TO azure_pg_admin;
Date: 2025-09-17 10:18:00 Duration: 0ms Database: flexibleserverdb User: azuresu Remote: 169.254.128.1 Application: [unknown] Bind query: yes
19 1 0ms 0ms 0ms 0ms grant execute on function pg_catalog.pg_stat_reset_single_table_counters(oid) to azure_pg_admin;Times Reported Time consuming queries #19
Day Hour Count Duration Avg duration Sep 17 12 1 0ms 0ms [ User: azuresu - Total duration: 0ms - Times executed: 1 ]
[ Application: [unknown] - Total duration: 0ms - Times executed: 1 ]
-
GRANT EXECUTE ON FUNCTION pg_catalog.pg_stat_reset_single_table_counters(oid) TO azure_pg_admin;
Date: 2025-09-17 10:18:00 Duration: 0ms Database: flexibleserverdb User: azuresu Remote: 169.254.128.1 Application: [unknown] Bind query: yes
20 1 0ms 0ms 0ms 0ms grant execute on function pg_catalog.pg_replication_origin_oid (text) to azure_pg_admin;Times Reported Time consuming queries #20
Day Hour Count Duration Avg duration Sep 17 12 1 0ms 0ms [ User: azuresu - Total duration: 0ms - Times executed: 1 ]
[ Application: [unknown] - Total duration: 0ms - Times executed: 1 ]
-
GRANT EXECUTE ON FUNCTION pg_catalog.pg_replication_origin_oid (text) TO azure_pg_admin;
Date: 2025-09-17 10:18:00 Duration: 0ms Database: flexibleserverdb 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 8ms 107ms 34ms 4 136ms 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 #1
Day Hour Count Duration Avg duration Sep 17 12 4 136ms 34ms [ User: azuresu - Total duration: 136ms - Times executed: 4 ]
[ Application: [unknown] - Total duration: 136ms - Times executed: 4 ]
-
SELECT version(); SELECT ns.nspname, t.oid, t.typname, t.typtype, t.typnotnull, t.elemtypoid FROM ( -- Arrays have typtype=b - this subquery identifies them by their typreceive and converts their typtype to a -- We first do this for the type (innerest-most subquery), and then for its element type -- This also returns the array element, range subtype and domain base type as elemtypoid SELECT typ.oid, typ.typnamespace, typ.typname, typ.typtype, typ.typrelid, typ.typnotnull, typ.relkind, elemtyp.oid AS elemtypoid, elemtyp.typname AS elemtypname, elemcls.relkind AS elemrelkind, CASE WHEN elemproc.proname = 'array_recv' THEN 'a' ELSE elemtyp.typtype END AS elemtyptype FROM ( SELECT typ.oid, typnamespace, typname, typrelid, typnotnull, relkind, typelem AS elemoid, CASE WHEN proc.proname = 'array_recv' THEN 'a' ELSE typ.typtype END AS typtype, CASE WHEN proc.proname = 'array_recv' THEN typ.typelem WHEN typ.typtype = 'r' THEN rngsubtype WHEN typ.typtype = 'm' THEN ( SELECT rngtypid FROM pg_range WHERE rngmultitypid = typ.oid) WHEN typ.typtype = 'd' THEN typ.typbasetype END AS elemtypoid FROM pg_type AS typ LEFT JOIN pg_class AS cls ON (cls.oid = typ.typrelid) LEFT JOIN pg_proc AS proc ON proc.oid = typ.typreceive LEFT JOIN pg_range ON (pg_range.rngtypid = typ.oid)) AS typ LEFT JOIN pg_type AS elemtyp ON elemtyp.oid = elemtypoid LEFT JOIN pg_class AS elemcls ON (elemcls.oid = elemtyp.typrelid) LEFT JOIN pg_proc AS elemproc ON elemproc.oid = elemtyp.typreceive) AS t JOIN pg_namespace AS ns ON (ns.oid = typnamespace) WHERE typtype IN ('b', 'r', 'm', 'e', 'd') OR -- Base, range, multirange, enum, domain (typtype = 'c' AND relkind = 'c') OR -- User-defined free-standing composites (not table composites) by default (typtype = 'p' AND typname IN ('record', 'void')) OR -- Some special supported pseudo-types (typtype = 'a' AND ( -- Array of... elemtyptype IN ('b', 'r', 'm', 'e', 'd') OR -- Array of base, range, multirange, enum, domain (elemtyptype = 'p' AND elemtypname IN ('record', 'void')) OR -- Arrays of special supported pseudo-types (elemtyptype = 'c' AND elemrelkind = 'c') -- Array of user-defined free-standing composites (not table composites) by default )) ORDER BY CASE WHEN typtype IN ('b', 'e', 'p') THEN 0 -- First base types, enums, pseudo-types WHEN typtype = 'r' THEN 1 -- Ranges after WHEN typtype = 'm' THEN 2 -- Multiranges after WHEN typtype = 'c' THEN 3 -- Composites after WHEN typtype = 'd' AND elemtyptype <> 'a' THEN 4 -- Domains over non-arrays after WHEN typtype = 'a' THEN 5 -- Arrays after WHEN typtype = 'd' AND elemtyptype = 'a' THEN 6 -- Domains over arrays last END; -- Load field definitions for (free-standing) composite types SELECT typ.oid, att.attname, att.atttypid FROM pg_type AS typ JOIN pg_namespace AS ns ON (ns.oid = typ.typnamespace) JOIN pg_class AS cls ON (cls.oid = typ.typrelid) JOIN pg_attribute AS att ON (att.attrelid = typ.typrelid) WHERE (typ.typtype = 'c' AND cls.relkind = 'c') AND attnum > 0 AND -- Don't load system attributes NOT attisdropped ORDER BY typ.oid, att.attnum; -- Load enum fields SELECT pg_type.oid, enumlabel FROM pg_enum JOIN pg_type ON pg_type.oid = enumtypid ORDER BY oid, enumsortorder;
Date: 2025-09-17 10:00:29 Duration: 107ms Database: flexibleserverdb 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:59 Duration: 10ms Database: flexibleserverdb 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:18:04 Duration: 9ms Database: flexibleserverdb User: azuresu Remote: 169.254.128.1 Application: [unknown]
2 18ms 18ms 18ms 1 18ms with recursive oids as ( select t.oid from pg_catalog.pg_type t left join pg_catalog.pg_namespace n on t.typnamespace = n.oid where typtype = ? and (t.oid < ? or nspname = ?) union all select * from ( with x as ( select oid from oids ) select t.oid from pg_catalog.pg_type t, x where typbasetype = x.oid and typtype = ? union all select t.oid from pg_catalog.pg_type t, x where typelem = x.oid and typtype = ? union all select t.oid from pg_catalog.pg_type t, pg_catalog.pg_class c, pg_catalog.pg_attribute a, x where t.typtype = ? and t.oid = c.reltype and c.oid = a.attrelid and not a.attisdropped and a.atttypid = x.oid union all select t.oid from pg_catalog.pg_type t, pg_catalog.pg_range r, x where t.typtype = ? and r.rngtypid = t.oid and r.rngsubtype = x.oid) foo ) select n.nspname, c.relname, a.attname from pg_catalog.pg_class c, pg_catalog.pg_namespace n, pg_catalog.pg_attribute a where c.oid = a.attrelid and not a.attisdropped and a.atttypid in ( select oid from oids) and c.relkind in (...) and c.relnamespace = n.oid and n.nspname !~ ? and n.nspname !~ ? and n.nspname not in (...);Times Reported Time consuming queries #2
Day Hour Count Duration Avg duration Sep 17 12 1 18ms 18ms [ User: azuresu - Total duration: 18ms - Times executed: 1 ]
[ Application: [unknown] - Total duration: 18ms - Times executed: 1 ]
-
WITH RECURSIVE oids AS ( SELECT t.oid FROM pg_catalog.pg_type t LEFT JOIN pg_catalog.pg_namespace n ON t.typnamespace = n.oid WHERE typtype = 'c' AND (t.oid < 16384 OR nspname = 'information_schema') UNION ALL SELECT * FROM ( WITH x AS ( SELECT oid FROM oids ) SELECT t.oid FROM pg_catalog.pg_type t, x WHERE typbasetype = x.oid AND typtype = 'd' UNION ALL SELECT t.oid FROM pg_catalog.pg_type t, x WHERE typelem = x.oid AND typtype = 'b' UNION ALL SELECT t.oid FROM pg_catalog.pg_type t, pg_catalog.pg_class c, pg_catalog.pg_attribute a, x WHERE t.typtype = 'c' AND t.oid = c.reltype AND c.oid = a.attrelid AND NOT a.attisdropped AND a.atttypid = x.oid UNION ALL SELECT t.oid FROM pg_catalog.pg_type t, pg_catalog.pg_range r, x WHERE t.typtype = 'r' AND r.rngtypid = t.oid AND r.rngsubtype = x.oid) foo ) SELECT n.nspname, c.relname, a.attname FROM pg_catalog.pg_class c, pg_catalog.pg_namespace n, pg_catalog.pg_attribute a WHERE c.oid = a.attrelid AND NOT a.attisdropped AND a.atttypid IN ( SELECT oid FROM oids) AND c.relkind IN ('r', 'm', 'i') AND c.relnamespace = n.oid AND n.nspname !~ '^pg_temp_' AND n.nspname !~ '^pg_toast_temp_' AND n.nspname NOT IN ('pg_catalog', 'information_schema');
Date: 2025-09-17 10:06:19 Duration: 18ms Database: flexibleserverdb User: azuresu Remote: [local] Application: [unknown]
3 16ms 16ms 16ms 1 16ms select count(*) from pg_catalog.pg_class class, pg_catalog.pg_attribute attr, pg_catalog.pg_namespace ns, pg_catalog.pg_roles rolwhere attr.atttypid in (?::pg_catalog.regtype, ?::pg_catalog.regtype, ?::pg_catalog.regtype, ?::pg_catalog.regtype, ?::pg_catalog.regtype, ?::pg_catalog.regtype, ?::pg_catalog.regtype, ?::pg_catalog.regtype) and ns.nspname not in (...) and class.oid = attr.attrelid and class.relnamespace = ns.oid and rol.oid = class.relowner and not attr.attisdropped and not (class.relname in (...) and rol.rolname = ? and atttypid = ?::pg_catalog.regtype);Times Reported Time consuming queries #3
Day Hour Count Duration Avg duration Sep 17 12 1 16ms 16ms [ User: azuresu - Total duration: 16ms - Times executed: 1 ]
[ Application: [unknown] - Total duration: 16ms - Times executed: 1 ]
-
SELECT count(*) FROM pg_catalog.pg_class class, pg_catalog.pg_attribute attr, pg_catalog.pg_namespace ns, pg_catalog.pg_roles rolWHERE attr.atttypid IN ('pg_catalog.regcollation'::pg_catalog.regtype, 'pg_catalog.regconfig'::pg_catalog.regtype, 'pg_catalog.regdictionary'::pg_catalog.regtype, 'pg_catalog.regnamespace'::pg_catalog.regtype, 'pg_catalog.regoper'::pg_catalog.regtype, 'pg_catalog.regoperator'::pg_catalog.regtype, 'pg_catalog.regproc'::pg_catalog.regtype, 'pg_catalog.regprocedure'::pg_catalog.regtype) AND ns.nspname NOT IN ('pg_catalog', 'information_schema') AND class.oid = attr.attrelid AND class.relnamespace = ns.oid AND rol.oid = class.relowner AND NOT attr.attisdropped AND NOT (class.relname IN ('pg_masking_rules', 'pg_masks') and rol.rolname = 'azuresu' and atttypid = 'pg_catalog.regnamespace'::pg_catalog.regtype);
Date: 2025-09-17 10:00:29 Duration: 16ms Database: flexibleserverdb User: azuresu Remote: 169.254.128.1 Application: [unknown] Bind query: yes
4 11ms 11ms 11ms 1 11ms with recursive oids as ( select oid from pg_catalog.pg_type t where t.typnamespace = ( select oid from pg_catalog.pg_namespace where nspname = ?) and t.typname in (...) union all select * from ( with x as ( select oid from oids ) select t.oid from pg_catalog.pg_type t, x where typbasetype = x.oid and typtype = ? union all select t.oid from pg_catalog.pg_type t, x where typelem = x.oid and typtype = ? union all select t.oid from pg_catalog.pg_type t, pg_catalog.pg_class c, pg_catalog.pg_attribute a, x where t.typtype = ? and t.oid = c.reltype and c.oid = a.attrelid and not a.attisdropped and a.atttypid = x.oid union all select t.oid from pg_catalog.pg_type t, pg_catalog.pg_range r, x where t.typtype = ? and r.rngtypid = t.oid and r.rngsubtype = x.oid) foo ) select n.nspname, c.relname, a.attname from pg_catalog.pg_class c, pg_catalog.pg_namespace n, pg_catalog.pg_attribute a where c.oid = a.attrelid and not a.attisdropped and a.atttypid in ( select oid from oids) and c.relkind in (...) and c.relnamespace = n.oid and n.nspname !~ ? and n.nspname !~ ? and n.nspname not in (...);Times Reported Time consuming queries #4
Day Hour Count Duration Avg duration Sep 17 12 1 11ms 11ms [ User: azuresu - Total duration: 11ms - Times executed: 1 ]
[ Application: [unknown] - Total duration: 11ms - Times executed: 1 ]
-
WITH RECURSIVE oids AS ( SELECT oid FROM pg_catalog.pg_type t WHERE t.typnamespace = ( SELECT oid FROM pg_catalog.pg_namespace WHERE nspname = 'pg_catalog') AND t.typname IN ('regcollation', 'regconfig', 'regdictionary', 'regnamespace', 'regoper', 'regoperator', 'regproc', 'regprocedure') UNION ALL SELECT * FROM ( WITH x AS ( SELECT oid FROM oids ) SELECT t.oid FROM pg_catalog.pg_type t, x WHERE typbasetype = x.oid AND typtype = 'd' UNION ALL SELECT t.oid FROM pg_catalog.pg_type t, x WHERE typelem = x.oid AND typtype = 'b' UNION ALL SELECT t.oid FROM pg_catalog.pg_type t, pg_catalog.pg_class c, pg_catalog.pg_attribute a, x WHERE t.typtype = 'c' AND t.oid = c.reltype AND c.oid = a.attrelid AND NOT a.attisdropped AND a.atttypid = x.oid UNION ALL SELECT t.oid FROM pg_catalog.pg_type t, pg_catalog.pg_range r, x WHERE t.typtype = 'r' AND r.rngtypid = t.oid AND r.rngsubtype = x.oid) foo ) SELECT n.nspname, c.relname, a.attname FROM pg_catalog.pg_class c, pg_catalog.pg_namespace n, pg_catalog.pg_attribute a WHERE c.oid = a.attrelid AND NOT a.attisdropped AND a.atttypid IN ( SELECT oid FROM oids) AND c.relkind IN ('r', 'm', 'i') AND c.relnamespace = n.oid AND n.nspname !~ '^pg_temp_' AND n.nspname !~ '^pg_toast_temp_' AND n.nspname NOT IN ('pg_catalog', 'information_schema');
Date: 2025-09-17 10:06:19 Duration: 11ms Database: flexibleserverdb User: azuresu Remote: [local] Application: [unknown]
5 9ms 9ms 9ms 1 9ms with target_oids as ( select oid from pg_class where relname = ? ) select count(*) over () as total_count, c.relname as view_name, n.nspname as schema_name, current_database() as database_namefrom pg_depend djoin pg_rewrite r on d.objid = r.oidjoin pg_class c on r.ev_class = c.oidjoin pg_namespace n on c.relnamespace = n.oidwhere d.refobjid in ( select oid from target_oids) and c.relkind = ? and n.nspname not in (...);Times Reported Time consuming queries #5
Day Hour Count Duration Avg duration Sep 17 12 1 9ms 9ms [ User: azuresu - Total duration: 9ms - Times executed: 1 ]
[ Application: [unknown] - Total duration: 9ms - Times executed: 1 ]
-
WITH target_oids AS ( SELECT oid FROM pg_class WHERE relname = 'pg_stat_activity' ) SELECT COUNT(*) OVER () AS total_count, c.relname AS view_name, n.nspname AS schema_name, current_database() AS database_nameFROM pg_depend dJOIN pg_rewrite r ON d.objid = r.oidJOIN pg_class c ON r.ev_class = c.oidJOIN pg_namespace n ON c.relnamespace = n.oidWHERE d.refobjid IN ( SELECT oid FROM target_oids) AND c.relkind = 'v' AND n.nspname NOT IN ('pg_catalog', 'information_schema');
Date: 2025-09-17 10:00:31 Duration: 9ms Database: flexibleserverdb User: azuresu Remote: 169.254.128.1 Application: [unknown] Bind query: yes
6 8ms 8ms 8ms 1 8ms with regular_heap ( reloid, indtable, toastheap ) as ( select c.oid, ?::oid, ?::oid from pg_catalog.pg_class c join pg_catalog.pg_namespace n on c.relnamespace = n.oid where relkind in (...) and ((n.nspname !~ ? and n.nspname !~ ? and n.nspname not in (...) and c.oid >= ?::pg_catalog.oid) or (n.nspname = ? and relname in (...))) ), toast_heap ( reloid, indtable, toastheap ) as ( select c.reltoastrelid, ?::oid, c.oid from regular_heap join pg_catalog.pg_class c on regular_heap.reloid = c.oid where c.reltoastrelid != ? ), all_index ( reloid, indtable, toastheap ) as ( select indexrelid, indrelid, ?::oid from pg_catalog.pg_index where indisvalid and indisready and indrelid in ( select reloid from regular_heap union all select reloid from toast_heap)) select all_rels.*, n.nspname, c.relname, c.relfilenode, c.reltablespace, pg_catalog.pg_tablespace_location(t.oid) as spclocation from ( select * from regular_heap union all select * from toast_heap union all select * from all_index) all_rels join pg_catalog.pg_class c on all_rels.reloid = c.oid join pg_catalog.pg_namespace n on c.relnamespace = n.oid left outer join pg_catalog.pg_tablespace t on c.reltablespace = t.oid order by ?;Times Reported Time consuming queries #6
Day Hour Count Duration Avg duration Sep 17 12 1 8ms 8ms [ User: azuresu - Total duration: 8ms - Times executed: 1 ]
[ Application: [unknown] - Total duration: 8ms - Times executed: 1 ]
-
WITH regular_heap ( reloid, indtable, toastheap ) AS ( SELECT c.oid, 0::oid, 0::oid FROM pg_catalog.pg_class c JOIN pg_catalog.pg_namespace n ON c.relnamespace = n.oid WHERE relkind IN ('r', 'm') AND ((n.nspname !~ '^pg_temp_' AND n.nspname !~ '^pg_toast_temp_' AND n.nspname NOT IN ('pg_catalog', 'information_schema', 'binary_upgrade', 'pg_toast') AND c.oid >= 16384::pg_catalog.oid) OR (n.nspname = 'pg_catalog' AND relname IN ('pg_largeobject'))) ), toast_heap ( reloid, indtable, toastheap ) AS ( SELECT c.reltoastrelid, 0::oid, c.oid FROM regular_heap JOIN pg_catalog.pg_class c ON regular_heap.reloid = c.oid WHERE c.reltoastrelid != 0 ), all_index ( reloid, indtable, toastheap ) AS ( SELECT indexrelid, indrelid, 0::oid FROM pg_catalog.pg_index WHERE indisvalid AND indisready AND indrelid IN ( SELECT reloid FROM regular_heap UNION ALL SELECT reloid FROM toast_heap)) SELECT all_rels.*, n.nspname, c.relname, c.relfilenode, c.reltablespace, pg_catalog.pg_tablespace_location(t.oid) AS spclocation FROM ( SELECT * FROM regular_heap UNION ALL SELECT * FROM toast_heap UNION ALL SELECT * FROM all_index) all_rels JOIN pg_catalog.pg_class c ON all_rels.reloid = c.oid JOIN pg_catalog.pg_namespace n ON c.relnamespace = n.oid LEFT OUTER JOIN pg_catalog.pg_tablespace t ON c.reltablespace = t.oid ORDER BY 1;
Date: 2025-09-17 10:06:18 Duration: 8ms Database: flexibleserverdb User: azuresu Remote: [local] Application: [unknown]
7 6ms 6ms 6ms 1 6ms with init_privs as ( select distinct classoid, objoid, objsubid, replace((regexp_matches(unnest(initprivs)::text, ?))[?], ?, ?) as grantor from pg_init_privs where privtype = ? ), all_privs as ( select c.relnamespace as namespace, i.*, relowner as owner from init_privs i join pg_class as c on i.classoid = ? and c.oid = i.objoid union all select t.typnamespace, i.*, t.typowner from init_privs i join pg_type as t on i.classoid = ? and t.oid = i.objoid union all select ?, i.*, fdw.fdwowner from init_privs i join pg_foreign_data_wrapper as fdw on i.classoid = ? and fdw.oid = i.objoid union all select ?, i.*, fs.srvowner from init_privs i join pg_foreign_server as fs on i.classoid = ? and fs.oid = i.objoid union all select p.pronamespace, i.*, p.proowner from init_privs i join pg_proc as p on i.classoid = ? and p.oid = i.objoid union all select ?, i.*, l.lanowner from init_privs i join pg_language as l on i.classoid = ? and l.oid = i.objoid union all select ?, i.*, n.nspowner from init_privs i join pg_namespace n on i.classoid = ? and n.oid = i.objoid ) select pg_describe_object(classoid, objoid, objsubid), current_database() as database from all_privs where not pg_has_role(grantor, owner, ?) or namespace <> ? and not has_schema_privilege(grantor, namespace, ?);Times Reported Time consuming queries #7
Day Hour Count Duration Avg duration Sep 17 12 1 6ms 6ms [ User: azuresu - Total duration: 6ms - Times executed: 1 ]
[ Application: [unknown] - Total duration: 6ms - Times executed: 1 ]
-
WITH init_privs AS ( SELECT DISTINCT classoid, objoid, objsubid, /* * initprivs is an array, with elements in format: * '[$user]=$Perm/$grantor', where $grantor could be double-quoted. * Therefore we first unnest, then extract grantor using regexp (it * also handles first and last double-quote symbols, if there are * any), and finally replace two double-quotes with a single one. */ replace((regexp_matches(unnest(initprivs)::text, '.*/"{0,1}(.*?)"{0,1}'))[1], '""', '"') as grantor FROM pg_init_privs WHERE privtype = 'e' /* we are interested only in extension objects */ ), all_privs AS ( /* * Depending on classoid we need to join with respective catalog tables to * find the object owner. List of tables is taken from getAdditionalACLs() * function in pg_dump.c file. * Besides that we extract a schema OID from the object, to check later * that required grantor from pg_init_privs has access to the schema. */ SELECT c.relnamespace AS namespace, i.*, relowner AS owner FROM init_privs i JOIN pg_class AS c ON i.classoid = 1259 AND c.oid = i.objoid UNION ALL SELECT t.typnamespace, i.*, t.typowner FROM init_privs i JOIN pg_type AS t ON i.classoid = 1247 AND t.oid = i.objoid UNION ALL SELECT 0, i.*, fdw.fdwowner FROM init_privs i JOIN pg_foreign_data_wrapper AS fdw ON i.classoid = 2328 AND fdw.oid = i.objoid UNION ALL SELECT 0, i.*, fs.srvowner FROM init_privs i JOIN pg_foreign_server AS fs ON i.classoid = 1417 AND fs.oid = i.objoid UNION ALL SELECT p.pronamespace, i.*, p.proowner FROM init_privs i JOIN pg_proc AS p ON i.classoid = 1255 AND p.oid = i.objoid UNION ALL SELECT 0, i.*, l.lanowner FROM init_privs i JOIN pg_language AS l ON i.classoid = 2612 AND l.oid = i.objoid UNION ALL SELECT 0, i.*, n.nspowner FROM init_privs i JOIN pg_namespace n ON i.classoid = 2615 AND n.oid = i.objoid ) SELECT pg_describe_object(classoid, objoid, objsubid), current_database() as database FROM all_privs /* * pg_dump/pg_restore creates an object and immediately changes the owner. * Later, when pg_init_privs are restored, the following happens: * ``` * SELECT pg_catalog.binary_upgrade_set_record_init_privs(true); * REVOKE ALL ON $object FROM $user; * SET SESSION AUTHORIZATION $grantor; * GRANT $permission ON $object TO $grantee;; * RESET SESSION AUTHORIZATION; * SELECT pg_catalog.binary_upgrade_set_record_init_privs(false); * ``` * Therefore we need to check only two things: * - $grantor has role privilege of object owner * - $grantor has USAGE on SCHEMA where object exists */ WHERE NOT pg_has_role(grantor, owner, 'USAGE') OR namespace <> 0 AND NOT has_schema_privilege(grantor, namespace, 'USAGE');
Date: 2025-09-17 10:00:29 Duration: 6ms Database: flexibleserverdb User: azuresu Remote: 169.254.128.1 Application: [unknown] Bind query: yes
8 3ms 3ms 3ms 1 3ms grant execute on function pg_catalog.pg_show_replication_origin_status () to azure_pg_admin;Times Reported Time consuming queries #8
Day Hour Count Duration Avg duration Sep 17 12 1 3ms 3ms [ User: azuresu - Total duration: 3ms - Times executed: 1 ]
[ Application: [unknown] - Total duration: 3ms - Times executed: 1 ]
-
GRANT EXECUTE ON FUNCTION pg_catalog.pg_show_replication_origin_status () TO azure_pg_admin;
Date: 2025-09-17 10:18:00 Duration: 3ms Database: flexibleserverdb User: azuresu Remote: 169.254.128.1 Application: [unknown] Bind query: yes
9 3ms 3ms 3ms 4 12ms select extension.name, extension.installed_version is not null as installed, extension.default_version, extension.installed_version, current_database() as databasefrom pg_available_extensions extensionorder by extension.name asc;Times Reported Time consuming queries #9
Day Hour Count Duration Avg duration Sep 17 12 4 12ms 3ms [ User: azuresu - Total duration: 12ms - Times executed: 4 ]
[ Application: [unknown] - Total duration: 12ms - Times executed: 4 ]
-
SELECT extension.name, extension.installed_version IS NOT NULL AS installed, extension.default_version, extension.installed_version, current_database() as databaseFROM pg_available_extensions extensionORDER BY extension.name ASC;
Date: 2025-09-17 10:00:29 Duration: 3ms Database: flexibleserverdb User: azuresu Remote: 169.254.128.1 Application: [unknown] Bind query: yes
-
SELECT extension.name, extension.installed_version IS NOT NULL AS installed, extension.default_version, extension.installed_version, current_database() as databaseFROM pg_available_extensions extensionORDER BY extension.name ASC;
Date: 2025-09-17 10:18:04 Duration: 3ms Database: flexibleserverdb User: azuresu Remote: 169.254.128.1 Application: [unknown] Bind query: yes
-
SELECT extension.name, extension.installed_version IS NOT NULL AS installed, extension.default_version, extension.installed_version, current_database() as databaseFROM pg_available_extensions extensionORDER BY extension.name ASC;
Date: 2025-09-17 10:00:56 Duration: 3ms Database: flexibleserverdb User: azuresu Remote: 169.254.128.1 Application: [unknown] Bind query: yes
10 2ms 2ms 2ms 1 2ms select distinct probin from pg_catalog.pg_proc where prolang = ? and probin is not null and oid >= ?;Times Reported Time consuming queries #10
Day Hour Count Duration Avg duration Sep 17 12 1 2ms 2ms [ User: azuresu - Total duration: 2ms - Times executed: 1 ]
[ Application: [unknown] - Total duration: 2ms - Times executed: 1 ]
-
SELECT DISTINCT probin FROM pg_catalog.pg_proc WHERE prolang = 13 AND probin IS NOT NULL AND oid >= 16384;
Date: 2025-09-17 10:06:19 Duration: 2ms Database: flexibleserverdb User: azuresu Remote: [local] Application: [unknown]
11 0ms 2ms 1ms 191 201ms select schemaname, sum(n_live_tup) as n_live_tup, sum(n_dead_tup) as n_dead_tup, sum(seq_scan) as seq_scan, sum(seq_tup_read) as seq_tup_read, sum(idx_scan) as idx_scan, sum(idx_tup_fetch) as idx_tup_fetch, sum(n_tup_ins) as n_tup_ins, sum(n_tup_upd) as n_tup_upd, sum(n_tup_del) as n_tup_del, sum(n_tup_hot_upd) as n_tup_hot_upd, sum(n_mod_since_analyze) as n_mod_since_analyze, sum(vacuum_count) as vacuum_count, sum(autovacuum_count) as autovacuum_count, sum(analyze_count) as analyze_count, sum(autoanalyze_count) as autoanalyze_count, count(relid) as tables_counter, sum( case when last_vacuum is not null then ? else ? end)::bigint as tables_vacuumed, sum( case when last_autovacuum is not null then ? else ? end)::bigint as tables_autovacuumed, sum( case when last_analyze is not null then ? else ? end)::bigint as tables_analyzed, sum( case when last_autoanalyze is not null then ? else ? end)::bigint as tables_autoanalyzed from pg_catalog.pg_stat_all_tables group by schemaname;Times Reported Time consuming queries #11
Day Hour Count Duration Avg duration Sep 16 02 2 2ms 1ms 03 2 1ms 0ms 04 2 2ms 1ms 05 2 2ms 1ms 06 2 1ms 0ms 07 2 1ms 0ms 08 2 2ms 1ms 09 2 2ms 1ms 10 2 2ms 1ms 11 2 1ms 0ms 12 2 1ms 0ms 13 2 1ms 0ms 14 2 1ms 0ms 15 2 1ms 0ms 16 2 2ms 1ms 17 2 1ms 0ms 18 2 1ms 0ms 19 2 2ms 1ms 20 2 2ms 1ms 21 2 1ms 0ms 22 2 2ms 1ms 23 2 3ms 1ms 00 2 2ms 1ms 01 2 2ms 1ms Sep 17 02 2 1ms 0ms 03 2 2ms 1ms 04 2 1ms 0ms 05 2 1ms 0ms 06 2 2ms 1ms 07 2 1ms 0ms 08 2 1ms 0ms 09 2 2ms 1ms 10 2 2ms 1ms 11 2 1ms 0ms 12 1 0ms 0ms 13 2 2ms 1ms 14 2 2ms 1ms 15 2 1ms 0ms 16 2 2ms 1ms 17 2 2ms 1ms 18 2 2ms 1ms 19 2 1ms 0ms 20 2 1ms 0ms 21 2 1ms 0ms 22 2 2ms 1ms 23 2 2ms 1ms 00 2 1ms 0ms 01 2 1ms 0ms Sep 18 02 2 2ms 1ms 03 2 2ms 1ms 04 2 1ms 0ms 05 2 2ms 1ms 06 2 1ms 0ms 07 2 1ms 0ms 08 2 2ms 1ms 09 2 2ms 1ms 10 2 2ms 1ms 11 2 2ms 1ms 12 2 2ms 1ms 13 2 2ms 1ms 14 2 2ms 1ms 15 2 2ms 1ms 16 2 2ms 1ms 17 2 2ms 1ms 18 2 1ms 0ms 19 2 2ms 1ms 20 2 2ms 1ms 21 2 1ms 0ms 22 2 2ms 1ms 23 2 1ms 0ms 00 2 1ms 0ms 01 2 1ms 0ms Sep 19 02 2 2ms 1ms 03 2 2ms 1ms 04 2 1ms 0ms 05 2 2ms 1ms 06 2 2ms 1ms 07 2 2ms 1ms 08 2 2ms 1ms 09 2 2ms 1ms 10 2 2ms 1ms 11 2 2ms 1ms 12 2 2ms 1ms 13 2 2ms 1ms 14 2 1ms 0ms 15 2 2ms 1ms 16 2 2ms 1ms 17 2 2ms 1ms 18 2 2ms 1ms 19 2 2ms 1ms 20 2 2ms 1ms 21 2 2ms 1ms 22 2 2ms 1ms 23 2 2ms 1ms 00 2 2ms 1ms 01 2 3ms 1ms [ User: azuresu - Total duration: 201ms - Times executed: 191 ]
[ Application: [unknown] - Total duration: 201ms - Times executed: 191 ]
-
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-19 23:05:29 Duration: 2ms Database: flexibleserverdb User: azuresu Remote: 169.254.128.1 Application: [unknown] Bind query: yes
-
SELECT schemaname, sum(n_live_tup) AS n_live_tup, sum(n_dead_tup) AS n_dead_tup, sum(seq_scan) AS seq_scan, sum(seq_tup_read) AS seq_tup_read, sum(idx_scan) AS idx_scan, sum(idx_tup_fetch) AS idx_tup_fetch, sum(n_tup_ins) AS n_tup_ins, sum(n_tup_upd) AS n_tup_upd, sum(n_tup_del) AS n_tup_del, sum(n_tup_hot_upd) AS n_tup_hot_upd, sum(n_mod_since_analyze) AS n_mod_since_analyze, sum(vacuum_count) AS vacuum_count, sum(autovacuum_count) AS autovacuum_count, sum(analyze_count) AS analyze_count, sum(autoanalyze_count) AS autoanalyze_count, count(relid) AS tables_counter, sum( case when last_vacuum IS NOT NULL then 1 else 0 end)::bigint as tables_vacuumed, sum( case when last_autovacuum IS NOT NULL then 1 else 0 end)::bigint as tables_autovacuumed, sum( case when last_analyze IS NOT NULL then 1 else 0 end)::bigint as tables_analyzed, sum( case when last_autoanalyze IS NOT NULL then 1 else 0 end)::bigint as tables_autoanalyzed FROM pg_catalog.pg_stat_all_tables group by schemaname;
Date: 2025-09-18 12:31:40 Duration: 1ms Database: flexibleserverdb User: azuresu Remote: 169.254.128.1 Application: [unknown] Bind query: yes
-
SELECT schemaname, sum(n_live_tup) AS n_live_tup, sum(n_dead_tup) AS n_dead_tup, sum(seq_scan) AS seq_scan, sum(seq_tup_read) AS seq_tup_read, sum(idx_scan) AS idx_scan, sum(idx_tup_fetch) AS idx_tup_fetch, sum(n_tup_ins) AS n_tup_ins, sum(n_tup_upd) AS n_tup_upd, sum(n_tup_del) AS n_tup_del, sum(n_tup_hot_upd) AS n_tup_hot_upd, sum(n_mod_since_analyze) AS n_mod_since_analyze, sum(vacuum_count) AS vacuum_count, sum(autovacuum_count) AS autovacuum_count, sum(analyze_count) AS analyze_count, sum(autoanalyze_count) AS autoanalyze_count, count(relid) AS tables_counter, sum( case when last_vacuum IS NOT NULL then 1 else 0 end)::bigint as tables_vacuumed, sum( case when last_autovacuum IS NOT NULL then 1 else 0 end)::bigint as tables_autovacuumed, sum( case when last_analyze IS NOT NULL then 1 else 0 end)::bigint as tables_analyzed, sum( case when last_autoanalyze IS NOT NULL then 1 else 0 end)::bigint as tables_autoanalyzed FROM pg_catalog.pg_stat_all_tables group by schemaname;
Date: 2025-09-18 06:31:19 Duration: 1ms Database: flexibleserverdb User: azuresu Remote: 169.254.128.1 Application: [unknown] Bind query: yes
12 0ms 0ms 0ms 1 0ms grant execute on function pg_catalog.pg_stat_reset_single_function_counters(oid) to azure_pg_admin;Times Reported Time consuming queries #12
Day Hour Count Duration Avg duration Sep 17 12 1 0ms 0ms [ User: azuresu - Total duration: 0ms - Times executed: 1 ]
[ Application: [unknown] - Total duration: 0ms - Times executed: 1 ]
-
GRANT EXECUTE ON FUNCTION pg_catalog.pg_stat_reset_single_function_counters(oid) TO azure_pg_admin;
Date: 2025-09-17 10:17:59 Duration: 0ms Database: flexibleserverdb User: azuresu Remote: 169.254.128.1 Application: [unknown] Bind query: yes
13 0ms 0ms 0ms 1 0ms grant execute on function pg_catalog.pg_stat_reset_shared(text) to azure_pg_admin;Times Reported Time consuming queries #13
Day Hour Count Duration Avg duration Sep 17 12 1 0ms 0ms [ User: azuresu - Total duration: 0ms - Times executed: 1 ]
[ Application: [unknown] - Total duration: 0ms - Times executed: 1 ]
-
GRANT EXECUTE ON FUNCTION pg_catalog.pg_stat_reset_shared(text) TO azure_pg_admin;
Date: 2025-09-17 10:18:00 Duration: 0ms Database: flexibleserverdb User: azuresu Remote: 169.254.128.1 Application: [unknown] Bind query: yes
14 0ms 0ms 0ms 1 0ms grant execute on function pg_catalog.pg_stat_reset_single_table_counters(oid) to azure_pg_admin;Times Reported Time consuming queries #14
Day Hour Count Duration Avg duration Sep 17 12 1 0ms 0ms [ User: azuresu - Total duration: 0ms - Times executed: 1 ]
[ Application: [unknown] - Total duration: 0ms - Times executed: 1 ]
-
GRANT EXECUTE ON FUNCTION pg_catalog.pg_stat_reset_single_table_counters(oid) TO azure_pg_admin;
Date: 2025-09-17 10:18:00 Duration: 0ms Database: flexibleserverdb User: azuresu Remote: 169.254.128.1 Application: [unknown] Bind query: yes
15 0ms 0ms 0ms 1 0ms grant execute on function pg_catalog.pg_replication_origin_oid (text) to azure_pg_admin;Times Reported Time consuming queries #15
Day Hour Count Duration Avg duration Sep 17 12 1 0ms 0ms [ User: azuresu - Total duration: 0ms - Times executed: 1 ]
[ Application: [unknown] - Total duration: 0ms - Times executed: 1 ]
-
GRANT EXECUTE ON FUNCTION pg_catalog.pg_replication_origin_oid (text) TO azure_pg_admin;
Date: 2025-09-17 10:18:00 Duration: 0ms Database: flexibleserverdb User: azuresu Remote: 169.254.128.1 Application: [unknown] Bind query: yes
16 0ms 0ms 0ms 2 1ms alter extension "plpgsql" update;Times Reported Time consuming queries #16
Day Hour Count Duration Avg duration Sep 17 12 2 1ms 0ms [ User: azuresu - Total duration: 1ms - Times executed: 2 ]
[ Application: [unknown] - Total duration: 1ms - Times executed: 2 ]
-
ALTER EXTENSION "plpgsql" UPDATE;
Date: 2025-09-17 10:00:56 Duration: 0ms Database: flexibleserverdb User: azuresu Remote: 169.254.128.1 Application: [unknown] Bind query: yes
-
ALTER EXTENSION "plpgsql" UPDATE;
Date: 2025-09-17 10:18:04 Duration: 0ms Database: flexibleserverdb User: azuresu Remote: 169.254.128.1 Application: [unknown] Bind query: yes
17 0ms 0ms 0ms 3 1ms select pg_catalog.set_config(?, ?, false);Times Reported Time consuming queries #17
Day Hour Count Duration Avg duration Sep 17 12 3 1ms 0ms [ User: azuresu - Total duration: 1ms - Times executed: 3 ]
[ Application: [unknown] - Total duration: 1ms - Times executed: 3 ]
-
SELECT pg_catalog.set_config('search_path', '', false);
Date: 2025-09-17 10:06:18 Duration: 0ms Database: flexibleserverdb User: azuresu Remote: [local] Application: [unknown]
-
SELECT pg_catalog.set_config('search_path', '', false);
Date: 2025-09-17 10:06:19 Duration: 0ms Database: flexibleserverdb User: azuresu Remote: [local] Application: [unknown]
-
SELECT pg_catalog.set_config('search_path', '', false);
Date: 2025-09-17 10:06:19 Duration: 0ms Database: flexibleserverdb User: azuresu Remote: [local] Application: [unknown]
18 0ms 0ms 0ms 16 2ms set session authorization default; reset all; close "..." *; select pg_advisory_unlock_all(); discard sequences; discard temp;Times Reported Time consuming queries #18
Day Hour Count Duration Avg duration Sep 17 12 16 2ms 0ms [ User: azuresu - Total duration: 2ms - Times executed: 16 ]
[ Application: [unknown] - Total duration: 2ms - Times executed: 16 ]
-
SET SESSION AUTHORIZATION DEFAULT; RESET ALL; CLOSE ALL; UNLISTEN *; SELECT pg_advisory_unlock_all(); DISCARD SEQUENCES; DISCARD TEMP;
Date: 2025-09-17 10:18:00 Duration: 0ms Database: flexibleserverdb User: azuresu Remote: 169.254.128.1 Application: [unknown]
-
SET SESSION AUTHORIZATION DEFAULT; RESET ALL; CLOSE ALL; UNLISTEN *; SELECT pg_advisory_unlock_all(); DISCARD SEQUENCES; DISCARD TEMP;
Date: 2025-09-17 10:18:10 Duration: 0ms Database: flexibleserverdb User: azuresu Remote: 169.254.128.1 Application: [unknown]
-
SET SESSION AUTHORIZATION DEFAULT; RESET ALL; CLOSE ALL; UNLISTEN *; SELECT pg_advisory_unlock_all(); DISCARD SEQUENCES; DISCARD TEMP;
Date: 2025-09-17 10:18:10 Duration: 0ms Database: flexibleserverdb User: azuresu Remote: 169.254.128.1 Application: [unknown]
19 0ms 0ms 0ms 96 9ms select extname, extowner, extnamespace, extrelocatable, extversion, extconfig, extcondition from pg_catalog.pg_extension;Times Reported Time consuming queries #19
Day Hour Count Duration Avg duration Sep 16 02 1 0ms 0ms 03 1 0ms 0ms 04 1 0ms 0ms 05 1 0ms 0ms 06 1 0ms 0ms 07 1 0ms 0ms 08 1 0ms 0ms 09 1 0ms 0ms 10 1 0ms 0ms 11 1 0ms 0ms 12 1 0ms 0ms 13 1 0ms 0ms 14 1 0ms 0ms 15 1 0ms 0ms 16 1 0ms 0ms 17 1 0ms 0ms 18 1 0ms 0ms 19 1 0ms 0ms 20 1 0ms 0ms 21 1 0ms 0ms 22 1 0ms 0ms 23 1 0ms 0ms 00 1 0ms 0ms 01 1 0ms 0ms Sep 17 02 1 0ms 0ms 03 1 0ms 0ms 04 1 0ms 0ms 05 1 0ms 0ms 06 1 0ms 0ms 07 1 0ms 0ms 08 1 0ms 0ms 09 1 0ms 0ms 10 1 0ms 0ms 11 1 0ms 0ms 12 1 0ms 0ms 13 1 0ms 0ms 14 1 0ms 0ms 15 1 0ms 0ms 16 1 0ms 0ms 17 1 0ms 0ms 18 1 0ms 0ms 19 1 0ms 0ms 20 1 0ms 0ms 21 1 0ms 0ms 22 1 0ms 0ms 23 1 0ms 0ms 00 1 0ms 0ms 01 1 0ms 0ms Sep 18 02 1 0ms 0ms 03 1 0ms 0ms 04 1 0ms 0ms 05 1 0ms 0ms 06 1 0ms 0ms 07 1 0ms 0ms 08 1 0ms 0ms 09 1 0ms 0ms 10 1 0ms 0ms 11 1 0ms 0ms 12 1 0ms 0ms 13 1 0ms 0ms 14 1 0ms 0ms 15 1 0ms 0ms 16 1 0ms 0ms 17 1 0ms 0ms 18 1 0ms 0ms 19 1 0ms 0ms 20 1 0ms 0ms 21 1 0ms 0ms 22 1 0ms 0ms 23 1 0ms 0ms 00 1 0ms 0ms 01 1 0ms 0ms Sep 19 02 1 0ms 0ms 03 1 0ms 0ms 04 1 0ms 0ms 05 1 0ms 0ms 06 1 0ms 0ms 07 1 0ms 0ms 08 1 0ms 0ms 09 1 0ms 0ms 10 1 0ms 0ms 11 1 0ms 0ms 12 1 0ms 0ms 13 1 0ms 0ms 14 1 0ms 0ms 15 1 0ms 0ms 16 1 0ms 0ms 17 1 0ms 0ms 18 1 0ms 0ms 19 1 0ms 0ms 20 1 0ms 0ms 21 1 0ms 0ms 22 1 0ms 0ms 23 1 0ms 0ms 00 1 0ms 0ms 01 1 0ms 0ms [ User: azuresu - Total duration: 9ms - Times executed: 96 ]
[ Application: [unknown] - Total duration: 9ms - Times executed: 96 ]
-
SELECT extname, extowner, extnamespace, extrelocatable, extversion, extconfig, extcondition FROM pg_catalog.pg_extension;
Date: 2025-09-19 15:35:03 Duration: 0ms Database: flexibleserverdb User: azuresu Remote: 169.254.128.1 Application: [unknown] Bind query: yes
-
SELECT extname, extowner, extnamespace, extrelocatable, extversion, extconfig, extcondition FROM pg_catalog.pg_extension;
Date: 2025-09-18 09:31:30 Duration: 0ms Database: flexibleserverdb User: azuresu Remote: 169.254.128.1 Application: [unknown] Bind query: yes
-
SELECT extname, extowner, extnamespace, extrelocatable, extversion, extconfig, extcondition FROM pg_catalog.pg_extension;
Date: 2025-09-19 11:34:49 Duration: 0ms Database: flexibleserverdb User: azuresu Remote: 169.254.128.1 Application: [unknown] Bind query: yes
20 0ms 0ms 0ms 288 14ms set session statement_timeout to ?;Times Reported Time consuming queries #20
Day Hour Count Duration Avg duration Sep 16 02 3 0ms 0ms 03 3 0ms 0ms 04 3 0ms 0ms 05 3 0ms 0ms 06 3 0ms 0ms 07 3 0ms 0ms 08 3 0ms 0ms 09 3 0ms 0ms 10 3 0ms 0ms 11 3 0ms 0ms 12 3 0ms 0ms 13 3 0ms 0ms 14 3 0ms 0ms 15 3 0ms 0ms 16 3 0ms 0ms 17 3 0ms 0ms 18 3 0ms 0ms 19 3 0ms 0ms 20 3 0ms 0ms 21 3 0ms 0ms 22 3 0ms 0ms 23 3 0ms 0ms 00 3 0ms 0ms 01 3 0ms 0ms Sep 17 02 3 0ms 0ms 03 3 0ms 0ms 04 3 0ms 0ms 05 3 0ms 0ms 06 3 0ms 0ms 07 3 0ms 0ms 08 3 0ms 0ms 09 3 0ms 0ms 10 3 0ms 0ms 11 3 0ms 0ms 12 3 0ms 0ms 13 3 0ms 0ms 14 3 0ms 0ms 15 3 0ms 0ms 16 3 0ms 0ms 17 3 0ms 0ms 18 3 0ms 0ms 19 3 0ms 0ms 20 3 0ms 0ms 21 3 0ms 0ms 22 3 0ms 0ms 23 3 0ms 0ms 00 3 0ms 0ms 01 3 0ms 0ms Sep 18 02 3 0ms 0ms 03 3 0ms 0ms 04 3 0ms 0ms 05 3 0ms 0ms 06 3 0ms 0ms 07 3 0ms 0ms 08 3 0ms 0ms 09 3 0ms 0ms 10 3 0ms 0ms 11 3 0ms 0ms 12 3 0ms 0ms 13 3 0ms 0ms 14 3 0ms 0ms 15 3 0ms 0ms 16 3 0ms 0ms 17 3 0ms 0ms 18 3 0ms 0ms 19 3 0ms 0ms 20 3 0ms 0ms 21 3 0ms 0ms 22 3 0ms 0ms 23 3 0ms 0ms 00 3 0ms 0ms 01 3 0ms 0ms Sep 19 02 3 0ms 0ms 03 3 0ms 0ms 04 3 0ms 0ms 05 3 0ms 0ms 06 3 0ms 0ms 07 3 0ms 0ms 08 3 0ms 0ms 09 3 0ms 0ms 10 3 0ms 0ms 11 3 0ms 0ms 12 3 0ms 0ms 13 3 0ms 0ms 14 3 0ms 0ms 15 3 0ms 0ms 16 3 0ms 0ms 17 3 0ms 0ms 18 3 0ms 0ms 19 3 0ms 0ms 20 3 0ms 0ms 21 3 0ms 0ms 22 3 0ms 0ms 23 3 0ms 0ms 00 3 0ms 0ms 01 3 0ms 0ms [ User: azuresu - Total duration: 14ms - Times executed: 288 ]
[ Application: [unknown] - Total duration: 14ms - Times executed: 288 ]
-
set session statement_timeout to 120000;
Date: 2025-09-19 20:35:20 Duration: 0ms Database: flexibleserverdb User: azuresu Remote: 169.254.128.1 Application: [unknown] Bind query: yes
-
set session statement_timeout to 60000;
Date: 2025-09-19 01:02:23 Duration: 0ms Database: flexibleserverdb User: azuresu Remote: 169.254.128.1 Application: [unknown] Bind query: yes
-
set session statement_timeout to 60000;
Date: 2025-09-18 15:01:48 Duration: 0ms Database: flexibleserverdb 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 846ms 239 1ms 38ms 3ms 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 #1
Day Hour Count Duration Avg duration Sep 19 02 2 2ms 1ms 03 2 2ms 1ms 04 2 2ms 1ms 05 2 3ms 1ms 06 2 2ms 1ms 07 2 3ms 1ms 08 2 32ms 16ms 09 2 25ms 12ms 10 2 2ms 1ms 11 2 4ms 2ms 12 2 2ms 1ms 13 2 3ms 1ms 14 2 2ms 1ms 15 2 2ms 1ms 16 2 2ms 1ms 17 2 3ms 1ms 18 2 2ms 1ms 19 2 2ms 1ms 20 2 4ms 2ms 21 2 3ms 1ms 22 2 2ms 1ms 23 2 2ms 1ms 00 2 2ms 1ms 01 2 2ms 1ms Sep 19 02 2 2ms 1ms 03 2 6ms 3ms 04 2 2ms 1ms 05 2 2ms 1ms 06 2 2ms 1ms 07 2 2ms 1ms 08 2 40ms 20ms 09 2 23ms 11ms 10 2 3ms 1ms 11 2 3ms 1ms 12 1 1ms 1ms 13 2 2ms 1ms 14 2 2ms 1ms 15 2 2ms 1ms 16 2 2ms 1ms 17 2 2ms 1ms 18 2 2ms 1ms 19 2 2ms 1ms 20 2 2ms 1ms 21 2 2ms 1ms 22 2 2ms 1ms 23 2 2ms 1ms 00 2 2ms 1ms 01 2 2ms 1ms Sep 19 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 3ms 1ms 10 2 2ms 1ms 11 2 25ms 12ms 12 2 43ms 21ms 13 2 2ms 1ms 14 2 2ms 1ms 15 2 2ms 1ms 16 2 2ms 1ms 17 2 2ms 1ms 18 2 2ms 1ms 19 2 3ms 1ms 20 2 2ms 1ms 21 2 2ms 1ms 22 2 2ms 1ms 23 2 3ms 1ms 00 2 2ms 1ms 01 2 3ms 1ms Sep 19 02 4 5ms 1ms 03 4 5ms 1ms 04 4 5ms 1ms 05 4 6ms 1ms 06 4 5ms 1ms 07 4 6ms 1ms 08 4 52ms 13ms 09 4 67ms 16ms 10 4 5ms 1ms 11 4 5ms 1ms 12 4 5ms 1ms 13 4 99ms 24ms 14 4 6ms 1ms 15 4 5ms 1ms 16 4 5ms 1ms 17 4 50ms 12ms 18 4 5ms 1ms 19 4 5ms 1ms 20 4 77ms 19ms 21 4 5ms 1ms 22 4 5ms 1ms 23 4 5ms 1ms 00 4 5ms 1ms 01 4 5ms 1ms [ User: azuresu - Total duration: 254ms - Times executed: 239 ]
[ Application: [unknown] - Total duration: 254ms - Times executed: 239 ]
-
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: 38ms Database: flexibleserverdb User: flexibleserverdb 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-19 18:05:12 Duration: 37ms Database: flexibleserverdb User: flexibleserverdb 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-19 11:04:47 Duration: 34ms Database: flexibleserverdb User: flexibleserverdb Remote: azuresu Application: 169.254.128.1 Queryid: [unknown]
2 99ms 120 0ms 8ms 0ms SELECT extname, extowner, extnamespace, extrelocatable, extversion, extconfig, extcondition FROM pg_catalog.pg_extension;Times Reported Time consuming prepare #2
Day Hour Count Duration Avg duration 00 1 0ms 0ms 01 1 0ms 0ms 02 1 0ms 0ms 03 1 0ms 0ms 04 1 0ms 0ms 05 1 0ms 0ms 06 1 0ms 0ms 07 1 6ms 6ms 08 1 0ms 0ms 09 1 0ms 0ms 10 1 0ms 0ms 11 1 0ms 0ms 12 1 0ms 0ms 13 1 0ms 0ms 14 1 0ms 0ms 15 1 0ms 0ms 16 1 0ms 0ms 17 1 0ms 0ms 18 1 0ms 0ms 19 1 0ms 0ms 20 1 0ms 0ms 21 1 0ms 0ms 22 1 0ms 0ms 23 1 0ms 0ms 00 1 0ms 0ms 01 1 0ms 0ms 02 1 0ms 0ms 03 1 0ms 0ms 04 1 0ms 0ms 05 1 0ms 0ms 06 1 0ms 0ms 07 1 5ms 5ms 08 1 0ms 0ms 09 1 0ms 0ms 10 1 0ms 0ms 11 1 0ms 0ms 12 1 0ms 0ms 13 1 0ms 0ms 14 1 0ms 0ms 15 1 0ms 0ms 16 1 0ms 0ms 17 1 0ms 0ms 18 1 0ms 0ms 19 1 0ms 0ms 20 1 0ms 0ms 21 1 0ms 0ms 22 1 0ms 0ms 23 1 0ms 0ms 00 1 0ms 0ms 01 1 0ms 0ms 02 1 0ms 0ms 03 1 0ms 0ms 04 1 0ms 0ms 05 1 0ms 0ms 06 1 0ms 0ms 07 1 0ms 0ms 08 1 0ms 0ms 09 1 5ms 5ms 10 1 3ms 3ms 11 1 0ms 0ms 12 1 0ms 0ms 13 1 0ms 0ms 14 1 0ms 0ms 15 1 0ms 0ms 16 1 0ms 0ms 17 1 0ms 0ms 18 1 0ms 0ms 19 1 0ms 0ms 20 1 0ms 0ms 21 1 0ms 0ms 22 1 0ms 0ms 23 1 0ms 0ms 00 2 1ms 0ms 01 2 0ms 0ms 02 2 0ms 0ms 03 2 0ms 0ms 04 2 0ms 0ms 05 2 0ms 0ms 06 2 16ms 8ms 07 2 3ms 1ms 08 2 0ms 0ms 09 2 0ms 0ms 10 2 0ms 0ms 11 2 10ms 5ms 12 2 0ms 0ms 13 2 0ms 0ms 14 2 0ms 0ms 15 2 13ms 6ms 16 2 0ms 0ms 17 2 0ms 0ms 18 2 0ms 0ms 19 2 0ms 0ms 20 2 0ms 0ms 21 2 0ms 0ms 22 2 0ms 0ms 23 2 0ms 0ms [ User: azuresu - Total duration: 14ms - Times executed: 120 ]
[ Application: [unknown] - Total duration: 14ms - Times executed: 120 ]
-
SELECT extname, extowner, extnamespace, extrelocatable, extversion, extconfig, extcondition FROM pg_catalog.pg_extension;
Date: 2025-09-19 06:32:42 Duration: 8ms Database: flexibleserverdb User: flexibleserverdb Remote: azuresu Application: 169.254.128.1 Queryid: [unknown]
-
SELECT extname, extowner, extnamespace, extrelocatable, extversion, extconfig, extcondition FROM pg_catalog.pg_extension;
Date: 2025-09-19 15:35:03 Duration: 6ms Database: flexibleserverdb User: flexibleserverdb Remote: azuresu Application: 169.254.128.1 Queryid: [unknown]
-
SELECT extname, extowner, extnamespace, extrelocatable, extversion, extconfig, extcondition FROM pg_catalog.pg_extension;
Date: 2025-09-16 07:23:33 Duration: 6ms Database: flexibleserverdb User: flexibleserverdb Remote: azuresu Application: 169.254.128.1 Queryid: [unknown]
3 17ms 240 0ms 0ms 0ms set session statement_timeout to 60000;Times Reported Time consuming prepare #3
Day Hour Count Duration Avg duration 00 2 0ms 0ms 01 2 0ms 0ms 02 2 0ms 0ms 03 2 0ms 0ms 04 2 0ms 0ms 05 2 0ms 0ms 06 2 0ms 0ms 07 2 0ms 0ms 08 2 0ms 0ms 09 2 0ms 0ms 10 2 0ms 0ms 11 2 0ms 0ms 12 2 0ms 0ms 13 2 0ms 0ms 14 2 0ms 0ms 15 2 0ms 0ms 16 2 0ms 0ms 17 2 0ms 0ms 18 2 0ms 0ms 19 2 0ms 0ms 20 2 0ms 0ms 21 2 0ms 0ms 22 2 0ms 0ms 23 2 0ms 0ms 00 2 0ms 0ms 01 2 0ms 0ms 02 2 0ms 0ms 03 2 0ms 0ms 04 2 0ms 0ms 05 2 0ms 0ms 06 2 0ms 0ms 07 2 0ms 0ms 08 2 0ms 0ms 09 2 0ms 0ms 10 2 0ms 0ms 11 2 0ms 0ms 12 2 0ms 0ms 13 2 0ms 0ms 14 2 0ms 0ms 15 2 0ms 0ms 16 2 0ms 0ms 17 2 0ms 0ms 18 2 0ms 0ms 19 2 0ms 0ms 20 2 0ms 0ms 21 2 0ms 0ms 22 2 0ms 0ms 23 2 0ms 0ms 00 2 0ms 0ms 01 2 0ms 0ms 02 2 0ms 0ms 03 2 0ms 0ms 04 2 0ms 0ms 05 2 0ms 0ms 06 2 0ms 0ms 07 2 0ms 0ms 08 2 0ms 0ms 09 2 0ms 0ms 10 2 0ms 0ms 11 2 0ms 0ms 12 2 0ms 0ms 13 2 0ms 0ms 14 2 0ms 0ms 15 2 0ms 0ms 16 2 0ms 0ms 17 2 0ms 0ms 18 2 0ms 0ms 19 2 0ms 0ms 20 2 0ms 0ms 21 2 0ms 0ms 22 2 0ms 0ms 23 2 0ms 0ms 00 4 0ms 0ms 01 4 0ms 0ms 02 4 0ms 0ms 03 4 0ms 0ms 04 4 0ms 0ms 05 4 0ms 0ms 06 4 0ms 0ms 07 4 0ms 0ms 08 4 0ms 0ms 09 4 0ms 0ms 10 4 0ms 0ms 11 4 0ms 0ms 12 4 0ms 0ms 13 4 0ms 0ms 14 4 0ms 0ms 15 4 0ms 0ms 16 4 0ms 0ms 17 4 0ms 0ms 18 4 0ms 0ms 19 4 0ms 0ms 20 4 0ms 0ms 21 4 0ms 0ms 22 4 0ms 0ms 23 4 0ms 0ms [ User: azuresu - Total duration: 9ms - Times executed: 240 ]
[ Application: [unknown] - Total duration: 9ms - Times executed: 240 ]
-
set session statement_timeout to 60000;
Date: 2025-09-17 02:54:40 Duration: 0ms Database: flexibleserverdb User: flexibleserverdb Remote: azuresu Application: 169.254.128.1 Queryid: [unknown]
-
set session statement_timeout to 60000;
Date: 2025-09-19 00:02:20 Duration: 0ms Database: flexibleserverdb User: flexibleserverdb Remote: azuresu Application: 169.254.128.1 Queryid: [unknown]
-
set session statement_timeout to 60000;
Date: 2025-09-19 20:05:19 Duration: 0ms Database: flexibleserverdb User: flexibleserverdb Remote: azuresu Application: 169.254.128.1 Queryid: [unknown]
4 16ms 4 0ms 14ms 4ms SELECT extension.name, ;Times Reported Time consuming prepare #4
Day Hour Count Duration Avg duration 10 4 16ms 4ms [ User: azuresu - Total duration: 12ms - Times executed: 4 ]
[ Application: [unknown] - Total duration: 12ms - Times executed: 4 ]
-
SELECT extension.name, ;
Date: 2025-09-17 10:00:29 Duration: 14ms Database: flexibleserverdb User: flexibleserverdb Remote: azuresu Application: 169.254.128.1 Queryid: [unknown]
-
SELECT extension.name, ;
Date: 2025-09-17 10:00:56 Duration: 1ms Database: flexibleserverdb User: flexibleserverdb Remote: azuresu Application: 169.254.128.1 Queryid: [unknown]
-
SELECT extension.name, ;
Date: 2025-09-17 10:18:04 Duration: 0ms Database: flexibleserverdb User: flexibleserverdb Remote: azuresu Application: 169.254.128.1 Queryid: [unknown]
5 15ms 1 15ms 15ms 15ms WITH init_privs AS ( ;Times Reported Time consuming prepare #5
Day Hour Count Duration Avg duration 10 1 15ms 15ms [ User: azuresu - Total duration: 6ms - Times executed: 1 ]
[ Application: [unknown] - Total duration: 6ms - Times executed: 1 ]
-
WITH init_privs AS ( ;
Date: 2025-09-17 10:00:29 Duration: 15ms Database: flexibleserverdb User: flexibleserverdb Remote: azuresu Application: 169.254.128.1 Queryid: [unknown]
6 14ms 120 0ms 0ms 0ms set session statement_timeout to 120000;Times Reported Time consuming prepare #6
Day Hour Count Duration Avg duration 00 1 0ms 0ms 01 1 0ms 0ms 02 1 0ms 0ms 03 1 0ms 0ms 04 1 0ms 0ms 05 1 0ms 0ms 06 1 0ms 0ms 07 1 0ms 0ms 08 1 0ms 0ms 09 1 0ms 0ms 10 1 0ms 0ms 11 1 0ms 0ms 12 1 0ms 0ms 13 1 0ms 0ms 14 1 0ms 0ms 15 1 0ms 0ms 16 1 0ms 0ms 17 1 0ms 0ms 18 1 0ms 0ms 19 1 0ms 0ms 20 1 0ms 0ms 21 1 0ms 0ms 22 1 0ms 0ms 23 1 0ms 0ms 00 1 0ms 0ms 01 1 0ms 0ms 02 1 0ms 0ms 03 1 0ms 0ms 04 1 0ms 0ms 05 1 0ms 0ms 06 1 0ms 0ms 07 1 0ms 0ms 08 1 0ms 0ms 09 1 0ms 0ms 10 1 0ms 0ms 11 1 0ms 0ms 12 1 0ms 0ms 13 1 0ms 0ms 14 1 0ms 0ms 15 1 0ms 0ms 16 1 0ms 0ms 17 1 0ms 0ms 18 1 0ms 0ms 19 1 0ms 0ms 20 1 0ms 0ms 21 1 0ms 0ms 22 1 0ms 0ms 23 1 0ms 0ms 00 1 0ms 0ms 01 1 0ms 0ms 02 1 0ms 0ms 03 1 0ms 0ms 04 1 0ms 0ms 05 1 0ms 0ms 06 1 0ms 0ms 07 1 0ms 0ms 08 1 0ms 0ms 09 1 0ms 0ms 10 1 0ms 0ms 11 1 0ms 0ms 12 1 0ms 0ms 13 1 0ms 0ms 14 1 0ms 0ms 15 1 0ms 0ms 16 1 0ms 0ms 17 1 0ms 0ms 18 1 0ms 0ms 19 1 0ms 0ms 20 1 0ms 0ms 21 1 0ms 0ms 22 1 0ms 0ms 23 1 0ms 0ms 00 2 0ms 0ms 01 2 0ms 0ms 02 2 0ms 0ms 03 2 0ms 0ms 04 2 0ms 0ms 05 2 0ms 0ms 06 2 0ms 0ms 07 2 0ms 0ms 08 2 0ms 0ms 09 2 0ms 0ms 10 2 0ms 0ms 11 2 0ms 0ms 12 2 0ms 0ms 13 2 0ms 0ms 14 2 0ms 0ms 15 2 0ms 0ms 16 2 0ms 0ms 17 2 0ms 0ms 18 2 0ms 0ms 19 2 0ms 0ms 20 2 0ms 0ms 21 2 0ms 0ms 22 2 0ms 0ms 23 2 0ms 0ms [ User: azuresu - Total duration: 8ms - Times executed: 120 ]
[ Application: [unknown] - Total duration: 8ms - Times executed: 120 ]
-
set session statement_timeout to 120000;
Date: 2025-09-16 09:23:40 Duration: 0ms Database: flexibleserverdb User: flexibleserverdb Remote: azuresu Application: 169.254.128.1 Queryid: [unknown]
-
set session statement_timeout to 120000;
Date: 2025-09-18 08:31:26 Duration: 0ms Database: flexibleserverdb User: flexibleserverdb Remote: azuresu Application: 169.254.128.1 Queryid: [unknown]
-
set session statement_timeout to 120000;
Date: 2025-09-16 17:24:07 Duration: 0ms Database: flexibleserverdb User: flexibleserverdb Remote: azuresu Application: 169.254.128.1 Queryid: [unknown]
7 10ms 1 10ms 10ms 10ms SELECT count(*);Times Reported Time consuming prepare #7
Day Hour Count Duration Avg duration 10 1 10ms 10ms [ User: azuresu - Total duration: 16ms - Times executed: 1 ]
[ Application: [unknown] - Total duration: 16ms - Times executed: 1 ]
-
SELECT count(*);
Date: 2025-09-17 10:00:29 Duration: 10ms Database: flexibleserverdb User: flexibleserverdb Remote: azuresu Application: 169.254.128.1 Queryid: [unknown]
8 1ms 1 1ms 1ms 1ms ;Times Reported Time consuming prepare #8
Day Hour Count Duration Avg duration 10 1 1ms 1ms [ User: azuresu - Total duration: 0ms - Times executed: 1 ]
[ Application: [unknown] - Total duration: 0ms - Times executed: 1 ]
-
;
Date: 2025-09-17 10:00:29 Duration: 1ms Database: flexibleserverdb User: flexibleserverdb Remote: azuresu Application: 169.254.128.1 Queryid: [unknown]
9 0ms 1 0ms 0ms 0ms SELECT e.extname AS name, n.nspname AS schema, current_database() as database;Times Reported Time consuming prepare #9
Day Hour Count Duration Avg duration 10 1 0ms 0ms [ User: azuresu - Total duration: 0ms - Times executed: 1 ]
[ Application: [unknown] - Total duration: 0ms - Times executed: 1 ]
-
SELECT e.extname AS name, n.nspname AS schema, current_database() as database;
Date: 2025-09-17 10:00:29 Duration: 0ms Database: flexibleserverdb User: flexibleserverdb Remote: azuresu Application: 169.254.128.1 Queryid: [unknown]
10 0ms 1 0ms 0ms 0ms SELECT pg_am.amname AS index_type, COUNT(idstat.indexrelid) AS index_count, COALESCE(SUM(idstat.idx_scan)::bigint, 0) AS total_idx_scan, pg_size_pretty(SUM(pg_relation_size(idstat.indexrelid))) AS total_indices_size FROM pg_stat_user_indexes AS idstat JOIN pg_class AS pgc ON pgc.oid = idstat.indexrelid JOIN pg_am ON pg_am.oid = pgc.relam GROUP BY pg_am.amname ORDER BY pg_am.amname;Times Reported Time consuming prepare #10
Day Hour Count Duration Avg duration 10 1 0ms 0ms [ User: azuresu - Total duration: 0ms - Times executed: 1 ]
[ Application: [unknown] - Total duration: 0ms - Times executed: 1 ]
-
SELECT pg_am.amname AS index_type, COUNT(idstat.indexrelid) AS index_count, COALESCE(SUM(idstat.idx_scan)::bigint, 0) AS total_idx_scan, pg_size_pretty(SUM(pg_relation_size(idstat.indexrelid))) AS total_indices_size FROM pg_stat_user_indexes AS idstat JOIN pg_class AS pgc ON pgc.oid = idstat.indexrelid JOIN pg_am ON pg_am.oid = pgc.relam GROUP BY pg_am.amname ORDER BY pg_am.amname;
Date: 2025-09-17 10:30:11 Duration: 0ms Database: flexibleserverdb User: flexibleserverdb Remote: azuresu Application: 169.254.128.1 Queryid: [unknown]
11 0ms 1 0ms 0ms 0ms WITH target_oids AS ( ;Times Reported Time consuming prepare #11
Day Hour Count Duration Avg duration 10 1 0ms 0ms [ User: azuresu - Total duration: 9ms - Times executed: 1 ]
[ Application: [unknown] - Total duration: 9ms - Times executed: 1 ]
-
WITH target_oids AS ( ;
Date: 2025-09-17 10:00:31 Duration: 0ms Database: flexibleserverdb User: flexibleserverdb Remote: azuresu Application: 169.254.128.1 Queryid: [unknown]
12 0ms 1 0ms 0ms 0ms SELECT extname AS name, extowner AS owner, extversion AS version, extnamespace AS schema, current_database() as database FROM pg_extension;Times Reported Time consuming prepare #12
Day Hour Count Duration Avg duration 10 1 0ms 0ms [ User: azuresu - Total duration: 0ms - Times executed: 1 ]
[ Application: [unknown] - Total duration: 0ms - Times executed: 1 ]
-
SELECT extname AS name, extowner AS owner, extversion AS version, extnamespace AS schema, current_database() as database FROM pg_extension;
Date: 2025-09-17 10:00:31 Duration: 0ms Database: flexibleserverdb User: flexibleserverdb Remote: azuresu Application: 169.254.128.1 Queryid: [unknown]
13 0ms 1 0ms 0ms 0ms GRANT EXECUTE ON FUNCTION pg_catalog.pg_stat_reset_single_table_counters(oid) TO azure_pg_admin;Times Reported Time consuming prepare #13
Day Hour Count Duration Avg duration 10 1 0ms 0ms [ User: azuresu - Total duration: 0ms - Times executed: 1 ]
[ Application: [unknown] - Total duration: 0ms - Times executed: 1 ]
-
GRANT EXECUTE ON FUNCTION pg_catalog.pg_stat_reset_single_table_counters(oid) TO azure_pg_admin;
Date: 2025-09-17 10:18:00 Duration: 0ms Database: flexibleserverdb User: flexibleserverdb Remote: azuresu Application: 169.254.128.1 Queryid: [unknown]
14 0ms 1 0ms 0ms 0ms GRANT EXECUTE ON FUNCTION pg_catalog.pg_replication_origin_drop (text) TO azure_pg_admin;Times Reported Time consuming prepare #14
Day Hour Count Duration Avg duration 10 1 0ms 0ms [ User: azuresu - Total duration: 0ms - Times executed: 1 ]
[ Application: [unknown] - Total duration: 0ms - Times executed: 1 ]
-
GRANT EXECUTE ON FUNCTION pg_catalog.pg_replication_origin_drop (text) TO azure_pg_admin;
Date: 2025-09-17 10:18:00 Duration: 0ms Database: flexibleserverdb User: flexibleserverdb Remote: azuresu Application: 169.254.128.1 Queryid: [unknown]
15 0ms 2 0ms 0ms 0ms ALTER EXTENSION "plpgsql" UPDATE;Times Reported Time consuming prepare #15
Day Hour Count Duration Avg duration 10 2 0ms 0ms [ User: azuresu - Total duration: 1ms - Times executed: 2 ]
[ Application: [unknown] - Total duration: 1ms - Times executed: 2 ]
-
ALTER EXTENSION "plpgsql" UPDATE;
Date: 2025-09-17 10:18:04 Duration: 0ms Database: flexibleserverdb User: flexibleserverdb Remote: azuresu Application: 169.254.128.1 Queryid: [unknown]
-
ALTER EXTENSION "plpgsql" UPDATE;
Date: 2025-09-17 10:00:56 Duration: 0ms Database: flexibleserverdb User: flexibleserverdb Remote: azuresu Application: 169.254.128.1 Queryid: [unknown]
16 0ms 1 0ms 0ms 0ms GRANT EXECUTE ON FUNCTION pg_catalog.pg_stat_reset_single_function_counters(oid) TO azure_pg_admin;Times Reported Time consuming prepare #16
Day Hour Count Duration Avg duration 10 1 0ms 0ms [ User: azuresu - Total duration: 0ms - Times executed: 1 ]
[ Application: [unknown] - Total duration: 0ms - Times executed: 1 ]
-
GRANT EXECUTE ON FUNCTION pg_catalog.pg_stat_reset_single_function_counters(oid) TO azure_pg_admin;
Date: 2025-09-17 10:17:59 Duration: 0ms Database: flexibleserverdb User: flexibleserverdb Remote: azuresu Application: 169.254.128.1 Queryid: [unknown]
17 0ms 1 0ms 0ms 0ms GRANT EXECUTE ON FUNCTION pg_catalog.pg_replication_origin_xact_setup (pg_lsn, timestamp with time zone) TO azure_pg_admin;Times Reported Time consuming prepare #17
Day Hour Count Duration Avg duration 10 1 0ms 0ms [ User: azuresu - Total duration: 0ms - Times executed: 1 ]
[ Application: [unknown] - Total duration: 0ms - Times executed: 1 ]
-
GRANT EXECUTE ON FUNCTION pg_catalog.pg_replication_origin_xact_setup (pg_lsn, timestamp with time zone) TO azure_pg_admin;
Date: 2025-09-17 10:18:00 Duration: 0ms Database: flexibleserverdb User: flexibleserverdb Remote: azuresu Application: 169.254.128.1 Queryid: [unknown]
18 0ms 1 0ms 0ms 0ms GRANT EXECUTE ON FUNCTION pg_catalog.pg_stat_reset_shared(text) TO azure_pg_admin;Times Reported Time consuming prepare #18
Day Hour Count Duration Avg duration 10 1 0ms 0ms [ User: azuresu - Total duration: 0ms - Times executed: 1 ]
[ Application: [unknown] - Total duration: 0ms - Times executed: 1 ]
-
GRANT EXECUTE ON FUNCTION pg_catalog.pg_stat_reset_shared(text) TO azure_pg_admin;
Date: 2025-09-17 10:18:00 Duration: 0ms Database: flexibleserverdb User: flexibleserverdb Remote: azuresu Application: 169.254.128.1 Queryid: [unknown]
19 0ms 1 0ms 0ms 0ms GRANT EXECUTE ON FUNCTION pg_catalog.pg_replication_origin_progress (text, boolean) TO azure_pg_admin;Times Reported Time consuming prepare #19
Day Hour Count Duration Avg duration 10 1 0ms 0ms [ User: azuresu - Total duration: 0ms - Times executed: 1 ]
[ Application: [unknown] - Total duration: 0ms - Times executed: 1 ]
-
GRANT EXECUTE ON FUNCTION pg_catalog.pg_replication_origin_progress (text, boolean) TO azure_pg_admin;
Date: 2025-09-17 10:18:00 Duration: 0ms Database: flexibleserverdb User: flexibleserverdb Remote: azuresu Application: 169.254.128.1 Queryid: [unknown]
20 0ms 1 0ms 0ms 0ms GRANT EXECUTE ON FUNCTION pg_catalog.pg_replication_origin_session_setup (text) TO azure_pg_admin;Times Reported Time consuming prepare #20
Day Hour Count Duration Avg duration 10 1 0ms 0ms [ User: azuresu - Total duration: 0ms - Times executed: 1 ]
[ Application: [unknown] - Total duration: 0ms - Times executed: 1 ]
-
GRANT EXECUTE ON FUNCTION pg_catalog.pg_replication_origin_session_setup (text) TO azure_pg_admin;
Date: 2025-09-17 10:18:00 Duration: 0ms Database: flexibleserverdb User: flexibleserverdb 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 854ms 239 1ms 37ms 3ms 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 #1
Day Hour Count Duration Avg duration Sep 19 02 2 4ms 2ms 03 2 3ms 1ms 04 2 4ms 2ms 05 2 4ms 2ms 06 2 4ms 2ms 07 2 3ms 1ms 08 2 23ms 11ms 09 2 20ms 10ms 10 2 4ms 2ms 11 2 4ms 2ms 12 2 4ms 2ms 13 2 4ms 2ms 14 2 3ms 1ms 15 2 3ms 1ms 16 2 4ms 2ms 17 2 4ms 2ms 18 2 3ms 1ms 19 2 4ms 2ms 20 2 4ms 2ms 21 2 4ms 2ms 22 2 4ms 2ms 23 2 4ms 2ms 00 2 4ms 2ms 01 2 4ms 2ms Sep 19 02 2 3ms 1ms 03 2 4ms 2ms 04 2 4ms 2ms 05 2 4ms 2ms 06 2 4ms 2ms 07 2 3ms 1ms 08 2 24ms 12ms 09 2 23ms 11ms 10 2 4ms 2ms 11 2 5ms 2ms 12 1 1ms 1ms 13 2 4ms 2ms 14 2 4ms 2ms 15 2 3ms 1ms 16 2 4ms 2ms 17 2 4ms 2ms 18 2 3ms 1ms 19 2 3ms 1ms 20 2 3ms 1ms 21 2 3ms 1ms 22 2 4ms 2ms 23 2 4ms 2ms 00 2 3ms 1ms 01 2 3ms 1ms Sep 19 02 2 4ms 2ms 03 2 4ms 2ms 04 2 3ms 1ms 05 2 3ms 1ms 06 2 3ms 1ms 07 2 4ms 2ms 08 2 3ms 1ms 09 2 4ms 2ms 10 2 3ms 1ms 11 2 17ms 8ms 12 2 28ms 14ms 13 2 4ms 2ms 14 2 4ms 2ms 15 2 4ms 2ms 16 2 4ms 2ms 17 2 4ms 2ms 18 2 3ms 1ms 19 2 4ms 2ms 20 2 3ms 1ms 21 2 4ms 2ms 22 2 4ms 2ms 23 2 3ms 1ms 00 2 4ms 2ms 01 2 5ms 2ms Sep 19 02 4 8ms 2ms 03 4 8ms 2ms 04 4 7ms 1ms 05 4 9ms 2ms 06 4 8ms 2ms 07 4 8ms 2ms 08 4 48ms 12ms 09 4 51ms 12ms 10 4 8ms 2ms 11 4 8ms 2ms 12 4 7ms 1ms 13 4 105ms 26ms 14 4 8ms 2ms 15 4 7ms 1ms 16 4 8ms 2ms 17 4 41ms 10ms 18 4 8ms 2ms 19 4 8ms 2ms 20 4 40ms 10ms 21 4 8ms 2ms 22 4 8ms 2ms 23 4 8ms 2ms 00 4 7ms 1ms 01 4 8ms 2ms [ User: azuresu - Total duration: 254ms - Times executed: 239 ]
[ Application: [unknown] - Total duration: 254ms - Times executed: 239 ]
-
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-19 11:04:47 Duration: 37ms Database: flexibleserverdb User: flexibleserverdb 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-19 07:02:45 Duration: 23ms Database: flexibleserverdb User: flexibleserverdb 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 06:54:54 Duration: 22ms Database: flexibleserverdb User: flexibleserverdb Remote: azuresu Application: 169.254.128.1 Queryid: [unknown]
2 149ms 120 0ms 8ms 1ms SELECT extname, extowner, extnamespace, extrelocatable, extversion, extconfig, extcondition FROM pg_catalog.pg_extension;Times Reported Time consuming bind #2
Day Hour Count Duration Avg duration 00 1 0ms 0ms 01 1 0ms 0ms 02 1 0ms 0ms 03 1 0ms 0ms 04 1 1ms 1ms 05 1 0ms 0ms 06 1 0ms 0ms 07 1 8ms 8ms 08 1 0ms 0ms 09 1 0ms 0ms 10 1 0ms 0ms 11 1 0ms 0ms 12 1 0ms 0ms 13 1 0ms 0ms 14 1 0ms 0ms 15 1 0ms 0ms 16 1 0ms 0ms 17 1 0ms 0ms 18 1 0ms 0ms 19 1 0ms 0ms 20 1 0ms 0ms 21 1 0ms 0ms 22 1 0ms 0ms 23 1 0ms 0ms 00 1 0ms 0ms 01 1 0ms 0ms 02 1 1ms 1ms 03 1 0ms 0ms 04 1 0ms 0ms 05 1 0ms 0ms 06 1 0ms 0ms 07 1 6ms 6ms 08 1 0ms 0ms 09 1 0ms 0ms 10 1 0ms 0ms 11 1 0ms 0ms 12 1 0ms 0ms 13 1 0ms 0ms 14 1 0ms 0ms 15 1 0ms 0ms 16 1 0ms 0ms 17 1 0ms 0ms 18 1 0ms 0ms 19 1 0ms 0ms 20 1 0ms 0ms 21 1 0ms 0ms 22 1 0ms 0ms 23 1 0ms 0ms 00 1 0ms 0ms 01 1 0ms 0ms 02 1 0ms 0ms 03 1 0ms 0ms 04 1 0ms 0ms 05 1 0ms 0ms 06 1 0ms 0ms 07 1 0ms 0ms 08 1 0ms 0ms 09 1 7ms 7ms 10 1 4ms 4ms 11 1 0ms 0ms 12 1 0ms 0ms 13 1 0ms 0ms 14 1 0ms 0ms 15 1 0ms 0ms 16 1 1ms 1ms 17 1 0ms 0ms 18 1 0ms 0ms 19 1 0ms 0ms 20 1 0ms 0ms 21 1 0ms 0ms 22 1 0ms 0ms 23 1 0ms 0ms 00 2 1ms 0ms 01 2 1ms 0ms 02 2 1ms 0ms 03 2 1ms 0ms 04 2 1ms 0ms 05 2 1ms 0ms 06 2 14ms 7ms 07 2 7ms 3ms 08 2 1ms 0ms 09 2 1ms 0ms 10 2 0ms 0ms 11 2 8ms 4ms 12 2 0ms 0ms 13 2 1ms 0ms 14 2 0ms 0ms 15 2 16ms 8ms 16 2 1ms 0ms 17 2 1ms 0ms 18 2 5ms 2ms 19 2 1ms 0ms 20 2 1ms 0ms 21 2 1ms 0ms 22 2 1ms 0ms 23 2 1ms 0ms [ User: azuresu - Total duration: 14ms - Times executed: 120 ]
[ Application: [unknown] - Total duration: 14ms - Times executed: 120 ]
-
SELECT extname, extowner, extnamespace, extrelocatable, extversion, extconfig, extcondition FROM pg_catalog.pg_extension;
Date: 2025-09-16 07:23:33 Duration: 8ms Database: flexibleserverdb User: flexibleserverdb Remote: azuresu Application: 169.254.128.1 Queryid: [unknown]
-
SELECT extname, extowner, extnamespace, extrelocatable, extversion, extconfig, extcondition FROM pg_catalog.pg_extension;
Date: 2025-09-19 15:35:03 Duration: 8ms Database: flexibleserverdb User: flexibleserverdb Remote: azuresu Application: 169.254.128.1 Queryid: [unknown]
-
SELECT extname, extowner, extnamespace, extrelocatable, extversion, extconfig, extcondition FROM pg_catalog.pg_extension;
Date: 2025-09-18 09:31:30 Duration: 7ms Database: flexibleserverdb User: flexibleserverdb Remote: azuresu Application: 169.254.128.1 Queryid: [unknown]
3 19ms 1 19ms 19ms 19ms WITH init_privs AS ( ;Times Reported Time consuming bind #3
Day Hour Count Duration Avg duration 10 1 19ms 19ms [ User: azuresu - Total duration: 6ms - Times executed: 1 ]
[ Application: [unknown] - Total duration: 6ms - Times executed: 1 ]
-
WITH init_privs AS ( ;
Date: 2025-09-17 10:00:29 Duration: 19ms Database: flexibleserverdb User: flexibleserverdb Remote: azuresu Application: 169.254.128.1 Queryid: [unknown]
4 19ms 1 19ms 19ms 19ms WITH target_oids AS ( ;Times Reported Time consuming bind #4
Day Hour Count Duration Avg duration 10 1 19ms 19ms [ User: azuresu - Total duration: 9ms - Times executed: 1 ]
[ Application: [unknown] - Total duration: 9ms - Times executed: 1 ]
-
WITH target_oids AS ( ;
Date: 2025-09-17 10:00:31 Duration: 19ms Database: flexibleserverdb User: flexibleserverdb Remote: azuresu Application: 169.254.128.1 Queryid: [unknown]
5 12ms 1 12ms 12ms 12ms SELECT e.extname AS name, n.nspname AS schema, current_database() as database;Times Reported Time consuming bind #5
Day Hour Count Duration Avg duration 10 1 12ms 12ms [ User: azuresu - Total duration: 0ms - Times executed: 1 ]
[ Application: [unknown] - Total duration: 0ms - Times executed: 1 ]
-
SELECT e.extname AS name, n.nspname AS schema, current_database() as database;
Date: 2025-09-17 10:00:29 Duration: 12ms Database: flexibleserverdb User: flexibleserverdb Remote: azuresu Application: 169.254.128.1 Queryid: [unknown]
6 6ms 1 6ms 6ms 6ms SELECT count(*);Times Reported Time consuming bind #6
Day Hour Count Duration Avg duration 10 1 6ms 6ms [ User: azuresu - Total duration: 16ms - Times executed: 1 ]
[ Application: [unknown] - Total duration: 16ms - Times executed: 1 ]
-
SELECT count(*);
Date: 2025-09-17 10:00:29 Duration: 6ms Database: flexibleserverdb User: flexibleserverdb Remote: azuresu Application: 169.254.128.1 Queryid: [unknown]
7 2ms 1 2ms 2ms 2ms ;Times Reported Time consuming bind #7
Day Hour Count Duration Avg duration 10 1 2ms 2ms [ User: azuresu - Total duration: 0ms - Times executed: 1 ]
[ Application: [unknown] - Total duration: 0ms - Times executed: 1 ]
-
;
Date: 2025-09-17 10:00:29 Duration: 2ms Database: flexibleserverdb User: flexibleserverdb Remote: azuresu Application: 169.254.128.1 Queryid: [unknown]
8 2ms 240 0ms 0ms 0ms set session statement_timeout to 60000;Times Reported Time consuming bind #8
Day Hour Count Duration Avg duration 00 2 0ms 0ms 01 2 0ms 0ms 02 2 0ms 0ms 03 2 0ms 0ms 04 2 0ms 0ms 05 2 0ms 0ms 06 2 0ms 0ms 07 2 0ms 0ms 08 2 0ms 0ms 09 2 0ms 0ms 10 2 0ms 0ms 11 2 0ms 0ms 12 2 0ms 0ms 13 2 0ms 0ms 14 2 0ms 0ms 15 2 0ms 0ms 16 2 0ms 0ms 17 2 0ms 0ms 18 2 0ms 0ms 19 2 0ms 0ms 20 2 0ms 0ms 21 2 0ms 0ms 22 2 0ms 0ms 23 2 0ms 0ms 00 2 0ms 0ms 01 2 0ms 0ms 02 2 0ms 0ms 03 2 0ms 0ms 04 2 0ms 0ms 05 2 0ms 0ms 06 2 0ms 0ms 07 2 0ms 0ms 08 2 0ms 0ms 09 2 0ms 0ms 10 2 0ms 0ms 11 2 0ms 0ms 12 2 0ms 0ms 13 2 0ms 0ms 14 2 0ms 0ms 15 2 0ms 0ms 16 2 0ms 0ms 17 2 0ms 0ms 18 2 0ms 0ms 19 2 0ms 0ms 20 2 0ms 0ms 21 2 0ms 0ms 22 2 0ms 0ms 23 2 0ms 0ms 00 2 0ms 0ms 01 2 0ms 0ms 02 2 0ms 0ms 03 2 0ms 0ms 04 2 0ms 0ms 05 2 0ms 0ms 06 2 0ms 0ms 07 2 0ms 0ms 08 2 0ms 0ms 09 2 0ms 0ms 10 2 0ms 0ms 11 2 0ms 0ms 12 2 0ms 0ms 13 2 0ms 0ms 14 2 0ms 0ms 15 2 0ms 0ms 16 2 0ms 0ms 17 2 0ms 0ms 18 2 0ms 0ms 19 2 0ms 0ms 20 2 0ms 0ms 21 2 0ms 0ms 22 2 0ms 0ms 23 2 0ms 0ms 00 4 0ms 0ms 01 4 0ms 0ms 02 4 0ms 0ms 03 4 0ms 0ms 04 4 0ms 0ms 05 4 0ms 0ms 06 4 0ms 0ms 07 4 0ms 0ms 08 4 0ms 0ms 09 4 0ms 0ms 10 4 0ms 0ms 11 4 0ms 0ms 12 4 0ms 0ms 13 4 0ms 0ms 14 4 0ms 0ms 15 4 0ms 0ms 16 4 0ms 0ms 17 4 0ms 0ms 18 4 0ms 0ms 19 4 0ms 0ms 20 4 0ms 0ms 21 4 0ms 0ms 22 4 0ms 0ms 23 4 0ms 0ms [ User: azuresu - Total duration: 9ms - Times executed: 240 ]
[ Application: [unknown] - Total duration: 9ms - Times executed: 240 ]
-
set session statement_timeout to 60000;
Date: 2025-09-19 02:02:26 Duration: 0ms Database: flexibleserverdb User: flexibleserverdb Remote: azuresu Application: 169.254.128.1 Queryid: [unknown]
-
set session statement_timeout to 60000;
Date: 2025-09-18 06:31:19 Duration: 0ms Database: flexibleserverdb User: flexibleserverdb Remote: azuresu Application: 169.254.128.1 Queryid: [unknown]
-
set session statement_timeout to 60000;
Date: 2025-09-17 09:55:05 Duration: 0ms Database: flexibleserverdb User: flexibleserverdb Remote: azuresu Application: 169.254.128.1 Queryid: [unknown]
9 2ms 4 0ms 0ms 0ms SELECT extension.name, ;Times Reported Time consuming bind #9
Day Hour Count Duration Avg duration 10 4 2ms 0ms [ User: azuresu - Total duration: 12ms - Times executed: 4 ]
[ Application: [unknown] - Total duration: 12ms - Times executed: 4 ]
-
SELECT extension.name, ;
Date: 2025-09-17 10:00:56 Duration: 0ms Database: flexibleserverdb User: flexibleserverdb Remote: azuresu Application: 169.254.128.1 Queryid: [unknown]
-
SELECT extension.name, ;
Date: 2025-09-17 10:18:04 Duration: 0ms Database: flexibleserverdb User: flexibleserverdb Remote: azuresu Application: 169.254.128.1 Queryid: [unknown]
-
SELECT extension.name, ;
Date: 2025-09-17 10:00:29 Duration: 0ms Database: flexibleserverdb User: flexibleserverdb Remote: azuresu Application: 169.254.128.1 Queryid: [unknown]
10 2ms 1 2ms 2ms 2ms SELECT pg_am.amname AS index_type, COUNT(idstat.indexrelid) AS index_count, COALESCE(SUM(idstat.idx_scan)::bigint, 0) AS total_idx_scan, pg_size_pretty(SUM(pg_relation_size(idstat.indexrelid))) AS total_indices_size FROM pg_stat_user_indexes AS idstat JOIN pg_class AS pgc ON pgc.oid = idstat.indexrelid JOIN pg_am ON pg_am.oid = pgc.relam GROUP BY pg_am.amname ORDER BY pg_am.amname;Times Reported Time consuming bind #10
Day Hour Count Duration Avg duration 10 1 2ms 2ms [ User: azuresu - Total duration: 0ms - Times executed: 1 ]
[ Application: [unknown] - Total duration: 0ms - Times executed: 1 ]
-
SELECT pg_am.amname AS index_type, COUNT(idstat.indexrelid) AS index_count, COALESCE(SUM(idstat.idx_scan)::bigint, 0) AS total_idx_scan, pg_size_pretty(SUM(pg_relation_size(idstat.indexrelid))) AS total_indices_size FROM pg_stat_user_indexes AS idstat JOIN pg_class AS pgc ON pgc.oid = idstat.indexrelid JOIN pg_am ON pg_am.oid = pgc.relam GROUP BY pg_am.amname ORDER BY pg_am.amname;
Date: 2025-09-17 10:30:11 Duration: 2ms Database: flexibleserverdb User: flexibleserverdb Remote: azuresu Application: 169.254.128.1 Queryid: [unknown]
11 1ms 120 0ms 0ms 0ms set session statement_timeout to 120000;Times Reported Time consuming bind #11
Day Hour Count Duration Avg duration 00 1 0ms 0ms 01 1 0ms 0ms 02 1 0ms 0ms 03 1 0ms 0ms 04 1 0ms 0ms 05 1 0ms 0ms 06 1 0ms 0ms 07 1 0ms 0ms 08 1 0ms 0ms 09 1 0ms 0ms 10 1 0ms 0ms 11 1 0ms 0ms 12 1 0ms 0ms 13 1 0ms 0ms 14 1 0ms 0ms 15 1 0ms 0ms 16 1 0ms 0ms 17 1 0ms 0ms 18 1 0ms 0ms 19 1 0ms 0ms 20 1 0ms 0ms 21 1 0ms 0ms 22 1 0ms 0ms 23 1 0ms 0ms 00 1 0ms 0ms 01 1 0ms 0ms 02 1 0ms 0ms 03 1 0ms 0ms 04 1 0ms 0ms 05 1 0ms 0ms 06 1 0ms 0ms 07 1 0ms 0ms 08 1 0ms 0ms 09 1 0ms 0ms 10 1 0ms 0ms 11 1 0ms 0ms 12 1 0ms 0ms 13 1 0ms 0ms 14 1 0ms 0ms 15 1 0ms 0ms 16 1 0ms 0ms 17 1 0ms 0ms 18 1 0ms 0ms 19 1 0ms 0ms 20 1 0ms 0ms 21 1 0ms 0ms 22 1 0ms 0ms 23 1 0ms 0ms 00 1 0ms 0ms 01 1 0ms 0ms 02 1 0ms 0ms 03 1 0ms 0ms 04 1 0ms 0ms 05 1 0ms 0ms 06 1 0ms 0ms 07 1 0ms 0ms 08 1 0ms 0ms 09 1 0ms 0ms 10 1 0ms 0ms 11 1 0ms 0ms 12 1 0ms 0ms 13 1 0ms 0ms 14 1 0ms 0ms 15 1 0ms 0ms 16 1 0ms 0ms 17 1 0ms 0ms 18 1 0ms 0ms 19 1 0ms 0ms 20 1 0ms 0ms 21 1 0ms 0ms 22 1 0ms 0ms 23 1 0ms 0ms 00 2 0ms 0ms 01 2 0ms 0ms 02 2 0ms 0ms 03 2 0ms 0ms 04 2 0ms 0ms 05 2 0ms 0ms 06 2 0ms 0ms 07 2 0ms 0ms 08 2 0ms 0ms 09 2 0ms 0ms 10 2 0ms 0ms 11 2 0ms 0ms 12 2 0ms 0ms 13 2 0ms 0ms 14 2 0ms 0ms 15 2 0ms 0ms 16 2 0ms 0ms 17 2 0ms 0ms 18 2 0ms 0ms 19 2 0ms 0ms 20 2 0ms 0ms 21 2 0ms 0ms 22 2 0ms 0ms 23 2 0ms 0ms [ User: azuresu - Total duration: 8ms - Times executed: 120 ]
[ Application: [unknown] - Total duration: 8ms - Times executed: 120 ]
-
set session statement_timeout to 120000;
Date: 2025-09-16 06:23:30 Duration: 0ms Database: flexibleserverdb User: flexibleserverdb Remote: azuresu Application: 169.254.128.1 Queryid: [unknown]
-
set session statement_timeout to 120000;
Date: 2025-09-18 06:31:19 Duration: 0ms Database: flexibleserverdb User: flexibleserverdb Remote: azuresu Application: 169.254.128.1 Queryid: [unknown]
-
set session statement_timeout to 120000;
Date: 2025-09-19 21:35:24 Duration: 0ms Database: flexibleserverdb User: flexibleserverdb Remote: azuresu Application: 169.254.128.1 Queryid: [unknown]
12 0ms 1 0ms 0ms 0ms SELECT extname AS name, extowner AS owner, extversion AS version, extnamespace AS schema, current_database() as database FROM pg_extension;Times Reported Time consuming bind #12
Day Hour Count Duration Avg duration 10 1 0ms 0ms [ User: azuresu - Total duration: 0ms - Times executed: 1 ]
[ Application: [unknown] - Total duration: 0ms - Times executed: 1 ]
-
SELECT extname AS name, extowner AS owner, extversion AS version, extnamespace AS schema, current_database() as database FROM pg_extension;
Date: 2025-09-17 10:00:31 Duration: 0ms Database: flexibleserverdb User: flexibleserverdb Remote: azuresu Application: 169.254.128.1 Queryid: [unknown]
13 0ms 2 0ms 0ms 0ms ALTER EXTENSION "plpgsql" UPDATE;Times Reported Time consuming bind #13
Day Hour Count Duration Avg duration 10 2 0ms 0ms [ User: azuresu - Total duration: 1ms - Times executed: 2 ]
[ Application: [unknown] - Total duration: 1ms - Times executed: 2 ]
-
ALTER EXTENSION "plpgsql" UPDATE;
Date: 2025-09-17 10:00:56 Duration: 0ms Database: flexibleserverdb User: flexibleserverdb Remote: azuresu Application: 169.254.128.1 Queryid: [unknown]
-
ALTER EXTENSION "plpgsql" UPDATE;
Date: 2025-09-17 10:18:04 Duration: 0ms Database: flexibleserverdb User: flexibleserverdb Remote: azuresu Application: 169.254.128.1 Queryid: [unknown]
14 0ms 1 0ms 0ms 0ms GRANT EXECUTE ON FUNCTION pg_catalog.pg_replication_origin_xact_setup (pg_lsn, timestamp with time zone) TO azure_pg_admin;Times Reported Time consuming bind #14
Day Hour Count Duration Avg duration 10 1 0ms 0ms [ User: azuresu - Total duration: 0ms - Times executed: 1 ]
[ Application: [unknown] - Total duration: 0ms - Times executed: 1 ]
-
GRANT EXECUTE ON FUNCTION pg_catalog.pg_replication_origin_xact_setup (pg_lsn, timestamp with time zone) TO azure_pg_admin;
Date: 2025-09-17 10:18:00 Duration: 0ms Database: flexibleserverdb User: flexibleserverdb Remote: azuresu Application: 169.254.128.1 Queryid: [unknown]
15 0ms 1 0ms 0ms 0ms GRANT EXECUTE ON FUNCTION pg_catalog.pg_stat_reset_shared(text) TO azure_pg_admin;Times Reported Time consuming bind #15
Day Hour Count Duration Avg duration 10 1 0ms 0ms [ User: azuresu - Total duration: 0ms - Times executed: 1 ]
[ Application: [unknown] - Total duration: 0ms - Times executed: 1 ]
-
GRANT EXECUTE ON FUNCTION pg_catalog.pg_stat_reset_shared(text) TO azure_pg_admin;
Date: 2025-09-17 10:18:00 Duration: 0ms Database: flexibleserverdb User: flexibleserverdb Remote: azuresu Application: 169.254.128.1 Queryid: [unknown]
16 0ms 1 0ms 0ms 0ms GRANT EXECUTE ON FUNCTION pg_catalog.pg_replication_origin_oid (text) TO azure_pg_admin;Times Reported Time consuming bind #16
Day Hour Count Duration Avg duration 10 1 0ms 0ms [ User: azuresu - Total duration: 0ms - Times executed: 1 ]
[ Application: [unknown] - Total duration: 0ms - Times executed: 1 ]
-
GRANT EXECUTE ON FUNCTION pg_catalog.pg_replication_origin_oid (text) TO azure_pg_admin;
Date: 2025-09-17 10:18:00 Duration: 0ms Database: flexibleserverdb User: flexibleserverdb Remote: azuresu Application: 169.254.128.1 Queryid: [unknown]
17 0ms 1 0ms 0ms 0ms GRANT EXECUTE ON FUNCTION pg_catalog.pg_stat_reset_single_table_counters(oid) TO azure_pg_admin;Times Reported Time consuming bind #17
Day Hour Count Duration Avg duration 10 1 0ms 0ms [ User: azuresu - Total duration: 0ms - Times executed: 1 ]
[ Application: [unknown] - Total duration: 0ms - Times executed: 1 ]
-
GRANT EXECUTE ON FUNCTION pg_catalog.pg_stat_reset_single_table_counters(oid) TO azure_pg_admin;
Date: 2025-09-17 10:18:00 Duration: 0ms Database: flexibleserverdb User: flexibleserverdb Remote: azuresu Application: 169.254.128.1 Queryid: [unknown]
18 0ms 1 0ms 0ms 0ms GRANT EXECUTE ON FUNCTION pg_catalog.pg_show_replication_origin_status () TO azure_pg_admin;Times Reported Time consuming bind #18
Day Hour Count Duration Avg duration 10 1 0ms 0ms [ User: azuresu - Total duration: 3ms - Times executed: 1 ]
[ Application: [unknown] - Total duration: 3ms - Times executed: 1 ]
-
GRANT EXECUTE ON FUNCTION pg_catalog.pg_show_replication_origin_status () TO azure_pg_admin;
Date: 2025-09-17 10:18:00 Duration: 0ms Database: flexibleserverdb User: flexibleserverdb Remote: azuresu Application: 169.254.128.1 Queryid: [unknown]
19 0ms 1 0ms 0ms 0ms GRANT EXECUTE ON FUNCTION pg_catalog.pg_replication_origin_advance (text, pg_lsn) TO azure_pg_admin;Times Reported Time consuming bind #19
Day Hour Count Duration Avg duration 10 1 0ms 0ms [ User: azuresu - Total duration: 0ms - Times executed: 1 ]
[ Application: [unknown] - Total duration: 0ms - Times executed: 1 ]
-
GRANT EXECUTE ON FUNCTION pg_catalog.pg_replication_origin_advance (text, pg_lsn) TO azure_pg_admin;
Date: 2025-09-17 10:18:00 Duration: 0ms Database: flexibleserverdb User: flexibleserverdb Remote: azuresu Application: 169.254.128.1 Queryid: [unknown]
20 0ms 1 0ms 0ms 0ms GRANT EXECUTE ON FUNCTION pg_catalog.pg_replication_origin_progress (text, boolean) TO azure_pg_admin;Times Reported Time consuming bind #20
Day Hour Count Duration Avg duration 10 1 0ms 0ms [ User: azuresu - Total duration: 0ms - Times executed: 1 ]
[ Application: [unknown] - Total duration: 0ms - Times executed: 1 ]
-
GRANT EXECUTE ON FUNCTION pg_catalog.pg_replication_origin_progress (text, boolean) TO azure_pg_admin;
Date: 2025-09-17 10:18:00 Duration: 0ms Database: flexibleserverdb User: flexibleserverdb Remote: azuresu Application: 169.254.128.1 Queryid: [unknown]
-
Events
Events distribution
Key values
- 0 PANIC entries
- 0 FATAL entries
- 1 ERROR entries
- 0 WARNING entries
Most Frequent Errors/Events
Key values
- 1 Max number of times the same event was reported
- 1 Total events found
Rank Times reported Error 1 1 ERROR: syntax error at or near "..."
Times Reported Most Frequent Error / Event #1
Day Hour Count Sep 17 12 1