-
Global information
- Generated on Mon Jun 15 06:04:41 2026
- Log file: /var/log/postgresql/postgresql-2026-05-13_000000.csv, ..., /var/log/postgresql/postgresql-2026-06-15_000000.csv
- Parsed 273,069 log entries in 4m40s
- Log start from 2026-05-13 00:00:02 to 2026-05-13 23:59:25
-
Overview
Global Stats
- 57 Number of unique normalized queries
- 24,600 Number of queries
- 6h51m59s Total query duration
- 2026-05-13 00:00:02 First query
- 2026-05-13 23:59:01 Last query
- 18 queries/s at 2026-05-13 09:38:01 Query peak
- 6h51m59s Total query duration
- 0ms Prepare/parse total duration
- 0ms Bind total duration
- 6h51m59s 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
- 298 Total number of automatic vacuums
- 519 Total number of automatic analyzes
- 0 Number temporary file
- 0 Max size of temporary file
- 0.00 B Average size of temporary file
- 24,560 Total number of sessions
- 5 sessions at 2026-05-13 01:10:04 Session peak
- 1h23m5s Total duration of sessions
- 202ms Average duration of sessions
- 1 Average queries per session
- 1s6ms Average queries duration per session
- 0ms Average idle time per session
- 24,560 Total number of connections
- 29 connections/s at 2026-05-13 06:27:19 Connection peak
- 2 Total number of databases
SQL Traffic
Key values
- 18 queries/s Query Peak
- 2026-05-13 09:38:01 Date
SELECT Traffic
Key values
- 2 queries/s Query Peak
- 2026-05-13 13:57:41 Date
INSERT/UPDATE/DELETE Traffic
Key values
- 17 queries/s Query Peak
- 2026-05-13 03:59:01 Date
Queries duration
Key values
- 6h51m59s 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 13 00 1,032 0ms 628ms 566ms 10s838ms 11s101ms 11s279ms 01 1,026 592ms 1s264ms 928ms 21s501ms 21s501ms 21s501ms 02 1,020 1s264ms 1s264ms 1s264ms 21s501ms 21s501ms 21s501ms 03 1,020 1s264ms 1s264ms 1s264ms 21s501ms 21s501ms 21s501ms 04 1,020 1s264ms 1s264ms 1s264ms 21s501ms 21s501ms 21s501ms 05 1,020 1s264ms 1s264ms 1s264ms 21s501ms 21s501ms 21s501ms 06 1,024 619ms 1s657ms 1s364ms 24s423ms 28s171ms 30s227ms 07 1,039 504ms 12s722ms 1s421ms 24s423ms 24s536ms 3m36s 08 1,023 630ms 12s722ms 2s616ms 33s94ms 3m36s 3m36s 09 1,033 597ms 1s922ms 1s106ms 27s307ms 32s675ms 34s216ms 10 1,023 623ms 1s947ms 1s106ms 33s106ms 33s106ms 34s412ms 11 1,022 505ms 623ms 530ms 10s602ms 10s602ms 11s616ms 12 1,025 507ms 1s854ms 1s302ms 31s520ms 31s520ms 34s617ms 13 1,040 718ms 831ms 727ms 12s807ms 15s304ms 18s630ms 14 1,042 506ms 1s932ms 646ms 12s564ms 14s36ms 15s659ms 15 1,026 726ms 859ms 747ms 12s756ms 12s756ms 15s869ms 16 1,020 744ms 744ms 744ms 12s650ms 12s650ms 12s650ms 17 1,020 744ms 744ms 744ms 12s650ms 12s650ms 12s650ms 18 1,020 744ms 744ms 744ms 12s650ms 12s650ms 12s650ms 19 1,020 744ms 744ms 744ms 12s650ms 12s650ms 12s650ms 20 1,020 744ms 744ms 744ms 12s650ms 12s650ms 12s650ms 21 1,020 744ms 744ms 744ms 12s650ms 12s650ms 12s650ms 22 1,020 744ms 744ms 744ms 12s650ms 12s650ms 12s650ms 23 1,025 560ms 2s115ms 790ms 12s650ms 23s676ms 23s676ms Day Hour SELECT COPY TO Average Duration Latency Percentile(90) Latency Percentile(95) Latency Percentile(99) May 13 00 12 0 604ms 587ms 600ms 622ms 01 5 0 620ms 0ms 0ms 629ms 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 2 0 680ms 0ms 0ms 619ms 07 19 0 1s625ms 616ms 1s971ms 2s532ms 08 1 0 630ms 0ms 0ms 0ms 09 10 0 760ms 0ms 628ms 1s541ms 10 0 0 0ms 0ms 0ms 0ms 11 2 0 506ms 0ms 0ms 0ms 12 4 0 774ms 0ms 0ms 0ms 13 18 0 772ms 0ms 0ms 3s87ms 14 15 0 802ms 0ms 0ms 3s94ms 15 6 0 787ms 0ms 0ms 1s609ms 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 1s329ms 0ms 0ms 0ms Day Hour INSERT UPDATE DELETE COPY FROM Average Duration Latency Percentile(90) Latency Percentile(95) Latency Percentile(99) May 13 00 0 0 0 0 0ms 0ms 0ms 0ms 01 0 1 0 0 1s264ms 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 13 00 0 12 12.00 0.00% 01 0 5 5.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 2 2.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 13 00 879 0.24/s 01 704 0.20/s 02 543 0.15/s 03 549 0.15/s 04 543 0.15/s 05 546 0.15/s 06 1,048 0.29/s 07 1,922 0.53/s 08 1,290 0.36/s 09 1,952 0.54/s 10 1,714 0.48/s 11 1,061 0.29/s 12 1,645 0.46/s 13 2,095 0.58/s 14 1,819 0.51/s 15 1,215 0.34/s 16 755 0.21/s 17 603 0.17/s 18 680 0.19/s 19 797 0.22/s 20 568 0.16/s 21 543 0.15/s 22 543 0.15/s 23 546 0.15/s Day Hour Count Average Duration Average idle time May 13 00 879 196ms 0ms 01 704 215ms 0ms 02 543 238ms 0ms 03 549 236ms 0ms 04 543 239ms 0ms 05 546 237ms 0ms 06 1,048 179ms 0ms 07 1,922 271ms 0ms 08 1,290 203ms 0ms 09 1,952 174ms 0ms 10 1,714 189ms 0ms 11 1,061 169ms 0ms 12 1,645 153ms 0ms 13 2,093 174ms 0ms 14 1,821 198ms 0ms 15 1,215 184ms 0ms 16 755 208ms 0ms 17 603 224ms 0ms 18 680 210ms 0ms 19 797 190ms 0ms 20 568 230ms 0ms 21 543 238ms 0ms 22 543 238ms 0ms 23 546 257ms 0ms -
Connections
Established Connections
Key values
- 29 connections Connection Peak
- 2026-05-13 06:27:19 Date
Connections per database
Key values
- zemm_monitoring Main Database
- 24,560 connections Total
Connections per user
Key values
- labanimal Main User
- 24,560 connections Total
-
Sessions
Simultaneous sessions
Key values
- 5 sessions Session Peak
- 2026-05-13 01:10:04 Date
Histogram of session times
Key values
- 22,421 0-500ms duration
Sessions per database
Key values
- zemm_monitoring Main Database
- 24,560 sessions Total
Sessions per user
Key values
- labanimal Main User
- 24,560 sessions Total
Sessions per host
Key values
- ::1 Main Host
- 24,560 sessions Total
Sessions per application
Key values
- Main Application
- 24,560 sessions Total
Application Count Total Duration Average Duration 19,505 1h8m13s 209ms _desktop__zemm_produktiv_8_localhost_5432 6 355ms 59ms _desktop_index.php_command_animals_breedings_subcommand_add_bre 2 85ms 42ms _desktop_index.php_command_animals_edit_subcommand_init_id_1028 1 96ms 96ms _desktop_index.php_command_animals_edit_subcommand_init_id_1029 2 179ms 89ms _desktop_index.php_command_animals_litters_subcommand_init_zemm 2 73ms 36ms _desktop_index.php_command_animals_subcommand_init_zemm_produkt 36 1s624ms 45ms _desktop_index.php_command_licences_subcommand_init_zemm_produk 1 50ms 50ms _desktop_index.php_command_login_subcommand_init_zemm_produktiv 1,683 49s576ms 29ms _desktop_index.php_command_login_subcommand_init_zemm_test_loca 1 28ms 28ms _desktop_index.php_command_reports_subcommand_animals_per_room_ 1 120ms 120ms _desktop_index.php_command_reports_subcommand_animals_per_user_ 3 352ms 117ms _desktop_index.php_command_reports_subcommand_init_zemm_produkt 1 283ms 283ms _desktop_index.php_command_tasks_subcommand_edit_id_10126526_ze 1 85ms 85ms _desktop_index.php_command_tasks_subcommand_edit_id_10141727_ze 2 164ms 82ms _desktop_index.php_command_tasks_subcommand_edit_id_10142182_ze 2 169ms 84ms _desktop_index.php_command_tasks_subcommand_edit_id_10142329_ze 2 174ms 87ms _desktop_index.php_command_tasks_subcommand_edit_id_10142330_ze 1 88ms 88ms _desktop_index.php_command_tasks_subcommand_edit_id_10142579_ze 2 171ms 85ms _desktop_index.php_command_tasks_subcommand_edit_id_10142693_ze 1 87ms 87ms _desktop_index.php_command_tasks_subcommand_edit_id_10142773_ze 1 86ms 86ms _desktop_index.php_command_tasks_subcommand_edit_id_10142775_ze 2 167ms 83ms _desktop_index.php_command_tasks_subcommand_edit_id_10142901_ze 2 173ms 86ms _desktop_index.php_command_tasks_subcommand_edit_id_10142919_ze 1 83ms 83ms _desktop_index.php_command_tasks_subcommand_edit_id_10142972_ze 1 88ms 88ms _desktop_index.php_command_tasks_subcommand_init_zemm_produktiv 1 77ms 77ms _desktop_index.php_command_tasks_subcommand_open_legacy_1_id_10 129 11s780ms 91ms _desktop_index.php_command_tasks_subcommand_open_legacy_1_id_79 1 62ms 62ms _desktop_index.php_command_tasks_subcommand_open_zemm_produktiv 12 5s377ms 448ms _desktop_index.php_command_tasks_subcommand_search_zemm_produkt 2 79ms 39ms _desktop_index.php_lic_filter_1_command_licences_subcommand_sel 1 39ms 39ms _desktop_index.php_m_action_animals_3Am_delete_val4_animals_lis 3 135ms 45ms _desktop_index.php_m_action_animals_edit_3Alink_init_row_animal 1 614ms 614ms _desktop_index.php_name_Abt_C3_B6ten_20v._20Tieren_20ohne_20Ver 2 104ms 52ms _desktop_index.php_name_VP_20von_20..._20bis_20..._20Ntsr1_2Fri 3 183ms 61ms _desktop_index.php_name_Verpaarungen_20f_C3_BCr_20Versuchsvorha 6 340ms 56ms _desktop_index.php_name_Verpaarungen_20von_20_E2_80_A6_20bis_20 1 72ms 72ms _desktop_index.php_name_Verpaarungen_20zur_20Zucht_instructions 3 225ms 75ms _desktop_index.php_search_id_10142330_search_status__25_no_subt 2 174ms 87ms _desktop_index.php_search_id_10142948_search_status_2_no_subtas 1 43ms 43ms _desktop_index.php_view_animal_name_on_view_animal_id_on_animal 3 986ms 328ms _desktop_index.php_view_animal_name_on_view_animal_id_on_view_b 29 11s870ms 409ms _desktop_index.php_zemm_produktiv_8_localhost_5432 3,028 12m58s 257ms backend:zemm_produktiv_8@localhost 43 2s305ms 53ms bounces:zemm_produktiv_8@h2940066.stratoserver.net:5432 1 69ms 69ms expire_tasks:zemm_produktiv_8@h2940066.stratoserver.net:5432 1 1s288ms 1s288ms pg_dump 1 11s217ms 11s217ms taskscron:zemm_produktiv_8@h2940066.stratoserver.net:5432 24 12s141ms 505ms -
Checkpoints / Restartpoints
Checkpoints Buffers
Key values
- 19,265 buffers Checkpoint Peak
- 2026-05-13 01:37:39 Date
- 269.268 seconds Highest write time
- 0.030 seconds Sync time
Checkpoints Wal files
Key values
- 7 files Wal files usage Peak
- 2026-05-13 01:37:39 Date
Checkpoints distance
Key values
- 219.59 Mo Distance Peak
- 2026-05-13 01:37:39 Date
Checkpoints Activity
↑ Back to the top of the Checkpoint Activity tableDay Hour Written buffers Write time Sync time Total time May 13 00 7,574 757.928s 0.095s 758.083s 01 25,969 940.231s 0.093s 940.381s 02 7,794 779.868s 0.09s 780.015s 03 6,700 671.099s 0.093s 671.25s 04 7,150 715.756s 0.09s 715.903s 05 6,770 677.474s 0.097s 677.625s 06 11,044 964.62s 0.165s 964.84s 07 10,509 1,051.314s 0.216s 1,051.583s 08 11,462 1,146.652s 0.255s 1,146.969s 09 10,840 1,084.227s 0.269s 1,084.553s 10 9,596 960.275s 0.21s 960.541s 11 8,687 869.57s 0.154s 869.779s 12 9,842 984.806s 0.208s 985.068s 13 10,617 1,061.751s 0.23s 1,062.034s 14 9,586 958.759s 0.234s 959.046s 15 9,363 937.117s 0.194s 937.368s 16 7,528 752.827s 0.123s 753.002s 17 7,304 730.98s 0.109s 731.15s 18 7,604 761.335s 0.113s 761.508s 19 6,730 673.692s 0.12s 673.868s 20 7,575 757.997s 0.095s 758.15s 21 7,054 706.158s 0.086s 706.305s 22 6,977 698.006s 0.09s 698.154s 23 8,535 854.447s 0.093s 854.6s Day Hour Added Removed Recycled Synced files Longest sync Average sync May 13 00 0 0 2 463 0.003s 0.012s 01 0 0 8 492 0.002s 0.012s 02 0 0 2 466 0.002s 0.012s 03 0 0 1 464 0.004s 0.012s 04 0 0 2 466 0.003s 0.012s 05 0 0 1 466 0.003s 0.012s 06 0 0 3 922 0.002s 0.012s 07 0 0 2 1,283 0.002s 0.011s 08 0 0 3 1,501 0.002s 0.013s 09 0 0 3 1,599 0.002s 0.012s 10 0 0 3 1,255 0.001s 0.012s 11 0 0 2 884 0.001s 0.012s 12 0 0 3 1,226 0.001s 0.012s 13 0 0 2 1,339 0.004s 0.012s 14 0 0 3 1,401 0.001s 0.011s 15 0 0 2 1,131 0.002s 0.013s 16 0 0 2 664 0.002s 0.012s 17 0 0 1 569 0.002s 0.012s 18 0 0 2 608 0.002s 0.012s 19 0 0 1 658 0.001s 0.012s 20 0 0 2 495 0.001s 0.012s 21 0 0 1 453 0.001s 0.012s 22 0 0 2 453 0.002s 0.012s 23 0 0 2 471 0.003s 0.012s Day Hour Count Avg time (sec) May 13 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 13 00 2,108.58 kB 2,899.92 kB 01 11,295.33 kB 45,480.33 kB 02 1,931.50 kB 37,139.50 kB 03 1,894.33 kB 11,870.50 kB 04 2,050.33 kB 4,765.50 kB 05 1,953.92 kB 2,935.58 kB 06 3,634.67 kB 9,144.25 kB 07 4,262.00 kB 7,978.55 kB 08 3,568.00 kB 6,411.31 kB 09 4,358.17 kB 5,733.67 kB 10 3,543.00 kB 5,454.00 kB 11 2,657.67 kB 4,296.67 kB 12 3,507.92 kB 7,211.50 kB 13 3,901.83 kB 5,288.00 kB 14 4,212.36 kB 6,662.36 kB 15 2,603.00 kB 4,461.23 kB 16 2,154.75 kB 3,017.17 kB 17 2,037.67 kB 2,933.00 kB 18 2,209.58 kB 3,150.25 kB 19 1,974.42 kB 3,340.33 kB 20 2,033.00 kB 2,980.67 kB 21 2,003.92 kB 2,655.67 kB 22 1,953.33 kB 2,566.67 kB 23 2,250.33 kB 3,016.75 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 13 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.66 sec Highest CPU-cost vacuum
Table public.tasks
Database zemm_produktiv_8 - 2026-05-13 01:30:13 Date
- 0 sec Highest CPU-cost analyze
Table
Database zemm_produktiv_8 - Date
Average Autovacuum Duration
Key values
- 0.66 sec Highest CPU-cost vacuum
Table public.tasks
Database zemm_produktiv_8 - 2026-05-13 01:30:13 Date
Analyzes per table
Key values
- pg_catalog.pg_type (139) Main table analyzed (database zemm_produktiv_8)
- 519 analyzes Total
Table Number of analyzes zemm_produktiv_8.pg_catalog.pg_type 139 zemm_produktiv_8.pg_catalog.pg_attribute 120 zemm_produktiv_8.pg_catalog.pg_class 96 zemm_produktiv_8.pg_catalog.pg_depend 95 template1.pg_catalog.pg_shdepend 9 invdb.pg_catalog.pg_shdepend 7 fbi_ci_db.pg_catalog.pg_shdepend 6 postgres.pg_catalog.pg_shdepend 5 zemm_monitoring.pg_catalog.pg_shdepend 5 fbi_unibi.pg_catalog.pg_shdepend 5 zemm_produktiv_8.pg_catalog.pg_shdepend 5 zemm_test.pg_catalog.pg_shdepend 4 zemm_dev.pg_catalog.pg_shdepend 4 zemm_produktiv_8.public.tmptasks 3 zemm_produktiv_8.public.cages_search_mview 3 template0.pg_catalog.pg_shdepend 3 zemm_monitoring.observability.metrics_timeseries 2 zemm_produktiv_8.public.users 2 labanimal.pg_catalog.pg_shdepend 1 zemm_produktiv_8.public.monitoring_session_activity 1 zemm_produktiv_8.public.login_tracker 1 zemm_monitoring.observability.uptime_checks 1 fbi_unire.pg_catalog.pg_shdepend 1 zemm_produktiv_8.public.tasks 1 Total 519 Vacuums per table
Key values
- pg_catalog.pg_type (79) Main table vacuumed on database zemm_produktiv_8
- 298 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_type 79 79 0 0 0 0 0 3,081 494 740,213 0 0 zemm_produktiv_8.pg_catalog.pg_attribute 71 71 0 0 0 0 0 6,938 1,039 1,753,757 0 0 zemm_produktiv_8.pg_catalog.pg_class 54 54 0 0 0 0 0 2,505 598 684,622 0 0 zemm_produktiv_8.pg_catalog.pg_depend 47 47 0 0 0 0 0 4,409 838 1,387,004 0 0 fbi_unire.pg_catalog.pg_shdepend 17 17 0 0 0 0 0 1,137 250 576,643 0 0 template1.pg_catalog.pg_shdepend 10 10 0 0 0 0 0 703 187 418,296 0 0 zemm_produktiv_8.pg_toast.pg_toast_2619 9 9 0 0 0 0 0 1,442 345 1,927,604 42 131 zemm_monitoring.pg_toast.pg_toast_67431 4 0 0 0 0 0 0 4,411 1,478 3,361,534 1,462 8,772 zemm_produktiv_8.public.cages_search_mview 1 1 0 0 0 0 0 739 404 1,394,051 44 231 zemm_monitoring.observability.phpfpm_counters 1 0 0 0 0 0 0 1,414 1,414 1,323,337 0 0 zemm_produktiv_8.public.tasks 1 1 0 0 0 0 0 50,874 56 3,872,737 3 10 fbi_ci_db.pg_catalog.pg_shdepend 1 1 0 0 0 0 0 68 8 23,695 0 0 zemm_produktiv_8.pg_catalog.pg_shdepend 1 1 0 0 0 0 0 64 15 38,289 0 0 zemm_monitoring.pg_toast.pg_toast_2619 1 1 0 0 0 0 0 121 37 220,561 18 47 zemm_produktiv_8.public.tmptasks 1 1 0 0 0 0 0 73 24 16,252 0 0 Total 298 293 0 0 0 0 0 77,979 7,187 17,738,595 1,569 9,191 Vacuum throughput per table
Key values
- public.tasks (0.66) Max CPU elapsed for vacuum on database zemm_produktiv_8
- public.cages_search_mview (0.545 ms) Max I/O read time for vacuum on database zemm_produktiv_8
- unknown (0 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_type 0 0 0 zemm_produktiv_8.pg_catalog.pg_attribute 0 0 0.04 zemm_produktiv_8.pg_catalog.pg_class 0 0 0 zemm_produktiv_8.pg_catalog.pg_depend 0 0 0.08 fbi_unire.pg_catalog.pg_shdepend 0 0 0 template1.pg_catalog.pg_shdepend 0 0 0 zemm_produktiv_8.pg_toast.pg_toast_2619 0 0 0.06 zemm_monitoring.pg_toast.pg_toast_67431 0 0 0.36 zemm_produktiv_8.public.cages_search_mview 0.545 0 0.1 zemm_monitoring.observability.phpfpm_counters 0.493 0 0.34 zemm_produktiv_8.public.tasks 0 0 0.66 fbi_ci_db.pg_catalog.pg_shdepend 0 0 0 zemm_produktiv_8.pg_catalog.pg_shdepend 0 0 0 zemm_monitoring.pg_toast.pg_toast_2619 0 0 0.01 zemm_produktiv_8.public.tmptasks 0 0 0 Total 1.038 0 1.65 Tuples removed per table
Key values
- public.tasks (54447) Main table with removed tuples on database zemm_produktiv_8
- 113040 tuples Total removed
Index Tuples Pages Table Vacuums scans removed remain not yet removable removed remain zemm_produktiv_8.public.tasks 1 1 54,447 57,557 0 0 16,964 zemm_produktiv_8.pg_catalog.pg_attribute 71 71 28,283 419,132 0 0 13,064 zemm_produktiv_8.pg_catalog.pg_depend 47 47 14,398 200,110 0 0 2,585 zemm_produktiv_8.pg_catalog.pg_type 79 79 7,102 65,649 0 0 2,449 zemm_produktiv_8.pg_catalog.pg_class 54 54 3,724 49,274 0 0 2,268 fbi_unire.pg_catalog.pg_shdepend 17 17 2,002 79,985 0 0 646 template1.pg_catalog.pg_shdepend 10 10 1,425 47,050 0 0 380 zemm_produktiv_8.pg_toast.pg_toast_2619 9 9 951 2,369 0 0 954 zemm_produktiv_8.public.cages_search_mview 1 1 258 13,885 0 0 234 fbi_ci_db.pg_catalog.pg_shdepend 1 1 192 4,705 0 0 38 zemm_produktiv_8.pg_catalog.pg_shdepend 1 1 111 4,705 0 0 38 zemm_produktiv_8.public.tmptasks 1 1 79 841 0 0 120 zemm_monitoring.pg_toast.pg_toast_2619 1 1 68 84 0 0 38 zemm_monitoring.observability.phpfpm_counters 1 0 0 111,133 0 0 7,154 zemm_monitoring.pg_toast.pg_toast_67431 4 0 0 2,478,660 0 0 420,246 Total 298 293 113,040 3,535,139 0 0 467,178 Pages removed per table
Key values
- unknown (0) Main table with removed pages on database unknown
- 0 pages Total removed
Pages removed per tables
NO DATASET
Table Number of vacuums Index scans Tuples removed Pages removed zemm_produktiv_8.public.cages_search_mview 1 1 258 0 zemm_produktiv_8.pg_catalog.pg_class 54 54 3724 0 zemm_produktiv_8.pg_catalog.pg_depend 47 47 14398 0 zemm_monitoring.observability.phpfpm_counters 1 0 0 0 zemm_produktiv_8.public.tasks 1 1 54447 0 fbi_ci_db.pg_catalog.pg_shdepend 1 1 192 0 zemm_produktiv_8.pg_catalog.pg_shdepend 1 1 111 0 zemm_produktiv_8.pg_catalog.pg_attribute 71 71 28283 0 zemm_monitoring.pg_toast.pg_toast_67431 4 0 0 0 zemm_produktiv_8.pg_catalog.pg_type 79 79 7102 0 fbi_unire.pg_catalog.pg_shdepend 17 17 2002 0 zemm_monitoring.pg_toast.pg_toast_2619 1 1 68 0 template1.pg_catalog.pg_shdepend 10 10 1425 0 zemm_produktiv_8.pg_toast.pg_toast_2619 9 9 951 0 zemm_produktiv_8.public.tmptasks 1 1 79 0 Total 298 293 113,040 0 Autovacuum Activity
↑ Back to the top of the Autovacuum Activity tableDay Hour VACUUMs ANALYZEs May 13 00 0 0 01 1 1 02 2 0 03 0 0 04 0 0 05 0 0 06 20 30 07 37 59 08 18 36 09 50 84 10 26 51 11 17 30 12 29 51 13 40 60 14 32 60 15 13 25 16 4 9 17 1 1 18 5 10 19 2 9 20 1 1 21 0 0 22 0 1 23 0 1 - 0.66 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
- 94 Total read queries
- 24,506 Total write queries
Queries by database
Key values
- zemm_monitoring Main database
- 24,499 Requests
- 6h50m15s (zemm_monitoring)
- Main time consuming database
Queries by user
Key values
- monitoring_admin Main user
- 24,499 Requests
User Request type Count Duration labanimal Total 96 1m37s cte 19 21s189ms select 76 1m14s update 1 1s264ms monitoring_admin Total 24,499 6h50m15s cte 1 1s436ms ddl 24,480 6h50m3s select 18 10s977ms postgres Total 5 6s649ms copy to 5 6s649ms Duration by user
Key values
- 6h50m15s (monitoring_admin) Main time consuming user
User Request type Count Duration labanimal Total 96 1m37s cte 19 21s189ms select 76 1m14s update 1 1s264ms monitoring_admin Total 24,499 6h50m15s cte 1 1s436ms ddl 24,480 6h50m3s select 18 10s977ms postgres Total 5 6s649ms copy to 5 6s649ms Queries by host
Key values
- unknown Main host
- 24,594 Requests
- 6h51m51s (unknown)
- Main time consuming host
Queries by application
Key values
- unknown Main application
- 24,499 Requests
- 6h50m15s (unknown)
- Main time consuming application
Application Request type Count Duration _desktop_index.php_zemm_produktiv_8_localhost_5432 Total 95 1m35s cte 19 21s189ms select 76 1m14s expire_tasks:zemm_produktiv_8@h2940066.stratoserver.net:5432 Total 1 1s264ms update 1 1s264ms pg_dump Total 5 6s649ms copy to 5 6s649ms unknown Total 24,499 6h50m15s cte 1 1s436ms ddl 24,480 6h50m3s select 18 10s977ms Number of cancelled queries
Key values
- 0 per second Cancelled query Peak
- 2026-05-13 17:25:02 Date
Number of cancelled queries (5 minutes period)
NO DATASET
-
Top Queries
Histogram of query times
Key values
- 95 500-1000ms duration
Slowest individual queries
Rank Duration Query 1 12s722ms SELECT a.id, a.name, a."animalID", a.dummy_strain_info, a."birthDate", a.sex, tr.rfid FROM animals a LEFT OUTER JOIN cages c ON c.id = a."homeCage" LEFT OUTER JOIN ( SELECT max(id) AS id, maps_to FROM transponders WHERE extraction_date IS NULL GROUP BY maps_to) tr_sel ON tr_sel.maps_to = a.id LEFT OUTER JOIN transponders tr ON tr.id = tr_sel.id WHERE NOT (a.deleted) AND c.id = 9628 AND CASE WHEN user_is_tgm (a.owner, 456) THEN TRUE WHEN user_is_tgm (a.editor, 456) THEN TRUE WHEN user_is_tgm (a.tourist, 456) THEN TRUE ELSE FALSE END ORDER BY a.id;[ Date: 2026-05-13 07:58:55 - Database: zemm_produktiv_8 - User: labanimal - Application: _desktop_index.php_zemm_produktiv_8_localhost_5432 - Bind query: yes ]
2 12s722ms CREATE SCHEMA IF NOT EXISTS observability;[ Date: 2026-05-13 07:59:01 - Database: zemm_monitoring - User: monitoring_admin - Bind query: yes ]
3 12s722ms 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-13 07:59:01 - Database: zemm_monitoring - User: monitoring_admin - Bind query: yes ]
4 12s722ms CREATE INDEX IF NOT EXISTS idx_metrics_timeseries_bucket ON observability.metrics_timeseries (bucket_start);[ Date: 2026-05-13 07:59:01 - Database: zemm_monitoring - User: monitoring_admin - Bind query: yes ]
5 12s722ms CREATE INDEX IF NOT EXISTS idx_metrics_timeseries_metric ON observability.metrics_timeseries (metric_name);[ Date: 2026-05-13 07:59:01 - Database: zemm_monitoring - User: monitoring_admin - Bind query: yes ]
6 12s722ms 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-13 07:59:01 - Database: zemm_monitoring - User: monitoring_admin - Bind query: yes ]
7 12s722ms CREATE INDEX IF NOT EXISTS idx_app_events_tenant ON observability.app_events (tenant_key, occurred_at DESC);[ Date: 2026-05-13 07:59:01 - Database: zemm_monitoring - User: monitoring_admin - Bind query: yes ]
8 12s722ms CREATE INDEX IF NOT EXISTS idx_app_events_type ON observability.app_events (event_type);[ Date: 2026-05-13 07:59:01 - Database: zemm_monitoring - User: monitoring_admin - Bind query: yes ]
9 12s722ms 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-13 07:59:01 - Database: zemm_monitoring - User: monitoring_admin - Bind query: yes ]
10 12s722ms CREATE INDEX IF NOT EXISTS idx_db_top_queries_tenant ON observability.db_top_queries (tenant_key, collected_at DESC);[ Date: 2026-05-13 07:59:01 - Database: zemm_monitoring - User: monitoring_admin - Bind query: yes ]
11 12s722ms 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-13 07:59:01 - Database: zemm_monitoring - User: monitoring_admin - Bind query: yes ]
12 12s722ms 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-13 07:59:01 - Database: zemm_monitoring - User: monitoring_admin - Bind query: yes ]
13 12s722ms 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-13 07:59:01 - Database: zemm_monitoring - User: monitoring_admin - Bind query: yes ]
14 12s722ms 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-13 07:59:01 - Database: zemm_monitoring - User: monitoring_admin - Bind query: yes ]
15 12s722ms ALTER TABLE observability.uptime_checks ADD COLUMN IF NOT EXISTS label text;[ Date: 2026-05-13 07:59:01 - Database: zemm_monitoring - User: monitoring_admin - Bind query: yes ]
16 12s722ms ALTER TABLE observability.uptime_checks ADD COLUMN IF NOT EXISTS payload jsonb;[ Date: 2026-05-13 07:59:01 - Database: zemm_monitoring - User: monitoring_admin - Bind query: yes ]
17 12s722ms CREATE INDEX IF NOT EXISTS idx_uptime_checks_endpoint ON observability.uptime_checks (endpoint, checked_at DESC);[ Date: 2026-05-13 07:59:01 - Database: zemm_monitoring - User: monitoring_admin - Bind query: yes ]
18 12s722ms CREATE INDEX IF NOT EXISTS idx_uptime_checks_key ON observability.uptime_checks (check_key, checked_at DESC);[ Date: 2026-05-13 07:59:01 - Database: zemm_monitoring - User: monitoring_admin - Bind query: yes ]
19 12s722ms CREATE SCHEMA IF NOT EXISTS observability;[ Date: 2026-05-13 08:00:01 - Database: zemm_monitoring - User: monitoring_admin - Bind query: yes ]
20 12s722ms 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-13 08:00:01 - Database: zemm_monitoring - User: monitoring_admin - Bind query: yes ]
Time consuming queries (N)
Rank Total duration Times executed Min duration Max duration Avg duration Query 1 24m7s 1,440 504ms 12s722ms 1s5ms 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 #1
Day Hour Count Duration Avg duration May 13 01 60 33s934ms 565ms 02 60 55s786ms 929ms 03 60 1m15s 1s264ms 04 60 1m15s 1s264ms 05 60 1m15s 1s264ms 06 60 1m15s 1s264ms 07 60 1m21s 1s365ms 08 60 1m25s 1s417ms 09 60 2m37s 2s619ms 10 60 1m6s 1s109ms 11 60 1m6s 1s106ms 12 60 31s849ms 530ms 13 60 1m18s 1s304ms 14 60 43s584ms 726ms 15 60 38s569ms 642ms 16 60 44s806ms 746ms 17 60 44s648ms 744ms 18 60 44s648ms 744ms 19 60 44s648ms 744ms 20 60 44s648ms 744ms 21 60 44s648ms 744ms 22 60 44s648ms 744ms 23 60 44s648ms 744ms 00 60 47s242ms 787ms [ User: monitoring_admin - Total duration: 24m7s - Times executed: 1436 ]
-
CREATE TABLE IF NOT EXISTS observability.system_metrics ( id bigserial PRIMARY KEY, payload jsonb NOT NULL, collected_at timestamptz NOT NULL DEFAULT NOW() );
Date: 2026-05-13 08:04:01 Duration: 12s722ms Database: zemm_monitoring User: monitoring_admin Bind query: yes Log file: /var/log/postgresql/postgresql-2026-05-13_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-13 10:25:01 Duration: 1s947ms Database: zemm_monitoring User: monitoring_admin Bind query: yes Log file: /var/log/postgresql/postgresql-2026-05-13_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-13 09:04:01 Duration: 1s922ms Database: zemm_monitoring User: monitoring_admin Bind query: yes Log file: /var/log/postgresql/postgresql-2026-05-13_000000.csv
2 24m7s 1,440 504ms 12s722ms 1s5ms create table if not exists observability.db_top_queries ( id bigserial primary key, tenant_key text not null, fingerprint text, query text, mean_time_ms double precision, total_time_ms double precision, calls bigint, rows_returned bigint, collected_at timestamptz not null default now() );Times Reported Time consuming queries #2
Day Hour Count Duration Avg duration May 13 01 60 33s934ms 565ms 02 60 55s786ms 929ms 03 60 1m15s 1s264ms 04 60 1m15s 1s264ms 05 60 1m15s 1s264ms 06 60 1m15s 1s264ms 07 60 1m21s 1s365ms 08 60 1m25s 1s417ms 09 60 2m37s 2s619ms 10 60 1m6s 1s109ms 11 60 1m6s 1s106ms 12 60 31s849ms 530ms 13 60 1m18s 1s304ms 14 60 43s584ms 726ms 15 60 38s569ms 642ms 16 60 44s806ms 746ms 17 60 44s648ms 744ms 18 60 44s648ms 744ms 19 60 44s648ms 744ms 20 60 44s648ms 744ms 21 60 44s648ms 744ms 22 60 44s648ms 744ms 23 60 44s648ms 744ms 00 60 47s242ms 787ms [ User: monitoring_admin - Total duration: 24m7s - Times executed: 1436 ]
-
CREATE TABLE IF NOT EXISTS observability.db_top_queries ( id bigserial PRIMARY KEY, tenant_key text NOT NULL, fingerprint text, query text, mean_time_ms double precision, total_time_ms double precision, calls bigint, rows_returned bigint, collected_at timestamptz NOT NULL DEFAULT NOW() );
Date: 2026-05-13 08:04:01 Duration: 12s722ms Database: zemm_monitoring User: monitoring_admin Bind query: yes Log file: /var/log/postgresql/postgresql-2026-05-13_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-13 10:25:01 Duration: 1s947ms Database: zemm_monitoring User: monitoring_admin Bind query: yes Log file: /var/log/postgresql/postgresql-2026-05-13_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-13 09:04:01 Duration: 1s922ms Database: zemm_monitoring User: monitoring_admin Bind query: yes Log file: /var/log/postgresql/postgresql-2026-05-13_000000.csv
3 24m7s 1,440 504ms 12s722ms 1s5ms alter table observability.uptime_checks add column if not exists label text;Times Reported Time consuming queries #3
Day Hour Count Duration Avg duration May 13 01 60 33s934ms 565ms 02 60 55s786ms 929ms 03 60 1m15s 1s264ms 04 60 1m15s 1s264ms 05 60 1m15s 1s264ms 06 60 1m15s 1s264ms 07 60 1m21s 1s365ms 08 60 1m25s 1s417ms 09 60 2m37s 2s619ms 10 60 1m6s 1s109ms 11 60 1m6s 1s106ms 12 60 31s849ms 530ms 13 60 1m18s 1s304ms 14 60 43s584ms 726ms 15 60 38s569ms 642ms 16 60 44s806ms 746ms 17 60 44s648ms 744ms 18 60 44s648ms 744ms 19 60 44s648ms 744ms 20 60 44s648ms 744ms 21 60 44s648ms 744ms 22 60 44s648ms 744ms 23 60 44s648ms 744ms 00 60 47s242ms 787ms [ User: monitoring_admin - Total duration: 24m7s - Times executed: 1436 ]
-
ALTER TABLE observability.uptime_checks ADD COLUMN IF NOT EXISTS label text;
Date: 2026-05-13 08:04:01 Duration: 12s722ms Database: zemm_monitoring User: monitoring_admin Bind query: yes Log file: /var/log/postgresql/postgresql-2026-05-13_000000.csv
-
ALTER TABLE observability.uptime_checks ADD COLUMN IF NOT EXISTS label text;
Date: 2026-05-13 10:25:01 Duration: 1s947ms Database: zemm_monitoring User: monitoring_admin Bind query: yes Log file: /var/log/postgresql/postgresql-2026-05-13_000000.csv
-
ALTER TABLE observability.uptime_checks ADD COLUMN IF NOT EXISTS label text;
Date: 2026-05-13 09:04:01 Duration: 1s922ms Database: zemm_monitoring User: monitoring_admin Bind query: yes Log file: /var/log/postgresql/postgresql-2026-05-13_000000.csv
4 24m7s 1,440 504ms 12s722ms 1s5ms create index if not exists idx_metrics_timeseries_bucket on observability.metrics_timeseries (bucket_start);Times Reported Time consuming queries #4
Day Hour Count Duration Avg duration May 13 01 60 33s934ms 565ms 02 60 55s786ms 929ms 03 60 1m15s 1s264ms 04 60 1m15s 1s264ms 05 60 1m15s 1s264ms 06 60 1m15s 1s264ms 07 60 1m21s 1s365ms 08 60 1m25s 1s417ms 09 60 2m37s 2s619ms 10 60 1m6s 1s109ms 11 60 1m6s 1s106ms 12 60 31s849ms 530ms 13 60 1m18s 1s304ms 14 60 43s584ms 726ms 15 60 38s569ms 642ms 16 60 44s806ms 746ms 17 60 44s648ms 744ms 18 60 44s648ms 744ms 19 60 44s648ms 744ms 20 60 44s648ms 744ms 21 60 44s648ms 744ms 22 60 44s648ms 744ms 23 60 44s648ms 744ms 00 60 47s242ms 787ms [ User: monitoring_admin - Total duration: 24m7s - Times executed: 1436 ]
-
CREATE INDEX IF NOT EXISTS idx_metrics_timeseries_bucket ON observability.metrics_timeseries (bucket_start);
Date: 2026-05-13 08:04:01 Duration: 12s722ms Database: zemm_monitoring User: monitoring_admin Bind query: yes Log file: /var/log/postgresql/postgresql-2026-05-13_000000.csv
-
CREATE INDEX IF NOT EXISTS idx_metrics_timeseries_bucket ON observability.metrics_timeseries (bucket_start);
Date: 2026-05-13 10:25:01 Duration: 1s947ms Database: zemm_monitoring User: monitoring_admin Bind query: yes Log file: /var/log/postgresql/postgresql-2026-05-13_000000.csv
-
CREATE INDEX IF NOT EXISTS idx_metrics_timeseries_bucket ON observability.metrics_timeseries (bucket_start);
Date: 2026-05-13 09:04:01 Duration: 1s922ms Database: zemm_monitoring User: monitoring_admin Bind query: yes Log file: /var/log/postgresql/postgresql-2026-05-13_000000.csv
5 24m7s 1,440 504ms 12s722ms 1s5ms 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 #5
Day Hour Count Duration Avg duration May 13 01 60 33s934ms 565ms 02 60 55s786ms 929ms 03 60 1m15s 1s264ms 04 60 1m15s 1s264ms 05 60 1m15s 1s264ms 06 60 1m15s 1s264ms 07 60 1m21s 1s365ms 08 60 1m25s 1s417ms 09 60 2m37s 2s619ms 10 60 1m6s 1s109ms 11 60 1m6s 1s106ms 12 60 31s849ms 530ms 13 60 1m18s 1s304ms 14 60 43s584ms 726ms 15 60 38s569ms 642ms 16 60 44s806ms 746ms 17 60 44s648ms 744ms 18 60 44s648ms 744ms 19 60 44s648ms 744ms 20 60 44s648ms 744ms 21 60 44s648ms 744ms 22 60 44s648ms 744ms 23 60 44s648ms 744ms 00 60 47s242ms 787ms [ User: monitoring_admin - Total duration: 24m7s - Times executed: 1436 ]
-
CREATE TABLE IF NOT EXISTS observability.phpfpm_counters ( id bigserial PRIMARY KEY, payload jsonb NOT NULL, collected_at timestamptz NOT NULL DEFAULT NOW() );
Date: 2026-05-13 08:04:01 Duration: 12s722ms Database: zemm_monitoring User: monitoring_admin Bind query: yes Log file: /var/log/postgresql/postgresql-2026-05-13_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-13 10:25:01 Duration: 1s947ms Database: zemm_monitoring User: monitoring_admin Bind query: yes Log file: /var/log/postgresql/postgresql-2026-05-13_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-13 09:04:01 Duration: 1s922ms Database: zemm_monitoring User: monitoring_admin Bind query: yes Log file: /var/log/postgresql/postgresql-2026-05-13_000000.csv
6 24m7s 1,440 504ms 12s722ms 1s5ms create index if not exists idx_metrics_timeseries_metric on observability.metrics_timeseries (metric_name);Times Reported Time consuming queries #6
Day Hour Count Duration Avg duration May 13 01 60 33s934ms 565ms 02 60 55s786ms 929ms 03 60 1m15s 1s264ms 04 60 1m15s 1s264ms 05 60 1m15s 1s264ms 06 60 1m15s 1s264ms 07 60 1m21s 1s365ms 08 60 1m25s 1s417ms 09 60 2m37s 2s619ms 10 60 1m6s 1s109ms 11 60 1m6s 1s106ms 12 60 31s849ms 530ms 13 60 1m18s 1s304ms 14 60 43s584ms 726ms 15 60 38s569ms 642ms 16 60 44s806ms 746ms 17 60 44s648ms 744ms 18 60 44s648ms 744ms 19 60 44s648ms 744ms 20 60 44s648ms 744ms 21 60 44s648ms 744ms 22 60 44s648ms 744ms 23 60 44s648ms 744ms 00 60 47s242ms 787ms [ User: monitoring_admin - Total duration: 24m7s - Times executed: 1436 ]
-
CREATE INDEX IF NOT EXISTS idx_metrics_timeseries_metric ON observability.metrics_timeseries (metric_name);
Date: 2026-05-13 08:04:01 Duration: 12s722ms Database: zemm_monitoring User: monitoring_admin Bind query: yes Log file: /var/log/postgresql/postgresql-2026-05-13_000000.csv
-
CREATE INDEX IF NOT EXISTS idx_metrics_timeseries_metric ON observability.metrics_timeseries (metric_name);
Date: 2026-05-13 10:25:01 Duration: 1s947ms Database: zemm_monitoring User: monitoring_admin Bind query: yes Log file: /var/log/postgresql/postgresql-2026-05-13_000000.csv
-
CREATE INDEX IF NOT EXISTS idx_metrics_timeseries_metric ON observability.metrics_timeseries (metric_name);
Date: 2026-05-13 09:04:01 Duration: 1s922ms Database: zemm_monitoring User: monitoring_admin Bind query: yes Log file: /var/log/postgresql/postgresql-2026-05-13_000000.csv
7 24m7s 1,440 504ms 12s722ms 1s5ms 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 #7
Day Hour Count Duration Avg duration May 13 01 60 33s934ms 565ms 02 60 55s786ms 929ms 03 60 1m15s 1s264ms 04 60 1m15s 1s264ms 05 60 1m15s 1s264ms 06 60 1m15s 1s264ms 07 60 1m21s 1s365ms 08 60 1m25s 1s417ms 09 60 2m37s 2s619ms 10 60 1m6s 1s109ms 11 60 1m6s 1s106ms 12 60 31s849ms 530ms 13 60 1m18s 1s304ms 14 60 43s584ms 726ms 15 60 38s569ms 642ms 16 60 44s806ms 746ms 17 60 44s648ms 744ms 18 60 44s648ms 744ms 19 60 44s648ms 744ms 20 60 44s648ms 744ms 21 60 44s648ms 744ms 22 60 44s648ms 744ms 23 60 44s648ms 744ms 00 60 47s242ms 787ms [ User: monitoring_admin - Total duration: 24m7s - Times executed: 1436 ]
-
CREATE TABLE IF NOT EXISTS observability.metrics_timeseries ( id bigserial PRIMARY KEY, tenant_key text NOT NULL, metric_name text NOT NULL, bucket_start timestamptz NOT NULL, bucket_width_seconds integer NOT NULL DEFAULT 60, sum_value double precision NOT NULL DEFAULT 0, count_value bigint NOT NULL DEFAULT 0, histogram jsonb, created_at timestamptz NOT NULL DEFAULT NOW(), updated_at timestamptz NOT NULL DEFAULT NOW(), UNIQUE (tenant_key, metric_name, bucket_start, bucket_width_seconds) );
Date: 2026-05-13 08:04:01 Duration: 12s722ms Database: zemm_monitoring User: monitoring_admin Bind query: yes Log file: /var/log/postgresql/postgresql-2026-05-13_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-13 10:25:01 Duration: 1s947ms Database: zemm_monitoring User: monitoring_admin Bind query: yes Log file: /var/log/postgresql/postgresql-2026-05-13_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-13 09:04:01 Duration: 1s922ms Database: zemm_monitoring User: monitoring_admin Bind query: yes Log file: /var/log/postgresql/postgresql-2026-05-13_000000.csv
8 24m7s 1,440 504ms 12s722ms 1s5ms create schema if not exists observability;Times Reported Time consuming queries #8
Day Hour Count Duration Avg duration May 13 01 60 33s934ms 565ms 02 60 55s786ms 929ms 03 60 1m15s 1s264ms 04 60 1m15s 1s264ms 05 60 1m15s 1s264ms 06 60 1m15s 1s264ms 07 60 1m21s 1s365ms 08 60 1m25s 1s417ms 09 60 2m37s 2s619ms 10 60 1m6s 1s109ms 11 60 1m6s 1s106ms 12 60 31s849ms 530ms 13 60 1m18s 1s304ms 14 60 43s584ms 726ms 15 60 38s569ms 642ms 16 60 44s806ms 746ms 17 60 44s648ms 744ms 18 60 44s648ms 744ms 19 60 44s648ms 744ms 20 60 44s648ms 744ms 21 60 44s648ms 744ms 22 60 44s648ms 744ms 23 60 44s648ms 744ms 00 60 47s242ms 787ms [ User: monitoring_admin - Total duration: 24m7s - Times executed: 1436 ]
-
CREATE SCHEMA IF NOT EXISTS observability;
Date: 2026-05-13 08:04:01 Duration: 12s722ms Database: zemm_monitoring User: monitoring_admin Bind query: yes Log file: /var/log/postgresql/postgresql-2026-05-13_000000.csv
-
CREATE SCHEMA IF NOT EXISTS observability;
Date: 2026-05-13 10:25:01 Duration: 1s947ms Database: zemm_monitoring User: monitoring_admin Bind query: yes Log file: /var/log/postgresql/postgresql-2026-05-13_000000.csv
-
CREATE SCHEMA IF NOT EXISTS observability;
Date: 2026-05-13 09:04:01 Duration: 1s922ms Database: zemm_monitoring User: monitoring_admin Bind query: yes Log file: /var/log/postgresql/postgresql-2026-05-13_000000.csv
9 24m7s 1,440 504ms 12s722ms 1s5ms create index if not exists idx_uptime_checks_key on observability.uptime_checks (check_key, checked_at desc);Times Reported Time consuming queries #9
Day Hour Count Duration Avg duration May 13 01 60 33s934ms 565ms 02 60 55s786ms 929ms 03 60 1m15s 1s264ms 04 60 1m15s 1s264ms 05 60 1m15s 1s264ms 06 60 1m15s 1s264ms 07 60 1m21s 1s365ms 08 60 1m25s 1s417ms 09 60 2m37s 2s619ms 10 60 1m6s 1s109ms 11 60 1m6s 1s106ms 12 60 31s849ms 530ms 13 60 1m18s 1s304ms 14 60 43s584ms 726ms 15 60 38s569ms 642ms 16 60 44s806ms 746ms 17 60 44s648ms 744ms 18 60 44s648ms 744ms 19 60 44s648ms 744ms 20 60 44s648ms 744ms 21 60 44s648ms 744ms 22 60 44s648ms 744ms 23 60 44s648ms 744ms 00 60 47s242ms 787ms [ User: monitoring_admin - Total duration: 24m7s - Times executed: 1436 ]
-
CREATE INDEX IF NOT EXISTS idx_uptime_checks_key ON observability.uptime_checks (check_key, checked_at DESC);
Date: 2026-05-13 08:04:01 Duration: 12s722ms Database: zemm_monitoring User: monitoring_admin Bind query: yes Log file: /var/log/postgresql/postgresql-2026-05-13_000000.csv
-
CREATE INDEX IF NOT EXISTS idx_uptime_checks_key ON observability.uptime_checks (check_key, checked_at DESC);
Date: 2026-05-13 10:25:01 Duration: 1s947ms Database: zemm_monitoring User: monitoring_admin Bind query: yes Log file: /var/log/postgresql/postgresql-2026-05-13_000000.csv
-
CREATE INDEX IF NOT EXISTS idx_uptime_checks_key ON observability.uptime_checks (check_key, checked_at DESC);
Date: 2026-05-13 09:04:01 Duration: 1s922ms Database: zemm_monitoring User: monitoring_admin Bind query: yes Log file: /var/log/postgresql/postgresql-2026-05-13_000000.csv
10 24m7s 1,440 504ms 12s722ms 1s5ms 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 #10
Day Hour Count Duration Avg duration May 13 01 60 33s934ms 565ms 02 60 55s786ms 929ms 03 60 1m15s 1s264ms 04 60 1m15s 1s264ms 05 60 1m15s 1s264ms 06 60 1m15s 1s264ms 07 60 1m21s 1s365ms 08 60 1m25s 1s417ms 09 60 2m37s 2s619ms 10 60 1m6s 1s109ms 11 60 1m6s 1s106ms 12 60 31s849ms 530ms 13 60 1m18s 1s304ms 14 60 43s584ms 726ms 15 60 38s569ms 642ms 16 60 44s806ms 746ms 17 60 44s648ms 744ms 18 60 44s648ms 744ms 19 60 44s648ms 744ms 20 60 44s648ms 744ms 21 60 44s648ms 744ms 22 60 44s648ms 744ms 23 60 44s648ms 744ms 00 60 47s242ms 787ms [ User: monitoring_admin - Total duration: 24m7s - Times executed: 1436 ]
-
CREATE TABLE IF NOT EXISTS observability.app_events ( id bigserial PRIMARY KEY, tenant_key text NOT NULL, event_type text NOT NULL, severity text NOT NULL, message text NOT NULL, payload jsonb, occurred_at timestamptz NOT NULL DEFAULT NOW(), created_at timestamptz NOT NULL DEFAULT NOW() );
Date: 2026-05-13 08:04:01 Duration: 12s722ms Database: zemm_monitoring User: monitoring_admin Bind query: yes Log file: /var/log/postgresql/postgresql-2026-05-13_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-13 10:25:01 Duration: 1s947ms Database: zemm_monitoring User: monitoring_admin Bind query: yes Log file: /var/log/postgresql/postgresql-2026-05-13_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-13 09:04:01 Duration: 1s922ms Database: zemm_monitoring User: monitoring_admin Bind query: yes Log file: /var/log/postgresql/postgresql-2026-05-13_000000.csv
11 24m7s 1,440 504ms 12s722ms 1s5ms 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 #11
Day Hour Count Duration Avg duration May 13 01 60 33s934ms 565ms 02 60 55s786ms 929ms 03 60 1m15s 1s264ms 04 60 1m15s 1s264ms 05 60 1m15s 1s264ms 06 60 1m15s 1s264ms 07 60 1m21s 1s365ms 08 60 1m25s 1s417ms 09 60 2m37s 2s619ms 10 60 1m6s 1s109ms 11 60 1m6s 1s106ms 12 60 31s849ms 530ms 13 60 1m18s 1s304ms 14 60 43s584ms 726ms 15 60 38s569ms 642ms 16 60 44s806ms 746ms 17 60 44s648ms 744ms 18 60 44s648ms 744ms 19 60 44s648ms 744ms 20 60 44s648ms 744ms 21 60 44s648ms 744ms 22 60 44s648ms 744ms 23 60 44s648ms 744ms 00 60 47s242ms 787ms [ User: monitoring_admin - Total duration: 24m7s - Times executed: 1436 ]
-
CREATE INDEX IF NOT EXISTS idx_db_top_queries_tenant ON observability.db_top_queries (tenant_key, collected_at DESC);
Date: 2026-05-13 08:04:01 Duration: 12s722ms Database: zemm_monitoring User: monitoring_admin Bind query: yes Log file: /var/log/postgresql/postgresql-2026-05-13_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-13 10:25:01 Duration: 1s947ms Database: zemm_monitoring User: monitoring_admin Bind query: yes Log file: /var/log/postgresql/postgresql-2026-05-13_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-13 09:04:01 Duration: 1s922ms Database: zemm_monitoring User: monitoring_admin Bind query: yes Log file: /var/log/postgresql/postgresql-2026-05-13_000000.csv
12 24m7s 1,440 504ms 12s722ms 1s5ms create index if not exists idx_app_events_tenant on observability.app_events (tenant_key, occurred_at desc);Times Reported Time consuming queries #12
Day Hour Count Duration Avg duration May 13 01 60 33s934ms 565ms 02 60 55s786ms 929ms 03 60 1m15s 1s264ms 04 60 1m15s 1s264ms 05 60 1m15s 1s264ms 06 60 1m15s 1s264ms 07 60 1m21s 1s365ms 08 60 1m25s 1s417ms 09 60 2m37s 2s619ms 10 60 1m6s 1s109ms 11 60 1m6s 1s106ms 12 60 31s849ms 530ms 13 60 1m18s 1s304ms 14 60 43s584ms 726ms 15 60 38s569ms 642ms 16 60 44s806ms 746ms 17 60 44s648ms 744ms 18 60 44s648ms 744ms 19 60 44s648ms 744ms 20 60 44s648ms 744ms 21 60 44s648ms 744ms 22 60 44s648ms 744ms 23 60 44s648ms 744ms 00 60 47s242ms 787ms [ User: monitoring_admin - Total duration: 24m7s - Times executed: 1436 ]
-
CREATE INDEX IF NOT EXISTS idx_app_events_tenant ON observability.app_events (tenant_key, occurred_at DESC);
Date: 2026-05-13 08:04:01 Duration: 12s722ms Database: zemm_monitoring User: monitoring_admin Bind query: yes Log file: /var/log/postgresql/postgresql-2026-05-13_000000.csv
-
CREATE INDEX IF NOT EXISTS idx_app_events_tenant ON observability.app_events (tenant_key, occurred_at DESC);
Date: 2026-05-13 10:25:01 Duration: 1s947ms Database: zemm_monitoring User: monitoring_admin Bind query: yes Log file: /var/log/postgresql/postgresql-2026-05-13_000000.csv
-
CREATE INDEX IF NOT EXISTS idx_app_events_tenant ON observability.app_events (tenant_key, occurred_at DESC);
Date: 2026-05-13 09:04:01 Duration: 1s922ms Database: zemm_monitoring User: monitoring_admin Bind query: yes Log file: /var/log/postgresql/postgresql-2026-05-13_000000.csv
13 24m7s 1,440 504ms 12s722ms 1s5ms 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 #13
Day Hour Count Duration Avg duration May 13 01 60 33s934ms 565ms 02 60 55s786ms 929ms 03 60 1m15s 1s264ms 04 60 1m15s 1s264ms 05 60 1m15s 1s264ms 06 60 1m15s 1s264ms 07 60 1m21s 1s365ms 08 60 1m25s 1s417ms 09 60 2m37s 2s619ms 10 60 1m6s 1s109ms 11 60 1m6s 1s106ms 12 60 31s849ms 530ms 13 60 1m18s 1s304ms 14 60 43s584ms 726ms 15 60 38s569ms 642ms 16 60 44s806ms 746ms 17 60 44s648ms 744ms 18 60 44s648ms 744ms 19 60 44s648ms 744ms 20 60 44s648ms 744ms 21 60 44s648ms 744ms 22 60 44s648ms 744ms 23 60 44s648ms 744ms 00 60 47s242ms 787ms [ User: monitoring_admin - Total duration: 24m7s - Times executed: 1436 ]
-
CREATE TABLE IF NOT EXISTS observability.uptime_checks ( id bigserial PRIMARY KEY, endpoint text NOT NULL, status text NOT NULL, latency_ms double precision, checked_at timestamptz NOT NULL DEFAULT NOW() );
Date: 2026-05-13 08:04:01 Duration: 12s722ms Database: zemm_monitoring User: monitoring_admin Bind query: yes Log file: /var/log/postgresql/postgresql-2026-05-13_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-13 10:25:01 Duration: 1s947ms Database: zemm_monitoring User: monitoring_admin Bind query: yes Log file: /var/log/postgresql/postgresql-2026-05-13_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-13 09:04:01 Duration: 1s922ms Database: zemm_monitoring User: monitoring_admin Bind query: yes Log file: /var/log/postgresql/postgresql-2026-05-13_000000.csv
14 24m7s 1,440 504ms 12s722ms 1s5ms create table if not exists observability.nginx_counters ( id bigserial primary key, payload jsonb not null, collected_at timestamptz not null default now() );Times Reported Time consuming queries #14
Day Hour Count Duration Avg duration May 13 01 60 33s934ms 565ms 02 60 55s786ms 929ms 03 60 1m15s 1s264ms 04 60 1m15s 1s264ms 05 60 1m15s 1s264ms 06 60 1m15s 1s264ms 07 60 1m21s 1s365ms 08 60 1m25s 1s417ms 09 60 2m37s 2s619ms 10 60 1m6s 1s109ms 11 60 1m6s 1s106ms 12 60 31s849ms 530ms 13 60 1m18s 1s304ms 14 60 43s584ms 726ms 15 60 38s569ms 642ms 16 60 44s806ms 746ms 17 60 44s648ms 744ms 18 60 44s648ms 744ms 19 60 44s648ms 744ms 20 60 44s648ms 744ms 21 60 44s648ms 744ms 22 60 44s648ms 744ms 23 60 44s648ms 744ms 00 60 47s242ms 787ms [ User: monitoring_admin - Total duration: 24m7s - Times executed: 1436 ]
-
CREATE TABLE IF NOT EXISTS observability.nginx_counters ( id bigserial PRIMARY KEY, payload jsonb NOT NULL, collected_at timestamptz NOT NULL DEFAULT NOW() );
Date: 2026-05-13 08:04:01 Duration: 12s722ms Database: zemm_monitoring User: monitoring_admin Bind query: yes Log file: /var/log/postgresql/postgresql-2026-05-13_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-13 10:25:01 Duration: 1s947ms Database: zemm_monitoring User: monitoring_admin Bind query: yes Log file: /var/log/postgresql/postgresql-2026-05-13_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-13 09:04:01 Duration: 1s922ms Database: zemm_monitoring User: monitoring_admin Bind query: yes Log file: /var/log/postgresql/postgresql-2026-05-13_000000.csv
15 24m7s 1,440 504ms 12s722ms 1s5ms 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 13 01 60 33s934ms 565ms 02 60 55s786ms 929ms 03 60 1m15s 1s264ms 04 60 1m15s 1s264ms 05 60 1m15s 1s264ms 06 60 1m15s 1s264ms 07 60 1m21s 1s365ms 08 60 1m25s 1s417ms 09 60 2m37s 2s619ms 10 60 1m6s 1s109ms 11 60 1m6s 1s106ms 12 60 31s849ms 530ms 13 60 1m18s 1s304ms 14 60 43s584ms 726ms 15 60 38s569ms 642ms 16 60 44s806ms 746ms 17 60 44s648ms 744ms 18 60 44s648ms 744ms 19 60 44s648ms 744ms 20 60 44s648ms 744ms 21 60 44s648ms 744ms 22 60 44s648ms 744ms 23 60 44s648ms 744ms 00 60 47s242ms 787ms [ User: monitoring_admin - Total duration: 24m7s - Times executed: 1436 ]
-
CREATE INDEX IF NOT EXISTS idx_app_events_type ON observability.app_events (event_type);
Date: 2026-05-13 08:04:01 Duration: 12s722ms Database: zemm_monitoring User: monitoring_admin Bind query: yes Log file: /var/log/postgresql/postgresql-2026-05-13_000000.csv
-
CREATE INDEX IF NOT EXISTS idx_app_events_type ON observability.app_events (event_type);
Date: 2026-05-13 10:25:01 Duration: 1s947ms Database: zemm_monitoring User: monitoring_admin Bind query: yes Log file: /var/log/postgresql/postgresql-2026-05-13_000000.csv
-
CREATE INDEX IF NOT EXISTS idx_app_events_type ON observability.app_events (event_type);
Date: 2026-05-13 09:04:01 Duration: 1s922ms Database: zemm_monitoring User: monitoring_admin Bind query: yes Log file: /var/log/postgresql/postgresql-2026-05-13_000000.csv
16 24m7s 1,440 504ms 12s722ms 1s5ms alter table observability.uptime_checks add column if not exists payload jsonb;Times Reported Time consuming queries #16
Day Hour Count Duration Avg duration May 13 01 60 33s934ms 565ms 02 60 55s786ms 929ms 03 60 1m15s 1s264ms 04 60 1m15s 1s264ms 05 60 1m15s 1s264ms 06 60 1m15s 1s264ms 07 60 1m21s 1s365ms 08 60 1m25s 1s417ms 09 60 2m37s 2s619ms 10 60 1m6s 1s109ms 11 60 1m6s 1s106ms 12 60 31s849ms 530ms 13 60 1m18s 1s304ms 14 60 43s584ms 726ms 15 60 38s569ms 642ms 16 60 44s806ms 746ms 17 60 44s648ms 744ms 18 60 44s648ms 744ms 19 60 44s648ms 744ms 20 60 44s648ms 744ms 21 60 44s648ms 744ms 22 60 44s648ms 744ms 23 60 44s648ms 744ms 00 60 47s242ms 787ms [ User: monitoring_admin - Total duration: 24m7s - Times executed: 1436 ]
-
ALTER TABLE observability.uptime_checks ADD COLUMN IF NOT EXISTS payload jsonb;
Date: 2026-05-13 08:04:01 Duration: 12s722ms Database: zemm_monitoring User: monitoring_admin Bind query: yes Log file: /var/log/postgresql/postgresql-2026-05-13_000000.csv
-
ALTER TABLE observability.uptime_checks ADD COLUMN IF NOT EXISTS payload jsonb;
Date: 2026-05-13 10:25:01 Duration: 1s947ms Database: zemm_monitoring User: monitoring_admin Bind query: yes Log file: /var/log/postgresql/postgresql-2026-05-13_000000.csv
-
ALTER TABLE observability.uptime_checks ADD COLUMN IF NOT EXISTS payload jsonb;
Date: 2026-05-13 09:04:01 Duration: 1s922ms Database: zemm_monitoring User: monitoring_admin Bind query: yes Log file: /var/log/postgresql/postgresql-2026-05-13_000000.csv
17 24m7s 1,440 504ms 12s722ms 1s5ms create index if not exists idx_uptime_checks_endpoint on observability.uptime_checks (endpoint, checked_at desc);Times Reported Time consuming queries #17
Day Hour Count Duration Avg duration May 13 01 60 33s934ms 565ms 02 60 55s786ms 929ms 03 60 1m15s 1s264ms 04 60 1m15s 1s264ms 05 60 1m15s 1s264ms 06 60 1m15s 1s264ms 07 60 1m21s 1s365ms 08 60 1m25s 1s417ms 09 60 2m37s 2s619ms 10 60 1m6s 1s109ms 11 60 1m6s 1s106ms 12 60 31s849ms 530ms 13 60 1m18s 1s304ms 14 60 43s584ms 726ms 15 60 38s569ms 642ms 16 60 44s806ms 746ms 17 60 44s648ms 744ms 18 60 44s648ms 744ms 19 60 44s648ms 744ms 20 60 44s648ms 744ms 21 60 44s648ms 744ms 22 60 44s648ms 744ms 23 60 44s648ms 744ms 00 60 47s242ms 787ms [ User: monitoring_admin - Total duration: 24m7s - Times executed: 1436 ]
-
CREATE INDEX IF NOT EXISTS idx_uptime_checks_endpoint ON observability.uptime_checks (endpoint, checked_at DESC);
Date: 2026-05-13 08:04:01 Duration: 12s722ms Database: zemm_monitoring User: monitoring_admin Bind query: yes Log file: /var/log/postgresql/postgresql-2026-05-13_000000.csv
-
CREATE INDEX IF NOT EXISTS idx_uptime_checks_endpoint ON observability.uptime_checks (endpoint, checked_at DESC);
Date: 2026-05-13 10:25:01 Duration: 1s947ms Database: zemm_monitoring User: monitoring_admin Bind query: yes Log file: /var/log/postgresql/postgresql-2026-05-13_000000.csv
-
CREATE INDEX IF NOT EXISTS idx_uptime_checks_endpoint ON observability.uptime_checks (endpoint, checked_at DESC);
Date: 2026-05-13 09:04:01 Duration: 1s922ms Database: zemm_monitoring User: monitoring_admin Bind query: yes Log file: /var/log/postgresql/postgresql-2026-05-13_000000.csv
18 15s571ms 19 805ms 859ms 819ms 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 13 10 1 812ms 812ms 13 2 1s633ms 816ms 14 9 7s348ms 816ms 15 6 4s917ms 819ms 16 1 859ms 859ms [ User: labanimal - Total duration: 15s571ms - Times executed: 19 ]
[ Application: _desktop_index.php_zemm_produktiv_8_localhost_5432 - Total duration: 15s571ms - Times executed: 19 ]
-
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-13 15:08:37 Duration: 859ms Database: zemm_produktiv_8 User: labanimal Application: _desktop_index.php_zemm_produktiv_8_localhost_5432 Bind query: yes Log file: /var/log/postgresql/postgresql-2026-05-13_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, 574) AS is_owner, user_is_tgm (animals_search_mview.editor, 574) AS is_editor, user_is_tgm (animals_search_mview.tourist, 574) 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-13 13:14:26 Duration: 831ms Database: zemm_produktiv_8 User: labanimal Application: _desktop_index.php_zemm_produktiv_8_localhost_5432 Bind query: yes Log file: /var/log/postgresql/postgresql-2026-05-13_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, 134) AS is_owner, user_is_tgm (animals_search_mview.editor, 134) AS is_editor, user_is_tgm (animals_search_mview.tourist, 134) 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-13 13:12:36 Duration: 830ms Database: zemm_produktiv_8 User: labanimal Application: _desktop_index.php_zemm_produktiv_8_localhost_5432 Bind query: yes Log file: /var/log/postgresql/postgresql-2026-05-13_000000.csv
19 13s883ms 19 718ms 750ms 730ms 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 13 10 1 728ms 728ms 13 2 1s463ms 731ms 14 9 6s564ms 729ms 15 6 4s376ms 729ms 16 1 750ms 750ms [ User: labanimal - Total duration: 13s883ms - Times executed: 19 ]
[ Application: _desktop_index.php_zemm_produktiv_8_localhost_5432 - Total duration: 13s883ms - Times executed: 19 ]
-
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-13 15:08:38 Duration: 750ms Database: zemm_produktiv_8 User: labanimal Application: _desktop_index.php_zemm_produktiv_8_localhost_5432 Bind query: yes Log file: /var/log/postgresql/postgresql-2026-05-13_000000.csv
-
SELECT DISTINCT * FROM ( SELECT animals_search_mview.*, b.unbreeding_date, fates.loc AS fate_name, user_is_tgm (animals_search_mview.owner, 574) AS is_owner, user_is_tgm (animals_search_mview.editor, 574) AS is_editor, user_is_tgm (animals_search_mview.tourist, 574) 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-13 13:14:27 Duration: 739ms Database: zemm_produktiv_8 User: labanimal Application: _desktop_index.php_zemm_produktiv_8_localhost_5432 Bind query: yes Log file: /var/log/postgresql/postgresql-2026-05-13_000000.csv
-
SELECT DISTINCT * FROM ( SELECT animals_search_mview.*, b.unbreeding_date, fates.loc AS fate_name, user_is_tgm (animals_search_mview.owner, 468) AS is_owner, user_is_tgm (animals_search_mview.editor, 468) AS is_editor, user_is_tgm (animals_search_mview.tourist, 468) 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-13 13:57:41 Duration: 739ms Database: zemm_produktiv_8 User: labanimal Application: _desktop_index.php_zemm_produktiv_8_localhost_5432 Bind query: yes Log file: /var/log/postgresql/postgresql-2026-05-13_000000.csv
20 12s722ms 1 12s722ms 12s722ms 12s722ms select a.id, a.name, a."animalID", a.dummy_strain_info, a."birthDate", a.sex, tr.rfid from animals a left outer join cages c on c.id = a."homeCage" left outer join ( select max(id) as id, maps_to from transponders where extraction_date is null group by maps_to) tr_sel on tr_sel.maps_to = a.id left outer join transponders tr on tr.id = tr_sel.id where not (a.deleted) and c.id = ? and case when user_is_tgm (a.owner, ?) then true when user_is_tgm (a.editor, ?) then true when user_is_tgm (a.tourist, ?) then true else false end order by a.id;Times Reported Time consuming queries #20
Day Hour Count Duration Avg duration May 13 08 1 12s722ms 12s722ms [ User: labanimal - Total duration: 12s722ms - Times executed: 1 ]
[ Application: _desktop_index.php_zemm_produktiv_8_localhost_5432 - Total duration: 12s722ms - Times executed: 1 ]
-
SELECT a.id, a.name, a."animalID", a.dummy_strain_info, a."birthDate", a.sex, tr.rfid FROM animals a LEFT OUTER JOIN cages c ON c.id = a."homeCage" LEFT OUTER JOIN ( SELECT max(id) AS id, maps_to FROM transponders WHERE extraction_date IS NULL GROUP BY maps_to) tr_sel ON tr_sel.maps_to = a.id LEFT OUTER JOIN transponders tr ON tr.id = tr_sel.id WHERE NOT (a.deleted) AND c.id = 9628 AND CASE WHEN user_is_tgm (a.owner, 456) THEN TRUE WHEN user_is_tgm (a.editor, 456) THEN TRUE WHEN user_is_tgm (a.tourist, 456) THEN TRUE ELSE FALSE END ORDER BY a.id;
Date: 2026-05-13 07:58:55 Duration: 12s722ms Database: zemm_produktiv_8 User: labanimal Application: _desktop_index.php_zemm_produktiv_8_localhost_5432 Bind query: yes Log file: /var/log/postgresql/postgresql-2026-05-13_000000.csv
Most frequent queries (N)
Rank Times executed Total duration Min duration Max duration Avg duration Query 1 1,440 24m7s 504ms 12s722ms 1s5ms 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 #1
Day Hour Count Duration Avg duration May 13 01 60 33s934ms 565ms 02 60 55s786ms 929ms 03 60 1m15s 1s264ms 04 60 1m15s 1s264ms 05 60 1m15s 1s264ms 06 60 1m15s 1s264ms 07 60 1m21s 1s365ms 08 60 1m25s 1s417ms 09 60 2m37s 2s619ms 10 60 1m6s 1s109ms 11 60 1m6s 1s106ms 12 60 31s849ms 530ms 13 60 1m18s 1s304ms 14 60 43s584ms 726ms 15 60 38s569ms 642ms 16 60 44s806ms 746ms 17 60 44s648ms 744ms 18 60 44s648ms 744ms 19 60 44s648ms 744ms 20 60 44s648ms 744ms 21 60 44s648ms 744ms 22 60 44s648ms 744ms 23 60 44s648ms 744ms 00 60 47s242ms 787ms [ User: monitoring_admin - Total duration: 24m7s - Times executed: 1436 ]
-
CREATE TABLE IF NOT EXISTS observability.system_metrics ( id bigserial PRIMARY KEY, payload jsonb NOT NULL, collected_at timestamptz NOT NULL DEFAULT NOW() );
Date: 2026-05-13 08:04:01 Duration: 12s722ms Database: zemm_monitoring User: monitoring_admin Bind query: yes Log file: /var/log/postgresql/postgresql-2026-05-13_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-13 10:25:01 Duration: 1s947ms Database: zemm_monitoring User: monitoring_admin Bind query: yes Log file: /var/log/postgresql/postgresql-2026-05-13_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-13 09:04:01 Duration: 1s922ms Database: zemm_monitoring User: monitoring_admin Bind query: yes Log file: /var/log/postgresql/postgresql-2026-05-13_000000.csv
2 1,440 24m7s 504ms 12s722ms 1s5ms create table if not exists observability.db_top_queries ( id bigserial primary key, tenant_key text not null, fingerprint text, query text, mean_time_ms double precision, total_time_ms double precision, calls bigint, rows_returned bigint, collected_at timestamptz not null default now() );Times Reported Time consuming queries #2
Day Hour Count Duration Avg duration May 13 01 60 33s934ms 565ms 02 60 55s786ms 929ms 03 60 1m15s 1s264ms 04 60 1m15s 1s264ms 05 60 1m15s 1s264ms 06 60 1m15s 1s264ms 07 60 1m21s 1s365ms 08 60 1m25s 1s417ms 09 60 2m37s 2s619ms 10 60 1m6s 1s109ms 11 60 1m6s 1s106ms 12 60 31s849ms 530ms 13 60 1m18s 1s304ms 14 60 43s584ms 726ms 15 60 38s569ms 642ms 16 60 44s806ms 746ms 17 60 44s648ms 744ms 18 60 44s648ms 744ms 19 60 44s648ms 744ms 20 60 44s648ms 744ms 21 60 44s648ms 744ms 22 60 44s648ms 744ms 23 60 44s648ms 744ms 00 60 47s242ms 787ms [ User: monitoring_admin - Total duration: 24m7s - Times executed: 1436 ]
-
CREATE TABLE IF NOT EXISTS observability.db_top_queries ( id bigserial PRIMARY KEY, tenant_key text NOT NULL, fingerprint text, query text, mean_time_ms double precision, total_time_ms double precision, calls bigint, rows_returned bigint, collected_at timestamptz NOT NULL DEFAULT NOW() );
Date: 2026-05-13 08:04:01 Duration: 12s722ms Database: zemm_monitoring User: monitoring_admin Bind query: yes Log file: /var/log/postgresql/postgresql-2026-05-13_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-13 10:25:01 Duration: 1s947ms Database: zemm_monitoring User: monitoring_admin Bind query: yes Log file: /var/log/postgresql/postgresql-2026-05-13_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-13 09:04:01 Duration: 1s922ms Database: zemm_monitoring User: monitoring_admin Bind query: yes Log file: /var/log/postgresql/postgresql-2026-05-13_000000.csv
3 1,440 24m7s 504ms 12s722ms 1s5ms alter table observability.uptime_checks add column if not exists label text;Times Reported Time consuming queries #3
Day Hour Count Duration Avg duration May 13 01 60 33s934ms 565ms 02 60 55s786ms 929ms 03 60 1m15s 1s264ms 04 60 1m15s 1s264ms 05 60 1m15s 1s264ms 06 60 1m15s 1s264ms 07 60 1m21s 1s365ms 08 60 1m25s 1s417ms 09 60 2m37s 2s619ms 10 60 1m6s 1s109ms 11 60 1m6s 1s106ms 12 60 31s849ms 530ms 13 60 1m18s 1s304ms 14 60 43s584ms 726ms 15 60 38s569ms 642ms 16 60 44s806ms 746ms 17 60 44s648ms 744ms 18 60 44s648ms 744ms 19 60 44s648ms 744ms 20 60 44s648ms 744ms 21 60 44s648ms 744ms 22 60 44s648ms 744ms 23 60 44s648ms 744ms 00 60 47s242ms 787ms [ User: monitoring_admin - Total duration: 24m7s - Times executed: 1436 ]
-
ALTER TABLE observability.uptime_checks ADD COLUMN IF NOT EXISTS label text;
Date: 2026-05-13 08:04:01 Duration: 12s722ms Database: zemm_monitoring User: monitoring_admin Bind query: yes Log file: /var/log/postgresql/postgresql-2026-05-13_000000.csv
-
ALTER TABLE observability.uptime_checks ADD COLUMN IF NOT EXISTS label text;
Date: 2026-05-13 10:25:01 Duration: 1s947ms Database: zemm_monitoring User: monitoring_admin Bind query: yes Log file: /var/log/postgresql/postgresql-2026-05-13_000000.csv
-
ALTER TABLE observability.uptime_checks ADD COLUMN IF NOT EXISTS label text;
Date: 2026-05-13 09:04:01 Duration: 1s922ms Database: zemm_monitoring User: monitoring_admin Bind query: yes Log file: /var/log/postgresql/postgresql-2026-05-13_000000.csv
4 1,440 24m7s 504ms 12s722ms 1s5ms create index if not exists idx_metrics_timeseries_bucket on observability.metrics_timeseries (bucket_start);Times Reported Time consuming queries #4
Day Hour Count Duration Avg duration May 13 01 60 33s934ms 565ms 02 60 55s786ms 929ms 03 60 1m15s 1s264ms 04 60 1m15s 1s264ms 05 60 1m15s 1s264ms 06 60 1m15s 1s264ms 07 60 1m21s 1s365ms 08 60 1m25s 1s417ms 09 60 2m37s 2s619ms 10 60 1m6s 1s109ms 11 60 1m6s 1s106ms 12 60 31s849ms 530ms 13 60 1m18s 1s304ms 14 60 43s584ms 726ms 15 60 38s569ms 642ms 16 60 44s806ms 746ms 17 60 44s648ms 744ms 18 60 44s648ms 744ms 19 60 44s648ms 744ms 20 60 44s648ms 744ms 21 60 44s648ms 744ms 22 60 44s648ms 744ms 23 60 44s648ms 744ms 00 60 47s242ms 787ms [ User: monitoring_admin - Total duration: 24m7s - Times executed: 1436 ]
-
CREATE INDEX IF NOT EXISTS idx_metrics_timeseries_bucket ON observability.metrics_timeseries (bucket_start);
Date: 2026-05-13 08:04:01 Duration: 12s722ms Database: zemm_monitoring User: monitoring_admin Bind query: yes Log file: /var/log/postgresql/postgresql-2026-05-13_000000.csv
-
CREATE INDEX IF NOT EXISTS idx_metrics_timeseries_bucket ON observability.metrics_timeseries (bucket_start);
Date: 2026-05-13 10:25:01 Duration: 1s947ms Database: zemm_monitoring User: monitoring_admin Bind query: yes Log file: /var/log/postgresql/postgresql-2026-05-13_000000.csv
-
CREATE INDEX IF NOT EXISTS idx_metrics_timeseries_bucket ON observability.metrics_timeseries (bucket_start);
Date: 2026-05-13 09:04:01 Duration: 1s922ms Database: zemm_monitoring User: monitoring_admin Bind query: yes Log file: /var/log/postgresql/postgresql-2026-05-13_000000.csv
5 1,440 24m7s 504ms 12s722ms 1s5ms 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 #5
Day Hour Count Duration Avg duration May 13 01 60 33s934ms 565ms 02 60 55s786ms 929ms 03 60 1m15s 1s264ms 04 60 1m15s 1s264ms 05 60 1m15s 1s264ms 06 60 1m15s 1s264ms 07 60 1m21s 1s365ms 08 60 1m25s 1s417ms 09 60 2m37s 2s619ms 10 60 1m6s 1s109ms 11 60 1m6s 1s106ms 12 60 31s849ms 530ms 13 60 1m18s 1s304ms 14 60 43s584ms 726ms 15 60 38s569ms 642ms 16 60 44s806ms 746ms 17 60 44s648ms 744ms 18 60 44s648ms 744ms 19 60 44s648ms 744ms 20 60 44s648ms 744ms 21 60 44s648ms 744ms 22 60 44s648ms 744ms 23 60 44s648ms 744ms 00 60 47s242ms 787ms [ User: monitoring_admin - Total duration: 24m7s - Times executed: 1436 ]
-
CREATE TABLE IF NOT EXISTS observability.phpfpm_counters ( id bigserial PRIMARY KEY, payload jsonb NOT NULL, collected_at timestamptz NOT NULL DEFAULT NOW() );
Date: 2026-05-13 08:04:01 Duration: 12s722ms Database: zemm_monitoring User: monitoring_admin Bind query: yes Log file: /var/log/postgresql/postgresql-2026-05-13_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-13 10:25:01 Duration: 1s947ms Database: zemm_monitoring User: monitoring_admin Bind query: yes Log file: /var/log/postgresql/postgresql-2026-05-13_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-13 09:04:01 Duration: 1s922ms Database: zemm_monitoring User: monitoring_admin Bind query: yes Log file: /var/log/postgresql/postgresql-2026-05-13_000000.csv
6 1,440 24m7s 504ms 12s722ms 1s5ms create index if not exists idx_metrics_timeseries_metric on observability.metrics_timeseries (metric_name);Times Reported Time consuming queries #6
Day Hour Count Duration Avg duration May 13 01 60 33s934ms 565ms 02 60 55s786ms 929ms 03 60 1m15s 1s264ms 04 60 1m15s 1s264ms 05 60 1m15s 1s264ms 06 60 1m15s 1s264ms 07 60 1m21s 1s365ms 08 60 1m25s 1s417ms 09 60 2m37s 2s619ms 10 60 1m6s 1s109ms 11 60 1m6s 1s106ms 12 60 31s849ms 530ms 13 60 1m18s 1s304ms 14 60 43s584ms 726ms 15 60 38s569ms 642ms 16 60 44s806ms 746ms 17 60 44s648ms 744ms 18 60 44s648ms 744ms 19 60 44s648ms 744ms 20 60 44s648ms 744ms 21 60 44s648ms 744ms 22 60 44s648ms 744ms 23 60 44s648ms 744ms 00 60 47s242ms 787ms [ User: monitoring_admin - Total duration: 24m7s - Times executed: 1436 ]
-
CREATE INDEX IF NOT EXISTS idx_metrics_timeseries_metric ON observability.metrics_timeseries (metric_name);
Date: 2026-05-13 08:04:01 Duration: 12s722ms Database: zemm_monitoring User: monitoring_admin Bind query: yes Log file: /var/log/postgresql/postgresql-2026-05-13_000000.csv
-
CREATE INDEX IF NOT EXISTS idx_metrics_timeseries_metric ON observability.metrics_timeseries (metric_name);
Date: 2026-05-13 10:25:01 Duration: 1s947ms Database: zemm_monitoring User: monitoring_admin Bind query: yes Log file: /var/log/postgresql/postgresql-2026-05-13_000000.csv
-
CREATE INDEX IF NOT EXISTS idx_metrics_timeseries_metric ON observability.metrics_timeseries (metric_name);
Date: 2026-05-13 09:04:01 Duration: 1s922ms Database: zemm_monitoring User: monitoring_admin Bind query: yes Log file: /var/log/postgresql/postgresql-2026-05-13_000000.csv
7 1,440 24m7s 504ms 12s722ms 1s5ms 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 #7
Day Hour Count Duration Avg duration May 13 01 60 33s934ms 565ms 02 60 55s786ms 929ms 03 60 1m15s 1s264ms 04 60 1m15s 1s264ms 05 60 1m15s 1s264ms 06 60 1m15s 1s264ms 07 60 1m21s 1s365ms 08 60 1m25s 1s417ms 09 60 2m37s 2s619ms 10 60 1m6s 1s109ms 11 60 1m6s 1s106ms 12 60 31s849ms 530ms 13 60 1m18s 1s304ms 14 60 43s584ms 726ms 15 60 38s569ms 642ms 16 60 44s806ms 746ms 17 60 44s648ms 744ms 18 60 44s648ms 744ms 19 60 44s648ms 744ms 20 60 44s648ms 744ms 21 60 44s648ms 744ms 22 60 44s648ms 744ms 23 60 44s648ms 744ms 00 60 47s242ms 787ms [ User: monitoring_admin - Total duration: 24m7s - Times executed: 1436 ]
-
CREATE TABLE IF NOT EXISTS observability.metrics_timeseries ( id bigserial PRIMARY KEY, tenant_key text NOT NULL, metric_name text NOT NULL, bucket_start timestamptz NOT NULL, bucket_width_seconds integer NOT NULL DEFAULT 60, sum_value double precision NOT NULL DEFAULT 0, count_value bigint NOT NULL DEFAULT 0, histogram jsonb, created_at timestamptz NOT NULL DEFAULT NOW(), updated_at timestamptz NOT NULL DEFAULT NOW(), UNIQUE (tenant_key, metric_name, bucket_start, bucket_width_seconds) );
Date: 2026-05-13 08:04:01 Duration: 12s722ms Database: zemm_monitoring User: monitoring_admin Bind query: yes Log file: /var/log/postgresql/postgresql-2026-05-13_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-13 10:25:01 Duration: 1s947ms Database: zemm_monitoring User: monitoring_admin Bind query: yes Log file: /var/log/postgresql/postgresql-2026-05-13_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-13 09:04:01 Duration: 1s922ms Database: zemm_monitoring User: monitoring_admin Bind query: yes Log file: /var/log/postgresql/postgresql-2026-05-13_000000.csv
8 1,440 24m7s 504ms 12s722ms 1s5ms create schema if not exists observability;Times Reported Time consuming queries #8
Day Hour Count Duration Avg duration May 13 01 60 33s934ms 565ms 02 60 55s786ms 929ms 03 60 1m15s 1s264ms 04 60 1m15s 1s264ms 05 60 1m15s 1s264ms 06 60 1m15s 1s264ms 07 60 1m21s 1s365ms 08 60 1m25s 1s417ms 09 60 2m37s 2s619ms 10 60 1m6s 1s109ms 11 60 1m6s 1s106ms 12 60 31s849ms 530ms 13 60 1m18s 1s304ms 14 60 43s584ms 726ms 15 60 38s569ms 642ms 16 60 44s806ms 746ms 17 60 44s648ms 744ms 18 60 44s648ms 744ms 19 60 44s648ms 744ms 20 60 44s648ms 744ms 21 60 44s648ms 744ms 22 60 44s648ms 744ms 23 60 44s648ms 744ms 00 60 47s242ms 787ms [ User: monitoring_admin - Total duration: 24m7s - Times executed: 1436 ]
-
CREATE SCHEMA IF NOT EXISTS observability;
Date: 2026-05-13 08:04:01 Duration: 12s722ms Database: zemm_monitoring User: monitoring_admin Bind query: yes Log file: /var/log/postgresql/postgresql-2026-05-13_000000.csv
-
CREATE SCHEMA IF NOT EXISTS observability;
Date: 2026-05-13 10:25:01 Duration: 1s947ms Database: zemm_monitoring User: monitoring_admin Bind query: yes Log file: /var/log/postgresql/postgresql-2026-05-13_000000.csv
-
CREATE SCHEMA IF NOT EXISTS observability;
Date: 2026-05-13 09:04:01 Duration: 1s922ms Database: zemm_monitoring User: monitoring_admin Bind query: yes Log file: /var/log/postgresql/postgresql-2026-05-13_000000.csv
9 1,440 24m7s 504ms 12s722ms 1s5ms create index if not exists idx_uptime_checks_key on observability.uptime_checks (check_key, checked_at desc);Times Reported Time consuming queries #9
Day Hour Count Duration Avg duration May 13 01 60 33s934ms 565ms 02 60 55s786ms 929ms 03 60 1m15s 1s264ms 04 60 1m15s 1s264ms 05 60 1m15s 1s264ms 06 60 1m15s 1s264ms 07 60 1m21s 1s365ms 08 60 1m25s 1s417ms 09 60 2m37s 2s619ms 10 60 1m6s 1s109ms 11 60 1m6s 1s106ms 12 60 31s849ms 530ms 13 60 1m18s 1s304ms 14 60 43s584ms 726ms 15 60 38s569ms 642ms 16 60 44s806ms 746ms 17 60 44s648ms 744ms 18 60 44s648ms 744ms 19 60 44s648ms 744ms 20 60 44s648ms 744ms 21 60 44s648ms 744ms 22 60 44s648ms 744ms 23 60 44s648ms 744ms 00 60 47s242ms 787ms [ User: monitoring_admin - Total duration: 24m7s - Times executed: 1436 ]
-
CREATE INDEX IF NOT EXISTS idx_uptime_checks_key ON observability.uptime_checks (check_key, checked_at DESC);
Date: 2026-05-13 08:04:01 Duration: 12s722ms Database: zemm_monitoring User: monitoring_admin Bind query: yes Log file: /var/log/postgresql/postgresql-2026-05-13_000000.csv
-
CREATE INDEX IF NOT EXISTS idx_uptime_checks_key ON observability.uptime_checks (check_key, checked_at DESC);
Date: 2026-05-13 10:25:01 Duration: 1s947ms Database: zemm_monitoring User: monitoring_admin Bind query: yes Log file: /var/log/postgresql/postgresql-2026-05-13_000000.csv
-
CREATE INDEX IF NOT EXISTS idx_uptime_checks_key ON observability.uptime_checks (check_key, checked_at DESC);
Date: 2026-05-13 09:04:01 Duration: 1s922ms Database: zemm_monitoring User: monitoring_admin Bind query: yes Log file: /var/log/postgresql/postgresql-2026-05-13_000000.csv
10 1,440 24m7s 504ms 12s722ms 1s5ms 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 #10
Day Hour Count Duration Avg duration May 13 01 60 33s934ms 565ms 02 60 55s786ms 929ms 03 60 1m15s 1s264ms 04 60 1m15s 1s264ms 05 60 1m15s 1s264ms 06 60 1m15s 1s264ms 07 60 1m21s 1s365ms 08 60 1m25s 1s417ms 09 60 2m37s 2s619ms 10 60 1m6s 1s109ms 11 60 1m6s 1s106ms 12 60 31s849ms 530ms 13 60 1m18s 1s304ms 14 60 43s584ms 726ms 15 60 38s569ms 642ms 16 60 44s806ms 746ms 17 60 44s648ms 744ms 18 60 44s648ms 744ms 19 60 44s648ms 744ms 20 60 44s648ms 744ms 21 60 44s648ms 744ms 22 60 44s648ms 744ms 23 60 44s648ms 744ms 00 60 47s242ms 787ms [ User: monitoring_admin - Total duration: 24m7s - Times executed: 1436 ]
-
CREATE TABLE IF NOT EXISTS observability.app_events ( id bigserial PRIMARY KEY, tenant_key text NOT NULL, event_type text NOT NULL, severity text NOT NULL, message text NOT NULL, payload jsonb, occurred_at timestamptz NOT NULL DEFAULT NOW(), created_at timestamptz NOT NULL DEFAULT NOW() );
Date: 2026-05-13 08:04:01 Duration: 12s722ms Database: zemm_monitoring User: monitoring_admin Bind query: yes Log file: /var/log/postgresql/postgresql-2026-05-13_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-13 10:25:01 Duration: 1s947ms Database: zemm_monitoring User: monitoring_admin Bind query: yes Log file: /var/log/postgresql/postgresql-2026-05-13_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-13 09:04:01 Duration: 1s922ms Database: zemm_monitoring User: monitoring_admin Bind query: yes Log file: /var/log/postgresql/postgresql-2026-05-13_000000.csv
11 1,440 24m7s 504ms 12s722ms 1s5ms 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 #11
Day Hour Count Duration Avg duration May 13 01 60 33s934ms 565ms 02 60 55s786ms 929ms 03 60 1m15s 1s264ms 04 60 1m15s 1s264ms 05 60 1m15s 1s264ms 06 60 1m15s 1s264ms 07 60 1m21s 1s365ms 08 60 1m25s 1s417ms 09 60 2m37s 2s619ms 10 60 1m6s 1s109ms 11 60 1m6s 1s106ms 12 60 31s849ms 530ms 13 60 1m18s 1s304ms 14 60 43s584ms 726ms 15 60 38s569ms 642ms 16 60 44s806ms 746ms 17 60 44s648ms 744ms 18 60 44s648ms 744ms 19 60 44s648ms 744ms 20 60 44s648ms 744ms 21 60 44s648ms 744ms 22 60 44s648ms 744ms 23 60 44s648ms 744ms 00 60 47s242ms 787ms [ User: monitoring_admin - Total duration: 24m7s - Times executed: 1436 ]
-
CREATE INDEX IF NOT EXISTS idx_db_top_queries_tenant ON observability.db_top_queries (tenant_key, collected_at DESC);
Date: 2026-05-13 08:04:01 Duration: 12s722ms Database: zemm_monitoring User: monitoring_admin Bind query: yes Log file: /var/log/postgresql/postgresql-2026-05-13_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-13 10:25:01 Duration: 1s947ms Database: zemm_monitoring User: monitoring_admin Bind query: yes Log file: /var/log/postgresql/postgresql-2026-05-13_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-13 09:04:01 Duration: 1s922ms Database: zemm_monitoring User: monitoring_admin Bind query: yes Log file: /var/log/postgresql/postgresql-2026-05-13_000000.csv
12 1,440 24m7s 504ms 12s722ms 1s5ms create index if not exists idx_app_events_tenant on observability.app_events (tenant_key, occurred_at desc);Times Reported Time consuming queries #12
Day Hour Count Duration Avg duration May 13 01 60 33s934ms 565ms 02 60 55s786ms 929ms 03 60 1m15s 1s264ms 04 60 1m15s 1s264ms 05 60 1m15s 1s264ms 06 60 1m15s 1s264ms 07 60 1m21s 1s365ms 08 60 1m25s 1s417ms 09 60 2m37s 2s619ms 10 60 1m6s 1s109ms 11 60 1m6s 1s106ms 12 60 31s849ms 530ms 13 60 1m18s 1s304ms 14 60 43s584ms 726ms 15 60 38s569ms 642ms 16 60 44s806ms 746ms 17 60 44s648ms 744ms 18 60 44s648ms 744ms 19 60 44s648ms 744ms 20 60 44s648ms 744ms 21 60 44s648ms 744ms 22 60 44s648ms 744ms 23 60 44s648ms 744ms 00 60 47s242ms 787ms [ User: monitoring_admin - Total duration: 24m7s - Times executed: 1436 ]
-
CREATE INDEX IF NOT EXISTS idx_app_events_tenant ON observability.app_events (tenant_key, occurred_at DESC);
Date: 2026-05-13 08:04:01 Duration: 12s722ms Database: zemm_monitoring User: monitoring_admin Bind query: yes Log file: /var/log/postgresql/postgresql-2026-05-13_000000.csv
-
CREATE INDEX IF NOT EXISTS idx_app_events_tenant ON observability.app_events (tenant_key, occurred_at DESC);
Date: 2026-05-13 10:25:01 Duration: 1s947ms Database: zemm_monitoring User: monitoring_admin Bind query: yes Log file: /var/log/postgresql/postgresql-2026-05-13_000000.csv
-
CREATE INDEX IF NOT EXISTS idx_app_events_tenant ON observability.app_events (tenant_key, occurred_at DESC);
Date: 2026-05-13 09:04:01 Duration: 1s922ms Database: zemm_monitoring User: monitoring_admin Bind query: yes Log file: /var/log/postgresql/postgresql-2026-05-13_000000.csv
13 1,440 24m7s 504ms 12s722ms 1s5ms 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 #13
Day Hour Count Duration Avg duration May 13 01 60 33s934ms 565ms 02 60 55s786ms 929ms 03 60 1m15s 1s264ms 04 60 1m15s 1s264ms 05 60 1m15s 1s264ms 06 60 1m15s 1s264ms 07 60 1m21s 1s365ms 08 60 1m25s 1s417ms 09 60 2m37s 2s619ms 10 60 1m6s 1s109ms 11 60 1m6s 1s106ms 12 60 31s849ms 530ms 13 60 1m18s 1s304ms 14 60 43s584ms 726ms 15 60 38s569ms 642ms 16 60 44s806ms 746ms 17 60 44s648ms 744ms 18 60 44s648ms 744ms 19 60 44s648ms 744ms 20 60 44s648ms 744ms 21 60 44s648ms 744ms 22 60 44s648ms 744ms 23 60 44s648ms 744ms 00 60 47s242ms 787ms [ User: monitoring_admin - Total duration: 24m7s - Times executed: 1436 ]
-
CREATE TABLE IF NOT EXISTS observability.uptime_checks ( id bigserial PRIMARY KEY, endpoint text NOT NULL, status text NOT NULL, latency_ms double precision, checked_at timestamptz NOT NULL DEFAULT NOW() );
Date: 2026-05-13 08:04:01 Duration: 12s722ms Database: zemm_monitoring User: monitoring_admin Bind query: yes Log file: /var/log/postgresql/postgresql-2026-05-13_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-13 10:25:01 Duration: 1s947ms Database: zemm_monitoring User: monitoring_admin Bind query: yes Log file: /var/log/postgresql/postgresql-2026-05-13_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-13 09:04:01 Duration: 1s922ms Database: zemm_monitoring User: monitoring_admin Bind query: yes Log file: /var/log/postgresql/postgresql-2026-05-13_000000.csv
14 1,440 24m7s 504ms 12s722ms 1s5ms create table if not exists observability.nginx_counters ( id bigserial primary key, payload jsonb not null, collected_at timestamptz not null default now() );Times Reported Time consuming queries #14
Day Hour Count Duration Avg duration May 13 01 60 33s934ms 565ms 02 60 55s786ms 929ms 03 60 1m15s 1s264ms 04 60 1m15s 1s264ms 05 60 1m15s 1s264ms 06 60 1m15s 1s264ms 07 60 1m21s 1s365ms 08 60 1m25s 1s417ms 09 60 2m37s 2s619ms 10 60 1m6s 1s109ms 11 60 1m6s 1s106ms 12 60 31s849ms 530ms 13 60 1m18s 1s304ms 14 60 43s584ms 726ms 15 60 38s569ms 642ms 16 60 44s806ms 746ms 17 60 44s648ms 744ms 18 60 44s648ms 744ms 19 60 44s648ms 744ms 20 60 44s648ms 744ms 21 60 44s648ms 744ms 22 60 44s648ms 744ms 23 60 44s648ms 744ms 00 60 47s242ms 787ms [ User: monitoring_admin - Total duration: 24m7s - Times executed: 1436 ]
-
CREATE TABLE IF NOT EXISTS observability.nginx_counters ( id bigserial PRIMARY KEY, payload jsonb NOT NULL, collected_at timestamptz NOT NULL DEFAULT NOW() );
Date: 2026-05-13 08:04:01 Duration: 12s722ms Database: zemm_monitoring User: monitoring_admin Bind query: yes Log file: /var/log/postgresql/postgresql-2026-05-13_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-13 10:25:01 Duration: 1s947ms Database: zemm_monitoring User: monitoring_admin Bind query: yes Log file: /var/log/postgresql/postgresql-2026-05-13_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-13 09:04:01 Duration: 1s922ms Database: zemm_monitoring User: monitoring_admin Bind query: yes Log file: /var/log/postgresql/postgresql-2026-05-13_000000.csv
15 1,440 24m7s 504ms 12s722ms 1s5ms 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 13 01 60 33s934ms 565ms 02 60 55s786ms 929ms 03 60 1m15s 1s264ms 04 60 1m15s 1s264ms 05 60 1m15s 1s264ms 06 60 1m15s 1s264ms 07 60 1m21s 1s365ms 08 60 1m25s 1s417ms 09 60 2m37s 2s619ms 10 60 1m6s 1s109ms 11 60 1m6s 1s106ms 12 60 31s849ms 530ms 13 60 1m18s 1s304ms 14 60 43s584ms 726ms 15 60 38s569ms 642ms 16 60 44s806ms 746ms 17 60 44s648ms 744ms 18 60 44s648ms 744ms 19 60 44s648ms 744ms 20 60 44s648ms 744ms 21 60 44s648ms 744ms 22 60 44s648ms 744ms 23 60 44s648ms 744ms 00 60 47s242ms 787ms [ User: monitoring_admin - Total duration: 24m7s - Times executed: 1436 ]
-
CREATE INDEX IF NOT EXISTS idx_app_events_type ON observability.app_events (event_type);
Date: 2026-05-13 08:04:01 Duration: 12s722ms Database: zemm_monitoring User: monitoring_admin Bind query: yes Log file: /var/log/postgresql/postgresql-2026-05-13_000000.csv
-
CREATE INDEX IF NOT EXISTS idx_app_events_type ON observability.app_events (event_type);
Date: 2026-05-13 10:25:01 Duration: 1s947ms Database: zemm_monitoring User: monitoring_admin Bind query: yes Log file: /var/log/postgresql/postgresql-2026-05-13_000000.csv
-
CREATE INDEX IF NOT EXISTS idx_app_events_type ON observability.app_events (event_type);
Date: 2026-05-13 09:04:01 Duration: 1s922ms Database: zemm_monitoring User: monitoring_admin Bind query: yes Log file: /var/log/postgresql/postgresql-2026-05-13_000000.csv
16 1,440 24m7s 504ms 12s722ms 1s5ms alter table observability.uptime_checks add column if not exists payload jsonb;Times Reported Time consuming queries #16
Day Hour Count Duration Avg duration May 13 01 60 33s934ms 565ms 02 60 55s786ms 929ms 03 60 1m15s 1s264ms 04 60 1m15s 1s264ms 05 60 1m15s 1s264ms 06 60 1m15s 1s264ms 07 60 1m21s 1s365ms 08 60 1m25s 1s417ms 09 60 2m37s 2s619ms 10 60 1m6s 1s109ms 11 60 1m6s 1s106ms 12 60 31s849ms 530ms 13 60 1m18s 1s304ms 14 60 43s584ms 726ms 15 60 38s569ms 642ms 16 60 44s806ms 746ms 17 60 44s648ms 744ms 18 60 44s648ms 744ms 19 60 44s648ms 744ms 20 60 44s648ms 744ms 21 60 44s648ms 744ms 22 60 44s648ms 744ms 23 60 44s648ms 744ms 00 60 47s242ms 787ms [ User: monitoring_admin - Total duration: 24m7s - Times executed: 1436 ]
-
ALTER TABLE observability.uptime_checks ADD COLUMN IF NOT EXISTS payload jsonb;
Date: 2026-05-13 08:04:01 Duration: 12s722ms Database: zemm_monitoring User: monitoring_admin Bind query: yes Log file: /var/log/postgresql/postgresql-2026-05-13_000000.csv
-
ALTER TABLE observability.uptime_checks ADD COLUMN IF NOT EXISTS payload jsonb;
Date: 2026-05-13 10:25:01 Duration: 1s947ms Database: zemm_monitoring User: monitoring_admin Bind query: yes Log file: /var/log/postgresql/postgresql-2026-05-13_000000.csv
-
ALTER TABLE observability.uptime_checks ADD COLUMN IF NOT EXISTS payload jsonb;
Date: 2026-05-13 09:04:01 Duration: 1s922ms Database: zemm_monitoring User: monitoring_admin Bind query: yes Log file: /var/log/postgresql/postgresql-2026-05-13_000000.csv
17 1,440 24m7s 504ms 12s722ms 1s5ms create index if not exists idx_uptime_checks_endpoint on observability.uptime_checks (endpoint, checked_at desc);Times Reported Time consuming queries #17
Day Hour Count Duration Avg duration May 13 01 60 33s934ms 565ms 02 60 55s786ms 929ms 03 60 1m15s 1s264ms 04 60 1m15s 1s264ms 05 60 1m15s 1s264ms 06 60 1m15s 1s264ms 07 60 1m21s 1s365ms 08 60 1m25s 1s417ms 09 60 2m37s 2s619ms 10 60 1m6s 1s109ms 11 60 1m6s 1s106ms 12 60 31s849ms 530ms 13 60 1m18s 1s304ms 14 60 43s584ms 726ms 15 60 38s569ms 642ms 16 60 44s806ms 746ms 17 60 44s648ms 744ms 18 60 44s648ms 744ms 19 60 44s648ms 744ms 20 60 44s648ms 744ms 21 60 44s648ms 744ms 22 60 44s648ms 744ms 23 60 44s648ms 744ms 00 60 47s242ms 787ms [ User: monitoring_admin - Total duration: 24m7s - Times executed: 1436 ]
-
CREATE INDEX IF NOT EXISTS idx_uptime_checks_endpoint ON observability.uptime_checks (endpoint, checked_at DESC);
Date: 2026-05-13 08:04:01 Duration: 12s722ms Database: zemm_monitoring User: monitoring_admin Bind query: yes Log file: /var/log/postgresql/postgresql-2026-05-13_000000.csv
-
CREATE INDEX IF NOT EXISTS idx_uptime_checks_endpoint ON observability.uptime_checks (endpoint, checked_at DESC);
Date: 2026-05-13 10:25:01 Duration: 1s947ms Database: zemm_monitoring User: monitoring_admin Bind query: yes Log file: /var/log/postgresql/postgresql-2026-05-13_000000.csv
-
CREATE INDEX IF NOT EXISTS idx_uptime_checks_endpoint ON observability.uptime_checks (endpoint, checked_at DESC);
Date: 2026-05-13 09:04:01 Duration: 1s922ms Database: zemm_monitoring User: monitoring_admin Bind query: yes Log file: /var/log/postgresql/postgresql-2026-05-13_000000.csv
18 19 15s571ms 805ms 859ms 819ms 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 13 10 1 812ms 812ms 13 2 1s633ms 816ms 14 9 7s348ms 816ms 15 6 4s917ms 819ms 16 1 859ms 859ms [ User: labanimal - Total duration: 15s571ms - Times executed: 19 ]
[ Application: _desktop_index.php_zemm_produktiv_8_localhost_5432 - Total duration: 15s571ms - Times executed: 19 ]
-
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-13 15:08:37 Duration: 859ms Database: zemm_produktiv_8 User: labanimal Application: _desktop_index.php_zemm_produktiv_8_localhost_5432 Bind query: yes Log file: /var/log/postgresql/postgresql-2026-05-13_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, 574) AS is_owner, user_is_tgm (animals_search_mview.editor, 574) AS is_editor, user_is_tgm (animals_search_mview.tourist, 574) 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-13 13:14:26 Duration: 831ms Database: zemm_produktiv_8 User: labanimal Application: _desktop_index.php_zemm_produktiv_8_localhost_5432 Bind query: yes Log file: /var/log/postgresql/postgresql-2026-05-13_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, 134) AS is_owner, user_is_tgm (animals_search_mview.editor, 134) AS is_editor, user_is_tgm (animals_search_mview.tourist, 134) 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-13 13:12:36 Duration: 830ms Database: zemm_produktiv_8 User: labanimal Application: _desktop_index.php_zemm_produktiv_8_localhost_5432 Bind query: yes Log file: /var/log/postgresql/postgresql-2026-05-13_000000.csv
19 19 13s883ms 718ms 750ms 730ms 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 13 10 1 728ms 728ms 13 2 1s463ms 731ms 14 9 6s564ms 729ms 15 6 4s376ms 729ms 16 1 750ms 750ms [ User: labanimal - Total duration: 13s883ms - Times executed: 19 ]
[ Application: _desktop_index.php_zemm_produktiv_8_localhost_5432 - Total duration: 13s883ms - Times executed: 19 ]
-
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-13 15:08:38 Duration: 750ms Database: zemm_produktiv_8 User: labanimal Application: _desktop_index.php_zemm_produktiv_8_localhost_5432 Bind query: yes Log file: /var/log/postgresql/postgresql-2026-05-13_000000.csv
-
SELECT DISTINCT * FROM ( SELECT animals_search_mview.*, b.unbreeding_date, fates.loc AS fate_name, user_is_tgm (animals_search_mview.owner, 574) AS is_owner, user_is_tgm (animals_search_mview.editor, 574) AS is_editor, user_is_tgm (animals_search_mview.tourist, 574) 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-13 13:14:27 Duration: 739ms Database: zemm_produktiv_8 User: labanimal Application: _desktop_index.php_zemm_produktiv_8_localhost_5432 Bind query: yes Log file: /var/log/postgresql/postgresql-2026-05-13_000000.csv
-
SELECT DISTINCT * FROM ( SELECT animals_search_mview.*, b.unbreeding_date, fates.loc AS fate_name, user_is_tgm (animals_search_mview.owner, 468) AS is_owner, user_is_tgm (animals_search_mview.editor, 468) AS is_editor, user_is_tgm (animals_search_mview.tourist, 468) 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-13 13:57:41 Duration: 739ms Database: zemm_produktiv_8 User: labanimal Application: _desktop_index.php_zemm_produktiv_8_localhost_5432 Bind query: yes Log file: /var/log/postgresql/postgresql-2026-05-13_000000.csv
20 18 10s977ms 587ms 641ms 609ms select distinct on (coalesce(check_key, endpoint) ) check_key, label, endpoint, status, latency_ms, payload, checked_at from observability.uptime_checks order by coalesce(check_key, endpoint), checked_at desc;Times Reported Time consuming queries #20
Day Hour Count Duration Avg duration May 13 01 12 7s257ms 604ms 02 5 3s100ms 620ms 07 1 619ms 619ms [ User: monitoring_admin - Total duration: 10s977ms - Times executed: 18 ]
-
SELECT DISTINCT ON (COALESCE(check_key, endpoint) ) check_key, label, endpoint, status, latency_ms, payload, checked_at FROM observability.uptime_checks ORDER BY COALESCE(check_key, endpoint), checked_at DESC;
Date: 2026-05-13 01:04:56 Duration: 641ms Database: zemm_monitoring User: monitoring_admin Bind query: yes Log file: /var/log/postgresql/postgresql-2026-05-13_000000.csv
-
SELECT DISTINCT ON (COALESCE(check_key, endpoint) ) check_key, label, endpoint, status, latency_ms, payload, checked_at FROM observability.uptime_checks ORDER BY COALESCE(check_key, endpoint), checked_at DESC;
Date: 2026-05-13 01:20:16 Duration: 629ms Database: zemm_monitoring User: monitoring_admin Bind query: yes Log file: /var/log/postgresql/postgresql-2026-05-13_000000.csv
-
SELECT DISTINCT ON (COALESCE(check_key, endpoint) ) check_key, label, endpoint, status, latency_ms, payload, checked_at FROM observability.uptime_checks ORDER BY COALESCE(check_key, endpoint), checked_at DESC;
Date: 2026-05-13 00:44:36 Duration: 628ms Database: zemm_monitoring User: monitoring_admin Bind query: yes Log file: /var/log/postgresql/postgresql-2026-05-13_000000.csv
Normalized slowest queries (N)
Rank Min duration Max duration Avg duration Times executed Total duration Query 1 12s722ms 12s722ms 12s722ms 1 12s722ms select a.id, a.name, a."animalID", a.dummy_strain_info, a."birthDate", a.sex, tr.rfid from animals a left outer join cages c on c.id = a."homeCage" left outer join ( select max(id) as id, maps_to from transponders where extraction_date is null group by maps_to) tr_sel on tr_sel.maps_to = a.id left outer join transponders tr on tr.id = tr_sel.id where not (a.deleted) and c.id = ? and case when user_is_tgm (a.owner, ?) then true when user_is_tgm (a.editor, ?) then true when user_is_tgm (a.tourist, ?) then true else false end order by a.id;Times Reported Time consuming queries #1
Day Hour Count Duration Avg duration May 13 08 1 12s722ms 12s722ms [ User: labanimal - Total duration: 12s722ms - Times executed: 1 ]
[ Application: _desktop_index.php_zemm_produktiv_8_localhost_5432 - Total duration: 12s722ms - Times executed: 1 ]
-
SELECT a.id, a.name, a."animalID", a.dummy_strain_info, a."birthDate", a.sex, tr.rfid FROM animals a LEFT OUTER JOIN cages c ON c.id = a."homeCage" LEFT OUTER JOIN ( SELECT max(id) AS id, maps_to FROM transponders WHERE extraction_date IS NULL GROUP BY maps_to) tr_sel ON tr_sel.maps_to = a.id LEFT OUTER JOIN transponders tr ON tr.id = tr_sel.id WHERE NOT (a.deleted) AND c.id = 9628 AND CASE WHEN user_is_tgm (a.owner, 456) THEN TRUE WHEN user_is_tgm (a.editor, 456) THEN TRUE WHEN user_is_tgm (a.tourist, 456) THEN TRUE ELSE FALSE END ORDER BY a.id;
Date: 2026-05-13 07:58:55 Duration: 12s722ms Database: zemm_produktiv_8 User: labanimal Application: _desktop_index.php_zemm_produktiv_8_localhost_5432 Bind query: yes Log file: /var/log/postgresql/postgresql-2026-05-13_000000.csv
2 504ms 12s722ms 1s5ms 1,440 24m7s 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 #2
Day Hour Count Duration Avg duration May 13 01 60 33s934ms 565ms 02 60 55s786ms 929ms 03 60 1m15s 1s264ms 04 60 1m15s 1s264ms 05 60 1m15s 1s264ms 06 60 1m15s 1s264ms 07 60 1m21s 1s365ms 08 60 1m25s 1s417ms 09 60 2m37s 2s619ms 10 60 1m6s 1s109ms 11 60 1m6s 1s106ms 12 60 31s849ms 530ms 13 60 1m18s 1s304ms 14 60 43s584ms 726ms 15 60 38s569ms 642ms 16 60 44s806ms 746ms 17 60 44s648ms 744ms 18 60 44s648ms 744ms 19 60 44s648ms 744ms 20 60 44s648ms 744ms 21 60 44s648ms 744ms 22 60 44s648ms 744ms 23 60 44s648ms 744ms 00 60 47s242ms 787ms [ User: monitoring_admin - Total duration: 24m7s - Times executed: 1436 ]
-
CREATE TABLE IF NOT EXISTS observability.system_metrics ( id bigserial PRIMARY KEY, payload jsonb NOT NULL, collected_at timestamptz NOT NULL DEFAULT NOW() );
Date: 2026-05-13 08:04:01 Duration: 12s722ms Database: zemm_monitoring User: monitoring_admin Bind query: yes Log file: /var/log/postgresql/postgresql-2026-05-13_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-13 10:25:01 Duration: 1s947ms Database: zemm_monitoring User: monitoring_admin Bind query: yes Log file: /var/log/postgresql/postgresql-2026-05-13_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-13 09:04:01 Duration: 1s922ms Database: zemm_monitoring User: monitoring_admin Bind query: yes Log file: /var/log/postgresql/postgresql-2026-05-13_000000.csv
3 504ms 12s722ms 1s5ms 1,440 24m7s 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 #3
Day Hour Count Duration Avg duration May 13 01 60 33s934ms 565ms 02 60 55s786ms 929ms 03 60 1m15s 1s264ms 04 60 1m15s 1s264ms 05 60 1m15s 1s264ms 06 60 1m15s 1s264ms 07 60 1m21s 1s365ms 08 60 1m25s 1s417ms 09 60 2m37s 2s619ms 10 60 1m6s 1s109ms 11 60 1m6s 1s106ms 12 60 31s849ms 530ms 13 60 1m18s 1s304ms 14 60 43s584ms 726ms 15 60 38s569ms 642ms 16 60 44s806ms 746ms 17 60 44s648ms 744ms 18 60 44s648ms 744ms 19 60 44s648ms 744ms 20 60 44s648ms 744ms 21 60 44s648ms 744ms 22 60 44s648ms 744ms 23 60 44s648ms 744ms 00 60 47s242ms 787ms [ User: monitoring_admin - Total duration: 24m7s - Times executed: 1436 ]
-
CREATE TABLE IF NOT EXISTS observability.db_top_queries ( id bigserial PRIMARY KEY, tenant_key text NOT NULL, fingerprint text, query text, mean_time_ms double precision, total_time_ms double precision, calls bigint, rows_returned bigint, collected_at timestamptz NOT NULL DEFAULT NOW() );
Date: 2026-05-13 08:04:01 Duration: 12s722ms Database: zemm_monitoring User: monitoring_admin Bind query: yes Log file: /var/log/postgresql/postgresql-2026-05-13_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-13 10:25:01 Duration: 1s947ms Database: zemm_monitoring User: monitoring_admin Bind query: yes Log file: /var/log/postgresql/postgresql-2026-05-13_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-13 09:04:01 Duration: 1s922ms Database: zemm_monitoring User: monitoring_admin Bind query: yes Log file: /var/log/postgresql/postgresql-2026-05-13_000000.csv
4 504ms 12s722ms 1s5ms 1,440 24m7s alter table observability.uptime_checks add column if not exists label text;Times Reported Time consuming queries #4
Day Hour Count Duration Avg duration May 13 01 60 33s934ms 565ms 02 60 55s786ms 929ms 03 60 1m15s 1s264ms 04 60 1m15s 1s264ms 05 60 1m15s 1s264ms 06 60 1m15s 1s264ms 07 60 1m21s 1s365ms 08 60 1m25s 1s417ms 09 60 2m37s 2s619ms 10 60 1m6s 1s109ms 11 60 1m6s 1s106ms 12 60 31s849ms 530ms 13 60 1m18s 1s304ms 14 60 43s584ms 726ms 15 60 38s569ms 642ms 16 60 44s806ms 746ms 17 60 44s648ms 744ms 18 60 44s648ms 744ms 19 60 44s648ms 744ms 20 60 44s648ms 744ms 21 60 44s648ms 744ms 22 60 44s648ms 744ms 23 60 44s648ms 744ms 00 60 47s242ms 787ms [ User: monitoring_admin - Total duration: 24m7s - Times executed: 1436 ]
-
ALTER TABLE observability.uptime_checks ADD COLUMN IF NOT EXISTS label text;
Date: 2026-05-13 08:04:01 Duration: 12s722ms Database: zemm_monitoring User: monitoring_admin Bind query: yes Log file: /var/log/postgresql/postgresql-2026-05-13_000000.csv
-
ALTER TABLE observability.uptime_checks ADD COLUMN IF NOT EXISTS label text;
Date: 2026-05-13 10:25:01 Duration: 1s947ms Database: zemm_monitoring User: monitoring_admin Bind query: yes Log file: /var/log/postgresql/postgresql-2026-05-13_000000.csv
-
ALTER TABLE observability.uptime_checks ADD COLUMN IF NOT EXISTS label text;
Date: 2026-05-13 09:04:01 Duration: 1s922ms Database: zemm_monitoring User: monitoring_admin Bind query: yes Log file: /var/log/postgresql/postgresql-2026-05-13_000000.csv
5 504ms 12s722ms 1s5ms 1,440 24m7s create index if not exists idx_metrics_timeseries_bucket on observability.metrics_timeseries (bucket_start);Times Reported Time consuming queries #5
Day Hour Count Duration Avg duration May 13 01 60 33s934ms 565ms 02 60 55s786ms 929ms 03 60 1m15s 1s264ms 04 60 1m15s 1s264ms 05 60 1m15s 1s264ms 06 60 1m15s 1s264ms 07 60 1m21s 1s365ms 08 60 1m25s 1s417ms 09 60 2m37s 2s619ms 10 60 1m6s 1s109ms 11 60 1m6s 1s106ms 12 60 31s849ms 530ms 13 60 1m18s 1s304ms 14 60 43s584ms 726ms 15 60 38s569ms 642ms 16 60 44s806ms 746ms 17 60 44s648ms 744ms 18 60 44s648ms 744ms 19 60 44s648ms 744ms 20 60 44s648ms 744ms 21 60 44s648ms 744ms 22 60 44s648ms 744ms 23 60 44s648ms 744ms 00 60 47s242ms 787ms [ User: monitoring_admin - Total duration: 24m7s - Times executed: 1436 ]
-
CREATE INDEX IF NOT EXISTS idx_metrics_timeseries_bucket ON observability.metrics_timeseries (bucket_start);
Date: 2026-05-13 08:04:01 Duration: 12s722ms Database: zemm_monitoring User: monitoring_admin Bind query: yes Log file: /var/log/postgresql/postgresql-2026-05-13_000000.csv
-
CREATE INDEX IF NOT EXISTS idx_metrics_timeseries_bucket ON observability.metrics_timeseries (bucket_start);
Date: 2026-05-13 10:25:01 Duration: 1s947ms Database: zemm_monitoring User: monitoring_admin Bind query: yes Log file: /var/log/postgresql/postgresql-2026-05-13_000000.csv
-
CREATE INDEX IF NOT EXISTS idx_metrics_timeseries_bucket ON observability.metrics_timeseries (bucket_start);
Date: 2026-05-13 09:04:01 Duration: 1s922ms Database: zemm_monitoring User: monitoring_admin Bind query: yes Log file: /var/log/postgresql/postgresql-2026-05-13_000000.csv
6 504ms 12s722ms 1s5ms 1,440 24m7s 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 #6
Day Hour Count Duration Avg duration May 13 01 60 33s934ms 565ms 02 60 55s786ms 929ms 03 60 1m15s 1s264ms 04 60 1m15s 1s264ms 05 60 1m15s 1s264ms 06 60 1m15s 1s264ms 07 60 1m21s 1s365ms 08 60 1m25s 1s417ms 09 60 2m37s 2s619ms 10 60 1m6s 1s109ms 11 60 1m6s 1s106ms 12 60 31s849ms 530ms 13 60 1m18s 1s304ms 14 60 43s584ms 726ms 15 60 38s569ms 642ms 16 60 44s806ms 746ms 17 60 44s648ms 744ms 18 60 44s648ms 744ms 19 60 44s648ms 744ms 20 60 44s648ms 744ms 21 60 44s648ms 744ms 22 60 44s648ms 744ms 23 60 44s648ms 744ms 00 60 47s242ms 787ms [ User: monitoring_admin - Total duration: 24m7s - Times executed: 1436 ]
-
CREATE TABLE IF NOT EXISTS observability.phpfpm_counters ( id bigserial PRIMARY KEY, payload jsonb NOT NULL, collected_at timestamptz NOT NULL DEFAULT NOW() );
Date: 2026-05-13 08:04:01 Duration: 12s722ms Database: zemm_monitoring User: monitoring_admin Bind query: yes Log file: /var/log/postgresql/postgresql-2026-05-13_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-13 10:25:01 Duration: 1s947ms Database: zemm_monitoring User: monitoring_admin Bind query: yes Log file: /var/log/postgresql/postgresql-2026-05-13_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-13 09:04:01 Duration: 1s922ms Database: zemm_monitoring User: monitoring_admin Bind query: yes Log file: /var/log/postgresql/postgresql-2026-05-13_000000.csv
7 504ms 12s722ms 1s5ms 1,440 24m7s create index if not exists idx_metrics_timeseries_metric on observability.metrics_timeseries (metric_name);Times Reported Time consuming queries #7
Day Hour Count Duration Avg duration May 13 01 60 33s934ms 565ms 02 60 55s786ms 929ms 03 60 1m15s 1s264ms 04 60 1m15s 1s264ms 05 60 1m15s 1s264ms 06 60 1m15s 1s264ms 07 60 1m21s 1s365ms 08 60 1m25s 1s417ms 09 60 2m37s 2s619ms 10 60 1m6s 1s109ms 11 60 1m6s 1s106ms 12 60 31s849ms 530ms 13 60 1m18s 1s304ms 14 60 43s584ms 726ms 15 60 38s569ms 642ms 16 60 44s806ms 746ms 17 60 44s648ms 744ms 18 60 44s648ms 744ms 19 60 44s648ms 744ms 20 60 44s648ms 744ms 21 60 44s648ms 744ms 22 60 44s648ms 744ms 23 60 44s648ms 744ms 00 60 47s242ms 787ms [ User: monitoring_admin - Total duration: 24m7s - Times executed: 1436 ]
-
CREATE INDEX IF NOT EXISTS idx_metrics_timeseries_metric ON observability.metrics_timeseries (metric_name);
Date: 2026-05-13 08:04:01 Duration: 12s722ms Database: zemm_monitoring User: monitoring_admin Bind query: yes Log file: /var/log/postgresql/postgresql-2026-05-13_000000.csv
-
CREATE INDEX IF NOT EXISTS idx_metrics_timeseries_metric ON observability.metrics_timeseries (metric_name);
Date: 2026-05-13 10:25:01 Duration: 1s947ms Database: zemm_monitoring User: monitoring_admin Bind query: yes Log file: /var/log/postgresql/postgresql-2026-05-13_000000.csv
-
CREATE INDEX IF NOT EXISTS idx_metrics_timeseries_metric ON observability.metrics_timeseries (metric_name);
Date: 2026-05-13 09:04:01 Duration: 1s922ms Database: zemm_monitoring User: monitoring_admin Bind query: yes Log file: /var/log/postgresql/postgresql-2026-05-13_000000.csv
8 504ms 12s722ms 1s5ms 1,440 24m7s 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 #8
Day Hour Count Duration Avg duration May 13 01 60 33s934ms 565ms 02 60 55s786ms 929ms 03 60 1m15s 1s264ms 04 60 1m15s 1s264ms 05 60 1m15s 1s264ms 06 60 1m15s 1s264ms 07 60 1m21s 1s365ms 08 60 1m25s 1s417ms 09 60 2m37s 2s619ms 10 60 1m6s 1s109ms 11 60 1m6s 1s106ms 12 60 31s849ms 530ms 13 60 1m18s 1s304ms 14 60 43s584ms 726ms 15 60 38s569ms 642ms 16 60 44s806ms 746ms 17 60 44s648ms 744ms 18 60 44s648ms 744ms 19 60 44s648ms 744ms 20 60 44s648ms 744ms 21 60 44s648ms 744ms 22 60 44s648ms 744ms 23 60 44s648ms 744ms 00 60 47s242ms 787ms [ User: monitoring_admin - Total duration: 24m7s - Times executed: 1436 ]
-
CREATE TABLE IF NOT EXISTS observability.metrics_timeseries ( id bigserial PRIMARY KEY, tenant_key text NOT NULL, metric_name text NOT NULL, bucket_start timestamptz NOT NULL, bucket_width_seconds integer NOT NULL DEFAULT 60, sum_value double precision NOT NULL DEFAULT 0, count_value bigint NOT NULL DEFAULT 0, histogram jsonb, created_at timestamptz NOT NULL DEFAULT NOW(), updated_at timestamptz NOT NULL DEFAULT NOW(), UNIQUE (tenant_key, metric_name, bucket_start, bucket_width_seconds) );
Date: 2026-05-13 08:04:01 Duration: 12s722ms Database: zemm_monitoring User: monitoring_admin Bind query: yes Log file: /var/log/postgresql/postgresql-2026-05-13_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-13 10:25:01 Duration: 1s947ms Database: zemm_monitoring User: monitoring_admin Bind query: yes Log file: /var/log/postgresql/postgresql-2026-05-13_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-13 09:04:01 Duration: 1s922ms Database: zemm_monitoring User: monitoring_admin Bind query: yes Log file: /var/log/postgresql/postgresql-2026-05-13_000000.csv
9 504ms 12s722ms 1s5ms 1,440 24m7s create schema if not exists observability;Times Reported Time consuming queries #9
Day Hour Count Duration Avg duration May 13 01 60 33s934ms 565ms 02 60 55s786ms 929ms 03 60 1m15s 1s264ms 04 60 1m15s 1s264ms 05 60 1m15s 1s264ms 06 60 1m15s 1s264ms 07 60 1m21s 1s365ms 08 60 1m25s 1s417ms 09 60 2m37s 2s619ms 10 60 1m6s 1s109ms 11 60 1m6s 1s106ms 12 60 31s849ms 530ms 13 60 1m18s 1s304ms 14 60 43s584ms 726ms 15 60 38s569ms 642ms 16 60 44s806ms 746ms 17 60 44s648ms 744ms 18 60 44s648ms 744ms 19 60 44s648ms 744ms 20 60 44s648ms 744ms 21 60 44s648ms 744ms 22 60 44s648ms 744ms 23 60 44s648ms 744ms 00 60 47s242ms 787ms [ User: monitoring_admin - Total duration: 24m7s - Times executed: 1436 ]
-
CREATE SCHEMA IF NOT EXISTS observability;
Date: 2026-05-13 08:04:01 Duration: 12s722ms Database: zemm_monitoring User: monitoring_admin Bind query: yes Log file: /var/log/postgresql/postgresql-2026-05-13_000000.csv
-
CREATE SCHEMA IF NOT EXISTS observability;
Date: 2026-05-13 10:25:01 Duration: 1s947ms Database: zemm_monitoring User: monitoring_admin Bind query: yes Log file: /var/log/postgresql/postgresql-2026-05-13_000000.csv
-
CREATE SCHEMA IF NOT EXISTS observability;
Date: 2026-05-13 09:04:01 Duration: 1s922ms Database: zemm_monitoring User: monitoring_admin Bind query: yes Log file: /var/log/postgresql/postgresql-2026-05-13_000000.csv
10 504ms 12s722ms 1s5ms 1,440 24m7s create index if not exists idx_uptime_checks_key on observability.uptime_checks (check_key, checked_at desc);Times Reported Time consuming queries #10
Day Hour Count Duration Avg duration May 13 01 60 33s934ms 565ms 02 60 55s786ms 929ms 03 60 1m15s 1s264ms 04 60 1m15s 1s264ms 05 60 1m15s 1s264ms 06 60 1m15s 1s264ms 07 60 1m21s 1s365ms 08 60 1m25s 1s417ms 09 60 2m37s 2s619ms 10 60 1m6s 1s109ms 11 60 1m6s 1s106ms 12 60 31s849ms 530ms 13 60 1m18s 1s304ms 14 60 43s584ms 726ms 15 60 38s569ms 642ms 16 60 44s806ms 746ms 17 60 44s648ms 744ms 18 60 44s648ms 744ms 19 60 44s648ms 744ms 20 60 44s648ms 744ms 21 60 44s648ms 744ms 22 60 44s648ms 744ms 23 60 44s648ms 744ms 00 60 47s242ms 787ms [ User: monitoring_admin - Total duration: 24m7s - Times executed: 1436 ]
-
CREATE INDEX IF NOT EXISTS idx_uptime_checks_key ON observability.uptime_checks (check_key, checked_at DESC);
Date: 2026-05-13 08:04:01 Duration: 12s722ms Database: zemm_monitoring User: monitoring_admin Bind query: yes Log file: /var/log/postgresql/postgresql-2026-05-13_000000.csv
-
CREATE INDEX IF NOT EXISTS idx_uptime_checks_key ON observability.uptime_checks (check_key, checked_at DESC);
Date: 2026-05-13 10:25:01 Duration: 1s947ms Database: zemm_monitoring User: monitoring_admin Bind query: yes Log file: /var/log/postgresql/postgresql-2026-05-13_000000.csv
-
CREATE INDEX IF NOT EXISTS idx_uptime_checks_key ON observability.uptime_checks (check_key, checked_at DESC);
Date: 2026-05-13 09:04:01 Duration: 1s922ms Database: zemm_monitoring User: monitoring_admin Bind query: yes Log file: /var/log/postgresql/postgresql-2026-05-13_000000.csv
11 504ms 12s722ms 1s5ms 1,440 24m7s 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 #11
Day Hour Count Duration Avg duration May 13 01 60 33s934ms 565ms 02 60 55s786ms 929ms 03 60 1m15s 1s264ms 04 60 1m15s 1s264ms 05 60 1m15s 1s264ms 06 60 1m15s 1s264ms 07 60 1m21s 1s365ms 08 60 1m25s 1s417ms 09 60 2m37s 2s619ms 10 60 1m6s 1s109ms 11 60 1m6s 1s106ms 12 60 31s849ms 530ms 13 60 1m18s 1s304ms 14 60 43s584ms 726ms 15 60 38s569ms 642ms 16 60 44s806ms 746ms 17 60 44s648ms 744ms 18 60 44s648ms 744ms 19 60 44s648ms 744ms 20 60 44s648ms 744ms 21 60 44s648ms 744ms 22 60 44s648ms 744ms 23 60 44s648ms 744ms 00 60 47s242ms 787ms [ User: monitoring_admin - Total duration: 24m7s - Times executed: 1436 ]
-
CREATE TABLE IF NOT EXISTS observability.app_events ( id bigserial PRIMARY KEY, tenant_key text NOT NULL, event_type text NOT NULL, severity text NOT NULL, message text NOT NULL, payload jsonb, occurred_at timestamptz NOT NULL DEFAULT NOW(), created_at timestamptz NOT NULL DEFAULT NOW() );
Date: 2026-05-13 08:04:01 Duration: 12s722ms Database: zemm_monitoring User: monitoring_admin Bind query: yes Log file: /var/log/postgresql/postgresql-2026-05-13_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-13 10:25:01 Duration: 1s947ms Database: zemm_monitoring User: monitoring_admin Bind query: yes Log file: /var/log/postgresql/postgresql-2026-05-13_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-13 09:04:01 Duration: 1s922ms Database: zemm_monitoring User: monitoring_admin Bind query: yes Log file: /var/log/postgresql/postgresql-2026-05-13_000000.csv
12 504ms 12s722ms 1s5ms 1,440 24m7s 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 #12
Day Hour Count Duration Avg duration May 13 01 60 33s934ms 565ms 02 60 55s786ms 929ms 03 60 1m15s 1s264ms 04 60 1m15s 1s264ms 05 60 1m15s 1s264ms 06 60 1m15s 1s264ms 07 60 1m21s 1s365ms 08 60 1m25s 1s417ms 09 60 2m37s 2s619ms 10 60 1m6s 1s109ms 11 60 1m6s 1s106ms 12 60 31s849ms 530ms 13 60 1m18s 1s304ms 14 60 43s584ms 726ms 15 60 38s569ms 642ms 16 60 44s806ms 746ms 17 60 44s648ms 744ms 18 60 44s648ms 744ms 19 60 44s648ms 744ms 20 60 44s648ms 744ms 21 60 44s648ms 744ms 22 60 44s648ms 744ms 23 60 44s648ms 744ms 00 60 47s242ms 787ms [ User: monitoring_admin - Total duration: 24m7s - Times executed: 1436 ]
-
CREATE INDEX IF NOT EXISTS idx_db_top_queries_tenant ON observability.db_top_queries (tenant_key, collected_at DESC);
Date: 2026-05-13 08:04:01 Duration: 12s722ms Database: zemm_monitoring User: monitoring_admin Bind query: yes Log file: /var/log/postgresql/postgresql-2026-05-13_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-13 10:25:01 Duration: 1s947ms Database: zemm_monitoring User: monitoring_admin Bind query: yes Log file: /var/log/postgresql/postgresql-2026-05-13_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-13 09:04:01 Duration: 1s922ms Database: zemm_monitoring User: monitoring_admin Bind query: yes Log file: /var/log/postgresql/postgresql-2026-05-13_000000.csv
13 504ms 12s722ms 1s5ms 1,440 24m7s create index if not exists idx_app_events_tenant on observability.app_events (tenant_key, occurred_at desc);Times Reported Time consuming queries #13
Day Hour Count Duration Avg duration May 13 01 60 33s934ms 565ms 02 60 55s786ms 929ms 03 60 1m15s 1s264ms 04 60 1m15s 1s264ms 05 60 1m15s 1s264ms 06 60 1m15s 1s264ms 07 60 1m21s 1s365ms 08 60 1m25s 1s417ms 09 60 2m37s 2s619ms 10 60 1m6s 1s109ms 11 60 1m6s 1s106ms 12 60 31s849ms 530ms 13 60 1m18s 1s304ms 14 60 43s584ms 726ms 15 60 38s569ms 642ms 16 60 44s806ms 746ms 17 60 44s648ms 744ms 18 60 44s648ms 744ms 19 60 44s648ms 744ms 20 60 44s648ms 744ms 21 60 44s648ms 744ms 22 60 44s648ms 744ms 23 60 44s648ms 744ms 00 60 47s242ms 787ms [ User: monitoring_admin - Total duration: 24m7s - Times executed: 1436 ]
-
CREATE INDEX IF NOT EXISTS idx_app_events_tenant ON observability.app_events (tenant_key, occurred_at DESC);
Date: 2026-05-13 08:04:01 Duration: 12s722ms Database: zemm_monitoring User: monitoring_admin Bind query: yes Log file: /var/log/postgresql/postgresql-2026-05-13_000000.csv
-
CREATE INDEX IF NOT EXISTS idx_app_events_tenant ON observability.app_events (tenant_key, occurred_at DESC);
Date: 2026-05-13 10:25:01 Duration: 1s947ms Database: zemm_monitoring User: monitoring_admin Bind query: yes Log file: /var/log/postgresql/postgresql-2026-05-13_000000.csv
-
CREATE INDEX IF NOT EXISTS idx_app_events_tenant ON observability.app_events (tenant_key, occurred_at DESC);
Date: 2026-05-13 09:04:01 Duration: 1s922ms Database: zemm_monitoring User: monitoring_admin Bind query: yes Log file: /var/log/postgresql/postgresql-2026-05-13_000000.csv
14 504ms 12s722ms 1s5ms 1,440 24m7s 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 #14
Day Hour Count Duration Avg duration May 13 01 60 33s934ms 565ms 02 60 55s786ms 929ms 03 60 1m15s 1s264ms 04 60 1m15s 1s264ms 05 60 1m15s 1s264ms 06 60 1m15s 1s264ms 07 60 1m21s 1s365ms 08 60 1m25s 1s417ms 09 60 2m37s 2s619ms 10 60 1m6s 1s109ms 11 60 1m6s 1s106ms 12 60 31s849ms 530ms 13 60 1m18s 1s304ms 14 60 43s584ms 726ms 15 60 38s569ms 642ms 16 60 44s806ms 746ms 17 60 44s648ms 744ms 18 60 44s648ms 744ms 19 60 44s648ms 744ms 20 60 44s648ms 744ms 21 60 44s648ms 744ms 22 60 44s648ms 744ms 23 60 44s648ms 744ms 00 60 47s242ms 787ms [ User: monitoring_admin - Total duration: 24m7s - Times executed: 1436 ]
-
CREATE TABLE IF NOT EXISTS observability.uptime_checks ( id bigserial PRIMARY KEY, endpoint text NOT NULL, status text NOT NULL, latency_ms double precision, checked_at timestamptz NOT NULL DEFAULT NOW() );
Date: 2026-05-13 08:04:01 Duration: 12s722ms Database: zemm_monitoring User: monitoring_admin Bind query: yes Log file: /var/log/postgresql/postgresql-2026-05-13_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-13 10:25:01 Duration: 1s947ms Database: zemm_monitoring User: monitoring_admin Bind query: yes Log file: /var/log/postgresql/postgresql-2026-05-13_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-13 09:04:01 Duration: 1s922ms Database: zemm_monitoring User: monitoring_admin Bind query: yes Log file: /var/log/postgresql/postgresql-2026-05-13_000000.csv
15 504ms 12s722ms 1s5ms 1,440 24m7s create table if not exists observability.nginx_counters ( id bigserial primary key, payload jsonb not null, collected_at timestamptz not null default now() );Times Reported Time consuming queries #15
Day Hour Count Duration Avg duration May 13 01 60 33s934ms 565ms 02 60 55s786ms 929ms 03 60 1m15s 1s264ms 04 60 1m15s 1s264ms 05 60 1m15s 1s264ms 06 60 1m15s 1s264ms 07 60 1m21s 1s365ms 08 60 1m25s 1s417ms 09 60 2m37s 2s619ms 10 60 1m6s 1s109ms 11 60 1m6s 1s106ms 12 60 31s849ms 530ms 13 60 1m18s 1s304ms 14 60 43s584ms 726ms 15 60 38s569ms 642ms 16 60 44s806ms 746ms 17 60 44s648ms 744ms 18 60 44s648ms 744ms 19 60 44s648ms 744ms 20 60 44s648ms 744ms 21 60 44s648ms 744ms 22 60 44s648ms 744ms 23 60 44s648ms 744ms 00 60 47s242ms 787ms [ User: monitoring_admin - Total duration: 24m7s - Times executed: 1436 ]
-
CREATE TABLE IF NOT EXISTS observability.nginx_counters ( id bigserial PRIMARY KEY, payload jsonb NOT NULL, collected_at timestamptz NOT NULL DEFAULT NOW() );
Date: 2026-05-13 08:04:01 Duration: 12s722ms Database: zemm_monitoring User: monitoring_admin Bind query: yes Log file: /var/log/postgresql/postgresql-2026-05-13_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-13 10:25:01 Duration: 1s947ms Database: zemm_monitoring User: monitoring_admin Bind query: yes Log file: /var/log/postgresql/postgresql-2026-05-13_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-13 09:04:01 Duration: 1s922ms Database: zemm_monitoring User: monitoring_admin Bind query: yes Log file: /var/log/postgresql/postgresql-2026-05-13_000000.csv
16 504ms 12s722ms 1s5ms 1,440 24m7s create index if not exists idx_app_events_type on observability.app_events (event_type);Times Reported Time consuming queries #16
Day Hour Count Duration Avg duration May 13 01 60 33s934ms 565ms 02 60 55s786ms 929ms 03 60 1m15s 1s264ms 04 60 1m15s 1s264ms 05 60 1m15s 1s264ms 06 60 1m15s 1s264ms 07 60 1m21s 1s365ms 08 60 1m25s 1s417ms 09 60 2m37s 2s619ms 10 60 1m6s 1s109ms 11 60 1m6s 1s106ms 12 60 31s849ms 530ms 13 60 1m18s 1s304ms 14 60 43s584ms 726ms 15 60 38s569ms 642ms 16 60 44s806ms 746ms 17 60 44s648ms 744ms 18 60 44s648ms 744ms 19 60 44s648ms 744ms 20 60 44s648ms 744ms 21 60 44s648ms 744ms 22 60 44s648ms 744ms 23 60 44s648ms 744ms 00 60 47s242ms 787ms [ User: monitoring_admin - Total duration: 24m7s - Times executed: 1436 ]
-
CREATE INDEX IF NOT EXISTS idx_app_events_type ON observability.app_events (event_type);
Date: 2026-05-13 08:04:01 Duration: 12s722ms Database: zemm_monitoring User: monitoring_admin Bind query: yes Log file: /var/log/postgresql/postgresql-2026-05-13_000000.csv
-
CREATE INDEX IF NOT EXISTS idx_app_events_type ON observability.app_events (event_type);
Date: 2026-05-13 10:25:01 Duration: 1s947ms Database: zemm_monitoring User: monitoring_admin Bind query: yes Log file: /var/log/postgresql/postgresql-2026-05-13_000000.csv
-
CREATE INDEX IF NOT EXISTS idx_app_events_type ON observability.app_events (event_type);
Date: 2026-05-13 09:04:01 Duration: 1s922ms Database: zemm_monitoring User: monitoring_admin Bind query: yes Log file: /var/log/postgresql/postgresql-2026-05-13_000000.csv
17 504ms 12s722ms 1s5ms 1,440 24m7s alter table observability.uptime_checks add column if not exists payload jsonb;Times Reported Time consuming queries #17
Day Hour Count Duration Avg duration May 13 01 60 33s934ms 565ms 02 60 55s786ms 929ms 03 60 1m15s 1s264ms 04 60 1m15s 1s264ms 05 60 1m15s 1s264ms 06 60 1m15s 1s264ms 07 60 1m21s 1s365ms 08 60 1m25s 1s417ms 09 60 2m37s 2s619ms 10 60 1m6s 1s109ms 11 60 1m6s 1s106ms 12 60 31s849ms 530ms 13 60 1m18s 1s304ms 14 60 43s584ms 726ms 15 60 38s569ms 642ms 16 60 44s806ms 746ms 17 60 44s648ms 744ms 18 60 44s648ms 744ms 19 60 44s648ms 744ms 20 60 44s648ms 744ms 21 60 44s648ms 744ms 22 60 44s648ms 744ms 23 60 44s648ms 744ms 00 60 47s242ms 787ms [ User: monitoring_admin - Total duration: 24m7s - Times executed: 1436 ]
-
ALTER TABLE observability.uptime_checks ADD COLUMN IF NOT EXISTS payload jsonb;
Date: 2026-05-13 08:04:01 Duration: 12s722ms Database: zemm_monitoring User: monitoring_admin Bind query: yes Log file: /var/log/postgresql/postgresql-2026-05-13_000000.csv
-
ALTER TABLE observability.uptime_checks ADD COLUMN IF NOT EXISTS payload jsonb;
Date: 2026-05-13 10:25:01 Duration: 1s947ms Database: zemm_monitoring User: monitoring_admin Bind query: yes Log file: /var/log/postgresql/postgresql-2026-05-13_000000.csv
-
ALTER TABLE observability.uptime_checks ADD COLUMN IF NOT EXISTS payload jsonb;
Date: 2026-05-13 09:04:01 Duration: 1s922ms Database: zemm_monitoring User: monitoring_admin Bind query: yes Log file: /var/log/postgresql/postgresql-2026-05-13_000000.csv
18 504ms 12s722ms 1s5ms 1,440 24m7s create index if not exists idx_uptime_checks_endpoint on observability.uptime_checks (endpoint, checked_at desc);Times Reported Time consuming queries #18
Day Hour Count Duration Avg duration May 13 01 60 33s934ms 565ms 02 60 55s786ms 929ms 03 60 1m15s 1s264ms 04 60 1m15s 1s264ms 05 60 1m15s 1s264ms 06 60 1m15s 1s264ms 07 60 1m21s 1s365ms 08 60 1m25s 1s417ms 09 60 2m37s 2s619ms 10 60 1m6s 1s109ms 11 60 1m6s 1s106ms 12 60 31s849ms 530ms 13 60 1m18s 1s304ms 14 60 43s584ms 726ms 15 60 38s569ms 642ms 16 60 44s806ms 746ms 17 60 44s648ms 744ms 18 60 44s648ms 744ms 19 60 44s648ms 744ms 20 60 44s648ms 744ms 21 60 44s648ms 744ms 22 60 44s648ms 744ms 23 60 44s648ms 744ms 00 60 47s242ms 787ms [ User: monitoring_admin - Total duration: 24m7s - Times executed: 1436 ]
-
CREATE INDEX IF NOT EXISTS idx_uptime_checks_endpoint ON observability.uptime_checks (endpoint, checked_at DESC);
Date: 2026-05-13 08:04:01 Duration: 12s722ms Database: zemm_monitoring User: monitoring_admin Bind query: yes Log file: /var/log/postgresql/postgresql-2026-05-13_000000.csv
-
CREATE INDEX IF NOT EXISTS idx_uptime_checks_endpoint ON observability.uptime_checks (endpoint, checked_at DESC);
Date: 2026-05-13 10:25:01 Duration: 1s947ms Database: zemm_monitoring User: monitoring_admin Bind query: yes Log file: /var/log/postgresql/postgresql-2026-05-13_000000.csv
-
CREATE INDEX IF NOT EXISTS idx_uptime_checks_endpoint ON observability.uptime_checks (endpoint, checked_at DESC);
Date: 2026-05-13 09:04:01 Duration: 1s922ms Database: zemm_monitoring User: monitoring_admin Bind query: yes Log file: /var/log/postgresql/postgresql-2026-05-13_000000.csv
19 805ms 859ms 819ms 19 15s571ms 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 13 10 1 812ms 812ms 13 2 1s633ms 816ms 14 9 7s348ms 816ms 15 6 4s917ms 819ms 16 1 859ms 859ms [ User: labanimal - Total duration: 15s571ms - Times executed: 19 ]
[ Application: _desktop_index.php_zemm_produktiv_8_localhost_5432 - Total duration: 15s571ms - Times executed: 19 ]
-
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-13 15:08:37 Duration: 859ms Database: zemm_produktiv_8 User: labanimal Application: _desktop_index.php_zemm_produktiv_8_localhost_5432 Bind query: yes Log file: /var/log/postgresql/postgresql-2026-05-13_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, 574) AS is_owner, user_is_tgm (animals_search_mview.editor, 574) AS is_editor, user_is_tgm (animals_search_mview.tourist, 574) 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-13 13:14:26 Duration: 831ms Database: zemm_produktiv_8 User: labanimal Application: _desktop_index.php_zemm_produktiv_8_localhost_5432 Bind query: yes Log file: /var/log/postgresql/postgresql-2026-05-13_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, 134) AS is_owner, user_is_tgm (animals_search_mview.editor, 134) AS is_editor, user_is_tgm (animals_search_mview.tourist, 134) 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-13 13:12:36 Duration: 830ms Database: zemm_produktiv_8 User: labanimal Application: _desktop_index.php_zemm_produktiv_8_localhost_5432 Bind query: yes Log file: /var/log/postgresql/postgresql-2026-05-13_000000.csv
20 718ms 750ms 730ms 19 13s883ms 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 13 10 1 728ms 728ms 13 2 1s463ms 731ms 14 9 6s564ms 729ms 15 6 4s376ms 729ms 16 1 750ms 750ms [ User: labanimal - Total duration: 13s883ms - Times executed: 19 ]
[ Application: _desktop_index.php_zemm_produktiv_8_localhost_5432 - Total duration: 13s883ms - Times executed: 19 ]
-
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-13 15:08:38 Duration: 750ms Database: zemm_produktiv_8 User: labanimal Application: _desktop_index.php_zemm_produktiv_8_localhost_5432 Bind query: yes Log file: /var/log/postgresql/postgresql-2026-05-13_000000.csv
-
SELECT DISTINCT * FROM ( SELECT animals_search_mview.*, b.unbreeding_date, fates.loc AS fate_name, user_is_tgm (animals_search_mview.owner, 574) AS is_owner, user_is_tgm (animals_search_mview.editor, 574) AS is_editor, user_is_tgm (animals_search_mview.tourist, 574) 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-13 13:14:27 Duration: 739ms Database: zemm_produktiv_8 User: labanimal Application: _desktop_index.php_zemm_produktiv_8_localhost_5432 Bind query: yes Log file: /var/log/postgresql/postgresql-2026-05-13_000000.csv
-
SELECT DISTINCT * FROM ( SELECT animals_search_mview.*, b.unbreeding_date, fates.loc AS fate_name, user_is_tgm (animals_search_mview.owner, 468) AS is_owner, user_is_tgm (animals_search_mview.editor, 468) AS is_editor, user_is_tgm (animals_search_mview.tourist, 468) 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-13 13:57:41 Duration: 739ms Database: zemm_produktiv_8 User: labanimal Application: _desktop_index.php_zemm_produktiv_8_localhost_5432 Bind query: yes Log file: /var/log/postgresql/postgresql-2026-05-13_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
- 124,234 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: syntax error at or near "..."
Times Reported Most Frequent Error / Event #1
Day Hour Count May 13 13 1 - ERROR: syntax error at or near "Können"
Statement: INSERT INTO tmptasks VALUES( 10311934,0,true,true,true,'10100069','136','','','183','10','','','','','','',NULL,'Verpaarungen für Versuchsvorhaben od. OE',0,0,NULL,'','',NULL,false,'2026-05-20','','Nutzer hat Zuchtplanung für sich erstellt; Verpaarungsdauer max. 6 Monate','2) Gewünschte Anzahl an Jungtieren: 200 und Genotyp ho / he / wt 'Können die Welpen aus dieser Verpaarung der Linie B6.XCR1-DTR zugeordnet werden?'',NULL,NULL,true,$1,'2',2,0,2,NULL::TIMESTAMP, NULL, NULL::TIMESTAMP, NULL)
Date: 2026-05-13 12:25:32 Database: zemm_produktiv_8 Application: _desktop_index.php_zemm_produktiv_8_localhost_5432 User: labanimal Remote: Log file: /var/log/postgresql/postgresql-2026-05-13_000000.csv