-
Global information
- Generated on Mon Jun 15 06:04:43 2026
- Log file: /var/log/postgresql/postgresql-2026-05-13_000000.csv, ..., /var/log/postgresql/postgresql-2026-06-15_000000.csv
- Parsed 184,260 log entries in 4m42s
- Log start from 2026-05-14 00:00:01 to 2026-05-14 23:59:45
-
Overview
Global Stats
- 26 Number of unique normalized queries
- 24,501 Number of queries
- 6h18m57s Total query duration
- 2026-05-14 00:00:01 First query
- 2026-05-14 23:59:01 Last query
- 17 queries/s at 2026-05-14 08:02:01 Query peak
- 6h18m57s Total query duration
- 0ms Prepare/parse total duration
- 0ms Bind total duration
- 6h18m57s Execute total duration
- 1 Number of events
- 1 Number of unique normalized events
- 1 Max number of times the same event was reported
- 0 Number of cancellation
- 26 Total number of automatic vacuums
- 35 Total number of automatic analyzes
- 0 Number temporary file
- 0 Max size of temporary file
- 0.00 B Average size of temporary file
- 13,685 Total number of sessions
- 2 sessions at 2026-05-14 14:09:35 Session peak
- 53m47s Total duration of sessions
- 235ms Average duration of sessions
- 1 Average queries per session
- 1s661ms Average queries duration per session
- 0ms Average idle time per session
- 13,685 Total number of connections
- 8 connections/s at 2026-05-14 20:00:02 Connection peak
- 2 Total number of databases
SQL Traffic
Key values
- 17 queries/s Query Peak
- 2026-05-14 08:02:01 Date
SELECT Traffic
Key values
- 2 queries/s Query Peak
- 2026-05-14 14:18:20 Date
INSERT/UPDATE/DELETE Traffic
Key values
- 17 queries/s Query Peak
- 2026-05-14 08:02:01 Date
Queries duration
Key values
- 6h18m57s 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 14 00 1,020 0ms 0ms 0ms 0ms 0ms 0ms 01 1,021 0ms 682ms 330ms 11s610ms 11s610ms 11s610ms 02 1,020 682ms 682ms 682ms 11s610ms 11s610ms 11s610ms 03 1,020 682ms 682ms 682ms 11s610ms 11s610ms 11s610ms 04 1,020 682ms 682ms 682ms 11s610ms 11s610ms 11s610ms 05 1,020 682ms 682ms 682ms 11s610ms 11s610ms 11s610ms 06 1,020 682ms 682ms 682ms 11s610ms 11s610ms 11s610ms 07 1,020 682ms 682ms 682ms 11s610ms 11s610ms 11s610ms 08 1,020 682ms 682ms 682ms 11s610ms 11s610ms 11s610ms 09 1,020 682ms 682ms 682ms 11s610ms 11s610ms 11s610ms 10 1,020 682ms 682ms 682ms 11s610ms 11s610ms 11s610ms 11 1,020 682ms 682ms 682ms 11s610ms 11s610ms 11s610ms 12 1,020 682ms 682ms 682ms 11s610ms 11s610ms 11s610ms 13 1,022 682ms 825ms 701ms 12s380ms 12s380ms 13s163ms 14 1,032 720ms 816ms 726ms 12s465ms 15s331ms 15s532ms 15 1,021 724ms 1s517ms 870ms 25s798ms 25s798ms 25s798ms 16 1,020 1s517ms 1s517ms 1s517ms 25s798ms 25s798ms 25s798ms 17 1,020 1s517ms 1s517ms 1s517ms 25s798ms 25s798ms 25s798ms 18 1,020 1s517ms 1s517ms 1s517ms 25s798ms 25s798ms 25s798ms 19 1,020 1s517ms 1s517ms 1s517ms 25s798ms 25s798ms 25s798ms 20 1,020 1s517ms 1s517ms 1s517ms 25s798ms 25s798ms 25s798ms 21 1,020 1s517ms 1s517ms 1s517ms 25s798ms 25s798ms 25s798ms 22 1,020 1s517ms 1s517ms 1s517ms 25s798ms 25s798ms 25s798ms 23 1,025 560ms 2s21ms 1s508ms 25s798ms 25s798ms 32s370ms Day Hour SELECT COPY TO Average Duration Latency Percentile(90) Latency Percentile(95) Latency Percentile(99) May 14 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 2 0 776ms 0ms 0ms 0ms 14 12 0 769ms 0ms 0ms 3s77ms 15 1 0 1s517ms 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 1s314ms 0ms 0ms 0ms Day Hour INSERT UPDATE DELETE COPY FROM Average Duration Latency Percentile(90) Latency Percentile(95) Latency Percentile(99) May 14 00 0 0 0 0 0ms 0ms 0ms 0ms 01 0 1 0 0 682ms 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 14 00 0 0 0.00 0.00% 01 0 0 0.00 0.00% 02 0 0 0.00 0.00% 03 0 0 0.00 0.00% 04 0 0 0.00 0.00% 05 0 0 0.00 0.00% 06 0 0 0.00 0.00% 07 0 0 0.00 0.00% 08 0 0 0.00 0.00% 09 0 0 0.00 0.00% 10 0 0 0.00 0.00% 11 0 0 0.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 0 0.00 0.00% 21 0 0 0.00 0.00% 22 0 0 0.00 0.00% 23 0 0 0.00 0.00% Day Hour Count Average / Second May 14 00 550 0.15/s 01 552 0.15/s 02 543 0.15/s 03 546 0.15/s 04 546 0.15/s 05 547 0.15/s 06 558 0.15/s 07 549 0.15/s 08 549 0.15/s 09 584 0.16/s 10 558 0.15/s 11 579 0.16/s 12 543 0.15/s 13 634 0.18/s 14 824 0.23/s 15 610 0.17/s 16 558 0.15/s 17 543 0.15/s 18 549 0.15/s 19 546 0.15/s 20 546 0.15/s 21 543 0.15/s 22 543 0.15/s 23 585 0.16/s Day Hour Count Average Duration Average idle time May 14 00 550 236ms 236ms 01 552 238ms 0ms 02 543 240ms 0ms 03 546 238ms 0ms 04 546 238ms 0ms 05 547 238ms 0ms 06 558 235ms 0ms 07 549 237ms 0ms 08 549 238ms 0ms 09 584 246ms 0ms 10 558 233ms 0ms 11 579 235ms 0ms 12 543 243ms 0ms 13 634 225ms 0ms 14 824 210ms 0ms 15 610 226ms 0ms 16 558 232ms 0ms 17 543 238ms 0ms 18 549 235ms 0ms 19 546 236ms 0ms 20 546 236ms 0ms 21 543 237ms 0ms 22 543 238ms 0ms 23 585 252ms 0ms -
Connections
Established Connections
Key values
- 8 connections Connection Peak
- 2026-05-14 20:00:02 Date
Connections per database
Key values
- zemm_monitoring Main Database
- 13,685 connections Total
Connections per user
Key values
- labanimal Main User
- 13,685 connections Total
-
Sessions
Simultaneous sessions
Key values
- 2 sessions Session Peak
- 2026-05-14 14:09:35 Date
Histogram of session times
Key values
- 12,191 0-500ms duration
Sessions per database
Key values
- zemm_monitoring Main Database
- 13,685 sessions Total
Sessions per user
Key values
- labanimal Main User
- 13,685 sessions Total
Sessions per host
Key values
- ::1 Main Host
- 13,685 sessions Total
Sessions per application
Key values
- Main Application
- 13,685 sessions Total
Application Count Total Duration Average Duration 12,014 52m6s 260ms _desktop__zemm_produktiv_8_localhost_5432 1 55ms 55ms _desktop_index.php_command_login_subcommand_init_zemm_dev_local 7 229ms 32ms _desktop_index.php_command_login_subcommand_init_zemm_produktiv 1,469 43s440ms 29ms _desktop_index.php_command_login_subcommand_init_zemm_test_loca 7 214ms 30ms _desktop_index.php_command_tasks_subcommand_open_legacy_1_id_10 3 290ms 96ms _desktop_index.php_m_action_cages_3Am_delete_command_tasks_subc 3 141ms 47ms _desktop_index.php_search_name_Tiertransport_20durch_20das_20ZE 1 162ms 162ms _desktop_index.php_zemm_produktiv_8_localhost_5432 152 42s55ms 276ms backend:zemm_produktiv_8@localhost 1 26ms 26ms bounces:zemm_produktiv_8@h2940066.stratoserver.net:5432 1 62ms 62ms expire_tasks:zemm_produktiv_8@h2940066.stratoserver.net:5432 1 706ms 706ms pg_dump 1 11s454ms 11s454ms taskscron:zemm_produktiv_8@h2940066.stratoserver.net:5432 24 2s156ms 89ms -
Checkpoints / Restartpoints
Checkpoints Buffers
Key values
- 19,342 buffers Checkpoint Peak
- 2026-05-14 01:37:55 Date
- 269.478 seconds Highest write time
- 0.019 seconds Sync time
Checkpoints Wal files
Key values
- 5 files Wal files usage Peak
- 2026-05-14 01:37:55 Date
Checkpoints distance
Key values
- 169.00 Mo Distance Peak
- 2026-05-14 01:37:55 Date
Checkpoints Activity
↑ Back to the top of the Checkpoint Activity tableDay Hour Written buffers Write time Sync time Total time May 14 00 7,000 700.908s 0.083s 701.052s 01 25,658 902.264s 0.092s 902.422s 02 7,430 743.914s 0.089s 744.076s 03 5,863 586.793s 0.081s 586.925s 04 7,220 722.469s 0.091s 722.623s 05 7,016 702.209s 0.085s 702.358s 06 7,141 714.755s 0.087s 714.902s 07 6,877 688.107s 0.086s 688.253s 08 6,818 682.324s 0.092s 682.477s 09 7,369 737.6s 0.096s 737.755s 10 6,847 685.512s 0.089s 685.662s 11 7,083 709.129s 0.099s 709.289s 12 6,167 617.667s 0.087s 617.813s 13 7,108 711.162s 0.105s 711.323s 14 8,766 877.029s 0.138s 877.215s 15 7,873 788.103s 0.105s 788.267s 16 5,940 594.719s 0.082s 594.856s 17 7,324 733.382s 0.1s 733.546s 18 6,734 673.79s 0.086s 673.931s 19 6,986 699.316s 0.086s 699.464s 20 6,933 693.7s 0.084s 693.838s 21 6,488 649.422s 0.085s 649.573s 22 7,065 707.238s 0.092s 707.386s 23 7,272 727.787s 0.102s 727.946s Day Hour Added Removed Recycled Synced files Longest sync Average sync May 14 00 0 0 1 442 0.001s 0.012s 01 0 0 7 479 0.002s 0.012s 02 0 0 1 455 0.002s 0.012s 03 0 0 1 408 0.002s 0.011s 04 0 0 2 489 0.001s 0.013s 05 0 0 1 441 0.001s 0.012s 06 0 0 2 448 0.001s 0.012s 07 0 0 1 452 0.001s 0.012s 08 0 0 2 456 0.004s 0.012s 09 0 0 1 515 0.002s 0.012s 10 0 0 2 460 0.002s 0.012s 11 0 0 1 526 0.003s 0.012s 12 0 0 2 457 0.001s 0.012s 13 0 0 1 573 0.002s 0.012s 14 0 0 2 767 0.005s 0.011s 15 0 0 1 561 0.001s 0.013s 16 0 0 2 424 0.002s 0.011s 17 0 0 1 491 0.001s 0.013s 18 0 0 2 451 0.001s 0.012s 19 0 0 1 450 0.002s 0.012s 20 0 0 1 447 0.001s 0.012s 21 0 0 2 455 0.001s 0.012s 22 0 0 1 465 0.002s 0.012s 23 0 0 2 552 0.001s 0.012s Day Hour Count Avg time (sec) May 14 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 14 00 1,972.58 kB 3,894.92 kB 01 8,989.33 kB 35,456.42 kB 02 2,058.25 kB 28,856.75 kB 03 1,881.91 kB 9,834.09 kB 04 1,872.69 kB 4,211.31 kB 05 1,939.75 kB 2,837.17 kB 06 2,030.42 kB 2,634.17 kB 07 1,950.42 kB 2,574.33 kB 08 1,948.92 kB 2,595.50 kB 09 2,365.08 kB 4,046.92 kB 10 1,931.17 kB 3,550.42 kB 11 2,103.92 kB 3,019.92 kB 12 1,821.67 kB 2,371.08 kB 13 1,998.25 kB 2,871.42 kB 14 2,532.00 kB 3,436.27 kB 15 2,057.31 kB 3,533.62 kB 16 1,901.64 kB 2,474.91 kB 17 1,931.00 kB 2,541.46 kB 18 1,896.00 kB 2,673.58 kB 19 1,973.42 kB 2,602.00 kB 20 1,988.25 kB 2,652.92 kB 21 1,875.92 kB 2,727.83 kB 22 1,989.83 kB 2,847.67 kB 23 2,145.17 kB 3,043.50 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 14 00 0 0 0 01 0 0 0 02 0 0 0 03 0 0 0 04 0 0 0 05 0 0 0 06 0 0 0 07 0 0 0 08 0 0 0 09 0 0 0 10 0 0 0 11 0 0 0 12 0 0 0 13 0 0 0 14 0 0 0 15 0 0 0 16 0 0 0 17 0 0 0 18 0 0 0 19 0 0 0 20 0 0 0 21 0 0 0 22 0 0 0 23 0 0 0 -
Vacuums
Vacuums / Analyzes Distribution
Key values
- 0.59 sec Highest CPU-cost vacuum
Table public.tasks
Database zemm_produktiv_8 - 2026-05-14 01:30:20 Date
- 0 sec Highest CPU-cost analyze
Table
Database zemm_produktiv_8 - Date
Average Autovacuum Duration
Key values
- 0.59 sec Highest CPU-cost vacuum
Table public.tasks
Database zemm_produktiv_8 - 2026-05-14 01:30:20 Date
Analyzes per table
Key values
- pg_catalog.pg_type (9) Main table analyzed (database zemm_produktiv_8)
- 35 analyzes Total
Table Number of analyzes zemm_produktiv_8.pg_catalog.pg_type 9 zemm_produktiv_8.pg_catalog.pg_attribute 7 zemm_produktiv_8.pg_catalog.pg_class 6 zemm_produktiv_8.pg_catalog.pg_depend 6 postgres.pg_catalog.pg_shdepend 2 zemm_produktiv_8.public.tasks 1 zemm_monitoring.observability.phpfpm_counters 1 zemm_dev.pg_catalog.pg_shdepend 1 zemm_monitoring.observability.metrics_timeseries 1 invdb.pg_catalog.pg_shdepend 1 Total 35 Vacuums per table
Key values
- pg_catalog.pg_attribute (5) Main table vacuumed on database zemm_produktiv_8
- 26 vacuums Total
Index Buffer usage Skipped WAL usage Frozen Table Vacuums scans hits misses dirtied pins frozen records full page bytes pages tuples zemm_produktiv_8.pg_catalog.pg_attribute 5 5 0 0 0 0 0 449 53 115,136 0 0 zemm_produktiv_8.pg_catalog.pg_type 5 5 0 0 0 0 0 176 39 46,137 0 0 zemm_monitoring.pg_toast.pg_toast_67431 4 0 0 0 0 0 0 4,433 1,484 3,375,022 1,468 8,808 zemm_produktiv_8.pg_catalog.pg_class 4 4 0 0 0 0 0 202 62 72,122 0 0 zemm_produktiv_8.pg_catalog.pg_depend 4 4 0 0 0 0 0 331 71 100,607 0 0 fbi_unire.pg_catalog.pg_shdepend 2 2 0 0 0 0 0 130 36 79,239 0 0 zemm_produktiv_8.pg_toast.pg_toast_2619 1 1 0 0 0 0 0 163 31 191,832 12 42 zemm_produktiv_8.public.tasks 1 1 0 0 0 0 0 45,666 49 3,298,687 3 7 Total 26 22 0 0 0 0 0 51,550 1,825 7,278,782 1,483 8,857 Vacuum throughput per table
Key values
- public.tasks (0.59) Max CPU elapsed for vacuum on database zemm_produktiv_8
- unknown (0 ms) Max I/O read time for vacuum on database zemm_produktiv_8
- pg_catalog.pg_class (0.039 ms) Max I/O write time for vacuum on database zemm_produktiv_8
I/O timing (ms) CPU (s) Table read write elapsed zemm_produktiv_8.pg_catalog.pg_attribute 0 0 0 zemm_produktiv_8.pg_catalog.pg_type 0 0 0 zemm_monitoring.pg_toast.pg_toast_67431 0 0 0.36 zemm_produktiv_8.pg_catalog.pg_class 0 0.039 0 zemm_produktiv_8.pg_catalog.pg_depend 0 0 0.02 fbi_unire.pg_catalog.pg_shdepend 0 0 0 zemm_produktiv_8.pg_toast.pg_toast_2619 0 0 0.01 zemm_produktiv_8.public.tasks 0 0 0.59 Total 0 0.039 0.98 Tuples removed per table
Key values
- public.tasks (54405) Main table with removed tuples on database zemm_produktiv_8
- 58125 tuples Total removed
Index Tuples Pages Table Vacuums scans removed remain not yet removable removed remain zemm_produktiv_8.public.tasks 1 1 54,405 57,586 0 0 16,990 zemm_produktiv_8.pg_catalog.pg_attribute 5 5 1,664 30,188 0 0 920 zemm_produktiv_8.pg_catalog.pg_depend 4 4 1,147 18,478 0 0 220 zemm_produktiv_8.pg_catalog.pg_type 5 5 356 4,155 0 0 155 zemm_produktiv_8.pg_catalog.pg_class 4 4 244 3,781 0 0 168 fbi_unire.pg_catalog.pg_shdepend 2 2 208 9,410 0 0 76 zemm_produktiv_8.pg_toast.pg_toast_2619 1 1 101 292 0 0 106 zemm_monitoring.pg_toast.pg_toast_67431 4 0 0 2,513,186 0 0 426,155 Total 26 22 58,125 2,637,076 0 0 444,790 Pages removed per table
Key values
- unknown (0) Main table with removed pages on database unknown
- 0 pages Total removed
Pages removed per tables
NO DATASET
Table Number of vacuums Index scans Tuples removed Pages removed zemm_monitoring.pg_toast.pg_toast_67431 4 0 0 0 zemm_produktiv_8.pg_catalog.pg_attribute 5 5 1664 0 zemm_produktiv_8.pg_toast.pg_toast_2619 1 1 101 0 zemm_produktiv_8.pg_catalog.pg_type 5 5 356 0 fbi_unire.pg_catalog.pg_shdepend 2 2 208 0 zemm_produktiv_8.pg_catalog.pg_class 4 4 244 0 zemm_produktiv_8.public.tasks 1 1 54405 0 zemm_produktiv_8.pg_catalog.pg_depend 4 4 1147 0 Total 26 22 58,125 0 Autovacuum Activity
↑ Back to the top of the Autovacuum Activity tableDay Hour VACUUMs ANALYZEs May 14 00 0 0 01 2 1 02 1 0 03 0 0 04 0 0 05 0 0 06 0 0 07 0 0 08 1 0 09 9 10 10 0 0 11 3 4 12 0 0 13 2 4 14 3 7 15 0 2 16 0 0 17 0 0 18 0 0 19 0 0 20 0 0 21 1 0 22 0 1 23 4 6 - 0.59 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
- 15 Total read queries
- 24,486 Total write queries
Queries by database
Key values
- zemm_monitoring Main database
- 24,480 Requests
- 6h18m37s (zemm_monitoring)
- Main time consuming database
Queries by user
Key values
- monitoring_admin Main user
- 48,979 Requests
User Request type Count Duration labanimal Total 112 1m50s cte 19 21s189ms select 91 1m26s update 2 1s947ms monitoring_admin Total 48,979 13h8m53s cte 1 1s436ms ddl 48,960 13h8m40s select 18 10s977ms postgres Total 10 13s221ms copy to 10 13s221ms Duration by user
Key values
- 13h8m53s (monitoring_admin) Main time consuming user
User Request type Count Duration labanimal Total 112 1m50s cte 19 21s189ms select 91 1m26s update 2 1s947ms monitoring_admin Total 48,979 13h8m53s cte 1 1s436ms ddl 48,960 13h8m40s select 18 10s977ms postgres Total 10 13s221ms copy to 10 13s221ms Queries by host
Key values
- unknown Main host
- 49,089 Requests
- 13h10m41s (unknown)
- Main time consuming host
Queries by application
Key values
- unknown Main application
- 24,480 Requests
- 6h18m37s (unknown)
- Main time consuming application
Number of cancelled queries
Key values
- 0 per second Cancelled query Peak
- 2026-05-14 17:57:03 Date
Number of cancelled queries (5 minutes period)
NO DATASET
-
Top Queries
Histogram of query times
Key values
- 16 500-1000ms duration
Slowest individual queries
Rank Duration Query 1 2s21ms 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-14 23:55:11 - Database: zemm_produktiv_8 - User: postgres - Remote: [local] - Application: pg_dump ]
2 1s517ms SELECT tk.id, tk.name, tk.active, tk.task_status, tk.done, tk.prio_agent, tk.deadline, tk.link, STRING_AGG(DISTINCT issuer_user."fullName", ';') AS issued_by, tk.time_issued, STRING_AGG(DISTINCT agent_user."fullName", ';') AS completed_by, tk.time_completed FROM tasks tk INNER JOIN "targetgroupMembers" issuer ON issuer.targetgroup = tk.owner INNER JOIN ( SELECT "targetgroupMembers".targetgroup, users.* FROM "targetgroupMembers" INNER JOIN users ON users.id = "targetgroupMembers"."user") issuer_user ON issuer_user.targetgroup = tk.owner LEFT JOIN "targetgroupMembers" agent ON agent.targetgroup = tk.agent LEFT JOIN ( SELECT "targetgroupMembers".targetgroup, users.* FROM "targetgroupMembers" INNER JOIN users ON users.id = "targetgroupMembers"."user") agent_user ON agent_user.targetgroup = tk.agent WHERE (user_is_tgm (tk.owner, 10100107) OR user_is_tgm (tk.agent, 10100107)) AND tk.task_status LIKE '%' GROUP BY tk.id;[ Date: 2026-05-14 15:48:12 - Database: zemm_produktiv_8 - User: labanimal - Application: _desktop_index.php_zemm_produktiv_8_localhost_5432 ]
3 1s517ms CREATE SCHEMA IF NOT EXISTS observability;[ Date: 2026-05-14 15:49:01 - Database: zemm_monitoring - User: monitoring_admin ]
4 1s517ms 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-14 15:49:01 - Database: zemm_monitoring - User: monitoring_admin ]
5 1s517ms CREATE INDEX IF NOT EXISTS idx_metrics_timeseries_bucket ON observability.metrics_timeseries (bucket_start);[ Date: 2026-05-14 15:49:01 - Database: zemm_monitoring - User: monitoring_admin ]
6 1s517ms CREATE INDEX IF NOT EXISTS idx_metrics_timeseries_metric ON observability.metrics_timeseries (metric_name);[ Date: 2026-05-14 15:49:01 - Database: zemm_monitoring - User: monitoring_admin ]
7 1s517ms 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-14 15:49:01 - Database: zemm_monitoring - User: monitoring_admin ]
8 1s517ms CREATE INDEX IF NOT EXISTS idx_app_events_tenant ON observability.app_events (tenant_key, occurred_at DESC);[ Date: 2026-05-14 15:49:01 - Database: zemm_monitoring - User: monitoring_admin ]
9 1s517ms CREATE INDEX IF NOT EXISTS idx_app_events_type ON observability.app_events (event_type);[ Date: 2026-05-14 15:49:01 - Database: zemm_monitoring - User: monitoring_admin ]
10 1s517ms 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-14 15:49:01 - Database: zemm_monitoring - User: monitoring_admin ]
11 1s517ms CREATE INDEX IF NOT EXISTS idx_db_top_queries_tenant ON observability.db_top_queries (tenant_key, collected_at DESC);[ Date: 2026-05-14 15:49:01 - Database: zemm_monitoring - User: monitoring_admin ]
12 1s517ms 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-14 15:49:01 - Database: zemm_monitoring - User: monitoring_admin ]
13 1s517ms 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-14 15:49:01 - Database: zemm_monitoring - User: monitoring_admin ]
14 1s517ms 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-14 15:49:01 - Database: zemm_monitoring - User: monitoring_admin ]
15 1s517ms 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-14 15:49:01 - Database: zemm_monitoring - User: monitoring_admin ]
16 1s517ms ALTER TABLE observability.uptime_checks ADD COLUMN IF NOT EXISTS label text;[ Date: 2026-05-14 15:49:01 - Database: zemm_monitoring - User: monitoring_admin ]
17 1s517ms ALTER TABLE observability.uptime_checks ADD COLUMN IF NOT EXISTS payload jsonb;[ Date: 2026-05-14 15:49:01 - Database: zemm_monitoring - User: monitoring_admin ]
18 1s517ms CREATE INDEX IF NOT EXISTS idx_uptime_checks_endpoint ON observability.uptime_checks (endpoint, checked_at DESC);[ Date: 2026-05-14 15:49:01 - Database: zemm_monitoring - User: monitoring_admin ]
19 1s517ms CREATE INDEX IF NOT EXISTS idx_uptime_checks_key ON observability.uptime_checks (check_key, checked_at DESC);[ Date: 2026-05-14 15:49:01 - Database: zemm_monitoring - User: monitoring_admin ]
20 1s517ms CREATE SCHEMA IF NOT EXISTS observability;[ Date: 2026-05-14 15:50:01 - Database: zemm_monitoring - User: monitoring_admin ]
Time consuming queries (N)
Rank Total duration Times executed Min duration Max duration Avg duration Query 1 22m16s 1,440 682ms 1s517ms 928ms 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 14 01 60 0ms 0ms 02 60 19s806ms 330ms 03 60 40s978ms 682ms 04 60 40s978ms 682ms 05 60 40s978ms 682ms 06 60 40s978ms 682ms 07 60 40s978ms 682ms 08 60 40s978ms 682ms 09 60 40s978ms 682ms 10 60 40s978ms 682ms 11 60 40s978ms 682ms 12 60 40s978ms 682ms 13 60 40s978ms 682ms 14 60 42s109ms 701ms 15 60 43s550ms 725ms 16 60 52s170ms 869ms 17 60 1m31s 1s517ms 18 60 1m31s 1s517ms 19 60 1m31s 1s517ms 20 60 1m31s 1s517ms 21 60 1m31s 1s517ms 22 60 1m31s 1s517ms 23 60 1m31s 1s517ms 00 60 1m30s 1s509ms [ User: monitoring_admin - Total duration: 22m16s - Times executed: 1349 ]
-
CREATE INDEX IF NOT EXISTS idx_uptime_checks_key ON observability.uptime_checks (check_key, checked_at DESC);
Date: 2026-05-14 23:55:01 Duration: 1s517ms Database: zemm_monitoring User: monitoring_admin Log file: /var/log/postgresql/postgresql-2026-05-14_000000.csv
-
CREATE INDEX IF NOT EXISTS idx_uptime_checks_key ON observability.uptime_checks (check_key, checked_at DESC);
Date: 2026-05-14 23:59:01 Duration: 1s398ms Database: zemm_monitoring User: monitoring_admin Log file: /var/log/postgresql/postgresql-2026-05-14_000000.csv
-
CREATE INDEX IF NOT EXISTS idx_uptime_checks_key ON observability.uptime_checks (check_key, checked_at DESC);
Date: 2026-05-14 14:18:01 Duration: 733ms Database: zemm_monitoring User: monitoring_admin Log file: /var/log/postgresql/postgresql-2026-05-14_000000.csv
2 22m16s 1,440 682ms 1s517ms 928ms create schema if not exists observability;Times Reported Time consuming queries #2
Day Hour Count Duration Avg duration May 14 01 60 0ms 0ms 02 60 19s806ms 330ms 03 60 40s978ms 682ms 04 60 40s978ms 682ms 05 60 40s978ms 682ms 06 60 40s978ms 682ms 07 60 40s978ms 682ms 08 60 40s978ms 682ms 09 60 40s978ms 682ms 10 60 40s978ms 682ms 11 60 40s978ms 682ms 12 60 40s978ms 682ms 13 60 40s978ms 682ms 14 60 42s109ms 701ms 15 60 43s550ms 725ms 16 60 52s170ms 869ms 17 60 1m31s 1s517ms 18 60 1m31s 1s517ms 19 60 1m31s 1s517ms 20 60 1m31s 1s517ms 21 60 1m31s 1s517ms 22 60 1m31s 1s517ms 23 60 1m31s 1s517ms 00 60 1m30s 1s509ms [ User: monitoring_admin - Total duration: 22m16s - Times executed: 1349 ]
-
CREATE SCHEMA IF NOT EXISTS observability;
Date: 2026-05-14 23:55:01 Duration: 1s517ms Database: zemm_monitoring User: monitoring_admin Log file: /var/log/postgresql/postgresql-2026-05-14_000000.csv
-
CREATE SCHEMA IF NOT EXISTS observability;
Date: 2026-05-14 23:59:01 Duration: 1s398ms Database: zemm_monitoring User: monitoring_admin Log file: /var/log/postgresql/postgresql-2026-05-14_000000.csv
-
CREATE SCHEMA IF NOT EXISTS observability;
Date: 2026-05-14 14:18:01 Duration: 733ms Database: zemm_monitoring User: monitoring_admin Log file: /var/log/postgresql/postgresql-2026-05-14_000000.csv
3 22m16s 1,440 682ms 1s517ms 928ms 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 14 01 60 0ms 0ms 02 60 19s806ms 330ms 03 60 40s978ms 682ms 04 60 40s978ms 682ms 05 60 40s978ms 682ms 06 60 40s978ms 682ms 07 60 40s978ms 682ms 08 60 40s978ms 682ms 09 60 40s978ms 682ms 10 60 40s978ms 682ms 11 60 40s978ms 682ms 12 60 40s978ms 682ms 13 60 40s978ms 682ms 14 60 42s109ms 701ms 15 60 43s550ms 725ms 16 60 52s170ms 869ms 17 60 1m31s 1s517ms 18 60 1m31s 1s517ms 19 60 1m31s 1s517ms 20 60 1m31s 1s517ms 21 60 1m31s 1s517ms 22 60 1m31s 1s517ms 23 60 1m31s 1s517ms 00 60 1m30s 1s509ms [ User: monitoring_admin - Total duration: 22m16s - Times executed: 1349 ]
-
CREATE TABLE IF NOT EXISTS observability.metrics_timeseries ( id bigserial PRIMARY KEY, tenant_key text NOT NULL, metric_name text NOT NULL, bucket_start timestamptz NOT NULL, bucket_width_seconds integer NOT NULL DEFAULT 60, sum_value double precision NOT NULL DEFAULT 0, count_value bigint NOT NULL DEFAULT 0, histogram jsonb, created_at timestamptz NOT NULL DEFAULT NOW(), updated_at timestamptz NOT NULL DEFAULT NOW(), UNIQUE (tenant_key, metric_name, bucket_start, bucket_width_seconds) );
Date: 2026-05-14 23:55:01 Duration: 1s517ms Database: zemm_monitoring User: monitoring_admin Log file: /var/log/postgresql/postgresql-2026-05-14_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-14 23:59:01 Duration: 1s398ms Database: zemm_monitoring User: monitoring_admin Log file: /var/log/postgresql/postgresql-2026-05-14_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-14 14:18:01 Duration: 733ms Database: zemm_monitoring User: monitoring_admin Log file: /var/log/postgresql/postgresql-2026-05-14_000000.csv
4 22m16s 1,440 682ms 1s517ms 928ms 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 14 01 60 0ms 0ms 02 60 19s806ms 330ms 03 60 40s978ms 682ms 04 60 40s978ms 682ms 05 60 40s978ms 682ms 06 60 40s978ms 682ms 07 60 40s978ms 682ms 08 60 40s978ms 682ms 09 60 40s978ms 682ms 10 60 40s978ms 682ms 11 60 40s978ms 682ms 12 60 40s978ms 682ms 13 60 40s978ms 682ms 14 60 42s109ms 701ms 15 60 43s550ms 725ms 16 60 52s170ms 869ms 17 60 1m31s 1s517ms 18 60 1m31s 1s517ms 19 60 1m31s 1s517ms 20 60 1m31s 1s517ms 21 60 1m31s 1s517ms 22 60 1m31s 1s517ms 23 60 1m31s 1s517ms 00 60 1m30s 1s509ms [ User: monitoring_admin - Total duration: 22m16s - Times executed: 1349 ]
-
CREATE INDEX IF NOT EXISTS idx_app_events_tenant ON observability.app_events (tenant_key, occurred_at DESC);
Date: 2026-05-14 23:55:01 Duration: 1s517ms Database: zemm_monitoring User: monitoring_admin Log file: /var/log/postgresql/postgresql-2026-05-14_000000.csv
-
CREATE INDEX IF NOT EXISTS idx_app_events_tenant ON observability.app_events (tenant_key, occurred_at DESC);
Date: 2026-05-14 23:59:01 Duration: 1s398ms Database: zemm_monitoring User: monitoring_admin Log file: /var/log/postgresql/postgresql-2026-05-14_000000.csv
-
CREATE INDEX IF NOT EXISTS idx_app_events_tenant ON observability.app_events (tenant_key, occurred_at DESC);
Date: 2026-05-14 14:18:01 Duration: 733ms Database: zemm_monitoring User: monitoring_admin Log file: /var/log/postgresql/postgresql-2026-05-14_000000.csv
5 22m16s 1,440 682ms 1s517ms 928ms 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 14 01 60 0ms 0ms 02 60 19s806ms 330ms 03 60 40s978ms 682ms 04 60 40s978ms 682ms 05 60 40s978ms 682ms 06 60 40s978ms 682ms 07 60 40s978ms 682ms 08 60 40s978ms 682ms 09 60 40s978ms 682ms 10 60 40s978ms 682ms 11 60 40s978ms 682ms 12 60 40s978ms 682ms 13 60 40s978ms 682ms 14 60 42s109ms 701ms 15 60 43s550ms 725ms 16 60 52s170ms 869ms 17 60 1m31s 1s517ms 18 60 1m31s 1s517ms 19 60 1m31s 1s517ms 20 60 1m31s 1s517ms 21 60 1m31s 1s517ms 22 60 1m31s 1s517ms 23 60 1m31s 1s517ms 00 60 1m30s 1s509ms [ User: monitoring_admin - Total duration: 22m16s - Times executed: 1349 ]
-
CREATE INDEX IF NOT EXISTS idx_db_top_queries_tenant ON observability.db_top_queries (tenant_key, collected_at DESC);
Date: 2026-05-14 23:55:01 Duration: 1s517ms Database: zemm_monitoring User: monitoring_admin Log file: /var/log/postgresql/postgresql-2026-05-14_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-14 23:59:01 Duration: 1s398ms Database: zemm_monitoring User: monitoring_admin Log file: /var/log/postgresql/postgresql-2026-05-14_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-14 14:18:01 Duration: 733ms Database: zemm_monitoring User: monitoring_admin Log file: /var/log/postgresql/postgresql-2026-05-14_000000.csv
6 22m16s 1,440 682ms 1s517ms 928ms 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 14 01 60 0ms 0ms 02 60 19s806ms 330ms 03 60 40s978ms 682ms 04 60 40s978ms 682ms 05 60 40s978ms 682ms 06 60 40s978ms 682ms 07 60 40s978ms 682ms 08 60 40s978ms 682ms 09 60 40s978ms 682ms 10 60 40s978ms 682ms 11 60 40s978ms 682ms 12 60 40s978ms 682ms 13 60 40s978ms 682ms 14 60 42s109ms 701ms 15 60 43s550ms 725ms 16 60 52s170ms 869ms 17 60 1m31s 1s517ms 18 60 1m31s 1s517ms 19 60 1m31s 1s517ms 20 60 1m31s 1s517ms 21 60 1m31s 1s517ms 22 60 1m31s 1s517ms 23 60 1m31s 1s517ms 00 60 1m30s 1s509ms [ User: monitoring_admin - Total duration: 22m16s - Times executed: 1349 ]
-
CREATE INDEX IF NOT EXISTS idx_uptime_checks_endpoint ON observability.uptime_checks (endpoint, checked_at DESC);
Date: 2026-05-14 23:55:01 Duration: 1s517ms Database: zemm_monitoring User: monitoring_admin Log file: /var/log/postgresql/postgresql-2026-05-14_000000.csv
-
CREATE INDEX IF NOT EXISTS idx_uptime_checks_endpoint ON observability.uptime_checks (endpoint, checked_at DESC);
Date: 2026-05-14 23:59:01 Duration: 1s398ms Database: zemm_monitoring User: monitoring_admin Log file: /var/log/postgresql/postgresql-2026-05-14_000000.csv
-
CREATE INDEX IF NOT EXISTS idx_uptime_checks_endpoint ON observability.uptime_checks (endpoint, checked_at DESC);
Date: 2026-05-14 14:18:01 Duration: 733ms Database: zemm_monitoring User: monitoring_admin Log file: /var/log/postgresql/postgresql-2026-05-14_000000.csv
7 22m16s 1,440 682ms 1s517ms 928ms 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 14 01 60 0ms 0ms 02 60 19s806ms 330ms 03 60 40s978ms 682ms 04 60 40s978ms 682ms 05 60 40s978ms 682ms 06 60 40s978ms 682ms 07 60 40s978ms 682ms 08 60 40s978ms 682ms 09 60 40s978ms 682ms 10 60 40s978ms 682ms 11 60 40s978ms 682ms 12 60 40s978ms 682ms 13 60 40s978ms 682ms 14 60 42s109ms 701ms 15 60 43s550ms 725ms 16 60 52s170ms 869ms 17 60 1m31s 1s517ms 18 60 1m31s 1s517ms 19 60 1m31s 1s517ms 20 60 1m31s 1s517ms 21 60 1m31s 1s517ms 22 60 1m31s 1s517ms 23 60 1m31s 1s517ms 00 60 1m30s 1s509ms [ User: monitoring_admin - Total duration: 22m16s - Times executed: 1349 ]
-
CREATE TABLE IF NOT EXISTS observability.app_events ( id bigserial PRIMARY KEY, tenant_key text NOT NULL, event_type text NOT NULL, severity text NOT NULL, message text NOT NULL, payload jsonb, occurred_at timestamptz NOT NULL DEFAULT NOW(), created_at timestamptz NOT NULL DEFAULT NOW() );
Date: 2026-05-14 23:55:01 Duration: 1s517ms Database: zemm_monitoring User: monitoring_admin Log file: /var/log/postgresql/postgresql-2026-05-14_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-14 23:59:01 Duration: 1s398ms Database: zemm_monitoring User: monitoring_admin Log file: /var/log/postgresql/postgresql-2026-05-14_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-14 14:18:01 Duration: 733ms Database: zemm_monitoring User: monitoring_admin Log file: /var/log/postgresql/postgresql-2026-05-14_000000.csv
8 22m16s 1,440 682ms 1s517ms 928ms 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 #8
Day Hour Count Duration Avg duration May 14 01 60 0ms 0ms 02 60 19s806ms 330ms 03 60 40s978ms 682ms 04 60 40s978ms 682ms 05 60 40s978ms 682ms 06 60 40s978ms 682ms 07 60 40s978ms 682ms 08 60 40s978ms 682ms 09 60 40s978ms 682ms 10 60 40s978ms 682ms 11 60 40s978ms 682ms 12 60 40s978ms 682ms 13 60 40s978ms 682ms 14 60 42s109ms 701ms 15 60 43s550ms 725ms 16 60 52s170ms 869ms 17 60 1m31s 1s517ms 18 60 1m31s 1s517ms 19 60 1m31s 1s517ms 20 60 1m31s 1s517ms 21 60 1m31s 1s517ms 22 60 1m31s 1s517ms 23 60 1m31s 1s517ms 00 60 1m30s 1s509ms [ User: monitoring_admin - Total duration: 22m16s - Times executed: 1349 ]
-
CREATE TABLE IF NOT EXISTS observability.system_metrics ( id bigserial PRIMARY KEY, payload jsonb NOT NULL, collected_at timestamptz NOT NULL DEFAULT NOW() );
Date: 2026-05-14 23:55:01 Duration: 1s517ms Database: zemm_monitoring User: monitoring_admin Log file: /var/log/postgresql/postgresql-2026-05-14_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-14 23:59:01 Duration: 1s398ms Database: zemm_monitoring User: monitoring_admin Log file: /var/log/postgresql/postgresql-2026-05-14_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-14 14:18:01 Duration: 733ms Database: zemm_monitoring User: monitoring_admin Log file: /var/log/postgresql/postgresql-2026-05-14_000000.csv
9 22m16s 1,440 682ms 1s517ms 928ms create table if not exists observability.uptime_checks ( id bigserial primary key, endpoint text not null, status text not null, latency_ms double precision, checked_at timestamptz not null default now() );Times Reported Time consuming queries #9
Day Hour Count Duration Avg duration May 14 01 60 0ms 0ms 02 60 19s806ms 330ms 03 60 40s978ms 682ms 04 60 40s978ms 682ms 05 60 40s978ms 682ms 06 60 40s978ms 682ms 07 60 40s978ms 682ms 08 60 40s978ms 682ms 09 60 40s978ms 682ms 10 60 40s978ms 682ms 11 60 40s978ms 682ms 12 60 40s978ms 682ms 13 60 40s978ms 682ms 14 60 42s109ms 701ms 15 60 43s550ms 725ms 16 60 52s170ms 869ms 17 60 1m31s 1s517ms 18 60 1m31s 1s517ms 19 60 1m31s 1s517ms 20 60 1m31s 1s517ms 21 60 1m31s 1s517ms 22 60 1m31s 1s517ms 23 60 1m31s 1s517ms 00 60 1m30s 1s509ms [ User: monitoring_admin - Total duration: 22m16s - Times executed: 1349 ]
-
CREATE TABLE IF NOT EXISTS observability.uptime_checks ( id bigserial PRIMARY KEY, endpoint text NOT NULL, status text NOT NULL, latency_ms double precision, checked_at timestamptz NOT NULL DEFAULT NOW() );
Date: 2026-05-14 23:55:01 Duration: 1s517ms Database: zemm_monitoring User: monitoring_admin Log file: /var/log/postgresql/postgresql-2026-05-14_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-14 23:59:01 Duration: 1s398ms Database: zemm_monitoring User: monitoring_admin Log file: /var/log/postgresql/postgresql-2026-05-14_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-14 14:18:01 Duration: 733ms Database: zemm_monitoring User: monitoring_admin Log file: /var/log/postgresql/postgresql-2026-05-14_000000.csv
10 22m16s 1,440 682ms 1s517ms 928ms create table if not exists observability.db_top_queries ( id bigserial primary key, tenant_key text not null, fingerprint text, query text, mean_time_ms double precision, total_time_ms double precision, calls bigint, rows_returned bigint, collected_at timestamptz not null default now() );Times Reported Time consuming queries #10
Day Hour Count Duration Avg duration May 14 01 60 0ms 0ms 02 60 19s806ms 330ms 03 60 40s978ms 682ms 04 60 40s978ms 682ms 05 60 40s978ms 682ms 06 60 40s978ms 682ms 07 60 40s978ms 682ms 08 60 40s978ms 682ms 09 60 40s978ms 682ms 10 60 40s978ms 682ms 11 60 40s978ms 682ms 12 60 40s978ms 682ms 13 60 40s978ms 682ms 14 60 42s109ms 701ms 15 60 43s550ms 725ms 16 60 52s170ms 869ms 17 60 1m31s 1s517ms 18 60 1m31s 1s517ms 19 60 1m31s 1s517ms 20 60 1m31s 1s517ms 21 60 1m31s 1s517ms 22 60 1m31s 1s517ms 23 60 1m31s 1s517ms 00 60 1m30s 1s509ms [ User: monitoring_admin - Total duration: 22m16s - Times executed: 1349 ]
-
CREATE TABLE IF NOT EXISTS observability.db_top_queries ( id bigserial PRIMARY KEY, tenant_key text NOT NULL, fingerprint text, query text, mean_time_ms double precision, total_time_ms double precision, calls bigint, rows_returned bigint, collected_at timestamptz NOT NULL DEFAULT NOW() );
Date: 2026-05-14 23:55:01 Duration: 1s517ms Database: zemm_monitoring User: monitoring_admin Log file: /var/log/postgresql/postgresql-2026-05-14_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-14 23:59:01 Duration: 1s398ms Database: zemm_monitoring User: monitoring_admin Log file: /var/log/postgresql/postgresql-2026-05-14_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-14 14:18:01 Duration: 733ms Database: zemm_monitoring User: monitoring_admin Log file: /var/log/postgresql/postgresql-2026-05-14_000000.csv
11 22m16s 1,440 682ms 1s517ms 928ms alter table observability.uptime_checks add column if not exists label text;Times Reported Time consuming queries #11
Day Hour Count Duration Avg duration May 14 01 60 0ms 0ms 02 60 19s806ms 330ms 03 60 40s978ms 682ms 04 60 40s978ms 682ms 05 60 40s978ms 682ms 06 60 40s978ms 682ms 07 60 40s978ms 682ms 08 60 40s978ms 682ms 09 60 40s978ms 682ms 10 60 40s978ms 682ms 11 60 40s978ms 682ms 12 60 40s978ms 682ms 13 60 40s978ms 682ms 14 60 42s109ms 701ms 15 60 43s550ms 725ms 16 60 52s170ms 869ms 17 60 1m31s 1s517ms 18 60 1m31s 1s517ms 19 60 1m31s 1s517ms 20 60 1m31s 1s517ms 21 60 1m31s 1s517ms 22 60 1m31s 1s517ms 23 60 1m31s 1s517ms 00 60 1m30s 1s509ms [ User: monitoring_admin - Total duration: 22m16s - Times executed: 1349 ]
-
ALTER TABLE observability.uptime_checks ADD COLUMN IF NOT EXISTS label text;
Date: 2026-05-14 23:55:01 Duration: 1s517ms Database: zemm_monitoring User: monitoring_admin Log file: /var/log/postgresql/postgresql-2026-05-14_000000.csv
-
ALTER TABLE observability.uptime_checks ADD COLUMN IF NOT EXISTS label text;
Date: 2026-05-14 23:59:01 Duration: 1s398ms Database: zemm_monitoring User: monitoring_admin Log file: /var/log/postgresql/postgresql-2026-05-14_000000.csv
-
ALTER TABLE observability.uptime_checks ADD COLUMN IF NOT EXISTS label text;
Date: 2026-05-14 14:18:01 Duration: 733ms Database: zemm_monitoring User: monitoring_admin Log file: /var/log/postgresql/postgresql-2026-05-14_000000.csv
12 22m16s 1,440 682ms 1s517ms 928ms alter table observability.uptime_checks add column if not exists payload jsonb;Times Reported Time consuming queries #12
Day Hour Count Duration Avg duration May 14 01 60 0ms 0ms 02 60 19s806ms 330ms 03 60 40s978ms 682ms 04 60 40s978ms 682ms 05 60 40s978ms 682ms 06 60 40s978ms 682ms 07 60 40s978ms 682ms 08 60 40s978ms 682ms 09 60 40s978ms 682ms 10 60 40s978ms 682ms 11 60 40s978ms 682ms 12 60 40s978ms 682ms 13 60 40s978ms 682ms 14 60 42s109ms 701ms 15 60 43s550ms 725ms 16 60 52s170ms 869ms 17 60 1m31s 1s517ms 18 60 1m31s 1s517ms 19 60 1m31s 1s517ms 20 60 1m31s 1s517ms 21 60 1m31s 1s517ms 22 60 1m31s 1s517ms 23 60 1m31s 1s517ms 00 60 1m30s 1s509ms [ User: monitoring_admin - Total duration: 22m16s - Times executed: 1349 ]
-
ALTER TABLE observability.uptime_checks ADD COLUMN IF NOT EXISTS payload jsonb;
Date: 2026-05-14 23:55:01 Duration: 1s517ms Database: zemm_monitoring User: monitoring_admin Log file: /var/log/postgresql/postgresql-2026-05-14_000000.csv
-
ALTER TABLE observability.uptime_checks ADD COLUMN IF NOT EXISTS payload jsonb;
Date: 2026-05-14 23:59:01 Duration: 1s398ms Database: zemm_monitoring User: monitoring_admin Log file: /var/log/postgresql/postgresql-2026-05-14_000000.csv
-
ALTER TABLE observability.uptime_checks ADD COLUMN IF NOT EXISTS payload jsonb;
Date: 2026-05-14 14:18:01 Duration: 733ms Database: zemm_monitoring User: monitoring_admin Log file: /var/log/postgresql/postgresql-2026-05-14_000000.csv
13 22m16s 1,440 682ms 1s517ms 928ms create index if not exists idx_metrics_timeseries_metric on observability.metrics_timeseries (metric_name);Times Reported Time consuming queries #13
Day Hour Count Duration Avg duration May 14 01 60 0ms 0ms 02 60 19s806ms 330ms 03 60 40s978ms 682ms 04 60 40s978ms 682ms 05 60 40s978ms 682ms 06 60 40s978ms 682ms 07 60 40s978ms 682ms 08 60 40s978ms 682ms 09 60 40s978ms 682ms 10 60 40s978ms 682ms 11 60 40s978ms 682ms 12 60 40s978ms 682ms 13 60 40s978ms 682ms 14 60 42s109ms 701ms 15 60 43s550ms 725ms 16 60 52s170ms 869ms 17 60 1m31s 1s517ms 18 60 1m31s 1s517ms 19 60 1m31s 1s517ms 20 60 1m31s 1s517ms 21 60 1m31s 1s517ms 22 60 1m31s 1s517ms 23 60 1m31s 1s517ms 00 60 1m30s 1s509ms [ User: monitoring_admin - Total duration: 22m16s - Times executed: 1349 ]
-
CREATE INDEX IF NOT EXISTS idx_metrics_timeseries_metric ON observability.metrics_timeseries (metric_name);
Date: 2026-05-14 23:55:01 Duration: 1s517ms Database: zemm_monitoring User: monitoring_admin Log file: /var/log/postgresql/postgresql-2026-05-14_000000.csv
-
CREATE INDEX IF NOT EXISTS idx_metrics_timeseries_metric ON observability.metrics_timeseries (metric_name);
Date: 2026-05-14 23:59:01 Duration: 1s398ms Database: zemm_monitoring User: monitoring_admin Log file: /var/log/postgresql/postgresql-2026-05-14_000000.csv
-
CREATE INDEX IF NOT EXISTS idx_metrics_timeseries_metric ON observability.metrics_timeseries (metric_name);
Date: 2026-05-14 14:18:01 Duration: 733ms Database: zemm_monitoring User: monitoring_admin Log file: /var/log/postgresql/postgresql-2026-05-14_000000.csv
14 22m16s 1,440 682ms 1s517ms 928ms create index if not exists idx_app_events_type on observability.app_events (event_type);Times Reported Time consuming queries #14
Day Hour Count Duration Avg duration May 14 01 60 0ms 0ms 02 60 19s806ms 330ms 03 60 40s978ms 682ms 04 60 40s978ms 682ms 05 60 40s978ms 682ms 06 60 40s978ms 682ms 07 60 40s978ms 682ms 08 60 40s978ms 682ms 09 60 40s978ms 682ms 10 60 40s978ms 682ms 11 60 40s978ms 682ms 12 60 40s978ms 682ms 13 60 40s978ms 682ms 14 60 42s109ms 701ms 15 60 43s550ms 725ms 16 60 52s170ms 869ms 17 60 1m31s 1s517ms 18 60 1m31s 1s517ms 19 60 1m31s 1s517ms 20 60 1m31s 1s517ms 21 60 1m31s 1s517ms 22 60 1m31s 1s517ms 23 60 1m31s 1s517ms 00 60 1m30s 1s509ms [ User: monitoring_admin - Total duration: 22m16s - Times executed: 1349 ]
-
CREATE INDEX IF NOT EXISTS idx_app_events_type ON observability.app_events (event_type);
Date: 2026-05-14 23:55:01 Duration: 1s517ms Database: zemm_monitoring User: monitoring_admin Log file: /var/log/postgresql/postgresql-2026-05-14_000000.csv
-
CREATE INDEX IF NOT EXISTS idx_app_events_type ON observability.app_events (event_type);
Date: 2026-05-14 23:59:01 Duration: 1s398ms Database: zemm_monitoring User: monitoring_admin Log file: /var/log/postgresql/postgresql-2026-05-14_000000.csv
-
CREATE INDEX IF NOT EXISTS idx_app_events_type ON observability.app_events (event_type);
Date: 2026-05-14 14:18:01 Duration: 733ms Database: zemm_monitoring User: monitoring_admin Log file: /var/log/postgresql/postgresql-2026-05-14_000000.csv
15 22m16s 1,440 682ms 1s517ms 928ms 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 #15
Day Hour Count Duration Avg duration May 14 01 60 0ms 0ms 02 60 19s806ms 330ms 03 60 40s978ms 682ms 04 60 40s978ms 682ms 05 60 40s978ms 682ms 06 60 40s978ms 682ms 07 60 40s978ms 682ms 08 60 40s978ms 682ms 09 60 40s978ms 682ms 10 60 40s978ms 682ms 11 60 40s978ms 682ms 12 60 40s978ms 682ms 13 60 40s978ms 682ms 14 60 42s109ms 701ms 15 60 43s550ms 725ms 16 60 52s170ms 869ms 17 60 1m31s 1s517ms 18 60 1m31s 1s517ms 19 60 1m31s 1s517ms 20 60 1m31s 1s517ms 21 60 1m31s 1s517ms 22 60 1m31s 1s517ms 23 60 1m31s 1s517ms 00 60 1m30s 1s509ms [ User: monitoring_admin - Total duration: 22m16s - Times executed: 1349 ]
-
CREATE TABLE IF NOT EXISTS observability.phpfpm_counters ( id bigserial PRIMARY KEY, payload jsonb NOT NULL, collected_at timestamptz NOT NULL DEFAULT NOW() );
Date: 2026-05-14 23:55:01 Duration: 1s517ms Database: zemm_monitoring User: monitoring_admin Log file: /var/log/postgresql/postgresql-2026-05-14_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-14 23:59:01 Duration: 1s398ms Database: zemm_monitoring User: monitoring_admin Log file: /var/log/postgresql/postgresql-2026-05-14_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-14 14:18:01 Duration: 733ms Database: zemm_monitoring User: monitoring_admin Log file: /var/log/postgresql/postgresql-2026-05-14_000000.csv
16 22m16s 1,440 682ms 1s517ms 928ms 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 14 01 60 0ms 0ms 02 60 19s806ms 330ms 03 60 40s978ms 682ms 04 60 40s978ms 682ms 05 60 40s978ms 682ms 06 60 40s978ms 682ms 07 60 40s978ms 682ms 08 60 40s978ms 682ms 09 60 40s978ms 682ms 10 60 40s978ms 682ms 11 60 40s978ms 682ms 12 60 40s978ms 682ms 13 60 40s978ms 682ms 14 60 42s109ms 701ms 15 60 43s550ms 725ms 16 60 52s170ms 869ms 17 60 1m31s 1s517ms 18 60 1m31s 1s517ms 19 60 1m31s 1s517ms 20 60 1m31s 1s517ms 21 60 1m31s 1s517ms 22 60 1m31s 1s517ms 23 60 1m31s 1s517ms 00 60 1m30s 1s509ms [ User: monitoring_admin - Total duration: 22m16s - Times executed: 1349 ]
-
CREATE INDEX IF NOT EXISTS idx_metrics_timeseries_bucket ON observability.metrics_timeseries (bucket_start);
Date: 2026-05-14 23:55:01 Duration: 1s517ms Database: zemm_monitoring User: monitoring_admin Log file: /var/log/postgresql/postgresql-2026-05-14_000000.csv
-
CREATE INDEX IF NOT EXISTS idx_metrics_timeseries_bucket ON observability.metrics_timeseries (bucket_start);
Date: 2026-05-14 23:59:01 Duration: 1s398ms Database: zemm_monitoring User: monitoring_admin Log file: /var/log/postgresql/postgresql-2026-05-14_000000.csv
-
CREATE INDEX IF NOT EXISTS idx_metrics_timeseries_bucket ON observability.metrics_timeseries (bucket_start);
Date: 2026-05-14 14:18:01 Duration: 733ms Database: zemm_monitoring User: monitoring_admin Log file: /var/log/postgresql/postgresql-2026-05-14_000000.csv
17 22m16s 1,440 682ms 1s517ms 928ms 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 #17
Day Hour Count Duration Avg duration May 14 01 60 0ms 0ms 02 60 19s806ms 330ms 03 60 40s978ms 682ms 04 60 40s978ms 682ms 05 60 40s978ms 682ms 06 60 40s978ms 682ms 07 60 40s978ms 682ms 08 60 40s978ms 682ms 09 60 40s978ms 682ms 10 60 40s978ms 682ms 11 60 40s978ms 682ms 12 60 40s978ms 682ms 13 60 40s978ms 682ms 14 60 42s109ms 701ms 15 60 43s550ms 725ms 16 60 52s170ms 869ms 17 60 1m31s 1s517ms 18 60 1m31s 1s517ms 19 60 1m31s 1s517ms 20 60 1m31s 1s517ms 21 60 1m31s 1s517ms 22 60 1m31s 1s517ms 23 60 1m31s 1s517ms 00 60 1m30s 1s509ms [ User: monitoring_admin - Total duration: 22m16s - Times executed: 1349 ]
-
CREATE TABLE IF NOT EXISTS observability.nginx_counters ( id bigserial PRIMARY KEY, payload jsonb NOT NULL, collected_at timestamptz NOT NULL DEFAULT NOW() );
Date: 2026-05-14 23:55:01 Duration: 1s517ms Database: zemm_monitoring User: monitoring_admin Log file: /var/log/postgresql/postgresql-2026-05-14_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-14 23:59:01 Duration: 1s398ms Database: zemm_monitoring User: monitoring_admin Log file: /var/log/postgresql/postgresql-2026-05-14_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-14 14:18:01 Duration: 733ms Database: zemm_monitoring User: monitoring_admin Log file: /var/log/postgresql/postgresql-2026-05-14_000000.csv
18 5s700ms 7 805ms 825ms 814ms select count(distinct animal_id) AS "count" from ( select animals_search_mview.*, b.unbreeding_date, a.id as animal, user_is_tgm (animals_search_mview.owner, ?) as is_owner, user_is_tgm (animals_search_mview.editor, ?) as is_editor, user_is_tgm (animals_search_mview.tourist, ?) as is_tourist, case when not exists ( select ? from scoresheet_diary sd where sd.animals_id = animals_search_mview.id) then ? else ? end as isscored from animals_search_mview left join strains on strains.name = animals_search_mview.strain left join license_history lh on lh.anid = animals_search_mview.id left join animals a on a."animalID" = animals_search_mview.animal_id left join breedings b on b.id = animals_search_mview.last_mating) data where fate = ? and alive = ? and deleted = ? and (is_owner or is_editor or is_tourist);Times Reported Time consuming queries #18
Day Hour Count Duration Avg duration May 14 14 1 825ms 825ms 15 6 4s875ms 812ms [ User: labanimal - Total duration: 5s700ms - Times executed: 7 ]
[ Application: _desktop_index.php_zemm_produktiv_8_localhost_5432 - Total duration: 5s700ms - Times executed: 7 ]
-
SELECT COUNT(DISTINCT animal_id) AS "count" FROM ( SELECT animals_search_mview.*, b.unbreeding_date, a.id as animal, user_is_tgm (animals_search_mview.owner, 490) AS is_owner, user_is_tgm (animals_search_mview.editor, 490) AS is_editor, user_is_tgm (animals_search_mview.tourist, 490) AS is_tourist, CASE WHEN NOT EXISTS ( SELECT 1 FROM scoresheet_diary sd WHERE sd.animals_id = animals_search_mview.id) THEN 'f' ELSE 't' END AS isscored FROM animals_search_mview LEFT JOIN strains ON strains.name = animals_search_mview.strain LEFT JOIN license_history lh ON lh.anid = animals_search_mview.id LEFT JOIN animals a ON a."animalID" = animals_search_mview.animal_id LEFT JOIN breedings b ON b.id = animals_search_mview.last_mating) data WHERE fate = 5 AND alive = 't' AND deleted = 'f' AND (is_owner OR is_editor OR is_tourist);
Date: 2026-05-14 13:34:24 Duration: 825ms Database: zemm_produktiv_8 User: labanimal Application: _desktop_index.php_zemm_produktiv_8_localhost_5432 Log file: /var/log/postgresql/postgresql-2026-05-14_000000.csv
-
SELECT COUNT(DISTINCT animal_id) AS "count" FROM ( SELECT animals_search_mview.*, b.unbreeding_date, a.id as animal, user_is_tgm (animals_search_mview.owner, 490) AS is_owner, user_is_tgm (animals_search_mview.editor, 490) AS is_editor, user_is_tgm (animals_search_mview.tourist, 490) AS is_tourist, CASE WHEN NOT EXISTS ( SELECT 1 FROM scoresheet_diary sd WHERE sd.animals_id = animals_search_mview.id) THEN 'f' ELSE 't' END AS isscored FROM animals_search_mview LEFT JOIN strains ON strains.name = animals_search_mview.strain LEFT JOIN license_history lh ON lh.anid = animals_search_mview.id LEFT JOIN animals a ON a."animalID" = animals_search_mview.animal_id LEFT JOIN breedings b ON b.id = animals_search_mview.last_mating) data WHERE fate = 5 AND alive = 't' AND deleted = 'f' AND (is_owner OR is_editor OR is_tourist);
Date: 2026-05-14 14:02:44 Duration: 816ms Database: zemm_produktiv_8 User: labanimal Application: _desktop_index.php_zemm_produktiv_8_localhost_5432 Log file: /var/log/postgresql/postgresql-2026-05-14_000000.csv
-
SELECT COUNT(DISTINCT animal_id) AS "count" FROM ( SELECT animals_search_mview.*, b.unbreeding_date, a.id as animal, user_is_tgm (animals_search_mview.owner, 490) AS is_owner, user_is_tgm (animals_search_mview.editor, 490) AS is_editor, user_is_tgm (animals_search_mview.tourist, 490) AS is_tourist, CASE WHEN NOT EXISTS ( SELECT 1 FROM scoresheet_diary sd WHERE sd.animals_id = animals_search_mview.id) THEN 'f' ELSE 't' END AS isscored FROM animals_search_mview LEFT JOIN strains ON strains.name = animals_search_mview.strain LEFT JOIN license_history lh ON lh.anid = animals_search_mview.id LEFT JOIN animals a ON a."animalID" = animals_search_mview.animal_id LEFT JOIN breedings b ON b.id = animals_search_mview.last_mating) data WHERE fate = 5 AND alive = 't' AND deleted = 'f' AND (is_owner OR is_editor OR is_tourist);
Date: 2026-05-14 14:18:20 Duration: 815ms Database: zemm_produktiv_8 User: labanimal Application: _desktop_index.php_zemm_produktiv_8_localhost_5432 Log file: /var/log/postgresql/postgresql-2026-05-14_000000.csv
19 5s81ms 7 720ms 733ms 725ms select distinct * from ( select animals_search_mview.*, b.unbreeding_date, fates.loc as fate_name, user_is_tgm (animals_search_mview.owner, ?) as is_owner, user_is_tgm (animals_search_mview.editor, ?) as is_editor, user_is_tgm (animals_search_mview.tourist, ?) as is_tourist, strains.cancel_criteria, strains.symtoms, strains.reduce_severity_by, strains.sym_immune, strains.deleted as straindeleted, string_agg(l."application_id" || ? || l."title" || ? || date(lh."timestamp")::varchar, ?) as licensehistory, case when not exists ( select ? from scoresheet_diary sd where sd.animals_id = animals_search_mview.id) then ? else ? end as isscored from animals_search_mview inner join fates on fates.id = animals_search_mview.fate left join strains on strains.name = animals_search_mview.strain left join license_history lh on lh.anid = animals_search_mview.id left join licenses l on l.id = lh.licid left join breedings b on b.id = animals_search_mview.last_mating group by animals_search_mview.id, b.unbreeding_date, fates.loc, strains.cancel_criteria, strains.symtoms, strains.reduce_severity_by, strains.sym_immune, straindeleted) data where data.fate = ? and data.alive = ? and data.deleted = ? and (is_owner or is_editor or is_tourist) and (data.straindeleted = ? or data.straindeleted is null) order by data.cage_name, data.animal_id, data.name;Times Reported Time consuming queries #19
Day Hour Count Duration Avg duration May 14 14 1 728ms 728ms 15 6 4s352ms 725ms [ User: labanimal - Total duration: 5s81ms - Times executed: 7 ]
[ Application: _desktop_index.php_zemm_produktiv_8_localhost_5432 - Total duration: 5s81ms - Times executed: 7 ]
-
SELECT DISTINCT * FROM ( SELECT animals_search_mview.*, b.unbreeding_date, fates.loc AS fate_name, user_is_tgm (animals_search_mview.owner, 490) AS is_owner, user_is_tgm (animals_search_mview.editor, 490) AS is_editor, user_is_tgm (animals_search_mview.tourist, 490) AS is_tourist, strains.cancel_criteria, strains.symtoms, strains.reduce_severity_by, strains.sym_immune, strains.deleted as straindeleted, STRING_AGG(l."application_id" || ':' || l."title" || ' - ' || Date(lh."timestamp")::varchar, '; ') AS licensehistory, CASE WHEN NOT EXISTS ( SELECT 1 FROM scoresheet_diary sd WHERE sd.animals_id = animals_search_mview.id) THEN 'f' ELSE 't' END AS isscored FROM animals_search_mview INNER JOIN fates ON fates.id = animals_search_mview.fate LEFT JOIN strains ON strains.name = animals_search_mview.strain LEFT JOIN license_history lh ON lh.anid = animals_search_mview.id LEFT JOIN licenses l ON l.id = lh.licid left join breedings b ON b.id = animals_search_mview.last_mating GROUP BY animals_search_mview.id, b.unbreeding_date, fates.loc, strains.cancel_criteria, strains.symtoms, strains.reduce_severity_by, strains.sym_immune, straindeleted) data WHERE data.fate = 5 AND data.alive = 't' AND data.deleted = 'f' AND (is_owner OR is_editor OR is_tourist) and (data.straindeleted = 'f' or data.straindeleted is null) ORDER BY data.cage_name, data.animal_id, data.name;
Date: 2026-05-14 14:06:23 Duration: 733ms Database: zemm_produktiv_8 User: labanimal Application: _desktop_index.php_zemm_produktiv_8_localhost_5432 Log file: /var/log/postgresql/postgresql-2026-05-14_000000.csv
-
SELECT DISTINCT * FROM ( SELECT animals_search_mview.*, b.unbreeding_date, fates.loc AS fate_name, user_is_tgm (animals_search_mview.owner, 490) AS is_owner, user_is_tgm (animals_search_mview.editor, 490) AS is_editor, user_is_tgm (animals_search_mview.tourist, 490) AS is_tourist, strains.cancel_criteria, strains.symtoms, strains.reduce_severity_by, strains.sym_immune, strains.deleted as straindeleted, STRING_AGG(l."application_id" || ':' || l."title" || ' - ' || Date(lh."timestamp")::varchar, '; ') AS licensehistory, CASE WHEN NOT EXISTS ( SELECT 1 FROM scoresheet_diary sd WHERE sd.animals_id = animals_search_mview.id) THEN 'f' ELSE 't' END AS isscored FROM animals_search_mview INNER JOIN fates ON fates.id = animals_search_mview.fate LEFT JOIN strains ON strains.name = animals_search_mview.strain LEFT JOIN license_history lh ON lh.anid = animals_search_mview.id LEFT JOIN licenses l ON l.id = lh.licid left join breedings b ON b.id = animals_search_mview.last_mating GROUP BY animals_search_mview.id, b.unbreeding_date, fates.loc, strains.cancel_criteria, strains.symtoms, strains.reduce_severity_by, strains.sym_immune, straindeleted) data WHERE data.fate = 5 AND data.alive = 't' AND data.deleted = 'f' AND (is_owner OR is_editor OR is_tourist) and (data.straindeleted = 'f' or data.straindeleted is null) ORDER BY data.cage_name, data.animal_id, data.name;
Date: 2026-05-14 13:34:25 Duration: 728ms Database: zemm_produktiv_8 User: labanimal Application: _desktop_index.php_zemm_produktiv_8_localhost_5432 Log file: /var/log/postgresql/postgresql-2026-05-14_000000.csv
-
SELECT DISTINCT * FROM ( SELECT animals_search_mview.*, b.unbreeding_date, fates.loc AS fate_name, user_is_tgm (animals_search_mview.owner, 490) AS is_owner, user_is_tgm (animals_search_mview.editor, 490) AS is_editor, user_is_tgm (animals_search_mview.tourist, 490) AS is_tourist, strains.cancel_criteria, strains.symtoms, strains.reduce_severity_by, strains.sym_immune, strains.deleted as straindeleted, STRING_AGG(l."application_id" || ':' || l."title" || ' - ' || Date(lh."timestamp")::varchar, '; ') AS licensehistory, CASE WHEN NOT EXISTS ( SELECT 1 FROM scoresheet_diary sd WHERE sd.animals_id = animals_search_mview.id) THEN 'f' ELSE 't' END AS isscored FROM animals_search_mview INNER JOIN fates ON fates.id = animals_search_mview.fate LEFT JOIN strains ON strains.name = animals_search_mview.strain LEFT JOIN license_history lh ON lh.anid = animals_search_mview.id LEFT JOIN licenses l ON l.id = lh.licid left join breedings b ON b.id = animals_search_mview.last_mating GROUP BY animals_search_mview.id, b.unbreeding_date, fates.loc, strains.cancel_criteria, strains.symtoms, strains.reduce_severity_by, strains.sym_immune, straindeleted) data WHERE data.fate = 5 AND data.alive = 't' AND data.deleted = 'f' AND (is_owner OR is_editor OR is_tourist) and (data.straindeleted = 'f' or data.straindeleted is null) ORDER BY data.cage_name, data.animal_id, data.name;
Date: 2026-05-14 14:02:45 Duration: 728ms Database: zemm_produktiv_8 User: labanimal Application: _desktop_index.php_zemm_produktiv_8_localhost_5432 Log file: /var/log/postgresql/postgresql-2026-05-14_000000.csv
20 2s21ms 1 2s21ms 2s21ms 2s21ms 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 #20
Day Hour Count Duration Avg duration May 14 00 1 2s21ms 2s21ms [ User: postgres - Total duration: 2s21ms - Times executed: 1 ]
[ Application: pg_dump - Total duration: 2s21ms - 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-14 23:55:11 Duration: 2s21ms Database: zemm_produktiv_8 User: postgres Remote: [local] Application: pg_dump Log file: /var/log/postgresql/postgresql-2026-05-14_000000.csv
Most frequent queries (N)
Rank Times executed Total duration Min duration Max duration Avg duration Query 1 1,440 22m16s 682ms 1s517ms 928ms 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 14 01 60 0ms 0ms 02 60 19s806ms 330ms 03 60 40s978ms 682ms 04 60 40s978ms 682ms 05 60 40s978ms 682ms 06 60 40s978ms 682ms 07 60 40s978ms 682ms 08 60 40s978ms 682ms 09 60 40s978ms 682ms 10 60 40s978ms 682ms 11 60 40s978ms 682ms 12 60 40s978ms 682ms 13 60 40s978ms 682ms 14 60 42s109ms 701ms 15 60 43s550ms 725ms 16 60 52s170ms 869ms 17 60 1m31s 1s517ms 18 60 1m31s 1s517ms 19 60 1m31s 1s517ms 20 60 1m31s 1s517ms 21 60 1m31s 1s517ms 22 60 1m31s 1s517ms 23 60 1m31s 1s517ms 00 60 1m30s 1s509ms [ User: monitoring_admin - Total duration: 22m16s - Times executed: 1349 ]
-
CREATE INDEX IF NOT EXISTS idx_uptime_checks_key ON observability.uptime_checks (check_key, checked_at DESC);
Date: 2026-05-14 23:55:01 Duration: 1s517ms Database: zemm_monitoring User: monitoring_admin Log file: /var/log/postgresql/postgresql-2026-05-14_000000.csv
-
CREATE INDEX IF NOT EXISTS idx_uptime_checks_key ON observability.uptime_checks (check_key, checked_at DESC);
Date: 2026-05-14 23:59:01 Duration: 1s398ms Database: zemm_monitoring User: monitoring_admin Log file: /var/log/postgresql/postgresql-2026-05-14_000000.csv
-
CREATE INDEX IF NOT EXISTS idx_uptime_checks_key ON observability.uptime_checks (check_key, checked_at DESC);
Date: 2026-05-14 14:18:01 Duration: 733ms Database: zemm_monitoring User: monitoring_admin Log file: /var/log/postgresql/postgresql-2026-05-14_000000.csv
2 1,440 22m16s 682ms 1s517ms 928ms create schema if not exists observability;Times Reported Time consuming queries #2
Day Hour Count Duration Avg duration May 14 01 60 0ms 0ms 02 60 19s806ms 330ms 03 60 40s978ms 682ms 04 60 40s978ms 682ms 05 60 40s978ms 682ms 06 60 40s978ms 682ms 07 60 40s978ms 682ms 08 60 40s978ms 682ms 09 60 40s978ms 682ms 10 60 40s978ms 682ms 11 60 40s978ms 682ms 12 60 40s978ms 682ms 13 60 40s978ms 682ms 14 60 42s109ms 701ms 15 60 43s550ms 725ms 16 60 52s170ms 869ms 17 60 1m31s 1s517ms 18 60 1m31s 1s517ms 19 60 1m31s 1s517ms 20 60 1m31s 1s517ms 21 60 1m31s 1s517ms 22 60 1m31s 1s517ms 23 60 1m31s 1s517ms 00 60 1m30s 1s509ms [ User: monitoring_admin - Total duration: 22m16s - Times executed: 1349 ]
-
CREATE SCHEMA IF NOT EXISTS observability;
Date: 2026-05-14 23:55:01 Duration: 1s517ms Database: zemm_monitoring User: monitoring_admin Log file: /var/log/postgresql/postgresql-2026-05-14_000000.csv
-
CREATE SCHEMA IF NOT EXISTS observability;
Date: 2026-05-14 23:59:01 Duration: 1s398ms Database: zemm_monitoring User: monitoring_admin Log file: /var/log/postgresql/postgresql-2026-05-14_000000.csv
-
CREATE SCHEMA IF NOT EXISTS observability;
Date: 2026-05-14 14:18:01 Duration: 733ms Database: zemm_monitoring User: monitoring_admin Log file: /var/log/postgresql/postgresql-2026-05-14_000000.csv
3 1,440 22m16s 682ms 1s517ms 928ms 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 14 01 60 0ms 0ms 02 60 19s806ms 330ms 03 60 40s978ms 682ms 04 60 40s978ms 682ms 05 60 40s978ms 682ms 06 60 40s978ms 682ms 07 60 40s978ms 682ms 08 60 40s978ms 682ms 09 60 40s978ms 682ms 10 60 40s978ms 682ms 11 60 40s978ms 682ms 12 60 40s978ms 682ms 13 60 40s978ms 682ms 14 60 42s109ms 701ms 15 60 43s550ms 725ms 16 60 52s170ms 869ms 17 60 1m31s 1s517ms 18 60 1m31s 1s517ms 19 60 1m31s 1s517ms 20 60 1m31s 1s517ms 21 60 1m31s 1s517ms 22 60 1m31s 1s517ms 23 60 1m31s 1s517ms 00 60 1m30s 1s509ms [ User: monitoring_admin - Total duration: 22m16s - Times executed: 1349 ]
-
CREATE TABLE IF NOT EXISTS observability.metrics_timeseries ( id bigserial PRIMARY KEY, tenant_key text NOT NULL, metric_name text NOT NULL, bucket_start timestamptz NOT NULL, bucket_width_seconds integer NOT NULL DEFAULT 60, sum_value double precision NOT NULL DEFAULT 0, count_value bigint NOT NULL DEFAULT 0, histogram jsonb, created_at timestamptz NOT NULL DEFAULT NOW(), updated_at timestamptz NOT NULL DEFAULT NOW(), UNIQUE (tenant_key, metric_name, bucket_start, bucket_width_seconds) );
Date: 2026-05-14 23:55:01 Duration: 1s517ms Database: zemm_monitoring User: monitoring_admin Log file: /var/log/postgresql/postgresql-2026-05-14_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-14 23:59:01 Duration: 1s398ms Database: zemm_monitoring User: monitoring_admin Log file: /var/log/postgresql/postgresql-2026-05-14_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-14 14:18:01 Duration: 733ms Database: zemm_monitoring User: monitoring_admin Log file: /var/log/postgresql/postgresql-2026-05-14_000000.csv
4 1,440 22m16s 682ms 1s517ms 928ms 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 14 01 60 0ms 0ms 02 60 19s806ms 330ms 03 60 40s978ms 682ms 04 60 40s978ms 682ms 05 60 40s978ms 682ms 06 60 40s978ms 682ms 07 60 40s978ms 682ms 08 60 40s978ms 682ms 09 60 40s978ms 682ms 10 60 40s978ms 682ms 11 60 40s978ms 682ms 12 60 40s978ms 682ms 13 60 40s978ms 682ms 14 60 42s109ms 701ms 15 60 43s550ms 725ms 16 60 52s170ms 869ms 17 60 1m31s 1s517ms 18 60 1m31s 1s517ms 19 60 1m31s 1s517ms 20 60 1m31s 1s517ms 21 60 1m31s 1s517ms 22 60 1m31s 1s517ms 23 60 1m31s 1s517ms 00 60 1m30s 1s509ms [ User: monitoring_admin - Total duration: 22m16s - Times executed: 1349 ]
-
CREATE INDEX IF NOT EXISTS idx_app_events_tenant ON observability.app_events (tenant_key, occurred_at DESC);
Date: 2026-05-14 23:55:01 Duration: 1s517ms Database: zemm_monitoring User: monitoring_admin Log file: /var/log/postgresql/postgresql-2026-05-14_000000.csv
-
CREATE INDEX IF NOT EXISTS idx_app_events_tenant ON observability.app_events (tenant_key, occurred_at DESC);
Date: 2026-05-14 23:59:01 Duration: 1s398ms Database: zemm_monitoring User: monitoring_admin Log file: /var/log/postgresql/postgresql-2026-05-14_000000.csv
-
CREATE INDEX IF NOT EXISTS idx_app_events_tenant ON observability.app_events (tenant_key, occurred_at DESC);
Date: 2026-05-14 14:18:01 Duration: 733ms Database: zemm_monitoring User: monitoring_admin Log file: /var/log/postgresql/postgresql-2026-05-14_000000.csv
5 1,440 22m16s 682ms 1s517ms 928ms 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 14 01 60 0ms 0ms 02 60 19s806ms 330ms 03 60 40s978ms 682ms 04 60 40s978ms 682ms 05 60 40s978ms 682ms 06 60 40s978ms 682ms 07 60 40s978ms 682ms 08 60 40s978ms 682ms 09 60 40s978ms 682ms 10 60 40s978ms 682ms 11 60 40s978ms 682ms 12 60 40s978ms 682ms 13 60 40s978ms 682ms 14 60 42s109ms 701ms 15 60 43s550ms 725ms 16 60 52s170ms 869ms 17 60 1m31s 1s517ms 18 60 1m31s 1s517ms 19 60 1m31s 1s517ms 20 60 1m31s 1s517ms 21 60 1m31s 1s517ms 22 60 1m31s 1s517ms 23 60 1m31s 1s517ms 00 60 1m30s 1s509ms [ User: monitoring_admin - Total duration: 22m16s - Times executed: 1349 ]
-
CREATE INDEX IF NOT EXISTS idx_db_top_queries_tenant ON observability.db_top_queries (tenant_key, collected_at DESC);
Date: 2026-05-14 23:55:01 Duration: 1s517ms Database: zemm_monitoring User: monitoring_admin Log file: /var/log/postgresql/postgresql-2026-05-14_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-14 23:59:01 Duration: 1s398ms Database: zemm_monitoring User: monitoring_admin Log file: /var/log/postgresql/postgresql-2026-05-14_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-14 14:18:01 Duration: 733ms Database: zemm_monitoring User: monitoring_admin Log file: /var/log/postgresql/postgresql-2026-05-14_000000.csv
6 1,440 22m16s 682ms 1s517ms 928ms 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 14 01 60 0ms 0ms 02 60 19s806ms 330ms 03 60 40s978ms 682ms 04 60 40s978ms 682ms 05 60 40s978ms 682ms 06 60 40s978ms 682ms 07 60 40s978ms 682ms 08 60 40s978ms 682ms 09 60 40s978ms 682ms 10 60 40s978ms 682ms 11 60 40s978ms 682ms 12 60 40s978ms 682ms 13 60 40s978ms 682ms 14 60 42s109ms 701ms 15 60 43s550ms 725ms 16 60 52s170ms 869ms 17 60 1m31s 1s517ms 18 60 1m31s 1s517ms 19 60 1m31s 1s517ms 20 60 1m31s 1s517ms 21 60 1m31s 1s517ms 22 60 1m31s 1s517ms 23 60 1m31s 1s517ms 00 60 1m30s 1s509ms [ User: monitoring_admin - Total duration: 22m16s - Times executed: 1349 ]
-
CREATE INDEX IF NOT EXISTS idx_uptime_checks_endpoint ON observability.uptime_checks (endpoint, checked_at DESC);
Date: 2026-05-14 23:55:01 Duration: 1s517ms Database: zemm_monitoring User: monitoring_admin Log file: /var/log/postgresql/postgresql-2026-05-14_000000.csv
-
CREATE INDEX IF NOT EXISTS idx_uptime_checks_endpoint ON observability.uptime_checks (endpoint, checked_at DESC);
Date: 2026-05-14 23:59:01 Duration: 1s398ms Database: zemm_monitoring User: monitoring_admin Log file: /var/log/postgresql/postgresql-2026-05-14_000000.csv
-
CREATE INDEX IF NOT EXISTS idx_uptime_checks_endpoint ON observability.uptime_checks (endpoint, checked_at DESC);
Date: 2026-05-14 14:18:01 Duration: 733ms Database: zemm_monitoring User: monitoring_admin Log file: /var/log/postgresql/postgresql-2026-05-14_000000.csv
7 1,440 22m16s 682ms 1s517ms 928ms 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 14 01 60 0ms 0ms 02 60 19s806ms 330ms 03 60 40s978ms 682ms 04 60 40s978ms 682ms 05 60 40s978ms 682ms 06 60 40s978ms 682ms 07 60 40s978ms 682ms 08 60 40s978ms 682ms 09 60 40s978ms 682ms 10 60 40s978ms 682ms 11 60 40s978ms 682ms 12 60 40s978ms 682ms 13 60 40s978ms 682ms 14 60 42s109ms 701ms 15 60 43s550ms 725ms 16 60 52s170ms 869ms 17 60 1m31s 1s517ms 18 60 1m31s 1s517ms 19 60 1m31s 1s517ms 20 60 1m31s 1s517ms 21 60 1m31s 1s517ms 22 60 1m31s 1s517ms 23 60 1m31s 1s517ms 00 60 1m30s 1s509ms [ User: monitoring_admin - Total duration: 22m16s - Times executed: 1349 ]
-
CREATE TABLE IF NOT EXISTS observability.app_events ( id bigserial PRIMARY KEY, tenant_key text NOT NULL, event_type text NOT NULL, severity text NOT NULL, message text NOT NULL, payload jsonb, occurred_at timestamptz NOT NULL DEFAULT NOW(), created_at timestamptz NOT NULL DEFAULT NOW() );
Date: 2026-05-14 23:55:01 Duration: 1s517ms Database: zemm_monitoring User: monitoring_admin Log file: /var/log/postgresql/postgresql-2026-05-14_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-14 23:59:01 Duration: 1s398ms Database: zemm_monitoring User: monitoring_admin Log file: /var/log/postgresql/postgresql-2026-05-14_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-14 14:18:01 Duration: 733ms Database: zemm_monitoring User: monitoring_admin Log file: /var/log/postgresql/postgresql-2026-05-14_000000.csv
8 1,440 22m16s 682ms 1s517ms 928ms 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 #8
Day Hour Count Duration Avg duration May 14 01 60 0ms 0ms 02 60 19s806ms 330ms 03 60 40s978ms 682ms 04 60 40s978ms 682ms 05 60 40s978ms 682ms 06 60 40s978ms 682ms 07 60 40s978ms 682ms 08 60 40s978ms 682ms 09 60 40s978ms 682ms 10 60 40s978ms 682ms 11 60 40s978ms 682ms 12 60 40s978ms 682ms 13 60 40s978ms 682ms 14 60 42s109ms 701ms 15 60 43s550ms 725ms 16 60 52s170ms 869ms 17 60 1m31s 1s517ms 18 60 1m31s 1s517ms 19 60 1m31s 1s517ms 20 60 1m31s 1s517ms 21 60 1m31s 1s517ms 22 60 1m31s 1s517ms 23 60 1m31s 1s517ms 00 60 1m30s 1s509ms [ User: monitoring_admin - Total duration: 22m16s - Times executed: 1349 ]
-
CREATE TABLE IF NOT EXISTS observability.system_metrics ( id bigserial PRIMARY KEY, payload jsonb NOT NULL, collected_at timestamptz NOT NULL DEFAULT NOW() );
Date: 2026-05-14 23:55:01 Duration: 1s517ms Database: zemm_monitoring User: monitoring_admin Log file: /var/log/postgresql/postgresql-2026-05-14_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-14 23:59:01 Duration: 1s398ms Database: zemm_monitoring User: monitoring_admin Log file: /var/log/postgresql/postgresql-2026-05-14_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-14 14:18:01 Duration: 733ms Database: zemm_monitoring User: monitoring_admin Log file: /var/log/postgresql/postgresql-2026-05-14_000000.csv
9 1,440 22m16s 682ms 1s517ms 928ms create table if not exists observability.uptime_checks ( id bigserial primary key, endpoint text not null, status text not null, latency_ms double precision, checked_at timestamptz not null default now() );Times Reported Time consuming queries #9
Day Hour Count Duration Avg duration May 14 01 60 0ms 0ms 02 60 19s806ms 330ms 03 60 40s978ms 682ms 04 60 40s978ms 682ms 05 60 40s978ms 682ms 06 60 40s978ms 682ms 07 60 40s978ms 682ms 08 60 40s978ms 682ms 09 60 40s978ms 682ms 10 60 40s978ms 682ms 11 60 40s978ms 682ms 12 60 40s978ms 682ms 13 60 40s978ms 682ms 14 60 42s109ms 701ms 15 60 43s550ms 725ms 16 60 52s170ms 869ms 17 60 1m31s 1s517ms 18 60 1m31s 1s517ms 19 60 1m31s 1s517ms 20 60 1m31s 1s517ms 21 60 1m31s 1s517ms 22 60 1m31s 1s517ms 23 60 1m31s 1s517ms 00 60 1m30s 1s509ms [ User: monitoring_admin - Total duration: 22m16s - Times executed: 1349 ]
-
CREATE TABLE IF NOT EXISTS observability.uptime_checks ( id bigserial PRIMARY KEY, endpoint text NOT NULL, status text NOT NULL, latency_ms double precision, checked_at timestamptz NOT NULL DEFAULT NOW() );
Date: 2026-05-14 23:55:01 Duration: 1s517ms Database: zemm_monitoring User: monitoring_admin Log file: /var/log/postgresql/postgresql-2026-05-14_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-14 23:59:01 Duration: 1s398ms Database: zemm_monitoring User: monitoring_admin Log file: /var/log/postgresql/postgresql-2026-05-14_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-14 14:18:01 Duration: 733ms Database: zemm_monitoring User: monitoring_admin Log file: /var/log/postgresql/postgresql-2026-05-14_000000.csv
10 1,440 22m16s 682ms 1s517ms 928ms create table if not exists observability.db_top_queries ( id bigserial primary key, tenant_key text not null, fingerprint text, query text, mean_time_ms double precision, total_time_ms double precision, calls bigint, rows_returned bigint, collected_at timestamptz not null default now() );Times Reported Time consuming queries #10
Day Hour Count Duration Avg duration May 14 01 60 0ms 0ms 02 60 19s806ms 330ms 03 60 40s978ms 682ms 04 60 40s978ms 682ms 05 60 40s978ms 682ms 06 60 40s978ms 682ms 07 60 40s978ms 682ms 08 60 40s978ms 682ms 09 60 40s978ms 682ms 10 60 40s978ms 682ms 11 60 40s978ms 682ms 12 60 40s978ms 682ms 13 60 40s978ms 682ms 14 60 42s109ms 701ms 15 60 43s550ms 725ms 16 60 52s170ms 869ms 17 60 1m31s 1s517ms 18 60 1m31s 1s517ms 19 60 1m31s 1s517ms 20 60 1m31s 1s517ms 21 60 1m31s 1s517ms 22 60 1m31s 1s517ms 23 60 1m31s 1s517ms 00 60 1m30s 1s509ms [ User: monitoring_admin - Total duration: 22m16s - Times executed: 1349 ]
-
CREATE TABLE IF NOT EXISTS observability.db_top_queries ( id bigserial PRIMARY KEY, tenant_key text NOT NULL, fingerprint text, query text, mean_time_ms double precision, total_time_ms double precision, calls bigint, rows_returned bigint, collected_at timestamptz NOT NULL DEFAULT NOW() );
Date: 2026-05-14 23:55:01 Duration: 1s517ms Database: zemm_monitoring User: monitoring_admin Log file: /var/log/postgresql/postgresql-2026-05-14_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-14 23:59:01 Duration: 1s398ms Database: zemm_monitoring User: monitoring_admin Log file: /var/log/postgresql/postgresql-2026-05-14_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-14 14:18:01 Duration: 733ms Database: zemm_monitoring User: monitoring_admin Log file: /var/log/postgresql/postgresql-2026-05-14_000000.csv
11 1,440 22m16s 682ms 1s517ms 928ms alter table observability.uptime_checks add column if not exists label text;Times Reported Time consuming queries #11
Day Hour Count Duration Avg duration May 14 01 60 0ms 0ms 02 60 19s806ms 330ms 03 60 40s978ms 682ms 04 60 40s978ms 682ms 05 60 40s978ms 682ms 06 60 40s978ms 682ms 07 60 40s978ms 682ms 08 60 40s978ms 682ms 09 60 40s978ms 682ms 10 60 40s978ms 682ms 11 60 40s978ms 682ms 12 60 40s978ms 682ms 13 60 40s978ms 682ms 14 60 42s109ms 701ms 15 60 43s550ms 725ms 16 60 52s170ms 869ms 17 60 1m31s 1s517ms 18 60 1m31s 1s517ms 19 60 1m31s 1s517ms 20 60 1m31s 1s517ms 21 60 1m31s 1s517ms 22 60 1m31s 1s517ms 23 60 1m31s 1s517ms 00 60 1m30s 1s509ms [ User: monitoring_admin - Total duration: 22m16s - Times executed: 1349 ]
-
ALTER TABLE observability.uptime_checks ADD COLUMN IF NOT EXISTS label text;
Date: 2026-05-14 23:55:01 Duration: 1s517ms Database: zemm_monitoring User: monitoring_admin Log file: /var/log/postgresql/postgresql-2026-05-14_000000.csv
-
ALTER TABLE observability.uptime_checks ADD COLUMN IF NOT EXISTS label text;
Date: 2026-05-14 23:59:01 Duration: 1s398ms Database: zemm_monitoring User: monitoring_admin Log file: /var/log/postgresql/postgresql-2026-05-14_000000.csv
-
ALTER TABLE observability.uptime_checks ADD COLUMN IF NOT EXISTS label text;
Date: 2026-05-14 14:18:01 Duration: 733ms Database: zemm_monitoring User: monitoring_admin Log file: /var/log/postgresql/postgresql-2026-05-14_000000.csv
12 1,440 22m16s 682ms 1s517ms 928ms alter table observability.uptime_checks add column if not exists payload jsonb;Times Reported Time consuming queries #12
Day Hour Count Duration Avg duration May 14 01 60 0ms 0ms 02 60 19s806ms 330ms 03 60 40s978ms 682ms 04 60 40s978ms 682ms 05 60 40s978ms 682ms 06 60 40s978ms 682ms 07 60 40s978ms 682ms 08 60 40s978ms 682ms 09 60 40s978ms 682ms 10 60 40s978ms 682ms 11 60 40s978ms 682ms 12 60 40s978ms 682ms 13 60 40s978ms 682ms 14 60 42s109ms 701ms 15 60 43s550ms 725ms 16 60 52s170ms 869ms 17 60 1m31s 1s517ms 18 60 1m31s 1s517ms 19 60 1m31s 1s517ms 20 60 1m31s 1s517ms 21 60 1m31s 1s517ms 22 60 1m31s 1s517ms 23 60 1m31s 1s517ms 00 60 1m30s 1s509ms [ User: monitoring_admin - Total duration: 22m16s - Times executed: 1349 ]
-
ALTER TABLE observability.uptime_checks ADD COLUMN IF NOT EXISTS payload jsonb;
Date: 2026-05-14 23:55:01 Duration: 1s517ms Database: zemm_monitoring User: monitoring_admin Log file: /var/log/postgresql/postgresql-2026-05-14_000000.csv
-
ALTER TABLE observability.uptime_checks ADD COLUMN IF NOT EXISTS payload jsonb;
Date: 2026-05-14 23:59:01 Duration: 1s398ms Database: zemm_monitoring User: monitoring_admin Log file: /var/log/postgresql/postgresql-2026-05-14_000000.csv
-
ALTER TABLE observability.uptime_checks ADD COLUMN IF NOT EXISTS payload jsonb;
Date: 2026-05-14 14:18:01 Duration: 733ms Database: zemm_monitoring User: monitoring_admin Log file: /var/log/postgresql/postgresql-2026-05-14_000000.csv
13 1,440 22m16s 682ms 1s517ms 928ms create index if not exists idx_metrics_timeseries_metric on observability.metrics_timeseries (metric_name);Times Reported Time consuming queries #13
Day Hour Count Duration Avg duration May 14 01 60 0ms 0ms 02 60 19s806ms 330ms 03 60 40s978ms 682ms 04 60 40s978ms 682ms 05 60 40s978ms 682ms 06 60 40s978ms 682ms 07 60 40s978ms 682ms 08 60 40s978ms 682ms 09 60 40s978ms 682ms 10 60 40s978ms 682ms 11 60 40s978ms 682ms 12 60 40s978ms 682ms 13 60 40s978ms 682ms 14 60 42s109ms 701ms 15 60 43s550ms 725ms 16 60 52s170ms 869ms 17 60 1m31s 1s517ms 18 60 1m31s 1s517ms 19 60 1m31s 1s517ms 20 60 1m31s 1s517ms 21 60 1m31s 1s517ms 22 60 1m31s 1s517ms 23 60 1m31s 1s517ms 00 60 1m30s 1s509ms [ User: monitoring_admin - Total duration: 22m16s - Times executed: 1349 ]
-
CREATE INDEX IF NOT EXISTS idx_metrics_timeseries_metric ON observability.metrics_timeseries (metric_name);
Date: 2026-05-14 23:55:01 Duration: 1s517ms Database: zemm_monitoring User: monitoring_admin Log file: /var/log/postgresql/postgresql-2026-05-14_000000.csv
-
CREATE INDEX IF NOT EXISTS idx_metrics_timeseries_metric ON observability.metrics_timeseries (metric_name);
Date: 2026-05-14 23:59:01 Duration: 1s398ms Database: zemm_monitoring User: monitoring_admin Log file: /var/log/postgresql/postgresql-2026-05-14_000000.csv
-
CREATE INDEX IF NOT EXISTS idx_metrics_timeseries_metric ON observability.metrics_timeseries (metric_name);
Date: 2026-05-14 14:18:01 Duration: 733ms Database: zemm_monitoring User: monitoring_admin Log file: /var/log/postgresql/postgresql-2026-05-14_000000.csv
14 1,440 22m16s 682ms 1s517ms 928ms create index if not exists idx_app_events_type on observability.app_events (event_type);Times Reported Time consuming queries #14
Day Hour Count Duration Avg duration May 14 01 60 0ms 0ms 02 60 19s806ms 330ms 03 60 40s978ms 682ms 04 60 40s978ms 682ms 05 60 40s978ms 682ms 06 60 40s978ms 682ms 07 60 40s978ms 682ms 08 60 40s978ms 682ms 09 60 40s978ms 682ms 10 60 40s978ms 682ms 11 60 40s978ms 682ms 12 60 40s978ms 682ms 13 60 40s978ms 682ms 14 60 42s109ms 701ms 15 60 43s550ms 725ms 16 60 52s170ms 869ms 17 60 1m31s 1s517ms 18 60 1m31s 1s517ms 19 60 1m31s 1s517ms 20 60 1m31s 1s517ms 21 60 1m31s 1s517ms 22 60 1m31s 1s517ms 23 60 1m31s 1s517ms 00 60 1m30s 1s509ms [ User: monitoring_admin - Total duration: 22m16s - Times executed: 1349 ]
-
CREATE INDEX IF NOT EXISTS idx_app_events_type ON observability.app_events (event_type);
Date: 2026-05-14 23:55:01 Duration: 1s517ms Database: zemm_monitoring User: monitoring_admin Log file: /var/log/postgresql/postgresql-2026-05-14_000000.csv
-
CREATE INDEX IF NOT EXISTS idx_app_events_type ON observability.app_events (event_type);
Date: 2026-05-14 23:59:01 Duration: 1s398ms Database: zemm_monitoring User: monitoring_admin Log file: /var/log/postgresql/postgresql-2026-05-14_000000.csv
-
CREATE INDEX IF NOT EXISTS idx_app_events_type ON observability.app_events (event_type);
Date: 2026-05-14 14:18:01 Duration: 733ms Database: zemm_monitoring User: monitoring_admin Log file: /var/log/postgresql/postgresql-2026-05-14_000000.csv
15 1,440 22m16s 682ms 1s517ms 928ms 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 #15
Day Hour Count Duration Avg duration May 14 01 60 0ms 0ms 02 60 19s806ms 330ms 03 60 40s978ms 682ms 04 60 40s978ms 682ms 05 60 40s978ms 682ms 06 60 40s978ms 682ms 07 60 40s978ms 682ms 08 60 40s978ms 682ms 09 60 40s978ms 682ms 10 60 40s978ms 682ms 11 60 40s978ms 682ms 12 60 40s978ms 682ms 13 60 40s978ms 682ms 14 60 42s109ms 701ms 15 60 43s550ms 725ms 16 60 52s170ms 869ms 17 60 1m31s 1s517ms 18 60 1m31s 1s517ms 19 60 1m31s 1s517ms 20 60 1m31s 1s517ms 21 60 1m31s 1s517ms 22 60 1m31s 1s517ms 23 60 1m31s 1s517ms 00 60 1m30s 1s509ms [ User: monitoring_admin - Total duration: 22m16s - Times executed: 1349 ]
-
CREATE TABLE IF NOT EXISTS observability.phpfpm_counters ( id bigserial PRIMARY KEY, payload jsonb NOT NULL, collected_at timestamptz NOT NULL DEFAULT NOW() );
Date: 2026-05-14 23:55:01 Duration: 1s517ms Database: zemm_monitoring User: monitoring_admin Log file: /var/log/postgresql/postgresql-2026-05-14_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-14 23:59:01 Duration: 1s398ms Database: zemm_monitoring User: monitoring_admin Log file: /var/log/postgresql/postgresql-2026-05-14_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-14 14:18:01 Duration: 733ms Database: zemm_monitoring User: monitoring_admin Log file: /var/log/postgresql/postgresql-2026-05-14_000000.csv
16 1,440 22m16s 682ms 1s517ms 928ms 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 14 01 60 0ms 0ms 02 60 19s806ms 330ms 03 60 40s978ms 682ms 04 60 40s978ms 682ms 05 60 40s978ms 682ms 06 60 40s978ms 682ms 07 60 40s978ms 682ms 08 60 40s978ms 682ms 09 60 40s978ms 682ms 10 60 40s978ms 682ms 11 60 40s978ms 682ms 12 60 40s978ms 682ms 13 60 40s978ms 682ms 14 60 42s109ms 701ms 15 60 43s550ms 725ms 16 60 52s170ms 869ms 17 60 1m31s 1s517ms 18 60 1m31s 1s517ms 19 60 1m31s 1s517ms 20 60 1m31s 1s517ms 21 60 1m31s 1s517ms 22 60 1m31s 1s517ms 23 60 1m31s 1s517ms 00 60 1m30s 1s509ms [ User: monitoring_admin - Total duration: 22m16s - Times executed: 1349 ]
-
CREATE INDEX IF NOT EXISTS idx_metrics_timeseries_bucket ON observability.metrics_timeseries (bucket_start);
Date: 2026-05-14 23:55:01 Duration: 1s517ms Database: zemm_monitoring User: monitoring_admin Log file: /var/log/postgresql/postgresql-2026-05-14_000000.csv
-
CREATE INDEX IF NOT EXISTS idx_metrics_timeseries_bucket ON observability.metrics_timeseries (bucket_start);
Date: 2026-05-14 23:59:01 Duration: 1s398ms Database: zemm_monitoring User: monitoring_admin Log file: /var/log/postgresql/postgresql-2026-05-14_000000.csv
-
CREATE INDEX IF NOT EXISTS idx_metrics_timeseries_bucket ON observability.metrics_timeseries (bucket_start);
Date: 2026-05-14 14:18:01 Duration: 733ms Database: zemm_monitoring User: monitoring_admin Log file: /var/log/postgresql/postgresql-2026-05-14_000000.csv
17 1,440 22m16s 682ms 1s517ms 928ms 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 #17
Day Hour Count Duration Avg duration May 14 01 60 0ms 0ms 02 60 19s806ms 330ms 03 60 40s978ms 682ms 04 60 40s978ms 682ms 05 60 40s978ms 682ms 06 60 40s978ms 682ms 07 60 40s978ms 682ms 08 60 40s978ms 682ms 09 60 40s978ms 682ms 10 60 40s978ms 682ms 11 60 40s978ms 682ms 12 60 40s978ms 682ms 13 60 40s978ms 682ms 14 60 42s109ms 701ms 15 60 43s550ms 725ms 16 60 52s170ms 869ms 17 60 1m31s 1s517ms 18 60 1m31s 1s517ms 19 60 1m31s 1s517ms 20 60 1m31s 1s517ms 21 60 1m31s 1s517ms 22 60 1m31s 1s517ms 23 60 1m31s 1s517ms 00 60 1m30s 1s509ms [ User: monitoring_admin - Total duration: 22m16s - Times executed: 1349 ]
-
CREATE TABLE IF NOT EXISTS observability.nginx_counters ( id bigserial PRIMARY KEY, payload jsonb NOT NULL, collected_at timestamptz NOT NULL DEFAULT NOW() );
Date: 2026-05-14 23:55:01 Duration: 1s517ms Database: zemm_monitoring User: monitoring_admin Log file: /var/log/postgresql/postgresql-2026-05-14_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-14 23:59:01 Duration: 1s398ms Database: zemm_monitoring User: monitoring_admin Log file: /var/log/postgresql/postgresql-2026-05-14_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-14 14:18:01 Duration: 733ms Database: zemm_monitoring User: monitoring_admin Log file: /var/log/postgresql/postgresql-2026-05-14_000000.csv
18 7 5s700ms 805ms 825ms 814ms select count(distinct animal_id) AS "count" from ( select animals_search_mview.*, b.unbreeding_date, a.id as animal, user_is_tgm (animals_search_mview.owner, ?) as is_owner, user_is_tgm (animals_search_mview.editor, ?) as is_editor, user_is_tgm (animals_search_mview.tourist, ?) as is_tourist, case when not exists ( select ? from scoresheet_diary sd where sd.animals_id = animals_search_mview.id) then ? else ? end as isscored from animals_search_mview left join strains on strains.name = animals_search_mview.strain left join license_history lh on lh.anid = animals_search_mview.id left join animals a on a."animalID" = animals_search_mview.animal_id left join breedings b on b.id = animals_search_mview.last_mating) data where fate = ? and alive = ? and deleted = ? and (is_owner or is_editor or is_tourist);Times Reported Time consuming queries #18
Day Hour Count Duration Avg duration May 14 14 1 825ms 825ms 15 6 4s875ms 812ms [ User: labanimal - Total duration: 5s700ms - Times executed: 7 ]
[ Application: _desktop_index.php_zemm_produktiv_8_localhost_5432 - Total duration: 5s700ms - Times executed: 7 ]
-
SELECT COUNT(DISTINCT animal_id) AS "count" FROM ( SELECT animals_search_mview.*, b.unbreeding_date, a.id as animal, user_is_tgm (animals_search_mview.owner, 490) AS is_owner, user_is_tgm (animals_search_mview.editor, 490) AS is_editor, user_is_tgm (animals_search_mview.tourist, 490) AS is_tourist, CASE WHEN NOT EXISTS ( SELECT 1 FROM scoresheet_diary sd WHERE sd.animals_id = animals_search_mview.id) THEN 'f' ELSE 't' END AS isscored FROM animals_search_mview LEFT JOIN strains ON strains.name = animals_search_mview.strain LEFT JOIN license_history lh ON lh.anid = animals_search_mview.id LEFT JOIN animals a ON a."animalID" = animals_search_mview.animal_id LEFT JOIN breedings b ON b.id = animals_search_mview.last_mating) data WHERE fate = 5 AND alive = 't' AND deleted = 'f' AND (is_owner OR is_editor OR is_tourist);
Date: 2026-05-14 13:34:24 Duration: 825ms Database: zemm_produktiv_8 User: labanimal Application: _desktop_index.php_zemm_produktiv_8_localhost_5432 Log file: /var/log/postgresql/postgresql-2026-05-14_000000.csv
-
SELECT COUNT(DISTINCT animal_id) AS "count" FROM ( SELECT animals_search_mview.*, b.unbreeding_date, a.id as animal, user_is_tgm (animals_search_mview.owner, 490) AS is_owner, user_is_tgm (animals_search_mview.editor, 490) AS is_editor, user_is_tgm (animals_search_mview.tourist, 490) AS is_tourist, CASE WHEN NOT EXISTS ( SELECT 1 FROM scoresheet_diary sd WHERE sd.animals_id = animals_search_mview.id) THEN 'f' ELSE 't' END AS isscored FROM animals_search_mview LEFT JOIN strains ON strains.name = animals_search_mview.strain LEFT JOIN license_history lh ON lh.anid = animals_search_mview.id LEFT JOIN animals a ON a."animalID" = animals_search_mview.animal_id LEFT JOIN breedings b ON b.id = animals_search_mview.last_mating) data WHERE fate = 5 AND alive = 't' AND deleted = 'f' AND (is_owner OR is_editor OR is_tourist);
Date: 2026-05-14 14:02:44 Duration: 816ms Database: zemm_produktiv_8 User: labanimal Application: _desktop_index.php_zemm_produktiv_8_localhost_5432 Log file: /var/log/postgresql/postgresql-2026-05-14_000000.csv
-
SELECT COUNT(DISTINCT animal_id) AS "count" FROM ( SELECT animals_search_mview.*, b.unbreeding_date, a.id as animal, user_is_tgm (animals_search_mview.owner, 490) AS is_owner, user_is_tgm (animals_search_mview.editor, 490) AS is_editor, user_is_tgm (animals_search_mview.tourist, 490) AS is_tourist, CASE WHEN NOT EXISTS ( SELECT 1 FROM scoresheet_diary sd WHERE sd.animals_id = animals_search_mview.id) THEN 'f' ELSE 't' END AS isscored FROM animals_search_mview LEFT JOIN strains ON strains.name = animals_search_mview.strain LEFT JOIN license_history lh ON lh.anid = animals_search_mview.id LEFT JOIN animals a ON a."animalID" = animals_search_mview.animal_id LEFT JOIN breedings b ON b.id = animals_search_mview.last_mating) data WHERE fate = 5 AND alive = 't' AND deleted = 'f' AND (is_owner OR is_editor OR is_tourist);
Date: 2026-05-14 14:18:20 Duration: 815ms Database: zemm_produktiv_8 User: labanimal Application: _desktop_index.php_zemm_produktiv_8_localhost_5432 Log file: /var/log/postgresql/postgresql-2026-05-14_000000.csv
19 7 5s81ms 720ms 733ms 725ms select distinct * from ( select animals_search_mview.*, b.unbreeding_date, fates.loc as fate_name, user_is_tgm (animals_search_mview.owner, ?) as is_owner, user_is_tgm (animals_search_mview.editor, ?) as is_editor, user_is_tgm (animals_search_mview.tourist, ?) as is_tourist, strains.cancel_criteria, strains.symtoms, strains.reduce_severity_by, strains.sym_immune, strains.deleted as straindeleted, string_agg(l."application_id" || ? || l."title" || ? || date(lh."timestamp")::varchar, ?) as licensehistory, case when not exists ( select ? from scoresheet_diary sd where sd.animals_id = animals_search_mview.id) then ? else ? end as isscored from animals_search_mview inner join fates on fates.id = animals_search_mview.fate left join strains on strains.name = animals_search_mview.strain left join license_history lh on lh.anid = animals_search_mview.id left join licenses l on l.id = lh.licid left join breedings b on b.id = animals_search_mview.last_mating group by animals_search_mview.id, b.unbreeding_date, fates.loc, strains.cancel_criteria, strains.symtoms, strains.reduce_severity_by, strains.sym_immune, straindeleted) data where data.fate = ? and data.alive = ? and data.deleted = ? and (is_owner or is_editor or is_tourist) and (data.straindeleted = ? or data.straindeleted is null) order by data.cage_name, data.animal_id, data.name;Times Reported Time consuming queries #19
Day Hour Count Duration Avg duration May 14 14 1 728ms 728ms 15 6 4s352ms 725ms [ User: labanimal - Total duration: 5s81ms - Times executed: 7 ]
[ Application: _desktop_index.php_zemm_produktiv_8_localhost_5432 - Total duration: 5s81ms - Times executed: 7 ]
-
SELECT DISTINCT * FROM ( SELECT animals_search_mview.*, b.unbreeding_date, fates.loc AS fate_name, user_is_tgm (animals_search_mview.owner, 490) AS is_owner, user_is_tgm (animals_search_mview.editor, 490) AS is_editor, user_is_tgm (animals_search_mview.tourist, 490) AS is_tourist, strains.cancel_criteria, strains.symtoms, strains.reduce_severity_by, strains.sym_immune, strains.deleted as straindeleted, STRING_AGG(l."application_id" || ':' || l."title" || ' - ' || Date(lh."timestamp")::varchar, '; ') AS licensehistory, CASE WHEN NOT EXISTS ( SELECT 1 FROM scoresheet_diary sd WHERE sd.animals_id = animals_search_mview.id) THEN 'f' ELSE 't' END AS isscored FROM animals_search_mview INNER JOIN fates ON fates.id = animals_search_mview.fate LEFT JOIN strains ON strains.name = animals_search_mview.strain LEFT JOIN license_history lh ON lh.anid = animals_search_mview.id LEFT JOIN licenses l ON l.id = lh.licid left join breedings b ON b.id = animals_search_mview.last_mating GROUP BY animals_search_mview.id, b.unbreeding_date, fates.loc, strains.cancel_criteria, strains.symtoms, strains.reduce_severity_by, strains.sym_immune, straindeleted) data WHERE data.fate = 5 AND data.alive = 't' AND data.deleted = 'f' AND (is_owner OR is_editor OR is_tourist) and (data.straindeleted = 'f' or data.straindeleted is null) ORDER BY data.cage_name, data.animal_id, data.name;
Date: 2026-05-14 14:06:23 Duration: 733ms Database: zemm_produktiv_8 User: labanimal Application: _desktop_index.php_zemm_produktiv_8_localhost_5432 Log file: /var/log/postgresql/postgresql-2026-05-14_000000.csv
-
SELECT DISTINCT * FROM ( SELECT animals_search_mview.*, b.unbreeding_date, fates.loc AS fate_name, user_is_tgm (animals_search_mview.owner, 490) AS is_owner, user_is_tgm (animals_search_mview.editor, 490) AS is_editor, user_is_tgm (animals_search_mview.tourist, 490) AS is_tourist, strains.cancel_criteria, strains.symtoms, strains.reduce_severity_by, strains.sym_immune, strains.deleted as straindeleted, STRING_AGG(l."application_id" || ':' || l."title" || ' - ' || Date(lh."timestamp")::varchar, '; ') AS licensehistory, CASE WHEN NOT EXISTS ( SELECT 1 FROM scoresheet_diary sd WHERE sd.animals_id = animals_search_mview.id) THEN 'f' ELSE 't' END AS isscored FROM animals_search_mview INNER JOIN fates ON fates.id = animals_search_mview.fate LEFT JOIN strains ON strains.name = animals_search_mview.strain LEFT JOIN license_history lh ON lh.anid = animals_search_mview.id LEFT JOIN licenses l ON l.id = lh.licid left join breedings b ON b.id = animals_search_mview.last_mating GROUP BY animals_search_mview.id, b.unbreeding_date, fates.loc, strains.cancel_criteria, strains.symtoms, strains.reduce_severity_by, strains.sym_immune, straindeleted) data WHERE data.fate = 5 AND data.alive = 't' AND data.deleted = 'f' AND (is_owner OR is_editor OR is_tourist) and (data.straindeleted = 'f' or data.straindeleted is null) ORDER BY data.cage_name, data.animal_id, data.name;
Date: 2026-05-14 13:34:25 Duration: 728ms Database: zemm_produktiv_8 User: labanimal Application: _desktop_index.php_zemm_produktiv_8_localhost_5432 Log file: /var/log/postgresql/postgresql-2026-05-14_000000.csv
-
SELECT DISTINCT * FROM ( SELECT animals_search_mview.*, b.unbreeding_date, fates.loc AS fate_name, user_is_tgm (animals_search_mview.owner, 490) AS is_owner, user_is_tgm (animals_search_mview.editor, 490) AS is_editor, user_is_tgm (animals_search_mview.tourist, 490) AS is_tourist, strains.cancel_criteria, strains.symtoms, strains.reduce_severity_by, strains.sym_immune, strains.deleted as straindeleted, STRING_AGG(l."application_id" || ':' || l."title" || ' - ' || Date(lh."timestamp")::varchar, '; ') AS licensehistory, CASE WHEN NOT EXISTS ( SELECT 1 FROM scoresheet_diary sd WHERE sd.animals_id = animals_search_mview.id) THEN 'f' ELSE 't' END AS isscored FROM animals_search_mview INNER JOIN fates ON fates.id = animals_search_mview.fate LEFT JOIN strains ON strains.name = animals_search_mview.strain LEFT JOIN license_history lh ON lh.anid = animals_search_mview.id LEFT JOIN licenses l ON l.id = lh.licid left join breedings b ON b.id = animals_search_mview.last_mating GROUP BY animals_search_mview.id, b.unbreeding_date, fates.loc, strains.cancel_criteria, strains.symtoms, strains.reduce_severity_by, strains.sym_immune, straindeleted) data WHERE data.fate = 5 AND data.alive = 't' AND data.deleted = 'f' AND (is_owner OR is_editor OR is_tourist) and (data.straindeleted = 'f' or data.straindeleted is null) ORDER BY data.cage_name, data.animal_id, data.name;
Date: 2026-05-14 14:02:45 Duration: 728ms Database: zemm_produktiv_8 User: labanimal Application: _desktop_index.php_zemm_produktiv_8_localhost_5432 Log file: /var/log/postgresql/postgresql-2026-05-14_000000.csv
20 1 2s21ms 2s21ms 2s21ms 2s21ms 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 #20
Day Hour Count Duration Avg duration May 14 00 1 2s21ms 2s21ms [ User: postgres - Total duration: 2s21ms - Times executed: 1 ]
[ Application: pg_dump - Total duration: 2s21ms - 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-14 23:55:11 Duration: 2s21ms Database: zemm_produktiv_8 User: postgres Remote: [local] Application: pg_dump Log file: /var/log/postgresql/postgresql-2026-05-14_000000.csv
Normalized slowest queries (N)
Rank Min duration Max duration Avg duration Times executed Total duration Query 1 2s21ms 2s21ms 2s21ms 1 2s21ms 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 #1
Day Hour Count Duration Avg duration May 14 00 1 2s21ms 2s21ms [ User: postgres - Total duration: 2s21ms - Times executed: 1 ]
[ Application: pg_dump - Total duration: 2s21ms - 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-14 23:55:11 Duration: 2s21ms Database: zemm_produktiv_8 User: postgres Remote: [local] Application: pg_dump Log file: /var/log/postgresql/postgresql-2026-05-14_000000.csv
2 682ms 1s517ms 928ms 1,440 22m16s create index if not exists idx_uptime_checks_key on observability.uptime_checks (check_key, checked_at desc);Times Reported Time consuming queries #2
Day Hour Count Duration Avg duration May 14 01 60 0ms 0ms 02 60 19s806ms 330ms 03 60 40s978ms 682ms 04 60 40s978ms 682ms 05 60 40s978ms 682ms 06 60 40s978ms 682ms 07 60 40s978ms 682ms 08 60 40s978ms 682ms 09 60 40s978ms 682ms 10 60 40s978ms 682ms 11 60 40s978ms 682ms 12 60 40s978ms 682ms 13 60 40s978ms 682ms 14 60 42s109ms 701ms 15 60 43s550ms 725ms 16 60 52s170ms 869ms 17 60 1m31s 1s517ms 18 60 1m31s 1s517ms 19 60 1m31s 1s517ms 20 60 1m31s 1s517ms 21 60 1m31s 1s517ms 22 60 1m31s 1s517ms 23 60 1m31s 1s517ms 00 60 1m30s 1s509ms [ User: monitoring_admin - Total duration: 22m16s - Times executed: 1349 ]
-
CREATE INDEX IF NOT EXISTS idx_uptime_checks_key ON observability.uptime_checks (check_key, checked_at DESC);
Date: 2026-05-14 23:55:01 Duration: 1s517ms Database: zemm_monitoring User: monitoring_admin Log file: /var/log/postgresql/postgresql-2026-05-14_000000.csv
-
CREATE INDEX IF NOT EXISTS idx_uptime_checks_key ON observability.uptime_checks (check_key, checked_at DESC);
Date: 2026-05-14 23:59:01 Duration: 1s398ms Database: zemm_monitoring User: monitoring_admin Log file: /var/log/postgresql/postgresql-2026-05-14_000000.csv
-
CREATE INDEX IF NOT EXISTS idx_uptime_checks_key ON observability.uptime_checks (check_key, checked_at DESC);
Date: 2026-05-14 14:18:01 Duration: 733ms Database: zemm_monitoring User: monitoring_admin Log file: /var/log/postgresql/postgresql-2026-05-14_000000.csv
3 682ms 1s517ms 928ms 1,440 22m16s create schema if not exists observability;Times Reported Time consuming queries #3
Day Hour Count Duration Avg duration May 14 01 60 0ms 0ms 02 60 19s806ms 330ms 03 60 40s978ms 682ms 04 60 40s978ms 682ms 05 60 40s978ms 682ms 06 60 40s978ms 682ms 07 60 40s978ms 682ms 08 60 40s978ms 682ms 09 60 40s978ms 682ms 10 60 40s978ms 682ms 11 60 40s978ms 682ms 12 60 40s978ms 682ms 13 60 40s978ms 682ms 14 60 42s109ms 701ms 15 60 43s550ms 725ms 16 60 52s170ms 869ms 17 60 1m31s 1s517ms 18 60 1m31s 1s517ms 19 60 1m31s 1s517ms 20 60 1m31s 1s517ms 21 60 1m31s 1s517ms 22 60 1m31s 1s517ms 23 60 1m31s 1s517ms 00 60 1m30s 1s509ms [ User: monitoring_admin - Total duration: 22m16s - Times executed: 1349 ]
-
CREATE SCHEMA IF NOT EXISTS observability;
Date: 2026-05-14 23:55:01 Duration: 1s517ms Database: zemm_monitoring User: monitoring_admin Log file: /var/log/postgresql/postgresql-2026-05-14_000000.csv
-
CREATE SCHEMA IF NOT EXISTS observability;
Date: 2026-05-14 23:59:01 Duration: 1s398ms Database: zemm_monitoring User: monitoring_admin Log file: /var/log/postgresql/postgresql-2026-05-14_000000.csv
-
CREATE SCHEMA IF NOT EXISTS observability;
Date: 2026-05-14 14:18:01 Duration: 733ms Database: zemm_monitoring User: monitoring_admin Log file: /var/log/postgresql/postgresql-2026-05-14_000000.csv
4 682ms 1s517ms 928ms 1,440 22m16s 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 #4
Day Hour Count Duration Avg duration May 14 01 60 0ms 0ms 02 60 19s806ms 330ms 03 60 40s978ms 682ms 04 60 40s978ms 682ms 05 60 40s978ms 682ms 06 60 40s978ms 682ms 07 60 40s978ms 682ms 08 60 40s978ms 682ms 09 60 40s978ms 682ms 10 60 40s978ms 682ms 11 60 40s978ms 682ms 12 60 40s978ms 682ms 13 60 40s978ms 682ms 14 60 42s109ms 701ms 15 60 43s550ms 725ms 16 60 52s170ms 869ms 17 60 1m31s 1s517ms 18 60 1m31s 1s517ms 19 60 1m31s 1s517ms 20 60 1m31s 1s517ms 21 60 1m31s 1s517ms 22 60 1m31s 1s517ms 23 60 1m31s 1s517ms 00 60 1m30s 1s509ms [ User: monitoring_admin - Total duration: 22m16s - Times executed: 1349 ]
-
CREATE TABLE IF NOT EXISTS observability.metrics_timeseries ( id bigserial PRIMARY KEY, tenant_key text NOT NULL, metric_name text NOT NULL, bucket_start timestamptz NOT NULL, bucket_width_seconds integer NOT NULL DEFAULT 60, sum_value double precision NOT NULL DEFAULT 0, count_value bigint NOT NULL DEFAULT 0, histogram jsonb, created_at timestamptz NOT NULL DEFAULT NOW(), updated_at timestamptz NOT NULL DEFAULT NOW(), UNIQUE (tenant_key, metric_name, bucket_start, bucket_width_seconds) );
Date: 2026-05-14 23:55:01 Duration: 1s517ms Database: zemm_monitoring User: monitoring_admin Log file: /var/log/postgresql/postgresql-2026-05-14_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-14 23:59:01 Duration: 1s398ms Database: zemm_monitoring User: monitoring_admin Log file: /var/log/postgresql/postgresql-2026-05-14_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-14 14:18:01 Duration: 733ms Database: zemm_monitoring User: monitoring_admin Log file: /var/log/postgresql/postgresql-2026-05-14_000000.csv
5 682ms 1s517ms 928ms 1,440 22m16s create index if not exists idx_app_events_tenant on observability.app_events (tenant_key, occurred_at desc);Times Reported Time consuming queries #5
Day Hour Count Duration Avg duration May 14 01 60 0ms 0ms 02 60 19s806ms 330ms 03 60 40s978ms 682ms 04 60 40s978ms 682ms 05 60 40s978ms 682ms 06 60 40s978ms 682ms 07 60 40s978ms 682ms 08 60 40s978ms 682ms 09 60 40s978ms 682ms 10 60 40s978ms 682ms 11 60 40s978ms 682ms 12 60 40s978ms 682ms 13 60 40s978ms 682ms 14 60 42s109ms 701ms 15 60 43s550ms 725ms 16 60 52s170ms 869ms 17 60 1m31s 1s517ms 18 60 1m31s 1s517ms 19 60 1m31s 1s517ms 20 60 1m31s 1s517ms 21 60 1m31s 1s517ms 22 60 1m31s 1s517ms 23 60 1m31s 1s517ms 00 60 1m30s 1s509ms [ User: monitoring_admin - Total duration: 22m16s - Times executed: 1349 ]
-
CREATE INDEX IF NOT EXISTS idx_app_events_tenant ON observability.app_events (tenant_key, occurred_at DESC);
Date: 2026-05-14 23:55:01 Duration: 1s517ms Database: zemm_monitoring User: monitoring_admin Log file: /var/log/postgresql/postgresql-2026-05-14_000000.csv
-
CREATE INDEX IF NOT EXISTS idx_app_events_tenant ON observability.app_events (tenant_key, occurred_at DESC);
Date: 2026-05-14 23:59:01 Duration: 1s398ms Database: zemm_monitoring User: monitoring_admin Log file: /var/log/postgresql/postgresql-2026-05-14_000000.csv
-
CREATE INDEX IF NOT EXISTS idx_app_events_tenant ON observability.app_events (tenant_key, occurred_at DESC);
Date: 2026-05-14 14:18:01 Duration: 733ms Database: zemm_monitoring User: monitoring_admin Log file: /var/log/postgresql/postgresql-2026-05-14_000000.csv
6 682ms 1s517ms 928ms 1,440 22m16s 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 #6
Day Hour Count Duration Avg duration May 14 01 60 0ms 0ms 02 60 19s806ms 330ms 03 60 40s978ms 682ms 04 60 40s978ms 682ms 05 60 40s978ms 682ms 06 60 40s978ms 682ms 07 60 40s978ms 682ms 08 60 40s978ms 682ms 09 60 40s978ms 682ms 10 60 40s978ms 682ms 11 60 40s978ms 682ms 12 60 40s978ms 682ms 13 60 40s978ms 682ms 14 60 42s109ms 701ms 15 60 43s550ms 725ms 16 60 52s170ms 869ms 17 60 1m31s 1s517ms 18 60 1m31s 1s517ms 19 60 1m31s 1s517ms 20 60 1m31s 1s517ms 21 60 1m31s 1s517ms 22 60 1m31s 1s517ms 23 60 1m31s 1s517ms 00 60 1m30s 1s509ms [ User: monitoring_admin - Total duration: 22m16s - Times executed: 1349 ]
-
CREATE INDEX IF NOT EXISTS idx_db_top_queries_tenant ON observability.db_top_queries (tenant_key, collected_at DESC);
Date: 2026-05-14 23:55:01 Duration: 1s517ms Database: zemm_monitoring User: monitoring_admin Log file: /var/log/postgresql/postgresql-2026-05-14_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-14 23:59:01 Duration: 1s398ms Database: zemm_monitoring User: monitoring_admin Log file: /var/log/postgresql/postgresql-2026-05-14_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-14 14:18:01 Duration: 733ms Database: zemm_monitoring User: monitoring_admin Log file: /var/log/postgresql/postgresql-2026-05-14_000000.csv
7 682ms 1s517ms 928ms 1,440 22m16s create index if not exists idx_uptime_checks_endpoint on observability.uptime_checks (endpoint, checked_at desc);Times Reported Time consuming queries #7
Day Hour Count Duration Avg duration May 14 01 60 0ms 0ms 02 60 19s806ms 330ms 03 60 40s978ms 682ms 04 60 40s978ms 682ms 05 60 40s978ms 682ms 06 60 40s978ms 682ms 07 60 40s978ms 682ms 08 60 40s978ms 682ms 09 60 40s978ms 682ms 10 60 40s978ms 682ms 11 60 40s978ms 682ms 12 60 40s978ms 682ms 13 60 40s978ms 682ms 14 60 42s109ms 701ms 15 60 43s550ms 725ms 16 60 52s170ms 869ms 17 60 1m31s 1s517ms 18 60 1m31s 1s517ms 19 60 1m31s 1s517ms 20 60 1m31s 1s517ms 21 60 1m31s 1s517ms 22 60 1m31s 1s517ms 23 60 1m31s 1s517ms 00 60 1m30s 1s509ms [ User: monitoring_admin - Total duration: 22m16s - Times executed: 1349 ]
-
CREATE INDEX IF NOT EXISTS idx_uptime_checks_endpoint ON observability.uptime_checks (endpoint, checked_at DESC);
Date: 2026-05-14 23:55:01 Duration: 1s517ms Database: zemm_monitoring User: monitoring_admin Log file: /var/log/postgresql/postgresql-2026-05-14_000000.csv
-
CREATE INDEX IF NOT EXISTS idx_uptime_checks_endpoint ON observability.uptime_checks (endpoint, checked_at DESC);
Date: 2026-05-14 23:59:01 Duration: 1s398ms Database: zemm_monitoring User: monitoring_admin Log file: /var/log/postgresql/postgresql-2026-05-14_000000.csv
-
CREATE INDEX IF NOT EXISTS idx_uptime_checks_endpoint ON observability.uptime_checks (endpoint, checked_at DESC);
Date: 2026-05-14 14:18:01 Duration: 733ms Database: zemm_monitoring User: monitoring_admin Log file: /var/log/postgresql/postgresql-2026-05-14_000000.csv
8 682ms 1s517ms 928ms 1,440 22m16s create table if not exists observability.app_events ( id bigserial primary key, tenant_key text not null, event_type text not null, severity text not null, message text not null, payload jsonb, occurred_at timestamptz not null default now(), created_at timestamptz not null default now() );Times Reported Time consuming queries #8
Day Hour Count Duration Avg duration May 14 01 60 0ms 0ms 02 60 19s806ms 330ms 03 60 40s978ms 682ms 04 60 40s978ms 682ms 05 60 40s978ms 682ms 06 60 40s978ms 682ms 07 60 40s978ms 682ms 08 60 40s978ms 682ms 09 60 40s978ms 682ms 10 60 40s978ms 682ms 11 60 40s978ms 682ms 12 60 40s978ms 682ms 13 60 40s978ms 682ms 14 60 42s109ms 701ms 15 60 43s550ms 725ms 16 60 52s170ms 869ms 17 60 1m31s 1s517ms 18 60 1m31s 1s517ms 19 60 1m31s 1s517ms 20 60 1m31s 1s517ms 21 60 1m31s 1s517ms 22 60 1m31s 1s517ms 23 60 1m31s 1s517ms 00 60 1m30s 1s509ms [ User: monitoring_admin - Total duration: 22m16s - Times executed: 1349 ]
-
CREATE TABLE IF NOT EXISTS observability.app_events ( id bigserial PRIMARY KEY, tenant_key text NOT NULL, event_type text NOT NULL, severity text NOT NULL, message text NOT NULL, payload jsonb, occurred_at timestamptz NOT NULL DEFAULT NOW(), created_at timestamptz NOT NULL DEFAULT NOW() );
Date: 2026-05-14 23:55:01 Duration: 1s517ms Database: zemm_monitoring User: monitoring_admin Log file: /var/log/postgresql/postgresql-2026-05-14_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-14 23:59:01 Duration: 1s398ms Database: zemm_monitoring User: monitoring_admin Log file: /var/log/postgresql/postgresql-2026-05-14_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-14 14:18:01 Duration: 733ms Database: zemm_monitoring User: monitoring_admin Log file: /var/log/postgresql/postgresql-2026-05-14_000000.csv
9 682ms 1s517ms 928ms 1,440 22m16s 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 #9
Day Hour Count Duration Avg duration May 14 01 60 0ms 0ms 02 60 19s806ms 330ms 03 60 40s978ms 682ms 04 60 40s978ms 682ms 05 60 40s978ms 682ms 06 60 40s978ms 682ms 07 60 40s978ms 682ms 08 60 40s978ms 682ms 09 60 40s978ms 682ms 10 60 40s978ms 682ms 11 60 40s978ms 682ms 12 60 40s978ms 682ms 13 60 40s978ms 682ms 14 60 42s109ms 701ms 15 60 43s550ms 725ms 16 60 52s170ms 869ms 17 60 1m31s 1s517ms 18 60 1m31s 1s517ms 19 60 1m31s 1s517ms 20 60 1m31s 1s517ms 21 60 1m31s 1s517ms 22 60 1m31s 1s517ms 23 60 1m31s 1s517ms 00 60 1m30s 1s509ms [ User: monitoring_admin - Total duration: 22m16s - Times executed: 1349 ]
-
CREATE TABLE IF NOT EXISTS observability.system_metrics ( id bigserial PRIMARY KEY, payload jsonb NOT NULL, collected_at timestamptz NOT NULL DEFAULT NOW() );
Date: 2026-05-14 23:55:01 Duration: 1s517ms Database: zemm_monitoring User: monitoring_admin Log file: /var/log/postgresql/postgresql-2026-05-14_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-14 23:59:01 Duration: 1s398ms Database: zemm_monitoring User: monitoring_admin Log file: /var/log/postgresql/postgresql-2026-05-14_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-14 14:18:01 Duration: 733ms Database: zemm_monitoring User: monitoring_admin Log file: /var/log/postgresql/postgresql-2026-05-14_000000.csv
10 682ms 1s517ms 928ms 1,440 22m16s 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 #10
Day Hour Count Duration Avg duration May 14 01 60 0ms 0ms 02 60 19s806ms 330ms 03 60 40s978ms 682ms 04 60 40s978ms 682ms 05 60 40s978ms 682ms 06 60 40s978ms 682ms 07 60 40s978ms 682ms 08 60 40s978ms 682ms 09 60 40s978ms 682ms 10 60 40s978ms 682ms 11 60 40s978ms 682ms 12 60 40s978ms 682ms 13 60 40s978ms 682ms 14 60 42s109ms 701ms 15 60 43s550ms 725ms 16 60 52s170ms 869ms 17 60 1m31s 1s517ms 18 60 1m31s 1s517ms 19 60 1m31s 1s517ms 20 60 1m31s 1s517ms 21 60 1m31s 1s517ms 22 60 1m31s 1s517ms 23 60 1m31s 1s517ms 00 60 1m30s 1s509ms [ User: monitoring_admin - Total duration: 22m16s - Times executed: 1349 ]
-
CREATE TABLE IF NOT EXISTS observability.uptime_checks ( id bigserial PRIMARY KEY, endpoint text NOT NULL, status text NOT NULL, latency_ms double precision, checked_at timestamptz NOT NULL DEFAULT NOW() );
Date: 2026-05-14 23:55:01 Duration: 1s517ms Database: zemm_monitoring User: monitoring_admin Log file: /var/log/postgresql/postgresql-2026-05-14_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-14 23:59:01 Duration: 1s398ms Database: zemm_monitoring User: monitoring_admin Log file: /var/log/postgresql/postgresql-2026-05-14_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-14 14:18:01 Duration: 733ms Database: zemm_monitoring User: monitoring_admin Log file: /var/log/postgresql/postgresql-2026-05-14_000000.csv
11 682ms 1s517ms 928ms 1,440 22m16s 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 #11
Day Hour Count Duration Avg duration May 14 01 60 0ms 0ms 02 60 19s806ms 330ms 03 60 40s978ms 682ms 04 60 40s978ms 682ms 05 60 40s978ms 682ms 06 60 40s978ms 682ms 07 60 40s978ms 682ms 08 60 40s978ms 682ms 09 60 40s978ms 682ms 10 60 40s978ms 682ms 11 60 40s978ms 682ms 12 60 40s978ms 682ms 13 60 40s978ms 682ms 14 60 42s109ms 701ms 15 60 43s550ms 725ms 16 60 52s170ms 869ms 17 60 1m31s 1s517ms 18 60 1m31s 1s517ms 19 60 1m31s 1s517ms 20 60 1m31s 1s517ms 21 60 1m31s 1s517ms 22 60 1m31s 1s517ms 23 60 1m31s 1s517ms 00 60 1m30s 1s509ms [ User: monitoring_admin - Total duration: 22m16s - Times executed: 1349 ]
-
CREATE TABLE IF NOT EXISTS observability.db_top_queries ( id bigserial PRIMARY KEY, tenant_key text NOT NULL, fingerprint text, query text, mean_time_ms double precision, total_time_ms double precision, calls bigint, rows_returned bigint, collected_at timestamptz NOT NULL DEFAULT NOW() );
Date: 2026-05-14 23:55:01 Duration: 1s517ms Database: zemm_monitoring User: monitoring_admin Log file: /var/log/postgresql/postgresql-2026-05-14_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-14 23:59:01 Duration: 1s398ms Database: zemm_monitoring User: monitoring_admin Log file: /var/log/postgresql/postgresql-2026-05-14_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-14 14:18:01 Duration: 733ms Database: zemm_monitoring User: monitoring_admin Log file: /var/log/postgresql/postgresql-2026-05-14_000000.csv
12 682ms 1s517ms 928ms 1,440 22m16s alter table observability.uptime_checks add column if not exists label text;Times Reported Time consuming queries #12
Day Hour Count Duration Avg duration May 14 01 60 0ms 0ms 02 60 19s806ms 330ms 03 60 40s978ms 682ms 04 60 40s978ms 682ms 05 60 40s978ms 682ms 06 60 40s978ms 682ms 07 60 40s978ms 682ms 08 60 40s978ms 682ms 09 60 40s978ms 682ms 10 60 40s978ms 682ms 11 60 40s978ms 682ms 12 60 40s978ms 682ms 13 60 40s978ms 682ms 14 60 42s109ms 701ms 15 60 43s550ms 725ms 16 60 52s170ms 869ms 17 60 1m31s 1s517ms 18 60 1m31s 1s517ms 19 60 1m31s 1s517ms 20 60 1m31s 1s517ms 21 60 1m31s 1s517ms 22 60 1m31s 1s517ms 23 60 1m31s 1s517ms 00 60 1m30s 1s509ms [ User: monitoring_admin - Total duration: 22m16s - Times executed: 1349 ]
-
ALTER TABLE observability.uptime_checks ADD COLUMN IF NOT EXISTS label text;
Date: 2026-05-14 23:55:01 Duration: 1s517ms Database: zemm_monitoring User: monitoring_admin Log file: /var/log/postgresql/postgresql-2026-05-14_000000.csv
-
ALTER TABLE observability.uptime_checks ADD COLUMN IF NOT EXISTS label text;
Date: 2026-05-14 23:59:01 Duration: 1s398ms Database: zemm_monitoring User: monitoring_admin Log file: /var/log/postgresql/postgresql-2026-05-14_000000.csv
-
ALTER TABLE observability.uptime_checks ADD COLUMN IF NOT EXISTS label text;
Date: 2026-05-14 14:18:01 Duration: 733ms Database: zemm_monitoring User: monitoring_admin Log file: /var/log/postgresql/postgresql-2026-05-14_000000.csv
13 682ms 1s517ms 928ms 1,440 22m16s alter table observability.uptime_checks add column if not exists payload jsonb;Times Reported Time consuming queries #13
Day Hour Count Duration Avg duration May 14 01 60 0ms 0ms 02 60 19s806ms 330ms 03 60 40s978ms 682ms 04 60 40s978ms 682ms 05 60 40s978ms 682ms 06 60 40s978ms 682ms 07 60 40s978ms 682ms 08 60 40s978ms 682ms 09 60 40s978ms 682ms 10 60 40s978ms 682ms 11 60 40s978ms 682ms 12 60 40s978ms 682ms 13 60 40s978ms 682ms 14 60 42s109ms 701ms 15 60 43s550ms 725ms 16 60 52s170ms 869ms 17 60 1m31s 1s517ms 18 60 1m31s 1s517ms 19 60 1m31s 1s517ms 20 60 1m31s 1s517ms 21 60 1m31s 1s517ms 22 60 1m31s 1s517ms 23 60 1m31s 1s517ms 00 60 1m30s 1s509ms [ User: monitoring_admin - Total duration: 22m16s - Times executed: 1349 ]
-
ALTER TABLE observability.uptime_checks ADD COLUMN IF NOT EXISTS payload jsonb;
Date: 2026-05-14 23:55:01 Duration: 1s517ms Database: zemm_monitoring User: monitoring_admin Log file: /var/log/postgresql/postgresql-2026-05-14_000000.csv
-
ALTER TABLE observability.uptime_checks ADD COLUMN IF NOT EXISTS payload jsonb;
Date: 2026-05-14 23:59:01 Duration: 1s398ms Database: zemm_monitoring User: monitoring_admin Log file: /var/log/postgresql/postgresql-2026-05-14_000000.csv
-
ALTER TABLE observability.uptime_checks ADD COLUMN IF NOT EXISTS payload jsonb;
Date: 2026-05-14 14:18:01 Duration: 733ms Database: zemm_monitoring User: monitoring_admin Log file: /var/log/postgresql/postgresql-2026-05-14_000000.csv
14 682ms 1s517ms 928ms 1,440 22m16s create index if not exists idx_metrics_timeseries_metric on observability.metrics_timeseries (metric_name);Times Reported Time consuming queries #14
Day Hour Count Duration Avg duration May 14 01 60 0ms 0ms 02 60 19s806ms 330ms 03 60 40s978ms 682ms 04 60 40s978ms 682ms 05 60 40s978ms 682ms 06 60 40s978ms 682ms 07 60 40s978ms 682ms 08 60 40s978ms 682ms 09 60 40s978ms 682ms 10 60 40s978ms 682ms 11 60 40s978ms 682ms 12 60 40s978ms 682ms 13 60 40s978ms 682ms 14 60 42s109ms 701ms 15 60 43s550ms 725ms 16 60 52s170ms 869ms 17 60 1m31s 1s517ms 18 60 1m31s 1s517ms 19 60 1m31s 1s517ms 20 60 1m31s 1s517ms 21 60 1m31s 1s517ms 22 60 1m31s 1s517ms 23 60 1m31s 1s517ms 00 60 1m30s 1s509ms [ User: monitoring_admin - Total duration: 22m16s - Times executed: 1349 ]
-
CREATE INDEX IF NOT EXISTS idx_metrics_timeseries_metric ON observability.metrics_timeseries (metric_name);
Date: 2026-05-14 23:55:01 Duration: 1s517ms Database: zemm_monitoring User: monitoring_admin Log file: /var/log/postgresql/postgresql-2026-05-14_000000.csv
-
CREATE INDEX IF NOT EXISTS idx_metrics_timeseries_metric ON observability.metrics_timeseries (metric_name);
Date: 2026-05-14 23:59:01 Duration: 1s398ms Database: zemm_monitoring User: monitoring_admin Log file: /var/log/postgresql/postgresql-2026-05-14_000000.csv
-
CREATE INDEX IF NOT EXISTS idx_metrics_timeseries_metric ON observability.metrics_timeseries (metric_name);
Date: 2026-05-14 14:18:01 Duration: 733ms Database: zemm_monitoring User: monitoring_admin Log file: /var/log/postgresql/postgresql-2026-05-14_000000.csv
15 682ms 1s517ms 928ms 1,440 22m16s create index if not exists idx_app_events_type on observability.app_events (event_type);Times Reported Time consuming queries #15
Day Hour Count Duration Avg duration May 14 01 60 0ms 0ms 02 60 19s806ms 330ms 03 60 40s978ms 682ms 04 60 40s978ms 682ms 05 60 40s978ms 682ms 06 60 40s978ms 682ms 07 60 40s978ms 682ms 08 60 40s978ms 682ms 09 60 40s978ms 682ms 10 60 40s978ms 682ms 11 60 40s978ms 682ms 12 60 40s978ms 682ms 13 60 40s978ms 682ms 14 60 42s109ms 701ms 15 60 43s550ms 725ms 16 60 52s170ms 869ms 17 60 1m31s 1s517ms 18 60 1m31s 1s517ms 19 60 1m31s 1s517ms 20 60 1m31s 1s517ms 21 60 1m31s 1s517ms 22 60 1m31s 1s517ms 23 60 1m31s 1s517ms 00 60 1m30s 1s509ms [ User: monitoring_admin - Total duration: 22m16s - Times executed: 1349 ]
-
CREATE INDEX IF NOT EXISTS idx_app_events_type ON observability.app_events (event_type);
Date: 2026-05-14 23:55:01 Duration: 1s517ms Database: zemm_monitoring User: monitoring_admin Log file: /var/log/postgresql/postgresql-2026-05-14_000000.csv
-
CREATE INDEX IF NOT EXISTS idx_app_events_type ON observability.app_events (event_type);
Date: 2026-05-14 23:59:01 Duration: 1s398ms Database: zemm_monitoring User: monitoring_admin Log file: /var/log/postgresql/postgresql-2026-05-14_000000.csv
-
CREATE INDEX IF NOT EXISTS idx_app_events_type ON observability.app_events (event_type);
Date: 2026-05-14 14:18:01 Duration: 733ms Database: zemm_monitoring User: monitoring_admin Log file: /var/log/postgresql/postgresql-2026-05-14_000000.csv
16 682ms 1s517ms 928ms 1,440 22m16s create table if not exists observability.phpfpm_counters ( id bigserial primary key, payload jsonb not null, collected_at timestamptz not null default now() );Times Reported Time consuming queries #16
Day Hour Count Duration Avg duration May 14 01 60 0ms 0ms 02 60 19s806ms 330ms 03 60 40s978ms 682ms 04 60 40s978ms 682ms 05 60 40s978ms 682ms 06 60 40s978ms 682ms 07 60 40s978ms 682ms 08 60 40s978ms 682ms 09 60 40s978ms 682ms 10 60 40s978ms 682ms 11 60 40s978ms 682ms 12 60 40s978ms 682ms 13 60 40s978ms 682ms 14 60 42s109ms 701ms 15 60 43s550ms 725ms 16 60 52s170ms 869ms 17 60 1m31s 1s517ms 18 60 1m31s 1s517ms 19 60 1m31s 1s517ms 20 60 1m31s 1s517ms 21 60 1m31s 1s517ms 22 60 1m31s 1s517ms 23 60 1m31s 1s517ms 00 60 1m30s 1s509ms [ User: monitoring_admin - Total duration: 22m16s - Times executed: 1349 ]
-
CREATE TABLE IF NOT EXISTS observability.phpfpm_counters ( id bigserial PRIMARY KEY, payload jsonb NOT NULL, collected_at timestamptz NOT NULL DEFAULT NOW() );
Date: 2026-05-14 23:55:01 Duration: 1s517ms Database: zemm_monitoring User: monitoring_admin Log file: /var/log/postgresql/postgresql-2026-05-14_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-14 23:59:01 Duration: 1s398ms Database: zemm_monitoring User: monitoring_admin Log file: /var/log/postgresql/postgresql-2026-05-14_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-14 14:18:01 Duration: 733ms Database: zemm_monitoring User: monitoring_admin Log file: /var/log/postgresql/postgresql-2026-05-14_000000.csv
17 682ms 1s517ms 928ms 1,440 22m16s create index if not exists idx_metrics_timeseries_bucket on observability.metrics_timeseries (bucket_start);Times Reported Time consuming queries #17
Day Hour Count Duration Avg duration May 14 01 60 0ms 0ms 02 60 19s806ms 330ms 03 60 40s978ms 682ms 04 60 40s978ms 682ms 05 60 40s978ms 682ms 06 60 40s978ms 682ms 07 60 40s978ms 682ms 08 60 40s978ms 682ms 09 60 40s978ms 682ms 10 60 40s978ms 682ms 11 60 40s978ms 682ms 12 60 40s978ms 682ms 13 60 40s978ms 682ms 14 60 42s109ms 701ms 15 60 43s550ms 725ms 16 60 52s170ms 869ms 17 60 1m31s 1s517ms 18 60 1m31s 1s517ms 19 60 1m31s 1s517ms 20 60 1m31s 1s517ms 21 60 1m31s 1s517ms 22 60 1m31s 1s517ms 23 60 1m31s 1s517ms 00 60 1m30s 1s509ms [ User: monitoring_admin - Total duration: 22m16s - Times executed: 1349 ]
-
CREATE INDEX IF NOT EXISTS idx_metrics_timeseries_bucket ON observability.metrics_timeseries (bucket_start);
Date: 2026-05-14 23:55:01 Duration: 1s517ms Database: zemm_monitoring User: monitoring_admin Log file: /var/log/postgresql/postgresql-2026-05-14_000000.csv
-
CREATE INDEX IF NOT EXISTS idx_metrics_timeseries_bucket ON observability.metrics_timeseries (bucket_start);
Date: 2026-05-14 23:59:01 Duration: 1s398ms Database: zemm_monitoring User: monitoring_admin Log file: /var/log/postgresql/postgresql-2026-05-14_000000.csv
-
CREATE INDEX IF NOT EXISTS idx_metrics_timeseries_bucket ON observability.metrics_timeseries (bucket_start);
Date: 2026-05-14 14:18:01 Duration: 733ms Database: zemm_monitoring User: monitoring_admin Log file: /var/log/postgresql/postgresql-2026-05-14_000000.csv
18 682ms 1s517ms 928ms 1,440 22m16s 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 #18
Day Hour Count Duration Avg duration May 14 01 60 0ms 0ms 02 60 19s806ms 330ms 03 60 40s978ms 682ms 04 60 40s978ms 682ms 05 60 40s978ms 682ms 06 60 40s978ms 682ms 07 60 40s978ms 682ms 08 60 40s978ms 682ms 09 60 40s978ms 682ms 10 60 40s978ms 682ms 11 60 40s978ms 682ms 12 60 40s978ms 682ms 13 60 40s978ms 682ms 14 60 42s109ms 701ms 15 60 43s550ms 725ms 16 60 52s170ms 869ms 17 60 1m31s 1s517ms 18 60 1m31s 1s517ms 19 60 1m31s 1s517ms 20 60 1m31s 1s517ms 21 60 1m31s 1s517ms 22 60 1m31s 1s517ms 23 60 1m31s 1s517ms 00 60 1m30s 1s509ms [ User: monitoring_admin - Total duration: 22m16s - Times executed: 1349 ]
-
CREATE TABLE IF NOT EXISTS observability.nginx_counters ( id bigserial PRIMARY KEY, payload jsonb NOT NULL, collected_at timestamptz NOT NULL DEFAULT NOW() );
Date: 2026-05-14 23:55:01 Duration: 1s517ms Database: zemm_monitoring User: monitoring_admin Log file: /var/log/postgresql/postgresql-2026-05-14_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-14 23:59:01 Duration: 1s398ms Database: zemm_monitoring User: monitoring_admin Log file: /var/log/postgresql/postgresql-2026-05-14_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-14 14:18:01 Duration: 733ms Database: zemm_monitoring User: monitoring_admin Log file: /var/log/postgresql/postgresql-2026-05-14_000000.csv
19 805ms 825ms 814ms 7 5s700ms select count(distinct animal_id) AS "count" from ( select animals_search_mview.*, b.unbreeding_date, a.id as animal, user_is_tgm (animals_search_mview.owner, ?) as is_owner, user_is_tgm (animals_search_mview.editor, ?) as is_editor, user_is_tgm (animals_search_mview.tourist, ?) as is_tourist, case when not exists ( select ? from scoresheet_diary sd where sd.animals_id = animals_search_mview.id) then ? else ? end as isscored from animals_search_mview left join strains on strains.name = animals_search_mview.strain left join license_history lh on lh.anid = animals_search_mview.id left join animals a on a."animalID" = animals_search_mview.animal_id left join breedings b on b.id = animals_search_mview.last_mating) data where fate = ? and alive = ? and deleted = ? and (is_owner or is_editor or is_tourist);Times Reported Time consuming queries #19
Day Hour Count Duration Avg duration May 14 14 1 825ms 825ms 15 6 4s875ms 812ms [ User: labanimal - Total duration: 5s700ms - Times executed: 7 ]
[ Application: _desktop_index.php_zemm_produktiv_8_localhost_5432 - Total duration: 5s700ms - Times executed: 7 ]
-
SELECT COUNT(DISTINCT animal_id) AS "count" FROM ( SELECT animals_search_mview.*, b.unbreeding_date, a.id as animal, user_is_tgm (animals_search_mview.owner, 490) AS is_owner, user_is_tgm (animals_search_mview.editor, 490) AS is_editor, user_is_tgm (animals_search_mview.tourist, 490) AS is_tourist, CASE WHEN NOT EXISTS ( SELECT 1 FROM scoresheet_diary sd WHERE sd.animals_id = animals_search_mview.id) THEN 'f' ELSE 't' END AS isscored FROM animals_search_mview LEFT JOIN strains ON strains.name = animals_search_mview.strain LEFT JOIN license_history lh ON lh.anid = animals_search_mview.id LEFT JOIN animals a ON a."animalID" = animals_search_mview.animal_id LEFT JOIN breedings b ON b.id = animals_search_mview.last_mating) data WHERE fate = 5 AND alive = 't' AND deleted = 'f' AND (is_owner OR is_editor OR is_tourist);
Date: 2026-05-14 13:34:24 Duration: 825ms Database: zemm_produktiv_8 User: labanimal Application: _desktop_index.php_zemm_produktiv_8_localhost_5432 Log file: /var/log/postgresql/postgresql-2026-05-14_000000.csv
-
SELECT COUNT(DISTINCT animal_id) AS "count" FROM ( SELECT animals_search_mview.*, b.unbreeding_date, a.id as animal, user_is_tgm (animals_search_mview.owner, 490) AS is_owner, user_is_tgm (animals_search_mview.editor, 490) AS is_editor, user_is_tgm (animals_search_mview.tourist, 490) AS is_tourist, CASE WHEN NOT EXISTS ( SELECT 1 FROM scoresheet_diary sd WHERE sd.animals_id = animals_search_mview.id) THEN 'f' ELSE 't' END AS isscored FROM animals_search_mview LEFT JOIN strains ON strains.name = animals_search_mview.strain LEFT JOIN license_history lh ON lh.anid = animals_search_mview.id LEFT JOIN animals a ON a."animalID" = animals_search_mview.animal_id LEFT JOIN breedings b ON b.id = animals_search_mview.last_mating) data WHERE fate = 5 AND alive = 't' AND deleted = 'f' AND (is_owner OR is_editor OR is_tourist);
Date: 2026-05-14 14:02:44 Duration: 816ms Database: zemm_produktiv_8 User: labanimal Application: _desktop_index.php_zemm_produktiv_8_localhost_5432 Log file: /var/log/postgresql/postgresql-2026-05-14_000000.csv
-
SELECT COUNT(DISTINCT animal_id) AS "count" FROM ( SELECT animals_search_mview.*, b.unbreeding_date, a.id as animal, user_is_tgm (animals_search_mview.owner, 490) AS is_owner, user_is_tgm (animals_search_mview.editor, 490) AS is_editor, user_is_tgm (animals_search_mview.tourist, 490) AS is_tourist, CASE WHEN NOT EXISTS ( SELECT 1 FROM scoresheet_diary sd WHERE sd.animals_id = animals_search_mview.id) THEN 'f' ELSE 't' END AS isscored FROM animals_search_mview LEFT JOIN strains ON strains.name = animals_search_mview.strain LEFT JOIN license_history lh ON lh.anid = animals_search_mview.id LEFT JOIN animals a ON a."animalID" = animals_search_mview.animal_id LEFT JOIN breedings b ON b.id = animals_search_mview.last_mating) data WHERE fate = 5 AND alive = 't' AND deleted = 'f' AND (is_owner OR is_editor OR is_tourist);
Date: 2026-05-14 14:18:20 Duration: 815ms Database: zemm_produktiv_8 User: labanimal Application: _desktop_index.php_zemm_produktiv_8_localhost_5432 Log file: /var/log/postgresql/postgresql-2026-05-14_000000.csv
20 720ms 733ms 725ms 7 5s81ms select distinct * from ( select animals_search_mview.*, b.unbreeding_date, fates.loc as fate_name, user_is_tgm (animals_search_mview.owner, ?) as is_owner, user_is_tgm (animals_search_mview.editor, ?) as is_editor, user_is_tgm (animals_search_mview.tourist, ?) as is_tourist, strains.cancel_criteria, strains.symtoms, strains.reduce_severity_by, strains.sym_immune, strains.deleted as straindeleted, string_agg(l."application_id" || ? || l."title" || ? || date(lh."timestamp")::varchar, ?) as licensehistory, case when not exists ( select ? from scoresheet_diary sd where sd.animals_id = animals_search_mview.id) then ? else ? end as isscored from animals_search_mview inner join fates on fates.id = animals_search_mview.fate left join strains on strains.name = animals_search_mview.strain left join license_history lh on lh.anid = animals_search_mview.id left join licenses l on l.id = lh.licid left join breedings b on b.id = animals_search_mview.last_mating group by animals_search_mview.id, b.unbreeding_date, fates.loc, strains.cancel_criteria, strains.symtoms, strains.reduce_severity_by, strains.sym_immune, straindeleted) data where data.fate = ? and data.alive = ? and data.deleted = ? and (is_owner or is_editor or is_tourist) and (data.straindeleted = ? or data.straindeleted is null) order by data.cage_name, data.animal_id, data.name;Times Reported Time consuming queries #20
Day Hour Count Duration Avg duration May 14 14 1 728ms 728ms 15 6 4s352ms 725ms [ User: labanimal - Total duration: 5s81ms - Times executed: 7 ]
[ Application: _desktop_index.php_zemm_produktiv_8_localhost_5432 - Total duration: 5s81ms - Times executed: 7 ]
-
SELECT DISTINCT * FROM ( SELECT animals_search_mview.*, b.unbreeding_date, fates.loc AS fate_name, user_is_tgm (animals_search_mview.owner, 490) AS is_owner, user_is_tgm (animals_search_mview.editor, 490) AS is_editor, user_is_tgm (animals_search_mview.tourist, 490) AS is_tourist, strains.cancel_criteria, strains.symtoms, strains.reduce_severity_by, strains.sym_immune, strains.deleted as straindeleted, STRING_AGG(l."application_id" || ':' || l."title" || ' - ' || Date(lh."timestamp")::varchar, '; ') AS licensehistory, CASE WHEN NOT EXISTS ( SELECT 1 FROM scoresheet_diary sd WHERE sd.animals_id = animals_search_mview.id) THEN 'f' ELSE 't' END AS isscored FROM animals_search_mview INNER JOIN fates ON fates.id = animals_search_mview.fate LEFT JOIN strains ON strains.name = animals_search_mview.strain LEFT JOIN license_history lh ON lh.anid = animals_search_mview.id LEFT JOIN licenses l ON l.id = lh.licid left join breedings b ON b.id = animals_search_mview.last_mating GROUP BY animals_search_mview.id, b.unbreeding_date, fates.loc, strains.cancel_criteria, strains.symtoms, strains.reduce_severity_by, strains.sym_immune, straindeleted) data WHERE data.fate = 5 AND data.alive = 't' AND data.deleted = 'f' AND (is_owner OR is_editor OR is_tourist) and (data.straindeleted = 'f' or data.straindeleted is null) ORDER BY data.cage_name, data.animal_id, data.name;
Date: 2026-05-14 14:06:23 Duration: 733ms Database: zemm_produktiv_8 User: labanimal Application: _desktop_index.php_zemm_produktiv_8_localhost_5432 Log file: /var/log/postgresql/postgresql-2026-05-14_000000.csv
-
SELECT DISTINCT * FROM ( SELECT animals_search_mview.*, b.unbreeding_date, fates.loc AS fate_name, user_is_tgm (animals_search_mview.owner, 490) AS is_owner, user_is_tgm (animals_search_mview.editor, 490) AS is_editor, user_is_tgm (animals_search_mview.tourist, 490) AS is_tourist, strains.cancel_criteria, strains.symtoms, strains.reduce_severity_by, strains.sym_immune, strains.deleted as straindeleted, STRING_AGG(l."application_id" || ':' || l."title" || ' - ' || Date(lh."timestamp")::varchar, '; ') AS licensehistory, CASE WHEN NOT EXISTS ( SELECT 1 FROM scoresheet_diary sd WHERE sd.animals_id = animals_search_mview.id) THEN 'f' ELSE 't' END AS isscored FROM animals_search_mview INNER JOIN fates ON fates.id = animals_search_mview.fate LEFT JOIN strains ON strains.name = animals_search_mview.strain LEFT JOIN license_history lh ON lh.anid = animals_search_mview.id LEFT JOIN licenses l ON l.id = lh.licid left join breedings b ON b.id = animals_search_mview.last_mating GROUP BY animals_search_mview.id, b.unbreeding_date, fates.loc, strains.cancel_criteria, strains.symtoms, strains.reduce_severity_by, strains.sym_immune, straindeleted) data WHERE data.fate = 5 AND data.alive = 't' AND data.deleted = 'f' AND (is_owner OR is_editor OR is_tourist) and (data.straindeleted = 'f' or data.straindeleted is null) ORDER BY data.cage_name, data.animal_id, data.name;
Date: 2026-05-14 13:34:25 Duration: 728ms Database: zemm_produktiv_8 User: labanimal Application: _desktop_index.php_zemm_produktiv_8_localhost_5432 Log file: /var/log/postgresql/postgresql-2026-05-14_000000.csv
-
SELECT DISTINCT * FROM ( SELECT animals_search_mview.*, b.unbreeding_date, fates.loc AS fate_name, user_is_tgm (animals_search_mview.owner, 490) AS is_owner, user_is_tgm (animals_search_mview.editor, 490) AS is_editor, user_is_tgm (animals_search_mview.tourist, 490) AS is_tourist, strains.cancel_criteria, strains.symtoms, strains.reduce_severity_by, strains.sym_immune, strains.deleted as straindeleted, STRING_AGG(l."application_id" || ':' || l."title" || ' - ' || Date(lh."timestamp")::varchar, '; ') AS licensehistory, CASE WHEN NOT EXISTS ( SELECT 1 FROM scoresheet_diary sd WHERE sd.animals_id = animals_search_mview.id) THEN 'f' ELSE 't' END AS isscored FROM animals_search_mview INNER JOIN fates ON fates.id = animals_search_mview.fate LEFT JOIN strains ON strains.name = animals_search_mview.strain LEFT JOIN license_history lh ON lh.anid = animals_search_mview.id LEFT JOIN licenses l ON l.id = lh.licid left join breedings b ON b.id = animals_search_mview.last_mating GROUP BY animals_search_mview.id, b.unbreeding_date, fates.loc, strains.cancel_criteria, strains.symtoms, strains.reduce_severity_by, strains.sym_immune, straindeleted) data WHERE data.fate = 5 AND data.alive = 't' AND data.deleted = 'f' AND (is_owner OR is_editor OR is_tourist) and (data.straindeleted = 'f' or data.straindeleted is null) ORDER BY data.cage_name, data.animal_id, data.name;
Date: 2026-05-14 14:02:45 Duration: 728ms Database: zemm_produktiv_8 User: labanimal Application: _desktop_index.php_zemm_produktiv_8_localhost_5432 Log file: /var/log/postgresql/postgresql-2026-05-14_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
- 79,879 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
- 1 ERROR entries
- 0 WARNING entries
- 0 EVENTLOG entries
Most Frequent Errors/Events
Key values
- 1 Max number of times the same event was reported
- 1 Total events found
Rank Times reported Error 1 1 ERROR: duplicate key value violates unique constraint "..."
Times Reported Most Frequent Error / Event #1
Day Hour Count May 14 14 1 - ERROR: duplicate key value violates unique constraint "metrics_timeseries_tenant_key_metric_name_bucket_start_buck_key"
Detail: Key (tenant_key, metric_name, bucket_start, bucket_width_seconds)=(live, http_requests_total, 2026-05-14 13:58:00+02, 60) already exists.
Statement: INSERT INTO observability.metrics_timeseries (tenant_key, metric_name, bucket_start, bucket_width_seconds, sum_value, count_value, histogram) VALUES ($1, $2, $3, $4, $5, $6, $7)Date: 2026-05-14 13:58:02 Database: zemm_monitoring Application: User: labanimal Remote: Log file: /var/log/postgresql/postgresql-2026-05-14_000000.csv