-
Global information
- Generated on Mon Jun 15 06:05:09 2026
- Log file: /var/log/postgresql/postgresql-2026-05-13_000000.csv, ..., /var/log/postgresql/postgresql-2026-06-15_000000.csv
- Parsed 224,930 log entries in 5m8s
- Log start from 2026-05-25 00:00:01 to 2026-05-25 23:59:27
-
Overview
Global Stats
- 24 Number of unique normalized queries
- 24,580 Number of queries
- 4d8h58m58s Total query duration
- 2026-05-25 00:00:01 First query
- 2026-05-25 23:59:01 Last query
- 18 queries/s at 2026-05-25 23:26:01 Query peak
- 4d8h58m58s Total query duration
- 0ms Prepare/parse total duration
- 0ms Bind total duration
- 4d8h58m58s 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
- 8 Total number of automatic vacuums
- 4 Total number of automatic analyzes
- 0 Number temporary file
- 0 Max size of temporary file
- 0.00 B Average size of temporary file
- 18,752 Total number of sessions
- 6 sessions at 2026-05-25 03:12:38 Session peak
- 1h32m2s Total duration of sessions
- 294ms Average duration of sessions
- 1 Average queries per session
- 20s154ms Average queries duration per session
- 0ms Average idle time per session
- 18,752 Total number of connections
- 34 connections/s at 2026-05-25 08:57:03 Connection peak
- 2 Total number of databases
SQL Traffic
Key values
- 18 queries/s Query Peak
- 2026-05-25 23:26: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-25 23:26:01 Date
Queries duration
Key values
- 4d8h58m58s 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 25 00 1,026 0ms 16s163ms 15s14ms 4m34s 4m49s 4m50s 01 1,027 1s7ms 16s176ms 14s861ms 4m35s 4m49s 4m50s 02 1,026 16s76ms 16s190ms 16s151ms 4m49s 4m51s 4m51s 03 1,026 15s966ms 16s235ms 16s156ms 4m49s 4m50s 4m52s 04 1,025 15s966ms 16s72ms 16s33ms 4m33s 4m48s 4m49s 05 1,026 16s38ms 16s169ms 16s109ms 4m48s 4m50s 4m50s 06 1,026 16s22ms 16s210ms 16s91ms 4m48s 4m49s 4m51s 07 1,026 16s17ms 16s242ms 16s126ms 4m48s 4m50s 4m51s 08 1,026 16s128ms 16s267ms 16s204ms 4m51s 4m51s 4m52s 09 1,026 16s128ms 16s288ms 16s200ms 4m50s 4m51s 4m53s 10 1,026 16s200ms 16s332ms 16s260ms 4m51s 4m52s 4m53s 11 1,025 16s115ms 16s316ms 16s168ms 4m37s 4m50s 4m53s 12 1,020 16s130ms 16s130ms 16s130ms 4m34s 4m34s 4m34s 13 1,020 16s130ms 16s130ms 16s130ms 4m34s 4m34s 4m34s 14 1,020 16s130ms 16s130ms 16s130ms 4m34s 4m34s 4m34s 15 1,020 16s130ms 16s130ms 16s130ms 4m34s 4m34s 4m34s 16 1,020 16s130ms 16s130ms 16s130ms 4m34s 4m34s 4m34s 17 1,020 16s130ms 16s130ms 16s130ms 4m34s 4m34s 4m34s 18 1,020 16s130ms 16s130ms 16s130ms 4m34s 4m34s 4m34s 19 1,020 16s130ms 16s130ms 16s130ms 4m34s 4m34s 4m34s 20 1,026 12s129ms 16s130ms 12s264ms 3m38s 3m39s 4m46s 21 1,026 12s96ms 12s265ms 12s165ms 3m37s 3m39s 3m40s 22 1,026 12s76ms 12s291ms 12s205ms 3m37s 3m40s 3m41s 23 1,031 544ms 12s333ms 12s15ms 3m31s 3m41s 3m42s Day Hour SELECT COPY TO Average Duration Latency Percentile(90) Latency Percentile(95) Latency Percentile(99) May 25 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 1s288ms 0ms 0ms 0ms Day Hour INSERT UPDATE DELETE COPY FROM Average Duration Latency Percentile(90) Latency Percentile(95) Latency Percentile(99) May 25 00 0 0 0 0 0ms 0ms 0ms 0ms 01 0 1 0 0 1s7ms 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 25 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 5 5.00 0.00% 05 0 6 6.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 0 0.00 0.00% 13 0 0 0.00 0.00% 14 0 0 0.00 0.00% 15 0 0 0.00 0.00% 16 0 0 0.00 0.00% 17 0 0 0.00 0.00% 18 0 0 0.00 0.00% 19 0 0 0.00 0.00% 20 0 6 6.00 0.00% 21 0 6 6.00 0.00% 22 0 6 6.00 0.00% 23 0 6 6.00 0.00% Day Hour Count Average / Second May 25 00 906 0.25/s 01 871 0.24/s 02 907 0.25/s 03 897 0.25/s 04 867 0.24/s 05 897 0.25/s 06 897 0.25/s 07 871 0.24/s 08 900 0.25/s 09 911 0.25/s 10 921 0.26/s 11 853 0.24/s 12 547 0.15/s 13 565 0.16/s 14 546 0.15/s 15 543 0.15/s 16 543 0.15/s 17 543 0.15/s 18 566 0.16/s 19 546 0.15/s 20 915 0.25/s 21 897 0.25/s 22 868 0.24/s 23 975 0.27/s Day Hour Count Average Duration Average idle time May 25 00 906 325ms 0ms 01 871 332ms 0ms 02 907 325ms 0ms 03 897 329ms 0ms 04 867 313ms 0ms 05 897 327ms 0ms 06 897 327ms 0ms 07 871 332ms 0ms 08 900 328ms 0ms 09 911 325ms 0ms 10 921 325ms 0ms 11 853 319ms 0ms 12 547 241ms 0ms 13 565 238ms 0ms 14 546 242ms 0ms 15 543 243ms 0ms 16 543 242ms 0ms 17 543 243ms 0ms 18 566 240ms 0ms 19 546 242ms 0ms 20 915 261ms 0ms 21 897 265ms 0ms 22 868 270ms 0ms 23 975 263ms 0ms -
Connections
Established Connections
Key values
- 34 connections Connection Peak
- 2026-05-25 08:57:03 Date
Connections per database
Key values
- zemm_monitoring Main Database
- 18,752 connections Total
Connections per user
Key values
- labanimal Main User
- 18,752 connections Total
-
Sessions
Simultaneous sessions
Key values
- 6 sessions Session Peak
- 2026-05-25 03:12:38 Date
Histogram of session times
Key values
- 16,692 0-500ms duration
Sessions per database
Key values
- zemm_monitoring Main Database
- 18,752 sessions Total
Sessions per user
Key values
- labanimal Main User
- 18,752 sessions Total
Sessions per host
Key values
- ::1 Main Host
- 18,752 sessions Total
Sessions per application
Key values
- Main Application
- 18,752 sessions Total
Application Count Total Duration Average Duration 17,222 1h30m57s 316ms _desktop__zemm_produktiv_8_localhost_5432 1 53ms 53ms _desktop_index.php_command_login_subcommand_init_zemm_dev_local 1 22ms 22ms _desktop_index.php_command_login_subcommand_init_zemm_produktiv 1,460 42s278ms 28ms _desktop_index.php_zemm_produktiv_8_localhost_5432 37 7s732ms 208ms backend:zemm_produktiv_8@localhost 4 236ms 59ms bounces:zemm_produktiv_8@h2940066.stratoserver.net:5432 1 60ms 60ms expire_tasks:zemm_produktiv_8@h2940066.stratoserver.net:5432 1 1s35ms 1s35ms pg_dump 1 11s386ms 11s386ms taskscron:zemm_produktiv_8@h2940066.stratoserver.net:5432 24 2s542ms 105ms -
Checkpoints / Restartpoints
Checkpoints Buffers
Key values
- 20,252 buffers Checkpoint Peak
- 2026-05-25 01:37:31 Date
- 269.699 seconds Highest write time
- 0.016 seconds Sync time
Checkpoints Wal files
Key values
- 6 files Wal files usage Peak
- 2026-05-25 01:37:31 Date
Checkpoints distance
Key values
- 191.15 Mo Distance Peak
- 2026-05-25 01:37:31 Date
Checkpoints Activity
↑ Back to the top of the Checkpoint Activity tableDay Hour Written buffers Write time Sync time Total time May 25 00 8,957 896.891s 0.12s 897.076s 01 27,711 1,015.975s 0.107s 1,016.152s 02 8,419 842.286s 0.107s 842.457s 03 8,477 848.114s 0.102s 848.273s 04 8,385 839.249s 0.103s 839.404s 05 8,494 850.292s 0.1s 850.446s 06 8,821 882.348s 0.101s 882.501s 07 8,960 896.57s 0.096s 896.724s 08 8,199 820.435s 0.096s 820.58s 09 8,840 884.465s 0.104s 884.621s 10 8,864 887.265s 0.099s 887.415s 11 9,436 944.065s 0.101s 944.222s 12 7,008 701.142s 0.09s 701.276s 13 8,824 883.081s 0.111s 883.245s 14 8,449 845.785s 0.103s 845.94s 15 8,394 840.063s 0.117s 840.239s 16 9,346 935.316s 0.106s 935.477s 17 7,774 777.869s 0.1s 778.022s 18 8,918 892.555s 0.102s 892.708s 19 15,279 1,033.136s 0.102s 1,033.293s 20 14,227 1,119.464s 0.102s 1,119.623s 21 8,126 813.435s 0.099s 813.588s 22 8,978 898.272s 0.101s 898.427s 23 9,103 910.917s 0.104s 911.074s Day Hour Added Removed Recycled Synced files Longest sync Average sync May 25 00 0 0 2 556 0.004s 0.013s 01 0 0 7 508 0.003s 0.011s 02 0 0 2 509 0.005s 0.012s 03 0 0 2 524 0.003s 0.012s 04 0 0 1 511 0.003s 0.012s 05 0 0 2 516 0.003s 0.012s 06 0 0 2 518 0.002s 0.012s 07 0 0 2 515 0.001s 0.012s 08 0 0 2 508 0.001s 0.012s 09 0 0 1 536 0.002s 0.012s 10 0 0 2 531 0.001s 0.012s 11 0 0 2 537 0.002s 0.012s 12 0 0 1 485 0.001s 0.011s 13 0 0 2 592 0.002s 0.013s 14 0 0 2 552 0.001s 0.012s 15 0 0 2 544 0.008s 0.012s 16 0 0 2 564 0.002s 0.012s 17 0 0 1 538 0.002s 0.012s 18 0 0 2 542 0.002s 0.012s 19 0 0 3 537 0.002s 0.012s 20 0 0 3 552 0.003s 0.012s 21 0 0 1 532 0.001s 0.012s 22 0 0 2 538 0.001s 0.012s 23 0 0 2 552 0.002s 0.012s Day Hour Count Avg time (sec) May 25 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 25 00 2,323.62 kB 3,055.23 kB 01 11,241.00 kB 38,415.27 kB 02 2,374.50 kB 36,150.83 kB 03 2,397.08 kB 11,862.08 kB 04 2,387.75 kB 5,067.08 kB 05 2,388.75 kB 3,455.50 kB 06 2,444.17 kB 3,203.92 kB 07 2,496.67 kB 3,121.08 kB 08 2,292.58 kB 3,095.00 kB 09 2,405.25 kB 3,205.00 kB 10 2,434.25 kB 3,237.92 kB 11 2,584.08 kB 3,210.00 kB 12 2,232.64 kB 2,847.00 kB 13 2,281.31 kB 3,120.85 kB 14 2,397.17 kB 3,152.25 kB 15 2,377.92 kB 3,107.33 kB 16 2,571.50 kB 3,812.42 kB 17 2,202.33 kB 2,986.50 kB 18 2,422.00 kB 3,127.83 kB 19 3,715.00 kB 12,559.42 kB 20 3,982.67 kB 12,669.75 kB 21 2,320.83 kB 5,299.50 kB 22 2,409.67 kB 3,245.00 kB 23 2,469.83 kB 3,201.00 kB -
Temporary Files
Size of temporary files
Key values
- 0 Temp Files size Peak
- Date
Size of temporary files (5 minutes period)
NO DATASET
Number of temporary files
Key values
- 0 per second Temp Files Peak
- Date
Number of temporary files (5 minutes period)
NO DATASET
Temporary Files Activity
↑ Back to the top of the Temporary Files Activity tableDay Hour Count Total size Average size May 25 00 0 0 0 01 0 0 0 02 0 0 0 03 0 0 0 04 0 0 0 05 0 0 0 06 0 0 0 07 0 0 0 08 0 0 0 09 0 0 0 10 0 0 0 11 0 0 0 12 0 0 0 13 0 0 0 14 0 0 0 15 0 0 0 16 0 0 0 17 0 0 0 18 0 0 0 19 0 0 0 20 0 0 0 21 0 0 0 22 0 0 0 23 0 0 0 -
Vacuums
Vacuums / Analyzes Distribution
Key values
- 2.13 sec Highest CPU-cost vacuum
Table observability.metrics_timeseries
Database zemm_monitoring - 2026-05-25 18:59:33 Date
- 0 sec Highest CPU-cost analyze
Table
Database zemm_monitoring - Date
Average Autovacuum Duration
Key values
- 2.13 sec Highest CPU-cost vacuum
Table observability.metrics_timeseries
Database zemm_monitoring - 2026-05-25 18:59:33 Date
Analyzes per table
Key values
- observability.metrics_timeseries (2) Main table analyzed (database zemm_monitoring)
- 4 analyzes Total
Vacuums per table
Key values
- pg_toast.pg_toast_67431 (3) Main table vacuumed on database zemm_monitoring
- 8 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 3 0 0 0 0 0 0 3,843 1,337 3,044,136 1,172 7,032 zemm_monitoring.pg_toast.pg_toast_181881 2 0 0 0 0 0 0 651 221 1,109,407 214 1,006 zemm_produktiv_8.public.tasks 1 1 0 0 0 0 0 47,874 8 3,394,405 0 0 zemm_monitoring.observability.metrics_timeseries 1 1 0 0 0 0 0 15,813 7,086 17,283,824 1,899 40,828 zemm_monitoring.pg_toast.pg_toast_2619 1 1 0 0 0 0 0 108 32 183,634 9 26 Total 8 3 0 0 0 0 0 68,289 8,684 25,015,406 3,294 48,892 Vacuum throughput per table
Key values
- observability.metrics_timeseries (2.13) Max CPU elapsed for vacuum on database zemm_monitoring
- observability.metrics_timeseries (2.379 ms) Max I/O read time for vacuum on database zemm_monitoring
- observability.metrics_timeseries (1.103 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.31 zemm_monitoring.pg_toast.pg_toast_181881 0 0 0.04 zemm_produktiv_8.public.tasks 0 0 0.61 zemm_monitoring.observability.metrics_timeseries 2.379 1.103 2.13 zemm_monitoring.pg_toast.pg_toast_2619 0 0 0 Total 2.379 1.103 3.09 Tuples removed per table
Key values
- public.tasks (54707) Main table with removed tuples on database zemm_produktiv_8
- 91361 tuples Total removed
Index Tuples Pages Table Vacuums scans removed remain not yet removable removed remain zemm_produktiv_8.public.tasks 1 1 54,707 57,749 0 0 17,060 zemm_monitoring.observability.metrics_timeseries 1 1 35,655 383,438 0 0 8,322 zemm_monitoring.pg_toast.pg_toast_67431 3 0 934 2,161,277 0 0 367,061 zemm_monitoring.pg_toast.pg_toast_2619 1 1 65 85 0 0 38 zemm_monitoring.pg_toast.pg_toast_181881 2 0 0 13,598 0 0 2,542 Total 8 3 91,361 2,616,147 0 0 395,023 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_produktiv_8.public.tasks 1 1 54707 0 zemm_monitoring.pg_toast.pg_toast_67431 3 0 934 0 zemm_monitoring.observability.metrics_timeseries 1 1 35655 0 zemm_monitoring.pg_toast.pg_toast_181881 2 0 0 0 zemm_monitoring.pg_toast.pg_toast_2619 1 1 65 0 Total 8 3 91,361 0 Autovacuum Activity
↑ Back to the top of the Autovacuum Activity tableDay Hour VACUUMs ANALYZEs May 25 00 0 0 01 1 2 02 0 0 03 0 0 04 2 0 05 0 0 06 0 1 07 0 0 08 0 0 09 0 0 10 0 0 11 1 0 12 0 0 13 0 0 14 1 0 15 0 0 16 1 1 17 0 0 18 2 0 19 0 0 20 0 0 21 0 0 22 0 0 23 0 0 - 2.13 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,580 Total write queries
Queries by database
Key values
- zemm_monitoring Main database
- 24,574 Requests
- 4d8h58m51s (zemm_monitoring)
- Main time consuming database
Queries by user
Key values
- monitoring_admin Main user
- 319,983 Requests
User Request type Count Duration labanimal Total 1,037 26m37s copy to 8 22s808ms cte 172 4m5s select 844 21m54s update 13 14s264ms monitoring_admin Total 319,983 19d12h57m31s cte 929 2h41m18s ddl 318,202 19d10h3m58s select 847 12m10s postgres Total 68 1m35s copy to 68 1m35s Duration by user
Key values
- 19d12h57m31s (monitoring_admin) Main time consuming user
User Request type Count Duration labanimal Total 1,037 26m37s copy to 8 22s808ms cte 172 4m5s select 844 21m54s update 13 14s264ms monitoring_admin Total 319,983 19d12h57m31s cte 929 2h41m18s ddl 318,202 19d10h3m58s select 847 12m10s postgres Total 68 1m35s copy to 68 1m35s Queries by host
Key values
- unknown Main host
- 321,007 Requests
- 19d13h23m54s (unknown)
- Main time consuming host
Queries by application
Key values
- unknown Main application
- 24,574 Requests
- 4d8h58m51s (unknown)
- Main time consuming application
Number of cancelled queries
Key values
- 0 per second Cancelled query Peak
- 2026-05-25 18:33:01 Date
Number of cancelled queries (5 minutes period)
NO DATASET
-
Top Queries
Histogram of query times
Key values
- 94 > 10000ms duration
Slowest individual queries
Rank Duration Query 1 16s332ms 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-22 10:28:38+02' AND collected_at <= '2026-05-24 10:28:38+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-24 10:28:38+02' AND '2026-05-25 10:28:38+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-24 10:28:38+02' AND '2026-05-25 10:28:38+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-25 10:28:54 - Database: zemm_monitoring - User: monitoring_admin - Bind query: yes ]
2 16s332ms CREATE SCHEMA IF NOT EXISTS observability;[ Date: 2026-05-25 10:29:01 - Database: zemm_monitoring - User: monitoring_admin - Bind query: yes ]
3 16s332ms 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-25 10:29:01 - Database: zemm_monitoring - User: monitoring_admin - Bind query: yes ]
4 16s332ms CREATE INDEX IF NOT EXISTS idx_metrics_timeseries_bucket ON observability.metrics_timeseries (bucket_start);[ Date: 2026-05-25 10:29:01 - Database: zemm_monitoring - User: monitoring_admin - Bind query: yes ]
5 16s332ms CREATE INDEX IF NOT EXISTS idx_metrics_timeseries_metric ON observability.metrics_timeseries (metric_name);[ Date: 2026-05-25 10:29:01 - Database: zemm_monitoring - User: monitoring_admin - Bind query: yes ]
6 16s332ms 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-25 10:29:01 - Database: zemm_monitoring - User: monitoring_admin - Bind query: yes ]
7 16s332ms CREATE INDEX IF NOT EXISTS idx_app_events_tenant ON observability.app_events (tenant_key, occurred_at DESC);[ Date: 2026-05-25 10:29:01 - Database: zemm_monitoring - User: monitoring_admin - Bind query: yes ]
8 16s332ms CREATE INDEX IF NOT EXISTS idx_app_events_type ON observability.app_events (event_type);[ Date: 2026-05-25 10:29:01 - Database: zemm_monitoring - User: monitoring_admin - Bind query: yes ]
9 16s332ms 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-25 10:29:01 - Database: zemm_monitoring - User: monitoring_admin - Bind query: yes ]
10 16s332ms CREATE INDEX IF NOT EXISTS idx_db_top_queries_tenant ON observability.db_top_queries (tenant_key, collected_at DESC);[ Date: 2026-05-25 10:29:01 - Database: zemm_monitoring - User: monitoring_admin - Bind query: yes ]
11 16s332ms 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-25 10:29:01 - Database: zemm_monitoring - User: monitoring_admin - Bind query: yes ]
12 16s332ms 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-25 10:29:01 - Database: zemm_monitoring - User: monitoring_admin - Bind query: yes ]
13 16s332ms 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-25 10:29:01 - Database: zemm_monitoring - User: monitoring_admin - Bind query: yes ]
14 16s332ms 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-25 10:29:01 - Database: zemm_monitoring - User: monitoring_admin - Bind query: yes ]
15 16s332ms ALTER TABLE observability.uptime_checks ADD COLUMN IF NOT EXISTS label text;[ Date: 2026-05-25 10:29:01 - Database: zemm_monitoring - User: monitoring_admin - Bind query: yes ]
16 16s332ms ALTER TABLE observability.uptime_checks ADD COLUMN IF NOT EXISTS payload jsonb;[ Date: 2026-05-25 10:29:01 - Database: zemm_monitoring - User: monitoring_admin - Bind query: yes ]
17 16s332ms CREATE INDEX IF NOT EXISTS idx_uptime_checks_endpoint ON observability.uptime_checks (endpoint, checked_at DESC);[ Date: 2026-05-25 10:29:01 - Database: zemm_monitoring - User: monitoring_admin - Bind query: yes ]
18 16s332ms CREATE INDEX IF NOT EXISTS idx_uptime_checks_key ON observability.uptime_checks (check_key, checked_at DESC);[ Date: 2026-05-25 10:29:01 - Database: zemm_monitoring - User: monitoring_admin - Bind query: yes ]
19 16s332ms CREATE SCHEMA IF NOT EXISTS observability;[ Date: 2026-05-25 10:30:01 - Database: zemm_monitoring - User: monitoring_admin - Bind query: yes ]
20 16s332ms 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-25 10:30:01 - Database: zemm_monitoring - User: monitoring_admin - Bind query: yes ]
Time consuming queries (N)
Rank Total duration Times executed Min duration Max duration Avg duration Query 1 6h9m7s 1,440 1s7ms 16s332ms 15s380ms create index if not exists idx_uptime_checks_key on observability.uptime_checks (check_key, checked_at desc);Times Reported Time consuming queries #1
Day Hour Count Duration Avg duration May 25 01 60 15m 15s7ms 02 60 14m52s 14s867ms 03 60 16m9s 16s151ms 04 60 16m9s 16s156ms 05 60 16m1s 16s33ms 06 60 16m6s 16s109ms 07 60 16m5s 16s91ms 08 60 16m7s 16s126ms 09 60 16m12s 16s204ms 10 60 16m12s 16s200ms 11 60 16m15s 16s259ms 12 60 16m10s 16s168ms 13 60 16m7s 16s130ms 14 60 16m7s 16s130ms 15 60 16m7s 16s130ms 16 60 16m7s 16s130ms 17 60 16m7s 16s130ms 18 60 16m7s 16s130ms 19 60 16m7s 16s130ms 20 60 16m7s 16s130ms 21 60 12m15s 12s264ms 22 60 12m9s 12s165ms 23 60 12m12s 12s205ms 00 60 12m3s 12s66ms [ User: monitoring_admin - Total duration: 6h9m7s - Times executed: 1436 ]
-
CREATE INDEX IF NOT EXISTS idx_uptime_checks_key ON observability.uptime_checks (check_key, checked_at DESC);
Date: 2026-05-25 10:38:01 Duration: 16s332ms Database: zemm_monitoring User: monitoring_admin Bind query: yes Log file: /var/log/postgresql/postgresql-2026-05-25_000000.csv
-
CREATE INDEX IF NOT EXISTS idx_uptime_checks_key ON observability.uptime_checks (check_key, checked_at DESC);
Date: 2026-05-25 11:09:01 Duration: 16s316ms Database: zemm_monitoring User: monitoring_admin Bind query: yes Log file: /var/log/postgresql/postgresql-2026-05-25_000000.csv
-
CREATE INDEX IF NOT EXISTS idx_uptime_checks_key ON observability.uptime_checks (check_key, checked_at DESC);
Date: 2026-05-25 09:58:01 Duration: 16s288ms Database: zemm_monitoring User: monitoring_admin Bind query: yes Log file: /var/log/postgresql/postgresql-2026-05-25_000000.csv
2 6h9m7s 1,440 1s7ms 16s332ms 15s380ms create schema if not exists observability;Times Reported Time consuming queries #2
Day Hour Count Duration Avg duration May 25 01 60 15m 15s7ms 02 60 14m52s 14s867ms 03 60 16m9s 16s151ms 04 60 16m9s 16s156ms 05 60 16m1s 16s33ms 06 60 16m6s 16s109ms 07 60 16m5s 16s91ms 08 60 16m7s 16s126ms 09 60 16m12s 16s204ms 10 60 16m12s 16s200ms 11 60 16m15s 16s259ms 12 60 16m10s 16s168ms 13 60 16m7s 16s130ms 14 60 16m7s 16s130ms 15 60 16m7s 16s130ms 16 60 16m7s 16s130ms 17 60 16m7s 16s130ms 18 60 16m7s 16s130ms 19 60 16m7s 16s130ms 20 60 16m7s 16s130ms 21 60 12m15s 12s264ms 22 60 12m9s 12s165ms 23 60 12m12s 12s205ms 00 60 12m3s 12s66ms [ User: monitoring_admin - Total duration: 6h9m7s - Times executed: 1436 ]
-
CREATE SCHEMA IF NOT EXISTS observability;
Date: 2026-05-25 10:38:01 Duration: 16s332ms Database: zemm_monitoring User: monitoring_admin Bind query: yes Log file: /var/log/postgresql/postgresql-2026-05-25_000000.csv
-
CREATE SCHEMA IF NOT EXISTS observability;
Date: 2026-05-25 11:09:01 Duration: 16s316ms Database: zemm_monitoring User: monitoring_admin Bind query: yes Log file: /var/log/postgresql/postgresql-2026-05-25_000000.csv
-
CREATE SCHEMA IF NOT EXISTS observability;
Date: 2026-05-25 09:58:01 Duration: 16s288ms Database: zemm_monitoring User: monitoring_admin Bind query: yes Log file: /var/log/postgresql/postgresql-2026-05-25_000000.csv
3 6h9m7s 1,440 1s7ms 16s332ms 15s380ms 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 #3
Day Hour Count Duration Avg duration May 25 01 60 15m 15s7ms 02 60 14m52s 14s867ms 03 60 16m9s 16s151ms 04 60 16m9s 16s156ms 05 60 16m1s 16s33ms 06 60 16m6s 16s109ms 07 60 16m5s 16s91ms 08 60 16m7s 16s126ms 09 60 16m12s 16s204ms 10 60 16m12s 16s200ms 11 60 16m15s 16s259ms 12 60 16m10s 16s168ms 13 60 16m7s 16s130ms 14 60 16m7s 16s130ms 15 60 16m7s 16s130ms 16 60 16m7s 16s130ms 17 60 16m7s 16s130ms 18 60 16m7s 16s130ms 19 60 16m7s 16s130ms 20 60 16m7s 16s130ms 21 60 12m15s 12s264ms 22 60 12m9s 12s165ms 23 60 12m12s 12s205ms 00 60 12m3s 12s66ms [ User: monitoring_admin - Total duration: 6h9m7s - Times executed: 1436 ]
-
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-25 10:38:01 Duration: 16s332ms Database: zemm_monitoring User: monitoring_admin Bind query: yes Log file: /var/log/postgresql/postgresql-2026-05-25_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-25 11:09:01 Duration: 16s316ms Database: zemm_monitoring User: monitoring_admin Bind query: yes Log file: /var/log/postgresql/postgresql-2026-05-25_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-25 09:58:01 Duration: 16s288ms Database: zemm_monitoring User: monitoring_admin Bind query: yes Log file: /var/log/postgresql/postgresql-2026-05-25_000000.csv
4 6h9m7s 1,440 1s7ms 16s332ms 15s380ms 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 25 01 60 15m 15s7ms 02 60 14m52s 14s867ms 03 60 16m9s 16s151ms 04 60 16m9s 16s156ms 05 60 16m1s 16s33ms 06 60 16m6s 16s109ms 07 60 16m5s 16s91ms 08 60 16m7s 16s126ms 09 60 16m12s 16s204ms 10 60 16m12s 16s200ms 11 60 16m15s 16s259ms 12 60 16m10s 16s168ms 13 60 16m7s 16s130ms 14 60 16m7s 16s130ms 15 60 16m7s 16s130ms 16 60 16m7s 16s130ms 17 60 16m7s 16s130ms 18 60 16m7s 16s130ms 19 60 16m7s 16s130ms 20 60 16m7s 16s130ms 21 60 12m15s 12s264ms 22 60 12m9s 12s165ms 23 60 12m12s 12s205ms 00 60 12m3s 12s66ms [ User: monitoring_admin - Total duration: 6h9m7s - Times executed: 1436 ]
-
CREATE INDEX IF NOT EXISTS idx_app_events_tenant ON observability.app_events (tenant_key, occurred_at DESC);
Date: 2026-05-25 10:38:01 Duration: 16s332ms Database: zemm_monitoring User: monitoring_admin Bind query: yes Log file: /var/log/postgresql/postgresql-2026-05-25_000000.csv
-
CREATE INDEX IF NOT EXISTS idx_app_events_tenant ON observability.app_events (tenant_key, occurred_at DESC);
Date: 2026-05-25 11:09:01 Duration: 16s316ms Database: zemm_monitoring User: monitoring_admin Bind query: yes Log file: /var/log/postgresql/postgresql-2026-05-25_000000.csv
-
CREATE INDEX IF NOT EXISTS idx_app_events_tenant ON observability.app_events (tenant_key, occurred_at DESC);
Date: 2026-05-25 09:58:01 Duration: 16s288ms Database: zemm_monitoring User: monitoring_admin Bind query: yes Log file: /var/log/postgresql/postgresql-2026-05-25_000000.csv
5 6h9m7s 1,440 1s7ms 16s332ms 15s380ms 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 #5
Day Hour Count Duration Avg duration May 25 01 60 15m 15s7ms 02 60 14m52s 14s867ms 03 60 16m9s 16s151ms 04 60 16m9s 16s156ms 05 60 16m1s 16s33ms 06 60 16m6s 16s109ms 07 60 16m5s 16s91ms 08 60 16m7s 16s126ms 09 60 16m12s 16s204ms 10 60 16m12s 16s200ms 11 60 16m15s 16s259ms 12 60 16m10s 16s168ms 13 60 16m7s 16s130ms 14 60 16m7s 16s130ms 15 60 16m7s 16s130ms 16 60 16m7s 16s130ms 17 60 16m7s 16s130ms 18 60 16m7s 16s130ms 19 60 16m7s 16s130ms 20 60 16m7s 16s130ms 21 60 12m15s 12s264ms 22 60 12m9s 12s165ms 23 60 12m12s 12s205ms 00 60 12m3s 12s66ms [ User: monitoring_admin - Total duration: 6h9m7s - Times executed: 1436 ]
-
CREATE INDEX IF NOT EXISTS idx_db_top_queries_tenant ON observability.db_top_queries (tenant_key, collected_at DESC);
Date: 2026-05-25 10:38:01 Duration: 16s332ms Database: zemm_monitoring User: monitoring_admin Bind query: yes Log file: /var/log/postgresql/postgresql-2026-05-25_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-25 11:09:01 Duration: 16s316ms Database: zemm_monitoring User: monitoring_admin Bind query: yes Log file: /var/log/postgresql/postgresql-2026-05-25_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-25 09:58:01 Duration: 16s288ms Database: zemm_monitoring User: monitoring_admin Bind query: yes Log file: /var/log/postgresql/postgresql-2026-05-25_000000.csv
6 6h9m7s 1,440 1s7ms 16s332ms 15s380ms 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 25 01 60 15m 15s7ms 02 60 14m52s 14s867ms 03 60 16m9s 16s151ms 04 60 16m9s 16s156ms 05 60 16m1s 16s33ms 06 60 16m6s 16s109ms 07 60 16m5s 16s91ms 08 60 16m7s 16s126ms 09 60 16m12s 16s204ms 10 60 16m12s 16s200ms 11 60 16m15s 16s259ms 12 60 16m10s 16s168ms 13 60 16m7s 16s130ms 14 60 16m7s 16s130ms 15 60 16m7s 16s130ms 16 60 16m7s 16s130ms 17 60 16m7s 16s130ms 18 60 16m7s 16s130ms 19 60 16m7s 16s130ms 20 60 16m7s 16s130ms 21 60 12m15s 12s264ms 22 60 12m9s 12s165ms 23 60 12m12s 12s205ms 00 60 12m3s 12s66ms [ User: monitoring_admin - Total duration: 6h9m7s - Times executed: 1436 ]
-
CREATE INDEX IF NOT EXISTS idx_uptime_checks_endpoint ON observability.uptime_checks (endpoint, checked_at DESC);
Date: 2026-05-25 10:38:01 Duration: 16s332ms Database: zemm_monitoring User: monitoring_admin Bind query: yes Log file: /var/log/postgresql/postgresql-2026-05-25_000000.csv
-
CREATE INDEX IF NOT EXISTS idx_uptime_checks_endpoint ON observability.uptime_checks (endpoint, checked_at DESC);
Date: 2026-05-25 11:09:01 Duration: 16s316ms Database: zemm_monitoring User: monitoring_admin Bind query: yes Log file: /var/log/postgresql/postgresql-2026-05-25_000000.csv
-
CREATE INDEX IF NOT EXISTS idx_uptime_checks_endpoint ON observability.uptime_checks (endpoint, checked_at DESC);
Date: 2026-05-25 09:58:01 Duration: 16s288ms Database: zemm_monitoring User: monitoring_admin Bind query: yes Log file: /var/log/postgresql/postgresql-2026-05-25_000000.csv
7 6h9m7s 1,440 1s7ms 16s332ms 15s380ms 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 25 01 60 15m 15s7ms 02 60 14m52s 14s867ms 03 60 16m9s 16s151ms 04 60 16m9s 16s156ms 05 60 16m1s 16s33ms 06 60 16m6s 16s109ms 07 60 16m5s 16s91ms 08 60 16m7s 16s126ms 09 60 16m12s 16s204ms 10 60 16m12s 16s200ms 11 60 16m15s 16s259ms 12 60 16m10s 16s168ms 13 60 16m7s 16s130ms 14 60 16m7s 16s130ms 15 60 16m7s 16s130ms 16 60 16m7s 16s130ms 17 60 16m7s 16s130ms 18 60 16m7s 16s130ms 19 60 16m7s 16s130ms 20 60 16m7s 16s130ms 21 60 12m15s 12s264ms 22 60 12m9s 12s165ms 23 60 12m12s 12s205ms 00 60 12m3s 12s66ms [ User: monitoring_admin - Total duration: 6h9m7s - Times executed: 1436 ]
-
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-25 10:38:01 Duration: 16s332ms Database: zemm_monitoring User: monitoring_admin Bind query: yes Log file: /var/log/postgresql/postgresql-2026-05-25_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-25 11:09:01 Duration: 16s316ms Database: zemm_monitoring User: monitoring_admin Bind query: yes Log file: /var/log/postgresql/postgresql-2026-05-25_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-25 09:58:01 Duration: 16s288ms Database: zemm_monitoring User: monitoring_admin Bind query: yes Log file: /var/log/postgresql/postgresql-2026-05-25_000000.csv
8 6h9m7s 1,440 1s7ms 16s332ms 15s380ms 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 25 01 60 15m 15s7ms 02 60 14m52s 14s867ms 03 60 16m9s 16s151ms 04 60 16m9s 16s156ms 05 60 16m1s 16s33ms 06 60 16m6s 16s109ms 07 60 16m5s 16s91ms 08 60 16m7s 16s126ms 09 60 16m12s 16s204ms 10 60 16m12s 16s200ms 11 60 16m15s 16s259ms 12 60 16m10s 16s168ms 13 60 16m7s 16s130ms 14 60 16m7s 16s130ms 15 60 16m7s 16s130ms 16 60 16m7s 16s130ms 17 60 16m7s 16s130ms 18 60 16m7s 16s130ms 19 60 16m7s 16s130ms 20 60 16m7s 16s130ms 21 60 12m15s 12s264ms 22 60 12m9s 12s165ms 23 60 12m12s 12s205ms 00 60 12m3s 12s66ms [ User: monitoring_admin - Total duration: 6h9m7s - Times executed: 1436 ]
-
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-25 10:38:01 Duration: 16s332ms Database: zemm_monitoring User: monitoring_admin Bind query: yes Log file: /var/log/postgresql/postgresql-2026-05-25_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-25 11:09:01 Duration: 16s316ms Database: zemm_monitoring User: monitoring_admin Bind query: yes Log file: /var/log/postgresql/postgresql-2026-05-25_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-25 09:58:01 Duration: 16s288ms Database: zemm_monitoring User: monitoring_admin Bind query: yes Log file: /var/log/postgresql/postgresql-2026-05-25_000000.csv
9 6h9m7s 1,440 1s7ms 16s332ms 15s380ms 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 25 01 60 15m 15s7ms 02 60 14m52s 14s867ms 03 60 16m9s 16s151ms 04 60 16m9s 16s156ms 05 60 16m1s 16s33ms 06 60 16m6s 16s109ms 07 60 16m5s 16s91ms 08 60 16m7s 16s126ms 09 60 16m12s 16s204ms 10 60 16m12s 16s200ms 11 60 16m15s 16s259ms 12 60 16m10s 16s168ms 13 60 16m7s 16s130ms 14 60 16m7s 16s130ms 15 60 16m7s 16s130ms 16 60 16m7s 16s130ms 17 60 16m7s 16s130ms 18 60 16m7s 16s130ms 19 60 16m7s 16s130ms 20 60 16m7s 16s130ms 21 60 12m15s 12s264ms 22 60 12m9s 12s165ms 23 60 12m12s 12s205ms 00 60 12m3s 12s66ms [ User: monitoring_admin - Total duration: 6h9m7s - Times executed: 1436 ]
-
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-25 10:38:01 Duration: 16s332ms Database: zemm_monitoring User: monitoring_admin Bind query: yes Log file: /var/log/postgresql/postgresql-2026-05-25_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-25 11:09:01 Duration: 16s316ms Database: zemm_monitoring User: monitoring_admin Bind query: yes Log file: /var/log/postgresql/postgresql-2026-05-25_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-25 09:58:01 Duration: 16s288ms Database: zemm_monitoring User: monitoring_admin Bind query: yes Log file: /var/log/postgresql/postgresql-2026-05-25_000000.csv
10 6h9m7s 1,440 1s7ms 16s332ms 15s380ms 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 25 01 60 15m 15s7ms 02 60 14m52s 14s867ms 03 60 16m9s 16s151ms 04 60 16m9s 16s156ms 05 60 16m1s 16s33ms 06 60 16m6s 16s109ms 07 60 16m5s 16s91ms 08 60 16m7s 16s126ms 09 60 16m12s 16s204ms 10 60 16m12s 16s200ms 11 60 16m15s 16s259ms 12 60 16m10s 16s168ms 13 60 16m7s 16s130ms 14 60 16m7s 16s130ms 15 60 16m7s 16s130ms 16 60 16m7s 16s130ms 17 60 16m7s 16s130ms 18 60 16m7s 16s130ms 19 60 16m7s 16s130ms 20 60 16m7s 16s130ms 21 60 12m15s 12s264ms 22 60 12m9s 12s165ms 23 60 12m12s 12s205ms 00 60 12m3s 12s66ms [ User: monitoring_admin - Total duration: 6h9m7s - Times executed: 1436 ]
-
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-25 10:38:01 Duration: 16s332ms Database: zemm_monitoring User: monitoring_admin Bind query: yes Log file: /var/log/postgresql/postgresql-2026-05-25_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-25 11:09:01 Duration: 16s316ms Database: zemm_monitoring User: monitoring_admin Bind query: yes Log file: /var/log/postgresql/postgresql-2026-05-25_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-25 09:58:01 Duration: 16s288ms Database: zemm_monitoring User: monitoring_admin Bind query: yes Log file: /var/log/postgresql/postgresql-2026-05-25_000000.csv
11 6h9m7s 1,440 1s7ms 16s332ms 15s380ms alter table observability.uptime_checks add column if not exists payload jsonb;Times Reported Time consuming queries #11
Day Hour Count Duration Avg duration May 25 01 60 15m 15s7ms 02 60 14m52s 14s867ms 03 60 16m9s 16s151ms 04 60 16m9s 16s156ms 05 60 16m1s 16s33ms 06 60 16m6s 16s109ms 07 60 16m5s 16s91ms 08 60 16m7s 16s126ms 09 60 16m12s 16s204ms 10 60 16m12s 16s200ms 11 60 16m15s 16s259ms 12 60 16m10s 16s168ms 13 60 16m7s 16s130ms 14 60 16m7s 16s130ms 15 60 16m7s 16s130ms 16 60 16m7s 16s130ms 17 60 16m7s 16s130ms 18 60 16m7s 16s130ms 19 60 16m7s 16s130ms 20 60 16m7s 16s130ms 21 60 12m15s 12s264ms 22 60 12m9s 12s165ms 23 60 12m12s 12s205ms 00 60 12m3s 12s66ms [ User: monitoring_admin - Total duration: 6h9m7s - Times executed: 1436 ]
-
ALTER TABLE observability.uptime_checks ADD COLUMN IF NOT EXISTS payload jsonb;
Date: 2026-05-25 10:38:01 Duration: 16s332ms Database: zemm_monitoring User: monitoring_admin Bind query: yes Log file: /var/log/postgresql/postgresql-2026-05-25_000000.csv
-
ALTER TABLE observability.uptime_checks ADD COLUMN IF NOT EXISTS payload jsonb;
Date: 2026-05-25 11:09:01 Duration: 16s316ms Database: zemm_monitoring User: monitoring_admin Bind query: yes Log file: /var/log/postgresql/postgresql-2026-05-25_000000.csv
-
ALTER TABLE observability.uptime_checks ADD COLUMN IF NOT EXISTS payload jsonb;
Date: 2026-05-25 09:58:01 Duration: 16s288ms Database: zemm_monitoring User: monitoring_admin Bind query: yes Log file: /var/log/postgresql/postgresql-2026-05-25_000000.csv
12 6h9m7s 1,440 1s7ms 16s332ms 15s380ms 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 25 01 60 15m 15s7ms 02 60 14m52s 14s867ms 03 60 16m9s 16s151ms 04 60 16m9s 16s156ms 05 60 16m1s 16s33ms 06 60 16m6s 16s109ms 07 60 16m5s 16s91ms 08 60 16m7s 16s126ms 09 60 16m12s 16s204ms 10 60 16m12s 16s200ms 11 60 16m15s 16s259ms 12 60 16m10s 16s168ms 13 60 16m7s 16s130ms 14 60 16m7s 16s130ms 15 60 16m7s 16s130ms 16 60 16m7s 16s130ms 17 60 16m7s 16s130ms 18 60 16m7s 16s130ms 19 60 16m7s 16s130ms 20 60 16m7s 16s130ms 21 60 12m15s 12s264ms 22 60 12m9s 12s165ms 23 60 12m12s 12s205ms 00 60 12m3s 12s66ms [ User: monitoring_admin - Total duration: 6h9m7s - Times executed: 1436 ]
-
CREATE INDEX IF NOT EXISTS idx_metrics_timeseries_metric ON observability.metrics_timeseries (metric_name);
Date: 2026-05-25 10:38:01 Duration: 16s332ms Database: zemm_monitoring User: monitoring_admin Bind query: yes Log file: /var/log/postgresql/postgresql-2026-05-25_000000.csv
-
CREATE INDEX IF NOT EXISTS idx_metrics_timeseries_metric ON observability.metrics_timeseries (metric_name);
Date: 2026-05-25 11:09:01 Duration: 16s316ms Database: zemm_monitoring User: monitoring_admin Bind query: yes Log file: /var/log/postgresql/postgresql-2026-05-25_000000.csv
-
CREATE INDEX IF NOT EXISTS idx_metrics_timeseries_metric ON observability.metrics_timeseries (metric_name);
Date: 2026-05-25 09:58:01 Duration: 16s288ms Database: zemm_monitoring User: monitoring_admin Bind query: yes Log file: /var/log/postgresql/postgresql-2026-05-25_000000.csv
13 6h9m7s 1,440 1s7ms 16s332ms 15s380ms create index if not exists idx_app_events_type on observability.app_events (event_type);Times Reported Time consuming queries #13
Day Hour Count Duration Avg duration May 25 01 60 15m 15s7ms 02 60 14m52s 14s867ms 03 60 16m9s 16s151ms 04 60 16m9s 16s156ms 05 60 16m1s 16s33ms 06 60 16m6s 16s109ms 07 60 16m5s 16s91ms 08 60 16m7s 16s126ms 09 60 16m12s 16s204ms 10 60 16m12s 16s200ms 11 60 16m15s 16s259ms 12 60 16m10s 16s168ms 13 60 16m7s 16s130ms 14 60 16m7s 16s130ms 15 60 16m7s 16s130ms 16 60 16m7s 16s130ms 17 60 16m7s 16s130ms 18 60 16m7s 16s130ms 19 60 16m7s 16s130ms 20 60 16m7s 16s130ms 21 60 12m15s 12s264ms 22 60 12m9s 12s165ms 23 60 12m12s 12s205ms 00 60 12m3s 12s66ms [ User: monitoring_admin - Total duration: 6h9m7s - Times executed: 1436 ]
-
CREATE INDEX IF NOT EXISTS idx_app_events_type ON observability.app_events (event_type);
Date: 2026-05-25 10:38:01 Duration: 16s332ms Database: zemm_monitoring User: monitoring_admin Bind query: yes Log file: /var/log/postgresql/postgresql-2026-05-25_000000.csv
-
CREATE INDEX IF NOT EXISTS idx_app_events_type ON observability.app_events (event_type);
Date: 2026-05-25 11:09:01 Duration: 16s316ms Database: zemm_monitoring User: monitoring_admin Bind query: yes Log file: /var/log/postgresql/postgresql-2026-05-25_000000.csv
-
CREATE INDEX IF NOT EXISTS idx_app_events_type ON observability.app_events (event_type);
Date: 2026-05-25 09:58:01 Duration: 16s288ms Database: zemm_monitoring User: monitoring_admin Bind query: yes Log file: /var/log/postgresql/postgresql-2026-05-25_000000.csv
14 6h9m7s 1,440 1s7ms 16s332ms 15s380ms create table if not exists observability.phpfpm_counters ( id bigserial primary key, payload jsonb not null, collected_at timestamptz not null default now() );Times Reported Time consuming queries #14
Day Hour Count Duration Avg duration May 25 01 60 15m 15s7ms 02 60 14m52s 14s867ms 03 60 16m9s 16s151ms 04 60 16m9s 16s156ms 05 60 16m1s 16s33ms 06 60 16m6s 16s109ms 07 60 16m5s 16s91ms 08 60 16m7s 16s126ms 09 60 16m12s 16s204ms 10 60 16m12s 16s200ms 11 60 16m15s 16s259ms 12 60 16m10s 16s168ms 13 60 16m7s 16s130ms 14 60 16m7s 16s130ms 15 60 16m7s 16s130ms 16 60 16m7s 16s130ms 17 60 16m7s 16s130ms 18 60 16m7s 16s130ms 19 60 16m7s 16s130ms 20 60 16m7s 16s130ms 21 60 12m15s 12s264ms 22 60 12m9s 12s165ms 23 60 12m12s 12s205ms 00 60 12m3s 12s66ms [ User: monitoring_admin - Total duration: 6h9m7s - Times executed: 1436 ]
-
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-25 10:38:01 Duration: 16s332ms Database: zemm_monitoring User: monitoring_admin Bind query: yes Log file: /var/log/postgresql/postgresql-2026-05-25_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-25 11:09:01 Duration: 16s316ms Database: zemm_monitoring User: monitoring_admin Bind query: yes Log file: /var/log/postgresql/postgresql-2026-05-25_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-25 09:58:01 Duration: 16s288ms Database: zemm_monitoring User: monitoring_admin Bind query: yes Log file: /var/log/postgresql/postgresql-2026-05-25_000000.csv
15 6h9m7s 1,440 1s7ms 16s332ms 15s380ms create table if not exists observability.nginx_counters ( id bigserial primary key, payload jsonb not null, collected_at timestamptz not null default now() );Times Reported Time consuming queries #15
Day Hour Count Duration Avg duration May 25 01 60 15m 15s7ms 02 60 14m52s 14s867ms 03 60 16m9s 16s151ms 04 60 16m9s 16s156ms 05 60 16m1s 16s33ms 06 60 16m6s 16s109ms 07 60 16m5s 16s91ms 08 60 16m7s 16s126ms 09 60 16m12s 16s204ms 10 60 16m12s 16s200ms 11 60 16m15s 16s259ms 12 60 16m10s 16s168ms 13 60 16m7s 16s130ms 14 60 16m7s 16s130ms 15 60 16m7s 16s130ms 16 60 16m7s 16s130ms 17 60 16m7s 16s130ms 18 60 16m7s 16s130ms 19 60 16m7s 16s130ms 20 60 16m7s 16s130ms 21 60 12m15s 12s264ms 22 60 12m9s 12s165ms 23 60 12m12s 12s205ms 00 60 12m3s 12s66ms [ User: monitoring_admin - Total duration: 6h9m7s - Times executed: 1436 ]
-
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-25 10:38:01 Duration: 16s332ms Database: zemm_monitoring User: monitoring_admin Bind query: yes Log file: /var/log/postgresql/postgresql-2026-05-25_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-25 11:09:01 Duration: 16s316ms Database: zemm_monitoring User: monitoring_admin Bind query: yes Log file: /var/log/postgresql/postgresql-2026-05-25_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-25 09:58:01 Duration: 16s288ms Database: zemm_monitoring User: monitoring_admin Bind query: yes Log file: /var/log/postgresql/postgresql-2026-05-25_000000.csv
16 6h9m7s 1,440 1s7ms 16s332ms 15s380ms create index if not exists idx_metrics_timeseries_bucket on observability.metrics_timeseries (bucket_start);Times Reported Time consuming queries #16
Day Hour Count Duration Avg duration May 25 01 60 15m 15s7ms 02 60 14m52s 14s867ms 03 60 16m9s 16s151ms 04 60 16m9s 16s156ms 05 60 16m1s 16s33ms 06 60 16m6s 16s109ms 07 60 16m5s 16s91ms 08 60 16m7s 16s126ms 09 60 16m12s 16s204ms 10 60 16m12s 16s200ms 11 60 16m15s 16s259ms 12 60 16m10s 16s168ms 13 60 16m7s 16s130ms 14 60 16m7s 16s130ms 15 60 16m7s 16s130ms 16 60 16m7s 16s130ms 17 60 16m7s 16s130ms 18 60 16m7s 16s130ms 19 60 16m7s 16s130ms 20 60 16m7s 16s130ms 21 60 12m15s 12s264ms 22 60 12m9s 12s165ms 23 60 12m12s 12s205ms 00 60 12m3s 12s66ms [ User: monitoring_admin - Total duration: 6h9m7s - Times executed: 1436 ]
-
CREATE INDEX IF NOT EXISTS idx_metrics_timeseries_bucket ON observability.metrics_timeseries (bucket_start);
Date: 2026-05-25 10:38:01 Duration: 16s332ms Database: zemm_monitoring User: monitoring_admin Bind query: yes Log file: /var/log/postgresql/postgresql-2026-05-25_000000.csv
-
CREATE INDEX IF NOT EXISTS idx_metrics_timeseries_bucket ON observability.metrics_timeseries (bucket_start);
Date: 2026-05-25 11:09:01 Duration: 16s316ms Database: zemm_monitoring User: monitoring_admin Bind query: yes Log file: /var/log/postgresql/postgresql-2026-05-25_000000.csv
-
CREATE INDEX IF NOT EXISTS idx_metrics_timeseries_bucket ON observability.metrics_timeseries (bucket_start);
Date: 2026-05-25 09:58:01 Duration: 16s288ms Database: zemm_monitoring User: monitoring_admin Bind query: yes Log file: /var/log/postgresql/postgresql-2026-05-25_000000.csv
17 6h9m7s 1,440 1s7ms 16s332ms 15s380ms 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 25 01 60 15m 15s7ms 02 60 14m52s 14s867ms 03 60 16m9s 16s151ms 04 60 16m9s 16s156ms 05 60 16m1s 16s33ms 06 60 16m6s 16s109ms 07 60 16m5s 16s91ms 08 60 16m7s 16s126ms 09 60 16m12s 16s204ms 10 60 16m12s 16s200ms 11 60 16m15s 16s259ms 12 60 16m10s 16s168ms 13 60 16m7s 16s130ms 14 60 16m7s 16s130ms 15 60 16m7s 16s130ms 16 60 16m7s 16s130ms 17 60 16m7s 16s130ms 18 60 16m7s 16s130ms 19 60 16m7s 16s130ms 20 60 16m7s 16s130ms 21 60 12m15s 12s264ms 22 60 12m9s 12s165ms 23 60 12m12s 12s205ms 00 60 12m3s 12s66ms [ User: monitoring_admin - Total duration: 6h9m7s - Times executed: 1436 ]
-
ALTER TABLE observability.uptime_checks ADD COLUMN IF NOT EXISTS label text;
Date: 2026-05-25 10:38:01 Duration: 16s332ms Database: zemm_monitoring User: monitoring_admin Bind query: yes Log file: /var/log/postgresql/postgresql-2026-05-25_000000.csv
-
ALTER TABLE observability.uptime_checks ADD COLUMN IF NOT EXISTS label text;
Date: 2026-05-25 11:09:01 Duration: 16s316ms Database: zemm_monitoring User: monitoring_admin Bind query: yes Log file: /var/log/postgresql/postgresql-2026-05-25_000000.csv
-
ALTER TABLE observability.uptime_checks ADD COLUMN IF NOT EXISTS label text;
Date: 2026-05-25 09:58:01 Duration: 16s288ms Database: zemm_monitoring User: monitoring_admin Bind query: yes Log file: /var/log/postgresql/postgresql-2026-05-25_000000.csv
18 23m42s 94 12s37ms 16s332ms 15s136ms 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 25 01 6 1m36s 16s82ms 02 6 1m36s 16s137ms 03 6 1m36s 16s138ms 04 6 1m36s 16s136ms 05 5 1m20s 16s46ms 06 6 1m36s 16s110ms 07 6 1m36s 16s95ms 08 6 1m36s 16s136ms 09 6 1m37s 16s191ms 10 6 1m37s 16s219ms 11 6 1m37s 16s270ms 12 5 1m20s 16s138ms 21 6 1m13s 12s202ms 22 6 1m12s 12s159ms 23 6 1m13s 12s207ms 00 6 1m13s 12s226ms [ User: monitoring_admin - Total duration: 23m42s - Times executed: 94 ]
-
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-22 10:28:38+02' AND collected_at <= '2026-05-24 10:28:38+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-24 10:28:38+02' AND '2026-05-25 10:28:38+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-24 10:28:38+02' AND '2026-05-25 10:28:38+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-25 10:28:54 Duration: 16s332ms Database: zemm_monitoring User: monitoring_admin Bind query: yes Log file: /var/log/postgresql/postgresql-2026-05-25_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-22 10:58:57+02' AND collected_at <= '2026-05-24 10:58:57+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-24 10:58:57+02' AND '2026-05-25 10:58:57+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-24 10:58:57+02' AND '2026-05-25 10:58:57+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-25 10:59:13 Duration: 16s316ms Database: zemm_monitoring User: monitoring_admin Bind query: yes Log file: /var/log/postgresql/postgresql-2026-05-25_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-22 09:48:00+02' AND collected_at <= '2026-05-24 09:48:00+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-24 09:48:00+02' AND '2026-05-25 09:48:00+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-24 09:48:00+02' AND '2026-05-25 09:48:00+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-25 09:48:17 Duration: 16s288ms Database: zemm_monitoring User: monitoring_admin Bind query: yes Log file: /var/log/postgresql/postgresql-2026-05-25_000000.csv
19 2s7ms 1 2s7ms 2s7ms 2s7ms 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 25 00 1 2s7ms 2s7ms [ User: postgres - Total duration: 2s7ms - Times executed: 1 ]
[ Application: pg_dump - Total duration: 2s7ms - 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-25 23:55:13 Duration: 2s7ms Database: zemm_produktiv_8 User: postgres Remote: [local] Application: pg_dump Bind query: yes Log file: /var/log/postgresql/postgresql-2026-05-25_000000.csv
20 1s370ms 1 1s370ms 1s370ms 1s370ms copy public."targetgroupMembers" (id, targetgroup, "user", "group") to stdout;Times Reported Time consuming queries #20
Day Hour Count Duration Avg duration May 25 00 1 1s370ms 1s370ms [ User: postgres - Total duration: 1s370ms - Times executed: 1 ]
[ Application: pg_dump - Total duration: 1s370ms - Times executed: 1 ]
-
COPY public."targetgroupMembers" (id, targetgroup, "user", "group") TO stdout;
Date: 2026-05-25 23:55:15 Duration: 1s370ms Database: zemm_produktiv_8 User: postgres Remote: [local] Application: pg_dump Bind query: yes Log file: /var/log/postgresql/postgresql-2026-05-25_000000.csv
Most frequent queries (N)
Rank Times executed Total duration Min duration Max duration Avg duration Query 1 1,440 6h9m7s 1s7ms 16s332ms 15s380ms create index if not exists idx_uptime_checks_key on observability.uptime_checks (check_key, checked_at desc);Times Reported Time consuming queries #1
Day Hour Count Duration Avg duration May 25 01 60 15m 15s7ms 02 60 14m52s 14s867ms 03 60 16m9s 16s151ms 04 60 16m9s 16s156ms 05 60 16m1s 16s33ms 06 60 16m6s 16s109ms 07 60 16m5s 16s91ms 08 60 16m7s 16s126ms 09 60 16m12s 16s204ms 10 60 16m12s 16s200ms 11 60 16m15s 16s259ms 12 60 16m10s 16s168ms 13 60 16m7s 16s130ms 14 60 16m7s 16s130ms 15 60 16m7s 16s130ms 16 60 16m7s 16s130ms 17 60 16m7s 16s130ms 18 60 16m7s 16s130ms 19 60 16m7s 16s130ms 20 60 16m7s 16s130ms 21 60 12m15s 12s264ms 22 60 12m9s 12s165ms 23 60 12m12s 12s205ms 00 60 12m3s 12s66ms [ User: monitoring_admin - Total duration: 6h9m7s - Times executed: 1436 ]
-
CREATE INDEX IF NOT EXISTS idx_uptime_checks_key ON observability.uptime_checks (check_key, checked_at DESC);
Date: 2026-05-25 10:38:01 Duration: 16s332ms Database: zemm_monitoring User: monitoring_admin Bind query: yes Log file: /var/log/postgresql/postgresql-2026-05-25_000000.csv
-
CREATE INDEX IF NOT EXISTS idx_uptime_checks_key ON observability.uptime_checks (check_key, checked_at DESC);
Date: 2026-05-25 11:09:01 Duration: 16s316ms Database: zemm_monitoring User: monitoring_admin Bind query: yes Log file: /var/log/postgresql/postgresql-2026-05-25_000000.csv
-
CREATE INDEX IF NOT EXISTS idx_uptime_checks_key ON observability.uptime_checks (check_key, checked_at DESC);
Date: 2026-05-25 09:58:01 Duration: 16s288ms Database: zemm_monitoring User: monitoring_admin Bind query: yes Log file: /var/log/postgresql/postgresql-2026-05-25_000000.csv
2 1,440 6h9m7s 1s7ms 16s332ms 15s380ms create schema if not exists observability;Times Reported Time consuming queries #2
Day Hour Count Duration Avg duration May 25 01 60 15m 15s7ms 02 60 14m52s 14s867ms 03 60 16m9s 16s151ms 04 60 16m9s 16s156ms 05 60 16m1s 16s33ms 06 60 16m6s 16s109ms 07 60 16m5s 16s91ms 08 60 16m7s 16s126ms 09 60 16m12s 16s204ms 10 60 16m12s 16s200ms 11 60 16m15s 16s259ms 12 60 16m10s 16s168ms 13 60 16m7s 16s130ms 14 60 16m7s 16s130ms 15 60 16m7s 16s130ms 16 60 16m7s 16s130ms 17 60 16m7s 16s130ms 18 60 16m7s 16s130ms 19 60 16m7s 16s130ms 20 60 16m7s 16s130ms 21 60 12m15s 12s264ms 22 60 12m9s 12s165ms 23 60 12m12s 12s205ms 00 60 12m3s 12s66ms [ User: monitoring_admin - Total duration: 6h9m7s - Times executed: 1436 ]
-
CREATE SCHEMA IF NOT EXISTS observability;
Date: 2026-05-25 10:38:01 Duration: 16s332ms Database: zemm_monitoring User: monitoring_admin Bind query: yes Log file: /var/log/postgresql/postgresql-2026-05-25_000000.csv
-
CREATE SCHEMA IF NOT EXISTS observability;
Date: 2026-05-25 11:09:01 Duration: 16s316ms Database: zemm_monitoring User: monitoring_admin Bind query: yes Log file: /var/log/postgresql/postgresql-2026-05-25_000000.csv
-
CREATE SCHEMA IF NOT EXISTS observability;
Date: 2026-05-25 09:58:01 Duration: 16s288ms Database: zemm_monitoring User: monitoring_admin Bind query: yes Log file: /var/log/postgresql/postgresql-2026-05-25_000000.csv
3 1,440 6h9m7s 1s7ms 16s332ms 15s380ms 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 #3
Day Hour Count Duration Avg duration May 25 01 60 15m 15s7ms 02 60 14m52s 14s867ms 03 60 16m9s 16s151ms 04 60 16m9s 16s156ms 05 60 16m1s 16s33ms 06 60 16m6s 16s109ms 07 60 16m5s 16s91ms 08 60 16m7s 16s126ms 09 60 16m12s 16s204ms 10 60 16m12s 16s200ms 11 60 16m15s 16s259ms 12 60 16m10s 16s168ms 13 60 16m7s 16s130ms 14 60 16m7s 16s130ms 15 60 16m7s 16s130ms 16 60 16m7s 16s130ms 17 60 16m7s 16s130ms 18 60 16m7s 16s130ms 19 60 16m7s 16s130ms 20 60 16m7s 16s130ms 21 60 12m15s 12s264ms 22 60 12m9s 12s165ms 23 60 12m12s 12s205ms 00 60 12m3s 12s66ms [ User: monitoring_admin - Total duration: 6h9m7s - Times executed: 1436 ]
-
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-25 10:38:01 Duration: 16s332ms Database: zemm_monitoring User: monitoring_admin Bind query: yes Log file: /var/log/postgresql/postgresql-2026-05-25_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-25 11:09:01 Duration: 16s316ms Database: zemm_monitoring User: monitoring_admin Bind query: yes Log file: /var/log/postgresql/postgresql-2026-05-25_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-25 09:58:01 Duration: 16s288ms Database: zemm_monitoring User: monitoring_admin Bind query: yes Log file: /var/log/postgresql/postgresql-2026-05-25_000000.csv
4 1,440 6h9m7s 1s7ms 16s332ms 15s380ms 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 25 01 60 15m 15s7ms 02 60 14m52s 14s867ms 03 60 16m9s 16s151ms 04 60 16m9s 16s156ms 05 60 16m1s 16s33ms 06 60 16m6s 16s109ms 07 60 16m5s 16s91ms 08 60 16m7s 16s126ms 09 60 16m12s 16s204ms 10 60 16m12s 16s200ms 11 60 16m15s 16s259ms 12 60 16m10s 16s168ms 13 60 16m7s 16s130ms 14 60 16m7s 16s130ms 15 60 16m7s 16s130ms 16 60 16m7s 16s130ms 17 60 16m7s 16s130ms 18 60 16m7s 16s130ms 19 60 16m7s 16s130ms 20 60 16m7s 16s130ms 21 60 12m15s 12s264ms 22 60 12m9s 12s165ms 23 60 12m12s 12s205ms 00 60 12m3s 12s66ms [ User: monitoring_admin - Total duration: 6h9m7s - Times executed: 1436 ]
-
CREATE INDEX IF NOT EXISTS idx_app_events_tenant ON observability.app_events (tenant_key, occurred_at DESC);
Date: 2026-05-25 10:38:01 Duration: 16s332ms Database: zemm_monitoring User: monitoring_admin Bind query: yes Log file: /var/log/postgresql/postgresql-2026-05-25_000000.csv
-
CREATE INDEX IF NOT EXISTS idx_app_events_tenant ON observability.app_events (tenant_key, occurred_at DESC);
Date: 2026-05-25 11:09:01 Duration: 16s316ms Database: zemm_monitoring User: monitoring_admin Bind query: yes Log file: /var/log/postgresql/postgresql-2026-05-25_000000.csv
-
CREATE INDEX IF NOT EXISTS idx_app_events_tenant ON observability.app_events (tenant_key, occurred_at DESC);
Date: 2026-05-25 09:58:01 Duration: 16s288ms Database: zemm_monitoring User: monitoring_admin Bind query: yes Log file: /var/log/postgresql/postgresql-2026-05-25_000000.csv
5 1,440 6h9m7s 1s7ms 16s332ms 15s380ms 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 #5
Day Hour Count Duration Avg duration May 25 01 60 15m 15s7ms 02 60 14m52s 14s867ms 03 60 16m9s 16s151ms 04 60 16m9s 16s156ms 05 60 16m1s 16s33ms 06 60 16m6s 16s109ms 07 60 16m5s 16s91ms 08 60 16m7s 16s126ms 09 60 16m12s 16s204ms 10 60 16m12s 16s200ms 11 60 16m15s 16s259ms 12 60 16m10s 16s168ms 13 60 16m7s 16s130ms 14 60 16m7s 16s130ms 15 60 16m7s 16s130ms 16 60 16m7s 16s130ms 17 60 16m7s 16s130ms 18 60 16m7s 16s130ms 19 60 16m7s 16s130ms 20 60 16m7s 16s130ms 21 60 12m15s 12s264ms 22 60 12m9s 12s165ms 23 60 12m12s 12s205ms 00 60 12m3s 12s66ms [ User: monitoring_admin - Total duration: 6h9m7s - Times executed: 1436 ]
-
CREATE INDEX IF NOT EXISTS idx_db_top_queries_tenant ON observability.db_top_queries (tenant_key, collected_at DESC);
Date: 2026-05-25 10:38:01 Duration: 16s332ms Database: zemm_monitoring User: monitoring_admin Bind query: yes Log file: /var/log/postgresql/postgresql-2026-05-25_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-25 11:09:01 Duration: 16s316ms Database: zemm_monitoring User: monitoring_admin Bind query: yes Log file: /var/log/postgresql/postgresql-2026-05-25_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-25 09:58:01 Duration: 16s288ms Database: zemm_monitoring User: monitoring_admin Bind query: yes Log file: /var/log/postgresql/postgresql-2026-05-25_000000.csv
6 1,440 6h9m7s 1s7ms 16s332ms 15s380ms 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 25 01 60 15m 15s7ms 02 60 14m52s 14s867ms 03 60 16m9s 16s151ms 04 60 16m9s 16s156ms 05 60 16m1s 16s33ms 06 60 16m6s 16s109ms 07 60 16m5s 16s91ms 08 60 16m7s 16s126ms 09 60 16m12s 16s204ms 10 60 16m12s 16s200ms 11 60 16m15s 16s259ms 12 60 16m10s 16s168ms 13 60 16m7s 16s130ms 14 60 16m7s 16s130ms 15 60 16m7s 16s130ms 16 60 16m7s 16s130ms 17 60 16m7s 16s130ms 18 60 16m7s 16s130ms 19 60 16m7s 16s130ms 20 60 16m7s 16s130ms 21 60 12m15s 12s264ms 22 60 12m9s 12s165ms 23 60 12m12s 12s205ms 00 60 12m3s 12s66ms [ User: monitoring_admin - Total duration: 6h9m7s - Times executed: 1436 ]
-
CREATE INDEX IF NOT EXISTS idx_uptime_checks_endpoint ON observability.uptime_checks (endpoint, checked_at DESC);
Date: 2026-05-25 10:38:01 Duration: 16s332ms Database: zemm_monitoring User: monitoring_admin Bind query: yes Log file: /var/log/postgresql/postgresql-2026-05-25_000000.csv
-
CREATE INDEX IF NOT EXISTS idx_uptime_checks_endpoint ON observability.uptime_checks (endpoint, checked_at DESC);
Date: 2026-05-25 11:09:01 Duration: 16s316ms Database: zemm_monitoring User: monitoring_admin Bind query: yes Log file: /var/log/postgresql/postgresql-2026-05-25_000000.csv
-
CREATE INDEX IF NOT EXISTS idx_uptime_checks_endpoint ON observability.uptime_checks (endpoint, checked_at DESC);
Date: 2026-05-25 09:58:01 Duration: 16s288ms Database: zemm_monitoring User: monitoring_admin Bind query: yes Log file: /var/log/postgresql/postgresql-2026-05-25_000000.csv
7 1,440 6h9m7s 1s7ms 16s332ms 15s380ms 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 25 01 60 15m 15s7ms 02 60 14m52s 14s867ms 03 60 16m9s 16s151ms 04 60 16m9s 16s156ms 05 60 16m1s 16s33ms 06 60 16m6s 16s109ms 07 60 16m5s 16s91ms 08 60 16m7s 16s126ms 09 60 16m12s 16s204ms 10 60 16m12s 16s200ms 11 60 16m15s 16s259ms 12 60 16m10s 16s168ms 13 60 16m7s 16s130ms 14 60 16m7s 16s130ms 15 60 16m7s 16s130ms 16 60 16m7s 16s130ms 17 60 16m7s 16s130ms 18 60 16m7s 16s130ms 19 60 16m7s 16s130ms 20 60 16m7s 16s130ms 21 60 12m15s 12s264ms 22 60 12m9s 12s165ms 23 60 12m12s 12s205ms 00 60 12m3s 12s66ms [ User: monitoring_admin - Total duration: 6h9m7s - Times executed: 1436 ]
-
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-25 10:38:01 Duration: 16s332ms Database: zemm_monitoring User: monitoring_admin Bind query: yes Log file: /var/log/postgresql/postgresql-2026-05-25_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-25 11:09:01 Duration: 16s316ms Database: zemm_monitoring User: monitoring_admin Bind query: yes Log file: /var/log/postgresql/postgresql-2026-05-25_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-25 09:58:01 Duration: 16s288ms Database: zemm_monitoring User: monitoring_admin Bind query: yes Log file: /var/log/postgresql/postgresql-2026-05-25_000000.csv
8 1,440 6h9m7s 1s7ms 16s332ms 15s380ms 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 25 01 60 15m 15s7ms 02 60 14m52s 14s867ms 03 60 16m9s 16s151ms 04 60 16m9s 16s156ms 05 60 16m1s 16s33ms 06 60 16m6s 16s109ms 07 60 16m5s 16s91ms 08 60 16m7s 16s126ms 09 60 16m12s 16s204ms 10 60 16m12s 16s200ms 11 60 16m15s 16s259ms 12 60 16m10s 16s168ms 13 60 16m7s 16s130ms 14 60 16m7s 16s130ms 15 60 16m7s 16s130ms 16 60 16m7s 16s130ms 17 60 16m7s 16s130ms 18 60 16m7s 16s130ms 19 60 16m7s 16s130ms 20 60 16m7s 16s130ms 21 60 12m15s 12s264ms 22 60 12m9s 12s165ms 23 60 12m12s 12s205ms 00 60 12m3s 12s66ms [ User: monitoring_admin - Total duration: 6h9m7s - Times executed: 1436 ]
-
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-25 10:38:01 Duration: 16s332ms Database: zemm_monitoring User: monitoring_admin Bind query: yes Log file: /var/log/postgresql/postgresql-2026-05-25_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-25 11:09:01 Duration: 16s316ms Database: zemm_monitoring User: monitoring_admin Bind query: yes Log file: /var/log/postgresql/postgresql-2026-05-25_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-25 09:58:01 Duration: 16s288ms Database: zemm_monitoring User: monitoring_admin Bind query: yes Log file: /var/log/postgresql/postgresql-2026-05-25_000000.csv
9 1,440 6h9m7s 1s7ms 16s332ms 15s380ms 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 25 01 60 15m 15s7ms 02 60 14m52s 14s867ms 03 60 16m9s 16s151ms 04 60 16m9s 16s156ms 05 60 16m1s 16s33ms 06 60 16m6s 16s109ms 07 60 16m5s 16s91ms 08 60 16m7s 16s126ms 09 60 16m12s 16s204ms 10 60 16m12s 16s200ms 11 60 16m15s 16s259ms 12 60 16m10s 16s168ms 13 60 16m7s 16s130ms 14 60 16m7s 16s130ms 15 60 16m7s 16s130ms 16 60 16m7s 16s130ms 17 60 16m7s 16s130ms 18 60 16m7s 16s130ms 19 60 16m7s 16s130ms 20 60 16m7s 16s130ms 21 60 12m15s 12s264ms 22 60 12m9s 12s165ms 23 60 12m12s 12s205ms 00 60 12m3s 12s66ms [ User: monitoring_admin - Total duration: 6h9m7s - Times executed: 1436 ]
-
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-25 10:38:01 Duration: 16s332ms Database: zemm_monitoring User: monitoring_admin Bind query: yes Log file: /var/log/postgresql/postgresql-2026-05-25_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-25 11:09:01 Duration: 16s316ms Database: zemm_monitoring User: monitoring_admin Bind query: yes Log file: /var/log/postgresql/postgresql-2026-05-25_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-25 09:58:01 Duration: 16s288ms Database: zemm_monitoring User: monitoring_admin Bind query: yes Log file: /var/log/postgresql/postgresql-2026-05-25_000000.csv
10 1,440 6h9m7s 1s7ms 16s332ms 15s380ms 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 25 01 60 15m 15s7ms 02 60 14m52s 14s867ms 03 60 16m9s 16s151ms 04 60 16m9s 16s156ms 05 60 16m1s 16s33ms 06 60 16m6s 16s109ms 07 60 16m5s 16s91ms 08 60 16m7s 16s126ms 09 60 16m12s 16s204ms 10 60 16m12s 16s200ms 11 60 16m15s 16s259ms 12 60 16m10s 16s168ms 13 60 16m7s 16s130ms 14 60 16m7s 16s130ms 15 60 16m7s 16s130ms 16 60 16m7s 16s130ms 17 60 16m7s 16s130ms 18 60 16m7s 16s130ms 19 60 16m7s 16s130ms 20 60 16m7s 16s130ms 21 60 12m15s 12s264ms 22 60 12m9s 12s165ms 23 60 12m12s 12s205ms 00 60 12m3s 12s66ms [ User: monitoring_admin - Total duration: 6h9m7s - Times executed: 1436 ]
-
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-25 10:38:01 Duration: 16s332ms Database: zemm_monitoring User: monitoring_admin Bind query: yes Log file: /var/log/postgresql/postgresql-2026-05-25_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-25 11:09:01 Duration: 16s316ms Database: zemm_monitoring User: monitoring_admin Bind query: yes Log file: /var/log/postgresql/postgresql-2026-05-25_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-25 09:58:01 Duration: 16s288ms Database: zemm_monitoring User: monitoring_admin Bind query: yes Log file: /var/log/postgresql/postgresql-2026-05-25_000000.csv
11 1,440 6h9m7s 1s7ms 16s332ms 15s380ms alter table observability.uptime_checks add column if not exists payload jsonb;Times Reported Time consuming queries #11
Day Hour Count Duration Avg duration May 25 01 60 15m 15s7ms 02 60 14m52s 14s867ms 03 60 16m9s 16s151ms 04 60 16m9s 16s156ms 05 60 16m1s 16s33ms 06 60 16m6s 16s109ms 07 60 16m5s 16s91ms 08 60 16m7s 16s126ms 09 60 16m12s 16s204ms 10 60 16m12s 16s200ms 11 60 16m15s 16s259ms 12 60 16m10s 16s168ms 13 60 16m7s 16s130ms 14 60 16m7s 16s130ms 15 60 16m7s 16s130ms 16 60 16m7s 16s130ms 17 60 16m7s 16s130ms 18 60 16m7s 16s130ms 19 60 16m7s 16s130ms 20 60 16m7s 16s130ms 21 60 12m15s 12s264ms 22 60 12m9s 12s165ms 23 60 12m12s 12s205ms 00 60 12m3s 12s66ms [ User: monitoring_admin - Total duration: 6h9m7s - Times executed: 1436 ]
-
ALTER TABLE observability.uptime_checks ADD COLUMN IF NOT EXISTS payload jsonb;
Date: 2026-05-25 10:38:01 Duration: 16s332ms Database: zemm_monitoring User: monitoring_admin Bind query: yes Log file: /var/log/postgresql/postgresql-2026-05-25_000000.csv
-
ALTER TABLE observability.uptime_checks ADD COLUMN IF NOT EXISTS payload jsonb;
Date: 2026-05-25 11:09:01 Duration: 16s316ms Database: zemm_monitoring User: monitoring_admin Bind query: yes Log file: /var/log/postgresql/postgresql-2026-05-25_000000.csv
-
ALTER TABLE observability.uptime_checks ADD COLUMN IF NOT EXISTS payload jsonb;
Date: 2026-05-25 09:58:01 Duration: 16s288ms Database: zemm_monitoring User: monitoring_admin Bind query: yes Log file: /var/log/postgresql/postgresql-2026-05-25_000000.csv
12 1,440 6h9m7s 1s7ms 16s332ms 15s380ms 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 25 01 60 15m 15s7ms 02 60 14m52s 14s867ms 03 60 16m9s 16s151ms 04 60 16m9s 16s156ms 05 60 16m1s 16s33ms 06 60 16m6s 16s109ms 07 60 16m5s 16s91ms 08 60 16m7s 16s126ms 09 60 16m12s 16s204ms 10 60 16m12s 16s200ms 11 60 16m15s 16s259ms 12 60 16m10s 16s168ms 13 60 16m7s 16s130ms 14 60 16m7s 16s130ms 15 60 16m7s 16s130ms 16 60 16m7s 16s130ms 17 60 16m7s 16s130ms 18 60 16m7s 16s130ms 19 60 16m7s 16s130ms 20 60 16m7s 16s130ms 21 60 12m15s 12s264ms 22 60 12m9s 12s165ms 23 60 12m12s 12s205ms 00 60 12m3s 12s66ms [ User: monitoring_admin - Total duration: 6h9m7s - Times executed: 1436 ]
-
CREATE INDEX IF NOT EXISTS idx_metrics_timeseries_metric ON observability.metrics_timeseries (metric_name);
Date: 2026-05-25 10:38:01 Duration: 16s332ms Database: zemm_monitoring User: monitoring_admin Bind query: yes Log file: /var/log/postgresql/postgresql-2026-05-25_000000.csv
-
CREATE INDEX IF NOT EXISTS idx_metrics_timeseries_metric ON observability.metrics_timeseries (metric_name);
Date: 2026-05-25 11:09:01 Duration: 16s316ms Database: zemm_monitoring User: monitoring_admin Bind query: yes Log file: /var/log/postgresql/postgresql-2026-05-25_000000.csv
-
CREATE INDEX IF NOT EXISTS idx_metrics_timeseries_metric ON observability.metrics_timeseries (metric_name);
Date: 2026-05-25 09:58:01 Duration: 16s288ms Database: zemm_monitoring User: monitoring_admin Bind query: yes Log file: /var/log/postgresql/postgresql-2026-05-25_000000.csv
13 1,440 6h9m7s 1s7ms 16s332ms 15s380ms create index if not exists idx_app_events_type on observability.app_events (event_type);Times Reported Time consuming queries #13
Day Hour Count Duration Avg duration May 25 01 60 15m 15s7ms 02 60 14m52s 14s867ms 03 60 16m9s 16s151ms 04 60 16m9s 16s156ms 05 60 16m1s 16s33ms 06 60 16m6s 16s109ms 07 60 16m5s 16s91ms 08 60 16m7s 16s126ms 09 60 16m12s 16s204ms 10 60 16m12s 16s200ms 11 60 16m15s 16s259ms 12 60 16m10s 16s168ms 13 60 16m7s 16s130ms 14 60 16m7s 16s130ms 15 60 16m7s 16s130ms 16 60 16m7s 16s130ms 17 60 16m7s 16s130ms 18 60 16m7s 16s130ms 19 60 16m7s 16s130ms 20 60 16m7s 16s130ms 21 60 12m15s 12s264ms 22 60 12m9s 12s165ms 23 60 12m12s 12s205ms 00 60 12m3s 12s66ms [ User: monitoring_admin - Total duration: 6h9m7s - Times executed: 1436 ]
-
CREATE INDEX IF NOT EXISTS idx_app_events_type ON observability.app_events (event_type);
Date: 2026-05-25 10:38:01 Duration: 16s332ms Database: zemm_monitoring User: monitoring_admin Bind query: yes Log file: /var/log/postgresql/postgresql-2026-05-25_000000.csv
-
CREATE INDEX IF NOT EXISTS idx_app_events_type ON observability.app_events (event_type);
Date: 2026-05-25 11:09:01 Duration: 16s316ms Database: zemm_monitoring User: monitoring_admin Bind query: yes Log file: /var/log/postgresql/postgresql-2026-05-25_000000.csv
-
CREATE INDEX IF NOT EXISTS idx_app_events_type ON observability.app_events (event_type);
Date: 2026-05-25 09:58:01 Duration: 16s288ms Database: zemm_monitoring User: monitoring_admin Bind query: yes Log file: /var/log/postgresql/postgresql-2026-05-25_000000.csv
14 1,440 6h9m7s 1s7ms 16s332ms 15s380ms create table if not exists observability.phpfpm_counters ( id bigserial primary key, payload jsonb not null, collected_at timestamptz not null default now() );Times Reported Time consuming queries #14
Day Hour Count Duration Avg duration May 25 01 60 15m 15s7ms 02 60 14m52s 14s867ms 03 60 16m9s 16s151ms 04 60 16m9s 16s156ms 05 60 16m1s 16s33ms 06 60 16m6s 16s109ms 07 60 16m5s 16s91ms 08 60 16m7s 16s126ms 09 60 16m12s 16s204ms 10 60 16m12s 16s200ms 11 60 16m15s 16s259ms 12 60 16m10s 16s168ms 13 60 16m7s 16s130ms 14 60 16m7s 16s130ms 15 60 16m7s 16s130ms 16 60 16m7s 16s130ms 17 60 16m7s 16s130ms 18 60 16m7s 16s130ms 19 60 16m7s 16s130ms 20 60 16m7s 16s130ms 21 60 12m15s 12s264ms 22 60 12m9s 12s165ms 23 60 12m12s 12s205ms 00 60 12m3s 12s66ms [ User: monitoring_admin - Total duration: 6h9m7s - Times executed: 1436 ]
-
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-25 10:38:01 Duration: 16s332ms Database: zemm_monitoring User: monitoring_admin Bind query: yes Log file: /var/log/postgresql/postgresql-2026-05-25_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-25 11:09:01 Duration: 16s316ms Database: zemm_monitoring User: monitoring_admin Bind query: yes Log file: /var/log/postgresql/postgresql-2026-05-25_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-25 09:58:01 Duration: 16s288ms Database: zemm_monitoring User: monitoring_admin Bind query: yes Log file: /var/log/postgresql/postgresql-2026-05-25_000000.csv
15 1,440 6h9m7s 1s7ms 16s332ms 15s380ms create table if not exists observability.nginx_counters ( id bigserial primary key, payload jsonb not null, collected_at timestamptz not null default now() );Times Reported Time consuming queries #15
Day Hour Count Duration Avg duration May 25 01 60 15m 15s7ms 02 60 14m52s 14s867ms 03 60 16m9s 16s151ms 04 60 16m9s 16s156ms 05 60 16m1s 16s33ms 06 60 16m6s 16s109ms 07 60 16m5s 16s91ms 08 60 16m7s 16s126ms 09 60 16m12s 16s204ms 10 60 16m12s 16s200ms 11 60 16m15s 16s259ms 12 60 16m10s 16s168ms 13 60 16m7s 16s130ms 14 60 16m7s 16s130ms 15 60 16m7s 16s130ms 16 60 16m7s 16s130ms 17 60 16m7s 16s130ms 18 60 16m7s 16s130ms 19 60 16m7s 16s130ms 20 60 16m7s 16s130ms 21 60 12m15s 12s264ms 22 60 12m9s 12s165ms 23 60 12m12s 12s205ms 00 60 12m3s 12s66ms [ User: monitoring_admin - Total duration: 6h9m7s - Times executed: 1436 ]
-
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-25 10:38:01 Duration: 16s332ms Database: zemm_monitoring User: monitoring_admin Bind query: yes Log file: /var/log/postgresql/postgresql-2026-05-25_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-25 11:09:01 Duration: 16s316ms Database: zemm_monitoring User: monitoring_admin Bind query: yes Log file: /var/log/postgresql/postgresql-2026-05-25_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-25 09:58:01 Duration: 16s288ms Database: zemm_monitoring User: monitoring_admin Bind query: yes Log file: /var/log/postgresql/postgresql-2026-05-25_000000.csv
16 1,440 6h9m7s 1s7ms 16s332ms 15s380ms create index if not exists idx_metrics_timeseries_bucket on observability.metrics_timeseries (bucket_start);Times Reported Time consuming queries #16
Day Hour Count Duration Avg duration May 25 01 60 15m 15s7ms 02 60 14m52s 14s867ms 03 60 16m9s 16s151ms 04 60 16m9s 16s156ms 05 60 16m1s 16s33ms 06 60 16m6s 16s109ms 07 60 16m5s 16s91ms 08 60 16m7s 16s126ms 09 60 16m12s 16s204ms 10 60 16m12s 16s200ms 11 60 16m15s 16s259ms 12 60 16m10s 16s168ms 13 60 16m7s 16s130ms 14 60 16m7s 16s130ms 15 60 16m7s 16s130ms 16 60 16m7s 16s130ms 17 60 16m7s 16s130ms 18 60 16m7s 16s130ms 19 60 16m7s 16s130ms 20 60 16m7s 16s130ms 21 60 12m15s 12s264ms 22 60 12m9s 12s165ms 23 60 12m12s 12s205ms 00 60 12m3s 12s66ms [ User: monitoring_admin - Total duration: 6h9m7s - Times executed: 1436 ]
-
CREATE INDEX IF NOT EXISTS idx_metrics_timeseries_bucket ON observability.metrics_timeseries (bucket_start);
Date: 2026-05-25 10:38:01 Duration: 16s332ms Database: zemm_monitoring User: monitoring_admin Bind query: yes Log file: /var/log/postgresql/postgresql-2026-05-25_000000.csv
-
CREATE INDEX IF NOT EXISTS idx_metrics_timeseries_bucket ON observability.metrics_timeseries (bucket_start);
Date: 2026-05-25 11:09:01 Duration: 16s316ms Database: zemm_monitoring User: monitoring_admin Bind query: yes Log file: /var/log/postgresql/postgresql-2026-05-25_000000.csv
-
CREATE INDEX IF NOT EXISTS idx_metrics_timeseries_bucket ON observability.metrics_timeseries (bucket_start);
Date: 2026-05-25 09:58:01 Duration: 16s288ms Database: zemm_monitoring User: monitoring_admin Bind query: yes Log file: /var/log/postgresql/postgresql-2026-05-25_000000.csv
17 1,440 6h9m7s 1s7ms 16s332ms 15s380ms 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 25 01 60 15m 15s7ms 02 60 14m52s 14s867ms 03 60 16m9s 16s151ms 04 60 16m9s 16s156ms 05 60 16m1s 16s33ms 06 60 16m6s 16s109ms 07 60 16m5s 16s91ms 08 60 16m7s 16s126ms 09 60 16m12s 16s204ms 10 60 16m12s 16s200ms 11 60 16m15s 16s259ms 12 60 16m10s 16s168ms 13 60 16m7s 16s130ms 14 60 16m7s 16s130ms 15 60 16m7s 16s130ms 16 60 16m7s 16s130ms 17 60 16m7s 16s130ms 18 60 16m7s 16s130ms 19 60 16m7s 16s130ms 20 60 16m7s 16s130ms 21 60 12m15s 12s264ms 22 60 12m9s 12s165ms 23 60 12m12s 12s205ms 00 60 12m3s 12s66ms [ User: monitoring_admin - Total duration: 6h9m7s - Times executed: 1436 ]
-
ALTER TABLE observability.uptime_checks ADD COLUMN IF NOT EXISTS label text;
Date: 2026-05-25 10:38:01 Duration: 16s332ms Database: zemm_monitoring User: monitoring_admin Bind query: yes Log file: /var/log/postgresql/postgresql-2026-05-25_000000.csv
-
ALTER TABLE observability.uptime_checks ADD COLUMN IF NOT EXISTS label text;
Date: 2026-05-25 11:09:01 Duration: 16s316ms Database: zemm_monitoring User: monitoring_admin Bind query: yes Log file: /var/log/postgresql/postgresql-2026-05-25_000000.csv
-
ALTER TABLE observability.uptime_checks ADD COLUMN IF NOT EXISTS label text;
Date: 2026-05-25 09:58:01 Duration: 16s288ms Database: zemm_monitoring User: monitoring_admin Bind query: yes Log file: /var/log/postgresql/postgresql-2026-05-25_000000.csv
18 94 23m42s 12s37ms 16s332ms 15s136ms 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 25 01 6 1m36s 16s82ms 02 6 1m36s 16s137ms 03 6 1m36s 16s138ms 04 6 1m36s 16s136ms 05 5 1m20s 16s46ms 06 6 1m36s 16s110ms 07 6 1m36s 16s95ms 08 6 1m36s 16s136ms 09 6 1m37s 16s191ms 10 6 1m37s 16s219ms 11 6 1m37s 16s270ms 12 5 1m20s 16s138ms 21 6 1m13s 12s202ms 22 6 1m12s 12s159ms 23 6 1m13s 12s207ms 00 6 1m13s 12s226ms [ User: monitoring_admin - Total duration: 23m42s - Times executed: 94 ]
-
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-22 10:28:38+02' AND collected_at <= '2026-05-24 10:28:38+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-24 10:28:38+02' AND '2026-05-25 10:28:38+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-24 10:28:38+02' AND '2026-05-25 10:28:38+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-25 10:28:54 Duration: 16s332ms Database: zemm_monitoring User: monitoring_admin Bind query: yes Log file: /var/log/postgresql/postgresql-2026-05-25_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-22 10:58:57+02' AND collected_at <= '2026-05-24 10:58:57+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-24 10:58:57+02' AND '2026-05-25 10:58:57+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-24 10:58:57+02' AND '2026-05-25 10:58:57+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-25 10:59:13 Duration: 16s316ms Database: zemm_monitoring User: monitoring_admin Bind query: yes Log file: /var/log/postgresql/postgresql-2026-05-25_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-22 09:48:00+02' AND collected_at <= '2026-05-24 09:48:00+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-24 09:48:00+02' AND '2026-05-25 09:48:00+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-24 09:48:00+02' AND '2026-05-25 09:48:00+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-25 09:48:17 Duration: 16s288ms Database: zemm_monitoring User: monitoring_admin Bind query: yes Log file: /var/log/postgresql/postgresql-2026-05-25_000000.csv
19 1 2s7ms 2s7ms 2s7ms 2s7ms 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 25 00 1 2s7ms 2s7ms [ User: postgres - Total duration: 2s7ms - Times executed: 1 ]
[ Application: pg_dump - Total duration: 2s7ms - 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-25 23:55:13 Duration: 2s7ms Database: zemm_produktiv_8 User: postgres Remote: [local] Application: pg_dump Bind query: yes Log file: /var/log/postgresql/postgresql-2026-05-25_000000.csv
20 1 1s370ms 1s370ms 1s370ms 1s370ms copy public."targetgroupMembers" (id, targetgroup, "user", "group") to stdout;Times Reported Time consuming queries #20
Day Hour Count Duration Avg duration May 25 00 1 1s370ms 1s370ms [ User: postgres - Total duration: 1s370ms - Times executed: 1 ]
[ Application: pg_dump - Total duration: 1s370ms - Times executed: 1 ]
-
COPY public."targetgroupMembers" (id, targetgroup, "user", "group") TO stdout;
Date: 2026-05-25 23:55:15 Duration: 1s370ms Database: zemm_produktiv_8 User: postgres Remote: [local] Application: pg_dump Bind query: yes Log file: /var/log/postgresql/postgresql-2026-05-25_000000.csv
Normalized slowest queries (N)
Rank Min duration Max duration Avg duration Times executed Total duration Query 1 1s7ms 16s332ms 15s380ms 1,440 6h9m7s create index if not exists idx_uptime_checks_key on observability.uptime_checks (check_key, checked_at desc);Times Reported Time consuming queries #1
Day Hour Count Duration Avg duration May 25 01 60 15m 15s7ms 02 60 14m52s 14s867ms 03 60 16m9s 16s151ms 04 60 16m9s 16s156ms 05 60 16m1s 16s33ms 06 60 16m6s 16s109ms 07 60 16m5s 16s91ms 08 60 16m7s 16s126ms 09 60 16m12s 16s204ms 10 60 16m12s 16s200ms 11 60 16m15s 16s259ms 12 60 16m10s 16s168ms 13 60 16m7s 16s130ms 14 60 16m7s 16s130ms 15 60 16m7s 16s130ms 16 60 16m7s 16s130ms 17 60 16m7s 16s130ms 18 60 16m7s 16s130ms 19 60 16m7s 16s130ms 20 60 16m7s 16s130ms 21 60 12m15s 12s264ms 22 60 12m9s 12s165ms 23 60 12m12s 12s205ms 00 60 12m3s 12s66ms [ User: monitoring_admin - Total duration: 6h9m7s - Times executed: 1436 ]
-
CREATE INDEX IF NOT EXISTS idx_uptime_checks_key ON observability.uptime_checks (check_key, checked_at DESC);
Date: 2026-05-25 10:38:01 Duration: 16s332ms Database: zemm_monitoring User: monitoring_admin Bind query: yes Log file: /var/log/postgresql/postgresql-2026-05-25_000000.csv
-
CREATE INDEX IF NOT EXISTS idx_uptime_checks_key ON observability.uptime_checks (check_key, checked_at DESC);
Date: 2026-05-25 11:09:01 Duration: 16s316ms Database: zemm_monitoring User: monitoring_admin Bind query: yes Log file: /var/log/postgresql/postgresql-2026-05-25_000000.csv
-
CREATE INDEX IF NOT EXISTS idx_uptime_checks_key ON observability.uptime_checks (check_key, checked_at DESC);
Date: 2026-05-25 09:58:01 Duration: 16s288ms Database: zemm_monitoring User: monitoring_admin Bind query: yes Log file: /var/log/postgresql/postgresql-2026-05-25_000000.csv
2 1s7ms 16s332ms 15s380ms 1,440 6h9m7s create schema if not exists observability;Times Reported Time consuming queries #2
Day Hour Count Duration Avg duration May 25 01 60 15m 15s7ms 02 60 14m52s 14s867ms 03 60 16m9s 16s151ms 04 60 16m9s 16s156ms 05 60 16m1s 16s33ms 06 60 16m6s 16s109ms 07 60 16m5s 16s91ms 08 60 16m7s 16s126ms 09 60 16m12s 16s204ms 10 60 16m12s 16s200ms 11 60 16m15s 16s259ms 12 60 16m10s 16s168ms 13 60 16m7s 16s130ms 14 60 16m7s 16s130ms 15 60 16m7s 16s130ms 16 60 16m7s 16s130ms 17 60 16m7s 16s130ms 18 60 16m7s 16s130ms 19 60 16m7s 16s130ms 20 60 16m7s 16s130ms 21 60 12m15s 12s264ms 22 60 12m9s 12s165ms 23 60 12m12s 12s205ms 00 60 12m3s 12s66ms [ User: monitoring_admin - Total duration: 6h9m7s - Times executed: 1436 ]
-
CREATE SCHEMA IF NOT EXISTS observability;
Date: 2026-05-25 10:38:01 Duration: 16s332ms Database: zemm_monitoring User: monitoring_admin Bind query: yes Log file: /var/log/postgresql/postgresql-2026-05-25_000000.csv
-
CREATE SCHEMA IF NOT EXISTS observability;
Date: 2026-05-25 11:09:01 Duration: 16s316ms Database: zemm_monitoring User: monitoring_admin Bind query: yes Log file: /var/log/postgresql/postgresql-2026-05-25_000000.csv
-
CREATE SCHEMA IF NOT EXISTS observability;
Date: 2026-05-25 09:58:01 Duration: 16s288ms Database: zemm_monitoring User: monitoring_admin Bind query: yes Log file: /var/log/postgresql/postgresql-2026-05-25_000000.csv
3 1s7ms 16s332ms 15s380ms 1,440 6h9m7s 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 #3
Day Hour Count Duration Avg duration May 25 01 60 15m 15s7ms 02 60 14m52s 14s867ms 03 60 16m9s 16s151ms 04 60 16m9s 16s156ms 05 60 16m1s 16s33ms 06 60 16m6s 16s109ms 07 60 16m5s 16s91ms 08 60 16m7s 16s126ms 09 60 16m12s 16s204ms 10 60 16m12s 16s200ms 11 60 16m15s 16s259ms 12 60 16m10s 16s168ms 13 60 16m7s 16s130ms 14 60 16m7s 16s130ms 15 60 16m7s 16s130ms 16 60 16m7s 16s130ms 17 60 16m7s 16s130ms 18 60 16m7s 16s130ms 19 60 16m7s 16s130ms 20 60 16m7s 16s130ms 21 60 12m15s 12s264ms 22 60 12m9s 12s165ms 23 60 12m12s 12s205ms 00 60 12m3s 12s66ms [ User: monitoring_admin - Total duration: 6h9m7s - Times executed: 1436 ]
-
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-25 10:38:01 Duration: 16s332ms Database: zemm_monitoring User: monitoring_admin Bind query: yes Log file: /var/log/postgresql/postgresql-2026-05-25_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-25 11:09:01 Duration: 16s316ms Database: zemm_monitoring User: monitoring_admin Bind query: yes Log file: /var/log/postgresql/postgresql-2026-05-25_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-25 09:58:01 Duration: 16s288ms Database: zemm_monitoring User: monitoring_admin Bind query: yes Log file: /var/log/postgresql/postgresql-2026-05-25_000000.csv
4 1s7ms 16s332ms 15s380ms 1,440 6h9m7s 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 25 01 60 15m 15s7ms 02 60 14m52s 14s867ms 03 60 16m9s 16s151ms 04 60 16m9s 16s156ms 05 60 16m1s 16s33ms 06 60 16m6s 16s109ms 07 60 16m5s 16s91ms 08 60 16m7s 16s126ms 09 60 16m12s 16s204ms 10 60 16m12s 16s200ms 11 60 16m15s 16s259ms 12 60 16m10s 16s168ms 13 60 16m7s 16s130ms 14 60 16m7s 16s130ms 15 60 16m7s 16s130ms 16 60 16m7s 16s130ms 17 60 16m7s 16s130ms 18 60 16m7s 16s130ms 19 60 16m7s 16s130ms 20 60 16m7s 16s130ms 21 60 12m15s 12s264ms 22 60 12m9s 12s165ms 23 60 12m12s 12s205ms 00 60 12m3s 12s66ms [ User: monitoring_admin - Total duration: 6h9m7s - Times executed: 1436 ]
-
CREATE INDEX IF NOT EXISTS idx_app_events_tenant ON observability.app_events (tenant_key, occurred_at DESC);
Date: 2026-05-25 10:38:01 Duration: 16s332ms Database: zemm_monitoring User: monitoring_admin Bind query: yes Log file: /var/log/postgresql/postgresql-2026-05-25_000000.csv
-
CREATE INDEX IF NOT EXISTS idx_app_events_tenant ON observability.app_events (tenant_key, occurred_at DESC);
Date: 2026-05-25 11:09:01 Duration: 16s316ms Database: zemm_monitoring User: monitoring_admin Bind query: yes Log file: /var/log/postgresql/postgresql-2026-05-25_000000.csv
-
CREATE INDEX IF NOT EXISTS idx_app_events_tenant ON observability.app_events (tenant_key, occurred_at DESC);
Date: 2026-05-25 09:58:01 Duration: 16s288ms Database: zemm_monitoring User: monitoring_admin Bind query: yes Log file: /var/log/postgresql/postgresql-2026-05-25_000000.csv
5 1s7ms 16s332ms 15s380ms 1,440 6h9m7s 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 #5
Day Hour Count Duration Avg duration May 25 01 60 15m 15s7ms 02 60 14m52s 14s867ms 03 60 16m9s 16s151ms 04 60 16m9s 16s156ms 05 60 16m1s 16s33ms 06 60 16m6s 16s109ms 07 60 16m5s 16s91ms 08 60 16m7s 16s126ms 09 60 16m12s 16s204ms 10 60 16m12s 16s200ms 11 60 16m15s 16s259ms 12 60 16m10s 16s168ms 13 60 16m7s 16s130ms 14 60 16m7s 16s130ms 15 60 16m7s 16s130ms 16 60 16m7s 16s130ms 17 60 16m7s 16s130ms 18 60 16m7s 16s130ms 19 60 16m7s 16s130ms 20 60 16m7s 16s130ms 21 60 12m15s 12s264ms 22 60 12m9s 12s165ms 23 60 12m12s 12s205ms 00 60 12m3s 12s66ms [ User: monitoring_admin - Total duration: 6h9m7s - Times executed: 1436 ]
-
CREATE INDEX IF NOT EXISTS idx_db_top_queries_tenant ON observability.db_top_queries (tenant_key, collected_at DESC);
Date: 2026-05-25 10:38:01 Duration: 16s332ms Database: zemm_monitoring User: monitoring_admin Bind query: yes Log file: /var/log/postgresql/postgresql-2026-05-25_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-25 11:09:01 Duration: 16s316ms Database: zemm_monitoring User: monitoring_admin Bind query: yes Log file: /var/log/postgresql/postgresql-2026-05-25_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-25 09:58:01 Duration: 16s288ms Database: zemm_monitoring User: monitoring_admin Bind query: yes Log file: /var/log/postgresql/postgresql-2026-05-25_000000.csv
6 1s7ms 16s332ms 15s380ms 1,440 6h9m7s 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 25 01 60 15m 15s7ms 02 60 14m52s 14s867ms 03 60 16m9s 16s151ms 04 60 16m9s 16s156ms 05 60 16m1s 16s33ms 06 60 16m6s 16s109ms 07 60 16m5s 16s91ms 08 60 16m7s 16s126ms 09 60 16m12s 16s204ms 10 60 16m12s 16s200ms 11 60 16m15s 16s259ms 12 60 16m10s 16s168ms 13 60 16m7s 16s130ms 14 60 16m7s 16s130ms 15 60 16m7s 16s130ms 16 60 16m7s 16s130ms 17 60 16m7s 16s130ms 18 60 16m7s 16s130ms 19 60 16m7s 16s130ms 20 60 16m7s 16s130ms 21 60 12m15s 12s264ms 22 60 12m9s 12s165ms 23 60 12m12s 12s205ms 00 60 12m3s 12s66ms [ User: monitoring_admin - Total duration: 6h9m7s - Times executed: 1436 ]
-
CREATE INDEX IF NOT EXISTS idx_uptime_checks_endpoint ON observability.uptime_checks (endpoint, checked_at DESC);
Date: 2026-05-25 10:38:01 Duration: 16s332ms Database: zemm_monitoring User: monitoring_admin Bind query: yes Log file: /var/log/postgresql/postgresql-2026-05-25_000000.csv
-
CREATE INDEX IF NOT EXISTS idx_uptime_checks_endpoint ON observability.uptime_checks (endpoint, checked_at DESC);
Date: 2026-05-25 11:09:01 Duration: 16s316ms Database: zemm_monitoring User: monitoring_admin Bind query: yes Log file: /var/log/postgresql/postgresql-2026-05-25_000000.csv
-
CREATE INDEX IF NOT EXISTS idx_uptime_checks_endpoint ON observability.uptime_checks (endpoint, checked_at DESC);
Date: 2026-05-25 09:58:01 Duration: 16s288ms Database: zemm_monitoring User: monitoring_admin Bind query: yes Log file: /var/log/postgresql/postgresql-2026-05-25_000000.csv
7 1s7ms 16s332ms 15s380ms 1,440 6h9m7s 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 25 01 60 15m 15s7ms 02 60 14m52s 14s867ms 03 60 16m9s 16s151ms 04 60 16m9s 16s156ms 05 60 16m1s 16s33ms 06 60 16m6s 16s109ms 07 60 16m5s 16s91ms 08 60 16m7s 16s126ms 09 60 16m12s 16s204ms 10 60 16m12s 16s200ms 11 60 16m15s 16s259ms 12 60 16m10s 16s168ms 13 60 16m7s 16s130ms 14 60 16m7s 16s130ms 15 60 16m7s 16s130ms 16 60 16m7s 16s130ms 17 60 16m7s 16s130ms 18 60 16m7s 16s130ms 19 60 16m7s 16s130ms 20 60 16m7s 16s130ms 21 60 12m15s 12s264ms 22 60 12m9s 12s165ms 23 60 12m12s 12s205ms 00 60 12m3s 12s66ms [ User: monitoring_admin - Total duration: 6h9m7s - Times executed: 1436 ]
-
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-25 10:38:01 Duration: 16s332ms Database: zemm_monitoring User: monitoring_admin Bind query: yes Log file: /var/log/postgresql/postgresql-2026-05-25_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-25 11:09:01 Duration: 16s316ms Database: zemm_monitoring User: monitoring_admin Bind query: yes Log file: /var/log/postgresql/postgresql-2026-05-25_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-25 09:58:01 Duration: 16s288ms Database: zemm_monitoring User: monitoring_admin Bind query: yes Log file: /var/log/postgresql/postgresql-2026-05-25_000000.csv
8 1s7ms 16s332ms 15s380ms 1,440 6h9m7s 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 25 01 60 15m 15s7ms 02 60 14m52s 14s867ms 03 60 16m9s 16s151ms 04 60 16m9s 16s156ms 05 60 16m1s 16s33ms 06 60 16m6s 16s109ms 07 60 16m5s 16s91ms 08 60 16m7s 16s126ms 09 60 16m12s 16s204ms 10 60 16m12s 16s200ms 11 60 16m15s 16s259ms 12 60 16m10s 16s168ms 13 60 16m7s 16s130ms 14 60 16m7s 16s130ms 15 60 16m7s 16s130ms 16 60 16m7s 16s130ms 17 60 16m7s 16s130ms 18 60 16m7s 16s130ms 19 60 16m7s 16s130ms 20 60 16m7s 16s130ms 21 60 12m15s 12s264ms 22 60 12m9s 12s165ms 23 60 12m12s 12s205ms 00 60 12m3s 12s66ms [ User: monitoring_admin - Total duration: 6h9m7s - Times executed: 1436 ]
-
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-25 10:38:01 Duration: 16s332ms Database: zemm_monitoring User: monitoring_admin Bind query: yes Log file: /var/log/postgresql/postgresql-2026-05-25_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-25 11:09:01 Duration: 16s316ms Database: zemm_monitoring User: monitoring_admin Bind query: yes Log file: /var/log/postgresql/postgresql-2026-05-25_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-25 09:58:01 Duration: 16s288ms Database: zemm_monitoring User: monitoring_admin Bind query: yes Log file: /var/log/postgresql/postgresql-2026-05-25_000000.csv
9 1s7ms 16s332ms 15s380ms 1,440 6h9m7s 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 25 01 60 15m 15s7ms 02 60 14m52s 14s867ms 03 60 16m9s 16s151ms 04 60 16m9s 16s156ms 05 60 16m1s 16s33ms 06 60 16m6s 16s109ms 07 60 16m5s 16s91ms 08 60 16m7s 16s126ms 09 60 16m12s 16s204ms 10 60 16m12s 16s200ms 11 60 16m15s 16s259ms 12 60 16m10s 16s168ms 13 60 16m7s 16s130ms 14 60 16m7s 16s130ms 15 60 16m7s 16s130ms 16 60 16m7s 16s130ms 17 60 16m7s 16s130ms 18 60 16m7s 16s130ms 19 60 16m7s 16s130ms 20 60 16m7s 16s130ms 21 60 12m15s 12s264ms 22 60 12m9s 12s165ms 23 60 12m12s 12s205ms 00 60 12m3s 12s66ms [ User: monitoring_admin - Total duration: 6h9m7s - Times executed: 1436 ]
-
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-25 10:38:01 Duration: 16s332ms Database: zemm_monitoring User: monitoring_admin Bind query: yes Log file: /var/log/postgresql/postgresql-2026-05-25_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-25 11:09:01 Duration: 16s316ms Database: zemm_monitoring User: monitoring_admin Bind query: yes Log file: /var/log/postgresql/postgresql-2026-05-25_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-25 09:58:01 Duration: 16s288ms Database: zemm_monitoring User: monitoring_admin Bind query: yes Log file: /var/log/postgresql/postgresql-2026-05-25_000000.csv
10 1s7ms 16s332ms 15s380ms 1,440 6h9m7s 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 25 01 60 15m 15s7ms 02 60 14m52s 14s867ms 03 60 16m9s 16s151ms 04 60 16m9s 16s156ms 05 60 16m1s 16s33ms 06 60 16m6s 16s109ms 07 60 16m5s 16s91ms 08 60 16m7s 16s126ms 09 60 16m12s 16s204ms 10 60 16m12s 16s200ms 11 60 16m15s 16s259ms 12 60 16m10s 16s168ms 13 60 16m7s 16s130ms 14 60 16m7s 16s130ms 15 60 16m7s 16s130ms 16 60 16m7s 16s130ms 17 60 16m7s 16s130ms 18 60 16m7s 16s130ms 19 60 16m7s 16s130ms 20 60 16m7s 16s130ms 21 60 12m15s 12s264ms 22 60 12m9s 12s165ms 23 60 12m12s 12s205ms 00 60 12m3s 12s66ms [ User: monitoring_admin - Total duration: 6h9m7s - Times executed: 1436 ]
-
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-25 10:38:01 Duration: 16s332ms Database: zemm_monitoring User: monitoring_admin Bind query: yes Log file: /var/log/postgresql/postgresql-2026-05-25_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-25 11:09:01 Duration: 16s316ms Database: zemm_monitoring User: monitoring_admin Bind query: yes Log file: /var/log/postgresql/postgresql-2026-05-25_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-25 09:58:01 Duration: 16s288ms Database: zemm_monitoring User: monitoring_admin Bind query: yes Log file: /var/log/postgresql/postgresql-2026-05-25_000000.csv
11 1s7ms 16s332ms 15s380ms 1,440 6h9m7s alter table observability.uptime_checks add column if not exists payload jsonb;Times Reported Time consuming queries #11
Day Hour Count Duration Avg duration May 25 01 60 15m 15s7ms 02 60 14m52s 14s867ms 03 60 16m9s 16s151ms 04 60 16m9s 16s156ms 05 60 16m1s 16s33ms 06 60 16m6s 16s109ms 07 60 16m5s 16s91ms 08 60 16m7s 16s126ms 09 60 16m12s 16s204ms 10 60 16m12s 16s200ms 11 60 16m15s 16s259ms 12 60 16m10s 16s168ms 13 60 16m7s 16s130ms 14 60 16m7s 16s130ms 15 60 16m7s 16s130ms 16 60 16m7s 16s130ms 17 60 16m7s 16s130ms 18 60 16m7s 16s130ms 19 60 16m7s 16s130ms 20 60 16m7s 16s130ms 21 60 12m15s 12s264ms 22 60 12m9s 12s165ms 23 60 12m12s 12s205ms 00 60 12m3s 12s66ms [ User: monitoring_admin - Total duration: 6h9m7s - Times executed: 1436 ]
-
ALTER TABLE observability.uptime_checks ADD COLUMN IF NOT EXISTS payload jsonb;
Date: 2026-05-25 10:38:01 Duration: 16s332ms Database: zemm_monitoring User: monitoring_admin Bind query: yes Log file: /var/log/postgresql/postgresql-2026-05-25_000000.csv
-
ALTER TABLE observability.uptime_checks ADD COLUMN IF NOT EXISTS payload jsonb;
Date: 2026-05-25 11:09:01 Duration: 16s316ms Database: zemm_monitoring User: monitoring_admin Bind query: yes Log file: /var/log/postgresql/postgresql-2026-05-25_000000.csv
-
ALTER TABLE observability.uptime_checks ADD COLUMN IF NOT EXISTS payload jsonb;
Date: 2026-05-25 09:58:01 Duration: 16s288ms Database: zemm_monitoring User: monitoring_admin Bind query: yes Log file: /var/log/postgresql/postgresql-2026-05-25_000000.csv
12 1s7ms 16s332ms 15s380ms 1,440 6h9m7s 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 25 01 60 15m 15s7ms 02 60 14m52s 14s867ms 03 60 16m9s 16s151ms 04 60 16m9s 16s156ms 05 60 16m1s 16s33ms 06 60 16m6s 16s109ms 07 60 16m5s 16s91ms 08 60 16m7s 16s126ms 09 60 16m12s 16s204ms 10 60 16m12s 16s200ms 11 60 16m15s 16s259ms 12 60 16m10s 16s168ms 13 60 16m7s 16s130ms 14 60 16m7s 16s130ms 15 60 16m7s 16s130ms 16 60 16m7s 16s130ms 17 60 16m7s 16s130ms 18 60 16m7s 16s130ms 19 60 16m7s 16s130ms 20 60 16m7s 16s130ms 21 60 12m15s 12s264ms 22 60 12m9s 12s165ms 23 60 12m12s 12s205ms 00 60 12m3s 12s66ms [ User: monitoring_admin - Total duration: 6h9m7s - Times executed: 1436 ]
-
CREATE INDEX IF NOT EXISTS idx_metrics_timeseries_metric ON observability.metrics_timeseries (metric_name);
Date: 2026-05-25 10:38:01 Duration: 16s332ms Database: zemm_monitoring User: monitoring_admin Bind query: yes Log file: /var/log/postgresql/postgresql-2026-05-25_000000.csv
-
CREATE INDEX IF NOT EXISTS idx_metrics_timeseries_metric ON observability.metrics_timeseries (metric_name);
Date: 2026-05-25 11:09:01 Duration: 16s316ms Database: zemm_monitoring User: monitoring_admin Bind query: yes Log file: /var/log/postgresql/postgresql-2026-05-25_000000.csv
-
CREATE INDEX IF NOT EXISTS idx_metrics_timeseries_metric ON observability.metrics_timeseries (metric_name);
Date: 2026-05-25 09:58:01 Duration: 16s288ms Database: zemm_monitoring User: monitoring_admin Bind query: yes Log file: /var/log/postgresql/postgresql-2026-05-25_000000.csv
13 1s7ms 16s332ms 15s380ms 1,440 6h9m7s create index if not exists idx_app_events_type on observability.app_events (event_type);Times Reported Time consuming queries #13
Day Hour Count Duration Avg duration May 25 01 60 15m 15s7ms 02 60 14m52s 14s867ms 03 60 16m9s 16s151ms 04 60 16m9s 16s156ms 05 60 16m1s 16s33ms 06 60 16m6s 16s109ms 07 60 16m5s 16s91ms 08 60 16m7s 16s126ms 09 60 16m12s 16s204ms 10 60 16m12s 16s200ms 11 60 16m15s 16s259ms 12 60 16m10s 16s168ms 13 60 16m7s 16s130ms 14 60 16m7s 16s130ms 15 60 16m7s 16s130ms 16 60 16m7s 16s130ms 17 60 16m7s 16s130ms 18 60 16m7s 16s130ms 19 60 16m7s 16s130ms 20 60 16m7s 16s130ms 21 60 12m15s 12s264ms 22 60 12m9s 12s165ms 23 60 12m12s 12s205ms 00 60 12m3s 12s66ms [ User: monitoring_admin - Total duration: 6h9m7s - Times executed: 1436 ]
-
CREATE INDEX IF NOT EXISTS idx_app_events_type ON observability.app_events (event_type);
Date: 2026-05-25 10:38:01 Duration: 16s332ms Database: zemm_monitoring User: monitoring_admin Bind query: yes Log file: /var/log/postgresql/postgresql-2026-05-25_000000.csv
-
CREATE INDEX IF NOT EXISTS idx_app_events_type ON observability.app_events (event_type);
Date: 2026-05-25 11:09:01 Duration: 16s316ms Database: zemm_monitoring User: monitoring_admin Bind query: yes Log file: /var/log/postgresql/postgresql-2026-05-25_000000.csv
-
CREATE INDEX IF NOT EXISTS idx_app_events_type ON observability.app_events (event_type);
Date: 2026-05-25 09:58:01 Duration: 16s288ms Database: zemm_monitoring User: monitoring_admin Bind query: yes Log file: /var/log/postgresql/postgresql-2026-05-25_000000.csv
14 1s7ms 16s332ms 15s380ms 1,440 6h9m7s create table if not exists observability.phpfpm_counters ( id bigserial primary key, payload jsonb not null, collected_at timestamptz not null default now() );Times Reported Time consuming queries #14
Day Hour Count Duration Avg duration May 25 01 60 15m 15s7ms 02 60 14m52s 14s867ms 03 60 16m9s 16s151ms 04 60 16m9s 16s156ms 05 60 16m1s 16s33ms 06 60 16m6s 16s109ms 07 60 16m5s 16s91ms 08 60 16m7s 16s126ms 09 60 16m12s 16s204ms 10 60 16m12s 16s200ms 11 60 16m15s 16s259ms 12 60 16m10s 16s168ms 13 60 16m7s 16s130ms 14 60 16m7s 16s130ms 15 60 16m7s 16s130ms 16 60 16m7s 16s130ms 17 60 16m7s 16s130ms 18 60 16m7s 16s130ms 19 60 16m7s 16s130ms 20 60 16m7s 16s130ms 21 60 12m15s 12s264ms 22 60 12m9s 12s165ms 23 60 12m12s 12s205ms 00 60 12m3s 12s66ms [ User: monitoring_admin - Total duration: 6h9m7s - Times executed: 1436 ]
-
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-25 10:38:01 Duration: 16s332ms Database: zemm_monitoring User: monitoring_admin Bind query: yes Log file: /var/log/postgresql/postgresql-2026-05-25_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-25 11:09:01 Duration: 16s316ms Database: zemm_monitoring User: monitoring_admin Bind query: yes Log file: /var/log/postgresql/postgresql-2026-05-25_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-25 09:58:01 Duration: 16s288ms Database: zemm_monitoring User: monitoring_admin Bind query: yes Log file: /var/log/postgresql/postgresql-2026-05-25_000000.csv
15 1s7ms 16s332ms 15s380ms 1,440 6h9m7s create table if not exists observability.nginx_counters ( id bigserial primary key, payload jsonb not null, collected_at timestamptz not null default now() );Times Reported Time consuming queries #15
Day Hour Count Duration Avg duration May 25 01 60 15m 15s7ms 02 60 14m52s 14s867ms 03 60 16m9s 16s151ms 04 60 16m9s 16s156ms 05 60 16m1s 16s33ms 06 60 16m6s 16s109ms 07 60 16m5s 16s91ms 08 60 16m7s 16s126ms 09 60 16m12s 16s204ms 10 60 16m12s 16s200ms 11 60 16m15s 16s259ms 12 60 16m10s 16s168ms 13 60 16m7s 16s130ms 14 60 16m7s 16s130ms 15 60 16m7s 16s130ms 16 60 16m7s 16s130ms 17 60 16m7s 16s130ms 18 60 16m7s 16s130ms 19 60 16m7s 16s130ms 20 60 16m7s 16s130ms 21 60 12m15s 12s264ms 22 60 12m9s 12s165ms 23 60 12m12s 12s205ms 00 60 12m3s 12s66ms [ User: monitoring_admin - Total duration: 6h9m7s - Times executed: 1436 ]
-
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-25 10:38:01 Duration: 16s332ms Database: zemm_monitoring User: monitoring_admin Bind query: yes Log file: /var/log/postgresql/postgresql-2026-05-25_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-25 11:09:01 Duration: 16s316ms Database: zemm_monitoring User: monitoring_admin Bind query: yes Log file: /var/log/postgresql/postgresql-2026-05-25_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-25 09:58:01 Duration: 16s288ms Database: zemm_monitoring User: monitoring_admin Bind query: yes Log file: /var/log/postgresql/postgresql-2026-05-25_000000.csv
16 1s7ms 16s332ms 15s380ms 1,440 6h9m7s create index if not exists idx_metrics_timeseries_bucket on observability.metrics_timeseries (bucket_start);Times Reported Time consuming queries #16
Day Hour Count Duration Avg duration May 25 01 60 15m 15s7ms 02 60 14m52s 14s867ms 03 60 16m9s 16s151ms 04 60 16m9s 16s156ms 05 60 16m1s 16s33ms 06 60 16m6s 16s109ms 07 60 16m5s 16s91ms 08 60 16m7s 16s126ms 09 60 16m12s 16s204ms 10 60 16m12s 16s200ms 11 60 16m15s 16s259ms 12 60 16m10s 16s168ms 13 60 16m7s 16s130ms 14 60 16m7s 16s130ms 15 60 16m7s 16s130ms 16 60 16m7s 16s130ms 17 60 16m7s 16s130ms 18 60 16m7s 16s130ms 19 60 16m7s 16s130ms 20 60 16m7s 16s130ms 21 60 12m15s 12s264ms 22 60 12m9s 12s165ms 23 60 12m12s 12s205ms 00 60 12m3s 12s66ms [ User: monitoring_admin - Total duration: 6h9m7s - Times executed: 1436 ]
-
CREATE INDEX IF NOT EXISTS idx_metrics_timeseries_bucket ON observability.metrics_timeseries (bucket_start);
Date: 2026-05-25 10:38:01 Duration: 16s332ms Database: zemm_monitoring User: monitoring_admin Bind query: yes Log file: /var/log/postgresql/postgresql-2026-05-25_000000.csv
-
CREATE INDEX IF NOT EXISTS idx_metrics_timeseries_bucket ON observability.metrics_timeseries (bucket_start);
Date: 2026-05-25 11:09:01 Duration: 16s316ms Database: zemm_monitoring User: monitoring_admin Bind query: yes Log file: /var/log/postgresql/postgresql-2026-05-25_000000.csv
-
CREATE INDEX IF NOT EXISTS idx_metrics_timeseries_bucket ON observability.metrics_timeseries (bucket_start);
Date: 2026-05-25 09:58:01 Duration: 16s288ms Database: zemm_monitoring User: monitoring_admin Bind query: yes Log file: /var/log/postgresql/postgresql-2026-05-25_000000.csv
17 1s7ms 16s332ms 15s380ms 1,440 6h9m7s 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 25 01 60 15m 15s7ms 02 60 14m52s 14s867ms 03 60 16m9s 16s151ms 04 60 16m9s 16s156ms 05 60 16m1s 16s33ms 06 60 16m6s 16s109ms 07 60 16m5s 16s91ms 08 60 16m7s 16s126ms 09 60 16m12s 16s204ms 10 60 16m12s 16s200ms 11 60 16m15s 16s259ms 12 60 16m10s 16s168ms 13 60 16m7s 16s130ms 14 60 16m7s 16s130ms 15 60 16m7s 16s130ms 16 60 16m7s 16s130ms 17 60 16m7s 16s130ms 18 60 16m7s 16s130ms 19 60 16m7s 16s130ms 20 60 16m7s 16s130ms 21 60 12m15s 12s264ms 22 60 12m9s 12s165ms 23 60 12m12s 12s205ms 00 60 12m3s 12s66ms [ User: monitoring_admin - Total duration: 6h9m7s - Times executed: 1436 ]
-
ALTER TABLE observability.uptime_checks ADD COLUMN IF NOT EXISTS label text;
Date: 2026-05-25 10:38:01 Duration: 16s332ms Database: zemm_monitoring User: monitoring_admin Bind query: yes Log file: /var/log/postgresql/postgresql-2026-05-25_000000.csv
-
ALTER TABLE observability.uptime_checks ADD COLUMN IF NOT EXISTS label text;
Date: 2026-05-25 11:09:01 Duration: 16s316ms Database: zemm_monitoring User: monitoring_admin Bind query: yes Log file: /var/log/postgresql/postgresql-2026-05-25_000000.csv
-
ALTER TABLE observability.uptime_checks ADD COLUMN IF NOT EXISTS label text;
Date: 2026-05-25 09:58:01 Duration: 16s288ms Database: zemm_monitoring User: monitoring_admin Bind query: yes Log file: /var/log/postgresql/postgresql-2026-05-25_000000.csv
18 12s37ms 16s332ms 15s136ms 94 23m42s 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 25 01 6 1m36s 16s82ms 02 6 1m36s 16s137ms 03 6 1m36s 16s138ms 04 6 1m36s 16s136ms 05 5 1m20s 16s46ms 06 6 1m36s 16s110ms 07 6 1m36s 16s95ms 08 6 1m36s 16s136ms 09 6 1m37s 16s191ms 10 6 1m37s 16s219ms 11 6 1m37s 16s270ms 12 5 1m20s 16s138ms 21 6 1m13s 12s202ms 22 6 1m12s 12s159ms 23 6 1m13s 12s207ms 00 6 1m13s 12s226ms [ User: monitoring_admin - Total duration: 23m42s - Times executed: 94 ]
-
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-22 10:28:38+02' AND collected_at <= '2026-05-24 10:28:38+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-24 10:28:38+02' AND '2026-05-25 10:28:38+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-24 10:28:38+02' AND '2026-05-25 10:28:38+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-25 10:28:54 Duration: 16s332ms Database: zemm_monitoring User: monitoring_admin Bind query: yes Log file: /var/log/postgresql/postgresql-2026-05-25_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-22 10:58:57+02' AND collected_at <= '2026-05-24 10:58:57+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-24 10:58:57+02' AND '2026-05-25 10:58:57+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-24 10:58:57+02' AND '2026-05-25 10:58:57+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-25 10:59:13 Duration: 16s316ms Database: zemm_monitoring User: monitoring_admin Bind query: yes Log file: /var/log/postgresql/postgresql-2026-05-25_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-22 09:48:00+02' AND collected_at <= '2026-05-24 09:48:00+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-24 09:48:00+02' AND '2026-05-25 09:48:00+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-24 09:48:00+02' AND '2026-05-25 09:48:00+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-25 09:48:17 Duration: 16s288ms Database: zemm_monitoring User: monitoring_admin Bind query: yes Log file: /var/log/postgresql/postgresql-2026-05-25_000000.csv
19 2s7ms 2s7ms 2s7ms 1 2s7ms 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 25 00 1 2s7ms 2s7ms [ User: postgres - Total duration: 2s7ms - Times executed: 1 ]
[ Application: pg_dump - Total duration: 2s7ms - 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-25 23:55:13 Duration: 2s7ms Database: zemm_produktiv_8 User: postgres Remote: [local] Application: pg_dump Bind query: yes Log file: /var/log/postgresql/postgresql-2026-05-25_000000.csv
20 1s370ms 1s370ms 1s370ms 1 1s370ms copy public."targetgroupMembers" (id, targetgroup, "user", "group") to stdout;Times Reported Time consuming queries #20
Day Hour Count Duration Avg duration May 25 00 1 1s370ms 1s370ms [ User: postgres - Total duration: 1s370ms - Times executed: 1 ]
[ Application: pg_dump - Total duration: 1s370ms - Times executed: 1 ]
-
COPY public."targetgroupMembers" (id, targetgroup, "user", "group") TO stdout;
Date: 2026-05-25 23:55:15 Duration: 1s370ms Database: zemm_produktiv_8 User: postgres Remote: [local] Application: pg_dump Bind query: yes Log file: /var/log/postgresql/postgresql-2026-05-25_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
- 100,175 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