-
Global information
- Generated on Mon Jun 15 06:05:37 2026
- Log file: /var/log/postgresql/postgresql-2026-05-13_000000.csv, ..., /var/log/postgresql/postgresql-2026-06-15_000000.csv
- Parsed 190,159 log entries in 5m36s
- Log start from 2026-06-04 00:00:01 to 2026-06-04 23:59:03
-
Overview
Global Stats
- 24 Number of unique normalized queries
- 24,507 Number of queries
- 1d12h49m49s Total query duration
- 2026-06-04 00:00:01 First query
- 2026-06-04 23:59:01 Last query
- 18 queries/s at 2026-06-04 18:04:01 Query peak
- 1d12h49m49s Total query duration
- 0ms Prepare/parse total duration
- 0ms Bind total duration
- 1d12h49m49s Execute total duration
- 6 Number of events
- 2 Number of unique normalized events
- 3 Max number of times the same event was reported
- 0 Number of cancellation
- 9 Total number of automatic vacuums
- 4 Total number of automatic analyzes
- 0 Number temporary file
- 0 Max size of temporary file
- 0.00 B Average size of temporary file
- 14,430 Total number of sessions
- 5 sessions at 2026-06-04 16:41:43 Session peak
- 59m48s Total duration of sessions
- 248ms Average duration of sessions
- 1 Average queries per session
- 9s188ms Average queries duration per session
- 0ms Average idle time per session
- 14,430 Total number of connections
- 29 connections/s at 2026-06-04 20:58:37 Connection peak
- 2 Total number of databases
SQL Traffic
Key values
- 18 queries/s Query Peak
- 2026-06-04 18:04:01 Date
SELECT Traffic
Key values
- 0 queries/s Query Peak
- Date
INSERT/UPDATE/DELETE Traffic
Key values
- 18 queries/s Query Peak
- 2026-06-04 18:04:01 Date
Queries duration
Key values
- 1d12h49m49s 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) Jun 04 00 1,020 0ms 0ms 0ms 0ms 0ms 0ms 01 1,021 0ms 1s16ms 491ms 17s285ms 17s285ms 17s285ms 02 1,020 1s16ms 1s16ms 1s16ms 17s285ms 17s285ms 17s285ms 03 1,020 1s16ms 1s16ms 1s16ms 17s285ms 17s285ms 17s285ms 04 1,020 1s16ms 1s16ms 1s16ms 17s285ms 17s285ms 17s285ms 05 1,020 1s16ms 1s16ms 1s16ms 17s285ms 17s285ms 17s285ms 06 1,020 1s16ms 1s16ms 1s16ms 17s285ms 17s285ms 17s285ms 07 1,020 1s16ms 1s16ms 1s16ms 17s285ms 17s285ms 17s285ms 08 1,020 1s16ms 1s16ms 1s16ms 17s285ms 17s285ms 17s285ms 09 1,020 1s16ms 1s16ms 1s16ms 17s285ms 17s285ms 17s285ms 10 1,020 1s16ms 1s16ms 1s16ms 17s285ms 17s285ms 17s285ms 11 1,021 1s16ms 12s292ms 8s349ms 3m28s 3m28s 3m41s 12 1,023 1s 12s292ms 11s233ms 3m28s 3m28s 3m28s 13 1,020 1s 1s 1s 17s8ms 17s8ms 17s8ms 14 1,020 1s 1s 1s 17s8ms 17s8ms 17s8ms 15 1,021 1s 12s219ms 1s758ms 17s8ms 3m27s 3m27s 16 1,026 12s120ms 12s284ms 12s212ms 3m38s 3m40s 3m41s 17 1,026 12s170ms 12s272ms 12s216ms 3m39s 3m40s 3m40s 18 1,021 12s184ms 12s254ms 12s249ms 3m28s 3m28s 3m40s 19 1,020 12s254ms 12s254ms 12s254ms 3m28s 3m28s 3m28s 20 1,021 12s120ms 12s254ms 12s252ms 3m28s 3m28s 3m40s 21 1,022 12s89ms 12s201ms 12s113ms 3m27s 3m27s 3m39s 22 1,020 12s89ms 12s89ms 12s89ms 3m25s 3m25s 3m25s 23 1,025 546ms 12s89ms 11s325ms 3m25s 3m25s 3m32s Day Hour SELECT COPY TO Average Duration Latency Percentile(90) Latency Percentile(95) Latency Percentile(99) Jun 04 00 0 0 0ms 0ms 0ms 0ms 01 0 0 0ms 0ms 0ms 0ms 02 0 0 0ms 0ms 0ms 0ms 03 0 0 0ms 0ms 0ms 0ms 04 0 0 0ms 0ms 0ms 0ms 05 0 0 0ms 0ms 0ms 0ms 06 0 0 0ms 0ms 0ms 0ms 07 0 0 0ms 0ms 0ms 0ms 08 0 0 0ms 0ms 0ms 0ms 09 0 0 0ms 0ms 0ms 0ms 10 0 0 0ms 0ms 0ms 0ms 11 0 0 0ms 0ms 0ms 0ms 12 0 0 0ms 0ms 0ms 0ms 13 0 0 0ms 0ms 0ms 0ms 14 0 0 0ms 0ms 0ms 0ms 15 0 0 0ms 0ms 0ms 0ms 16 0 0 0ms 0ms 0ms 0ms 17 0 0 0ms 0ms 0ms 0ms 18 0 0 0ms 0ms 0ms 0ms 19 0 0 0ms 0ms 0ms 0ms 20 0 0 0ms 0ms 0ms 0ms 21 0 0 0ms 0ms 0ms 0ms 22 0 0 0ms 0ms 0ms 0ms 23 0 5 1s299ms 0ms 0ms 0ms Day Hour INSERT UPDATE DELETE COPY FROM Average Duration Latency Percentile(90) Latency Percentile(95) Latency Percentile(99) Jun 04 00 0 0 0 0 0ms 0ms 0ms 0ms 01 0 1 0 0 1s16ms 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 Jun 04 00 0 0 0.00 0.00% 01 0 0 0.00 0.00% 02 0 0 0.00 0.00% 03 0 0 0.00 0.00% 04 0 0 0.00 0.00% 05 0 0 0.00 0.00% 06 0 0 0.00 0.00% 07 0 0 0.00 0.00% 08 0 0 0.00 0.00% 09 0 0 0.00 0.00% 10 0 0 0.00 0.00% 11 0 1 1.00 0.00% 12 0 0 0.00 0.00% 13 0 0 0.00 0.00% 14 0 0 0.00 0.00% 15 0 1 1.00 0.00% 16 0 6 6.00 0.00% 17 0 6 6.00 0.00% 18 0 1 1.00 0.00% 19 0 0 0.00 0.00% 20 0 1 1.00 0.00% 21 0 2 2.00 0.00% 22 0 0 0.00 0.00% 23 0 0 0.00 0.00% Day Hour Count Average / Second Jun 04 00 543 0.15/s 01 546 0.15/s 02 543 0.15/s 03 543 0.15/s 04 543 0.15/s 05 543 0.15/s 06 543 0.15/s 07 546 0.15/s 08 543 0.15/s 09 543 0.15/s 10 543 0.15/s 11 596 0.17/s 12 553 0.15/s 13 551 0.15/s 14 694 0.19/s 15 601 0.17/s 16 969 0.27/s 17 912 0.25/s 18 630 0.17/s 19 546 0.15/s 20 588 0.16/s 21 719 0.20/s 22 543 0.15/s 23 549 0.15/s Day Hour Count Average Duration Average idle time Jun 04 00 543 252ms 252ms 01 546 254ms 0ms 02 543 255ms 0ms 03 543 252ms 0ms 04 543 247ms 0ms 05 543 246ms 0ms 06 543 246ms 0ms 07 546 245ms 0ms 08 543 246ms 0ms 09 543 246ms 0ms 10 543 245ms 0ms 11 596 249ms 0ms 12 553 245ms 0ms 13 551 239ms 0ms 14 694 235ms 0ms 15 601 247ms 0ms 16 969 253ms 0ms 17 912 264ms 0ms 18 630 241ms 0ms 19 546 242ms 0ms 20 588 251ms 0ms 21 719 242ms 0ms 22 543 245ms 0ms 23 549 261ms 0ms -
Connections
Established Connections
Key values
- 29 connections Connection Peak
- 2026-06-04 20:58:37 Date
Connections per database
Key values
- zemm_monitoring Main Database
- 14,430 connections Total
Connections per user
Key values
- labanimal Main User
- 14,430 connections Total
-
Sessions
Simultaneous sessions
Key values
- 5 sessions Session Peak
- 2026-06-04 16:41:43 Date
Histogram of session times
Key values
- 12,869 0-500ms duration
Sessions per database
Key values
- zemm_monitoring Main Database
- 14,430 sessions Total
Sessions per user
Key values
- labanimal Main User
- 14,430 sessions Total
Sessions per host
Key values
- ::1 Main Host
- 14,430 sessions Total
Sessions per application
Key values
- Main Application
- 14,430 sessions Total
Application Count Total Duration Average Duration 12,862 58m34s 273ms _desktop__zemm_produktiv_8_localhost_5432 1 63ms 63ms _desktop_index.php_command_animals_subcommand_init_zemm_produkt 5 191ms 38ms _desktop_index.php_command_login_subcommand_init_zemm_produktiv 1,460 42s965ms 29ms _desktop_index.php_command_login_subcommand_init_zemm_test_loca 3 95ms 31ms _desktop_index.php_command_tasks_subcommand_init_zemm_produktiv 2 112ms 56ms _desktop_index.php_view_animal_name_on_view_animal_id_on_view_s 10 8s512ms 851ms _desktop_index.php_zemm_produktiv_8_localhost_5432 60 8s526ms 142ms bounces:zemm_produktiv_8@h2940066.stratoserver.net:5432 1 72ms 72ms expire_tasks:zemm_produktiv_8@h2940066.stratoserver.net:5432 1 1s44ms 1s44ms pg_dump 1 10s556ms 10s556ms taskscron:zemm_produktiv_8@h2940066.stratoserver.net:5432 24 2s354ms 98ms -
Checkpoints / Restartpoints
Checkpoints Buffers
Key values
- 72,661 buffers Checkpoint Peak
- 2026-06-04 13:00:39 Date
- 269.979 seconds Highest write time
- 0.020 seconds Sync time
Checkpoints Wal files
Key values
- 78 files Wal files usage Peak
- 2026-06-04 13:00:39 Date
Checkpoints distance
Key values
- 2,509.24 Mo Distance Peak
- 2026-06-04 13:00:39 Date
Checkpoints Activity
↑ Back to the top of the Checkpoint Activity tableDay Hour Written buffers Write time Sync time Total time Jun 04 00 7,968 797.493s 0.11s 797.659s 01 26,692 981.962s 0.099s 982.122s 02 8,299 830.421s 0.119s 830.596s 03 8,143 814.8s 0.107s 814.965s 04 8,082 809.298s 0.109s 809.466s 05 8,307 831.555s 0.103s 831.708s 06 7,784 778.632s 0.103s 778.791s 07 8,279 828.475s 0.099s 828.634s 08 8,033 803.991s 0.103s 804.148s 09 8,697 870.838s 0.103s 870.999s 10 9,215 922.702s 0.106s 922.865s 11 21,050 1,110.723s 0.106s 1,110.888s 12 7,902 790.473s 0.103s 790.624s 13 107,267 1,311.115s 0.116s 1,311.346s 14 9,092 909.512s 0.114s 909.692s 15 7,435 744.018s 0.098s 744.172s 16 11,634 1,164.642s 0.143s 1,164.853s 17 9,914 991.935s 0.118s 992.113s 18 8,906 890.98s 0.123s 891.162s 19 8,158 816.255s 0.116s 816.436s 20 8,554 855.393s 0.117s 855.577s 21 11,148 1,115.623s 0.107s 1,115.798s 22 9,979 998.552s 0.111s 998.719s 23 8,965 897.214s 0.109s 897.375s Day Hour Added Removed Recycled Synced files Longest sync Average sync Jun 04 00 0 0 1 526 0.009s 0.012s 01 0 0 8 523 0.002s 0.011s 02 0 0 1 541 0.005s 0.012s 03 0 0 2 535 0.003s 0.012s 04 0 0 2 531 0.003s 0.012s 05 0 0 1 530 0.001s 0.012s 06 0 0 2 532 0.002s 0.012s 07 0 0 2 537 0.001s 0.012s 08 0 0 1 538 0.002s 0.012s 09 0 0 2 556 0.001s 0.012s 10 0 0 2 549 0.002s 0.012s 11 0 0 4 539 0.003s 0.012s 12 0 0 2 480 0.013s 0.011s 13 0 1 80 607 0.001s 0.013s 14 0 2 0 637 0.002s 0.012s 15 0 1 0 532 0.002s 0.011s 16 0 3 0 765 0.003s 0.013s 17 0 2 0 603 0.005s 0.012s 18 0 1 0 644 0.006s 0.012s 19 0 2 0 619 0.003s 0.012s 20 0 2 0 626 0.001s 0.012s 21 0 2 0 581 0.001s 0.012s 22 0 1 1 577 0.003s 0.012s 23 0 0 2 598 0.003s 0.012s Day Hour Count Avg time (sec) Jun 04 00 0 0s 01 0 0s 02 0 0s 03 0 0s 04 0 0s 05 0 0s 06 0 0s 07 0 0s 08 0 0s 09 0 0s 10 0 0s 11 0 0s 12 0 0s 13 0 0s 14 0 0s 15 0 0s 16 0 0s 17 0 0s 18 0 0s 19 0 0s 20 0 0s 21 0 0s 22 0 0s 23 0 0s Day Hour Mean distance Mean estimate Jun 04 00 2,257.58 kB 3,656.50 kB 01 10,817.73 kB 36,722.82 kB 02 2,346.17 kB 34,788.33 kB 03 2,269.83 kB 11,456.25 kB 04 2,263.50 kB 4,854.58 kB 05 2,310.00 kB 3,275.92 kB 06 2,221.58 kB 2,854.42 kB 07 2,304.33 kB 3,102.67 kB 08 2,262.25 kB 2,807.50 kB 09 2,356.83 kB 2,880.08 kB 10 2,441.25 kB 2,860.92 kB 11 5,672.17 kB 21,020.50 kB 12 2,305.82 kB 12,765.27 kB 13 102,788.85 kB 739,374.46 kB 14 2,433.58 kB 197,638.17 kB 15 2,183.27 kB 59,876.64 kB 16 2,841.92 kB 19,274.77 kB 17 2,636.67 kB 6,991.92 kB 18 2,477.08 kB 3,793.42 kB 19 2,306.08 kB 2,777.00 kB 20 2,365.42 kB 2,953.92 kB 21 2,962.33 kB 5,387.58 kB 22 2,739.58 kB 4,589.08 kB 23 2,411.00 kB 3,108.83 kB -
Temporary Files
Size of temporary files
Key values
- 0 Temp Files size Peak
- Date
Size of temporary files (5 minutes period)
NO DATASET
Number of temporary files
Key values
- 0 per second Temp Files Peak
- Date
Number of temporary files (5 minutes period)
NO DATASET
Temporary Files Activity
↑ Back to the top of the Temporary Files Activity tableDay Hour Count Total size Average size Jun 04 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
- 47.65 sec Highest CPU-cost vacuum
Table observability.db_top_queries
Database zemm_monitoring - 2026-06-04 12:56:56 Date
- 0 sec Highest CPU-cost analyze
Table
Database zemm_monitoring - Date
Average Autovacuum Duration
Key values
- 47.65 sec Highest CPU-cost vacuum
Table observability.db_top_queries
Database zemm_monitoring - 2026-06-04 12:56:56 Date
Analyzes per table
Key values
- pg_catalog.pg_attribute (1) Main table analyzed (database zemm_produktiv_8)
- 4 analyzes Total
Vacuums per table
Key values
- pg_toast.pg_toast_181881 (4) Main table vacuumed on database zemm_monitoring
- 9 vacuums Total
Index Buffer usage Skipped WAL usage Frozen Table Vacuums scans hits misses dirtied pins frozen records full page bytes pages tuples zemm_monitoring.pg_toast.pg_toast_181881 4 0 0 0 0 0 0 1,244 425 2,089,968 408 2,214 zemm_monitoring.pg_toast.pg_toast_67431 3 0 0 0 0 0 0 7,846 3,062 9,183,694 1,716 10,296 zemm_monitoring.observability.db_top_queries 1 1 0 0 0 0 0 264,545 132,438 23,623,095 5 9 zemm_produktiv_8.public.tasks 1 1 0 0 0 0 0 47,719 46 3,478,897 3 8 Total 9 2 0 0 0 0 0 321,354 135,971 38,375,654 2,132 12,527 Vacuum throughput per table
Key values
- observability.db_top_queries (47.65) Max CPU elapsed for vacuum on database zemm_monitoring
- observability.db_top_queries (45.1 ms) Max I/O read time for vacuum on database zemm_monitoring
- observability.db_top_queries (637.179 ms) Max I/O write time for vacuum on database zemm_monitoring
Tuples removed per table
Key values
- public.tasks (54846) Main table with removed tuples on database zemm_produktiv_8
- 63018 tuples Total removed
Index Tuples Pages Table Vacuums scans removed remain not yet removable removed remain zemm_produktiv_8.public.tasks 1 1 54,846 57,993 0 0 17,134 zemm_monitoring.pg_toast.pg_toast_67431 3 0 8,072 1,957,414 0 0 393,921 zemm_monitoring.observability.db_top_queries 1 1 100 18,574,827 0 0 2,192,837 zemm_monitoring.pg_toast.pg_toast_181881 4 0 0 110,737 0 0 20,188 Total 9 2 63,018 20,700,971 0 0 2,624,080 Pages removed per table
Key values
- unknown (0) Main table with removed pages on database unknown
- 0 pages Total removed
Pages removed per tables
NO DATASET
Table Number of vacuums Index scans Tuples removed Pages removed zemm_monitoring.pg_toast.pg_toast_67431 3 0 8072 0 zemm_monitoring.observability.db_top_queries 1 1 100 0 zemm_monitoring.pg_toast.pg_toast_181881 4 0 0 0 zemm_produktiv_8.public.tasks 1 1 54846 0 Total 9 2 63,018 0 Autovacuum Activity
↑ Back to the top of the Autovacuum Activity tableDay Hour VACUUMs ANALYZEs Jun 04 00 0 0 01 2 1 02 0 0 03 1 0 04 0 0 05 0 0 06 0 0 07 0 0 08 0 1 09 0 0 10 1 0 11 1 0 12 1 0 13 0 0 14 0 2 15 1 0 16 0 0 17 0 0 18 0 0 19 0 0 20 0 0 21 1 0 22 1 0 23 0 0 - 47.65 sec Highest CPU-cost vacuum
-
Locks
Locks by types
Key values
- ShareLock Main Lock Type
- 3 locks Total
Most frequent waiting queries (N)
Rank Count Total time Min time Max time Avg duration Query 1 3 3s36ms 1s 1s36ms 1s12ms create index if not exists idx_db_top_queries_tenant on observability.db_top_queries (tenant_key, collected_at desc);-
CREATE INDEX IF NOT EXISTS idx_db_top_queries_tenant ON observability.db_top_queries (tenant_key, collected_at DESC);
Date: 2026-06-04 12:54:01 Database: zemm_monitoring User: monitoring_admin Bind query: yes Log file: /var/log/postgresql/postgresql-2026-06-04_000000.csv
-
CREATE INDEX IF NOT EXISTS idx_db_top_queries_tenant ON observability.db_top_queries (tenant_key, collected_at DESC);
Date: 2026-06-04 16:10:02 Database: zemm_monitoring User: monitoring_admin Bind query: yes Log file: /var/log/postgresql/postgresql-2026-06-04_000000.csv
-
CREATE INDEX IF NOT EXISTS idx_db_top_queries_tenant ON observability.db_top_queries (tenant_key, collected_at DESC);
Date: 2026-06-04 17:33:01 Database: zemm_monitoring User: monitoring_admin Bind query: yes Log file: /var/log/postgresql/postgresql-2026-06-04_000000.csv
Queries that waited the most
Rank Wait time Query 1 1s36ms CREATE INDEX IF NOT EXISTS idx_db_top_queries_tenant ON observability.db_top_queries (tenant_key, collected_at DESC);[ Date: 2026-06-04 12:54:02 - Database: zemm_monitoring - User: monitoring_admin ]
2 1s CREATE INDEX IF NOT EXISTS idx_db_top_queries_tenant ON observability.db_top_queries (tenant_key, collected_at DESC);[ Date: 2026-06-04 12:56:02 - Database: zemm_monitoring - User: monitoring_admin ]
3 1s CREATE INDEX IF NOT EXISTS idx_db_top_queries_tenant ON observability.db_top_queries (tenant_key, collected_at DESC);[ Date: 2026-06-04 12:55:02 - Database: zemm_monitoring - User: monitoring_admin ]
-
Queries
Queries by type
Key values
- 0 Total read queries
- 24,504 Total write queries
Queries by database
Key values
- zemm_monitoring Main database
- 24,501 Requests
- 1d12h49m42s (zemm_monitoring)
- Main time consuming database
Queries by user
Key values
- monitoring_admin Main user
- 565,641 Requests
User Request type Count Duration labanimal Total 1,898 42m37s copy to 8 22s808ms cte 321 7m4s select 1,546 34m45s update 23 25s12ms monitoring_admin Total 565,641 32d8h48m12s cte 1,814 4h7m59s ddl 562,968 32d4h27m51s delete 1 603ms select 850 12m13s postgres Total 120 2m43s copy to 120 2m43s Duration by user
Key values
- 32d8h48m12s (monitoring_admin) Main time consuming user
User Request type Count Duration labanimal Total 1,898 42m37s copy to 8 22s808ms cte 321 7m4s select 1,546 34m45s update 23 25s12ms monitoring_admin Total 565,641 32d8h48m12s cte 1,814 4h7m59s ddl 562,968 32d4h27m51s delete 1 603ms select 850 12m13s postgres Total 120 2m43s copy to 120 2m43s Queries by host
Key values
- unknown Main host
- 567,516 Requests
- 32d9h30m24s (unknown)
- Main time consuming host
Queries by application
Key values
- unknown Main application
- 24,501 Requests
- 1d12h49m42s (unknown)
- Main time consuming application
Number of cancelled queries
Key values
- 0 per second Cancelled query Peak
- 2026-06-04 09:42:03 Date
Number of cancelled queries (5 minutes period)
NO DATASET
-
Top Queries
Histogram of query times
Key values
- 18 > 10000ms duration
Slowest individual queries
Rank Duration Query 1 12s292ms WITH start_snap AS ( SELECT DISTINCT ON (tenant_key, fingerprint) tenant_key, fingerprint, total_time_ms, calls, rows_returned, collected_at FROM observability.db_top_queries WHERE tenant_key IN ('prod', 'live') AND collected_at >= '2026-06-02 05:20:47+02' AND collected_at <= '2026-06-04 05:20:47+02' ORDER BY tenant_key, fingerprint, collected_at DESC ), fallback_start AS ( SELECT DISTINCT ON (tenant_key, fingerprint) tenant_key, fingerprint, total_time_ms, calls, rows_returned, collected_at FROM observability.db_top_queries WHERE tenant_key IN ('prod', 'live') AND collected_at BETWEEN '2026-06-04 05:20:47+02' AND '2026-06-04 11:20:47+02' ORDER BY tenant_key, fingerprint, collected_at ASC ), end_snap AS ( SELECT DISTINCT ON (tenant_key, fingerprint) tenant_key, fingerprint, query, total_time_ms, calls, rows_returned, collected_at FROM observability.db_top_queries WHERE tenant_key IN ('prod', 'live') AND collected_at BETWEEN '2026-06-04 05:20:47+02' AND '2026-06-04 11:20:47+02' ORDER BY tenant_key, fingerprint, collected_at DESC ), deltas AS ( SELECT e.tenant_key, e.fingerprint, e.query, e.collected_at AS last_seen, GREATEST (COALESCE(e.total_time_ms, 0) - COALESCE(s.total_time_ms, fs.total_time_ms, 0), 0) AS total_time_ms, GREATEST (COALESCE(e.calls, 0) - COALESCE(s.calls, fs.calls, 0), 0) AS calls, GREATEST (COALESCE(e.rows_returned, 0) - COALESCE(s.rows_returned, fs.rows_returned, 0), 0) AS rows_returned FROM end_snap e LEFT JOIN start_snap s ON s.tenant_key = e.tenant_key AND s.fingerprint = e.fingerprint LEFT JOIN fallback_start fs ON fs.tenant_key = e.tenant_key AND fs.fingerprint = e.fingerprint AND s.tenant_key IS NULL ) SELECT fingerprint, MAX(query) AS query, MAX(last_seen) AS last_seen, SUM(total_time_ms) AS total_time_ms, SUM(calls) AS calls, SUM(rows_returned) AS rows_returned, CASE WHEN SUM(calls) > 0 THEN SUM(total_time_ms) / SUM(calls) ELSE 0 END AS mean_time_ms, array_agg(DISTINCT tenant_key ORDER BY tenant_key) AS tenant_keys FROM deltas WHERE total_time_ms > 0 OR calls > 0 GROUP BY fingerprint ORDER BY total_time_ms DESC, calls DESC LIMIT '20' OFFSET '0';[ Date: 2026-06-04 11:21:00 - Database: zemm_monitoring - User: monitoring_admin - Bind query: yes ]
2 12s292ms CREATE SCHEMA IF NOT EXISTS observability;[ Date: 2026-06-04 11:21:01 - Database: zemm_monitoring - User: monitoring_admin - Bind query: yes ]
3 12s292ms CREATE TABLE IF NOT EXISTS observability.metrics_timeseries ( id bigserial PRIMARY KEY, tenant_key text NOT NULL, metric_name text NOT NULL, bucket_start timestamptz NOT NULL, bucket_width_seconds integer NOT NULL DEFAULT 60, sum_value double precision NOT NULL DEFAULT 0, count_value bigint NOT NULL DEFAULT 0, histogram jsonb, created_at timestamptz NOT NULL DEFAULT NOW(), updated_at timestamptz NOT NULL DEFAULT NOW(), UNIQUE (tenant_key, metric_name, bucket_start, bucket_width_seconds) );[ Date: 2026-06-04 11:21:01 - Database: zemm_monitoring - User: monitoring_admin - Bind query: yes ]
4 12s292ms CREATE INDEX IF NOT EXISTS idx_metrics_timeseries_bucket ON observability.metrics_timeseries (bucket_start);[ Date: 2026-06-04 11:21:01 - Database: zemm_monitoring - User: monitoring_admin - Bind query: yes ]
5 12s292ms CREATE INDEX IF NOT EXISTS idx_metrics_timeseries_metric ON observability.metrics_timeseries (metric_name);[ Date: 2026-06-04 11:21:01 - Database: zemm_monitoring - User: monitoring_admin - Bind query: yes ]
6 12s292ms CREATE TABLE IF NOT EXISTS observability.app_events ( id bigserial PRIMARY KEY, tenant_key text NOT NULL, event_type text NOT NULL, severity text NOT NULL, message text NOT NULL, payload jsonb, occurred_at timestamptz NOT NULL DEFAULT NOW(), created_at timestamptz NOT NULL DEFAULT NOW() );[ Date: 2026-06-04 11:21:01 - Database: zemm_monitoring - User: monitoring_admin - Bind query: yes ]
7 12s292ms CREATE INDEX IF NOT EXISTS idx_app_events_tenant ON observability.app_events (tenant_key, occurred_at DESC);[ Date: 2026-06-04 11:21:01 - Database: zemm_monitoring - User: monitoring_admin - Bind query: yes ]
8 12s292ms CREATE INDEX IF NOT EXISTS idx_app_events_type ON observability.app_events (event_type);[ Date: 2026-06-04 11:21:01 - Database: zemm_monitoring - User: monitoring_admin - Bind query: yes ]
9 12s292ms CREATE TABLE IF NOT EXISTS observability.db_top_queries ( id bigserial PRIMARY KEY, tenant_key text NOT NULL, fingerprint text, query text, mean_time_ms double precision, total_time_ms double precision, calls bigint, rows_returned bigint, collected_at timestamptz NOT NULL DEFAULT NOW() );[ Date: 2026-06-04 11:21:01 - Database: zemm_monitoring - User: monitoring_admin - Bind query: yes ]
10 12s292ms CREATE INDEX IF NOT EXISTS idx_db_top_queries_tenant ON observability.db_top_queries (tenant_key, collected_at DESC);[ Date: 2026-06-04 11:21:01 - Database: zemm_monitoring - User: monitoring_admin - Bind query: yes ]
11 12s292ms CREATE TABLE IF NOT EXISTS observability.nginx_counters ( id bigserial PRIMARY KEY, payload jsonb NOT NULL, collected_at timestamptz NOT NULL DEFAULT NOW() );[ Date: 2026-06-04 11:21:01 - Database: zemm_monitoring - User: monitoring_admin - Bind query: yes ]
12 12s292ms CREATE TABLE IF NOT EXISTS observability.phpfpm_counters ( id bigserial PRIMARY KEY, payload jsonb NOT NULL, collected_at timestamptz NOT NULL DEFAULT NOW() );[ Date: 2026-06-04 11:21:01 - Database: zemm_monitoring - User: monitoring_admin - Bind query: yes ]
13 12s292ms CREATE TABLE IF NOT EXISTS observability.system_metrics ( id bigserial PRIMARY KEY, payload jsonb NOT NULL, collected_at timestamptz NOT NULL DEFAULT NOW() );[ Date: 2026-06-04 11:21:01 - Database: zemm_monitoring - User: monitoring_admin - Bind query: yes ]
14 12s292ms CREATE TABLE IF NOT EXISTS observability.uptime_checks ( id bigserial PRIMARY KEY, endpoint text NOT NULL, status text NOT NULL, latency_ms double precision, checked_at timestamptz NOT NULL DEFAULT NOW() );[ Date: 2026-06-04 11:21:01 - Database: zemm_monitoring - User: monitoring_admin - Bind query: yes ]
15 12s292ms ALTER TABLE observability.uptime_checks ADD COLUMN IF NOT EXISTS label text;[ Date: 2026-06-04 11:21:01 - Database: zemm_monitoring - User: monitoring_admin - Bind query: yes ]
16 12s292ms ALTER TABLE observability.uptime_checks ADD COLUMN IF NOT EXISTS payload jsonb;[ Date: 2026-06-04 11:21:01 - Database: zemm_monitoring - User: monitoring_admin - Bind query: yes ]
17 12s292ms CREATE INDEX IF NOT EXISTS idx_uptime_checks_endpoint ON observability.uptime_checks (endpoint, checked_at DESC);[ Date: 2026-06-04 11:21:01 - Database: zemm_monitoring - User: monitoring_admin - Bind query: yes ]
18 12s292ms CREATE INDEX IF NOT EXISTS idx_uptime_checks_key ON observability.uptime_checks (check_key, checked_at DESC);[ Date: 2026-06-04 11:21:01 - Database: zemm_monitoring - User: monitoring_admin - Bind query: yes ]
19 12s292ms CREATE SCHEMA IF NOT EXISTS observability;[ Date: 2026-06-04 11:22:01 - Database: zemm_monitoring - User: monitoring_admin - Bind query: yes ]
20 12s292ms CREATE TABLE IF NOT EXISTS observability.metrics_timeseries ( id bigserial PRIMARY KEY, tenant_key text NOT NULL, metric_name text NOT NULL, bucket_start timestamptz NOT NULL, bucket_width_seconds integer NOT NULL DEFAULT 60, sum_value double precision NOT NULL DEFAULT 0, count_value bigint NOT NULL DEFAULT 0, histogram jsonb, created_at timestamptz NOT NULL DEFAULT NOW(), updated_at timestamptz NOT NULL DEFAULT NOW(), UNIQUE (tenant_key, metric_name, bucket_start, bucket_width_seconds) );[ Date: 2026-06-04 11:22:01 - Database: zemm_monitoring - User: monitoring_admin - Bind query: yes ]
Time consuming queries (N)
Rank Total duration Times executed Min duration Max duration Avg duration Query 1 2h9m51s 1,440 1s 12s292ms 5s410ms create table if not exists observability.db_top_queries ( id bigserial primary key, tenant_key text not null, fingerprint text, query text, mean_time_ms double precision, total_time_ms double precision, calls bigint, rows_returned bigint, collected_at timestamptz not null default now() );Times Reported Time consuming queries #1
Day Hour Count Duration Avg duration Jun 04 01 60 0ms 0ms 02 60 29s486ms 491ms 03 60 1m1s 1s16ms 04 60 1m1s 1s16ms 05 60 1m1s 1s16ms 06 60 1m1s 1s16ms 07 60 1m1s 1s16ms 08 60 1m1s 1s16ms 09 60 1m1s 1s16ms 10 60 1m1s 1s16ms 11 60 1m1s 1s16ms 12 60 8m20s 8s345ms 13 60 11m21s 11s351ms 14 60 1m 1s 15 60 1m 1s 16 60 1m44s 1s748ms 17 60 12m12s 12s212ms 18 60 12m12s 12s216ms 19 60 12m14s 12s249ms 20 60 12m15s 12s254ms 21 60 12m15s 12s252ms 22 60 12m6s 12s113ms 23 60 12m5s 12s89ms 00 60 11m22s 11s374ms [ User: monitoring_admin - Total duration: 2h9m51s - Times executed: 1349 ]
-
CREATE TABLE IF NOT EXISTS observability.db_top_queries ( id bigserial PRIMARY KEY, tenant_key text NOT NULL, fingerprint text, query text, mean_time_ms double precision, total_time_ms double precision, calls bigint, rows_returned bigint, collected_at timestamptz NOT NULL DEFAULT NOW() );
Date: 2026-06-04 12:54:01 Duration: 12s292ms Database: zemm_monitoring User: monitoring_admin Bind query: yes Log file: /var/log/postgresql/postgresql-2026-06-04_000000.csv
-
CREATE TABLE IF NOT EXISTS observability.db_top_queries ( id bigserial PRIMARY KEY, tenant_key text NOT NULL, fingerprint text, query text, mean_time_ms double precision, total_time_ms double precision, calls bigint, rows_returned bigint, collected_at timestamptz NOT NULL DEFAULT NOW() );
Date: 2026-06-04 16:10:02 Duration: 12s284ms Database: zemm_monitoring User: monitoring_admin Bind query: yes Log file: /var/log/postgresql/postgresql-2026-06-04_000000.csv
-
CREATE TABLE IF NOT EXISTS observability.db_top_queries ( id bigserial PRIMARY KEY, tenant_key text NOT NULL, fingerprint text, query text, mean_time_ms double precision, total_time_ms double precision, calls bigint, rows_returned bigint, collected_at timestamptz NOT NULL DEFAULT NOW() );
Date: 2026-06-04 17:33:01 Duration: 12s272ms Database: zemm_monitoring User: monitoring_admin Bind query: yes Log file: /var/log/postgresql/postgresql-2026-06-04_000000.csv
2 2h9m51s 1,440 1s 12s292ms 5s410ms create index if not exists idx_app_events_type on observability.app_events (event_type);Times Reported Time consuming queries #2
Day Hour Count Duration Avg duration Jun 04 01 60 0ms 0ms 02 60 29s486ms 491ms 03 60 1m1s 1s16ms 04 60 1m1s 1s16ms 05 60 1m1s 1s16ms 06 60 1m1s 1s16ms 07 60 1m1s 1s16ms 08 60 1m1s 1s16ms 09 60 1m1s 1s16ms 10 60 1m1s 1s16ms 11 60 1m1s 1s16ms 12 60 8m20s 8s345ms 13 60 11m21s 11s351ms 14 60 1m 1s 15 60 1m 1s 16 60 1m44s 1s748ms 17 60 12m12s 12s212ms 18 60 12m12s 12s216ms 19 60 12m14s 12s249ms 20 60 12m15s 12s254ms 21 60 12m15s 12s252ms 22 60 12m6s 12s113ms 23 60 12m5s 12s89ms 00 60 11m22s 11s374ms [ User: monitoring_admin - Total duration: 2h9m51s - Times executed: 1349 ]
-
CREATE INDEX IF NOT EXISTS idx_app_events_type ON observability.app_events (event_type);
Date: 2026-06-04 12:54:01 Duration: 12s292ms Database: zemm_monitoring User: monitoring_admin Bind query: yes Log file: /var/log/postgresql/postgresql-2026-06-04_000000.csv
-
CREATE INDEX IF NOT EXISTS idx_app_events_type ON observability.app_events (event_type);
Date: 2026-06-04 16:10:02 Duration: 12s284ms Database: zemm_monitoring User: monitoring_admin Bind query: yes Log file: /var/log/postgresql/postgresql-2026-06-04_000000.csv
-
CREATE INDEX IF NOT EXISTS idx_app_events_type ON observability.app_events (event_type);
Date: 2026-06-04 17:33:01 Duration: 12s272ms Database: zemm_monitoring User: monitoring_admin Bind query: yes Log file: /var/log/postgresql/postgresql-2026-06-04_000000.csv
3 2h9m51s 1,440 1s 12s292ms 5s410ms create index if not exists idx_metrics_timeseries_bucket on observability.metrics_timeseries (bucket_start);Times Reported Time consuming queries #3
Day Hour Count Duration Avg duration Jun 04 01 60 0ms 0ms 02 60 29s486ms 491ms 03 60 1m1s 1s16ms 04 60 1m1s 1s16ms 05 60 1m1s 1s16ms 06 60 1m1s 1s16ms 07 60 1m1s 1s16ms 08 60 1m1s 1s16ms 09 60 1m1s 1s16ms 10 60 1m1s 1s16ms 11 60 1m1s 1s16ms 12 60 8m20s 8s345ms 13 60 11m21s 11s351ms 14 60 1m 1s 15 60 1m 1s 16 60 1m44s 1s748ms 17 60 12m12s 12s212ms 18 60 12m12s 12s216ms 19 60 12m14s 12s249ms 20 60 12m15s 12s254ms 21 60 12m15s 12s252ms 22 60 12m6s 12s113ms 23 60 12m5s 12s89ms 00 60 11m22s 11s374ms [ User: monitoring_admin - Total duration: 2h9m51s - Times executed: 1349 ]
-
CREATE INDEX IF NOT EXISTS idx_metrics_timeseries_bucket ON observability.metrics_timeseries (bucket_start);
Date: 2026-06-04 12:54:01 Duration: 12s292ms Database: zemm_monitoring User: monitoring_admin Bind query: yes Log file: /var/log/postgresql/postgresql-2026-06-04_000000.csv
-
CREATE INDEX IF NOT EXISTS idx_metrics_timeseries_bucket ON observability.metrics_timeseries (bucket_start);
Date: 2026-06-04 16:10:02 Duration: 12s284ms Database: zemm_monitoring User: monitoring_admin Bind query: yes Log file: /var/log/postgresql/postgresql-2026-06-04_000000.csv
-
CREATE INDEX IF NOT EXISTS idx_metrics_timeseries_bucket ON observability.metrics_timeseries (bucket_start);
Date: 2026-06-04 17:33:01 Duration: 12s272ms Database: zemm_monitoring User: monitoring_admin Bind query: yes Log file: /var/log/postgresql/postgresql-2026-06-04_000000.csv
4 2h9m51s 1,440 1s 12s292ms 5s410ms create index if not exists idx_metrics_timeseries_metric on observability.metrics_timeseries (metric_name);Times Reported Time consuming queries #4
Day Hour Count Duration Avg duration Jun 04 01 60 0ms 0ms 02 60 29s486ms 491ms 03 60 1m1s 1s16ms 04 60 1m1s 1s16ms 05 60 1m1s 1s16ms 06 60 1m1s 1s16ms 07 60 1m1s 1s16ms 08 60 1m1s 1s16ms 09 60 1m1s 1s16ms 10 60 1m1s 1s16ms 11 60 1m1s 1s16ms 12 60 8m20s 8s345ms 13 60 11m21s 11s351ms 14 60 1m 1s 15 60 1m 1s 16 60 1m44s 1s748ms 17 60 12m12s 12s212ms 18 60 12m12s 12s216ms 19 60 12m14s 12s249ms 20 60 12m15s 12s254ms 21 60 12m15s 12s252ms 22 60 12m6s 12s113ms 23 60 12m5s 12s89ms 00 60 11m22s 11s374ms [ User: monitoring_admin - Total duration: 2h9m51s - Times executed: 1349 ]
-
CREATE INDEX IF NOT EXISTS idx_metrics_timeseries_metric ON observability.metrics_timeseries (metric_name);
Date: 2026-06-04 12:54:01 Duration: 12s292ms Database: zemm_monitoring User: monitoring_admin Bind query: yes Log file: /var/log/postgresql/postgresql-2026-06-04_000000.csv
-
CREATE INDEX IF NOT EXISTS idx_metrics_timeseries_metric ON observability.metrics_timeseries (metric_name);
Date: 2026-06-04 16:10:02 Duration: 12s284ms Database: zemm_monitoring User: monitoring_admin Bind query: yes Log file: /var/log/postgresql/postgresql-2026-06-04_000000.csv
-
CREATE INDEX IF NOT EXISTS idx_metrics_timeseries_metric ON observability.metrics_timeseries (metric_name);
Date: 2026-06-04 17:33:01 Duration: 12s272ms Database: zemm_monitoring User: monitoring_admin Bind query: yes Log file: /var/log/postgresql/postgresql-2026-06-04_000000.csv
5 2h9m51s 1,440 1s 12s292ms 5s410ms create table if not exists observability.metrics_timeseries ( id bigserial primary key, tenant_key text not null, metric_name text not null, bucket_start timestamptz not null, bucket_width_seconds integer not null default ?, sum_value double precision not null default ?, count_value bigint not null default ?, histogram jsonb, created_at timestamptz not null default now(), updated_at timestamptz not null default now(), unique (tenant_key, metric_name, bucket_start, bucket_width_seconds) );Times Reported Time consuming queries #5
Day Hour Count Duration Avg duration Jun 04 01 60 0ms 0ms 02 60 29s486ms 491ms 03 60 1m1s 1s16ms 04 60 1m1s 1s16ms 05 60 1m1s 1s16ms 06 60 1m1s 1s16ms 07 60 1m1s 1s16ms 08 60 1m1s 1s16ms 09 60 1m1s 1s16ms 10 60 1m1s 1s16ms 11 60 1m1s 1s16ms 12 60 8m20s 8s345ms 13 60 11m21s 11s351ms 14 60 1m 1s 15 60 1m 1s 16 60 1m44s 1s748ms 17 60 12m12s 12s212ms 18 60 12m12s 12s216ms 19 60 12m14s 12s249ms 20 60 12m15s 12s254ms 21 60 12m15s 12s252ms 22 60 12m6s 12s113ms 23 60 12m5s 12s89ms 00 60 11m22s 11s374ms [ User: monitoring_admin - Total duration: 2h9m51s - Times executed: 1349 ]
-
CREATE TABLE IF NOT EXISTS observability.metrics_timeseries ( id bigserial PRIMARY KEY, tenant_key text NOT NULL, metric_name text NOT NULL, bucket_start timestamptz NOT NULL, bucket_width_seconds integer NOT NULL DEFAULT 60, sum_value double precision NOT NULL DEFAULT 0, count_value bigint NOT NULL DEFAULT 0, histogram jsonb, created_at timestamptz NOT NULL DEFAULT NOW(), updated_at timestamptz NOT NULL DEFAULT NOW(), UNIQUE (tenant_key, metric_name, bucket_start, bucket_width_seconds) );
Date: 2026-06-04 12:54:01 Duration: 12s292ms Database: zemm_monitoring User: monitoring_admin Bind query: yes Log file: /var/log/postgresql/postgresql-2026-06-04_000000.csv
-
CREATE TABLE IF NOT EXISTS observability.metrics_timeseries ( id bigserial PRIMARY KEY, tenant_key text NOT NULL, metric_name text NOT NULL, bucket_start timestamptz NOT NULL, bucket_width_seconds integer NOT NULL DEFAULT 60, sum_value double precision NOT NULL DEFAULT 0, count_value bigint NOT NULL DEFAULT 0, histogram jsonb, created_at timestamptz NOT NULL DEFAULT NOW(), updated_at timestamptz NOT NULL DEFAULT NOW(), UNIQUE (tenant_key, metric_name, bucket_start, bucket_width_seconds) );
Date: 2026-06-04 16:10:02 Duration: 12s284ms Database: zemm_monitoring User: monitoring_admin Bind query: yes Log file: /var/log/postgresql/postgresql-2026-06-04_000000.csv
-
CREATE TABLE IF NOT EXISTS observability.metrics_timeseries ( id bigserial PRIMARY KEY, tenant_key text NOT NULL, metric_name text NOT NULL, bucket_start timestamptz NOT NULL, bucket_width_seconds integer NOT NULL DEFAULT 60, sum_value double precision NOT NULL DEFAULT 0, count_value bigint NOT NULL DEFAULT 0, histogram jsonb, created_at timestamptz NOT NULL DEFAULT NOW(), updated_at timestamptz NOT NULL DEFAULT NOW(), UNIQUE (tenant_key, metric_name, bucket_start, bucket_width_seconds) );
Date: 2026-06-04 17:33:01 Duration: 12s272ms Database: zemm_monitoring User: monitoring_admin Bind query: yes Log file: /var/log/postgresql/postgresql-2026-06-04_000000.csv
6 2h9m51s 1,440 1s 12s292ms 5s410ms create schema if not exists observability;Times Reported Time consuming queries #6
Day Hour Count Duration Avg duration Jun 04 01 60 0ms 0ms 02 60 29s486ms 491ms 03 60 1m1s 1s16ms 04 60 1m1s 1s16ms 05 60 1m1s 1s16ms 06 60 1m1s 1s16ms 07 60 1m1s 1s16ms 08 60 1m1s 1s16ms 09 60 1m1s 1s16ms 10 60 1m1s 1s16ms 11 60 1m1s 1s16ms 12 60 8m20s 8s345ms 13 60 11m21s 11s351ms 14 60 1m 1s 15 60 1m 1s 16 60 1m44s 1s748ms 17 60 12m12s 12s212ms 18 60 12m12s 12s216ms 19 60 12m14s 12s249ms 20 60 12m15s 12s254ms 21 60 12m15s 12s252ms 22 60 12m6s 12s113ms 23 60 12m5s 12s89ms 00 60 11m22s 11s374ms [ User: monitoring_admin - Total duration: 2h9m51s - Times executed: 1349 ]
-
CREATE SCHEMA IF NOT EXISTS observability;
Date: 2026-06-04 12:54:01 Duration: 12s292ms Database: zemm_monitoring User: monitoring_admin Bind query: yes Log file: /var/log/postgresql/postgresql-2026-06-04_000000.csv
-
CREATE SCHEMA IF NOT EXISTS observability;
Date: 2026-06-04 16:10:02 Duration: 12s284ms Database: zemm_monitoring User: monitoring_admin Bind query: yes Log file: /var/log/postgresql/postgresql-2026-06-04_000000.csv
-
CREATE SCHEMA IF NOT EXISTS observability;
Date: 2026-06-04 17:33:01 Duration: 12s272ms Database: zemm_monitoring User: monitoring_admin Bind query: yes Log file: /var/log/postgresql/postgresql-2026-06-04_000000.csv
7 2h9m51s 1,440 1s 12s292ms 5s410ms create index if not exists idx_db_top_queries_tenant on observability.db_top_queries (tenant_key, collected_at desc);Times Reported Time consuming queries #7
Day Hour Count Duration Avg duration Jun 04 01 60 0ms 0ms 02 60 29s486ms 491ms 03 60 1m1s 1s16ms 04 60 1m1s 1s16ms 05 60 1m1s 1s16ms 06 60 1m1s 1s16ms 07 60 1m1s 1s16ms 08 60 1m1s 1s16ms 09 60 1m1s 1s16ms 10 60 1m1s 1s16ms 11 60 1m1s 1s16ms 12 60 8m20s 8s345ms 13 60 11m21s 11s351ms 14 60 1m 1s 15 60 1m 1s 16 60 1m44s 1s748ms 17 60 12m12s 12s212ms 18 60 12m12s 12s216ms 19 60 12m14s 12s249ms 20 60 12m15s 12s254ms 21 60 12m15s 12s252ms 22 60 12m6s 12s113ms 23 60 12m5s 12s89ms 00 60 11m22s 11s374ms [ User: monitoring_admin - Total duration: 2h9m51s - Times executed: 1349 ]
-
CREATE INDEX IF NOT EXISTS idx_db_top_queries_tenant ON observability.db_top_queries (tenant_key, collected_at DESC);
Date: 2026-06-04 12:54:01 Duration: 12s292ms Database: zemm_monitoring User: monitoring_admin Bind query: yes Log file: /var/log/postgresql/postgresql-2026-06-04_000000.csv
-
CREATE INDEX IF NOT EXISTS idx_db_top_queries_tenant ON observability.db_top_queries (tenant_key, collected_at DESC);
Date: 2026-06-04 16:10:02 Duration: 12s284ms Database: zemm_monitoring User: monitoring_admin Bind query: yes Log file: /var/log/postgresql/postgresql-2026-06-04_000000.csv
-
CREATE INDEX IF NOT EXISTS idx_db_top_queries_tenant ON observability.db_top_queries (tenant_key, collected_at DESC);
Date: 2026-06-04 17:33:01 Duration: 12s272ms Database: zemm_monitoring User: monitoring_admin Bind query: yes Log file: /var/log/postgresql/postgresql-2026-06-04_000000.csv
8 2h9m51s 1,440 1s 12s292ms 5s410ms create table if not exists observability.app_events ( id bigserial primary key, tenant_key text not null, event_type text not null, severity text not null, message text not null, payload jsonb, occurred_at timestamptz not null default now(), created_at timestamptz not null default now() );Times Reported Time consuming queries #8
Day Hour Count Duration Avg duration Jun 04 01 60 0ms 0ms 02 60 29s486ms 491ms 03 60 1m1s 1s16ms 04 60 1m1s 1s16ms 05 60 1m1s 1s16ms 06 60 1m1s 1s16ms 07 60 1m1s 1s16ms 08 60 1m1s 1s16ms 09 60 1m1s 1s16ms 10 60 1m1s 1s16ms 11 60 1m1s 1s16ms 12 60 8m20s 8s345ms 13 60 11m21s 11s351ms 14 60 1m 1s 15 60 1m 1s 16 60 1m44s 1s748ms 17 60 12m12s 12s212ms 18 60 12m12s 12s216ms 19 60 12m14s 12s249ms 20 60 12m15s 12s254ms 21 60 12m15s 12s252ms 22 60 12m6s 12s113ms 23 60 12m5s 12s89ms 00 60 11m22s 11s374ms [ User: monitoring_admin - Total duration: 2h9m51s - Times executed: 1349 ]
-
CREATE TABLE IF NOT EXISTS observability.app_events ( id bigserial PRIMARY KEY, tenant_key text NOT NULL, event_type text NOT NULL, severity text NOT NULL, message text NOT NULL, payload jsonb, occurred_at timestamptz NOT NULL DEFAULT NOW(), created_at timestamptz NOT NULL DEFAULT NOW() );
Date: 2026-06-04 12:54:01 Duration: 12s292ms Database: zemm_monitoring User: monitoring_admin Bind query: yes Log file: /var/log/postgresql/postgresql-2026-06-04_000000.csv
-
CREATE TABLE IF NOT EXISTS observability.app_events ( id bigserial PRIMARY KEY, tenant_key text NOT NULL, event_type text NOT NULL, severity text NOT NULL, message text NOT NULL, payload jsonb, occurred_at timestamptz NOT NULL DEFAULT NOW(), created_at timestamptz NOT NULL DEFAULT NOW() );
Date: 2026-06-04 16:10:02 Duration: 12s284ms Database: zemm_monitoring User: monitoring_admin Bind query: yes Log file: /var/log/postgresql/postgresql-2026-06-04_000000.csv
-
CREATE TABLE IF NOT EXISTS observability.app_events ( id bigserial PRIMARY KEY, tenant_key text NOT NULL, event_type text NOT NULL, severity text NOT NULL, message text NOT NULL, payload jsonb, occurred_at timestamptz NOT NULL DEFAULT NOW(), created_at timestamptz NOT NULL DEFAULT NOW() );
Date: 2026-06-04 17:33:01 Duration: 12s272ms Database: zemm_monitoring User: monitoring_admin Bind query: yes Log file: /var/log/postgresql/postgresql-2026-06-04_000000.csv
9 2h9m51s 1,440 1s 12s292ms 5s410ms create index if not exists idx_app_events_tenant on observability.app_events (tenant_key, occurred_at desc);Times Reported Time consuming queries #9
Day Hour Count Duration Avg duration Jun 04 01 60 0ms 0ms 02 60 29s486ms 491ms 03 60 1m1s 1s16ms 04 60 1m1s 1s16ms 05 60 1m1s 1s16ms 06 60 1m1s 1s16ms 07 60 1m1s 1s16ms 08 60 1m1s 1s16ms 09 60 1m1s 1s16ms 10 60 1m1s 1s16ms 11 60 1m1s 1s16ms 12 60 8m20s 8s345ms 13 60 11m21s 11s351ms 14 60 1m 1s 15 60 1m 1s 16 60 1m44s 1s748ms 17 60 12m12s 12s212ms 18 60 12m12s 12s216ms 19 60 12m14s 12s249ms 20 60 12m15s 12s254ms 21 60 12m15s 12s252ms 22 60 12m6s 12s113ms 23 60 12m5s 12s89ms 00 60 11m22s 11s374ms [ User: monitoring_admin - Total duration: 2h9m51s - Times executed: 1349 ]
-
CREATE INDEX IF NOT EXISTS idx_app_events_tenant ON observability.app_events (tenant_key, occurred_at DESC);
Date: 2026-06-04 12:54:01 Duration: 12s292ms Database: zemm_monitoring User: monitoring_admin Bind query: yes Log file: /var/log/postgresql/postgresql-2026-06-04_000000.csv
-
CREATE INDEX IF NOT EXISTS idx_app_events_tenant ON observability.app_events (tenant_key, occurred_at DESC);
Date: 2026-06-04 16:10:02 Duration: 12s284ms Database: zemm_monitoring User: monitoring_admin Bind query: yes Log file: /var/log/postgresql/postgresql-2026-06-04_000000.csv
-
CREATE INDEX IF NOT EXISTS idx_app_events_tenant ON observability.app_events (tenant_key, occurred_at DESC);
Date: 2026-06-04 17:33:01 Duration: 12s272ms Database: zemm_monitoring User: monitoring_admin Bind query: yes Log file: /var/log/postgresql/postgresql-2026-06-04_000000.csv
10 2h9m39s 1,440 1s 12s292ms 5s402ms create table if not exists observability.system_metrics ( id bigserial primary key, payload jsonb not null, collected_at timestamptz not null default now() );Times Reported Time consuming queries #10
Day Hour Count Duration Avg duration Jun 04 01 60 0ms 0ms 02 60 29s486ms 491ms 03 60 1m1s 1s16ms 04 60 1m1s 1s16ms 05 60 1m1s 1s16ms 06 60 1m1s 1s16ms 07 60 1m1s 1s16ms 08 60 1m1s 1s16ms 09 60 1m1s 1s16ms 10 60 1m1s 1s16ms 11 60 1m1s 1s16ms 12 60 8m20s 8s345ms 13 60 11m9s 11s163ms 14 60 1m 1s 15 60 1m 1s 16 60 1m44s 1s748ms 17 60 12m12s 12s212ms 18 60 12m12s 12s216ms 19 60 12m14s 12s249ms 20 60 12m15s 12s254ms 21 60 12m15s 12s252ms 22 60 12m6s 12s113ms 23 60 12m5s 12s89ms 00 60 11m22s 11s374ms [ User: monitoring_admin - Total duration: 2h9m39s - Times executed: 1349 ]
-
CREATE TABLE IF NOT EXISTS observability.system_metrics ( id bigserial PRIMARY KEY, payload jsonb NOT NULL, collected_at timestamptz NOT NULL DEFAULT NOW() );
Date: 2026-06-04 12:53:01 Duration: 12s292ms Database: zemm_monitoring User: monitoring_admin Bind query: yes Log file: /var/log/postgresql/postgresql-2026-06-04_000000.csv
-
CREATE TABLE IF NOT EXISTS observability.system_metrics ( id bigserial PRIMARY KEY, payload jsonb NOT NULL, collected_at timestamptz NOT NULL DEFAULT NOW() );
Date: 2026-06-04 16:10:02 Duration: 12s284ms Database: zemm_monitoring User: monitoring_admin Bind query: yes Log file: /var/log/postgresql/postgresql-2026-06-04_000000.csv
-
CREATE TABLE IF NOT EXISTS observability.system_metrics ( id bigserial PRIMARY KEY, payload jsonb NOT NULL, collected_at timestamptz NOT NULL DEFAULT NOW() );
Date: 2026-06-04 17:33:01 Duration: 12s272ms Database: zemm_monitoring User: monitoring_admin Bind query: yes Log file: /var/log/postgresql/postgresql-2026-06-04_000000.csv
11 2h9m39s 1,440 1s 12s292ms 5s402ms create table if not exists observability.uptime_checks ( id bigserial primary key, endpoint text not null, status text not null, latency_ms double precision, checked_at timestamptz not null default now() );Times Reported Time consuming queries #11
Day Hour Count Duration Avg duration Jun 04 01 60 0ms 0ms 02 60 29s486ms 491ms 03 60 1m1s 1s16ms 04 60 1m1s 1s16ms 05 60 1m1s 1s16ms 06 60 1m1s 1s16ms 07 60 1m1s 1s16ms 08 60 1m1s 1s16ms 09 60 1m1s 1s16ms 10 60 1m1s 1s16ms 11 60 1m1s 1s16ms 12 60 8m20s 8s345ms 13 60 11m9s 11s163ms 14 60 1m 1s 15 60 1m 1s 16 60 1m44s 1s748ms 17 60 12m12s 12s212ms 18 60 12m12s 12s216ms 19 60 12m14s 12s249ms 20 60 12m15s 12s254ms 21 60 12m15s 12s252ms 22 60 12m6s 12s113ms 23 60 12m5s 12s89ms 00 60 11m22s 11s374ms [ User: monitoring_admin - Total duration: 2h9m39s - Times executed: 1349 ]
-
CREATE TABLE IF NOT EXISTS observability.uptime_checks ( id bigserial PRIMARY KEY, endpoint text NOT NULL, status text NOT NULL, latency_ms double precision, checked_at timestamptz NOT NULL DEFAULT NOW() );
Date: 2026-06-04 12:53:01 Duration: 12s292ms Database: zemm_monitoring User: monitoring_admin Bind query: yes Log file: /var/log/postgresql/postgresql-2026-06-04_000000.csv
-
CREATE TABLE IF NOT EXISTS observability.uptime_checks ( id bigserial PRIMARY KEY, endpoint text NOT NULL, status text NOT NULL, latency_ms double precision, checked_at timestamptz NOT NULL DEFAULT NOW() );
Date: 2026-06-04 16:10:02 Duration: 12s284ms Database: zemm_monitoring User: monitoring_admin Bind query: yes Log file: /var/log/postgresql/postgresql-2026-06-04_000000.csv
-
CREATE TABLE IF NOT EXISTS observability.uptime_checks ( id bigserial PRIMARY KEY, endpoint text NOT NULL, status text NOT NULL, latency_ms double precision, checked_at timestamptz NOT NULL DEFAULT NOW() );
Date: 2026-06-04 17:33:01 Duration: 12s272ms Database: zemm_monitoring User: monitoring_admin Bind query: yes Log file: /var/log/postgresql/postgresql-2026-06-04_000000.csv
12 2h9m39s 1,440 1s 12s292ms 5s402ms alter table observability.uptime_checks add column if not exists label text;Times Reported Time consuming queries #12
Day Hour Count Duration Avg duration Jun 04 01 60 0ms 0ms 02 60 29s486ms 491ms 03 60 1m1s 1s16ms 04 60 1m1s 1s16ms 05 60 1m1s 1s16ms 06 60 1m1s 1s16ms 07 60 1m1s 1s16ms 08 60 1m1s 1s16ms 09 60 1m1s 1s16ms 10 60 1m1s 1s16ms 11 60 1m1s 1s16ms 12 60 8m20s 8s345ms 13 60 11m9s 11s163ms 14 60 1m 1s 15 60 1m 1s 16 60 1m44s 1s748ms 17 60 12m12s 12s212ms 18 60 12m12s 12s216ms 19 60 12m14s 12s249ms 20 60 12m15s 12s254ms 21 60 12m15s 12s252ms 22 60 12m6s 12s113ms 23 60 12m5s 12s89ms 00 60 11m22s 11s374ms [ User: monitoring_admin - Total duration: 2h9m39s - Times executed: 1349 ]
-
ALTER TABLE observability.uptime_checks ADD COLUMN IF NOT EXISTS label text;
Date: 2026-06-04 12:53:01 Duration: 12s292ms Database: zemm_monitoring User: monitoring_admin Bind query: yes Log file: /var/log/postgresql/postgresql-2026-06-04_000000.csv
-
ALTER TABLE observability.uptime_checks ADD COLUMN IF NOT EXISTS label text;
Date: 2026-06-04 16:10:02 Duration: 12s284ms Database: zemm_monitoring User: monitoring_admin Bind query: yes Log file: /var/log/postgresql/postgresql-2026-06-04_000000.csv
-
ALTER TABLE observability.uptime_checks ADD COLUMN IF NOT EXISTS label text;
Date: 2026-06-04 17:33:01 Duration: 12s272ms Database: zemm_monitoring User: monitoring_admin Bind query: yes Log file: /var/log/postgresql/postgresql-2026-06-04_000000.csv
13 2h9m39s 1,440 1s 12s292ms 5s402ms create table if not exists observability.phpfpm_counters ( id bigserial primary key, payload jsonb not null, collected_at timestamptz not null default now() );Times Reported Time consuming queries #13
Day Hour Count Duration Avg duration Jun 04 01 60 0ms 0ms 02 60 29s486ms 491ms 03 60 1m1s 1s16ms 04 60 1m1s 1s16ms 05 60 1m1s 1s16ms 06 60 1m1s 1s16ms 07 60 1m1s 1s16ms 08 60 1m1s 1s16ms 09 60 1m1s 1s16ms 10 60 1m1s 1s16ms 11 60 1m1s 1s16ms 12 60 8m20s 8s345ms 13 60 11m9s 11s163ms 14 60 1m 1s 15 60 1m 1s 16 60 1m44s 1s748ms 17 60 12m12s 12s212ms 18 60 12m12s 12s216ms 19 60 12m14s 12s249ms 20 60 12m15s 12s254ms 21 60 12m15s 12s252ms 22 60 12m6s 12s113ms 23 60 12m5s 12s89ms 00 60 11m22s 11s374ms [ User: monitoring_admin - Total duration: 2h9m39s - Times executed: 1349 ]
-
CREATE TABLE IF NOT EXISTS observability.phpfpm_counters ( id bigserial PRIMARY KEY, payload jsonb NOT NULL, collected_at timestamptz NOT NULL DEFAULT NOW() );
Date: 2026-06-04 12:53:01 Duration: 12s292ms Database: zemm_monitoring User: monitoring_admin Bind query: yes Log file: /var/log/postgresql/postgresql-2026-06-04_000000.csv
-
CREATE TABLE IF NOT EXISTS observability.phpfpm_counters ( id bigserial PRIMARY KEY, payload jsonb NOT NULL, collected_at timestamptz NOT NULL DEFAULT NOW() );
Date: 2026-06-04 16:10:02 Duration: 12s284ms Database: zemm_monitoring User: monitoring_admin Bind query: yes Log file: /var/log/postgresql/postgresql-2026-06-04_000000.csv
-
CREATE TABLE IF NOT EXISTS observability.phpfpm_counters ( id bigserial PRIMARY KEY, payload jsonb NOT NULL, collected_at timestamptz NOT NULL DEFAULT NOW() );
Date: 2026-06-04 17:33:01 Duration: 12s272ms Database: zemm_monitoring User: monitoring_admin Bind query: yes Log file: /var/log/postgresql/postgresql-2026-06-04_000000.csv
14 2h9m39s 1,440 1s 12s292ms 5s402ms create table if not exists observability.nginx_counters ( id bigserial primary key, payload jsonb not null, collected_at timestamptz not null default now() );Times Reported Time consuming queries #14
Day Hour Count Duration Avg duration Jun 04 01 60 0ms 0ms 02 60 29s486ms 491ms 03 60 1m1s 1s16ms 04 60 1m1s 1s16ms 05 60 1m1s 1s16ms 06 60 1m1s 1s16ms 07 60 1m1s 1s16ms 08 60 1m1s 1s16ms 09 60 1m1s 1s16ms 10 60 1m1s 1s16ms 11 60 1m1s 1s16ms 12 60 8m20s 8s345ms 13 60 11m9s 11s163ms 14 60 1m 1s 15 60 1m 1s 16 60 1m44s 1s748ms 17 60 12m12s 12s212ms 18 60 12m12s 12s216ms 19 60 12m14s 12s249ms 20 60 12m15s 12s254ms 21 60 12m15s 12s252ms 22 60 12m6s 12s113ms 23 60 12m5s 12s89ms 00 60 11m22s 11s374ms [ User: monitoring_admin - Total duration: 2h9m39s - Times executed: 1349 ]
-
CREATE TABLE IF NOT EXISTS observability.nginx_counters ( id bigserial PRIMARY KEY, payload jsonb NOT NULL, collected_at timestamptz NOT NULL DEFAULT NOW() );
Date: 2026-06-04 12:53:01 Duration: 12s292ms Database: zemm_monitoring User: monitoring_admin Bind query: yes Log file: /var/log/postgresql/postgresql-2026-06-04_000000.csv
-
CREATE TABLE IF NOT EXISTS observability.nginx_counters ( id bigserial PRIMARY KEY, payload jsonb NOT NULL, collected_at timestamptz NOT NULL DEFAULT NOW() );
Date: 2026-06-04 16:10:02 Duration: 12s284ms Database: zemm_monitoring User: monitoring_admin Bind query: yes Log file: /var/log/postgresql/postgresql-2026-06-04_000000.csv
-
CREATE TABLE IF NOT EXISTS observability.nginx_counters ( id bigserial PRIMARY KEY, payload jsonb NOT NULL, collected_at timestamptz NOT NULL DEFAULT NOW() );
Date: 2026-06-04 17:33:01 Duration: 12s272ms Database: zemm_monitoring User: monitoring_admin Bind query: yes Log file: /var/log/postgresql/postgresql-2026-06-04_000000.csv
15 2h9m39s 1,440 1s 12s292ms 5s402ms alter table observability.uptime_checks add column if not exists payload jsonb;Times Reported Time consuming queries #15
Day Hour Count Duration Avg duration Jun 04 01 60 0ms 0ms 02 60 29s486ms 491ms 03 60 1m1s 1s16ms 04 60 1m1s 1s16ms 05 60 1m1s 1s16ms 06 60 1m1s 1s16ms 07 60 1m1s 1s16ms 08 60 1m1s 1s16ms 09 60 1m1s 1s16ms 10 60 1m1s 1s16ms 11 60 1m1s 1s16ms 12 60 8m20s 8s345ms 13 60 11m9s 11s163ms 14 60 1m 1s 15 60 1m 1s 16 60 1m44s 1s748ms 17 60 12m12s 12s212ms 18 60 12m12s 12s216ms 19 60 12m14s 12s249ms 20 60 12m15s 12s254ms 21 60 12m15s 12s252ms 22 60 12m6s 12s113ms 23 60 12m5s 12s89ms 00 60 11m22s 11s374ms [ User: monitoring_admin - Total duration: 2h9m39s - Times executed: 1349 ]
-
ALTER TABLE observability.uptime_checks ADD COLUMN IF NOT EXISTS payload jsonb;
Date: 2026-06-04 12:53:01 Duration: 12s292ms Database: zemm_monitoring User: monitoring_admin Bind query: yes Log file: /var/log/postgresql/postgresql-2026-06-04_000000.csv
-
ALTER TABLE observability.uptime_checks ADD COLUMN IF NOT EXISTS payload jsonb;
Date: 2026-06-04 16:10:02 Duration: 12s284ms Database: zemm_monitoring User: monitoring_admin Bind query: yes Log file: /var/log/postgresql/postgresql-2026-06-04_000000.csv
-
ALTER TABLE observability.uptime_checks ADD COLUMN IF NOT EXISTS payload jsonb;
Date: 2026-06-04 17:33:01 Duration: 12s272ms Database: zemm_monitoring User: monitoring_admin Bind query: yes Log file: /var/log/postgresql/postgresql-2026-06-04_000000.csv
16 2h9m39s 1,440 1s 12s292ms 5s402ms create index if not exists idx_uptime_checks_key on observability.uptime_checks (check_key, checked_at desc);Times Reported Time consuming queries #16
Day Hour Count Duration Avg duration Jun 04 01 60 0ms 0ms 02 60 29s486ms 491ms 03 60 1m1s 1s16ms 04 60 1m1s 1s16ms 05 60 1m1s 1s16ms 06 60 1m1s 1s16ms 07 60 1m1s 1s16ms 08 60 1m1s 1s16ms 09 60 1m1s 1s16ms 10 60 1m1s 1s16ms 11 60 1m1s 1s16ms 12 60 8m20s 8s345ms 13 60 11m9s 11s163ms 14 60 1m 1s 15 60 1m 1s 16 60 1m44s 1s748ms 17 60 12m12s 12s212ms 18 60 12m12s 12s216ms 19 60 12m14s 12s249ms 20 60 12m15s 12s254ms 21 60 12m15s 12s252ms 22 60 12m6s 12s113ms 23 60 12m5s 12s89ms 00 60 11m22s 11s374ms [ User: monitoring_admin - Total duration: 2h9m39s - Times executed: 1349 ]
-
CREATE INDEX IF NOT EXISTS idx_uptime_checks_key ON observability.uptime_checks (check_key, checked_at DESC);
Date: 2026-06-04 12:53:01 Duration: 12s292ms Database: zemm_monitoring User: monitoring_admin Bind query: yes Log file: /var/log/postgresql/postgresql-2026-06-04_000000.csv
-
CREATE INDEX IF NOT EXISTS idx_uptime_checks_key ON observability.uptime_checks (check_key, checked_at DESC);
Date: 2026-06-04 16:10:02 Duration: 12s284ms Database: zemm_monitoring User: monitoring_admin Bind query: yes Log file: /var/log/postgresql/postgresql-2026-06-04_000000.csv
-
CREATE INDEX IF NOT EXISTS idx_uptime_checks_key ON observability.uptime_checks (check_key, checked_at DESC);
Date: 2026-06-04 17:33:01 Duration: 12s272ms Database: zemm_monitoring User: monitoring_admin Bind query: yes Log file: /var/log/postgresql/postgresql-2026-06-04_000000.csv
17 2h9m39s 1,440 1s 12s292ms 5s402ms create index if not exists idx_uptime_checks_endpoint on observability.uptime_checks (endpoint, checked_at desc);Times Reported Time consuming queries #17
Day Hour Count Duration Avg duration Jun 04 01 60 0ms 0ms 02 60 29s486ms 491ms 03 60 1m1s 1s16ms 04 60 1m1s 1s16ms 05 60 1m1s 1s16ms 06 60 1m1s 1s16ms 07 60 1m1s 1s16ms 08 60 1m1s 1s16ms 09 60 1m1s 1s16ms 10 60 1m1s 1s16ms 11 60 1m1s 1s16ms 12 60 8m20s 8s345ms 13 60 11m9s 11s163ms 14 60 1m 1s 15 60 1m 1s 16 60 1m44s 1s748ms 17 60 12m12s 12s212ms 18 60 12m12s 12s216ms 19 60 12m14s 12s249ms 20 60 12m15s 12s254ms 21 60 12m15s 12s252ms 22 60 12m6s 12s113ms 23 60 12m5s 12s89ms 00 60 11m22s 11s374ms [ User: monitoring_admin - Total duration: 2h9m39s - Times executed: 1349 ]
-
CREATE INDEX IF NOT EXISTS idx_uptime_checks_endpoint ON observability.uptime_checks (endpoint, checked_at DESC);
Date: 2026-06-04 12:53:01 Duration: 12s292ms Database: zemm_monitoring User: monitoring_admin Bind query: yes Log file: /var/log/postgresql/postgresql-2026-06-04_000000.csv
-
CREATE INDEX IF NOT EXISTS idx_uptime_checks_endpoint ON observability.uptime_checks (endpoint, checked_at DESC);
Date: 2026-06-04 16:10:02 Duration: 12s284ms Database: zemm_monitoring User: monitoring_admin Bind query: yes Log file: /var/log/postgresql/postgresql-2026-06-04_000000.csv
-
CREATE INDEX IF NOT EXISTS idx_uptime_checks_endpoint ON observability.uptime_checks (endpoint, checked_at DESC);
Date: 2026-06-04 17:33:01 Duration: 12s272ms Database: zemm_monitoring User: monitoring_admin Bind query: yes Log file: /var/log/postgresql/postgresql-2026-06-04_000000.csv
18 3m39s 18 12s89ms 12s292ms 12s207ms with start_snap as ( select distinct on (tenant_key, fingerprint) tenant_key, fingerprint, total_time_ms, calls, rows_returned, collected_at from observability.db_top_queries where tenant_key in (...) and collected_at >= ? and collected_at <= ? order by tenant_key, fingerprint, collected_at desc ), fallback_start as ( select distinct on (tenant_key, fingerprint) tenant_key, fingerprint, total_time_ms, calls, rows_returned, collected_at from observability.db_top_queries where tenant_key in (...) and collected_at between ? and ? order by tenant_key, fingerprint, collected_at asc ), end_snap as ( select distinct on (tenant_key, fingerprint) tenant_key, fingerprint, query, total_time_ms, calls, rows_returned, collected_at from observability.db_top_queries where tenant_key in (...) and collected_at between ? and ? order by tenant_key, fingerprint, collected_at desc ), deltas as ( select e.tenant_key, e.fingerprint, e.query, e.collected_at as last_seen, greatest (coalesce(e.total_time_ms, ?) - coalesce(s.total_time_ms, fs.total_time_ms, ?), ?) as total_time_ms, greatest (coalesce(e.calls, ?) - coalesce(s.calls, fs.calls, ?), ?) as calls, greatest (coalesce(e.rows_returned, ?) - coalesce(s.rows_returned, fs.rows_returned, ?), ?) as rows_returned from end_snap e left join start_snap s on s.tenant_key = e.tenant_key and s.fingerprint = e.fingerprint left join fallback_start fs on fs.tenant_key = e.tenant_key and fs.fingerprint = e.fingerprint and s.tenant_key is null ) select fingerprint, max(query) as query, max(last_seen) as last_seen, sum(total_time_ms) as total_time_ms, sum(calls) as calls, sum(rows_returned) as rows_returned, case when sum(calls) > ? then sum(total_time_ms) / sum(calls) else ? end as mean_time_ms, array_agg(distinct tenant_key order by tenant_key) as tenant_keys from deltas where total_time_ms > ? or calls > ? group by fingerprint order by total_time_ms desc, calls desc limit ? offset ?;Times Reported Time consuming queries #18
Day Hour Count Duration Avg duration Jun 04 12 1 12s292ms 12s292ms 16 1 12s219ms 12s219ms 17 6 1m13s 12s216ms 18 6 1m13s 12s211ms 19 1 12s254ms 12s254ms 21 1 12s120ms 12s120ms 22 2 24s290ms 12s145ms [ User: monitoring_admin - Total duration: 3m39s - Times executed: 18 ]
-
WITH start_snap AS ( SELECT DISTINCT ON (tenant_key, fingerprint) tenant_key, fingerprint, total_time_ms, calls, rows_returned, collected_at FROM observability.db_top_queries WHERE tenant_key IN ('prod', 'live') AND collected_at >= '2026-06-02 05:20:47+02' AND collected_at <= '2026-06-04 05:20:47+02' ORDER BY tenant_key, fingerprint, collected_at DESC ), fallback_start AS ( SELECT DISTINCT ON (tenant_key, fingerprint) tenant_key, fingerprint, total_time_ms, calls, rows_returned, collected_at FROM observability.db_top_queries WHERE tenant_key IN ('prod', 'live') AND collected_at BETWEEN '2026-06-04 05:20:47+02' AND '2026-06-04 11:20:47+02' ORDER BY tenant_key, fingerprint, collected_at ASC ), end_snap AS ( SELECT DISTINCT ON (tenant_key, fingerprint) tenant_key, fingerprint, query, total_time_ms, calls, rows_returned, collected_at FROM observability.db_top_queries WHERE tenant_key IN ('prod', 'live') AND collected_at BETWEEN '2026-06-04 05:20:47+02' AND '2026-06-04 11:20:47+02' ORDER BY tenant_key, fingerprint, collected_at DESC ), deltas AS ( SELECT e.tenant_key, e.fingerprint, e.query, e.collected_at AS last_seen, GREATEST (COALESCE(e.total_time_ms, 0) - COALESCE(s.total_time_ms, fs.total_time_ms, 0), 0) AS total_time_ms, GREATEST (COALESCE(e.calls, 0) - COALESCE(s.calls, fs.calls, 0), 0) AS calls, GREATEST (COALESCE(e.rows_returned, 0) - COALESCE(s.rows_returned, fs.rows_returned, 0), 0) AS rows_returned FROM end_snap e LEFT JOIN start_snap s ON s.tenant_key = e.tenant_key AND s.fingerprint = e.fingerprint LEFT JOIN fallback_start fs ON fs.tenant_key = e.tenant_key AND fs.fingerprint = e.fingerprint AND s.tenant_key IS NULL ) SELECT fingerprint, MAX(query) AS query, MAX(last_seen) AS last_seen, SUM(total_time_ms) AS total_time_ms, SUM(calls) AS calls, SUM(rows_returned) AS rows_returned, CASE WHEN SUM(calls) > 0 THEN SUM(total_time_ms) / SUM(calls) ELSE 0 END AS mean_time_ms, array_agg(DISTINCT tenant_key ORDER BY tenant_key) AS tenant_keys FROM deltas WHERE total_time_ms > 0 OR calls > 0 GROUP BY fingerprint ORDER BY total_time_ms DESC, calls DESC LIMIT '20' OFFSET '0';
Date: 2026-06-04 11:21:00 Duration: 12s292ms Database: zemm_monitoring User: monitoring_admin Bind query: yes Log file: /var/log/postgresql/postgresql-2026-06-04_000000.csv
-
WITH start_snap AS ( SELECT DISTINCT ON (tenant_key, fingerprint) tenant_key, fingerprint, total_time_ms, calls, rows_returned, collected_at FROM observability.db_top_queries WHERE tenant_key IN ('prod', 'live') AND collected_at >= '2026-06-02 10:00:47+02' AND collected_at <= '2026-06-04 10:00:47+02' ORDER BY tenant_key, fingerprint, collected_at DESC ), fallback_start AS ( SELECT DISTINCT ON (tenant_key, fingerprint) tenant_key, fingerprint, total_time_ms, calls, rows_returned, collected_at FROM observability.db_top_queries WHERE tenant_key IN ('prod', 'live') AND collected_at BETWEEN '2026-06-04 10:00:47+02' AND '2026-06-04 16:00:47+02' ORDER BY tenant_key, fingerprint, collected_at ASC ), end_snap AS ( SELECT DISTINCT ON (tenant_key, fingerprint) tenant_key, fingerprint, query, total_time_ms, calls, rows_returned, collected_at FROM observability.db_top_queries WHERE tenant_key IN ('prod', 'live') AND collected_at BETWEEN '2026-06-04 10:00:47+02' AND '2026-06-04 16:00:47+02' ORDER BY tenant_key, fingerprint, collected_at DESC ), deltas AS ( SELECT e.tenant_key, e.fingerprint, e.query, e.collected_at AS last_seen, GREATEST (COALESCE(e.total_time_ms, 0) - COALESCE(s.total_time_ms, fs.total_time_ms, 0), 0) AS total_time_ms, GREATEST (COALESCE(e.calls, 0) - COALESCE(s.calls, fs.calls, 0), 0) AS calls, GREATEST (COALESCE(e.rows_returned, 0) - COALESCE(s.rows_returned, fs.rows_returned, 0), 0) AS rows_returned FROM end_snap e LEFT JOIN start_snap s ON s.tenant_key = e.tenant_key AND s.fingerprint = e.fingerprint LEFT JOIN fallback_start fs ON fs.tenant_key = e.tenant_key AND fs.fingerprint = e.fingerprint AND s.tenant_key IS NULL ) SELECT fingerprint, MAX(query) AS query, MAX(last_seen) AS last_seen, SUM(total_time_ms) AS total_time_ms, SUM(calls) AS calls, SUM(rows_returned) AS rows_returned, CASE WHEN SUM(calls) > 0 THEN SUM(total_time_ms) / SUM(calls) ELSE 0 END AS mean_time_ms, array_agg(DISTINCT tenant_key ORDER BY tenant_key) AS tenant_keys FROM deltas WHERE total_time_ms > 0 OR calls > 0 GROUP BY fingerprint ORDER BY total_time_ms DESC, calls DESC LIMIT '20' OFFSET '0';
Date: 2026-06-04 16:00:59 Duration: 12s284ms Database: zemm_monitoring User: monitoring_admin Bind query: yes Log file: /var/log/postgresql/postgresql-2026-06-04_000000.csv
-
WITH start_snap AS ( SELECT DISTINCT ON (tenant_key, fingerprint) tenant_key, fingerprint, total_time_ms, calls, rows_returned, collected_at FROM observability.db_top_queries WHERE tenant_key IN ('prod', 'live') AND collected_at >= '2026-06-02 11:22:40+02' AND collected_at <= '2026-06-04 11:22:40+02' ORDER BY tenant_key, fingerprint, collected_at DESC ), fallback_start AS ( SELECT DISTINCT ON (tenant_key, fingerprint) tenant_key, fingerprint, total_time_ms, calls, rows_returned, collected_at FROM observability.db_top_queries WHERE tenant_key IN ('prod', 'live') AND collected_at BETWEEN '2026-06-04 11:22:40+02' AND '2026-06-04 17:22:40+02' ORDER BY tenant_key, fingerprint, collected_at ASC ), end_snap AS ( SELECT DISTINCT ON (tenant_key, fingerprint) tenant_key, fingerprint, query, total_time_ms, calls, rows_returned, collected_at FROM observability.db_top_queries WHERE tenant_key IN ('prod', 'live') AND collected_at BETWEEN '2026-06-04 11:22:40+02' AND '2026-06-04 17:22:40+02' ORDER BY tenant_key, fingerprint, collected_at DESC ), deltas AS ( SELECT e.tenant_key, e.fingerprint, e.query, e.collected_at AS last_seen, GREATEST (COALESCE(e.total_time_ms, 0) - COALESCE(s.total_time_ms, fs.total_time_ms, 0), 0) AS total_time_ms, GREATEST (COALESCE(e.calls, 0) - COALESCE(s.calls, fs.calls, 0), 0) AS calls, GREATEST (COALESCE(e.rows_returned, 0) - COALESCE(s.rows_returned, fs.rows_returned, 0), 0) AS rows_returned FROM end_snap e LEFT JOIN start_snap s ON s.tenant_key = e.tenant_key AND s.fingerprint = e.fingerprint LEFT JOIN fallback_start fs ON fs.tenant_key = e.tenant_key AND fs.fingerprint = e.fingerprint AND s.tenant_key IS NULL ) SELECT fingerprint, MAX(query) AS query, MAX(last_seen) AS last_seen, SUM(total_time_ms) AS total_time_ms, SUM(calls) AS calls, SUM(rows_returned) AS rows_returned, CASE WHEN SUM(calls) > 0 THEN SUM(total_time_ms) / SUM(calls) ELSE 0 END AS mean_time_ms, array_agg(DISTINCT tenant_key ORDER BY tenant_key) AS tenant_keys FROM deltas WHERE total_time_ms > 0 OR calls > 0 GROUP BY fingerprint ORDER BY total_time_ms DESC, calls DESC LIMIT '20' OFFSET '0';
Date: 2026-06-04 17:22:52 Duration: 12s272ms Database: zemm_monitoring User: monitoring_admin Bind query: yes Log file: /var/log/postgresql/postgresql-2026-06-04_000000.csv
19 2s48ms 1 2s48ms 2s48ms 2s48ms copy public.diary (id, "animalID", date, "entrybyID", "cageID", weight, temperature, "fDeprivation", "wDeprivation", "sDeprivation", "feedingClass", health, comments, "breedingInfo", deleted, "inOutDate", "inOutFlag", text, sdesc, treatment, tailcut_id, tailcut_result, file_name, file_content, file_type, upload_name, old_gene_type, old_gene_info, old_gene2_type, old_gene2_info, old_gene3_info, old_gene3_type, old_gene4_info, old_gene4_type, old_gene5_info, old_gene5_type) to stdout;Times Reported Time consuming queries #19
Day Hour Count Duration Avg duration Jun 04 00 1 2s48ms 2s48ms [ User: postgres - Total duration: 2s48ms - Times executed: 1 ]
[ Application: pg_dump - Total duration: 2s48ms - Times executed: 1 ]
-
COPY public.diary (id, "animalID", date, "entrybyID", "cageID", weight, temperature, "fDeprivation", "wDeprivation", "sDeprivation", "feedingClass", health, comments, "breedingInfo", deleted, "inOutDate", "inOutFlag", text, sdesc, treatment, tailcut_id, tailcut_result, file_name, file_content, file_type, upload_name, old_gene_type, old_gene_info, old_gene2_type, old_gene2_info, old_gene3_info, old_gene3_type, old_gene4_info, old_gene4_type, old_gene5_info, old_gene5_type) TO stdout;
Date: 2026-06-04 23:55:15 Duration: 2s48ms Database: zemm_produktiv_8 User: postgres Remote: [local] Application: pg_dump Bind query: yes Log file: /var/log/postgresql/postgresql-2026-06-04_000000.csv
20 1s374ms 1 1s374ms 1s374ms 1s374ms copy public."targetgroupMembers" (id, targetgroup, "user", "group") to stdout;Times Reported Time consuming queries #20
Day Hour Count Duration Avg duration Jun 04 00 1 1s374ms 1s374ms [ User: postgres - Total duration: 1s374ms - Times executed: 1 ]
[ Application: pg_dump - Total duration: 1s374ms - Times executed: 1 ]
-
COPY public."targetgroupMembers" (id, targetgroup, "user", "group") TO stdout;
Date: 2026-06-04 23:55:18 Duration: 1s374ms Database: zemm_produktiv_8 User: postgres Remote: [local] Application: pg_dump Bind query: yes Log file: /var/log/postgresql/postgresql-2026-06-04_000000.csv
Most frequent queries (N)
Rank Times executed Total duration Min duration Max duration Avg duration Query 1 1,440 2h9m51s 1s 12s292ms 5s410ms create table if not exists observability.db_top_queries ( id bigserial primary key, tenant_key text not null, fingerprint text, query text, mean_time_ms double precision, total_time_ms double precision, calls bigint, rows_returned bigint, collected_at timestamptz not null default now() );Times Reported Time consuming queries #1
Day Hour Count Duration Avg duration Jun 04 01 60 0ms 0ms 02 60 29s486ms 491ms 03 60 1m1s 1s16ms 04 60 1m1s 1s16ms 05 60 1m1s 1s16ms 06 60 1m1s 1s16ms 07 60 1m1s 1s16ms 08 60 1m1s 1s16ms 09 60 1m1s 1s16ms 10 60 1m1s 1s16ms 11 60 1m1s 1s16ms 12 60 8m20s 8s345ms 13 60 11m21s 11s351ms 14 60 1m 1s 15 60 1m 1s 16 60 1m44s 1s748ms 17 60 12m12s 12s212ms 18 60 12m12s 12s216ms 19 60 12m14s 12s249ms 20 60 12m15s 12s254ms 21 60 12m15s 12s252ms 22 60 12m6s 12s113ms 23 60 12m5s 12s89ms 00 60 11m22s 11s374ms [ User: monitoring_admin - Total duration: 2h9m51s - Times executed: 1349 ]
-
CREATE TABLE IF NOT EXISTS observability.db_top_queries ( id bigserial PRIMARY KEY, tenant_key text NOT NULL, fingerprint text, query text, mean_time_ms double precision, total_time_ms double precision, calls bigint, rows_returned bigint, collected_at timestamptz NOT NULL DEFAULT NOW() );
Date: 2026-06-04 12:54:01 Duration: 12s292ms Database: zemm_monitoring User: monitoring_admin Bind query: yes Log file: /var/log/postgresql/postgresql-2026-06-04_000000.csv
-
CREATE TABLE IF NOT EXISTS observability.db_top_queries ( id bigserial PRIMARY KEY, tenant_key text NOT NULL, fingerprint text, query text, mean_time_ms double precision, total_time_ms double precision, calls bigint, rows_returned bigint, collected_at timestamptz NOT NULL DEFAULT NOW() );
Date: 2026-06-04 16:10:02 Duration: 12s284ms Database: zemm_monitoring User: monitoring_admin Bind query: yes Log file: /var/log/postgresql/postgresql-2026-06-04_000000.csv
-
CREATE TABLE IF NOT EXISTS observability.db_top_queries ( id bigserial PRIMARY KEY, tenant_key text NOT NULL, fingerprint text, query text, mean_time_ms double precision, total_time_ms double precision, calls bigint, rows_returned bigint, collected_at timestamptz NOT NULL DEFAULT NOW() );
Date: 2026-06-04 17:33:01 Duration: 12s272ms Database: zemm_monitoring User: monitoring_admin Bind query: yes Log file: /var/log/postgresql/postgresql-2026-06-04_000000.csv
2 1,440 2h9m51s 1s 12s292ms 5s410ms create index if not exists idx_app_events_type on observability.app_events (event_type);Times Reported Time consuming queries #2
Day Hour Count Duration Avg duration Jun 04 01 60 0ms 0ms 02 60 29s486ms 491ms 03 60 1m1s 1s16ms 04 60 1m1s 1s16ms 05 60 1m1s 1s16ms 06 60 1m1s 1s16ms 07 60 1m1s 1s16ms 08 60 1m1s 1s16ms 09 60 1m1s 1s16ms 10 60 1m1s 1s16ms 11 60 1m1s 1s16ms 12 60 8m20s 8s345ms 13 60 11m21s 11s351ms 14 60 1m 1s 15 60 1m 1s 16 60 1m44s 1s748ms 17 60 12m12s 12s212ms 18 60 12m12s 12s216ms 19 60 12m14s 12s249ms 20 60 12m15s 12s254ms 21 60 12m15s 12s252ms 22 60 12m6s 12s113ms 23 60 12m5s 12s89ms 00 60 11m22s 11s374ms [ User: monitoring_admin - Total duration: 2h9m51s - Times executed: 1349 ]
-
CREATE INDEX IF NOT EXISTS idx_app_events_type ON observability.app_events (event_type);
Date: 2026-06-04 12:54:01 Duration: 12s292ms Database: zemm_monitoring User: monitoring_admin Bind query: yes Log file: /var/log/postgresql/postgresql-2026-06-04_000000.csv
-
CREATE INDEX IF NOT EXISTS idx_app_events_type ON observability.app_events (event_type);
Date: 2026-06-04 16:10:02 Duration: 12s284ms Database: zemm_monitoring User: monitoring_admin Bind query: yes Log file: /var/log/postgresql/postgresql-2026-06-04_000000.csv
-
CREATE INDEX IF NOT EXISTS idx_app_events_type ON observability.app_events (event_type);
Date: 2026-06-04 17:33:01 Duration: 12s272ms Database: zemm_monitoring User: monitoring_admin Bind query: yes Log file: /var/log/postgresql/postgresql-2026-06-04_000000.csv
3 1,440 2h9m51s 1s 12s292ms 5s410ms create index if not exists idx_metrics_timeseries_bucket on observability.metrics_timeseries (bucket_start);Times Reported Time consuming queries #3
Day Hour Count Duration Avg duration Jun 04 01 60 0ms 0ms 02 60 29s486ms 491ms 03 60 1m1s 1s16ms 04 60 1m1s 1s16ms 05 60 1m1s 1s16ms 06 60 1m1s 1s16ms 07 60 1m1s 1s16ms 08 60 1m1s 1s16ms 09 60 1m1s 1s16ms 10 60 1m1s 1s16ms 11 60 1m1s 1s16ms 12 60 8m20s 8s345ms 13 60 11m21s 11s351ms 14 60 1m 1s 15 60 1m 1s 16 60 1m44s 1s748ms 17 60 12m12s 12s212ms 18 60 12m12s 12s216ms 19 60 12m14s 12s249ms 20 60 12m15s 12s254ms 21 60 12m15s 12s252ms 22 60 12m6s 12s113ms 23 60 12m5s 12s89ms 00 60 11m22s 11s374ms [ User: monitoring_admin - Total duration: 2h9m51s - Times executed: 1349 ]
-
CREATE INDEX IF NOT EXISTS idx_metrics_timeseries_bucket ON observability.metrics_timeseries (bucket_start);
Date: 2026-06-04 12:54:01 Duration: 12s292ms Database: zemm_monitoring User: monitoring_admin Bind query: yes Log file: /var/log/postgresql/postgresql-2026-06-04_000000.csv
-
CREATE INDEX IF NOT EXISTS idx_metrics_timeseries_bucket ON observability.metrics_timeseries (bucket_start);
Date: 2026-06-04 16:10:02 Duration: 12s284ms Database: zemm_monitoring User: monitoring_admin Bind query: yes Log file: /var/log/postgresql/postgresql-2026-06-04_000000.csv
-
CREATE INDEX IF NOT EXISTS idx_metrics_timeseries_bucket ON observability.metrics_timeseries (bucket_start);
Date: 2026-06-04 17:33:01 Duration: 12s272ms Database: zemm_monitoring User: monitoring_admin Bind query: yes Log file: /var/log/postgresql/postgresql-2026-06-04_000000.csv
4 1,440 2h9m51s 1s 12s292ms 5s410ms create index if not exists idx_metrics_timeseries_metric on observability.metrics_timeseries (metric_name);Times Reported Time consuming queries #4
Day Hour Count Duration Avg duration Jun 04 01 60 0ms 0ms 02 60 29s486ms 491ms 03 60 1m1s 1s16ms 04 60 1m1s 1s16ms 05 60 1m1s 1s16ms 06 60 1m1s 1s16ms 07 60 1m1s 1s16ms 08 60 1m1s 1s16ms 09 60 1m1s 1s16ms 10 60 1m1s 1s16ms 11 60 1m1s 1s16ms 12 60 8m20s 8s345ms 13 60 11m21s 11s351ms 14 60 1m 1s 15 60 1m 1s 16 60 1m44s 1s748ms 17 60 12m12s 12s212ms 18 60 12m12s 12s216ms 19 60 12m14s 12s249ms 20 60 12m15s 12s254ms 21 60 12m15s 12s252ms 22 60 12m6s 12s113ms 23 60 12m5s 12s89ms 00 60 11m22s 11s374ms [ User: monitoring_admin - Total duration: 2h9m51s - Times executed: 1349 ]
-
CREATE INDEX IF NOT EXISTS idx_metrics_timeseries_metric ON observability.metrics_timeseries (metric_name);
Date: 2026-06-04 12:54:01 Duration: 12s292ms Database: zemm_monitoring User: monitoring_admin Bind query: yes Log file: /var/log/postgresql/postgresql-2026-06-04_000000.csv
-
CREATE INDEX IF NOT EXISTS idx_metrics_timeseries_metric ON observability.metrics_timeseries (metric_name);
Date: 2026-06-04 16:10:02 Duration: 12s284ms Database: zemm_monitoring User: monitoring_admin Bind query: yes Log file: /var/log/postgresql/postgresql-2026-06-04_000000.csv
-
CREATE INDEX IF NOT EXISTS idx_metrics_timeseries_metric ON observability.metrics_timeseries (metric_name);
Date: 2026-06-04 17:33:01 Duration: 12s272ms Database: zemm_monitoring User: monitoring_admin Bind query: yes Log file: /var/log/postgresql/postgresql-2026-06-04_000000.csv
5 1,440 2h9m51s 1s 12s292ms 5s410ms create table if not exists observability.metrics_timeseries ( id bigserial primary key, tenant_key text not null, metric_name text not null, bucket_start timestamptz not null, bucket_width_seconds integer not null default ?, sum_value double precision not null default ?, count_value bigint not null default ?, histogram jsonb, created_at timestamptz not null default now(), updated_at timestamptz not null default now(), unique (tenant_key, metric_name, bucket_start, bucket_width_seconds) );Times Reported Time consuming queries #5
Day Hour Count Duration Avg duration Jun 04 01 60 0ms 0ms 02 60 29s486ms 491ms 03 60 1m1s 1s16ms 04 60 1m1s 1s16ms 05 60 1m1s 1s16ms 06 60 1m1s 1s16ms 07 60 1m1s 1s16ms 08 60 1m1s 1s16ms 09 60 1m1s 1s16ms 10 60 1m1s 1s16ms 11 60 1m1s 1s16ms 12 60 8m20s 8s345ms 13 60 11m21s 11s351ms 14 60 1m 1s 15 60 1m 1s 16 60 1m44s 1s748ms 17 60 12m12s 12s212ms 18 60 12m12s 12s216ms 19 60 12m14s 12s249ms 20 60 12m15s 12s254ms 21 60 12m15s 12s252ms 22 60 12m6s 12s113ms 23 60 12m5s 12s89ms 00 60 11m22s 11s374ms [ User: monitoring_admin - Total duration: 2h9m51s - Times executed: 1349 ]
-
CREATE TABLE IF NOT EXISTS observability.metrics_timeseries ( id bigserial PRIMARY KEY, tenant_key text NOT NULL, metric_name text NOT NULL, bucket_start timestamptz NOT NULL, bucket_width_seconds integer NOT NULL DEFAULT 60, sum_value double precision NOT NULL DEFAULT 0, count_value bigint NOT NULL DEFAULT 0, histogram jsonb, created_at timestamptz NOT NULL DEFAULT NOW(), updated_at timestamptz NOT NULL DEFAULT NOW(), UNIQUE (tenant_key, metric_name, bucket_start, bucket_width_seconds) );
Date: 2026-06-04 12:54:01 Duration: 12s292ms Database: zemm_monitoring User: monitoring_admin Bind query: yes Log file: /var/log/postgresql/postgresql-2026-06-04_000000.csv
-
CREATE TABLE IF NOT EXISTS observability.metrics_timeseries ( id bigserial PRIMARY KEY, tenant_key text NOT NULL, metric_name text NOT NULL, bucket_start timestamptz NOT NULL, bucket_width_seconds integer NOT NULL DEFAULT 60, sum_value double precision NOT NULL DEFAULT 0, count_value bigint NOT NULL DEFAULT 0, histogram jsonb, created_at timestamptz NOT NULL DEFAULT NOW(), updated_at timestamptz NOT NULL DEFAULT NOW(), UNIQUE (tenant_key, metric_name, bucket_start, bucket_width_seconds) );
Date: 2026-06-04 16:10:02 Duration: 12s284ms Database: zemm_monitoring User: monitoring_admin Bind query: yes Log file: /var/log/postgresql/postgresql-2026-06-04_000000.csv
-
CREATE TABLE IF NOT EXISTS observability.metrics_timeseries ( id bigserial PRIMARY KEY, tenant_key text NOT NULL, metric_name text NOT NULL, bucket_start timestamptz NOT NULL, bucket_width_seconds integer NOT NULL DEFAULT 60, sum_value double precision NOT NULL DEFAULT 0, count_value bigint NOT NULL DEFAULT 0, histogram jsonb, created_at timestamptz NOT NULL DEFAULT NOW(), updated_at timestamptz NOT NULL DEFAULT NOW(), UNIQUE (tenant_key, metric_name, bucket_start, bucket_width_seconds) );
Date: 2026-06-04 17:33:01 Duration: 12s272ms Database: zemm_monitoring User: monitoring_admin Bind query: yes Log file: /var/log/postgresql/postgresql-2026-06-04_000000.csv
6 1,440 2h9m51s 1s 12s292ms 5s410ms create schema if not exists observability;Times Reported Time consuming queries #6
Day Hour Count Duration Avg duration Jun 04 01 60 0ms 0ms 02 60 29s486ms 491ms 03 60 1m1s 1s16ms 04 60 1m1s 1s16ms 05 60 1m1s 1s16ms 06 60 1m1s 1s16ms 07 60 1m1s 1s16ms 08 60 1m1s 1s16ms 09 60 1m1s 1s16ms 10 60 1m1s 1s16ms 11 60 1m1s 1s16ms 12 60 8m20s 8s345ms 13 60 11m21s 11s351ms 14 60 1m 1s 15 60 1m 1s 16 60 1m44s 1s748ms 17 60 12m12s 12s212ms 18 60 12m12s 12s216ms 19 60 12m14s 12s249ms 20 60 12m15s 12s254ms 21 60 12m15s 12s252ms 22 60 12m6s 12s113ms 23 60 12m5s 12s89ms 00 60 11m22s 11s374ms [ User: monitoring_admin - Total duration: 2h9m51s - Times executed: 1349 ]
-
CREATE SCHEMA IF NOT EXISTS observability;
Date: 2026-06-04 12:54:01 Duration: 12s292ms Database: zemm_monitoring User: monitoring_admin Bind query: yes Log file: /var/log/postgresql/postgresql-2026-06-04_000000.csv
-
CREATE SCHEMA IF NOT EXISTS observability;
Date: 2026-06-04 16:10:02 Duration: 12s284ms Database: zemm_monitoring User: monitoring_admin Bind query: yes Log file: /var/log/postgresql/postgresql-2026-06-04_000000.csv
-
CREATE SCHEMA IF NOT EXISTS observability;
Date: 2026-06-04 17:33:01 Duration: 12s272ms Database: zemm_monitoring User: monitoring_admin Bind query: yes Log file: /var/log/postgresql/postgresql-2026-06-04_000000.csv
7 1,440 2h9m51s 1s 12s292ms 5s410ms create index if not exists idx_db_top_queries_tenant on observability.db_top_queries (tenant_key, collected_at desc);Times Reported Time consuming queries #7
Day Hour Count Duration Avg duration Jun 04 01 60 0ms 0ms 02 60 29s486ms 491ms 03 60 1m1s 1s16ms 04 60 1m1s 1s16ms 05 60 1m1s 1s16ms 06 60 1m1s 1s16ms 07 60 1m1s 1s16ms 08 60 1m1s 1s16ms 09 60 1m1s 1s16ms 10 60 1m1s 1s16ms 11 60 1m1s 1s16ms 12 60 8m20s 8s345ms 13 60 11m21s 11s351ms 14 60 1m 1s 15 60 1m 1s 16 60 1m44s 1s748ms 17 60 12m12s 12s212ms 18 60 12m12s 12s216ms 19 60 12m14s 12s249ms 20 60 12m15s 12s254ms 21 60 12m15s 12s252ms 22 60 12m6s 12s113ms 23 60 12m5s 12s89ms 00 60 11m22s 11s374ms [ User: monitoring_admin - Total duration: 2h9m51s - Times executed: 1349 ]
-
CREATE INDEX IF NOT EXISTS idx_db_top_queries_tenant ON observability.db_top_queries (tenant_key, collected_at DESC);
Date: 2026-06-04 12:54:01 Duration: 12s292ms Database: zemm_monitoring User: monitoring_admin Bind query: yes Log file: /var/log/postgresql/postgresql-2026-06-04_000000.csv
-
CREATE INDEX IF NOT EXISTS idx_db_top_queries_tenant ON observability.db_top_queries (tenant_key, collected_at DESC);
Date: 2026-06-04 16:10:02 Duration: 12s284ms Database: zemm_monitoring User: monitoring_admin Bind query: yes Log file: /var/log/postgresql/postgresql-2026-06-04_000000.csv
-
CREATE INDEX IF NOT EXISTS idx_db_top_queries_tenant ON observability.db_top_queries (tenant_key, collected_at DESC);
Date: 2026-06-04 17:33:01 Duration: 12s272ms Database: zemm_monitoring User: monitoring_admin Bind query: yes Log file: /var/log/postgresql/postgresql-2026-06-04_000000.csv
8 1,440 2h9m51s 1s 12s292ms 5s410ms create table if not exists observability.app_events ( id bigserial primary key, tenant_key text not null, event_type text not null, severity text not null, message text not null, payload jsonb, occurred_at timestamptz not null default now(), created_at timestamptz not null default now() );Times Reported Time consuming queries #8
Day Hour Count Duration Avg duration Jun 04 01 60 0ms 0ms 02 60 29s486ms 491ms 03 60 1m1s 1s16ms 04 60 1m1s 1s16ms 05 60 1m1s 1s16ms 06 60 1m1s 1s16ms 07 60 1m1s 1s16ms 08 60 1m1s 1s16ms 09 60 1m1s 1s16ms 10 60 1m1s 1s16ms 11 60 1m1s 1s16ms 12 60 8m20s 8s345ms 13 60 11m21s 11s351ms 14 60 1m 1s 15 60 1m 1s 16 60 1m44s 1s748ms 17 60 12m12s 12s212ms 18 60 12m12s 12s216ms 19 60 12m14s 12s249ms 20 60 12m15s 12s254ms 21 60 12m15s 12s252ms 22 60 12m6s 12s113ms 23 60 12m5s 12s89ms 00 60 11m22s 11s374ms [ User: monitoring_admin - Total duration: 2h9m51s - Times executed: 1349 ]
-
CREATE TABLE IF NOT EXISTS observability.app_events ( id bigserial PRIMARY KEY, tenant_key text NOT NULL, event_type text NOT NULL, severity text NOT NULL, message text NOT NULL, payload jsonb, occurred_at timestamptz NOT NULL DEFAULT NOW(), created_at timestamptz NOT NULL DEFAULT NOW() );
Date: 2026-06-04 12:54:01 Duration: 12s292ms Database: zemm_monitoring User: monitoring_admin Bind query: yes Log file: /var/log/postgresql/postgresql-2026-06-04_000000.csv
-
CREATE TABLE IF NOT EXISTS observability.app_events ( id bigserial PRIMARY KEY, tenant_key text NOT NULL, event_type text NOT NULL, severity text NOT NULL, message text NOT NULL, payload jsonb, occurred_at timestamptz NOT NULL DEFAULT NOW(), created_at timestamptz NOT NULL DEFAULT NOW() );
Date: 2026-06-04 16:10:02 Duration: 12s284ms Database: zemm_monitoring User: monitoring_admin Bind query: yes Log file: /var/log/postgresql/postgresql-2026-06-04_000000.csv
-
CREATE TABLE IF NOT EXISTS observability.app_events ( id bigserial PRIMARY KEY, tenant_key text NOT NULL, event_type text NOT NULL, severity text NOT NULL, message text NOT NULL, payload jsonb, occurred_at timestamptz NOT NULL DEFAULT NOW(), created_at timestamptz NOT NULL DEFAULT NOW() );
Date: 2026-06-04 17:33:01 Duration: 12s272ms Database: zemm_monitoring User: monitoring_admin Bind query: yes Log file: /var/log/postgresql/postgresql-2026-06-04_000000.csv
9 1,440 2h9m51s 1s 12s292ms 5s410ms create index if not exists idx_app_events_tenant on observability.app_events (tenant_key, occurred_at desc);Times Reported Time consuming queries #9
Day Hour Count Duration Avg duration Jun 04 01 60 0ms 0ms 02 60 29s486ms 491ms 03 60 1m1s 1s16ms 04 60 1m1s 1s16ms 05 60 1m1s 1s16ms 06 60 1m1s 1s16ms 07 60 1m1s 1s16ms 08 60 1m1s 1s16ms 09 60 1m1s 1s16ms 10 60 1m1s 1s16ms 11 60 1m1s 1s16ms 12 60 8m20s 8s345ms 13 60 11m21s 11s351ms 14 60 1m 1s 15 60 1m 1s 16 60 1m44s 1s748ms 17 60 12m12s 12s212ms 18 60 12m12s 12s216ms 19 60 12m14s 12s249ms 20 60 12m15s 12s254ms 21 60 12m15s 12s252ms 22 60 12m6s 12s113ms 23 60 12m5s 12s89ms 00 60 11m22s 11s374ms [ User: monitoring_admin - Total duration: 2h9m51s - Times executed: 1349 ]
-
CREATE INDEX IF NOT EXISTS idx_app_events_tenant ON observability.app_events (tenant_key, occurred_at DESC);
Date: 2026-06-04 12:54:01 Duration: 12s292ms Database: zemm_monitoring User: monitoring_admin Bind query: yes Log file: /var/log/postgresql/postgresql-2026-06-04_000000.csv
-
CREATE INDEX IF NOT EXISTS idx_app_events_tenant ON observability.app_events (tenant_key, occurred_at DESC);
Date: 2026-06-04 16:10:02 Duration: 12s284ms Database: zemm_monitoring User: monitoring_admin Bind query: yes Log file: /var/log/postgresql/postgresql-2026-06-04_000000.csv
-
CREATE INDEX IF NOT EXISTS idx_app_events_tenant ON observability.app_events (tenant_key, occurred_at DESC);
Date: 2026-06-04 17:33:01 Duration: 12s272ms Database: zemm_monitoring User: monitoring_admin Bind query: yes Log file: /var/log/postgresql/postgresql-2026-06-04_000000.csv
10 1,440 2h9m39s 1s 12s292ms 5s402ms create table if not exists observability.system_metrics ( id bigserial primary key, payload jsonb not null, collected_at timestamptz not null default now() );Times Reported Time consuming queries #10
Day Hour Count Duration Avg duration Jun 04 01 60 0ms 0ms 02 60 29s486ms 491ms 03 60 1m1s 1s16ms 04 60 1m1s 1s16ms 05 60 1m1s 1s16ms 06 60 1m1s 1s16ms 07 60 1m1s 1s16ms 08 60 1m1s 1s16ms 09 60 1m1s 1s16ms 10 60 1m1s 1s16ms 11 60 1m1s 1s16ms 12 60 8m20s 8s345ms 13 60 11m9s 11s163ms 14 60 1m 1s 15 60 1m 1s 16 60 1m44s 1s748ms 17 60 12m12s 12s212ms 18 60 12m12s 12s216ms 19 60 12m14s 12s249ms 20 60 12m15s 12s254ms 21 60 12m15s 12s252ms 22 60 12m6s 12s113ms 23 60 12m5s 12s89ms 00 60 11m22s 11s374ms [ User: monitoring_admin - Total duration: 2h9m39s - Times executed: 1349 ]
-
CREATE TABLE IF NOT EXISTS observability.system_metrics ( id bigserial PRIMARY KEY, payload jsonb NOT NULL, collected_at timestamptz NOT NULL DEFAULT NOW() );
Date: 2026-06-04 12:53:01 Duration: 12s292ms Database: zemm_monitoring User: monitoring_admin Bind query: yes Log file: /var/log/postgresql/postgresql-2026-06-04_000000.csv
-
CREATE TABLE IF NOT EXISTS observability.system_metrics ( id bigserial PRIMARY KEY, payload jsonb NOT NULL, collected_at timestamptz NOT NULL DEFAULT NOW() );
Date: 2026-06-04 16:10:02 Duration: 12s284ms Database: zemm_monitoring User: monitoring_admin Bind query: yes Log file: /var/log/postgresql/postgresql-2026-06-04_000000.csv
-
CREATE TABLE IF NOT EXISTS observability.system_metrics ( id bigserial PRIMARY KEY, payload jsonb NOT NULL, collected_at timestamptz NOT NULL DEFAULT NOW() );
Date: 2026-06-04 17:33:01 Duration: 12s272ms Database: zemm_monitoring User: monitoring_admin Bind query: yes Log file: /var/log/postgresql/postgresql-2026-06-04_000000.csv
11 1,440 2h9m39s 1s 12s292ms 5s402ms create table if not exists observability.uptime_checks ( id bigserial primary key, endpoint text not null, status text not null, latency_ms double precision, checked_at timestamptz not null default now() );Times Reported Time consuming queries #11
Day Hour Count Duration Avg duration Jun 04 01 60 0ms 0ms 02 60 29s486ms 491ms 03 60 1m1s 1s16ms 04 60 1m1s 1s16ms 05 60 1m1s 1s16ms 06 60 1m1s 1s16ms 07 60 1m1s 1s16ms 08 60 1m1s 1s16ms 09 60 1m1s 1s16ms 10 60 1m1s 1s16ms 11 60 1m1s 1s16ms 12 60 8m20s 8s345ms 13 60 11m9s 11s163ms 14 60 1m 1s 15 60 1m 1s 16 60 1m44s 1s748ms 17 60 12m12s 12s212ms 18 60 12m12s 12s216ms 19 60 12m14s 12s249ms 20 60 12m15s 12s254ms 21 60 12m15s 12s252ms 22 60 12m6s 12s113ms 23 60 12m5s 12s89ms 00 60 11m22s 11s374ms [ User: monitoring_admin - Total duration: 2h9m39s - Times executed: 1349 ]
-
CREATE TABLE IF NOT EXISTS observability.uptime_checks ( id bigserial PRIMARY KEY, endpoint text NOT NULL, status text NOT NULL, latency_ms double precision, checked_at timestamptz NOT NULL DEFAULT NOW() );
Date: 2026-06-04 12:53:01 Duration: 12s292ms Database: zemm_monitoring User: monitoring_admin Bind query: yes Log file: /var/log/postgresql/postgresql-2026-06-04_000000.csv
-
CREATE TABLE IF NOT EXISTS observability.uptime_checks ( id bigserial PRIMARY KEY, endpoint text NOT NULL, status text NOT NULL, latency_ms double precision, checked_at timestamptz NOT NULL DEFAULT NOW() );
Date: 2026-06-04 16:10:02 Duration: 12s284ms Database: zemm_monitoring User: monitoring_admin Bind query: yes Log file: /var/log/postgresql/postgresql-2026-06-04_000000.csv
-
CREATE TABLE IF NOT EXISTS observability.uptime_checks ( id bigserial PRIMARY KEY, endpoint text NOT NULL, status text NOT NULL, latency_ms double precision, checked_at timestamptz NOT NULL DEFAULT NOW() );
Date: 2026-06-04 17:33:01 Duration: 12s272ms Database: zemm_monitoring User: monitoring_admin Bind query: yes Log file: /var/log/postgresql/postgresql-2026-06-04_000000.csv
12 1,440 2h9m39s 1s 12s292ms 5s402ms alter table observability.uptime_checks add column if not exists label text;Times Reported Time consuming queries #12
Day Hour Count Duration Avg duration Jun 04 01 60 0ms 0ms 02 60 29s486ms 491ms 03 60 1m1s 1s16ms 04 60 1m1s 1s16ms 05 60 1m1s 1s16ms 06 60 1m1s 1s16ms 07 60 1m1s 1s16ms 08 60 1m1s 1s16ms 09 60 1m1s 1s16ms 10 60 1m1s 1s16ms 11 60 1m1s 1s16ms 12 60 8m20s 8s345ms 13 60 11m9s 11s163ms 14 60 1m 1s 15 60 1m 1s 16 60 1m44s 1s748ms 17 60 12m12s 12s212ms 18 60 12m12s 12s216ms 19 60 12m14s 12s249ms 20 60 12m15s 12s254ms 21 60 12m15s 12s252ms 22 60 12m6s 12s113ms 23 60 12m5s 12s89ms 00 60 11m22s 11s374ms [ User: monitoring_admin - Total duration: 2h9m39s - Times executed: 1349 ]
-
ALTER TABLE observability.uptime_checks ADD COLUMN IF NOT EXISTS label text;
Date: 2026-06-04 12:53:01 Duration: 12s292ms Database: zemm_monitoring User: monitoring_admin Bind query: yes Log file: /var/log/postgresql/postgresql-2026-06-04_000000.csv
-
ALTER TABLE observability.uptime_checks ADD COLUMN IF NOT EXISTS label text;
Date: 2026-06-04 16:10:02 Duration: 12s284ms Database: zemm_monitoring User: monitoring_admin Bind query: yes Log file: /var/log/postgresql/postgresql-2026-06-04_000000.csv
-
ALTER TABLE observability.uptime_checks ADD COLUMN IF NOT EXISTS label text;
Date: 2026-06-04 17:33:01 Duration: 12s272ms Database: zemm_monitoring User: monitoring_admin Bind query: yes Log file: /var/log/postgresql/postgresql-2026-06-04_000000.csv
13 1,440 2h9m39s 1s 12s292ms 5s402ms create table if not exists observability.phpfpm_counters ( id bigserial primary key, payload jsonb not null, collected_at timestamptz not null default now() );Times Reported Time consuming queries #13
Day Hour Count Duration Avg duration Jun 04 01 60 0ms 0ms 02 60 29s486ms 491ms 03 60 1m1s 1s16ms 04 60 1m1s 1s16ms 05 60 1m1s 1s16ms 06 60 1m1s 1s16ms 07 60 1m1s 1s16ms 08 60 1m1s 1s16ms 09 60 1m1s 1s16ms 10 60 1m1s 1s16ms 11 60 1m1s 1s16ms 12 60 8m20s 8s345ms 13 60 11m9s 11s163ms 14 60 1m 1s 15 60 1m 1s 16 60 1m44s 1s748ms 17 60 12m12s 12s212ms 18 60 12m12s 12s216ms 19 60 12m14s 12s249ms 20 60 12m15s 12s254ms 21 60 12m15s 12s252ms 22 60 12m6s 12s113ms 23 60 12m5s 12s89ms 00 60 11m22s 11s374ms [ User: monitoring_admin - Total duration: 2h9m39s - Times executed: 1349 ]
-
CREATE TABLE IF NOT EXISTS observability.phpfpm_counters ( id bigserial PRIMARY KEY, payload jsonb NOT NULL, collected_at timestamptz NOT NULL DEFAULT NOW() );
Date: 2026-06-04 12:53:01 Duration: 12s292ms Database: zemm_monitoring User: monitoring_admin Bind query: yes Log file: /var/log/postgresql/postgresql-2026-06-04_000000.csv
-
CREATE TABLE IF NOT EXISTS observability.phpfpm_counters ( id bigserial PRIMARY KEY, payload jsonb NOT NULL, collected_at timestamptz NOT NULL DEFAULT NOW() );
Date: 2026-06-04 16:10:02 Duration: 12s284ms Database: zemm_monitoring User: monitoring_admin Bind query: yes Log file: /var/log/postgresql/postgresql-2026-06-04_000000.csv
-
CREATE TABLE IF NOT EXISTS observability.phpfpm_counters ( id bigserial PRIMARY KEY, payload jsonb NOT NULL, collected_at timestamptz NOT NULL DEFAULT NOW() );
Date: 2026-06-04 17:33:01 Duration: 12s272ms Database: zemm_monitoring User: monitoring_admin Bind query: yes Log file: /var/log/postgresql/postgresql-2026-06-04_000000.csv
14 1,440 2h9m39s 1s 12s292ms 5s402ms create table if not exists observability.nginx_counters ( id bigserial primary key, payload jsonb not null, collected_at timestamptz not null default now() );Times Reported Time consuming queries #14
Day Hour Count Duration Avg duration Jun 04 01 60 0ms 0ms 02 60 29s486ms 491ms 03 60 1m1s 1s16ms 04 60 1m1s 1s16ms 05 60 1m1s 1s16ms 06 60 1m1s 1s16ms 07 60 1m1s 1s16ms 08 60 1m1s 1s16ms 09 60 1m1s 1s16ms 10 60 1m1s 1s16ms 11 60 1m1s 1s16ms 12 60 8m20s 8s345ms 13 60 11m9s 11s163ms 14 60 1m 1s 15 60 1m 1s 16 60 1m44s 1s748ms 17 60 12m12s 12s212ms 18 60 12m12s 12s216ms 19 60 12m14s 12s249ms 20 60 12m15s 12s254ms 21 60 12m15s 12s252ms 22 60 12m6s 12s113ms 23 60 12m5s 12s89ms 00 60 11m22s 11s374ms [ User: monitoring_admin - Total duration: 2h9m39s - Times executed: 1349 ]
-
CREATE TABLE IF NOT EXISTS observability.nginx_counters ( id bigserial PRIMARY KEY, payload jsonb NOT NULL, collected_at timestamptz NOT NULL DEFAULT NOW() );
Date: 2026-06-04 12:53:01 Duration: 12s292ms Database: zemm_monitoring User: monitoring_admin Bind query: yes Log file: /var/log/postgresql/postgresql-2026-06-04_000000.csv
-
CREATE TABLE IF NOT EXISTS observability.nginx_counters ( id bigserial PRIMARY KEY, payload jsonb NOT NULL, collected_at timestamptz NOT NULL DEFAULT NOW() );
Date: 2026-06-04 16:10:02 Duration: 12s284ms Database: zemm_monitoring User: monitoring_admin Bind query: yes Log file: /var/log/postgresql/postgresql-2026-06-04_000000.csv
-
CREATE TABLE IF NOT EXISTS observability.nginx_counters ( id bigserial PRIMARY KEY, payload jsonb NOT NULL, collected_at timestamptz NOT NULL DEFAULT NOW() );
Date: 2026-06-04 17:33:01 Duration: 12s272ms Database: zemm_monitoring User: monitoring_admin Bind query: yes Log file: /var/log/postgresql/postgresql-2026-06-04_000000.csv
15 1,440 2h9m39s 1s 12s292ms 5s402ms alter table observability.uptime_checks add column if not exists payload jsonb;Times Reported Time consuming queries #15
Day Hour Count Duration Avg duration Jun 04 01 60 0ms 0ms 02 60 29s486ms 491ms 03 60 1m1s 1s16ms 04 60 1m1s 1s16ms 05 60 1m1s 1s16ms 06 60 1m1s 1s16ms 07 60 1m1s 1s16ms 08 60 1m1s 1s16ms 09 60 1m1s 1s16ms 10 60 1m1s 1s16ms 11 60 1m1s 1s16ms 12 60 8m20s 8s345ms 13 60 11m9s 11s163ms 14 60 1m 1s 15 60 1m 1s 16 60 1m44s 1s748ms 17 60 12m12s 12s212ms 18 60 12m12s 12s216ms 19 60 12m14s 12s249ms 20 60 12m15s 12s254ms 21 60 12m15s 12s252ms 22 60 12m6s 12s113ms 23 60 12m5s 12s89ms 00 60 11m22s 11s374ms [ User: monitoring_admin - Total duration: 2h9m39s - Times executed: 1349 ]
-
ALTER TABLE observability.uptime_checks ADD COLUMN IF NOT EXISTS payload jsonb;
Date: 2026-06-04 12:53:01 Duration: 12s292ms Database: zemm_monitoring User: monitoring_admin Bind query: yes Log file: /var/log/postgresql/postgresql-2026-06-04_000000.csv
-
ALTER TABLE observability.uptime_checks ADD COLUMN IF NOT EXISTS payload jsonb;
Date: 2026-06-04 16:10:02 Duration: 12s284ms Database: zemm_monitoring User: monitoring_admin Bind query: yes Log file: /var/log/postgresql/postgresql-2026-06-04_000000.csv
-
ALTER TABLE observability.uptime_checks ADD COLUMN IF NOT EXISTS payload jsonb;
Date: 2026-06-04 17:33:01 Duration: 12s272ms Database: zemm_monitoring User: monitoring_admin Bind query: yes Log file: /var/log/postgresql/postgresql-2026-06-04_000000.csv
16 1,440 2h9m39s 1s 12s292ms 5s402ms create index if not exists idx_uptime_checks_key on observability.uptime_checks (check_key, checked_at desc);Times Reported Time consuming queries #16
Day Hour Count Duration Avg duration Jun 04 01 60 0ms 0ms 02 60 29s486ms 491ms 03 60 1m1s 1s16ms 04 60 1m1s 1s16ms 05 60 1m1s 1s16ms 06 60 1m1s 1s16ms 07 60 1m1s 1s16ms 08 60 1m1s 1s16ms 09 60 1m1s 1s16ms 10 60 1m1s 1s16ms 11 60 1m1s 1s16ms 12 60 8m20s 8s345ms 13 60 11m9s 11s163ms 14 60 1m 1s 15 60 1m 1s 16 60 1m44s 1s748ms 17 60 12m12s 12s212ms 18 60 12m12s 12s216ms 19 60 12m14s 12s249ms 20 60 12m15s 12s254ms 21 60 12m15s 12s252ms 22 60 12m6s 12s113ms 23 60 12m5s 12s89ms 00 60 11m22s 11s374ms [ User: monitoring_admin - Total duration: 2h9m39s - Times executed: 1349 ]
-
CREATE INDEX IF NOT EXISTS idx_uptime_checks_key ON observability.uptime_checks (check_key, checked_at DESC);
Date: 2026-06-04 12:53:01 Duration: 12s292ms Database: zemm_monitoring User: monitoring_admin Bind query: yes Log file: /var/log/postgresql/postgresql-2026-06-04_000000.csv
-
CREATE INDEX IF NOT EXISTS idx_uptime_checks_key ON observability.uptime_checks (check_key, checked_at DESC);
Date: 2026-06-04 16:10:02 Duration: 12s284ms Database: zemm_monitoring User: monitoring_admin Bind query: yes Log file: /var/log/postgresql/postgresql-2026-06-04_000000.csv
-
CREATE INDEX IF NOT EXISTS idx_uptime_checks_key ON observability.uptime_checks (check_key, checked_at DESC);
Date: 2026-06-04 17:33:01 Duration: 12s272ms Database: zemm_monitoring User: monitoring_admin Bind query: yes Log file: /var/log/postgresql/postgresql-2026-06-04_000000.csv
17 1,440 2h9m39s 1s 12s292ms 5s402ms create index if not exists idx_uptime_checks_endpoint on observability.uptime_checks (endpoint, checked_at desc);Times Reported Time consuming queries #17
Day Hour Count Duration Avg duration Jun 04 01 60 0ms 0ms 02 60 29s486ms 491ms 03 60 1m1s 1s16ms 04 60 1m1s 1s16ms 05 60 1m1s 1s16ms 06 60 1m1s 1s16ms 07 60 1m1s 1s16ms 08 60 1m1s 1s16ms 09 60 1m1s 1s16ms 10 60 1m1s 1s16ms 11 60 1m1s 1s16ms 12 60 8m20s 8s345ms 13 60 11m9s 11s163ms 14 60 1m 1s 15 60 1m 1s 16 60 1m44s 1s748ms 17 60 12m12s 12s212ms 18 60 12m12s 12s216ms 19 60 12m14s 12s249ms 20 60 12m15s 12s254ms 21 60 12m15s 12s252ms 22 60 12m6s 12s113ms 23 60 12m5s 12s89ms 00 60 11m22s 11s374ms [ User: monitoring_admin - Total duration: 2h9m39s - Times executed: 1349 ]
-
CREATE INDEX IF NOT EXISTS idx_uptime_checks_endpoint ON observability.uptime_checks (endpoint, checked_at DESC);
Date: 2026-06-04 12:53:01 Duration: 12s292ms Database: zemm_monitoring User: monitoring_admin Bind query: yes Log file: /var/log/postgresql/postgresql-2026-06-04_000000.csv
-
CREATE INDEX IF NOT EXISTS idx_uptime_checks_endpoint ON observability.uptime_checks (endpoint, checked_at DESC);
Date: 2026-06-04 16:10:02 Duration: 12s284ms Database: zemm_monitoring User: monitoring_admin Bind query: yes Log file: /var/log/postgresql/postgresql-2026-06-04_000000.csv
-
CREATE INDEX IF NOT EXISTS idx_uptime_checks_endpoint ON observability.uptime_checks (endpoint, checked_at DESC);
Date: 2026-06-04 17:33:01 Duration: 12s272ms Database: zemm_monitoring User: monitoring_admin Bind query: yes Log file: /var/log/postgresql/postgresql-2026-06-04_000000.csv
18 18 3m39s 12s89ms 12s292ms 12s207ms with start_snap as ( select distinct on (tenant_key, fingerprint) tenant_key, fingerprint, total_time_ms, calls, rows_returned, collected_at from observability.db_top_queries where tenant_key in (...) and collected_at >= ? and collected_at <= ? order by tenant_key, fingerprint, collected_at desc ), fallback_start as ( select distinct on (tenant_key, fingerprint) tenant_key, fingerprint, total_time_ms, calls, rows_returned, collected_at from observability.db_top_queries where tenant_key in (...) and collected_at between ? and ? order by tenant_key, fingerprint, collected_at asc ), end_snap as ( select distinct on (tenant_key, fingerprint) tenant_key, fingerprint, query, total_time_ms, calls, rows_returned, collected_at from observability.db_top_queries where tenant_key in (...) and collected_at between ? and ? order by tenant_key, fingerprint, collected_at desc ), deltas as ( select e.tenant_key, e.fingerprint, e.query, e.collected_at as last_seen, greatest (coalesce(e.total_time_ms, ?) - coalesce(s.total_time_ms, fs.total_time_ms, ?), ?) as total_time_ms, greatest (coalesce(e.calls, ?) - coalesce(s.calls, fs.calls, ?), ?) as calls, greatest (coalesce(e.rows_returned, ?) - coalesce(s.rows_returned, fs.rows_returned, ?), ?) as rows_returned from end_snap e left join start_snap s on s.tenant_key = e.tenant_key and s.fingerprint = e.fingerprint left join fallback_start fs on fs.tenant_key = e.tenant_key and fs.fingerprint = e.fingerprint and s.tenant_key is null ) select fingerprint, max(query) as query, max(last_seen) as last_seen, sum(total_time_ms) as total_time_ms, sum(calls) as calls, sum(rows_returned) as rows_returned, case when sum(calls) > ? then sum(total_time_ms) / sum(calls) else ? end as mean_time_ms, array_agg(distinct tenant_key order by tenant_key) as tenant_keys from deltas where total_time_ms > ? or calls > ? group by fingerprint order by total_time_ms desc, calls desc limit ? offset ?;Times Reported Time consuming queries #18
Day Hour Count Duration Avg duration Jun 04 12 1 12s292ms 12s292ms 16 1 12s219ms 12s219ms 17 6 1m13s 12s216ms 18 6 1m13s 12s211ms 19 1 12s254ms 12s254ms 21 1 12s120ms 12s120ms 22 2 24s290ms 12s145ms [ User: monitoring_admin - Total duration: 3m39s - Times executed: 18 ]
-
WITH start_snap AS ( SELECT DISTINCT ON (tenant_key, fingerprint) tenant_key, fingerprint, total_time_ms, calls, rows_returned, collected_at FROM observability.db_top_queries WHERE tenant_key IN ('prod', 'live') AND collected_at >= '2026-06-02 05:20:47+02' AND collected_at <= '2026-06-04 05:20:47+02' ORDER BY tenant_key, fingerprint, collected_at DESC ), fallback_start AS ( SELECT DISTINCT ON (tenant_key, fingerprint) tenant_key, fingerprint, total_time_ms, calls, rows_returned, collected_at FROM observability.db_top_queries WHERE tenant_key IN ('prod', 'live') AND collected_at BETWEEN '2026-06-04 05:20:47+02' AND '2026-06-04 11:20:47+02' ORDER BY tenant_key, fingerprint, collected_at ASC ), end_snap AS ( SELECT DISTINCT ON (tenant_key, fingerprint) tenant_key, fingerprint, query, total_time_ms, calls, rows_returned, collected_at FROM observability.db_top_queries WHERE tenant_key IN ('prod', 'live') AND collected_at BETWEEN '2026-06-04 05:20:47+02' AND '2026-06-04 11:20:47+02' ORDER BY tenant_key, fingerprint, collected_at DESC ), deltas AS ( SELECT e.tenant_key, e.fingerprint, e.query, e.collected_at AS last_seen, GREATEST (COALESCE(e.total_time_ms, 0) - COALESCE(s.total_time_ms, fs.total_time_ms, 0), 0) AS total_time_ms, GREATEST (COALESCE(e.calls, 0) - COALESCE(s.calls, fs.calls, 0), 0) AS calls, GREATEST (COALESCE(e.rows_returned, 0) - COALESCE(s.rows_returned, fs.rows_returned, 0), 0) AS rows_returned FROM end_snap e LEFT JOIN start_snap s ON s.tenant_key = e.tenant_key AND s.fingerprint = e.fingerprint LEFT JOIN fallback_start fs ON fs.tenant_key = e.tenant_key AND fs.fingerprint = e.fingerprint AND s.tenant_key IS NULL ) SELECT fingerprint, MAX(query) AS query, MAX(last_seen) AS last_seen, SUM(total_time_ms) AS total_time_ms, SUM(calls) AS calls, SUM(rows_returned) AS rows_returned, CASE WHEN SUM(calls) > 0 THEN SUM(total_time_ms) / SUM(calls) ELSE 0 END AS mean_time_ms, array_agg(DISTINCT tenant_key ORDER BY tenant_key) AS tenant_keys FROM deltas WHERE total_time_ms > 0 OR calls > 0 GROUP BY fingerprint ORDER BY total_time_ms DESC, calls DESC LIMIT '20' OFFSET '0';
Date: 2026-06-04 11:21:00 Duration: 12s292ms Database: zemm_monitoring User: monitoring_admin Bind query: yes Log file: /var/log/postgresql/postgresql-2026-06-04_000000.csv
-
WITH start_snap AS ( SELECT DISTINCT ON (tenant_key, fingerprint) tenant_key, fingerprint, total_time_ms, calls, rows_returned, collected_at FROM observability.db_top_queries WHERE tenant_key IN ('prod', 'live') AND collected_at >= '2026-06-02 10:00:47+02' AND collected_at <= '2026-06-04 10:00:47+02' ORDER BY tenant_key, fingerprint, collected_at DESC ), fallback_start AS ( SELECT DISTINCT ON (tenant_key, fingerprint) tenant_key, fingerprint, total_time_ms, calls, rows_returned, collected_at FROM observability.db_top_queries WHERE tenant_key IN ('prod', 'live') AND collected_at BETWEEN '2026-06-04 10:00:47+02' AND '2026-06-04 16:00:47+02' ORDER BY tenant_key, fingerprint, collected_at ASC ), end_snap AS ( SELECT DISTINCT ON (tenant_key, fingerprint) tenant_key, fingerprint, query, total_time_ms, calls, rows_returned, collected_at FROM observability.db_top_queries WHERE tenant_key IN ('prod', 'live') AND collected_at BETWEEN '2026-06-04 10:00:47+02' AND '2026-06-04 16:00:47+02' ORDER BY tenant_key, fingerprint, collected_at DESC ), deltas AS ( SELECT e.tenant_key, e.fingerprint, e.query, e.collected_at AS last_seen, GREATEST (COALESCE(e.total_time_ms, 0) - COALESCE(s.total_time_ms, fs.total_time_ms, 0), 0) AS total_time_ms, GREATEST (COALESCE(e.calls, 0) - COALESCE(s.calls, fs.calls, 0), 0) AS calls, GREATEST (COALESCE(e.rows_returned, 0) - COALESCE(s.rows_returned, fs.rows_returned, 0), 0) AS rows_returned FROM end_snap e LEFT JOIN start_snap s ON s.tenant_key = e.tenant_key AND s.fingerprint = e.fingerprint LEFT JOIN fallback_start fs ON fs.tenant_key = e.tenant_key AND fs.fingerprint = e.fingerprint AND s.tenant_key IS NULL ) SELECT fingerprint, MAX(query) AS query, MAX(last_seen) AS last_seen, SUM(total_time_ms) AS total_time_ms, SUM(calls) AS calls, SUM(rows_returned) AS rows_returned, CASE WHEN SUM(calls) > 0 THEN SUM(total_time_ms) / SUM(calls) ELSE 0 END AS mean_time_ms, array_agg(DISTINCT tenant_key ORDER BY tenant_key) AS tenant_keys FROM deltas WHERE total_time_ms > 0 OR calls > 0 GROUP BY fingerprint ORDER BY total_time_ms DESC, calls DESC LIMIT '20' OFFSET '0';
Date: 2026-06-04 16:00:59 Duration: 12s284ms Database: zemm_monitoring User: monitoring_admin Bind query: yes Log file: /var/log/postgresql/postgresql-2026-06-04_000000.csv
-
WITH start_snap AS ( SELECT DISTINCT ON (tenant_key, fingerprint) tenant_key, fingerprint, total_time_ms, calls, rows_returned, collected_at FROM observability.db_top_queries WHERE tenant_key IN ('prod', 'live') AND collected_at >= '2026-06-02 11:22:40+02' AND collected_at <= '2026-06-04 11:22:40+02' ORDER BY tenant_key, fingerprint, collected_at DESC ), fallback_start AS ( SELECT DISTINCT ON (tenant_key, fingerprint) tenant_key, fingerprint, total_time_ms, calls, rows_returned, collected_at FROM observability.db_top_queries WHERE tenant_key IN ('prod', 'live') AND collected_at BETWEEN '2026-06-04 11:22:40+02' AND '2026-06-04 17:22:40+02' ORDER BY tenant_key, fingerprint, collected_at ASC ), end_snap AS ( SELECT DISTINCT ON (tenant_key, fingerprint) tenant_key, fingerprint, query, total_time_ms, calls, rows_returned, collected_at FROM observability.db_top_queries WHERE tenant_key IN ('prod', 'live') AND collected_at BETWEEN '2026-06-04 11:22:40+02' AND '2026-06-04 17:22:40+02' ORDER BY tenant_key, fingerprint, collected_at DESC ), deltas AS ( SELECT e.tenant_key, e.fingerprint, e.query, e.collected_at AS last_seen, GREATEST (COALESCE(e.total_time_ms, 0) - COALESCE(s.total_time_ms, fs.total_time_ms, 0), 0) AS total_time_ms, GREATEST (COALESCE(e.calls, 0) - COALESCE(s.calls, fs.calls, 0), 0) AS calls, GREATEST (COALESCE(e.rows_returned, 0) - COALESCE(s.rows_returned, fs.rows_returned, 0), 0) AS rows_returned FROM end_snap e LEFT JOIN start_snap s ON s.tenant_key = e.tenant_key AND s.fingerprint = e.fingerprint LEFT JOIN fallback_start fs ON fs.tenant_key = e.tenant_key AND fs.fingerprint = e.fingerprint AND s.tenant_key IS NULL ) SELECT fingerprint, MAX(query) AS query, MAX(last_seen) AS last_seen, SUM(total_time_ms) AS total_time_ms, SUM(calls) AS calls, SUM(rows_returned) AS rows_returned, CASE WHEN SUM(calls) > 0 THEN SUM(total_time_ms) / SUM(calls) ELSE 0 END AS mean_time_ms, array_agg(DISTINCT tenant_key ORDER BY tenant_key) AS tenant_keys FROM deltas WHERE total_time_ms > 0 OR calls > 0 GROUP BY fingerprint ORDER BY total_time_ms DESC, calls DESC LIMIT '20' OFFSET '0';
Date: 2026-06-04 17:22:52 Duration: 12s272ms Database: zemm_monitoring User: monitoring_admin Bind query: yes Log file: /var/log/postgresql/postgresql-2026-06-04_000000.csv
19 1 2s48ms 2s48ms 2s48ms 2s48ms copy public.diary (id, "animalID", date, "entrybyID", "cageID", weight, temperature, "fDeprivation", "wDeprivation", "sDeprivation", "feedingClass", health, comments, "breedingInfo", deleted, "inOutDate", "inOutFlag", text, sdesc, treatment, tailcut_id, tailcut_result, file_name, file_content, file_type, upload_name, old_gene_type, old_gene_info, old_gene2_type, old_gene2_info, old_gene3_info, old_gene3_type, old_gene4_info, old_gene4_type, old_gene5_info, old_gene5_type) to stdout;Times Reported Time consuming queries #19
Day Hour Count Duration Avg duration Jun 04 00 1 2s48ms 2s48ms [ User: postgres - Total duration: 2s48ms - Times executed: 1 ]
[ Application: pg_dump - Total duration: 2s48ms - Times executed: 1 ]
-
COPY public.diary (id, "animalID", date, "entrybyID", "cageID", weight, temperature, "fDeprivation", "wDeprivation", "sDeprivation", "feedingClass", health, comments, "breedingInfo", deleted, "inOutDate", "inOutFlag", text, sdesc, treatment, tailcut_id, tailcut_result, file_name, file_content, file_type, upload_name, old_gene_type, old_gene_info, old_gene2_type, old_gene2_info, old_gene3_info, old_gene3_type, old_gene4_info, old_gene4_type, old_gene5_info, old_gene5_type) TO stdout;
Date: 2026-06-04 23:55:15 Duration: 2s48ms Database: zemm_produktiv_8 User: postgres Remote: [local] Application: pg_dump Bind query: yes Log file: /var/log/postgresql/postgresql-2026-06-04_000000.csv
20 1 1s374ms 1s374ms 1s374ms 1s374ms copy public."targetgroupMembers" (id, targetgroup, "user", "group") to stdout;Times Reported Time consuming queries #20
Day Hour Count Duration Avg duration Jun 04 00 1 1s374ms 1s374ms [ User: postgres - Total duration: 1s374ms - Times executed: 1 ]
[ Application: pg_dump - Total duration: 1s374ms - Times executed: 1 ]
-
COPY public."targetgroupMembers" (id, targetgroup, "user", "group") TO stdout;
Date: 2026-06-04 23:55:18 Duration: 1s374ms Database: zemm_produktiv_8 User: postgres Remote: [local] Application: pg_dump Bind query: yes Log file: /var/log/postgresql/postgresql-2026-06-04_000000.csv
Normalized slowest queries (N)
Rank Min duration Max duration Avg duration Times executed Total duration Query 1 12s89ms 12s292ms 12s207ms 18 3m39s with start_snap as ( select distinct on (tenant_key, fingerprint) tenant_key, fingerprint, total_time_ms, calls, rows_returned, collected_at from observability.db_top_queries where tenant_key in (...) and collected_at >= ? and collected_at <= ? order by tenant_key, fingerprint, collected_at desc ), fallback_start as ( select distinct on (tenant_key, fingerprint) tenant_key, fingerprint, total_time_ms, calls, rows_returned, collected_at from observability.db_top_queries where tenant_key in (...) and collected_at between ? and ? order by tenant_key, fingerprint, collected_at asc ), end_snap as ( select distinct on (tenant_key, fingerprint) tenant_key, fingerprint, query, total_time_ms, calls, rows_returned, collected_at from observability.db_top_queries where tenant_key in (...) and collected_at between ? and ? order by tenant_key, fingerprint, collected_at desc ), deltas as ( select e.tenant_key, e.fingerprint, e.query, e.collected_at as last_seen, greatest (coalesce(e.total_time_ms, ?) - coalesce(s.total_time_ms, fs.total_time_ms, ?), ?) as total_time_ms, greatest (coalesce(e.calls, ?) - coalesce(s.calls, fs.calls, ?), ?) as calls, greatest (coalesce(e.rows_returned, ?) - coalesce(s.rows_returned, fs.rows_returned, ?), ?) as rows_returned from end_snap e left join start_snap s on s.tenant_key = e.tenant_key and s.fingerprint = e.fingerprint left join fallback_start fs on fs.tenant_key = e.tenant_key and fs.fingerprint = e.fingerprint and s.tenant_key is null ) select fingerprint, max(query) as query, max(last_seen) as last_seen, sum(total_time_ms) as total_time_ms, sum(calls) as calls, sum(rows_returned) as rows_returned, case when sum(calls) > ? then sum(total_time_ms) / sum(calls) else ? end as mean_time_ms, array_agg(distinct tenant_key order by tenant_key) as tenant_keys from deltas where total_time_ms > ? or calls > ? group by fingerprint order by total_time_ms desc, calls desc limit ? offset ?;Times Reported Time consuming queries #1
Day Hour Count Duration Avg duration Jun 04 12 1 12s292ms 12s292ms 16 1 12s219ms 12s219ms 17 6 1m13s 12s216ms 18 6 1m13s 12s211ms 19 1 12s254ms 12s254ms 21 1 12s120ms 12s120ms 22 2 24s290ms 12s145ms [ User: monitoring_admin - Total duration: 3m39s - Times executed: 18 ]
-
WITH start_snap AS ( SELECT DISTINCT ON (tenant_key, fingerprint) tenant_key, fingerprint, total_time_ms, calls, rows_returned, collected_at FROM observability.db_top_queries WHERE tenant_key IN ('prod', 'live') AND collected_at >= '2026-06-02 05:20:47+02' AND collected_at <= '2026-06-04 05:20:47+02' ORDER BY tenant_key, fingerprint, collected_at DESC ), fallback_start AS ( SELECT DISTINCT ON (tenant_key, fingerprint) tenant_key, fingerprint, total_time_ms, calls, rows_returned, collected_at FROM observability.db_top_queries WHERE tenant_key IN ('prod', 'live') AND collected_at BETWEEN '2026-06-04 05:20:47+02' AND '2026-06-04 11:20:47+02' ORDER BY tenant_key, fingerprint, collected_at ASC ), end_snap AS ( SELECT DISTINCT ON (tenant_key, fingerprint) tenant_key, fingerprint, query, total_time_ms, calls, rows_returned, collected_at FROM observability.db_top_queries WHERE tenant_key IN ('prod', 'live') AND collected_at BETWEEN '2026-06-04 05:20:47+02' AND '2026-06-04 11:20:47+02' ORDER BY tenant_key, fingerprint, collected_at DESC ), deltas AS ( SELECT e.tenant_key, e.fingerprint, e.query, e.collected_at AS last_seen, GREATEST (COALESCE(e.total_time_ms, 0) - COALESCE(s.total_time_ms, fs.total_time_ms, 0), 0) AS total_time_ms, GREATEST (COALESCE(e.calls, 0) - COALESCE(s.calls, fs.calls, 0), 0) AS calls, GREATEST (COALESCE(e.rows_returned, 0) - COALESCE(s.rows_returned, fs.rows_returned, 0), 0) AS rows_returned FROM end_snap e LEFT JOIN start_snap s ON s.tenant_key = e.tenant_key AND s.fingerprint = e.fingerprint LEFT JOIN fallback_start fs ON fs.tenant_key = e.tenant_key AND fs.fingerprint = e.fingerprint AND s.tenant_key IS NULL ) SELECT fingerprint, MAX(query) AS query, MAX(last_seen) AS last_seen, SUM(total_time_ms) AS total_time_ms, SUM(calls) AS calls, SUM(rows_returned) AS rows_returned, CASE WHEN SUM(calls) > 0 THEN SUM(total_time_ms) / SUM(calls) ELSE 0 END AS mean_time_ms, array_agg(DISTINCT tenant_key ORDER BY tenant_key) AS tenant_keys FROM deltas WHERE total_time_ms > 0 OR calls > 0 GROUP BY fingerprint ORDER BY total_time_ms DESC, calls DESC LIMIT '20' OFFSET '0';
Date: 2026-06-04 11:21:00 Duration: 12s292ms Database: zemm_monitoring User: monitoring_admin Bind query: yes Log file: /var/log/postgresql/postgresql-2026-06-04_000000.csv
-
WITH start_snap AS ( SELECT DISTINCT ON (tenant_key, fingerprint) tenant_key, fingerprint, total_time_ms, calls, rows_returned, collected_at FROM observability.db_top_queries WHERE tenant_key IN ('prod', 'live') AND collected_at >= '2026-06-02 10:00:47+02' AND collected_at <= '2026-06-04 10:00:47+02' ORDER BY tenant_key, fingerprint, collected_at DESC ), fallback_start AS ( SELECT DISTINCT ON (tenant_key, fingerprint) tenant_key, fingerprint, total_time_ms, calls, rows_returned, collected_at FROM observability.db_top_queries WHERE tenant_key IN ('prod', 'live') AND collected_at BETWEEN '2026-06-04 10:00:47+02' AND '2026-06-04 16:00:47+02' ORDER BY tenant_key, fingerprint, collected_at ASC ), end_snap AS ( SELECT DISTINCT ON (tenant_key, fingerprint) tenant_key, fingerprint, query, total_time_ms, calls, rows_returned, collected_at FROM observability.db_top_queries WHERE tenant_key IN ('prod', 'live') AND collected_at BETWEEN '2026-06-04 10:00:47+02' AND '2026-06-04 16:00:47+02' ORDER BY tenant_key, fingerprint, collected_at DESC ), deltas AS ( SELECT e.tenant_key, e.fingerprint, e.query, e.collected_at AS last_seen, GREATEST (COALESCE(e.total_time_ms, 0) - COALESCE(s.total_time_ms, fs.total_time_ms, 0), 0) AS total_time_ms, GREATEST (COALESCE(e.calls, 0) - COALESCE(s.calls, fs.calls, 0), 0) AS calls, GREATEST (COALESCE(e.rows_returned, 0) - COALESCE(s.rows_returned, fs.rows_returned, 0), 0) AS rows_returned FROM end_snap e LEFT JOIN start_snap s ON s.tenant_key = e.tenant_key AND s.fingerprint = e.fingerprint LEFT JOIN fallback_start fs ON fs.tenant_key = e.tenant_key AND fs.fingerprint = e.fingerprint AND s.tenant_key IS NULL ) SELECT fingerprint, MAX(query) AS query, MAX(last_seen) AS last_seen, SUM(total_time_ms) AS total_time_ms, SUM(calls) AS calls, SUM(rows_returned) AS rows_returned, CASE WHEN SUM(calls) > 0 THEN SUM(total_time_ms) / SUM(calls) ELSE 0 END AS mean_time_ms, array_agg(DISTINCT tenant_key ORDER BY tenant_key) AS tenant_keys FROM deltas WHERE total_time_ms > 0 OR calls > 0 GROUP BY fingerprint ORDER BY total_time_ms DESC, calls DESC LIMIT '20' OFFSET '0';
Date: 2026-06-04 16:00:59 Duration: 12s284ms Database: zemm_monitoring User: monitoring_admin Bind query: yes Log file: /var/log/postgresql/postgresql-2026-06-04_000000.csv
-
WITH start_snap AS ( SELECT DISTINCT ON (tenant_key, fingerprint) tenant_key, fingerprint, total_time_ms, calls, rows_returned, collected_at FROM observability.db_top_queries WHERE tenant_key IN ('prod', 'live') AND collected_at >= '2026-06-02 11:22:40+02' AND collected_at <= '2026-06-04 11:22:40+02' ORDER BY tenant_key, fingerprint, collected_at DESC ), fallback_start AS ( SELECT DISTINCT ON (tenant_key, fingerprint) tenant_key, fingerprint, total_time_ms, calls, rows_returned, collected_at FROM observability.db_top_queries WHERE tenant_key IN ('prod', 'live') AND collected_at BETWEEN '2026-06-04 11:22:40+02' AND '2026-06-04 17:22:40+02' ORDER BY tenant_key, fingerprint, collected_at ASC ), end_snap AS ( SELECT DISTINCT ON (tenant_key, fingerprint) tenant_key, fingerprint, query, total_time_ms, calls, rows_returned, collected_at FROM observability.db_top_queries WHERE tenant_key IN ('prod', 'live') AND collected_at BETWEEN '2026-06-04 11:22:40+02' AND '2026-06-04 17:22:40+02' ORDER BY tenant_key, fingerprint, collected_at DESC ), deltas AS ( SELECT e.tenant_key, e.fingerprint, e.query, e.collected_at AS last_seen, GREATEST (COALESCE(e.total_time_ms, 0) - COALESCE(s.total_time_ms, fs.total_time_ms, 0), 0) AS total_time_ms, GREATEST (COALESCE(e.calls, 0) - COALESCE(s.calls, fs.calls, 0), 0) AS calls, GREATEST (COALESCE(e.rows_returned, 0) - COALESCE(s.rows_returned, fs.rows_returned, 0), 0) AS rows_returned FROM end_snap e LEFT JOIN start_snap s ON s.tenant_key = e.tenant_key AND s.fingerprint = e.fingerprint LEFT JOIN fallback_start fs ON fs.tenant_key = e.tenant_key AND fs.fingerprint = e.fingerprint AND s.tenant_key IS NULL ) SELECT fingerprint, MAX(query) AS query, MAX(last_seen) AS last_seen, SUM(total_time_ms) AS total_time_ms, SUM(calls) AS calls, SUM(rows_returned) AS rows_returned, CASE WHEN SUM(calls) > 0 THEN SUM(total_time_ms) / SUM(calls) ELSE 0 END AS mean_time_ms, array_agg(DISTINCT tenant_key ORDER BY tenant_key) AS tenant_keys FROM deltas WHERE total_time_ms > 0 OR calls > 0 GROUP BY fingerprint ORDER BY total_time_ms DESC, calls DESC LIMIT '20' OFFSET '0';
Date: 2026-06-04 17:22:52 Duration: 12s272ms Database: zemm_monitoring User: monitoring_admin Bind query: yes Log file: /var/log/postgresql/postgresql-2026-06-04_000000.csv
2 1s 12s292ms 5s410ms 1,440 2h9m51s create table if not exists observability.db_top_queries ( id bigserial primary key, tenant_key text not null, fingerprint text, query text, mean_time_ms double precision, total_time_ms double precision, calls bigint, rows_returned bigint, collected_at timestamptz not null default now() );Times Reported Time consuming queries #2
Day Hour Count Duration Avg duration Jun 04 01 60 0ms 0ms 02 60 29s486ms 491ms 03 60 1m1s 1s16ms 04 60 1m1s 1s16ms 05 60 1m1s 1s16ms 06 60 1m1s 1s16ms 07 60 1m1s 1s16ms 08 60 1m1s 1s16ms 09 60 1m1s 1s16ms 10 60 1m1s 1s16ms 11 60 1m1s 1s16ms 12 60 8m20s 8s345ms 13 60 11m21s 11s351ms 14 60 1m 1s 15 60 1m 1s 16 60 1m44s 1s748ms 17 60 12m12s 12s212ms 18 60 12m12s 12s216ms 19 60 12m14s 12s249ms 20 60 12m15s 12s254ms 21 60 12m15s 12s252ms 22 60 12m6s 12s113ms 23 60 12m5s 12s89ms 00 60 11m22s 11s374ms [ User: monitoring_admin - Total duration: 2h9m51s - Times executed: 1349 ]
-
CREATE TABLE IF NOT EXISTS observability.db_top_queries ( id bigserial PRIMARY KEY, tenant_key text NOT NULL, fingerprint text, query text, mean_time_ms double precision, total_time_ms double precision, calls bigint, rows_returned bigint, collected_at timestamptz NOT NULL DEFAULT NOW() );
Date: 2026-06-04 12:54:01 Duration: 12s292ms Database: zemm_monitoring User: monitoring_admin Bind query: yes Log file: /var/log/postgresql/postgresql-2026-06-04_000000.csv
-
CREATE TABLE IF NOT EXISTS observability.db_top_queries ( id bigserial PRIMARY KEY, tenant_key text NOT NULL, fingerprint text, query text, mean_time_ms double precision, total_time_ms double precision, calls bigint, rows_returned bigint, collected_at timestamptz NOT NULL DEFAULT NOW() );
Date: 2026-06-04 16:10:02 Duration: 12s284ms Database: zemm_monitoring User: monitoring_admin Bind query: yes Log file: /var/log/postgresql/postgresql-2026-06-04_000000.csv
-
CREATE TABLE IF NOT EXISTS observability.db_top_queries ( id bigserial PRIMARY KEY, tenant_key text NOT NULL, fingerprint text, query text, mean_time_ms double precision, total_time_ms double precision, calls bigint, rows_returned bigint, collected_at timestamptz NOT NULL DEFAULT NOW() );
Date: 2026-06-04 17:33:01 Duration: 12s272ms Database: zemm_monitoring User: monitoring_admin Bind query: yes Log file: /var/log/postgresql/postgresql-2026-06-04_000000.csv
3 1s 12s292ms 5s410ms 1,440 2h9m51s create index if not exists idx_app_events_type on observability.app_events (event_type);Times Reported Time consuming queries #3
Day Hour Count Duration Avg duration Jun 04 01 60 0ms 0ms 02 60 29s486ms 491ms 03 60 1m1s 1s16ms 04 60 1m1s 1s16ms 05 60 1m1s 1s16ms 06 60 1m1s 1s16ms 07 60 1m1s 1s16ms 08 60 1m1s 1s16ms 09 60 1m1s 1s16ms 10 60 1m1s 1s16ms 11 60 1m1s 1s16ms 12 60 8m20s 8s345ms 13 60 11m21s 11s351ms 14 60 1m 1s 15 60 1m 1s 16 60 1m44s 1s748ms 17 60 12m12s 12s212ms 18 60 12m12s 12s216ms 19 60 12m14s 12s249ms 20 60 12m15s 12s254ms 21 60 12m15s 12s252ms 22 60 12m6s 12s113ms 23 60 12m5s 12s89ms 00 60 11m22s 11s374ms [ User: monitoring_admin - Total duration: 2h9m51s - Times executed: 1349 ]
-
CREATE INDEX IF NOT EXISTS idx_app_events_type ON observability.app_events (event_type);
Date: 2026-06-04 12:54:01 Duration: 12s292ms Database: zemm_monitoring User: monitoring_admin Bind query: yes Log file: /var/log/postgresql/postgresql-2026-06-04_000000.csv
-
CREATE INDEX IF NOT EXISTS idx_app_events_type ON observability.app_events (event_type);
Date: 2026-06-04 16:10:02 Duration: 12s284ms Database: zemm_monitoring User: monitoring_admin Bind query: yes Log file: /var/log/postgresql/postgresql-2026-06-04_000000.csv
-
CREATE INDEX IF NOT EXISTS idx_app_events_type ON observability.app_events (event_type);
Date: 2026-06-04 17:33:01 Duration: 12s272ms Database: zemm_monitoring User: monitoring_admin Bind query: yes Log file: /var/log/postgresql/postgresql-2026-06-04_000000.csv
4 1s 12s292ms 5s410ms 1,440 2h9m51s create index if not exists idx_metrics_timeseries_bucket on observability.metrics_timeseries (bucket_start);Times Reported Time consuming queries #4
Day Hour Count Duration Avg duration Jun 04 01 60 0ms 0ms 02 60 29s486ms 491ms 03 60 1m1s 1s16ms 04 60 1m1s 1s16ms 05 60 1m1s 1s16ms 06 60 1m1s 1s16ms 07 60 1m1s 1s16ms 08 60 1m1s 1s16ms 09 60 1m1s 1s16ms 10 60 1m1s 1s16ms 11 60 1m1s 1s16ms 12 60 8m20s 8s345ms 13 60 11m21s 11s351ms 14 60 1m 1s 15 60 1m 1s 16 60 1m44s 1s748ms 17 60 12m12s 12s212ms 18 60 12m12s 12s216ms 19 60 12m14s 12s249ms 20 60 12m15s 12s254ms 21 60 12m15s 12s252ms 22 60 12m6s 12s113ms 23 60 12m5s 12s89ms 00 60 11m22s 11s374ms [ User: monitoring_admin - Total duration: 2h9m51s - Times executed: 1349 ]
-
CREATE INDEX IF NOT EXISTS idx_metrics_timeseries_bucket ON observability.metrics_timeseries (bucket_start);
Date: 2026-06-04 12:54:01 Duration: 12s292ms Database: zemm_monitoring User: monitoring_admin Bind query: yes Log file: /var/log/postgresql/postgresql-2026-06-04_000000.csv
-
CREATE INDEX IF NOT EXISTS idx_metrics_timeseries_bucket ON observability.metrics_timeseries (bucket_start);
Date: 2026-06-04 16:10:02 Duration: 12s284ms Database: zemm_monitoring User: monitoring_admin Bind query: yes Log file: /var/log/postgresql/postgresql-2026-06-04_000000.csv
-
CREATE INDEX IF NOT EXISTS idx_metrics_timeseries_bucket ON observability.metrics_timeseries (bucket_start);
Date: 2026-06-04 17:33:01 Duration: 12s272ms Database: zemm_monitoring User: monitoring_admin Bind query: yes Log file: /var/log/postgresql/postgresql-2026-06-04_000000.csv
5 1s 12s292ms 5s410ms 1,440 2h9m51s create index if not exists idx_metrics_timeseries_metric on observability.metrics_timeseries (metric_name);Times Reported Time consuming queries #5
Day Hour Count Duration Avg duration Jun 04 01 60 0ms 0ms 02 60 29s486ms 491ms 03 60 1m1s 1s16ms 04 60 1m1s 1s16ms 05 60 1m1s 1s16ms 06 60 1m1s 1s16ms 07 60 1m1s 1s16ms 08 60 1m1s 1s16ms 09 60 1m1s 1s16ms 10 60 1m1s 1s16ms 11 60 1m1s 1s16ms 12 60 8m20s 8s345ms 13 60 11m21s 11s351ms 14 60 1m 1s 15 60 1m 1s 16 60 1m44s 1s748ms 17 60 12m12s 12s212ms 18 60 12m12s 12s216ms 19 60 12m14s 12s249ms 20 60 12m15s 12s254ms 21 60 12m15s 12s252ms 22 60 12m6s 12s113ms 23 60 12m5s 12s89ms 00 60 11m22s 11s374ms [ User: monitoring_admin - Total duration: 2h9m51s - Times executed: 1349 ]
-
CREATE INDEX IF NOT EXISTS idx_metrics_timeseries_metric ON observability.metrics_timeseries (metric_name);
Date: 2026-06-04 12:54:01 Duration: 12s292ms Database: zemm_monitoring User: monitoring_admin Bind query: yes Log file: /var/log/postgresql/postgresql-2026-06-04_000000.csv
-
CREATE INDEX IF NOT EXISTS idx_metrics_timeseries_metric ON observability.metrics_timeseries (metric_name);
Date: 2026-06-04 16:10:02 Duration: 12s284ms Database: zemm_monitoring User: monitoring_admin Bind query: yes Log file: /var/log/postgresql/postgresql-2026-06-04_000000.csv
-
CREATE INDEX IF NOT EXISTS idx_metrics_timeseries_metric ON observability.metrics_timeseries (metric_name);
Date: 2026-06-04 17:33:01 Duration: 12s272ms Database: zemm_monitoring User: monitoring_admin Bind query: yes Log file: /var/log/postgresql/postgresql-2026-06-04_000000.csv
6 1s 12s292ms 5s410ms 1,440 2h9m51s create table if not exists observability.metrics_timeseries ( id bigserial primary key, tenant_key text not null, metric_name text not null, bucket_start timestamptz not null, bucket_width_seconds integer not null default ?, sum_value double precision not null default ?, count_value bigint not null default ?, histogram jsonb, created_at timestamptz not null default now(), updated_at timestamptz not null default now(), unique (tenant_key, metric_name, bucket_start, bucket_width_seconds) );Times Reported Time consuming queries #6
Day Hour Count Duration Avg duration Jun 04 01 60 0ms 0ms 02 60 29s486ms 491ms 03 60 1m1s 1s16ms 04 60 1m1s 1s16ms 05 60 1m1s 1s16ms 06 60 1m1s 1s16ms 07 60 1m1s 1s16ms 08 60 1m1s 1s16ms 09 60 1m1s 1s16ms 10 60 1m1s 1s16ms 11 60 1m1s 1s16ms 12 60 8m20s 8s345ms 13 60 11m21s 11s351ms 14 60 1m 1s 15 60 1m 1s 16 60 1m44s 1s748ms 17 60 12m12s 12s212ms 18 60 12m12s 12s216ms 19 60 12m14s 12s249ms 20 60 12m15s 12s254ms 21 60 12m15s 12s252ms 22 60 12m6s 12s113ms 23 60 12m5s 12s89ms 00 60 11m22s 11s374ms [ User: monitoring_admin - Total duration: 2h9m51s - Times executed: 1349 ]
-
CREATE TABLE IF NOT EXISTS observability.metrics_timeseries ( id bigserial PRIMARY KEY, tenant_key text NOT NULL, metric_name text NOT NULL, bucket_start timestamptz NOT NULL, bucket_width_seconds integer NOT NULL DEFAULT 60, sum_value double precision NOT NULL DEFAULT 0, count_value bigint NOT NULL DEFAULT 0, histogram jsonb, created_at timestamptz NOT NULL DEFAULT NOW(), updated_at timestamptz NOT NULL DEFAULT NOW(), UNIQUE (tenant_key, metric_name, bucket_start, bucket_width_seconds) );
Date: 2026-06-04 12:54:01 Duration: 12s292ms Database: zemm_monitoring User: monitoring_admin Bind query: yes Log file: /var/log/postgresql/postgresql-2026-06-04_000000.csv
-
CREATE TABLE IF NOT EXISTS observability.metrics_timeseries ( id bigserial PRIMARY KEY, tenant_key text NOT NULL, metric_name text NOT NULL, bucket_start timestamptz NOT NULL, bucket_width_seconds integer NOT NULL DEFAULT 60, sum_value double precision NOT NULL DEFAULT 0, count_value bigint NOT NULL DEFAULT 0, histogram jsonb, created_at timestamptz NOT NULL DEFAULT NOW(), updated_at timestamptz NOT NULL DEFAULT NOW(), UNIQUE (tenant_key, metric_name, bucket_start, bucket_width_seconds) );
Date: 2026-06-04 16:10:02 Duration: 12s284ms Database: zemm_monitoring User: monitoring_admin Bind query: yes Log file: /var/log/postgresql/postgresql-2026-06-04_000000.csv
-
CREATE TABLE IF NOT EXISTS observability.metrics_timeseries ( id bigserial PRIMARY KEY, tenant_key text NOT NULL, metric_name text NOT NULL, bucket_start timestamptz NOT NULL, bucket_width_seconds integer NOT NULL DEFAULT 60, sum_value double precision NOT NULL DEFAULT 0, count_value bigint NOT NULL DEFAULT 0, histogram jsonb, created_at timestamptz NOT NULL DEFAULT NOW(), updated_at timestamptz NOT NULL DEFAULT NOW(), UNIQUE (tenant_key, metric_name, bucket_start, bucket_width_seconds) );
Date: 2026-06-04 17:33:01 Duration: 12s272ms Database: zemm_monitoring User: monitoring_admin Bind query: yes Log file: /var/log/postgresql/postgresql-2026-06-04_000000.csv
7 1s 12s292ms 5s410ms 1,440 2h9m51s create schema if not exists observability;Times Reported Time consuming queries #7
Day Hour Count Duration Avg duration Jun 04 01 60 0ms 0ms 02 60 29s486ms 491ms 03 60 1m1s 1s16ms 04 60 1m1s 1s16ms 05 60 1m1s 1s16ms 06 60 1m1s 1s16ms 07 60 1m1s 1s16ms 08 60 1m1s 1s16ms 09 60 1m1s 1s16ms 10 60 1m1s 1s16ms 11 60 1m1s 1s16ms 12 60 8m20s 8s345ms 13 60 11m21s 11s351ms 14 60 1m 1s 15 60 1m 1s 16 60 1m44s 1s748ms 17 60 12m12s 12s212ms 18 60 12m12s 12s216ms 19 60 12m14s 12s249ms 20 60 12m15s 12s254ms 21 60 12m15s 12s252ms 22 60 12m6s 12s113ms 23 60 12m5s 12s89ms 00 60 11m22s 11s374ms [ User: monitoring_admin - Total duration: 2h9m51s - Times executed: 1349 ]
-
CREATE SCHEMA IF NOT EXISTS observability;
Date: 2026-06-04 12:54:01 Duration: 12s292ms Database: zemm_monitoring User: monitoring_admin Bind query: yes Log file: /var/log/postgresql/postgresql-2026-06-04_000000.csv
-
CREATE SCHEMA IF NOT EXISTS observability;
Date: 2026-06-04 16:10:02 Duration: 12s284ms Database: zemm_monitoring User: monitoring_admin Bind query: yes Log file: /var/log/postgresql/postgresql-2026-06-04_000000.csv
-
CREATE SCHEMA IF NOT EXISTS observability;
Date: 2026-06-04 17:33:01 Duration: 12s272ms Database: zemm_monitoring User: monitoring_admin Bind query: yes Log file: /var/log/postgresql/postgresql-2026-06-04_000000.csv
8 1s 12s292ms 5s410ms 1,440 2h9m51s create index if not exists idx_db_top_queries_tenant on observability.db_top_queries (tenant_key, collected_at desc);Times Reported Time consuming queries #8
Day Hour Count Duration Avg duration Jun 04 01 60 0ms 0ms 02 60 29s486ms 491ms 03 60 1m1s 1s16ms 04 60 1m1s 1s16ms 05 60 1m1s 1s16ms 06 60 1m1s 1s16ms 07 60 1m1s 1s16ms 08 60 1m1s 1s16ms 09 60 1m1s 1s16ms 10 60 1m1s 1s16ms 11 60 1m1s 1s16ms 12 60 8m20s 8s345ms 13 60 11m21s 11s351ms 14 60 1m 1s 15 60 1m 1s 16 60 1m44s 1s748ms 17 60 12m12s 12s212ms 18 60 12m12s 12s216ms 19 60 12m14s 12s249ms 20 60 12m15s 12s254ms 21 60 12m15s 12s252ms 22 60 12m6s 12s113ms 23 60 12m5s 12s89ms 00 60 11m22s 11s374ms [ User: monitoring_admin - Total duration: 2h9m51s - Times executed: 1349 ]
-
CREATE INDEX IF NOT EXISTS idx_db_top_queries_tenant ON observability.db_top_queries (tenant_key, collected_at DESC);
Date: 2026-06-04 12:54:01 Duration: 12s292ms Database: zemm_monitoring User: monitoring_admin Bind query: yes Log file: /var/log/postgresql/postgresql-2026-06-04_000000.csv
-
CREATE INDEX IF NOT EXISTS idx_db_top_queries_tenant ON observability.db_top_queries (tenant_key, collected_at DESC);
Date: 2026-06-04 16:10:02 Duration: 12s284ms Database: zemm_monitoring User: monitoring_admin Bind query: yes Log file: /var/log/postgresql/postgresql-2026-06-04_000000.csv
-
CREATE INDEX IF NOT EXISTS idx_db_top_queries_tenant ON observability.db_top_queries (tenant_key, collected_at DESC);
Date: 2026-06-04 17:33:01 Duration: 12s272ms Database: zemm_monitoring User: monitoring_admin Bind query: yes Log file: /var/log/postgresql/postgresql-2026-06-04_000000.csv
9 1s 12s292ms 5s410ms 1,440 2h9m51s create table if not exists observability.app_events ( id bigserial primary key, tenant_key text not null, event_type text not null, severity text not null, message text not null, payload jsonb, occurred_at timestamptz not null default now(), created_at timestamptz not null default now() );Times Reported Time consuming queries #9
Day Hour Count Duration Avg duration Jun 04 01 60 0ms 0ms 02 60 29s486ms 491ms 03 60 1m1s 1s16ms 04 60 1m1s 1s16ms 05 60 1m1s 1s16ms 06 60 1m1s 1s16ms 07 60 1m1s 1s16ms 08 60 1m1s 1s16ms 09 60 1m1s 1s16ms 10 60 1m1s 1s16ms 11 60 1m1s 1s16ms 12 60 8m20s 8s345ms 13 60 11m21s 11s351ms 14 60 1m 1s 15 60 1m 1s 16 60 1m44s 1s748ms 17 60 12m12s 12s212ms 18 60 12m12s 12s216ms 19 60 12m14s 12s249ms 20 60 12m15s 12s254ms 21 60 12m15s 12s252ms 22 60 12m6s 12s113ms 23 60 12m5s 12s89ms 00 60 11m22s 11s374ms [ User: monitoring_admin - Total duration: 2h9m51s - Times executed: 1349 ]
-
CREATE TABLE IF NOT EXISTS observability.app_events ( id bigserial PRIMARY KEY, tenant_key text NOT NULL, event_type text NOT NULL, severity text NOT NULL, message text NOT NULL, payload jsonb, occurred_at timestamptz NOT NULL DEFAULT NOW(), created_at timestamptz NOT NULL DEFAULT NOW() );
Date: 2026-06-04 12:54:01 Duration: 12s292ms Database: zemm_monitoring User: monitoring_admin Bind query: yes Log file: /var/log/postgresql/postgresql-2026-06-04_000000.csv
-
CREATE TABLE IF NOT EXISTS observability.app_events ( id bigserial PRIMARY KEY, tenant_key text NOT NULL, event_type text NOT NULL, severity text NOT NULL, message text NOT NULL, payload jsonb, occurred_at timestamptz NOT NULL DEFAULT NOW(), created_at timestamptz NOT NULL DEFAULT NOW() );
Date: 2026-06-04 16:10:02 Duration: 12s284ms Database: zemm_monitoring User: monitoring_admin Bind query: yes Log file: /var/log/postgresql/postgresql-2026-06-04_000000.csv
-
CREATE TABLE IF NOT EXISTS observability.app_events ( id bigserial PRIMARY KEY, tenant_key text NOT NULL, event_type text NOT NULL, severity text NOT NULL, message text NOT NULL, payload jsonb, occurred_at timestamptz NOT NULL DEFAULT NOW(), created_at timestamptz NOT NULL DEFAULT NOW() );
Date: 2026-06-04 17:33:01 Duration: 12s272ms Database: zemm_monitoring User: monitoring_admin Bind query: yes Log file: /var/log/postgresql/postgresql-2026-06-04_000000.csv
10 1s 12s292ms 5s410ms 1,440 2h9m51s create index if not exists idx_app_events_tenant on observability.app_events (tenant_key, occurred_at desc);Times Reported Time consuming queries #10
Day Hour Count Duration Avg duration Jun 04 01 60 0ms 0ms 02 60 29s486ms 491ms 03 60 1m1s 1s16ms 04 60 1m1s 1s16ms 05 60 1m1s 1s16ms 06 60 1m1s 1s16ms 07 60 1m1s 1s16ms 08 60 1m1s 1s16ms 09 60 1m1s 1s16ms 10 60 1m1s 1s16ms 11 60 1m1s 1s16ms 12 60 8m20s 8s345ms 13 60 11m21s 11s351ms 14 60 1m 1s 15 60 1m 1s 16 60 1m44s 1s748ms 17 60 12m12s 12s212ms 18 60 12m12s 12s216ms 19 60 12m14s 12s249ms 20 60 12m15s 12s254ms 21 60 12m15s 12s252ms 22 60 12m6s 12s113ms 23 60 12m5s 12s89ms 00 60 11m22s 11s374ms [ User: monitoring_admin - Total duration: 2h9m51s - Times executed: 1349 ]
-
CREATE INDEX IF NOT EXISTS idx_app_events_tenant ON observability.app_events (tenant_key, occurred_at DESC);
Date: 2026-06-04 12:54:01 Duration: 12s292ms Database: zemm_monitoring User: monitoring_admin Bind query: yes Log file: /var/log/postgresql/postgresql-2026-06-04_000000.csv
-
CREATE INDEX IF NOT EXISTS idx_app_events_tenant ON observability.app_events (tenant_key, occurred_at DESC);
Date: 2026-06-04 16:10:02 Duration: 12s284ms Database: zemm_monitoring User: monitoring_admin Bind query: yes Log file: /var/log/postgresql/postgresql-2026-06-04_000000.csv
-
CREATE INDEX IF NOT EXISTS idx_app_events_tenant ON observability.app_events (tenant_key, occurred_at DESC);
Date: 2026-06-04 17:33:01 Duration: 12s272ms Database: zemm_monitoring User: monitoring_admin Bind query: yes Log file: /var/log/postgresql/postgresql-2026-06-04_000000.csv
11 1s 12s292ms 5s402ms 1,440 2h9m39s create table if not exists observability.system_metrics ( id bigserial primary key, payload jsonb not null, collected_at timestamptz not null default now() );Times Reported Time consuming queries #11
Day Hour Count Duration Avg duration Jun 04 01 60 0ms 0ms 02 60 29s486ms 491ms 03 60 1m1s 1s16ms 04 60 1m1s 1s16ms 05 60 1m1s 1s16ms 06 60 1m1s 1s16ms 07 60 1m1s 1s16ms 08 60 1m1s 1s16ms 09 60 1m1s 1s16ms 10 60 1m1s 1s16ms 11 60 1m1s 1s16ms 12 60 8m20s 8s345ms 13 60 11m9s 11s163ms 14 60 1m 1s 15 60 1m 1s 16 60 1m44s 1s748ms 17 60 12m12s 12s212ms 18 60 12m12s 12s216ms 19 60 12m14s 12s249ms 20 60 12m15s 12s254ms 21 60 12m15s 12s252ms 22 60 12m6s 12s113ms 23 60 12m5s 12s89ms 00 60 11m22s 11s374ms [ User: monitoring_admin - Total duration: 2h9m39s - Times executed: 1349 ]
-
CREATE TABLE IF NOT EXISTS observability.system_metrics ( id bigserial PRIMARY KEY, payload jsonb NOT NULL, collected_at timestamptz NOT NULL DEFAULT NOW() );
Date: 2026-06-04 12:53:01 Duration: 12s292ms Database: zemm_monitoring User: monitoring_admin Bind query: yes Log file: /var/log/postgresql/postgresql-2026-06-04_000000.csv
-
CREATE TABLE IF NOT EXISTS observability.system_metrics ( id bigserial PRIMARY KEY, payload jsonb NOT NULL, collected_at timestamptz NOT NULL DEFAULT NOW() );
Date: 2026-06-04 16:10:02 Duration: 12s284ms Database: zemm_monitoring User: monitoring_admin Bind query: yes Log file: /var/log/postgresql/postgresql-2026-06-04_000000.csv
-
CREATE TABLE IF NOT EXISTS observability.system_metrics ( id bigserial PRIMARY KEY, payload jsonb NOT NULL, collected_at timestamptz NOT NULL DEFAULT NOW() );
Date: 2026-06-04 17:33:01 Duration: 12s272ms Database: zemm_monitoring User: monitoring_admin Bind query: yes Log file: /var/log/postgresql/postgresql-2026-06-04_000000.csv
12 1s 12s292ms 5s402ms 1,440 2h9m39s create table if not exists observability.uptime_checks ( id bigserial primary key, endpoint text not null, status text not null, latency_ms double precision, checked_at timestamptz not null default now() );Times Reported Time consuming queries #12
Day Hour Count Duration Avg duration Jun 04 01 60 0ms 0ms 02 60 29s486ms 491ms 03 60 1m1s 1s16ms 04 60 1m1s 1s16ms 05 60 1m1s 1s16ms 06 60 1m1s 1s16ms 07 60 1m1s 1s16ms 08 60 1m1s 1s16ms 09 60 1m1s 1s16ms 10 60 1m1s 1s16ms 11 60 1m1s 1s16ms 12 60 8m20s 8s345ms 13 60 11m9s 11s163ms 14 60 1m 1s 15 60 1m 1s 16 60 1m44s 1s748ms 17 60 12m12s 12s212ms 18 60 12m12s 12s216ms 19 60 12m14s 12s249ms 20 60 12m15s 12s254ms 21 60 12m15s 12s252ms 22 60 12m6s 12s113ms 23 60 12m5s 12s89ms 00 60 11m22s 11s374ms [ User: monitoring_admin - Total duration: 2h9m39s - Times executed: 1349 ]
-
CREATE TABLE IF NOT EXISTS observability.uptime_checks ( id bigserial PRIMARY KEY, endpoint text NOT NULL, status text NOT NULL, latency_ms double precision, checked_at timestamptz NOT NULL DEFAULT NOW() );
Date: 2026-06-04 12:53:01 Duration: 12s292ms Database: zemm_monitoring User: monitoring_admin Bind query: yes Log file: /var/log/postgresql/postgresql-2026-06-04_000000.csv
-
CREATE TABLE IF NOT EXISTS observability.uptime_checks ( id bigserial PRIMARY KEY, endpoint text NOT NULL, status text NOT NULL, latency_ms double precision, checked_at timestamptz NOT NULL DEFAULT NOW() );
Date: 2026-06-04 16:10:02 Duration: 12s284ms Database: zemm_monitoring User: monitoring_admin Bind query: yes Log file: /var/log/postgresql/postgresql-2026-06-04_000000.csv
-
CREATE TABLE IF NOT EXISTS observability.uptime_checks ( id bigserial PRIMARY KEY, endpoint text NOT NULL, status text NOT NULL, latency_ms double precision, checked_at timestamptz NOT NULL DEFAULT NOW() );
Date: 2026-06-04 17:33:01 Duration: 12s272ms Database: zemm_monitoring User: monitoring_admin Bind query: yes Log file: /var/log/postgresql/postgresql-2026-06-04_000000.csv
13 1s 12s292ms 5s402ms 1,440 2h9m39s alter table observability.uptime_checks add column if not exists label text;Times Reported Time consuming queries #13
Day Hour Count Duration Avg duration Jun 04 01 60 0ms 0ms 02 60 29s486ms 491ms 03 60 1m1s 1s16ms 04 60 1m1s 1s16ms 05 60 1m1s 1s16ms 06 60 1m1s 1s16ms 07 60 1m1s 1s16ms 08 60 1m1s 1s16ms 09 60 1m1s 1s16ms 10 60 1m1s 1s16ms 11 60 1m1s 1s16ms 12 60 8m20s 8s345ms 13 60 11m9s 11s163ms 14 60 1m 1s 15 60 1m 1s 16 60 1m44s 1s748ms 17 60 12m12s 12s212ms 18 60 12m12s 12s216ms 19 60 12m14s 12s249ms 20 60 12m15s 12s254ms 21 60 12m15s 12s252ms 22 60 12m6s 12s113ms 23 60 12m5s 12s89ms 00 60 11m22s 11s374ms [ User: monitoring_admin - Total duration: 2h9m39s - Times executed: 1349 ]
-
ALTER TABLE observability.uptime_checks ADD COLUMN IF NOT EXISTS label text;
Date: 2026-06-04 12:53:01 Duration: 12s292ms Database: zemm_monitoring User: monitoring_admin Bind query: yes Log file: /var/log/postgresql/postgresql-2026-06-04_000000.csv
-
ALTER TABLE observability.uptime_checks ADD COLUMN IF NOT EXISTS label text;
Date: 2026-06-04 16:10:02 Duration: 12s284ms Database: zemm_monitoring User: monitoring_admin Bind query: yes Log file: /var/log/postgresql/postgresql-2026-06-04_000000.csv
-
ALTER TABLE observability.uptime_checks ADD COLUMN IF NOT EXISTS label text;
Date: 2026-06-04 17:33:01 Duration: 12s272ms Database: zemm_monitoring User: monitoring_admin Bind query: yes Log file: /var/log/postgresql/postgresql-2026-06-04_000000.csv
14 1s 12s292ms 5s402ms 1,440 2h9m39s create table if not exists observability.phpfpm_counters ( id bigserial primary key, payload jsonb not null, collected_at timestamptz not null default now() );Times Reported Time consuming queries #14
Day Hour Count Duration Avg duration Jun 04 01 60 0ms 0ms 02 60 29s486ms 491ms 03 60 1m1s 1s16ms 04 60 1m1s 1s16ms 05 60 1m1s 1s16ms 06 60 1m1s 1s16ms 07 60 1m1s 1s16ms 08 60 1m1s 1s16ms 09 60 1m1s 1s16ms 10 60 1m1s 1s16ms 11 60 1m1s 1s16ms 12 60 8m20s 8s345ms 13 60 11m9s 11s163ms 14 60 1m 1s 15 60 1m 1s 16 60 1m44s 1s748ms 17 60 12m12s 12s212ms 18 60 12m12s 12s216ms 19 60 12m14s 12s249ms 20 60 12m15s 12s254ms 21 60 12m15s 12s252ms 22 60 12m6s 12s113ms 23 60 12m5s 12s89ms 00 60 11m22s 11s374ms [ User: monitoring_admin - Total duration: 2h9m39s - Times executed: 1349 ]
-
CREATE TABLE IF NOT EXISTS observability.phpfpm_counters ( id bigserial PRIMARY KEY, payload jsonb NOT NULL, collected_at timestamptz NOT NULL DEFAULT NOW() );
Date: 2026-06-04 12:53:01 Duration: 12s292ms Database: zemm_monitoring User: monitoring_admin Bind query: yes Log file: /var/log/postgresql/postgresql-2026-06-04_000000.csv
-
CREATE TABLE IF NOT EXISTS observability.phpfpm_counters ( id bigserial PRIMARY KEY, payload jsonb NOT NULL, collected_at timestamptz NOT NULL DEFAULT NOW() );
Date: 2026-06-04 16:10:02 Duration: 12s284ms Database: zemm_monitoring User: monitoring_admin Bind query: yes Log file: /var/log/postgresql/postgresql-2026-06-04_000000.csv
-
CREATE TABLE IF NOT EXISTS observability.phpfpm_counters ( id bigserial PRIMARY KEY, payload jsonb NOT NULL, collected_at timestamptz NOT NULL DEFAULT NOW() );
Date: 2026-06-04 17:33:01 Duration: 12s272ms Database: zemm_monitoring User: monitoring_admin Bind query: yes Log file: /var/log/postgresql/postgresql-2026-06-04_000000.csv
15 1s 12s292ms 5s402ms 1,440 2h9m39s create table if not exists observability.nginx_counters ( id bigserial primary key, payload jsonb not null, collected_at timestamptz not null default now() );Times Reported Time consuming queries #15
Day Hour Count Duration Avg duration Jun 04 01 60 0ms 0ms 02 60 29s486ms 491ms 03 60 1m1s 1s16ms 04 60 1m1s 1s16ms 05 60 1m1s 1s16ms 06 60 1m1s 1s16ms 07 60 1m1s 1s16ms 08 60 1m1s 1s16ms 09 60 1m1s 1s16ms 10 60 1m1s 1s16ms 11 60 1m1s 1s16ms 12 60 8m20s 8s345ms 13 60 11m9s 11s163ms 14 60 1m 1s 15 60 1m 1s 16 60 1m44s 1s748ms 17 60 12m12s 12s212ms 18 60 12m12s 12s216ms 19 60 12m14s 12s249ms 20 60 12m15s 12s254ms 21 60 12m15s 12s252ms 22 60 12m6s 12s113ms 23 60 12m5s 12s89ms 00 60 11m22s 11s374ms [ User: monitoring_admin - Total duration: 2h9m39s - Times executed: 1349 ]
-
CREATE TABLE IF NOT EXISTS observability.nginx_counters ( id bigserial PRIMARY KEY, payload jsonb NOT NULL, collected_at timestamptz NOT NULL DEFAULT NOW() );
Date: 2026-06-04 12:53:01 Duration: 12s292ms Database: zemm_monitoring User: monitoring_admin Bind query: yes Log file: /var/log/postgresql/postgresql-2026-06-04_000000.csv
-
CREATE TABLE IF NOT EXISTS observability.nginx_counters ( id bigserial PRIMARY KEY, payload jsonb NOT NULL, collected_at timestamptz NOT NULL DEFAULT NOW() );
Date: 2026-06-04 16:10:02 Duration: 12s284ms Database: zemm_monitoring User: monitoring_admin Bind query: yes Log file: /var/log/postgresql/postgresql-2026-06-04_000000.csv
-
CREATE TABLE IF NOT EXISTS observability.nginx_counters ( id bigserial PRIMARY KEY, payload jsonb NOT NULL, collected_at timestamptz NOT NULL DEFAULT NOW() );
Date: 2026-06-04 17:33:01 Duration: 12s272ms Database: zemm_monitoring User: monitoring_admin Bind query: yes Log file: /var/log/postgresql/postgresql-2026-06-04_000000.csv
16 1s 12s292ms 5s402ms 1,440 2h9m39s alter table observability.uptime_checks add column if not exists payload jsonb;Times Reported Time consuming queries #16
Day Hour Count Duration Avg duration Jun 04 01 60 0ms 0ms 02 60 29s486ms 491ms 03 60 1m1s 1s16ms 04 60 1m1s 1s16ms 05 60 1m1s 1s16ms 06 60 1m1s 1s16ms 07 60 1m1s 1s16ms 08 60 1m1s 1s16ms 09 60 1m1s 1s16ms 10 60 1m1s 1s16ms 11 60 1m1s 1s16ms 12 60 8m20s 8s345ms 13 60 11m9s 11s163ms 14 60 1m 1s 15 60 1m 1s 16 60 1m44s 1s748ms 17 60 12m12s 12s212ms 18 60 12m12s 12s216ms 19 60 12m14s 12s249ms 20 60 12m15s 12s254ms 21 60 12m15s 12s252ms 22 60 12m6s 12s113ms 23 60 12m5s 12s89ms 00 60 11m22s 11s374ms [ User: monitoring_admin - Total duration: 2h9m39s - Times executed: 1349 ]
-
ALTER TABLE observability.uptime_checks ADD COLUMN IF NOT EXISTS payload jsonb;
Date: 2026-06-04 12:53:01 Duration: 12s292ms Database: zemm_monitoring User: monitoring_admin Bind query: yes Log file: /var/log/postgresql/postgresql-2026-06-04_000000.csv
-
ALTER TABLE observability.uptime_checks ADD COLUMN IF NOT EXISTS payload jsonb;
Date: 2026-06-04 16:10:02 Duration: 12s284ms Database: zemm_monitoring User: monitoring_admin Bind query: yes Log file: /var/log/postgresql/postgresql-2026-06-04_000000.csv
-
ALTER TABLE observability.uptime_checks ADD COLUMN IF NOT EXISTS payload jsonb;
Date: 2026-06-04 17:33:01 Duration: 12s272ms Database: zemm_monitoring User: monitoring_admin Bind query: yes Log file: /var/log/postgresql/postgresql-2026-06-04_000000.csv
17 1s 12s292ms 5s402ms 1,440 2h9m39s create index if not exists idx_uptime_checks_key on observability.uptime_checks (check_key, checked_at desc);Times Reported Time consuming queries #17
Day Hour Count Duration Avg duration Jun 04 01 60 0ms 0ms 02 60 29s486ms 491ms 03 60 1m1s 1s16ms 04 60 1m1s 1s16ms 05 60 1m1s 1s16ms 06 60 1m1s 1s16ms 07 60 1m1s 1s16ms 08 60 1m1s 1s16ms 09 60 1m1s 1s16ms 10 60 1m1s 1s16ms 11 60 1m1s 1s16ms 12 60 8m20s 8s345ms 13 60 11m9s 11s163ms 14 60 1m 1s 15 60 1m 1s 16 60 1m44s 1s748ms 17 60 12m12s 12s212ms 18 60 12m12s 12s216ms 19 60 12m14s 12s249ms 20 60 12m15s 12s254ms 21 60 12m15s 12s252ms 22 60 12m6s 12s113ms 23 60 12m5s 12s89ms 00 60 11m22s 11s374ms [ User: monitoring_admin - Total duration: 2h9m39s - Times executed: 1349 ]
-
CREATE INDEX IF NOT EXISTS idx_uptime_checks_key ON observability.uptime_checks (check_key, checked_at DESC);
Date: 2026-06-04 12:53:01 Duration: 12s292ms Database: zemm_monitoring User: monitoring_admin Bind query: yes Log file: /var/log/postgresql/postgresql-2026-06-04_000000.csv
-
CREATE INDEX IF NOT EXISTS idx_uptime_checks_key ON observability.uptime_checks (check_key, checked_at DESC);
Date: 2026-06-04 16:10:02 Duration: 12s284ms Database: zemm_monitoring User: monitoring_admin Bind query: yes Log file: /var/log/postgresql/postgresql-2026-06-04_000000.csv
-
CREATE INDEX IF NOT EXISTS idx_uptime_checks_key ON observability.uptime_checks (check_key, checked_at DESC);
Date: 2026-06-04 17:33:01 Duration: 12s272ms Database: zemm_monitoring User: monitoring_admin Bind query: yes Log file: /var/log/postgresql/postgresql-2026-06-04_000000.csv
18 1s 12s292ms 5s402ms 1,440 2h9m39s create index if not exists idx_uptime_checks_endpoint on observability.uptime_checks (endpoint, checked_at desc);Times Reported Time consuming queries #18
Day Hour Count Duration Avg duration Jun 04 01 60 0ms 0ms 02 60 29s486ms 491ms 03 60 1m1s 1s16ms 04 60 1m1s 1s16ms 05 60 1m1s 1s16ms 06 60 1m1s 1s16ms 07 60 1m1s 1s16ms 08 60 1m1s 1s16ms 09 60 1m1s 1s16ms 10 60 1m1s 1s16ms 11 60 1m1s 1s16ms 12 60 8m20s 8s345ms 13 60 11m9s 11s163ms 14 60 1m 1s 15 60 1m 1s 16 60 1m44s 1s748ms 17 60 12m12s 12s212ms 18 60 12m12s 12s216ms 19 60 12m14s 12s249ms 20 60 12m15s 12s254ms 21 60 12m15s 12s252ms 22 60 12m6s 12s113ms 23 60 12m5s 12s89ms 00 60 11m22s 11s374ms [ User: monitoring_admin - Total duration: 2h9m39s - Times executed: 1349 ]
-
CREATE INDEX IF NOT EXISTS idx_uptime_checks_endpoint ON observability.uptime_checks (endpoint, checked_at DESC);
Date: 2026-06-04 12:53:01 Duration: 12s292ms Database: zemm_monitoring User: monitoring_admin Bind query: yes Log file: /var/log/postgresql/postgresql-2026-06-04_000000.csv
-
CREATE INDEX IF NOT EXISTS idx_uptime_checks_endpoint ON observability.uptime_checks (endpoint, checked_at DESC);
Date: 2026-06-04 16:10:02 Duration: 12s284ms Database: zemm_monitoring User: monitoring_admin Bind query: yes Log file: /var/log/postgresql/postgresql-2026-06-04_000000.csv
-
CREATE INDEX IF NOT EXISTS idx_uptime_checks_endpoint ON observability.uptime_checks (endpoint, checked_at DESC);
Date: 2026-06-04 17:33:01 Duration: 12s272ms Database: zemm_monitoring User: monitoring_admin Bind query: yes Log file: /var/log/postgresql/postgresql-2026-06-04_000000.csv
19 2s48ms 2s48ms 2s48ms 1 2s48ms copy public.diary (id, "animalID", date, "entrybyID", "cageID", weight, temperature, "fDeprivation", "wDeprivation", "sDeprivation", "feedingClass", health, comments, "breedingInfo", deleted, "inOutDate", "inOutFlag", text, sdesc, treatment, tailcut_id, tailcut_result, file_name, file_content, file_type, upload_name, old_gene_type, old_gene_info, old_gene2_type, old_gene2_info, old_gene3_info, old_gene3_type, old_gene4_info, old_gene4_type, old_gene5_info, old_gene5_type) to stdout;Times Reported Time consuming queries #19
Day Hour Count Duration Avg duration Jun 04 00 1 2s48ms 2s48ms [ User: postgres - Total duration: 2s48ms - Times executed: 1 ]
[ Application: pg_dump - Total duration: 2s48ms - Times executed: 1 ]
-
COPY public.diary (id, "animalID", date, "entrybyID", "cageID", weight, temperature, "fDeprivation", "wDeprivation", "sDeprivation", "feedingClass", health, comments, "breedingInfo", deleted, "inOutDate", "inOutFlag", text, sdesc, treatment, tailcut_id, tailcut_result, file_name, file_content, file_type, upload_name, old_gene_type, old_gene_info, old_gene2_type, old_gene2_info, old_gene3_info, old_gene3_type, old_gene4_info, old_gene4_type, old_gene5_info, old_gene5_type) TO stdout;
Date: 2026-06-04 23:55:15 Duration: 2s48ms Database: zemm_produktiv_8 User: postgres Remote: [local] Application: pg_dump Bind query: yes Log file: /var/log/postgresql/postgresql-2026-06-04_000000.csv
20 1s374ms 1s374ms 1s374ms 1 1s374ms copy public."targetgroupMembers" (id, targetgroup, "user", "group") to stdout;Times Reported Time consuming queries #20
Day Hour Count Duration Avg duration Jun 04 00 1 1s374ms 1s374ms [ User: postgres - Total duration: 1s374ms - Times executed: 1 ]
[ Application: pg_dump - Total duration: 1s374ms - Times executed: 1 ]
-
COPY public."targetgroupMembers" (id, targetgroup, "user", "group") TO stdout;
Date: 2026-06-04 23:55:18 Duration: 1s374ms Database: zemm_produktiv_8 User: postgres Remote: [local] Application: pg_dump Bind query: yes Log file: /var/log/postgresql/postgresql-2026-06-04_000000.csv
Time consuming prepare
Rank Total duration Times executed Min duration Max duration Avg duration Query NO DATASET
Time consuming bind
Rank Total duration Times executed Min duration Max duration Avg duration Query NO DATASET
-
Events
Log levels
Key values
- 82,823 Event entries
- (EVENTLOG entries are formaly LOG level entries that are not queries)
Events distribution (except queries)
Key values
- 0 PANIC entries
- 0 FATAL entries
- 0 ERROR entries
- 0 WARNING entries
- 6 EVENTLOG entries
Most Frequent Errors/Events
Key values
- 3 Max number of times the same event was reported
- 6 Total events found
Rank Times reported Error 1 3 ERROR: canceling autovacuum task
Times Reported Most Frequent Error / Event #1
Day Hour Count Jun 04 13 3 - ERROR: canceling autovacuum task
- ERROR: canceling autovacuum task
- ERROR: canceling autovacuum task
Context: while scanning block 1945935 of relation "observability.db_top_queries" automatic vacuum of table "zemm_monitoring.observability.db_top_queries"
Date: 2026-06-04 12:54:02 Log file: /var/log/postgresql/postgresql-2026-06-04_000000.csv
Context: while scanning block 2117297 of relation "observability.db_top_queries" automatic vacuum of table "zemm_monitoring.observability.db_top_queries"
Date: 2026-06-04 12:55:02 Log file: /var/log/postgresql/postgresql-2026-06-04_000000.csv
Context: while vacuuming block 32232 of relation "observability.db_top_queries" automatic vacuum of table "zemm_monitoring.observability.db_top_queries"
Date: 2026-06-04 12:56:02 Log file: /var/log/postgresql/postgresql-2026-06-04_000000.csv
2 3 LOG: process ... still waiting for ShareLock on relation ... of database ... after ... ms
Times Reported Most Frequent Error / Event #2
Day Hour Count Jun 04 13 3 - LOG: process 3543519 still waiting for ShareLock on relation 67431 of database 51653 after 1000.062 ms
- LOG: process 3551951 still waiting for ShareLock on relation 67431 of database 51653 after 1000.073 ms
- LOG: process 3560995 still waiting for ShareLock on relation 67431 of database 51653 after 1000.067 ms
Detail: Process holding the lock: 3536150. Wait queue: 3543519.
Statement: CREATE INDEX IF NOT EXISTS idx_db_top_queries_tenant ON observability.db_top_queries (tenant_key, collected_at DESC)Date: 2026-06-04 12:54:02 Database: zemm_monitoring Application: User: monitoring_admin Remote: Log file: /var/log/postgresql/postgresql-2026-06-04_000000.csv
Detail: Process holding the lock: 3544596. Wait queue: 3551951.
Statement: CREATE INDEX IF NOT EXISTS idx_db_top_queries_tenant ON observability.db_top_queries (tenant_key, collected_at DESC)Date: 2026-06-04 12:55:02 Database: zemm_monitoring Application: User: monitoring_admin Remote: Log file: /var/log/postgresql/postgresql-2026-06-04_000000.csv
Detail: Process holding the lock: 3553157. Wait queue: 3560995.
Statement: CREATE INDEX IF NOT EXISTS idx_db_top_queries_tenant ON observability.db_top_queries (tenant_key, collected_at DESC)Date: 2026-06-04 12:56:02 Database: zemm_monitoring Application: User: monitoring_admin Remote: Log file: /var/log/postgresql/postgresql-2026-06-04_000000.csv