-
Global information
- Generated on Mon Jun 15 06:05:05 2026
- Log file: /var/log/postgresql/postgresql-2026-05-13_000000.csv, ..., /var/log/postgresql/postgresql-2026-06-15_000000.csv
- Parsed 247,233 log entries in 5m4s
- Log start from 2026-05-23 00:00:01 to 2026-05-23 23:59:03
-
Overview
Global Stats
- 24 Number of unique normalized queries
- 24,629 Number of queries
- 3d15h30m47s Total query duration
- 2026-05-23 00:00:01 First query
- 2026-05-23 23:59:01 Last query
- 18 queries/s at 2026-05-23 11:50:01 Query peak
- 3d15h30m47s Total query duration
- 0ms Prepare/parse total duration
- 0ms Bind total duration
- 3d15h30m47s Execute total duration
- 0 Number of events
- 0 Number of unique normalized events
- 0 Max number of times the same event was reported
- 0 Number of cancellation
- 11 Total number of automatic vacuums
- 3 Total number of automatic analyzes
- 8 Number temporary file
- 179.05 MiB Max size of temporary file
- 179.05 MiB Average size of temporary file
- 21,519 Total number of sessions
- 8 sessions at 2026-05-23 09:16:03 Session peak
- 1h54m7s Total duration of sessions
- 318ms Average duration of sessions
- 1 Average queries per session
- 14s640ms Average queries duration per session
- 0ms Average idle time per session
- 21,519 Total number of connections
- 34 connections/s at 2026-05-23 06:11:03 Connection peak
- 2 Total number of databases
SQL Traffic
Key values
- 18 queries/s Query Peak
- 2026-05-23 11:50:01 Date
SELECT Traffic
Key values
- 0 queries/s Query Peak
- Date
INSERT/UPDATE/DELETE Traffic
Key values
- 18 queries/s Query Peak
- 2026-05-23 11:50:01 Date
Queries duration
Key values
- 3d15h30m47s 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) May 23 00 1,026 0ms 11s420ms 10s908ms 3m14s 3m23s 3m25s 01 1,027 1s206ms 11s323ms 10s749ms 3m12s 3m23s 3m23s 02 1,026 11s236ms 11s396ms 11s287ms 3m22s 3m23s 3m25s 03 1,026 11s180ms 11s389ms 11s295ms 3m21s 3m23s 3m24s 04 1,026 11s236ms 11s469ms 11s333ms 3m22s 3m24s 3m25s 05 1,025 11s284ms 11s469ms 11s353ms 3m14s 3m24s 3m26s 06 1,026 11s227ms 11s453ms 11s310ms 3m22s 3m23s 3m25s 07 1,026 11s233ms 11s440ms 11s299ms 3m22s 3m23s 3m24s 08 1,026 11s233ms 11s440ms 11s322ms 3m22s 3m24s 3m25s 09 1,026 11s213ms 11s454ms 11s312ms 3m21s 3m23s 3m26s 10 1,026 11s210ms 11s422ms 11s306ms 3m21s 3m24s 3m25s 11 1,025 11s304ms 11s345ms 11s328ms 3m12s 3m23s 3m24s 12 1,026 11s289ms 11s467ms 11s363ms 3m23s 3m23s 3m25s 13 1,026 11s196ms 11s467ms 11s260ms 3m21s 3m22s 3m26s 14 1,026 11s256ms 11s583ms 11s360ms 3m22s 3m24s 3m24s 15 1,026 11s205ms 11s583ms 11s359ms 3m23s 3m24s 3m28s 16 1,027 11s205ms 13s529ms 12s742ms 3m50s 4m 4m3s 17 1,026 13s391ms 16s246ms 14s506ms 4m36s 4m36s 4m52s 18 1,026 16s105ms 16s294ms 16s181ms 4m49s 4m50s 4m53s 19 1,026 15s989ms 16s295ms 16s145ms 4m47s 4m51s 4m53s 20 1,026 16s145ms 16s305ms 16s202ms 4m50s 4m51s 4m53s 21 1,026 16s16ms 16s189ms 16s125ms 4m48s 4m50s 4m51s 22 1,027 16s16ms 19s624ms 17s122ms 5m33s 5m47s 5m52s 23 1,030 549ms 19s106ms 17s799ms 5m28s 5m43s 5m43s Day Hour SELECT COPY TO Average Duration Latency Percentile(90) Latency Percentile(95) Latency Percentile(99) May 23 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 1s307ms 0ms 0ms 0ms Day Hour INSERT UPDATE DELETE COPY FROM Average Duration Latency Percentile(90) Latency Percentile(95) Latency Percentile(99) May 23 00 0 0 0 0 0ms 0ms 0ms 0ms 01 0 1 0 0 1s206ms 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 May 23 00 0 6 6.00 0.00% 01 0 6 6.00 0.00% 02 0 6 6.00 0.00% 03 0 6 6.00 0.00% 04 0 6 6.00 0.00% 05 0 5 5.00 0.00% 06 0 6 6.00 0.00% 07 0 6 6.00 0.00% 08 0 6 6.00 0.00% 09 0 6 6.00 0.00% 10 0 6 6.00 0.00% 11 0 5 5.00 0.00% 12 0 6 6.00 0.00% 13 0 6 6.00 0.00% 14 0 6 6.00 0.00% 15 0 6 6.00 0.00% 16 0 7 7.00 0.00% 17 0 6 6.00 0.00% 18 0 6 6.00 0.00% 19 0 6 6.00 0.00% 20 0 6 6.00 0.00% 21 0 6 6.00 0.00% 22 0 7 7.00 0.00% 23 0 5 5.00 0.00% Day Hour Count Average / Second May 23 00 897 0.25/s 01 900 0.25/s 02 868 0.24/s 03 902 0.25/s 04 897 0.25/s 05 867 0.24/s 06 897 0.25/s 07 924 0.26/s 08 868 0.24/s 09 900 0.25/s 10 897 0.25/s 11 867 0.24/s 12 897 0.25/s 13 897 0.25/s 14 897 0.25/s 15 916 0.25/s 16 877 0.24/s 17 951 0.26/s 18 897 0.25/s 19 877 0.24/s 20 897 0.25/s 21 907 0.25/s 22 938 0.26/s 23 884 0.25/s Day Hour Count Average Duration Average idle time May 23 00 897 252ms 0ms 01 900 255ms 0ms 02 868 258ms 0ms 03 902 250ms 0ms 04 897 251ms 0ms 05 867 244ms 0ms 06 897 253ms 0ms 07 924 247ms 0ms 08 868 257ms 0ms 09 900 251ms 0ms 10 897 252ms 0ms 11 867 245ms 0ms 12 897 252ms 0ms 13 897 252ms 0ms 14 897 253ms 0ms 15 916 251ms 0ms 16 877 293ms 0ms 17 951 302ms 0ms 18 897 341ms 0ms 19 877 334ms 0ms 20 897 332ms 0ms 21 907 331ms 0ms 22 937 580ms 0ms 23 885 1s83ms 0ms -
Connections
Established Connections
Key values
- 34 connections Connection Peak
- 2026-05-23 06:11:03 Date
Connections per database
Key values
- zemm_monitoring Main Database
- 21,519 connections Total
Connections per user
Key values
- labanimal Main User
- 21,519 connections Total
-
Sessions
Simultaneous sessions
Key values
- 8 sessions Session Peak
- 2026-05-23 09:16:03 Date
Histogram of session times
Key values
- 19,268 0-500ms duration
Sessions per database
Key values
- zemm_monitoring Main Database
- 21,519 sessions Total
Sessions per user
Key values
- labanimal Main User
- 21,519 sessions Total
Sessions per host
Key values
- ::1 Main Host
- 21,519 sessions Total
Sessions per application
Key values
- Main Application
- 21,519 sessions Total
Application Count Total Duration Average Duration 20,028 1h53m6s 338ms _desktop_index.php_command_login_subcommand_init_zemm_dev_local 2 65ms 32ms _desktop_index.php_command_login_subcommand_init_zemm_produktiv 1,452 41s711ms 28ms _desktop_index.php_command_login_subcommand_init_zemm_test_loca 2 63ms 31ms _desktop_index.php_zemm_produktiv_8_localhost_5432 7 1s271ms 181ms bounces:zemm_produktiv_8@h2940066.stratoserver.net:5432 1 63ms 63ms expire_tasks:zemm_produktiv_8@h2940066.stratoserver.net:5432 1 1s232ms 1s232ms fatescron:zemm_produktiv_8@h2940066.stratoserver.net:5432 1 872ms 872ms pg_dump 1 13s161ms 13s161ms taskscron:zemm_produktiv_8@h2940066.stratoserver.net:5432 24 2s502ms 104ms -
Checkpoints / Restartpoints
Checkpoints Buffers
Key values
- 19,543 buffers Checkpoint Peak
- 2026-05-23 01:36:46 Date
- 269.626 seconds Highest write time
- 0.013 seconds Sync time
Checkpoints Wal files
Key values
- 6 files Wal files usage Peak
- 2026-05-23 01:36:46 Date
Checkpoints distance
Key values
- 189.32 Mo Distance Peak
- 2026-05-23 01:36:46 Date
Checkpoints Activity
↑ Back to the top of the Checkpoint Activity tableDay Hour Written buffers Write time Sync time Total time May 23 00 10,076 1,008.926s 0.104s 1,009.097s 01 28,882 1,203.659s 0.105s 1,203.83s 02 9,051 905.815s 0.1s 905.982s 03 14,970 1,031.24s 0.101s 1,031.393s 04 8,231 823.774s 0.098s 823.935s 05 8,506 851.61s 0.098s 851.765s 06 8,132 814.038s 0.095s 814.187s 07 9,254 925.812s 0.095s 925.97s 08 8,757 875.846s 0.101s 876.008s 09 7,852 785.791s 0.099s 785.949s 10 8,030 803.512s 0.097s 803.671s 11 8,169 817.939s 0.1s 818.101s 12 8,094 809.626s 0.097s 809.782s 13 8,021 802.823s 0.096s 802.976s 14 8,037 804.324s 0.097s 804.479s 15 8,207 821.159s 0.099s 821.317s 16 8,020 803.289s 0.098s 803.449s 17 7,426 743.022s 0.098s 743.179s 18 7,954 795.61s 0.099s 795.766s 19 8,034 804.022s 0.098s 804.179s 20 9,148 915.711s 0.104s 915.87s 21 10,707 961.688s 0.092s 961.837s 22 7,360 736.305s 0.099s 736.462s 23 8,161 816.745s 0.1s 816.9s Day Hour Added Removed Recycled Synced files Longest sync Average sync May 23 00 0 0 2 566 0.001s 0.013s 01 0 0 8 536 0.006s 0.012s 02 0 0 1 500 0.004s 0.012s 03 0 0 3 515 0.002s 0.012s 04 0 0 2 516 0.001s 0.012s 05 0 0 2 518 0.001s 0.012s 06 0 0 1 492 0.002s 0.012s 07 0 0 2 513 0.002s 0.012s 08 0 0 2 499 0.003s 0.012s 09 0 0 1 506 0.001s 0.012s 10 0 0 2 507 0.002s 0.012s 11 0 0 2 510 0.003s 0.012s 12 0 0 1 511 0.002s 0.012s 13 0 0 2 530 0.001s 0.012s 14 0 0 2 530 0.001s 0.012s 15 0 0 1 530 0.001s 0.012s 16 0 0 2 528 0.001s 0.012s 17 0 0 1 525 0.001s 0.012s 18 0 0 2 517 0.002s 0.012s 19 0 0 2 523 0.002s 0.012s 20 0 0 1 553 0.002s 0.012s 21 0 0 2 496 0.002s 0.011s 22 0 0 2 518 0.003s 0.012s 23 0 0 1 535 0.001s 0.012s Day Hour Count Avg time (sec) May 23 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 May 23 00 2,482.31 kB 3,451.00 kB 01 10,547.33 kB 39,847.58 kB 02 2,491.25 kB 32,540.75 kB 03 3,794.42 kB 14,611.50 kB 04 2,304.42 kB 8,659.67 kB 05 2,300.50 kB 4,120.67 kB 06 2,193.25 kB 3,240.00 kB 07 2,468.92 kB 2,986.92 kB 08 2,414.25 kB 2,926.08 kB 09 2,188.08 kB 3,182.25 kB 10 2,207.58 kB 3,083.33 kB 11 2,261.08 kB 2,773.50 kB 12 2,258.75 kB 2,779.58 kB 13 2,223.08 kB 2,935.42 kB 14 2,201.75 kB 3,059.42 kB 15 2,227.83 kB 2,994.42 kB 16 2,215.50 kB 2,861.67 kB 17 2,116.33 kB 2,799.67 kB 18 2,178.50 kB 2,828.92 kB 19 2,207.92 kB 2,892.00 kB 20 2,492.83 kB 3,112.33 kB 21 2,780.09 kB 4,171.73 kB 22 2,055.42 kB 4,158.92 kB 23 2,262.67 kB 3,113.92 kB -
Temporary Files
Size of temporary files
Key values
- 179.05 MiB Temp Files size Peak
- 2026-05-23 23:30:23 Date
Number of temporary files
Key values
- 1 per second Temp Files Peak
- 2026-05-23 23:30:23 Date
Temporary Files Activity
↑ Back to the top of the Temporary Files Activity tableDay Hour Count Total size Average size May 23 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 3 537.15 MiB 179.05 MiB 23 5 895.27 MiB 179.05 MiB -
Vacuums
Vacuums / Analyzes Distribution
Key values
- 2.28 sec Highest CPU-cost vacuum
Table observability.metrics_timeseries
Database zemm_monitoring - 2026-05-23 03:36:17 Date
- 0 sec Highest CPU-cost analyze
Table
Database zemm_monitoring - Date
Average Autovacuum Duration
Key values
- 2.28 sec Highest CPU-cost vacuum
Table observability.metrics_timeseries
Database zemm_monitoring - 2026-05-23 03:36:17 Date
Analyzes per table
Key values
- observability.metrics_timeseries (2) Main table analyzed (database zemm_monitoring)
- 3 analyzes Total
Vacuums per table
Key values
- pg_toast.pg_toast_67431 (4) Main table vacuumed on database zemm_monitoring
- 11 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_67431 4 0 0 0 0 0 0 4,643 1,560 3,550,993 1,538 9,228 zemm_monitoring.pg_toast.pg_toast_181881 3 0 0 0 0 0 0 922 315 1,537,451 303 1,520 zemm_monitoring.observability.metrics_timeseries 1 1 0 0 0 0 0 16,343 7,272 18,203,980 2,071 49,565 zemm_monitoring.observability.uptime_checks 1 0 0 0 0 0 0 3,160 3,159 4,952,219 0 0 zemm_produktiv_8.pg_toast.pg_toast_2619 1 1 0 0 0 0 0 163 32 140,111 3 7 zemm_produktiv_8.public.tasks 1 1 0 0 0 0 0 47,951 39 3,494,740 0 0 Total 11 3 0 0 0 0 0 73,182 12,377 31,879,494 3,915 60,320 Vacuum throughput per table
Key values
- observability.metrics_timeseries (2.28) Max CPU elapsed for vacuum on database zemm_monitoring
- observability.metrics_timeseries (13.753 ms) Max I/O read time for vacuum on database zemm_monitoring
- observability.metrics_timeseries (3.509 ms) Max I/O write time for vacuum on database zemm_monitoring
I/O timing (ms) CPU (s) Table read write elapsed zemm_monitoring.pg_toast.pg_toast_67431 0 0 0.36 zemm_monitoring.pg_toast.pg_toast_181881 0 0 0.06 zemm_monitoring.observability.metrics_timeseries 13.753 3.509 2.28 zemm_monitoring.observability.uptime_checks 0.07 0 0.75 zemm_produktiv_8.pg_toast.pg_toast_2619 0 0 0.01 zemm_produktiv_8.public.tasks 0.033 0 0.61 Total 13.856 3.509 4.07 Tuples removed per table
Key values
- public.tasks (54636) Main table with removed tuples on database zemm_produktiv_8
- 88951 tuples Total removed
Index Tuples Pages Table Vacuums scans removed remain not yet removable removed remain zemm_produktiv_8.public.tasks 1 1 54,636 57,749 0 0 17,035 zemm_monitoring.observability.metrics_timeseries 1 1 34,209 387,003 0 0 8,322 zemm_produktiv_8.pg_toast.pg_toast_2619 1 1 106 294 0 0 106 zemm_monitoring.pg_toast.pg_toast_181881 3 0 0 13,558 0 0 2,431 zemm_monitoring.pg_toast.pg_toast_67431 4 0 0 2,814,776 0 0 477,714 zemm_monitoring.observability.uptime_checks 1 0 0 329,285 0 0 16,612 Total 11 3 88,951 3,602,665 0 0 522,220 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_181881 3 0 0 0 zemm_monitoring.observability.metrics_timeseries 1 1 34209 0 zemm_monitoring.pg_toast.pg_toast_67431 4 0 0 0 zemm_monitoring.observability.uptime_checks 1 0 0 0 zemm_produktiv_8.pg_toast.pg_toast_2619 1 1 106 0 zemm_produktiv_8.public.tasks 1 1 54636 0 Total 11 3 88,951 0 Autovacuum Activity
↑ Back to the top of the Autovacuum Activity tableDay Hour VACUUMs ANALYZEs May 23 00 0 0 01 3 1 02 0 0 03 2 0 04 0 0 05 0 1 06 0 0 07 1 0 08 0 0 09 0 0 10 0 0 11 0 0 12 1 0 13 1 0 14 0 0 15 0 0 16 0 0 17 0 0 18 0 0 19 0 0 20 2 1 21 1 0 22 0 0 23 0 0 - 2.28 sec Highest CPU-cost vacuum
-
Locks
Locks by types
Key values
- unknown Main Lock Type
- 0 locks Total
Most frequent waiting queries (N)
Rank Count Total time Min time Max time Avg duration Query NO DATASET
Queries that waited the most
Rank Wait time Query NO DATASET
-
Queries
Queries by type
Key values
- 0 Total read queries
- 24,629 Total write queries
Queries by database
Key values
- zemm_monitoring Main database
- 24,623 Requests
- 3d15h30m39s (zemm_monitoring)
- Main time consuming database
Queries by user
Key values
- monitoring_admin Main user
- 270,788 Requests
User Request type Count Duration labanimal Total 1,035 26m35s copy to 8 22s808ms cte 172 4m5s select 844 21m54s update 11 12s235ms monitoring_admin Total 270,788 10d3h56m28s cte 694 1h36m7s ddl 269,242 10d2h8m6s select 847 12m10s postgres Total 58 1m22s copy to 58 1m22s Duration by user
Key values
- 10d3h56m28s (monitoring_admin) Main time consuming user
User Request type Count Duration labanimal Total 1,035 26m35s copy to 8 22s808ms cte 172 4m5s select 844 21m54s update 11 12s235ms monitoring_admin Total 270,788 10d3h56m28s cte 694 1h36m7s ddl 269,242 10d2h8m6s select 847 12m10s postgres Total 58 1m22s copy to 58 1m22s Queries by host
Key values
- unknown Main host
- 271,812 Requests
- 10d4h22m51s (unknown)
- Main time consuming host
Queries by application
Key values
- unknown Main application
- 24,623 Requests
- 3d15h30m39s (unknown)
- Main time consuming application
Number of cancelled queries
Key values
- 0 per second Cancelled query Peak
- 2026-05-23 14:10:01 Date
Number of cancelled queries (5 minutes period)
NO DATASET
-
Top Queries
Histogram of query times
Key values
- 143 > 10000ms duration
Slowest individual queries
Rank Duration Query 1 19s624ms 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-05-18 22:48:59+02' AND collected_at <= '2026-05-20 22:48:59+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-05-20 22:48:59+02' AND '2026-05-23 22:48:59+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-05-20 22:48:59+02' AND '2026-05-23 22:48:59+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-05-23 22:49:18 - Database: zemm_monitoring - User: monitoring_admin - Bind query: yes ]
2 19s624ms CREATE SCHEMA IF NOT EXISTS observability;[ Date: 2026-05-23 22:50:01 - Database: zemm_monitoring - User: monitoring_admin - Bind query: yes ]
3 19s624ms 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-05-23 22:50:01 - Database: zemm_monitoring - User: monitoring_admin - Bind query: yes ]
4 19s624ms CREATE INDEX IF NOT EXISTS idx_metrics_timeseries_bucket ON observability.metrics_timeseries (bucket_start);[ Date: 2026-05-23 22:50:01 - Database: zemm_monitoring - User: monitoring_admin - Bind query: yes ]
5 19s624ms CREATE INDEX IF NOT EXISTS idx_metrics_timeseries_metric ON observability.metrics_timeseries (metric_name);[ Date: 2026-05-23 22:50:01 - Database: zemm_monitoring - User: monitoring_admin - Bind query: yes ]
6 19s624ms 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-05-23 22:50:01 - Database: zemm_monitoring - User: monitoring_admin - Bind query: yes ]
7 19s624ms CREATE INDEX IF NOT EXISTS idx_app_events_tenant ON observability.app_events (tenant_key, occurred_at DESC);[ Date: 2026-05-23 22:50:01 - Database: zemm_monitoring - User: monitoring_admin - Bind query: yes ]
8 19s624ms CREATE INDEX IF NOT EXISTS idx_app_events_type ON observability.app_events (event_type);[ Date: 2026-05-23 22:50:01 - Database: zemm_monitoring - User: monitoring_admin - Bind query: yes ]
9 19s624ms 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-05-23 22:50:01 - Database: zemm_monitoring - User: monitoring_admin - Bind query: yes ]
10 19s624ms CREATE INDEX IF NOT EXISTS idx_db_top_queries_tenant ON observability.db_top_queries (tenant_key, collected_at DESC);[ Date: 2026-05-23 22:50:01 - Database: zemm_monitoring - User: monitoring_admin - Bind query: yes ]
11 19s624ms 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-05-23 22:50:01 - Database: zemm_monitoring - User: monitoring_admin - Bind query: yes ]
12 19s624ms 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-05-23 22:50:01 - Database: zemm_monitoring - User: monitoring_admin - Bind query: yes ]
13 19s624ms 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-05-23 22:50:01 - Database: zemm_monitoring - User: monitoring_admin - Bind query: yes ]
14 19s624ms 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-05-23 22:50:01 - Database: zemm_monitoring - User: monitoring_admin - Bind query: yes ]
15 19s624ms ALTER TABLE observability.uptime_checks ADD COLUMN IF NOT EXISTS label text;[ Date: 2026-05-23 22:50:01 - Database: zemm_monitoring - User: monitoring_admin - Bind query: yes ]
16 19s624ms ALTER TABLE observability.uptime_checks ADD COLUMN IF NOT EXISTS payload jsonb;[ Date: 2026-05-23 22:50:01 - Database: zemm_monitoring - User: monitoring_admin - Bind query: yes ]
17 19s624ms CREATE INDEX IF NOT EXISTS idx_uptime_checks_endpoint ON observability.uptime_checks (endpoint, checked_at DESC);[ Date: 2026-05-23 22:50:01 - Database: zemm_monitoring - User: monitoring_admin - Bind query: yes ]
18 19s624ms CREATE INDEX IF NOT EXISTS idx_uptime_checks_key ON observability.uptime_checks (check_key, checked_at DESC);[ Date: 2026-05-23 22:50:01 - Database: zemm_monitoring - User: monitoring_admin - Bind query: yes ]
19 19s624ms CREATE SCHEMA IF NOT EXISTS observability;[ Date: 2026-05-23 22:51:02 - Database: zemm_monitoring - User: monitoring_admin - Bind query: yes ]
20 19s624ms 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-05-23 22:51:02 - 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 5h7m3s 1,440 1s206ms 19s624ms 12s793ms 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 #1
Day Hour Count Duration Avg duration May 23 01 60 10m54s 10s906ms 02 60 10m45s 10s756ms 03 60 11m17s 11s287ms 04 60 11m17s 11s295ms 05 60 11m20s 11s333ms 06 60 11m21s 11s353ms 07 60 11m18s 11s310ms 08 60 11m17s 11s299ms 09 60 11m19s 11s322ms 10 60 11m18s 11s312ms 11 60 11m18s 11s306ms 12 60 11m19s 11s328ms 13 60 11m21s 11s363ms 14 60 11m15s 11s260ms 15 60 11m21s 11s360ms 16 60 11m21s 11s359ms 17 60 12m44s 12s742ms 18 60 14m30s 14s504ms 19 60 16m10s 16s181ms 20 60 16m8s 16s145ms 21 60 16m12s 16s202ms 22 60 16m7s 16s125ms 23 60 17m7s 17s119ms 00 60 17m52s 17s874ms [ User: monitoring_admin - Total duration: 5h7m3s - Times executed: 1438 ]
-
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-05-23 22:59:01 Duration: 19s624ms Database: zemm_monitoring User: monitoring_admin Bind query: yes Log file: /var/log/postgresql/postgresql-2026-05-23_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-05-23 22:49:01 Duration: 19s315ms Database: zemm_monitoring User: monitoring_admin Bind query: yes Log file: /var/log/postgresql/postgresql-2026-05-23_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-05-23 23:50:02 Duration: 19s106ms Database: zemm_monitoring User: monitoring_admin Bind query: yes Log file: /var/log/postgresql/postgresql-2026-05-23_000000.csv
2 5h7m3s 1,440 1s206ms 19s624ms 12s793ms create schema if not exists observability;Times Reported Time consuming queries #2
Day Hour Count Duration Avg duration May 23 01 60 10m54s 10s906ms 02 60 10m45s 10s756ms 03 60 11m17s 11s287ms 04 60 11m17s 11s295ms 05 60 11m20s 11s333ms 06 60 11m21s 11s353ms 07 60 11m18s 11s310ms 08 60 11m17s 11s299ms 09 60 11m19s 11s322ms 10 60 11m18s 11s312ms 11 60 11m18s 11s306ms 12 60 11m19s 11s328ms 13 60 11m21s 11s363ms 14 60 11m15s 11s260ms 15 60 11m21s 11s360ms 16 60 11m21s 11s359ms 17 60 12m44s 12s742ms 18 60 14m30s 14s504ms 19 60 16m10s 16s181ms 20 60 16m8s 16s145ms 21 60 16m12s 16s202ms 22 60 16m7s 16s125ms 23 60 17m7s 17s119ms 00 60 17m52s 17s874ms [ User: monitoring_admin - Total duration: 5h7m3s - Times executed: 1438 ]
-
CREATE SCHEMA IF NOT EXISTS observability;
Date: 2026-05-23 22:59:01 Duration: 19s624ms Database: zemm_monitoring User: monitoring_admin Bind query: yes Log file: /var/log/postgresql/postgresql-2026-05-23_000000.csv
-
CREATE SCHEMA IF NOT EXISTS observability;
Date: 2026-05-23 22:49:01 Duration: 19s315ms Database: zemm_monitoring User: monitoring_admin Bind query: yes Log file: /var/log/postgresql/postgresql-2026-05-23_000000.csv
-
CREATE SCHEMA IF NOT EXISTS observability;
Date: 2026-05-23 23:50:02 Duration: 19s106ms Database: zemm_monitoring User: monitoring_admin Bind query: yes Log file: /var/log/postgresql/postgresql-2026-05-23_000000.csv
3 5h7m3s 1,440 1s206ms 19s624ms 12s793ms create index if not exists idx_uptime_checks_key on observability.uptime_checks (check_key, checked_at desc);Times Reported Time consuming queries #3
Day Hour Count Duration Avg duration May 23 01 60 10m54s 10s906ms 02 60 10m45s 10s756ms 03 60 11m17s 11s287ms 04 60 11m17s 11s295ms 05 60 11m20s 11s333ms 06 60 11m21s 11s353ms 07 60 11m18s 11s310ms 08 60 11m17s 11s299ms 09 60 11m19s 11s322ms 10 60 11m18s 11s312ms 11 60 11m18s 11s306ms 12 60 11m19s 11s328ms 13 60 11m21s 11s363ms 14 60 11m15s 11s260ms 15 60 11m21s 11s360ms 16 60 11m21s 11s359ms 17 60 12m44s 12s742ms 18 60 14m30s 14s504ms 19 60 16m10s 16s181ms 20 60 16m8s 16s145ms 21 60 16m12s 16s202ms 22 60 16m7s 16s125ms 23 60 17m7s 17s119ms 00 60 17m52s 17s874ms [ User: monitoring_admin - Total duration: 5h7m3s - Times executed: 1438 ]
-
CREATE INDEX IF NOT EXISTS idx_uptime_checks_key ON observability.uptime_checks (check_key, checked_at DESC);
Date: 2026-05-23 22:59:01 Duration: 19s624ms Database: zemm_monitoring User: monitoring_admin Bind query: yes Log file: /var/log/postgresql/postgresql-2026-05-23_000000.csv
-
CREATE INDEX IF NOT EXISTS idx_uptime_checks_key ON observability.uptime_checks (check_key, checked_at DESC);
Date: 2026-05-23 22:49:01 Duration: 19s315ms Database: zemm_monitoring User: monitoring_admin Bind query: yes Log file: /var/log/postgresql/postgresql-2026-05-23_000000.csv
-
CREATE INDEX IF NOT EXISTS idx_uptime_checks_key ON observability.uptime_checks (check_key, checked_at DESC);
Date: 2026-05-23 23:50:02 Duration: 19s106ms Database: zemm_monitoring User: monitoring_admin Bind query: yes Log file: /var/log/postgresql/postgresql-2026-05-23_000000.csv
4 5h7m3s 1,440 1s206ms 19s624ms 12s793ms create index if not exists idx_app_events_tenant on observability.app_events (tenant_key, occurred_at desc);Times Reported Time consuming queries #4
Day Hour Count Duration Avg duration May 23 01 60 10m54s 10s906ms 02 60 10m45s 10s756ms 03 60 11m17s 11s287ms 04 60 11m17s 11s295ms 05 60 11m20s 11s333ms 06 60 11m21s 11s353ms 07 60 11m18s 11s310ms 08 60 11m17s 11s299ms 09 60 11m19s 11s322ms 10 60 11m18s 11s312ms 11 60 11m18s 11s306ms 12 60 11m19s 11s328ms 13 60 11m21s 11s363ms 14 60 11m15s 11s260ms 15 60 11m21s 11s360ms 16 60 11m21s 11s359ms 17 60 12m44s 12s742ms 18 60 14m30s 14s504ms 19 60 16m10s 16s181ms 20 60 16m8s 16s145ms 21 60 16m12s 16s202ms 22 60 16m7s 16s125ms 23 60 17m7s 17s119ms 00 60 17m52s 17s874ms [ User: monitoring_admin - Total duration: 5h7m3s - Times executed: 1438 ]
-
CREATE INDEX IF NOT EXISTS idx_app_events_tenant ON observability.app_events (tenant_key, occurred_at DESC);
Date: 2026-05-23 22:59:01 Duration: 19s624ms Database: zemm_monitoring User: monitoring_admin Bind query: yes Log file: /var/log/postgresql/postgresql-2026-05-23_000000.csv
-
CREATE INDEX IF NOT EXISTS idx_app_events_tenant ON observability.app_events (tenant_key, occurred_at DESC);
Date: 2026-05-23 22:49:01 Duration: 19s315ms Database: zemm_monitoring User: monitoring_admin Bind query: yes Log file: /var/log/postgresql/postgresql-2026-05-23_000000.csv
-
CREATE INDEX IF NOT EXISTS idx_app_events_tenant ON observability.app_events (tenant_key, occurred_at DESC);
Date: 2026-05-23 23:50:02 Duration: 19s106ms Database: zemm_monitoring User: monitoring_admin Bind query: yes Log file: /var/log/postgresql/postgresql-2026-05-23_000000.csv
5 5h7m3s 1,440 1s206ms 19s624ms 12s793ms create index if not exists idx_uptime_checks_endpoint on observability.uptime_checks (endpoint, checked_at desc);Times Reported Time consuming queries #5
Day Hour Count Duration Avg duration May 23 01 60 10m54s 10s906ms 02 60 10m45s 10s756ms 03 60 11m17s 11s287ms 04 60 11m17s 11s295ms 05 60 11m20s 11s333ms 06 60 11m21s 11s353ms 07 60 11m18s 11s310ms 08 60 11m17s 11s299ms 09 60 11m19s 11s322ms 10 60 11m18s 11s312ms 11 60 11m18s 11s306ms 12 60 11m19s 11s328ms 13 60 11m21s 11s363ms 14 60 11m15s 11s260ms 15 60 11m21s 11s360ms 16 60 11m21s 11s359ms 17 60 12m44s 12s742ms 18 60 14m30s 14s504ms 19 60 16m10s 16s181ms 20 60 16m8s 16s145ms 21 60 16m12s 16s202ms 22 60 16m7s 16s125ms 23 60 17m7s 17s119ms 00 60 17m52s 17s874ms [ User: monitoring_admin - Total duration: 5h7m3s - Times executed: 1438 ]
-
CREATE INDEX IF NOT EXISTS idx_uptime_checks_endpoint ON observability.uptime_checks (endpoint, checked_at DESC);
Date: 2026-05-23 22:59:01 Duration: 19s624ms Database: zemm_monitoring User: monitoring_admin Bind query: yes Log file: /var/log/postgresql/postgresql-2026-05-23_000000.csv
-
CREATE INDEX IF NOT EXISTS idx_uptime_checks_endpoint ON observability.uptime_checks (endpoint, checked_at DESC);
Date: 2026-05-23 22:49:01 Duration: 19s315ms Database: zemm_monitoring User: monitoring_admin Bind query: yes Log file: /var/log/postgresql/postgresql-2026-05-23_000000.csv
-
CREATE INDEX IF NOT EXISTS idx_uptime_checks_endpoint ON observability.uptime_checks (endpoint, checked_at DESC);
Date: 2026-05-23 23:50:02 Duration: 19s106ms Database: zemm_monitoring User: monitoring_admin Bind query: yes Log file: /var/log/postgresql/postgresql-2026-05-23_000000.csv
6 5h7m3s 1,440 1s206ms 19s624ms 12s793ms 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 #6
Day Hour Count Duration Avg duration May 23 01 60 10m54s 10s906ms 02 60 10m45s 10s756ms 03 60 11m17s 11s287ms 04 60 11m17s 11s295ms 05 60 11m20s 11s333ms 06 60 11m21s 11s353ms 07 60 11m18s 11s310ms 08 60 11m17s 11s299ms 09 60 11m19s 11s322ms 10 60 11m18s 11s312ms 11 60 11m18s 11s306ms 12 60 11m19s 11s328ms 13 60 11m21s 11s363ms 14 60 11m15s 11s260ms 15 60 11m21s 11s360ms 16 60 11m21s 11s359ms 17 60 12m44s 12s742ms 18 60 14m30s 14s504ms 19 60 16m10s 16s181ms 20 60 16m8s 16s145ms 21 60 16m12s 16s202ms 22 60 16m7s 16s125ms 23 60 17m7s 17s119ms 00 60 17m52s 17s874ms [ User: monitoring_admin - Total duration: 5h7m3s - Times executed: 1438 ]
-
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-05-23 22:59:01 Duration: 19s624ms Database: zemm_monitoring User: monitoring_admin Bind query: yes Log file: /var/log/postgresql/postgresql-2026-05-23_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-05-23 22:49:01 Duration: 19s315ms Database: zemm_monitoring User: monitoring_admin Bind query: yes Log file: /var/log/postgresql/postgresql-2026-05-23_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-05-23 23:50:02 Duration: 19s106ms Database: zemm_monitoring User: monitoring_admin Bind query: yes Log file: /var/log/postgresql/postgresql-2026-05-23_000000.csv
7 5h7m3s 1,440 1s206ms 19s624ms 12s793ms 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 May 23 01 60 10m54s 10s906ms 02 60 10m45s 10s756ms 03 60 11m17s 11s287ms 04 60 11m17s 11s295ms 05 60 11m20s 11s333ms 06 60 11m21s 11s353ms 07 60 11m18s 11s310ms 08 60 11m17s 11s299ms 09 60 11m19s 11s322ms 10 60 11m18s 11s312ms 11 60 11m18s 11s306ms 12 60 11m19s 11s328ms 13 60 11m21s 11s363ms 14 60 11m15s 11s260ms 15 60 11m21s 11s360ms 16 60 11m21s 11s359ms 17 60 12m44s 12s742ms 18 60 14m30s 14s504ms 19 60 16m10s 16s181ms 20 60 16m8s 16s145ms 21 60 16m12s 16s202ms 22 60 16m7s 16s125ms 23 60 17m7s 17s119ms 00 60 17m52s 17s874ms [ User: monitoring_admin - Total duration: 5h7m3s - Times executed: 1438 ]
-
CREATE INDEX IF NOT EXISTS idx_db_top_queries_tenant ON observability.db_top_queries (tenant_key, collected_at DESC);
Date: 2026-05-23 22:59:01 Duration: 19s624ms Database: zemm_monitoring User: monitoring_admin Bind query: yes Log file: /var/log/postgresql/postgresql-2026-05-23_000000.csv
-
CREATE INDEX IF NOT EXISTS idx_db_top_queries_tenant ON observability.db_top_queries (tenant_key, collected_at DESC);
Date: 2026-05-23 22:49:01 Duration: 19s315ms Database: zemm_monitoring User: monitoring_admin Bind query: yes Log file: /var/log/postgresql/postgresql-2026-05-23_000000.csv
-
CREATE INDEX IF NOT EXISTS idx_db_top_queries_tenant ON observability.db_top_queries (tenant_key, collected_at DESC);
Date: 2026-05-23 23:50:02 Duration: 19s106ms Database: zemm_monitoring User: monitoring_admin Bind query: yes Log file: /var/log/postgresql/postgresql-2026-05-23_000000.csv
8 5h7m3s 1,440 1s206ms 19s624ms 12s793ms 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 #8
Day Hour Count Duration Avg duration May 23 01 60 10m54s 10s906ms 02 60 10m45s 10s756ms 03 60 11m17s 11s287ms 04 60 11m17s 11s295ms 05 60 11m20s 11s333ms 06 60 11m21s 11s353ms 07 60 11m18s 11s310ms 08 60 11m17s 11s299ms 09 60 11m19s 11s322ms 10 60 11m18s 11s312ms 11 60 11m18s 11s306ms 12 60 11m19s 11s328ms 13 60 11m21s 11s363ms 14 60 11m15s 11s260ms 15 60 11m21s 11s360ms 16 60 11m21s 11s359ms 17 60 12m44s 12s742ms 18 60 14m30s 14s504ms 19 60 16m10s 16s181ms 20 60 16m8s 16s145ms 21 60 16m12s 16s202ms 22 60 16m7s 16s125ms 23 60 17m7s 17s119ms 00 60 17m52s 17s874ms [ User: monitoring_admin - Total duration: 5h7m3s - Times executed: 1438 ]
-
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-05-23 22:59:01 Duration: 19s624ms Database: zemm_monitoring User: monitoring_admin Bind query: yes Log file: /var/log/postgresql/postgresql-2026-05-23_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-05-23 22:49:01 Duration: 19s315ms Database: zemm_monitoring User: monitoring_admin Bind query: yes Log file: /var/log/postgresql/postgresql-2026-05-23_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-05-23 23:50:02 Duration: 19s106ms Database: zemm_monitoring User: monitoring_admin Bind query: yes Log file: /var/log/postgresql/postgresql-2026-05-23_000000.csv
9 5h7m3s 1,440 1s206ms 19s624ms 12s793ms 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 #9
Day Hour Count Duration Avg duration May 23 01 60 10m54s 10s906ms 02 60 10m45s 10s756ms 03 60 11m17s 11s287ms 04 60 11m17s 11s295ms 05 60 11m20s 11s333ms 06 60 11m21s 11s353ms 07 60 11m18s 11s310ms 08 60 11m17s 11s299ms 09 60 11m19s 11s322ms 10 60 11m18s 11s312ms 11 60 11m18s 11s306ms 12 60 11m19s 11s328ms 13 60 11m21s 11s363ms 14 60 11m15s 11s260ms 15 60 11m21s 11s360ms 16 60 11m21s 11s359ms 17 60 12m44s 12s742ms 18 60 14m30s 14s504ms 19 60 16m10s 16s181ms 20 60 16m8s 16s145ms 21 60 16m12s 16s202ms 22 60 16m7s 16s125ms 23 60 17m7s 17s119ms 00 60 17m52s 17s874ms [ User: monitoring_admin - Total duration: 5h7m3s - Times executed: 1438 ]
-
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-05-23 22:59:01 Duration: 19s624ms Database: zemm_monitoring User: monitoring_admin Bind query: yes Log file: /var/log/postgresql/postgresql-2026-05-23_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-05-23 22:49:01 Duration: 19s315ms Database: zemm_monitoring User: monitoring_admin Bind query: yes Log file: /var/log/postgresql/postgresql-2026-05-23_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-05-23 23:50:02 Duration: 19s106ms Database: zemm_monitoring User: monitoring_admin Bind query: yes Log file: /var/log/postgresql/postgresql-2026-05-23_000000.csv
10 5h7m3s 1,440 1s206ms 19s624ms 12s793ms 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 May 23 01 60 10m54s 10s906ms 02 60 10m45s 10s756ms 03 60 11m17s 11s287ms 04 60 11m17s 11s295ms 05 60 11m20s 11s333ms 06 60 11m21s 11s353ms 07 60 11m18s 11s310ms 08 60 11m17s 11s299ms 09 60 11m19s 11s322ms 10 60 11m18s 11s312ms 11 60 11m18s 11s306ms 12 60 11m19s 11s328ms 13 60 11m21s 11s363ms 14 60 11m15s 11s260ms 15 60 11m21s 11s360ms 16 60 11m21s 11s359ms 17 60 12m44s 12s742ms 18 60 14m30s 14s504ms 19 60 16m10s 16s181ms 20 60 16m8s 16s145ms 21 60 16m12s 16s202ms 22 60 16m7s 16s125ms 23 60 17m7s 17s119ms 00 60 17m52s 17s874ms [ User: monitoring_admin - Total duration: 5h7m3s - Times executed: 1438 ]
-
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-05-23 22:59:01 Duration: 19s624ms Database: zemm_monitoring User: monitoring_admin Bind query: yes Log file: /var/log/postgresql/postgresql-2026-05-23_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-05-23 22:49:01 Duration: 19s315ms Database: zemm_monitoring User: monitoring_admin Bind query: yes Log file: /var/log/postgresql/postgresql-2026-05-23_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-05-23 23:50:02 Duration: 19s106ms Database: zemm_monitoring User: monitoring_admin Bind query: yes Log file: /var/log/postgresql/postgresql-2026-05-23_000000.csv
11 5h7m3s 1,440 1s206ms 19s624ms 12s793ms create index if not exists idx_metrics_timeseries_metric on observability.metrics_timeseries (metric_name);Times Reported Time consuming queries #11
Day Hour Count Duration Avg duration May 23 01 60 10m54s 10s906ms 02 60 10m45s 10s756ms 03 60 11m17s 11s287ms 04 60 11m17s 11s295ms 05 60 11m20s 11s333ms 06 60 11m21s 11s353ms 07 60 11m18s 11s310ms 08 60 11m17s 11s299ms 09 60 11m19s 11s322ms 10 60 11m18s 11s312ms 11 60 11m18s 11s306ms 12 60 11m19s 11s328ms 13 60 11m21s 11s363ms 14 60 11m15s 11s260ms 15 60 11m21s 11s360ms 16 60 11m21s 11s359ms 17 60 12m44s 12s742ms 18 60 14m30s 14s504ms 19 60 16m10s 16s181ms 20 60 16m8s 16s145ms 21 60 16m12s 16s202ms 22 60 16m7s 16s125ms 23 60 17m7s 17s119ms 00 60 17m52s 17s874ms [ User: monitoring_admin - Total duration: 5h7m3s - Times executed: 1438 ]
-
CREATE INDEX IF NOT EXISTS idx_metrics_timeseries_metric ON observability.metrics_timeseries (metric_name);
Date: 2026-05-23 22:59:01 Duration: 19s624ms Database: zemm_monitoring User: monitoring_admin Bind query: yes Log file: /var/log/postgresql/postgresql-2026-05-23_000000.csv
-
CREATE INDEX IF NOT EXISTS idx_metrics_timeseries_metric ON observability.metrics_timeseries (metric_name);
Date: 2026-05-23 22:49:01 Duration: 19s315ms Database: zemm_monitoring User: monitoring_admin Bind query: yes Log file: /var/log/postgresql/postgresql-2026-05-23_000000.csv
-
CREATE INDEX IF NOT EXISTS idx_metrics_timeseries_metric ON observability.metrics_timeseries (metric_name);
Date: 2026-05-23 23:50:02 Duration: 19s106ms Database: zemm_monitoring User: monitoring_admin Bind query: yes Log file: /var/log/postgresql/postgresql-2026-05-23_000000.csv
12 5h7m3s 1,440 1s206ms 19s624ms 12s793ms alter table observability.uptime_checks add column if not exists payload jsonb;Times Reported Time consuming queries #12
Day Hour Count Duration Avg duration May 23 01 60 10m54s 10s906ms 02 60 10m45s 10s756ms 03 60 11m17s 11s287ms 04 60 11m17s 11s295ms 05 60 11m20s 11s333ms 06 60 11m21s 11s353ms 07 60 11m18s 11s310ms 08 60 11m17s 11s299ms 09 60 11m19s 11s322ms 10 60 11m18s 11s312ms 11 60 11m18s 11s306ms 12 60 11m19s 11s328ms 13 60 11m21s 11s363ms 14 60 11m15s 11s260ms 15 60 11m21s 11s360ms 16 60 11m21s 11s359ms 17 60 12m44s 12s742ms 18 60 14m30s 14s504ms 19 60 16m10s 16s181ms 20 60 16m8s 16s145ms 21 60 16m12s 16s202ms 22 60 16m7s 16s125ms 23 60 17m7s 17s119ms 00 60 17m52s 17s874ms [ User: monitoring_admin - Total duration: 5h7m3s - Times executed: 1438 ]
-
ALTER TABLE observability.uptime_checks ADD COLUMN IF NOT EXISTS payload jsonb;
Date: 2026-05-23 22:59:01 Duration: 19s624ms Database: zemm_monitoring User: monitoring_admin Bind query: yes Log file: /var/log/postgresql/postgresql-2026-05-23_000000.csv
-
ALTER TABLE observability.uptime_checks ADD COLUMN IF NOT EXISTS payload jsonb;
Date: 2026-05-23 22:49:01 Duration: 19s315ms Database: zemm_monitoring User: monitoring_admin Bind query: yes Log file: /var/log/postgresql/postgresql-2026-05-23_000000.csv
-
ALTER TABLE observability.uptime_checks ADD COLUMN IF NOT EXISTS payload jsonb;
Date: 2026-05-23 23:50:02 Duration: 19s106ms Database: zemm_monitoring User: monitoring_admin Bind query: yes Log file: /var/log/postgresql/postgresql-2026-05-23_000000.csv
13 5h7m3s 1,440 1s206ms 19s624ms 12s793ms 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 #13
Day Hour Count Duration Avg duration May 23 01 60 10m54s 10s906ms 02 60 10m45s 10s756ms 03 60 11m17s 11s287ms 04 60 11m17s 11s295ms 05 60 11m20s 11s333ms 06 60 11m21s 11s353ms 07 60 11m18s 11s310ms 08 60 11m17s 11s299ms 09 60 11m19s 11s322ms 10 60 11m18s 11s312ms 11 60 11m18s 11s306ms 12 60 11m19s 11s328ms 13 60 11m21s 11s363ms 14 60 11m15s 11s260ms 15 60 11m21s 11s360ms 16 60 11m21s 11s359ms 17 60 12m44s 12s742ms 18 60 14m30s 14s504ms 19 60 16m10s 16s181ms 20 60 16m8s 16s145ms 21 60 16m12s 16s202ms 22 60 16m7s 16s125ms 23 60 17m7s 17s119ms 00 60 17m52s 17s874ms [ User: monitoring_admin - Total duration: 5h7m3s - Times executed: 1438 ]
-
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-05-23 22:59:01 Duration: 19s624ms Database: zemm_monitoring User: monitoring_admin Bind query: yes Log file: /var/log/postgresql/postgresql-2026-05-23_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-05-23 22:49:01 Duration: 19s315ms Database: zemm_monitoring User: monitoring_admin Bind query: yes Log file: /var/log/postgresql/postgresql-2026-05-23_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-05-23 23:50:02 Duration: 19s106ms Database: zemm_monitoring User: monitoring_admin Bind query: yes Log file: /var/log/postgresql/postgresql-2026-05-23_000000.csv
14 5h7m3s 1,440 1s206ms 19s624ms 12s793ms create index if not exists idx_metrics_timeseries_bucket on observability.metrics_timeseries (bucket_start);Times Reported Time consuming queries #14
Day Hour Count Duration Avg duration May 23 01 60 10m54s 10s906ms 02 60 10m45s 10s756ms 03 60 11m17s 11s287ms 04 60 11m17s 11s295ms 05 60 11m20s 11s333ms 06 60 11m21s 11s353ms 07 60 11m18s 11s310ms 08 60 11m17s 11s299ms 09 60 11m19s 11s322ms 10 60 11m18s 11s312ms 11 60 11m18s 11s306ms 12 60 11m19s 11s328ms 13 60 11m21s 11s363ms 14 60 11m15s 11s260ms 15 60 11m21s 11s360ms 16 60 11m21s 11s359ms 17 60 12m44s 12s742ms 18 60 14m30s 14s504ms 19 60 16m10s 16s181ms 20 60 16m8s 16s145ms 21 60 16m12s 16s202ms 22 60 16m7s 16s125ms 23 60 17m7s 17s119ms 00 60 17m52s 17s874ms [ User: monitoring_admin - Total duration: 5h7m3s - Times executed: 1438 ]
-
CREATE INDEX IF NOT EXISTS idx_metrics_timeseries_bucket ON observability.metrics_timeseries (bucket_start);
Date: 2026-05-23 22:59:01 Duration: 19s624ms Database: zemm_monitoring User: monitoring_admin Bind query: yes Log file: /var/log/postgresql/postgresql-2026-05-23_000000.csv
-
CREATE INDEX IF NOT EXISTS idx_metrics_timeseries_bucket ON observability.metrics_timeseries (bucket_start);
Date: 2026-05-23 22:49:01 Duration: 19s315ms Database: zemm_monitoring User: monitoring_admin Bind query: yes Log file: /var/log/postgresql/postgresql-2026-05-23_000000.csv
-
CREATE INDEX IF NOT EXISTS idx_metrics_timeseries_bucket ON observability.metrics_timeseries (bucket_start);
Date: 2026-05-23 23:50:02 Duration: 19s106ms Database: zemm_monitoring User: monitoring_admin Bind query: yes Log file: /var/log/postgresql/postgresql-2026-05-23_000000.csv
15 5h7m3s 1,440 1s206ms 19s624ms 12s793ms create index if not exists idx_app_events_type on observability.app_events (event_type);Times Reported Time consuming queries #15
Day Hour Count Duration Avg duration May 23 01 60 10m54s 10s906ms 02 60 10m45s 10s756ms 03 60 11m17s 11s287ms 04 60 11m17s 11s295ms 05 60 11m20s 11s333ms 06 60 11m21s 11s353ms 07 60 11m18s 11s310ms 08 60 11m17s 11s299ms 09 60 11m19s 11s322ms 10 60 11m18s 11s312ms 11 60 11m18s 11s306ms 12 60 11m19s 11s328ms 13 60 11m21s 11s363ms 14 60 11m15s 11s260ms 15 60 11m21s 11s360ms 16 60 11m21s 11s359ms 17 60 12m44s 12s742ms 18 60 14m30s 14s504ms 19 60 16m10s 16s181ms 20 60 16m8s 16s145ms 21 60 16m12s 16s202ms 22 60 16m7s 16s125ms 23 60 17m7s 17s119ms 00 60 17m52s 17s874ms [ User: monitoring_admin - Total duration: 5h7m3s - Times executed: 1438 ]
-
CREATE INDEX IF NOT EXISTS idx_app_events_type ON observability.app_events (event_type);
Date: 2026-05-23 22:59:01 Duration: 19s624ms Database: zemm_monitoring User: monitoring_admin Bind query: yes Log file: /var/log/postgresql/postgresql-2026-05-23_000000.csv
-
CREATE INDEX IF NOT EXISTS idx_app_events_type ON observability.app_events (event_type);
Date: 2026-05-23 22:49:01 Duration: 19s315ms Database: zemm_monitoring User: monitoring_admin Bind query: yes Log file: /var/log/postgresql/postgresql-2026-05-23_000000.csv
-
CREATE INDEX IF NOT EXISTS idx_app_events_type ON observability.app_events (event_type);
Date: 2026-05-23 23:50:02 Duration: 19s106ms Database: zemm_monitoring User: monitoring_admin Bind query: yes Log file: /var/log/postgresql/postgresql-2026-05-23_000000.csv
16 5h7m3s 1,440 1s206ms 19s624ms 12s793ms 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 #16
Day Hour Count Duration Avg duration May 23 01 60 10m54s 10s906ms 02 60 10m45s 10s756ms 03 60 11m17s 11s287ms 04 60 11m17s 11s295ms 05 60 11m20s 11s333ms 06 60 11m21s 11s353ms 07 60 11m18s 11s310ms 08 60 11m17s 11s299ms 09 60 11m19s 11s322ms 10 60 11m18s 11s312ms 11 60 11m18s 11s306ms 12 60 11m19s 11s328ms 13 60 11m21s 11s363ms 14 60 11m15s 11s260ms 15 60 11m21s 11s360ms 16 60 11m21s 11s359ms 17 60 12m44s 12s742ms 18 60 14m30s 14s504ms 19 60 16m10s 16s181ms 20 60 16m8s 16s145ms 21 60 16m12s 16s202ms 22 60 16m7s 16s125ms 23 60 17m7s 17s119ms 00 60 17m52s 17s874ms [ User: monitoring_admin - Total duration: 5h7m3s - Times executed: 1438 ]
-
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-05-23 22:59:01 Duration: 19s624ms Database: zemm_monitoring User: monitoring_admin Bind query: yes Log file: /var/log/postgresql/postgresql-2026-05-23_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-05-23 22:49:01 Duration: 19s315ms Database: zemm_monitoring User: monitoring_admin Bind query: yes Log file: /var/log/postgresql/postgresql-2026-05-23_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-05-23 23:50:02 Duration: 19s106ms Database: zemm_monitoring User: monitoring_admin Bind query: yes Log file: /var/log/postgresql/postgresql-2026-05-23_000000.csv
17 5h7m3s 1,440 1s206ms 19s624ms 12s793ms alter table observability.uptime_checks add column if not exists label text;Times Reported Time consuming queries #17
Day Hour Count Duration Avg duration May 23 01 60 10m54s 10s906ms 02 60 10m45s 10s756ms 03 60 11m17s 11s287ms 04 60 11m17s 11s295ms 05 60 11m20s 11s333ms 06 60 11m21s 11s353ms 07 60 11m18s 11s310ms 08 60 11m17s 11s299ms 09 60 11m19s 11s322ms 10 60 11m18s 11s312ms 11 60 11m18s 11s306ms 12 60 11m19s 11s328ms 13 60 11m21s 11s363ms 14 60 11m15s 11s260ms 15 60 11m21s 11s360ms 16 60 11m21s 11s359ms 17 60 12m44s 12s742ms 18 60 14m30s 14s504ms 19 60 16m10s 16s181ms 20 60 16m8s 16s145ms 21 60 16m12s 16s202ms 22 60 16m7s 16s125ms 23 60 17m7s 17s119ms 00 60 17m52s 17s874ms [ User: monitoring_admin - Total duration: 5h7m3s - Times executed: 1438 ]
-
ALTER TABLE observability.uptime_checks ADD COLUMN IF NOT EXISTS label text;
Date: 2026-05-23 22:59:01 Duration: 19s624ms Database: zemm_monitoring User: monitoring_admin Bind query: yes Log file: /var/log/postgresql/postgresql-2026-05-23_000000.csv
-
ALTER TABLE observability.uptime_checks ADD COLUMN IF NOT EXISTS label text;
Date: 2026-05-23 22:49:01 Duration: 19s315ms Database: zemm_monitoring User: monitoring_admin Bind query: yes Log file: /var/log/postgresql/postgresql-2026-05-23_000000.csv
-
ALTER TABLE observability.uptime_checks ADD COLUMN IF NOT EXISTS label text;
Date: 2026-05-23 23:50:02 Duration: 19s106ms Database: zemm_monitoring User: monitoring_admin Bind query: yes Log file: /var/log/postgresql/postgresql-2026-05-23_000000.csv
18 30m47s 143 11s161ms 19s624ms 12s921ms 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 May 23 01 6 1m7s 11s280ms 02 6 1m7s 11s257ms 03 6 1m7s 11s288ms 04 6 1m7s 11s295ms 05 6 1m8s 11s358ms 06 5 56s650ms 11s330ms 07 6 1m7s 11s310ms 08 6 1m7s 11s311ms 09 6 1m7s 11s313ms 10 6 1m7s 11s320ms 11 6 1m7s 11s298ms 12 5 56s642ms 11s328ms 13 6 1m8s 11s366ms 14 6 1m7s 11s257ms 15 6 1m8s 11s376ms 16 6 1m7s 11s332ms 17 7 1m29s 12s808ms 18 6 1m28s 14s825ms 19 6 1m37s 16s180ms 20 6 1m36s 16s147ms 21 6 1m37s 16s204ms 22 6 1m36s 16s105ms 23 7 2m2s 17s515ms 00 5 1m35s 19s31ms [ User: monitoring_admin - Total duration: 30m47s - Times executed: 143 ]
-
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-05-18 22:48:59+02' AND collected_at <= '2026-05-20 22:48:59+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-05-20 22:48:59+02' AND '2026-05-23 22:48:59+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-05-20 22:48:59+02' AND '2026-05-23 22:48:59+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-05-23 22:49:18 Duration: 19s624ms Database: zemm_monitoring User: monitoring_admin Bind query: yes Log file: /var/log/postgresql/postgresql-2026-05-23_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-05-18 22:41:40+02' AND collected_at <= '2026-05-20 22:41: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-05-20 22:41:40+02' AND '2026-05-23 22:41: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-05-20 22:41:40+02' AND '2026-05-23 22:41: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-05-23 22:42:00 Duration: 19s315ms Database: zemm_monitoring User: monitoring_admin Bind query: yes Log file: /var/log/postgresql/postgresql-2026-05-23_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-05-18 23:40:14+02' AND collected_at <= '2026-05-20 23:40:14+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-05-20 23:40:14+02' AND '2026-05-23 23:40:14+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-05-20 23:40:14+02' AND '2026-05-23 23:40:14+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-05-23 23:40:33 Duration: 19s106ms Database: zemm_monitoring User: monitoring_admin Bind query: yes Log file: /var/log/postgresql/postgresql-2026-05-23_000000.csv
19 2s52ms 1 2s52ms 2s52ms 2s52ms 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 May 23 00 1 2s52ms 2s52ms [ User: postgres - Total duration: 2s52ms - Times executed: 1 ]
[ Application: pg_dump - Total duration: 2s52ms - 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-05-23 23:55:12 Duration: 2s52ms Database: zemm_produktiv_8 User: postgres Remote: [local] Application: pg_dump Bind query: yes Log file: /var/log/postgresql/postgresql-2026-05-23_000000.csv
20 1s381ms 1 1s381ms 1s381ms 1s381ms copy public."targetgroupMembers" (id, targetgroup, "user", "group") to stdout;Times Reported Time consuming queries #20
Day Hour Count Duration Avg duration May 23 00 1 1s381ms 1s381ms [ User: postgres - Total duration: 1s381ms - Times executed: 1 ]
[ Application: pg_dump - Total duration: 1s381ms - Times executed: 1 ]
-
COPY public."targetgroupMembers" (id, targetgroup, "user", "group") TO stdout;
Date: 2026-05-23 23:55:15 Duration: 1s381ms Database: zemm_produktiv_8 User: postgres Remote: [local] Application: pg_dump Bind query: yes Log file: /var/log/postgresql/postgresql-2026-05-23_000000.csv
Most frequent queries (N)
Rank Times executed Total duration Min duration Max duration Avg duration Query 1 1,440 5h7m3s 1s206ms 19s624ms 12s793ms 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 #1
Day Hour Count Duration Avg duration May 23 01 60 10m54s 10s906ms 02 60 10m45s 10s756ms 03 60 11m17s 11s287ms 04 60 11m17s 11s295ms 05 60 11m20s 11s333ms 06 60 11m21s 11s353ms 07 60 11m18s 11s310ms 08 60 11m17s 11s299ms 09 60 11m19s 11s322ms 10 60 11m18s 11s312ms 11 60 11m18s 11s306ms 12 60 11m19s 11s328ms 13 60 11m21s 11s363ms 14 60 11m15s 11s260ms 15 60 11m21s 11s360ms 16 60 11m21s 11s359ms 17 60 12m44s 12s742ms 18 60 14m30s 14s504ms 19 60 16m10s 16s181ms 20 60 16m8s 16s145ms 21 60 16m12s 16s202ms 22 60 16m7s 16s125ms 23 60 17m7s 17s119ms 00 60 17m52s 17s874ms [ User: monitoring_admin - Total duration: 5h7m3s - Times executed: 1438 ]
-
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-05-23 22:59:01 Duration: 19s624ms Database: zemm_monitoring User: monitoring_admin Bind query: yes Log file: /var/log/postgresql/postgresql-2026-05-23_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-05-23 22:49:01 Duration: 19s315ms Database: zemm_monitoring User: monitoring_admin Bind query: yes Log file: /var/log/postgresql/postgresql-2026-05-23_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-05-23 23:50:02 Duration: 19s106ms Database: zemm_monitoring User: monitoring_admin Bind query: yes Log file: /var/log/postgresql/postgresql-2026-05-23_000000.csv
2 1,440 5h7m3s 1s206ms 19s624ms 12s793ms create schema if not exists observability;Times Reported Time consuming queries #2
Day Hour Count Duration Avg duration May 23 01 60 10m54s 10s906ms 02 60 10m45s 10s756ms 03 60 11m17s 11s287ms 04 60 11m17s 11s295ms 05 60 11m20s 11s333ms 06 60 11m21s 11s353ms 07 60 11m18s 11s310ms 08 60 11m17s 11s299ms 09 60 11m19s 11s322ms 10 60 11m18s 11s312ms 11 60 11m18s 11s306ms 12 60 11m19s 11s328ms 13 60 11m21s 11s363ms 14 60 11m15s 11s260ms 15 60 11m21s 11s360ms 16 60 11m21s 11s359ms 17 60 12m44s 12s742ms 18 60 14m30s 14s504ms 19 60 16m10s 16s181ms 20 60 16m8s 16s145ms 21 60 16m12s 16s202ms 22 60 16m7s 16s125ms 23 60 17m7s 17s119ms 00 60 17m52s 17s874ms [ User: monitoring_admin - Total duration: 5h7m3s - Times executed: 1438 ]
-
CREATE SCHEMA IF NOT EXISTS observability;
Date: 2026-05-23 22:59:01 Duration: 19s624ms Database: zemm_monitoring User: monitoring_admin Bind query: yes Log file: /var/log/postgresql/postgresql-2026-05-23_000000.csv
-
CREATE SCHEMA IF NOT EXISTS observability;
Date: 2026-05-23 22:49:01 Duration: 19s315ms Database: zemm_monitoring User: monitoring_admin Bind query: yes Log file: /var/log/postgresql/postgresql-2026-05-23_000000.csv
-
CREATE SCHEMA IF NOT EXISTS observability;
Date: 2026-05-23 23:50:02 Duration: 19s106ms Database: zemm_monitoring User: monitoring_admin Bind query: yes Log file: /var/log/postgresql/postgresql-2026-05-23_000000.csv
3 1,440 5h7m3s 1s206ms 19s624ms 12s793ms create index if not exists idx_uptime_checks_key on observability.uptime_checks (check_key, checked_at desc);Times Reported Time consuming queries #3
Day Hour Count Duration Avg duration May 23 01 60 10m54s 10s906ms 02 60 10m45s 10s756ms 03 60 11m17s 11s287ms 04 60 11m17s 11s295ms 05 60 11m20s 11s333ms 06 60 11m21s 11s353ms 07 60 11m18s 11s310ms 08 60 11m17s 11s299ms 09 60 11m19s 11s322ms 10 60 11m18s 11s312ms 11 60 11m18s 11s306ms 12 60 11m19s 11s328ms 13 60 11m21s 11s363ms 14 60 11m15s 11s260ms 15 60 11m21s 11s360ms 16 60 11m21s 11s359ms 17 60 12m44s 12s742ms 18 60 14m30s 14s504ms 19 60 16m10s 16s181ms 20 60 16m8s 16s145ms 21 60 16m12s 16s202ms 22 60 16m7s 16s125ms 23 60 17m7s 17s119ms 00 60 17m52s 17s874ms [ User: monitoring_admin - Total duration: 5h7m3s - Times executed: 1438 ]
-
CREATE INDEX IF NOT EXISTS idx_uptime_checks_key ON observability.uptime_checks (check_key, checked_at DESC);
Date: 2026-05-23 22:59:01 Duration: 19s624ms Database: zemm_monitoring User: monitoring_admin Bind query: yes Log file: /var/log/postgresql/postgresql-2026-05-23_000000.csv
-
CREATE INDEX IF NOT EXISTS idx_uptime_checks_key ON observability.uptime_checks (check_key, checked_at DESC);
Date: 2026-05-23 22:49:01 Duration: 19s315ms Database: zemm_monitoring User: monitoring_admin Bind query: yes Log file: /var/log/postgresql/postgresql-2026-05-23_000000.csv
-
CREATE INDEX IF NOT EXISTS idx_uptime_checks_key ON observability.uptime_checks (check_key, checked_at DESC);
Date: 2026-05-23 23:50:02 Duration: 19s106ms Database: zemm_monitoring User: monitoring_admin Bind query: yes Log file: /var/log/postgresql/postgresql-2026-05-23_000000.csv
4 1,440 5h7m3s 1s206ms 19s624ms 12s793ms create index if not exists idx_app_events_tenant on observability.app_events (tenant_key, occurred_at desc);Times Reported Time consuming queries #4
Day Hour Count Duration Avg duration May 23 01 60 10m54s 10s906ms 02 60 10m45s 10s756ms 03 60 11m17s 11s287ms 04 60 11m17s 11s295ms 05 60 11m20s 11s333ms 06 60 11m21s 11s353ms 07 60 11m18s 11s310ms 08 60 11m17s 11s299ms 09 60 11m19s 11s322ms 10 60 11m18s 11s312ms 11 60 11m18s 11s306ms 12 60 11m19s 11s328ms 13 60 11m21s 11s363ms 14 60 11m15s 11s260ms 15 60 11m21s 11s360ms 16 60 11m21s 11s359ms 17 60 12m44s 12s742ms 18 60 14m30s 14s504ms 19 60 16m10s 16s181ms 20 60 16m8s 16s145ms 21 60 16m12s 16s202ms 22 60 16m7s 16s125ms 23 60 17m7s 17s119ms 00 60 17m52s 17s874ms [ User: monitoring_admin - Total duration: 5h7m3s - Times executed: 1438 ]
-
CREATE INDEX IF NOT EXISTS idx_app_events_tenant ON observability.app_events (tenant_key, occurred_at DESC);
Date: 2026-05-23 22:59:01 Duration: 19s624ms Database: zemm_monitoring User: monitoring_admin Bind query: yes Log file: /var/log/postgresql/postgresql-2026-05-23_000000.csv
-
CREATE INDEX IF NOT EXISTS idx_app_events_tenant ON observability.app_events (tenant_key, occurred_at DESC);
Date: 2026-05-23 22:49:01 Duration: 19s315ms Database: zemm_monitoring User: monitoring_admin Bind query: yes Log file: /var/log/postgresql/postgresql-2026-05-23_000000.csv
-
CREATE INDEX IF NOT EXISTS idx_app_events_tenant ON observability.app_events (tenant_key, occurred_at DESC);
Date: 2026-05-23 23:50:02 Duration: 19s106ms Database: zemm_monitoring User: monitoring_admin Bind query: yes Log file: /var/log/postgresql/postgresql-2026-05-23_000000.csv
5 1,440 5h7m3s 1s206ms 19s624ms 12s793ms create index if not exists idx_uptime_checks_endpoint on observability.uptime_checks (endpoint, checked_at desc);Times Reported Time consuming queries #5
Day Hour Count Duration Avg duration May 23 01 60 10m54s 10s906ms 02 60 10m45s 10s756ms 03 60 11m17s 11s287ms 04 60 11m17s 11s295ms 05 60 11m20s 11s333ms 06 60 11m21s 11s353ms 07 60 11m18s 11s310ms 08 60 11m17s 11s299ms 09 60 11m19s 11s322ms 10 60 11m18s 11s312ms 11 60 11m18s 11s306ms 12 60 11m19s 11s328ms 13 60 11m21s 11s363ms 14 60 11m15s 11s260ms 15 60 11m21s 11s360ms 16 60 11m21s 11s359ms 17 60 12m44s 12s742ms 18 60 14m30s 14s504ms 19 60 16m10s 16s181ms 20 60 16m8s 16s145ms 21 60 16m12s 16s202ms 22 60 16m7s 16s125ms 23 60 17m7s 17s119ms 00 60 17m52s 17s874ms [ User: monitoring_admin - Total duration: 5h7m3s - Times executed: 1438 ]
-
CREATE INDEX IF NOT EXISTS idx_uptime_checks_endpoint ON observability.uptime_checks (endpoint, checked_at DESC);
Date: 2026-05-23 22:59:01 Duration: 19s624ms Database: zemm_monitoring User: monitoring_admin Bind query: yes Log file: /var/log/postgresql/postgresql-2026-05-23_000000.csv
-
CREATE INDEX IF NOT EXISTS idx_uptime_checks_endpoint ON observability.uptime_checks (endpoint, checked_at DESC);
Date: 2026-05-23 22:49:01 Duration: 19s315ms Database: zemm_monitoring User: monitoring_admin Bind query: yes Log file: /var/log/postgresql/postgresql-2026-05-23_000000.csv
-
CREATE INDEX IF NOT EXISTS idx_uptime_checks_endpoint ON observability.uptime_checks (endpoint, checked_at DESC);
Date: 2026-05-23 23:50:02 Duration: 19s106ms Database: zemm_monitoring User: monitoring_admin Bind query: yes Log file: /var/log/postgresql/postgresql-2026-05-23_000000.csv
6 1,440 5h7m3s 1s206ms 19s624ms 12s793ms 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 #6
Day Hour Count Duration Avg duration May 23 01 60 10m54s 10s906ms 02 60 10m45s 10s756ms 03 60 11m17s 11s287ms 04 60 11m17s 11s295ms 05 60 11m20s 11s333ms 06 60 11m21s 11s353ms 07 60 11m18s 11s310ms 08 60 11m17s 11s299ms 09 60 11m19s 11s322ms 10 60 11m18s 11s312ms 11 60 11m18s 11s306ms 12 60 11m19s 11s328ms 13 60 11m21s 11s363ms 14 60 11m15s 11s260ms 15 60 11m21s 11s360ms 16 60 11m21s 11s359ms 17 60 12m44s 12s742ms 18 60 14m30s 14s504ms 19 60 16m10s 16s181ms 20 60 16m8s 16s145ms 21 60 16m12s 16s202ms 22 60 16m7s 16s125ms 23 60 17m7s 17s119ms 00 60 17m52s 17s874ms [ User: monitoring_admin - Total duration: 5h7m3s - Times executed: 1438 ]
-
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-05-23 22:59:01 Duration: 19s624ms Database: zemm_monitoring User: monitoring_admin Bind query: yes Log file: /var/log/postgresql/postgresql-2026-05-23_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-05-23 22:49:01 Duration: 19s315ms Database: zemm_monitoring User: monitoring_admin Bind query: yes Log file: /var/log/postgresql/postgresql-2026-05-23_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-05-23 23:50:02 Duration: 19s106ms Database: zemm_monitoring User: monitoring_admin Bind query: yes Log file: /var/log/postgresql/postgresql-2026-05-23_000000.csv
7 1,440 5h7m3s 1s206ms 19s624ms 12s793ms 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 May 23 01 60 10m54s 10s906ms 02 60 10m45s 10s756ms 03 60 11m17s 11s287ms 04 60 11m17s 11s295ms 05 60 11m20s 11s333ms 06 60 11m21s 11s353ms 07 60 11m18s 11s310ms 08 60 11m17s 11s299ms 09 60 11m19s 11s322ms 10 60 11m18s 11s312ms 11 60 11m18s 11s306ms 12 60 11m19s 11s328ms 13 60 11m21s 11s363ms 14 60 11m15s 11s260ms 15 60 11m21s 11s360ms 16 60 11m21s 11s359ms 17 60 12m44s 12s742ms 18 60 14m30s 14s504ms 19 60 16m10s 16s181ms 20 60 16m8s 16s145ms 21 60 16m12s 16s202ms 22 60 16m7s 16s125ms 23 60 17m7s 17s119ms 00 60 17m52s 17s874ms [ User: monitoring_admin - Total duration: 5h7m3s - Times executed: 1438 ]
-
CREATE INDEX IF NOT EXISTS idx_db_top_queries_tenant ON observability.db_top_queries (tenant_key, collected_at DESC);
Date: 2026-05-23 22:59:01 Duration: 19s624ms Database: zemm_monitoring User: monitoring_admin Bind query: yes Log file: /var/log/postgresql/postgresql-2026-05-23_000000.csv
-
CREATE INDEX IF NOT EXISTS idx_db_top_queries_tenant ON observability.db_top_queries (tenant_key, collected_at DESC);
Date: 2026-05-23 22:49:01 Duration: 19s315ms Database: zemm_monitoring User: monitoring_admin Bind query: yes Log file: /var/log/postgresql/postgresql-2026-05-23_000000.csv
-
CREATE INDEX IF NOT EXISTS idx_db_top_queries_tenant ON observability.db_top_queries (tenant_key, collected_at DESC);
Date: 2026-05-23 23:50:02 Duration: 19s106ms Database: zemm_monitoring User: monitoring_admin Bind query: yes Log file: /var/log/postgresql/postgresql-2026-05-23_000000.csv
8 1,440 5h7m3s 1s206ms 19s624ms 12s793ms 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 #8
Day Hour Count Duration Avg duration May 23 01 60 10m54s 10s906ms 02 60 10m45s 10s756ms 03 60 11m17s 11s287ms 04 60 11m17s 11s295ms 05 60 11m20s 11s333ms 06 60 11m21s 11s353ms 07 60 11m18s 11s310ms 08 60 11m17s 11s299ms 09 60 11m19s 11s322ms 10 60 11m18s 11s312ms 11 60 11m18s 11s306ms 12 60 11m19s 11s328ms 13 60 11m21s 11s363ms 14 60 11m15s 11s260ms 15 60 11m21s 11s360ms 16 60 11m21s 11s359ms 17 60 12m44s 12s742ms 18 60 14m30s 14s504ms 19 60 16m10s 16s181ms 20 60 16m8s 16s145ms 21 60 16m12s 16s202ms 22 60 16m7s 16s125ms 23 60 17m7s 17s119ms 00 60 17m52s 17s874ms [ User: monitoring_admin - Total duration: 5h7m3s - Times executed: 1438 ]
-
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-05-23 22:59:01 Duration: 19s624ms Database: zemm_monitoring User: monitoring_admin Bind query: yes Log file: /var/log/postgresql/postgresql-2026-05-23_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-05-23 22:49:01 Duration: 19s315ms Database: zemm_monitoring User: monitoring_admin Bind query: yes Log file: /var/log/postgresql/postgresql-2026-05-23_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-05-23 23:50:02 Duration: 19s106ms Database: zemm_monitoring User: monitoring_admin Bind query: yes Log file: /var/log/postgresql/postgresql-2026-05-23_000000.csv
9 1,440 5h7m3s 1s206ms 19s624ms 12s793ms 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 #9
Day Hour Count Duration Avg duration May 23 01 60 10m54s 10s906ms 02 60 10m45s 10s756ms 03 60 11m17s 11s287ms 04 60 11m17s 11s295ms 05 60 11m20s 11s333ms 06 60 11m21s 11s353ms 07 60 11m18s 11s310ms 08 60 11m17s 11s299ms 09 60 11m19s 11s322ms 10 60 11m18s 11s312ms 11 60 11m18s 11s306ms 12 60 11m19s 11s328ms 13 60 11m21s 11s363ms 14 60 11m15s 11s260ms 15 60 11m21s 11s360ms 16 60 11m21s 11s359ms 17 60 12m44s 12s742ms 18 60 14m30s 14s504ms 19 60 16m10s 16s181ms 20 60 16m8s 16s145ms 21 60 16m12s 16s202ms 22 60 16m7s 16s125ms 23 60 17m7s 17s119ms 00 60 17m52s 17s874ms [ User: monitoring_admin - Total duration: 5h7m3s - Times executed: 1438 ]
-
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-05-23 22:59:01 Duration: 19s624ms Database: zemm_monitoring User: monitoring_admin Bind query: yes Log file: /var/log/postgresql/postgresql-2026-05-23_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-05-23 22:49:01 Duration: 19s315ms Database: zemm_monitoring User: monitoring_admin Bind query: yes Log file: /var/log/postgresql/postgresql-2026-05-23_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-05-23 23:50:02 Duration: 19s106ms Database: zemm_monitoring User: monitoring_admin Bind query: yes Log file: /var/log/postgresql/postgresql-2026-05-23_000000.csv
10 1,440 5h7m3s 1s206ms 19s624ms 12s793ms 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 May 23 01 60 10m54s 10s906ms 02 60 10m45s 10s756ms 03 60 11m17s 11s287ms 04 60 11m17s 11s295ms 05 60 11m20s 11s333ms 06 60 11m21s 11s353ms 07 60 11m18s 11s310ms 08 60 11m17s 11s299ms 09 60 11m19s 11s322ms 10 60 11m18s 11s312ms 11 60 11m18s 11s306ms 12 60 11m19s 11s328ms 13 60 11m21s 11s363ms 14 60 11m15s 11s260ms 15 60 11m21s 11s360ms 16 60 11m21s 11s359ms 17 60 12m44s 12s742ms 18 60 14m30s 14s504ms 19 60 16m10s 16s181ms 20 60 16m8s 16s145ms 21 60 16m12s 16s202ms 22 60 16m7s 16s125ms 23 60 17m7s 17s119ms 00 60 17m52s 17s874ms [ User: monitoring_admin - Total duration: 5h7m3s - Times executed: 1438 ]
-
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-05-23 22:59:01 Duration: 19s624ms Database: zemm_monitoring User: monitoring_admin Bind query: yes Log file: /var/log/postgresql/postgresql-2026-05-23_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-05-23 22:49:01 Duration: 19s315ms Database: zemm_monitoring User: monitoring_admin Bind query: yes Log file: /var/log/postgresql/postgresql-2026-05-23_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-05-23 23:50:02 Duration: 19s106ms Database: zemm_monitoring User: monitoring_admin Bind query: yes Log file: /var/log/postgresql/postgresql-2026-05-23_000000.csv
11 1,440 5h7m3s 1s206ms 19s624ms 12s793ms create index if not exists idx_metrics_timeseries_metric on observability.metrics_timeseries (metric_name);Times Reported Time consuming queries #11
Day Hour Count Duration Avg duration May 23 01 60 10m54s 10s906ms 02 60 10m45s 10s756ms 03 60 11m17s 11s287ms 04 60 11m17s 11s295ms 05 60 11m20s 11s333ms 06 60 11m21s 11s353ms 07 60 11m18s 11s310ms 08 60 11m17s 11s299ms 09 60 11m19s 11s322ms 10 60 11m18s 11s312ms 11 60 11m18s 11s306ms 12 60 11m19s 11s328ms 13 60 11m21s 11s363ms 14 60 11m15s 11s260ms 15 60 11m21s 11s360ms 16 60 11m21s 11s359ms 17 60 12m44s 12s742ms 18 60 14m30s 14s504ms 19 60 16m10s 16s181ms 20 60 16m8s 16s145ms 21 60 16m12s 16s202ms 22 60 16m7s 16s125ms 23 60 17m7s 17s119ms 00 60 17m52s 17s874ms [ User: monitoring_admin - Total duration: 5h7m3s - Times executed: 1438 ]
-
CREATE INDEX IF NOT EXISTS idx_metrics_timeseries_metric ON observability.metrics_timeseries (metric_name);
Date: 2026-05-23 22:59:01 Duration: 19s624ms Database: zemm_monitoring User: monitoring_admin Bind query: yes Log file: /var/log/postgresql/postgresql-2026-05-23_000000.csv
-
CREATE INDEX IF NOT EXISTS idx_metrics_timeseries_metric ON observability.metrics_timeseries (metric_name);
Date: 2026-05-23 22:49:01 Duration: 19s315ms Database: zemm_monitoring User: monitoring_admin Bind query: yes Log file: /var/log/postgresql/postgresql-2026-05-23_000000.csv
-
CREATE INDEX IF NOT EXISTS idx_metrics_timeseries_metric ON observability.metrics_timeseries (metric_name);
Date: 2026-05-23 23:50:02 Duration: 19s106ms Database: zemm_monitoring User: monitoring_admin Bind query: yes Log file: /var/log/postgresql/postgresql-2026-05-23_000000.csv
12 1,440 5h7m3s 1s206ms 19s624ms 12s793ms alter table observability.uptime_checks add column if not exists payload jsonb;Times Reported Time consuming queries #12
Day Hour Count Duration Avg duration May 23 01 60 10m54s 10s906ms 02 60 10m45s 10s756ms 03 60 11m17s 11s287ms 04 60 11m17s 11s295ms 05 60 11m20s 11s333ms 06 60 11m21s 11s353ms 07 60 11m18s 11s310ms 08 60 11m17s 11s299ms 09 60 11m19s 11s322ms 10 60 11m18s 11s312ms 11 60 11m18s 11s306ms 12 60 11m19s 11s328ms 13 60 11m21s 11s363ms 14 60 11m15s 11s260ms 15 60 11m21s 11s360ms 16 60 11m21s 11s359ms 17 60 12m44s 12s742ms 18 60 14m30s 14s504ms 19 60 16m10s 16s181ms 20 60 16m8s 16s145ms 21 60 16m12s 16s202ms 22 60 16m7s 16s125ms 23 60 17m7s 17s119ms 00 60 17m52s 17s874ms [ User: monitoring_admin - Total duration: 5h7m3s - Times executed: 1438 ]
-
ALTER TABLE observability.uptime_checks ADD COLUMN IF NOT EXISTS payload jsonb;
Date: 2026-05-23 22:59:01 Duration: 19s624ms Database: zemm_monitoring User: monitoring_admin Bind query: yes Log file: /var/log/postgresql/postgresql-2026-05-23_000000.csv
-
ALTER TABLE observability.uptime_checks ADD COLUMN IF NOT EXISTS payload jsonb;
Date: 2026-05-23 22:49:01 Duration: 19s315ms Database: zemm_monitoring User: monitoring_admin Bind query: yes Log file: /var/log/postgresql/postgresql-2026-05-23_000000.csv
-
ALTER TABLE observability.uptime_checks ADD COLUMN IF NOT EXISTS payload jsonb;
Date: 2026-05-23 23:50:02 Duration: 19s106ms Database: zemm_monitoring User: monitoring_admin Bind query: yes Log file: /var/log/postgresql/postgresql-2026-05-23_000000.csv
13 1,440 5h7m3s 1s206ms 19s624ms 12s793ms 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 #13
Day Hour Count Duration Avg duration May 23 01 60 10m54s 10s906ms 02 60 10m45s 10s756ms 03 60 11m17s 11s287ms 04 60 11m17s 11s295ms 05 60 11m20s 11s333ms 06 60 11m21s 11s353ms 07 60 11m18s 11s310ms 08 60 11m17s 11s299ms 09 60 11m19s 11s322ms 10 60 11m18s 11s312ms 11 60 11m18s 11s306ms 12 60 11m19s 11s328ms 13 60 11m21s 11s363ms 14 60 11m15s 11s260ms 15 60 11m21s 11s360ms 16 60 11m21s 11s359ms 17 60 12m44s 12s742ms 18 60 14m30s 14s504ms 19 60 16m10s 16s181ms 20 60 16m8s 16s145ms 21 60 16m12s 16s202ms 22 60 16m7s 16s125ms 23 60 17m7s 17s119ms 00 60 17m52s 17s874ms [ User: monitoring_admin - Total duration: 5h7m3s - Times executed: 1438 ]
-
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-05-23 22:59:01 Duration: 19s624ms Database: zemm_monitoring User: monitoring_admin Bind query: yes Log file: /var/log/postgresql/postgresql-2026-05-23_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-05-23 22:49:01 Duration: 19s315ms Database: zemm_monitoring User: monitoring_admin Bind query: yes Log file: /var/log/postgresql/postgresql-2026-05-23_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-05-23 23:50:02 Duration: 19s106ms Database: zemm_monitoring User: monitoring_admin Bind query: yes Log file: /var/log/postgresql/postgresql-2026-05-23_000000.csv
14 1,440 5h7m3s 1s206ms 19s624ms 12s793ms create index if not exists idx_metrics_timeseries_bucket on observability.metrics_timeseries (bucket_start);Times Reported Time consuming queries #14
Day Hour Count Duration Avg duration May 23 01 60 10m54s 10s906ms 02 60 10m45s 10s756ms 03 60 11m17s 11s287ms 04 60 11m17s 11s295ms 05 60 11m20s 11s333ms 06 60 11m21s 11s353ms 07 60 11m18s 11s310ms 08 60 11m17s 11s299ms 09 60 11m19s 11s322ms 10 60 11m18s 11s312ms 11 60 11m18s 11s306ms 12 60 11m19s 11s328ms 13 60 11m21s 11s363ms 14 60 11m15s 11s260ms 15 60 11m21s 11s360ms 16 60 11m21s 11s359ms 17 60 12m44s 12s742ms 18 60 14m30s 14s504ms 19 60 16m10s 16s181ms 20 60 16m8s 16s145ms 21 60 16m12s 16s202ms 22 60 16m7s 16s125ms 23 60 17m7s 17s119ms 00 60 17m52s 17s874ms [ User: monitoring_admin - Total duration: 5h7m3s - Times executed: 1438 ]
-
CREATE INDEX IF NOT EXISTS idx_metrics_timeseries_bucket ON observability.metrics_timeseries (bucket_start);
Date: 2026-05-23 22:59:01 Duration: 19s624ms Database: zemm_monitoring User: monitoring_admin Bind query: yes Log file: /var/log/postgresql/postgresql-2026-05-23_000000.csv
-
CREATE INDEX IF NOT EXISTS idx_metrics_timeseries_bucket ON observability.metrics_timeseries (bucket_start);
Date: 2026-05-23 22:49:01 Duration: 19s315ms Database: zemm_monitoring User: monitoring_admin Bind query: yes Log file: /var/log/postgresql/postgresql-2026-05-23_000000.csv
-
CREATE INDEX IF NOT EXISTS idx_metrics_timeseries_bucket ON observability.metrics_timeseries (bucket_start);
Date: 2026-05-23 23:50:02 Duration: 19s106ms Database: zemm_monitoring User: monitoring_admin Bind query: yes Log file: /var/log/postgresql/postgresql-2026-05-23_000000.csv
15 1,440 5h7m3s 1s206ms 19s624ms 12s793ms create index if not exists idx_app_events_type on observability.app_events (event_type);Times Reported Time consuming queries #15
Day Hour Count Duration Avg duration May 23 01 60 10m54s 10s906ms 02 60 10m45s 10s756ms 03 60 11m17s 11s287ms 04 60 11m17s 11s295ms 05 60 11m20s 11s333ms 06 60 11m21s 11s353ms 07 60 11m18s 11s310ms 08 60 11m17s 11s299ms 09 60 11m19s 11s322ms 10 60 11m18s 11s312ms 11 60 11m18s 11s306ms 12 60 11m19s 11s328ms 13 60 11m21s 11s363ms 14 60 11m15s 11s260ms 15 60 11m21s 11s360ms 16 60 11m21s 11s359ms 17 60 12m44s 12s742ms 18 60 14m30s 14s504ms 19 60 16m10s 16s181ms 20 60 16m8s 16s145ms 21 60 16m12s 16s202ms 22 60 16m7s 16s125ms 23 60 17m7s 17s119ms 00 60 17m52s 17s874ms [ User: monitoring_admin - Total duration: 5h7m3s - Times executed: 1438 ]
-
CREATE INDEX IF NOT EXISTS idx_app_events_type ON observability.app_events (event_type);
Date: 2026-05-23 22:59:01 Duration: 19s624ms Database: zemm_monitoring User: monitoring_admin Bind query: yes Log file: /var/log/postgresql/postgresql-2026-05-23_000000.csv
-
CREATE INDEX IF NOT EXISTS idx_app_events_type ON observability.app_events (event_type);
Date: 2026-05-23 22:49:01 Duration: 19s315ms Database: zemm_monitoring User: monitoring_admin Bind query: yes Log file: /var/log/postgresql/postgresql-2026-05-23_000000.csv
-
CREATE INDEX IF NOT EXISTS idx_app_events_type ON observability.app_events (event_type);
Date: 2026-05-23 23:50:02 Duration: 19s106ms Database: zemm_monitoring User: monitoring_admin Bind query: yes Log file: /var/log/postgresql/postgresql-2026-05-23_000000.csv
16 1,440 5h7m3s 1s206ms 19s624ms 12s793ms 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 #16
Day Hour Count Duration Avg duration May 23 01 60 10m54s 10s906ms 02 60 10m45s 10s756ms 03 60 11m17s 11s287ms 04 60 11m17s 11s295ms 05 60 11m20s 11s333ms 06 60 11m21s 11s353ms 07 60 11m18s 11s310ms 08 60 11m17s 11s299ms 09 60 11m19s 11s322ms 10 60 11m18s 11s312ms 11 60 11m18s 11s306ms 12 60 11m19s 11s328ms 13 60 11m21s 11s363ms 14 60 11m15s 11s260ms 15 60 11m21s 11s360ms 16 60 11m21s 11s359ms 17 60 12m44s 12s742ms 18 60 14m30s 14s504ms 19 60 16m10s 16s181ms 20 60 16m8s 16s145ms 21 60 16m12s 16s202ms 22 60 16m7s 16s125ms 23 60 17m7s 17s119ms 00 60 17m52s 17s874ms [ User: monitoring_admin - Total duration: 5h7m3s - Times executed: 1438 ]
-
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-05-23 22:59:01 Duration: 19s624ms Database: zemm_monitoring User: monitoring_admin Bind query: yes Log file: /var/log/postgresql/postgresql-2026-05-23_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-05-23 22:49:01 Duration: 19s315ms Database: zemm_monitoring User: monitoring_admin Bind query: yes Log file: /var/log/postgresql/postgresql-2026-05-23_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-05-23 23:50:02 Duration: 19s106ms Database: zemm_monitoring User: monitoring_admin Bind query: yes Log file: /var/log/postgresql/postgresql-2026-05-23_000000.csv
17 1,440 5h7m3s 1s206ms 19s624ms 12s793ms alter table observability.uptime_checks add column if not exists label text;Times Reported Time consuming queries #17
Day Hour Count Duration Avg duration May 23 01 60 10m54s 10s906ms 02 60 10m45s 10s756ms 03 60 11m17s 11s287ms 04 60 11m17s 11s295ms 05 60 11m20s 11s333ms 06 60 11m21s 11s353ms 07 60 11m18s 11s310ms 08 60 11m17s 11s299ms 09 60 11m19s 11s322ms 10 60 11m18s 11s312ms 11 60 11m18s 11s306ms 12 60 11m19s 11s328ms 13 60 11m21s 11s363ms 14 60 11m15s 11s260ms 15 60 11m21s 11s360ms 16 60 11m21s 11s359ms 17 60 12m44s 12s742ms 18 60 14m30s 14s504ms 19 60 16m10s 16s181ms 20 60 16m8s 16s145ms 21 60 16m12s 16s202ms 22 60 16m7s 16s125ms 23 60 17m7s 17s119ms 00 60 17m52s 17s874ms [ User: monitoring_admin - Total duration: 5h7m3s - Times executed: 1438 ]
-
ALTER TABLE observability.uptime_checks ADD COLUMN IF NOT EXISTS label text;
Date: 2026-05-23 22:59:01 Duration: 19s624ms Database: zemm_monitoring User: monitoring_admin Bind query: yes Log file: /var/log/postgresql/postgresql-2026-05-23_000000.csv
-
ALTER TABLE observability.uptime_checks ADD COLUMN IF NOT EXISTS label text;
Date: 2026-05-23 22:49:01 Duration: 19s315ms Database: zemm_monitoring User: monitoring_admin Bind query: yes Log file: /var/log/postgresql/postgresql-2026-05-23_000000.csv
-
ALTER TABLE observability.uptime_checks ADD COLUMN IF NOT EXISTS label text;
Date: 2026-05-23 23:50:02 Duration: 19s106ms Database: zemm_monitoring User: monitoring_admin Bind query: yes Log file: /var/log/postgresql/postgresql-2026-05-23_000000.csv
18 143 30m47s 11s161ms 19s624ms 12s921ms 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 May 23 01 6 1m7s 11s280ms 02 6 1m7s 11s257ms 03 6 1m7s 11s288ms 04 6 1m7s 11s295ms 05 6 1m8s 11s358ms 06 5 56s650ms 11s330ms 07 6 1m7s 11s310ms 08 6 1m7s 11s311ms 09 6 1m7s 11s313ms 10 6 1m7s 11s320ms 11 6 1m7s 11s298ms 12 5 56s642ms 11s328ms 13 6 1m8s 11s366ms 14 6 1m7s 11s257ms 15 6 1m8s 11s376ms 16 6 1m7s 11s332ms 17 7 1m29s 12s808ms 18 6 1m28s 14s825ms 19 6 1m37s 16s180ms 20 6 1m36s 16s147ms 21 6 1m37s 16s204ms 22 6 1m36s 16s105ms 23 7 2m2s 17s515ms 00 5 1m35s 19s31ms [ User: monitoring_admin - Total duration: 30m47s - Times executed: 143 ]
-
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-05-18 22:48:59+02' AND collected_at <= '2026-05-20 22:48:59+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-05-20 22:48:59+02' AND '2026-05-23 22:48:59+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-05-20 22:48:59+02' AND '2026-05-23 22:48:59+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-05-23 22:49:18 Duration: 19s624ms Database: zemm_monitoring User: monitoring_admin Bind query: yes Log file: /var/log/postgresql/postgresql-2026-05-23_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-05-18 22:41:40+02' AND collected_at <= '2026-05-20 22:41: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-05-20 22:41:40+02' AND '2026-05-23 22:41: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-05-20 22:41:40+02' AND '2026-05-23 22:41: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-05-23 22:42:00 Duration: 19s315ms Database: zemm_monitoring User: monitoring_admin Bind query: yes Log file: /var/log/postgresql/postgresql-2026-05-23_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-05-18 23:40:14+02' AND collected_at <= '2026-05-20 23:40:14+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-05-20 23:40:14+02' AND '2026-05-23 23:40:14+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-05-20 23:40:14+02' AND '2026-05-23 23:40:14+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-05-23 23:40:33 Duration: 19s106ms Database: zemm_monitoring User: monitoring_admin Bind query: yes Log file: /var/log/postgresql/postgresql-2026-05-23_000000.csv
19 1 2s52ms 2s52ms 2s52ms 2s52ms 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 May 23 00 1 2s52ms 2s52ms [ User: postgres - Total duration: 2s52ms - Times executed: 1 ]
[ Application: pg_dump - Total duration: 2s52ms - 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-05-23 23:55:12 Duration: 2s52ms Database: zemm_produktiv_8 User: postgres Remote: [local] Application: pg_dump Bind query: yes Log file: /var/log/postgresql/postgresql-2026-05-23_000000.csv
20 1 1s381ms 1s381ms 1s381ms 1s381ms copy public."targetgroupMembers" (id, targetgroup, "user", "group") to stdout;Times Reported Time consuming queries #20
Day Hour Count Duration Avg duration May 23 00 1 1s381ms 1s381ms [ User: postgres - Total duration: 1s381ms - Times executed: 1 ]
[ Application: pg_dump - Total duration: 1s381ms - Times executed: 1 ]
-
COPY public."targetgroupMembers" (id, targetgroup, "user", "group") TO stdout;
Date: 2026-05-23 23:55:15 Duration: 1s381ms Database: zemm_produktiv_8 User: postgres Remote: [local] Application: pg_dump Bind query: yes Log file: /var/log/postgresql/postgresql-2026-05-23_000000.csv
Normalized slowest queries (N)
Rank Min duration Max duration Avg duration Times executed Total duration Query 1 11s161ms 19s624ms 12s921ms 143 30m47s 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 May 23 01 6 1m7s 11s280ms 02 6 1m7s 11s257ms 03 6 1m7s 11s288ms 04 6 1m7s 11s295ms 05 6 1m8s 11s358ms 06 5 56s650ms 11s330ms 07 6 1m7s 11s310ms 08 6 1m7s 11s311ms 09 6 1m7s 11s313ms 10 6 1m7s 11s320ms 11 6 1m7s 11s298ms 12 5 56s642ms 11s328ms 13 6 1m8s 11s366ms 14 6 1m7s 11s257ms 15 6 1m8s 11s376ms 16 6 1m7s 11s332ms 17 7 1m29s 12s808ms 18 6 1m28s 14s825ms 19 6 1m37s 16s180ms 20 6 1m36s 16s147ms 21 6 1m37s 16s204ms 22 6 1m36s 16s105ms 23 7 2m2s 17s515ms 00 5 1m35s 19s31ms [ User: monitoring_admin - Total duration: 30m47s - Times executed: 143 ]
-
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-05-18 22:48:59+02' AND collected_at <= '2026-05-20 22:48:59+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-05-20 22:48:59+02' AND '2026-05-23 22:48:59+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-05-20 22:48:59+02' AND '2026-05-23 22:48:59+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-05-23 22:49:18 Duration: 19s624ms Database: zemm_monitoring User: monitoring_admin Bind query: yes Log file: /var/log/postgresql/postgresql-2026-05-23_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-05-18 22:41:40+02' AND collected_at <= '2026-05-20 22:41: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-05-20 22:41:40+02' AND '2026-05-23 22:41: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-05-20 22:41:40+02' AND '2026-05-23 22:41: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-05-23 22:42:00 Duration: 19s315ms Database: zemm_monitoring User: monitoring_admin Bind query: yes Log file: /var/log/postgresql/postgresql-2026-05-23_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-05-18 23:40:14+02' AND collected_at <= '2026-05-20 23:40:14+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-05-20 23:40:14+02' AND '2026-05-23 23:40:14+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-05-20 23:40:14+02' AND '2026-05-23 23:40:14+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-05-23 23:40:33 Duration: 19s106ms Database: zemm_monitoring User: monitoring_admin Bind query: yes Log file: /var/log/postgresql/postgresql-2026-05-23_000000.csv
2 1s206ms 19s624ms 12s793ms 1,440 5h7m3s 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 #2
Day Hour Count Duration Avg duration May 23 01 60 10m54s 10s906ms 02 60 10m45s 10s756ms 03 60 11m17s 11s287ms 04 60 11m17s 11s295ms 05 60 11m20s 11s333ms 06 60 11m21s 11s353ms 07 60 11m18s 11s310ms 08 60 11m17s 11s299ms 09 60 11m19s 11s322ms 10 60 11m18s 11s312ms 11 60 11m18s 11s306ms 12 60 11m19s 11s328ms 13 60 11m21s 11s363ms 14 60 11m15s 11s260ms 15 60 11m21s 11s360ms 16 60 11m21s 11s359ms 17 60 12m44s 12s742ms 18 60 14m30s 14s504ms 19 60 16m10s 16s181ms 20 60 16m8s 16s145ms 21 60 16m12s 16s202ms 22 60 16m7s 16s125ms 23 60 17m7s 17s119ms 00 60 17m52s 17s874ms [ User: monitoring_admin - Total duration: 5h7m3s - Times executed: 1438 ]
-
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-05-23 22:59:01 Duration: 19s624ms Database: zemm_monitoring User: monitoring_admin Bind query: yes Log file: /var/log/postgresql/postgresql-2026-05-23_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-05-23 22:49:01 Duration: 19s315ms Database: zemm_monitoring User: monitoring_admin Bind query: yes Log file: /var/log/postgresql/postgresql-2026-05-23_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-05-23 23:50:02 Duration: 19s106ms Database: zemm_monitoring User: monitoring_admin Bind query: yes Log file: /var/log/postgresql/postgresql-2026-05-23_000000.csv
3 1s206ms 19s624ms 12s793ms 1,440 5h7m3s create schema if not exists observability;Times Reported Time consuming queries #3
Day Hour Count Duration Avg duration May 23 01 60 10m54s 10s906ms 02 60 10m45s 10s756ms 03 60 11m17s 11s287ms 04 60 11m17s 11s295ms 05 60 11m20s 11s333ms 06 60 11m21s 11s353ms 07 60 11m18s 11s310ms 08 60 11m17s 11s299ms 09 60 11m19s 11s322ms 10 60 11m18s 11s312ms 11 60 11m18s 11s306ms 12 60 11m19s 11s328ms 13 60 11m21s 11s363ms 14 60 11m15s 11s260ms 15 60 11m21s 11s360ms 16 60 11m21s 11s359ms 17 60 12m44s 12s742ms 18 60 14m30s 14s504ms 19 60 16m10s 16s181ms 20 60 16m8s 16s145ms 21 60 16m12s 16s202ms 22 60 16m7s 16s125ms 23 60 17m7s 17s119ms 00 60 17m52s 17s874ms [ User: monitoring_admin - Total duration: 5h7m3s - Times executed: 1438 ]
-
CREATE SCHEMA IF NOT EXISTS observability;
Date: 2026-05-23 22:59:01 Duration: 19s624ms Database: zemm_monitoring User: monitoring_admin Bind query: yes Log file: /var/log/postgresql/postgresql-2026-05-23_000000.csv
-
CREATE SCHEMA IF NOT EXISTS observability;
Date: 2026-05-23 22:49:01 Duration: 19s315ms Database: zemm_monitoring User: monitoring_admin Bind query: yes Log file: /var/log/postgresql/postgresql-2026-05-23_000000.csv
-
CREATE SCHEMA IF NOT EXISTS observability;
Date: 2026-05-23 23:50:02 Duration: 19s106ms Database: zemm_monitoring User: monitoring_admin Bind query: yes Log file: /var/log/postgresql/postgresql-2026-05-23_000000.csv
4 1s206ms 19s624ms 12s793ms 1,440 5h7m3s create index if not exists idx_uptime_checks_key on observability.uptime_checks (check_key, checked_at desc);Times Reported Time consuming queries #4
Day Hour Count Duration Avg duration May 23 01 60 10m54s 10s906ms 02 60 10m45s 10s756ms 03 60 11m17s 11s287ms 04 60 11m17s 11s295ms 05 60 11m20s 11s333ms 06 60 11m21s 11s353ms 07 60 11m18s 11s310ms 08 60 11m17s 11s299ms 09 60 11m19s 11s322ms 10 60 11m18s 11s312ms 11 60 11m18s 11s306ms 12 60 11m19s 11s328ms 13 60 11m21s 11s363ms 14 60 11m15s 11s260ms 15 60 11m21s 11s360ms 16 60 11m21s 11s359ms 17 60 12m44s 12s742ms 18 60 14m30s 14s504ms 19 60 16m10s 16s181ms 20 60 16m8s 16s145ms 21 60 16m12s 16s202ms 22 60 16m7s 16s125ms 23 60 17m7s 17s119ms 00 60 17m52s 17s874ms [ User: monitoring_admin - Total duration: 5h7m3s - Times executed: 1438 ]
-
CREATE INDEX IF NOT EXISTS idx_uptime_checks_key ON observability.uptime_checks (check_key, checked_at DESC);
Date: 2026-05-23 22:59:01 Duration: 19s624ms Database: zemm_monitoring User: monitoring_admin Bind query: yes Log file: /var/log/postgresql/postgresql-2026-05-23_000000.csv
-
CREATE INDEX IF NOT EXISTS idx_uptime_checks_key ON observability.uptime_checks (check_key, checked_at DESC);
Date: 2026-05-23 22:49:01 Duration: 19s315ms Database: zemm_monitoring User: monitoring_admin Bind query: yes Log file: /var/log/postgresql/postgresql-2026-05-23_000000.csv
-
CREATE INDEX IF NOT EXISTS idx_uptime_checks_key ON observability.uptime_checks (check_key, checked_at DESC);
Date: 2026-05-23 23:50:02 Duration: 19s106ms Database: zemm_monitoring User: monitoring_admin Bind query: yes Log file: /var/log/postgresql/postgresql-2026-05-23_000000.csv
5 1s206ms 19s624ms 12s793ms 1,440 5h7m3s create index if not exists idx_app_events_tenant on observability.app_events (tenant_key, occurred_at desc);Times Reported Time consuming queries #5
Day Hour Count Duration Avg duration May 23 01 60 10m54s 10s906ms 02 60 10m45s 10s756ms 03 60 11m17s 11s287ms 04 60 11m17s 11s295ms 05 60 11m20s 11s333ms 06 60 11m21s 11s353ms 07 60 11m18s 11s310ms 08 60 11m17s 11s299ms 09 60 11m19s 11s322ms 10 60 11m18s 11s312ms 11 60 11m18s 11s306ms 12 60 11m19s 11s328ms 13 60 11m21s 11s363ms 14 60 11m15s 11s260ms 15 60 11m21s 11s360ms 16 60 11m21s 11s359ms 17 60 12m44s 12s742ms 18 60 14m30s 14s504ms 19 60 16m10s 16s181ms 20 60 16m8s 16s145ms 21 60 16m12s 16s202ms 22 60 16m7s 16s125ms 23 60 17m7s 17s119ms 00 60 17m52s 17s874ms [ User: monitoring_admin - Total duration: 5h7m3s - Times executed: 1438 ]
-
CREATE INDEX IF NOT EXISTS idx_app_events_tenant ON observability.app_events (tenant_key, occurred_at DESC);
Date: 2026-05-23 22:59:01 Duration: 19s624ms Database: zemm_monitoring User: monitoring_admin Bind query: yes Log file: /var/log/postgresql/postgresql-2026-05-23_000000.csv
-
CREATE INDEX IF NOT EXISTS idx_app_events_tenant ON observability.app_events (tenant_key, occurred_at DESC);
Date: 2026-05-23 22:49:01 Duration: 19s315ms Database: zemm_monitoring User: monitoring_admin Bind query: yes Log file: /var/log/postgresql/postgresql-2026-05-23_000000.csv
-
CREATE INDEX IF NOT EXISTS idx_app_events_tenant ON observability.app_events (tenant_key, occurred_at DESC);
Date: 2026-05-23 23:50:02 Duration: 19s106ms Database: zemm_monitoring User: monitoring_admin Bind query: yes Log file: /var/log/postgresql/postgresql-2026-05-23_000000.csv
6 1s206ms 19s624ms 12s793ms 1,440 5h7m3s create index if not exists idx_uptime_checks_endpoint on observability.uptime_checks (endpoint, checked_at desc);Times Reported Time consuming queries #6
Day Hour Count Duration Avg duration May 23 01 60 10m54s 10s906ms 02 60 10m45s 10s756ms 03 60 11m17s 11s287ms 04 60 11m17s 11s295ms 05 60 11m20s 11s333ms 06 60 11m21s 11s353ms 07 60 11m18s 11s310ms 08 60 11m17s 11s299ms 09 60 11m19s 11s322ms 10 60 11m18s 11s312ms 11 60 11m18s 11s306ms 12 60 11m19s 11s328ms 13 60 11m21s 11s363ms 14 60 11m15s 11s260ms 15 60 11m21s 11s360ms 16 60 11m21s 11s359ms 17 60 12m44s 12s742ms 18 60 14m30s 14s504ms 19 60 16m10s 16s181ms 20 60 16m8s 16s145ms 21 60 16m12s 16s202ms 22 60 16m7s 16s125ms 23 60 17m7s 17s119ms 00 60 17m52s 17s874ms [ User: monitoring_admin - Total duration: 5h7m3s - Times executed: 1438 ]
-
CREATE INDEX IF NOT EXISTS idx_uptime_checks_endpoint ON observability.uptime_checks (endpoint, checked_at DESC);
Date: 2026-05-23 22:59:01 Duration: 19s624ms Database: zemm_monitoring User: monitoring_admin Bind query: yes Log file: /var/log/postgresql/postgresql-2026-05-23_000000.csv
-
CREATE INDEX IF NOT EXISTS idx_uptime_checks_endpoint ON observability.uptime_checks (endpoint, checked_at DESC);
Date: 2026-05-23 22:49:01 Duration: 19s315ms Database: zemm_monitoring User: monitoring_admin Bind query: yes Log file: /var/log/postgresql/postgresql-2026-05-23_000000.csv
-
CREATE INDEX IF NOT EXISTS idx_uptime_checks_endpoint ON observability.uptime_checks (endpoint, checked_at DESC);
Date: 2026-05-23 23:50:02 Duration: 19s106ms Database: zemm_monitoring User: monitoring_admin Bind query: yes Log file: /var/log/postgresql/postgresql-2026-05-23_000000.csv
7 1s206ms 19s624ms 12s793ms 1,440 5h7m3s 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 #7
Day Hour Count Duration Avg duration May 23 01 60 10m54s 10s906ms 02 60 10m45s 10s756ms 03 60 11m17s 11s287ms 04 60 11m17s 11s295ms 05 60 11m20s 11s333ms 06 60 11m21s 11s353ms 07 60 11m18s 11s310ms 08 60 11m17s 11s299ms 09 60 11m19s 11s322ms 10 60 11m18s 11s312ms 11 60 11m18s 11s306ms 12 60 11m19s 11s328ms 13 60 11m21s 11s363ms 14 60 11m15s 11s260ms 15 60 11m21s 11s360ms 16 60 11m21s 11s359ms 17 60 12m44s 12s742ms 18 60 14m30s 14s504ms 19 60 16m10s 16s181ms 20 60 16m8s 16s145ms 21 60 16m12s 16s202ms 22 60 16m7s 16s125ms 23 60 17m7s 17s119ms 00 60 17m52s 17s874ms [ User: monitoring_admin - Total duration: 5h7m3s - Times executed: 1438 ]
-
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-05-23 22:59:01 Duration: 19s624ms Database: zemm_monitoring User: monitoring_admin Bind query: yes Log file: /var/log/postgresql/postgresql-2026-05-23_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-05-23 22:49:01 Duration: 19s315ms Database: zemm_monitoring User: monitoring_admin Bind query: yes Log file: /var/log/postgresql/postgresql-2026-05-23_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-05-23 23:50:02 Duration: 19s106ms Database: zemm_monitoring User: monitoring_admin Bind query: yes Log file: /var/log/postgresql/postgresql-2026-05-23_000000.csv
8 1s206ms 19s624ms 12s793ms 1,440 5h7m3s 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 May 23 01 60 10m54s 10s906ms 02 60 10m45s 10s756ms 03 60 11m17s 11s287ms 04 60 11m17s 11s295ms 05 60 11m20s 11s333ms 06 60 11m21s 11s353ms 07 60 11m18s 11s310ms 08 60 11m17s 11s299ms 09 60 11m19s 11s322ms 10 60 11m18s 11s312ms 11 60 11m18s 11s306ms 12 60 11m19s 11s328ms 13 60 11m21s 11s363ms 14 60 11m15s 11s260ms 15 60 11m21s 11s360ms 16 60 11m21s 11s359ms 17 60 12m44s 12s742ms 18 60 14m30s 14s504ms 19 60 16m10s 16s181ms 20 60 16m8s 16s145ms 21 60 16m12s 16s202ms 22 60 16m7s 16s125ms 23 60 17m7s 17s119ms 00 60 17m52s 17s874ms [ User: monitoring_admin - Total duration: 5h7m3s - Times executed: 1438 ]
-
CREATE INDEX IF NOT EXISTS idx_db_top_queries_tenant ON observability.db_top_queries (tenant_key, collected_at DESC);
Date: 2026-05-23 22:59:01 Duration: 19s624ms Database: zemm_monitoring User: monitoring_admin Bind query: yes Log file: /var/log/postgresql/postgresql-2026-05-23_000000.csv
-
CREATE INDEX IF NOT EXISTS idx_db_top_queries_tenant ON observability.db_top_queries (tenant_key, collected_at DESC);
Date: 2026-05-23 22:49:01 Duration: 19s315ms Database: zemm_monitoring User: monitoring_admin Bind query: yes Log file: /var/log/postgresql/postgresql-2026-05-23_000000.csv
-
CREATE INDEX IF NOT EXISTS idx_db_top_queries_tenant ON observability.db_top_queries (tenant_key, collected_at DESC);
Date: 2026-05-23 23:50:02 Duration: 19s106ms Database: zemm_monitoring User: monitoring_admin Bind query: yes Log file: /var/log/postgresql/postgresql-2026-05-23_000000.csv
9 1s206ms 19s624ms 12s793ms 1,440 5h7m3s 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 #9
Day Hour Count Duration Avg duration May 23 01 60 10m54s 10s906ms 02 60 10m45s 10s756ms 03 60 11m17s 11s287ms 04 60 11m17s 11s295ms 05 60 11m20s 11s333ms 06 60 11m21s 11s353ms 07 60 11m18s 11s310ms 08 60 11m17s 11s299ms 09 60 11m19s 11s322ms 10 60 11m18s 11s312ms 11 60 11m18s 11s306ms 12 60 11m19s 11s328ms 13 60 11m21s 11s363ms 14 60 11m15s 11s260ms 15 60 11m21s 11s360ms 16 60 11m21s 11s359ms 17 60 12m44s 12s742ms 18 60 14m30s 14s504ms 19 60 16m10s 16s181ms 20 60 16m8s 16s145ms 21 60 16m12s 16s202ms 22 60 16m7s 16s125ms 23 60 17m7s 17s119ms 00 60 17m52s 17s874ms [ User: monitoring_admin - Total duration: 5h7m3s - Times executed: 1438 ]
-
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-05-23 22:59:01 Duration: 19s624ms Database: zemm_monitoring User: monitoring_admin Bind query: yes Log file: /var/log/postgresql/postgresql-2026-05-23_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-05-23 22:49:01 Duration: 19s315ms Database: zemm_monitoring User: monitoring_admin Bind query: yes Log file: /var/log/postgresql/postgresql-2026-05-23_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-05-23 23:50:02 Duration: 19s106ms Database: zemm_monitoring User: monitoring_admin Bind query: yes Log file: /var/log/postgresql/postgresql-2026-05-23_000000.csv
10 1s206ms 19s624ms 12s793ms 1,440 5h7m3s 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 #10
Day Hour Count Duration Avg duration May 23 01 60 10m54s 10s906ms 02 60 10m45s 10s756ms 03 60 11m17s 11s287ms 04 60 11m17s 11s295ms 05 60 11m20s 11s333ms 06 60 11m21s 11s353ms 07 60 11m18s 11s310ms 08 60 11m17s 11s299ms 09 60 11m19s 11s322ms 10 60 11m18s 11s312ms 11 60 11m18s 11s306ms 12 60 11m19s 11s328ms 13 60 11m21s 11s363ms 14 60 11m15s 11s260ms 15 60 11m21s 11s360ms 16 60 11m21s 11s359ms 17 60 12m44s 12s742ms 18 60 14m30s 14s504ms 19 60 16m10s 16s181ms 20 60 16m8s 16s145ms 21 60 16m12s 16s202ms 22 60 16m7s 16s125ms 23 60 17m7s 17s119ms 00 60 17m52s 17s874ms [ User: monitoring_admin - Total duration: 5h7m3s - Times executed: 1438 ]
-
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-05-23 22:59:01 Duration: 19s624ms Database: zemm_monitoring User: monitoring_admin Bind query: yes Log file: /var/log/postgresql/postgresql-2026-05-23_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-05-23 22:49:01 Duration: 19s315ms Database: zemm_monitoring User: monitoring_admin Bind query: yes Log file: /var/log/postgresql/postgresql-2026-05-23_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-05-23 23:50:02 Duration: 19s106ms Database: zemm_monitoring User: monitoring_admin Bind query: yes Log file: /var/log/postgresql/postgresql-2026-05-23_000000.csv
11 1s206ms 19s624ms 12s793ms 1,440 5h7m3s 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 May 23 01 60 10m54s 10s906ms 02 60 10m45s 10s756ms 03 60 11m17s 11s287ms 04 60 11m17s 11s295ms 05 60 11m20s 11s333ms 06 60 11m21s 11s353ms 07 60 11m18s 11s310ms 08 60 11m17s 11s299ms 09 60 11m19s 11s322ms 10 60 11m18s 11s312ms 11 60 11m18s 11s306ms 12 60 11m19s 11s328ms 13 60 11m21s 11s363ms 14 60 11m15s 11s260ms 15 60 11m21s 11s360ms 16 60 11m21s 11s359ms 17 60 12m44s 12s742ms 18 60 14m30s 14s504ms 19 60 16m10s 16s181ms 20 60 16m8s 16s145ms 21 60 16m12s 16s202ms 22 60 16m7s 16s125ms 23 60 17m7s 17s119ms 00 60 17m52s 17s874ms [ User: monitoring_admin - Total duration: 5h7m3s - Times executed: 1438 ]
-
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-05-23 22:59:01 Duration: 19s624ms Database: zemm_monitoring User: monitoring_admin Bind query: yes Log file: /var/log/postgresql/postgresql-2026-05-23_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-05-23 22:49:01 Duration: 19s315ms Database: zemm_monitoring User: monitoring_admin Bind query: yes Log file: /var/log/postgresql/postgresql-2026-05-23_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-05-23 23:50:02 Duration: 19s106ms Database: zemm_monitoring User: monitoring_admin Bind query: yes Log file: /var/log/postgresql/postgresql-2026-05-23_000000.csv
12 1s206ms 19s624ms 12s793ms 1,440 5h7m3s create index if not exists idx_metrics_timeseries_metric on observability.metrics_timeseries (metric_name);Times Reported Time consuming queries #12
Day Hour Count Duration Avg duration May 23 01 60 10m54s 10s906ms 02 60 10m45s 10s756ms 03 60 11m17s 11s287ms 04 60 11m17s 11s295ms 05 60 11m20s 11s333ms 06 60 11m21s 11s353ms 07 60 11m18s 11s310ms 08 60 11m17s 11s299ms 09 60 11m19s 11s322ms 10 60 11m18s 11s312ms 11 60 11m18s 11s306ms 12 60 11m19s 11s328ms 13 60 11m21s 11s363ms 14 60 11m15s 11s260ms 15 60 11m21s 11s360ms 16 60 11m21s 11s359ms 17 60 12m44s 12s742ms 18 60 14m30s 14s504ms 19 60 16m10s 16s181ms 20 60 16m8s 16s145ms 21 60 16m12s 16s202ms 22 60 16m7s 16s125ms 23 60 17m7s 17s119ms 00 60 17m52s 17s874ms [ User: monitoring_admin - Total duration: 5h7m3s - Times executed: 1438 ]
-
CREATE INDEX IF NOT EXISTS idx_metrics_timeseries_metric ON observability.metrics_timeseries (metric_name);
Date: 2026-05-23 22:59:01 Duration: 19s624ms Database: zemm_monitoring User: monitoring_admin Bind query: yes Log file: /var/log/postgresql/postgresql-2026-05-23_000000.csv
-
CREATE INDEX IF NOT EXISTS idx_metrics_timeseries_metric ON observability.metrics_timeseries (metric_name);
Date: 2026-05-23 22:49:01 Duration: 19s315ms Database: zemm_monitoring User: monitoring_admin Bind query: yes Log file: /var/log/postgresql/postgresql-2026-05-23_000000.csv
-
CREATE INDEX IF NOT EXISTS idx_metrics_timeseries_metric ON observability.metrics_timeseries (metric_name);
Date: 2026-05-23 23:50:02 Duration: 19s106ms Database: zemm_monitoring User: monitoring_admin Bind query: yes Log file: /var/log/postgresql/postgresql-2026-05-23_000000.csv
13 1s206ms 19s624ms 12s793ms 1,440 5h7m3s alter table observability.uptime_checks add column if not exists payload jsonb;Times Reported Time consuming queries #13
Day Hour Count Duration Avg duration May 23 01 60 10m54s 10s906ms 02 60 10m45s 10s756ms 03 60 11m17s 11s287ms 04 60 11m17s 11s295ms 05 60 11m20s 11s333ms 06 60 11m21s 11s353ms 07 60 11m18s 11s310ms 08 60 11m17s 11s299ms 09 60 11m19s 11s322ms 10 60 11m18s 11s312ms 11 60 11m18s 11s306ms 12 60 11m19s 11s328ms 13 60 11m21s 11s363ms 14 60 11m15s 11s260ms 15 60 11m21s 11s360ms 16 60 11m21s 11s359ms 17 60 12m44s 12s742ms 18 60 14m30s 14s504ms 19 60 16m10s 16s181ms 20 60 16m8s 16s145ms 21 60 16m12s 16s202ms 22 60 16m7s 16s125ms 23 60 17m7s 17s119ms 00 60 17m52s 17s874ms [ User: monitoring_admin - Total duration: 5h7m3s - Times executed: 1438 ]
-
ALTER TABLE observability.uptime_checks ADD COLUMN IF NOT EXISTS payload jsonb;
Date: 2026-05-23 22:59:01 Duration: 19s624ms Database: zemm_monitoring User: monitoring_admin Bind query: yes Log file: /var/log/postgresql/postgresql-2026-05-23_000000.csv
-
ALTER TABLE observability.uptime_checks ADD COLUMN IF NOT EXISTS payload jsonb;
Date: 2026-05-23 22:49:01 Duration: 19s315ms Database: zemm_monitoring User: monitoring_admin Bind query: yes Log file: /var/log/postgresql/postgresql-2026-05-23_000000.csv
-
ALTER TABLE observability.uptime_checks ADD COLUMN IF NOT EXISTS payload jsonb;
Date: 2026-05-23 23:50:02 Duration: 19s106ms Database: zemm_monitoring User: monitoring_admin Bind query: yes Log file: /var/log/postgresql/postgresql-2026-05-23_000000.csv
14 1s206ms 19s624ms 12s793ms 1,440 5h7m3s 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 May 23 01 60 10m54s 10s906ms 02 60 10m45s 10s756ms 03 60 11m17s 11s287ms 04 60 11m17s 11s295ms 05 60 11m20s 11s333ms 06 60 11m21s 11s353ms 07 60 11m18s 11s310ms 08 60 11m17s 11s299ms 09 60 11m19s 11s322ms 10 60 11m18s 11s312ms 11 60 11m18s 11s306ms 12 60 11m19s 11s328ms 13 60 11m21s 11s363ms 14 60 11m15s 11s260ms 15 60 11m21s 11s360ms 16 60 11m21s 11s359ms 17 60 12m44s 12s742ms 18 60 14m30s 14s504ms 19 60 16m10s 16s181ms 20 60 16m8s 16s145ms 21 60 16m12s 16s202ms 22 60 16m7s 16s125ms 23 60 17m7s 17s119ms 00 60 17m52s 17s874ms [ User: monitoring_admin - Total duration: 5h7m3s - Times executed: 1438 ]
-
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-05-23 22:59:01 Duration: 19s624ms Database: zemm_monitoring User: monitoring_admin Bind query: yes Log file: /var/log/postgresql/postgresql-2026-05-23_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-05-23 22:49:01 Duration: 19s315ms Database: zemm_monitoring User: monitoring_admin Bind query: yes Log file: /var/log/postgresql/postgresql-2026-05-23_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-05-23 23:50:02 Duration: 19s106ms Database: zemm_monitoring User: monitoring_admin Bind query: yes Log file: /var/log/postgresql/postgresql-2026-05-23_000000.csv
15 1s206ms 19s624ms 12s793ms 1,440 5h7m3s create index if not exists idx_metrics_timeseries_bucket on observability.metrics_timeseries (bucket_start);Times Reported Time consuming queries #15
Day Hour Count Duration Avg duration May 23 01 60 10m54s 10s906ms 02 60 10m45s 10s756ms 03 60 11m17s 11s287ms 04 60 11m17s 11s295ms 05 60 11m20s 11s333ms 06 60 11m21s 11s353ms 07 60 11m18s 11s310ms 08 60 11m17s 11s299ms 09 60 11m19s 11s322ms 10 60 11m18s 11s312ms 11 60 11m18s 11s306ms 12 60 11m19s 11s328ms 13 60 11m21s 11s363ms 14 60 11m15s 11s260ms 15 60 11m21s 11s360ms 16 60 11m21s 11s359ms 17 60 12m44s 12s742ms 18 60 14m30s 14s504ms 19 60 16m10s 16s181ms 20 60 16m8s 16s145ms 21 60 16m12s 16s202ms 22 60 16m7s 16s125ms 23 60 17m7s 17s119ms 00 60 17m52s 17s874ms [ User: monitoring_admin - Total duration: 5h7m3s - Times executed: 1438 ]
-
CREATE INDEX IF NOT EXISTS idx_metrics_timeseries_bucket ON observability.metrics_timeseries (bucket_start);
Date: 2026-05-23 22:59:01 Duration: 19s624ms Database: zemm_monitoring User: monitoring_admin Bind query: yes Log file: /var/log/postgresql/postgresql-2026-05-23_000000.csv
-
CREATE INDEX IF NOT EXISTS idx_metrics_timeseries_bucket ON observability.metrics_timeseries (bucket_start);
Date: 2026-05-23 22:49:01 Duration: 19s315ms Database: zemm_monitoring User: monitoring_admin Bind query: yes Log file: /var/log/postgresql/postgresql-2026-05-23_000000.csv
-
CREATE INDEX IF NOT EXISTS idx_metrics_timeseries_bucket ON observability.metrics_timeseries (bucket_start);
Date: 2026-05-23 23:50:02 Duration: 19s106ms Database: zemm_monitoring User: monitoring_admin Bind query: yes Log file: /var/log/postgresql/postgresql-2026-05-23_000000.csv
16 1s206ms 19s624ms 12s793ms 1,440 5h7m3s create index if not exists idx_app_events_type on observability.app_events (event_type);Times Reported Time consuming queries #16
Day Hour Count Duration Avg duration May 23 01 60 10m54s 10s906ms 02 60 10m45s 10s756ms 03 60 11m17s 11s287ms 04 60 11m17s 11s295ms 05 60 11m20s 11s333ms 06 60 11m21s 11s353ms 07 60 11m18s 11s310ms 08 60 11m17s 11s299ms 09 60 11m19s 11s322ms 10 60 11m18s 11s312ms 11 60 11m18s 11s306ms 12 60 11m19s 11s328ms 13 60 11m21s 11s363ms 14 60 11m15s 11s260ms 15 60 11m21s 11s360ms 16 60 11m21s 11s359ms 17 60 12m44s 12s742ms 18 60 14m30s 14s504ms 19 60 16m10s 16s181ms 20 60 16m8s 16s145ms 21 60 16m12s 16s202ms 22 60 16m7s 16s125ms 23 60 17m7s 17s119ms 00 60 17m52s 17s874ms [ User: monitoring_admin - Total duration: 5h7m3s - Times executed: 1438 ]
-
CREATE INDEX IF NOT EXISTS idx_app_events_type ON observability.app_events (event_type);
Date: 2026-05-23 22:59:01 Duration: 19s624ms Database: zemm_monitoring User: monitoring_admin Bind query: yes Log file: /var/log/postgresql/postgresql-2026-05-23_000000.csv
-
CREATE INDEX IF NOT EXISTS idx_app_events_type ON observability.app_events (event_type);
Date: 2026-05-23 22:49:01 Duration: 19s315ms Database: zemm_monitoring User: monitoring_admin Bind query: yes Log file: /var/log/postgresql/postgresql-2026-05-23_000000.csv
-
CREATE INDEX IF NOT EXISTS idx_app_events_type ON observability.app_events (event_type);
Date: 2026-05-23 23:50:02 Duration: 19s106ms Database: zemm_monitoring User: monitoring_admin Bind query: yes Log file: /var/log/postgresql/postgresql-2026-05-23_000000.csv
17 1s206ms 19s624ms 12s793ms 1,440 5h7m3s 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 #17
Day Hour Count Duration Avg duration May 23 01 60 10m54s 10s906ms 02 60 10m45s 10s756ms 03 60 11m17s 11s287ms 04 60 11m17s 11s295ms 05 60 11m20s 11s333ms 06 60 11m21s 11s353ms 07 60 11m18s 11s310ms 08 60 11m17s 11s299ms 09 60 11m19s 11s322ms 10 60 11m18s 11s312ms 11 60 11m18s 11s306ms 12 60 11m19s 11s328ms 13 60 11m21s 11s363ms 14 60 11m15s 11s260ms 15 60 11m21s 11s360ms 16 60 11m21s 11s359ms 17 60 12m44s 12s742ms 18 60 14m30s 14s504ms 19 60 16m10s 16s181ms 20 60 16m8s 16s145ms 21 60 16m12s 16s202ms 22 60 16m7s 16s125ms 23 60 17m7s 17s119ms 00 60 17m52s 17s874ms [ User: monitoring_admin - Total duration: 5h7m3s - Times executed: 1438 ]
-
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-05-23 22:59:01 Duration: 19s624ms Database: zemm_monitoring User: monitoring_admin Bind query: yes Log file: /var/log/postgresql/postgresql-2026-05-23_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-05-23 22:49:01 Duration: 19s315ms Database: zemm_monitoring User: monitoring_admin Bind query: yes Log file: /var/log/postgresql/postgresql-2026-05-23_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-05-23 23:50:02 Duration: 19s106ms Database: zemm_monitoring User: monitoring_admin Bind query: yes Log file: /var/log/postgresql/postgresql-2026-05-23_000000.csv
18 1s206ms 19s624ms 12s793ms 1,440 5h7m3s alter table observability.uptime_checks add column if not exists label text;Times Reported Time consuming queries #18
Day Hour Count Duration Avg duration May 23 01 60 10m54s 10s906ms 02 60 10m45s 10s756ms 03 60 11m17s 11s287ms 04 60 11m17s 11s295ms 05 60 11m20s 11s333ms 06 60 11m21s 11s353ms 07 60 11m18s 11s310ms 08 60 11m17s 11s299ms 09 60 11m19s 11s322ms 10 60 11m18s 11s312ms 11 60 11m18s 11s306ms 12 60 11m19s 11s328ms 13 60 11m21s 11s363ms 14 60 11m15s 11s260ms 15 60 11m21s 11s360ms 16 60 11m21s 11s359ms 17 60 12m44s 12s742ms 18 60 14m30s 14s504ms 19 60 16m10s 16s181ms 20 60 16m8s 16s145ms 21 60 16m12s 16s202ms 22 60 16m7s 16s125ms 23 60 17m7s 17s119ms 00 60 17m52s 17s874ms [ User: monitoring_admin - Total duration: 5h7m3s - Times executed: 1438 ]
-
ALTER TABLE observability.uptime_checks ADD COLUMN IF NOT EXISTS label text;
Date: 2026-05-23 22:59:01 Duration: 19s624ms Database: zemm_monitoring User: monitoring_admin Bind query: yes Log file: /var/log/postgresql/postgresql-2026-05-23_000000.csv
-
ALTER TABLE observability.uptime_checks ADD COLUMN IF NOT EXISTS label text;
Date: 2026-05-23 22:49:01 Duration: 19s315ms Database: zemm_monitoring User: monitoring_admin Bind query: yes Log file: /var/log/postgresql/postgresql-2026-05-23_000000.csv
-
ALTER TABLE observability.uptime_checks ADD COLUMN IF NOT EXISTS label text;
Date: 2026-05-23 23:50:02 Duration: 19s106ms Database: zemm_monitoring User: monitoring_admin Bind query: yes Log file: /var/log/postgresql/postgresql-2026-05-23_000000.csv
19 2s52ms 2s52ms 2s52ms 1 2s52ms 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 May 23 00 1 2s52ms 2s52ms [ User: postgres - Total duration: 2s52ms - Times executed: 1 ]
[ Application: pg_dump - Total duration: 2s52ms - 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-05-23 23:55:12 Duration: 2s52ms Database: zemm_produktiv_8 User: postgres Remote: [local] Application: pg_dump Bind query: yes Log file: /var/log/postgresql/postgresql-2026-05-23_000000.csv
20 1s381ms 1s381ms 1s381ms 1 1s381ms copy public."targetgroupMembers" (id, targetgroup, "user", "group") to stdout;Times Reported Time consuming queries #20
Day Hour Count Duration Avg duration May 23 00 1 1s381ms 1s381ms [ User: postgres - Total duration: 1s381ms - Times executed: 1 ]
[ Application: pg_dump - Total duration: 1s381ms - Times executed: 1 ]
-
COPY public."targetgroupMembers" (id, targetgroup, "user", "group") TO stdout;
Date: 2026-05-23 23:55:15 Duration: 1s381ms Database: zemm_produktiv_8 User: postgres Remote: [local] Application: pg_dump Bind query: yes Log file: /var/log/postgresql/postgresql-2026-05-23_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
- 111,302 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
- 0 EVENTLOG entries
Events per 5 minutes
NO DATASET
Most Frequent Errors/Events
Key values
- 0 Max number of times the same event was reported
- 0 Total events found
Rank Times reported Error NO DATASET