-
Global information
- Generated on Mon Jun 15 06:05:56 2026
- Log file: /var/log/postgresql/postgresql-2026-05-13_000000.csv, ..., /var/log/postgresql/postgresql-2026-06-15_000000.csv
- Parsed 301,689 log entries in 5m55s
- Log start from 2026-06-11 00:00:01 to 2026-06-11 23:59:16
-
Overview
Global Stats
- 59 Number of unique normalized queries
- 24,670 Number of queries
- 8h55m39s Total query duration
- 2026-06-11 00:00:01 First query
- 2026-06-11 23:59:01 Last query
- 18 queries/s at 2026-06-11 10:42:01 Query peak
- 8h55m39s Total query duration
- 0ms Prepare/parse total duration
- 0ms Bind total duration
- 8h55m39s Execute total duration
- 19 Number of events
- 3 Number of unique normalized events
- 13 Max number of times the same event was reported
- 0 Number of cancellation
- 58 Total number of automatic vacuums
- 149 Total number of automatic analyzes
- 0 Number temporary file
- 0 Max size of temporary file
- 0.00 B Average size of temporary file
- 28,258 Total number of sessions
- 8 sessions at 2026-06-11 10:41:59 Session peak
- 1h31m27s Total duration of sessions
- 194ms Average duration of sessions
- 0 Average queries per session
- 1s137ms Average queries duration per session
- 0ms Average idle time per session
- 28,258 Total number of connections
- 35 connections/s at 2026-06-11 13:10:01 Connection peak
- 4 Total number of databases
SQL Traffic
Key values
- 18 queries/s Query Peak
- 2026-06-11 10:42:01 Date
SELECT Traffic
Key values
- 2 queries/s Query Peak
- 2026-06-11 14:30:42 Date
INSERT/UPDATE/DELETE Traffic
Key values
- 18 queries/s Query Peak
- 2026-06-11 10:42:01 Date
Queries duration
Key values
- 8h55m39s Total query duration
Prepared queries ratio
Key values
- 0.00 Ratio of bind vs prepare
- 0.00 % Ratio between prepared and "usual" statements
General Activity
↑ Back to the top of the General Activity tableDay Hour Count Min duration Max duration Avg duration Latency Percentile(90) Latency Percentile(95) Latency Percentile(99) Jun 11 00 1,020 0ms 0ms 0ms 0ms 0ms 0ms 01 1,021 0ms 984ms 476ms 16s740ms 16s740ms 16s740ms 02 1,020 984ms 984ms 984ms 16s740ms 16s740ms 16s740ms 03 1,020 984ms 984ms 984ms 16s740ms 16s740ms 16s740ms 04 1,020 984ms 984ms 984ms 16s740ms 16s740ms 16s740ms 05 1,020 984ms 984ms 984ms 16s740ms 16s740ms 16s740ms 06 1,021 984ms 1s848ms 1s431ms 31s432ms 31s432ms 31s432ms 07 1,021 606ms 1s848ms 957ms 31s432ms 31s432ms 32s38ms 08 1,023 606ms 1s545ms 1s3ms 26s266ms 26s266ms 27s729ms 09 1,032 885ms 1s561ms 1s440ms 26s546ms 26s878ms 28s52ms 10 1,054 519ms 1s871ms 1s105ms 26s244ms 26s805ms 27s100ms 11 1,060 521ms 2m30s 3s594ms 27s206ms 30s458ms 42m32s 12 1,042 507ms 1s852ms 1s364ms 26s588ms 27s385ms 31s696ms 13 1,036 702ms 2s5ms 1s454ms 26s534ms 28s394ms 29s247ms 14 1,028 817ms 1s556ms 1s412ms 26s456ms 26s982ms 27s629ms 15 1,027 1s427ms 1s556ms 1s487ms 26s456ms 27s116ms 27s986ms 16 1,033 712ms 1s556ms 1s438ms 26s464ms 27s634ms 29s20ms 17 1,031 696ms 1s567ms 1s467ms 26s654ms 27s55ms 28s64ms 18 1,030 1s458ms 1s567ms 1s505ms 26s816ms 27s348ms 28s146ms 19 1,026 1s410ms 1s502ms 1s450ms 26s547ms 26s701ms 27s13ms 20 1,020 1s410ms 1s410ms 1s410ms 23s979ms 23s979ms 23s979ms 21 1,020 1s410ms 1s410ms 1s410ms 23s979ms 23s979ms 23s979ms 22 1,020 1s410ms 1s410ms 1s410ms 23s979ms 23s979ms 23s979ms 23 1,025 570ms 2s76ms 1s411ms 23s979ms 24s284ms 30s694ms Day Hour SELECT COPY TO Average Duration Latency Percentile(90) Latency Percentile(95) Latency Percentile(99) Jun 11 00 0 0 0ms 0ms 0ms 0ms 01 0 0 0ms 0ms 0ms 0ms 02 0 0 0ms 0ms 0ms 0ms 03 0 0 0ms 0ms 0ms 0ms 04 0 0 0ms 0ms 0ms 0ms 05 0 0 0ms 0ms 0ms 0ms 06 0 0 0ms 0ms 0ms 0ms 07 1 0 606ms 0ms 0ms 0ms 08 0 0 0ms 0ms 0ms 0ms 09 2 0 888ms 0ms 0ms 885ms 10 17 0 838ms 0ms 1s352ms 1s868ms 11 29 0 5s978ms 777ms 2s218ms 3s559ms 12 9 0 572ms 0ms 0ms 1s474ms 13 8 0 1s4ms 0ms 0ms 2s362ms 14 2 0 836ms 0ms 0ms 0ms 15 0 0 0ms 0ms 0ms 0ms 16 4 0 754ms 0ms 0ms 0ms 17 2 0 731ms 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 1s343ms 0ms 0ms 0ms Day Hour INSERT UPDATE DELETE COPY FROM Average Duration Latency Percentile(90) Latency Percentile(95) Latency Percentile(99) Jun 11 00 0 0 0 0 0ms 0ms 0ms 0ms 01 0 1 0 0 984ms 0ms 0ms 0ms 02 0 0 0 0 0ms 0ms 0ms 0ms 03 0 0 0 0 0ms 0ms 0ms 0ms 04 0 0 0 0 0ms 0ms 0ms 0ms 05 0 0 0 0 0ms 0ms 0ms 0ms 06 0 0 0 0 0ms 0ms 0ms 0ms 07 0 0 0 0 0ms 0ms 0ms 0ms 08 0 0 0 0 0ms 0ms 0ms 0ms 09 0 0 0 0 0ms 0ms 0ms 0ms 10 0 0 0 0 0ms 0ms 0ms 0ms 11 0 0 0 0 0ms 0ms 0ms 0ms 12 0 0 0 0 0ms 0ms 0ms 0ms 13 0 0 0 0 0ms 0ms 0ms 0ms 14 0 0 0 0 0ms 0ms 0ms 0ms 15 0 0 0 0 0ms 0ms 0ms 0ms 16 0 0 0 0 0ms 0ms 0ms 0ms 17 0 0 0 0 0ms 0ms 0ms 0ms 18 0 0 0 0 0ms 0ms 0ms 0ms 19 0 0 0 0 0ms 0ms 0ms 0ms 20 0 0 0 0 0ms 0ms 0ms 0ms 21 0 0 0 0 0ms 0ms 0ms 0ms 22 0 0 0 0 0ms 0ms 0ms 0ms 23 0 0 0 0 0ms 0ms 0ms 0ms Day Hour Prepare Bind Bind/Prepare Percentage of prepare Jun 11 00 0 0 0.00 0.00% 01 0 0 0.00 0.00% 02 0 0 0.00 0.00% 03 0 0 0.00 0.00% 04 0 0 0.00 0.00% 05 0 0 0.00 0.00% 06 0 0 0.00 0.00% 07 0 0 0.00 0.00% 08 0 3 3.00 0.00% 09 0 10 10.00 0.00% 10 0 7 7.00 0.00% 11 0 8 8.00 0.00% 12 0 11 11.00 0.00% 13 0 8 8.00 0.00% 14 0 6 6.00 0.00% 15 0 7 7.00 0.00% 16 0 9 9.00 0.00% 17 0 9 9.00 0.00% 18 0 10 10.00 0.00% 19 0 6 6.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 Jun 11 00 552 0.15/s 01 552 0.15/s 02 546 0.15/s 03 543 0.15/s 04 543 0.15/s 05 543 0.15/s 06 1,215 0.34/s 07 1,175 0.33/s 08 912 0.25/s 09 1,518 0.42/s 10 2,938 0.82/s 11 3,445 0.96/s 12 1,731 0.48/s 13 2,706 0.75/s 14 1,607 0.45/s 15 1,566 0.43/s 16 1,020 0.28/s 17 1,038 0.29/s 18 925 0.26/s 19 779 0.22/s 20 744 0.21/s 21 559 0.16/s 22 543 0.15/s 23 558 0.15/s Day Hour Count Average Duration Average idle time Jun 11 00 552 240ms 240ms 01 552 241ms 0ms 02 546 241ms 0ms 03 543 244ms 0ms 04 543 246ms 0ms 05 543 248ms 0ms 06 1,215 176ms 0ms 07 1,175 150ms 0ms 08 912 184ms 0ms 09 1,518 166ms 0ms 10 2,938 164ms 0ms 11 3,445 214ms 0ms 12 1,731 171ms 0ms 13 2,706 154ms 0ms 14 1,607 163ms 0ms 15 1,566 177ms 0ms 16 1,020 218ms 0ms 17 1,038 207ms 0ms 18 925 218ms 0ms 19 779 229ms 0ms 20 744 220ms 0ms 21 559 242ms 0ms 22 543 247ms 0ms 23 558 261ms 0ms -
Connections
Established Connections
Key values
- 35 connections Connection Peak
- 2026-06-11 13:10:01 Date
Connections per database
Key values
- zemm_monitoring Main Database
- 28,258 connections Total
Connections per user
Key values
- labanimal Main User
- 28,258 connections Total
-
Sessions
Simultaneous sessions
Key values
- 8 sessions Session Peak
- 2026-06-11 10:41:59 Date
Histogram of session times
Key values
- 25,739 0-500ms duration
Sessions per database
Key values
- zemm_monitoring Main Database
- 28,258 sessions Total
Sessions per user
Key values
- labanimal Main User
- 28,258 sessions Total
Sessions per host
Key values
- ::1 Main Host
- 28,258 sessions Total
Sessions per application
Key values
- Main Application
- 28,258 sessions Total
Application Count Total Duration Average Duration 22,975 1h17m24s 202ms _backend_wean_api.php_litter_id_10132547_zemm_produktiv_8_local 7 868ms 124ms _backend_wean_api.php_litter_id_10132559_zemm_produktiv_8_local 24 2s996ms 124ms _backend_wean_api.php_litter_id_10132677_zemm_produktiv_8_local 20 2s539ms 126ms _backend_wean_api.php_litter_id_10132679_zemm_produktiv_8_local 20 2s519ms 125ms _backend_wean_api.php_litter_id_10132680_zemm_produktiv_8_local 20 2s533ms 126ms _backend_wean_api.php_litter_id_10132690_zemm_produktiv_8_local 24 3s31ms 126ms _backend_wean_api.php_litter_id_10132691_zemm_produktiv_8_local 24 3s78ms 128ms _backend_wean_api.php_litter_id_10132692_zemm_produktiv_8_local 24 3s54ms 127ms _backend_wean_api.php_litter_id_10132693_zemm_produktiv_8_local 24 3s47ms 126ms _backend_wean_api.php_litter_id_10132720_zemm_produktiv_8_local 20 2s526ms 126ms _backend_wean_api.php_litter_id_10132745_zemm_produktiv_8_local 20 2s524ms 126ms _backend_wean_api.php_litter_id_10132747_zemm_produktiv_8_local 20 2s501ms 125ms _backend_wean_api.php_litter_id_10132749_zemm_produktiv_8_local 20 2s512ms 125ms _backend_wean_api.php_litter_id_10132750_zemm_produktiv_8_local 20 2s528ms 126ms _backend_wean_api.php_litter_id_10132752_zemm_produktiv_8_local 20 2s520ms 126ms _backend_wean_api.php_litter_id_10132758_zemm_produktiv_8_local 20 2s509ms 125ms _backend_wean_api.php_litter_id_10132780_zemm_produktiv_8_local 24 3s33ms 126ms _backend_wean_api.php_litter_id_10132781_zemm_produktiv_8_local 24 3s29ms 126ms _backend_wean_api.php_litter_id_10132782_zemm_produktiv_8_local 24 3s41ms 126ms _backend_wean_api.php_litter_id_10132783_zemm_produktiv_8_local 24 3s10ms 125ms _backend_wean_api.php_litter_id_10132784_zemm_produktiv_8_local 24 3s14ms 125ms _backend_wean_api.php_litter_id_10132787_zemm_produktiv_8_local 24 3s37ms 126ms _backend_wean_api.php_litter_id_10132788_zemm_produktiv_8_local 24 3s32ms 126ms _backend_wean_api.php_litter_id_10132859_zemm_produktiv_8_local 2 256ms 128ms _backend_wean_api.php_litter_id_10132879_zemm_produktiv_8_local 2 260ms 130ms _backend_wean_api.php_litter_id_10132895_zemm_produktiv_8_local 1 123ms 123ms _backend_wean_api.php_litter_id_10133006_zemm_produktiv_8_local 2 257ms 128ms _backend_wean_api.php_litter_id_10133009_zemm_produktiv_8_local 2 261ms 130ms _backend_wean_api.php_litter_id_10133010_zemm_produktiv_8_local 2 254ms 127ms _backend_wean_api.php_zemm_produktiv_8_localhost_5432 1 357ms 357ms _desktop__zemm_produktiv_8_localhost_5432 16 916ms 57ms _desktop_index.php_command_animals_breedings_subcommand_edit_id 1 760ms 760ms _desktop_index.php_command_animals_edit_subcommand_init_id_1020 1 105ms 105ms _desktop_index.php_command_animals_edit_subcommand_init_id_1029 3 285ms 95ms _desktop_index.php_command_animals_litters_create_subcommand_se 1 171ms 171ms _desktop_index.php_command_animals_subcommand_init_id_10257469_ 1 48ms 48ms _desktop_index.php_command_animals_subcommand_init_zemm_produkt 2 85ms 42ms _desktop_index.php_command_animals_subcommand_init_zemm_test_lo 1 45ms 45ms _desktop_index.php_command_import_dashboard_subcommand_create_r 1 48ms 48ms _desktop_index.php_command_import_dashboard_subcommand_init_zem 1 47ms 47ms _desktop_index.php_command_login_subcommand_init__zemm_dev_loca 1 34ms 34ms _desktop_index.php_command_login_subcommand_init__zemm_produkti 1 31ms 31ms _desktop_index.php_command_login_subcommand_init__zemm_test_loc 1 34ms 34ms _desktop_index.php_command_login_subcommand_init_zemm_dev_local 6 191ms 31ms _desktop_index.php_command_login_subcommand_init_zemm_produktiv 1,662 49s99ms 29ms _desktop_index.php_command_login_subcommand_init_zemm_test_loca 7 231ms 33ms _desktop_index.php_command_reports_subcommand_animals_per_room_ 1 114ms 114ms _desktop_index.php_command_reports_subcommand_animals_per_user_ 7 759ms 108ms _desktop_index.php_command_reports_subcommand_fates_zemm_produk 3 327ms 109ms _desktop_index.php_command_reports_subcommand_init_zemm_produkt 2 571ms 285ms _desktop_index.php_command_reports_subcommand_scoresheet_per_li 1 863ms 863ms _desktop_index.php_command_services_subcommand_edit_id_7_zemm_t 1 50ms 50ms _desktop_index.php_command_services_subcommand_edit_id_8_zemm_t 1 51ms 51ms _desktop_index.php_command_services_subcommand_init_zemm_produk 1 46ms 46ms _desktop_index.php_command_services_subcommand_init_zemm_test_l 2 90ms 45ms _desktop_index.php_command_strains_subcommand_edit_id_10100217_ 1 29ms 29ms _desktop_index.php_command_strains_subcommand_init2_zemm_produk 1 65ms 65ms _desktop_index.php_command_tasks_subcommand_edit_id_10140748_ze 1 85ms 85ms _desktop_index.php_command_tasks_subcommand_edit_id_10141930_ze 2 170ms 85ms _desktop_index.php_command_tasks_subcommand_edit_id_10143432_ze 2 157ms 78ms _desktop_index.php_command_tasks_subcommand_edit_id_10143441_ze 1 68ms 68ms _desktop_index.php_command_tasks_subcommand_edit_id_10143540_ze 1 87ms 87ms _desktop_index.php_command_tasks_subcommand_found_val1_10100000 1 45ms 45ms _desktop_index.php_command_tasks_subcommand_found_val1_10100008 1 43ms 43ms _desktop_index.php_command_tasks_subcommand_init_template_zemm_ 1 40ms 40ms _desktop_index.php_command_tasks_subcommand_init_zemm_produktiv 56 4s753ms 84ms _desktop_index.php_command_tasks_subcommand_open_legacy_1_id_10 27 1s562ms 57ms _desktop_index.php_command_tasks_subcommand_search_zemm_produkt 12 506ms 42ms _desktop_index.php_cost_object_1_descAbbrev_FZE100_service_Tier 1 49ms 49ms _desktop_index.php_current_only_true_val4_animals_breedings_sea 3 1s101ms 367ms _desktop_index.php_date_2026-06-11_license_63_service_54_comman 1 47ms 47ms _desktop_index.php_group_Ag_20Baumgart_description_Lehrstuhl_20 1 77ms 77ms _desktop_index.php_m_action_animals_3Am_delete_row_animals_1030 1 47ms 47ms _desktop_index.php_m_action_animals_edit_3Alink_init_row_animal 1 88ms 88ms _desktop_index.php_m_action_animals_litters_edit_3Am_init_val4_ 2 83ms 41ms _desktop_index.php_name_Genotypisierungsproben_20genommen_instr 3 163ms 54ms _desktop_index.php_name_Tiertransport_20innerhalb_20W_C3_BCrzbu 1 47ms 47ms _desktop_index.php_name_VP_20von_20..._20bis_20..._20Ntsr1_2FGC 2 127ms 63ms _desktop_index.php_name_Verpaarungen_20zur_20Zucht_instructions 5 346ms 69ms _desktop_index.php_search_id_10140747_search_status__25_no_subt 1 86ms 86ms _desktop_index.php_search_id_10141557_search_status__25_no_subt 2 181ms 90ms _desktop_index.php_search_status__25_issuer_user_name_Zhang_2C_ 2 444ms 222ms _desktop_index.php_start_date_2026-05-01_end_date_2026-05-30_mo 3 420ms 140ms _desktop_index.php_view_animal_name_on_view_animal_id_on_animal 28 6s394ms 228ms _desktop_index.php_view_animal_name_on_view_animal_id_on_breedi 1 88ms 88ms _desktop_index.php_view_animal_name_on_view_animal_id_on_view_b 11 794ms 72ms _desktop_index.php_zemm_produktiv_8_localhost_5432 2,667 8m40s 194ms _desktop_index.php_zemm_test_localhost_5432 132 12s733ms 96ms backend:zemm_produktiv_8@localhost 35 2s327ms 66ms bounces:zemm_produktiv_8@h2940066.stratoserver.net:5432 1 58ms 58ms expire_tasks:zemm_produktiv_8@h2940066.stratoserver.net:5432 1 1s2ms 1s2ms pg_dump 1 11s150ms 11s150ms psql 14 2m30s 10s739ms taskscron:zemm_produktiv_8@h2940066.stratoserver.net:5432 24 7s706ms 321ms -
Checkpoints / Restartpoints
Checkpoints Buffers
Key values
- 20,107 buffers Checkpoint Peak
- 2026-06-11 01:38:24 Date
- 270.037 seconds Highest write time
- 0.035 seconds Sync time
Checkpoints Wal files
Key values
- 6 files Wal files usage Peak
- 2026-06-11 01:38:24 Date
Checkpoints distance
Key values
- 195.20 Mo Distance Peak
- 2026-06-11 01:38:24 Date
Checkpoints Activity
↑ Back to the top of the Checkpoint Activity tableDay Hour Written buffers Write time Sync time Total time Jun 11 00 8,721 872.607s 0.101s 872.762s 01 27,656 1,025.271s 0.102s 1,025.434s 02 9,289 929.505s 0.098s 929.656s 03 7,386 739.093s 0.094s 739.238s 04 9,523 952.659s 0.102s 952.811s 05 8,612 861.987s 0.098s 862.144s 06 10,077 1,008.647s 0.22s 1,008.921s 07 9,555 955.669s 0.219s 955.947s 08 14,281 1,057.5s 0.119s 1,057.665s 09 11,086 1,109.024s 0.178s 1,109.261s 10 14,622 1,379.876s 0.242s 1,380.176s 11 12,618 1,262.339s 0.292s 1,262.685s 12 10,550 1,055.764s 0.229s 1,056.051s 13 14,459 1,407.161s 0.237s 1,407.448s 14 11,274 1,128.043s 0.195s 1,128.295s 15 10,243 1,025.171s 0.172s 1,025.396s 16 8,868 887.973s 0.112s 888.138s 17 9,714 971.724s 0.116s 971.899s 18 10,129 1,013.262s 0.097s 1,013.42s 19 9,816 982.005s 0.094s 982.154s 20 10,577 1,057.68s 0.121s 1,057.856s 21 10,651 1,065.688s 0.097s 1,065.835s 22 10,896 1,090.224s 0.099s 1,090.374s 23 11,383 1,139.159s 0.092s 1,139.303s Day Hour Added Removed Recycled Synced files Longest sync Average sync Jun 11 00 0 0 1 533 0.002s 0.012s 01 0 0 8 532 0.002s 0.012s 02 0 0 2 513 0.002s 0.012s 03 0 0 1 476 0.004s 0.011s 04 0 0 2 520 0.003s 0.012s 05 0 0 2 502 0.004s 0.012s 06 0 0 2 1,269 0.003s 0.012s 07 0 0 2 1,215 0.008s 0.012s 08 0 0 3 647 0.002s 0.011s 09 0 0 2 1,017 0.002s 0.012s 10 0 0 4 1,458 0.002s 0.012s 11 0 0 3 1,718 0.002s 0.012s 12 0 0 2 1,328 0.004s 0.012s 13 0 0 3 1,399 0.002s 0.012s 14 0 0 2 1,082 0.003s 0.012s 15 0 0 2 936 0.002s 0.012s 16 0 0 2 623 0.001s 0.012s 17 0 0 2 652 0.001s 0.012s 18 0 0 2 513 0.002s 0.012s 19 0 0 2 503 0.001s 0.012s 20 0 0 2 632 0.004s 0.012s 21 0 0 2 513 0.001s 0.012s 22 0 0 2 490 0.004s 0.012s 23 0 0 2 490 0.001s 0.012s Day Hour Count Avg time (sec) Jun 11 00 0 0s 01 0 0s 02 0 0s 03 0 0s 04 0 0s 05 0 0s 06 0 0s 07 0 0s 08 0 0s 09 0 0s 10 0 0s 11 0 0s 12 0 0s 13 0 0s 14 0 0s 15 0 0s 16 0 0s 17 0 0s 18 0 0s 19 0 0s 20 0 0s 21 0 0s 22 0 0s 23 0 0s Day Hour Mean distance Mean estimate Jun 11 00 2,383.83 kB 2,980.50 kB 01 10,525.50 kB 35,884.42 kB 02 2,529.42 kB 36,913.75 kB 03 2,307.91 kB 12,551.18 kB 04 2,537.50 kB 5,522.75 kB 05 2,408.17 kB 3,329.25 kB 06 2,937.58 kB 3,565.33 kB 07 2,742.42 kB 3,870.42 kB 08 4,066.09 kB 8,163.09 kB 09 2,985.50 kB 9,178.25 kB 10 5,203.00 kB 6,694.92 kB 11 3,757.92 kB 10,132.83 kB 12 2,978.67 kB 5,093.83 kB 13 3,865.33 kB 4,942.83 kB 14 3,112.75 kB 4,676.92 kB 15 2,817.33 kB 3,429.75 kB 16 2,479.75 kB 3,110.75 kB 17 2,671.17 kB 3,126.50 kB 18 2,778.92 kB 3,314.42 kB 19 2,672.50 kB 3,070.08 kB 20 2,782.92 kB 3,202.33 kB 21 2,797.92 kB 3,290.58 kB 22 2,831.42 kB 3,390.25 kB 23 2,959.67 kB 3,585.25 kB -
Temporary Files
Size of temporary files
Key values
- 0 Temp Files size Peak
- Date
Size of temporary files (5 minutes period)
NO DATASET
Number of temporary files
Key values
- 0 per second Temp Files Peak
- Date
Number of temporary files (5 minutes period)
NO DATASET
Temporary Files Activity
↑ Back to the top of the Temporary Files Activity tableDay Hour Count Total size Average size Jun 11 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
- 1.10 sec Highest CPU-cost vacuum
Table pg_toast.pg_toast_67431
Database zemm_monitoring - 2026-06-11 13:32:27 Date
- 0 sec Highest CPU-cost analyze
Table
Database zemm_monitoring - Date
Average Autovacuum Duration
Key values
- 1.10 sec Highest CPU-cost vacuum
Table pg_toast.pg_toast_67431
Database zemm_monitoring - 2026-06-11 13:32:27 Date
Analyzes per table
Key values
- pg_catalog.pg_type (48) Main table analyzed (database zemm_produktiv_8)
- 149 analyzes Total
Table Number of analyzes zemm_produktiv_8.pg_catalog.pg_type 48 zemm_produktiv_8.pg_catalog.pg_attribute 34 zemm_produktiv_8.pg_catalog.pg_class 26 zemm_produktiv_8.pg_catalog.pg_depend 23 zemm_test.public.login_tracker 2 zemm_monitoring.observability.metrics_timeseries 2 zemm_produktiv_8.public.cages_search_mview 2 labanimal.pg_catalog.pg_shdepend 1 zemm_monitoring.observability.uptime_checks 1 postgres.pg_catalog.pg_shdepend 1 zemm_produktiv_8.public.tmptasks 1 template1.pg_catalog.pg_shdepend 1 zemm_produktiv_8.public.users 1 zemm_produktiv_8.public.tasks 1 template0.pg_catalog.pg_shdepend 1 zemm_test.pg_catalog.pg_shdepend 1 fbi_unibi.pg_catalog.pg_shdepend 1 zemm_produktiv_8.public.user_ui_prefs 1 zemm_produktiv_8.pg_catalog.pg_shdepend 1 Total 149 Vacuums per table
Key values
- pg_catalog.pg_type (16) Main table vacuumed on database zemm_produktiv_8
- 58 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 16 16 0 0 0 0 0 829 193 195,317 0 0 zemm_produktiv_8.pg_catalog.pg_attribute 14 14 0 0 0 0 0 1,532 494 356,845 0 0 zemm_produktiv_8.pg_catalog.pg_class 9 9 0 0 0 0 0 846 273 305,754 0 0 zemm_produktiv_8.pg_catalog.pg_depend 7 7 0 0 0 0 0 896 257 327,218 0 0 zemm_monitoring.pg_toast.pg_toast_67431 4 1 0 0 0 0 0 16,008 6,376 9,149,204 1,855 11,130 zemm_monitoring.pg_catalog.pg_shdepend 3 3 0 0 0 0 0 224 78 158,177 0 0 zemm_produktiv_8.pg_toast.pg_toast_2619 3 3 0 0 0 0 0 537 133 715,326 22 68 zemm_produktiv_8.public.tasks 1 1 0 0 0 0 0 48,646 37 3,537,687 1 1 zemm_produktiv_8.public.tmptasks 1 1 0 0 0 0 0 83 30 19,419 0 0 Total 58 55 0 0 0 0 0 69,601 7,871 14,764,947 1,878 11,199 Vacuum throughput per table
Key values
- pg_toast.pg_toast_67431 (1.71) Max CPU elapsed for vacuum on database zemm_monitoring
- pg_toast.pg_toast_67431 (3.107 ms) Max I/O read time for vacuum on database zemm_monitoring
- pg_toast.pg_toast_67431 (8.488 ms) Max I/O write time for vacuum on database zemm_monitoring
I/O timing (ms) CPU (s) Table read write elapsed zemm_produktiv_8.pg_catalog.pg_type 0.655 0 0 zemm_produktiv_8.pg_catalog.pg_attribute 0.788 0.028 0.15 zemm_produktiv_8.pg_catalog.pg_class 0.668 0 0.02 zemm_produktiv_8.pg_catalog.pg_depend 0.282 0 0.07 zemm_monitoring.pg_toast.pg_toast_67431 3.107 8.488 1.71 zemm_monitoring.pg_catalog.pg_shdepend 0.223 0 0 zemm_produktiv_8.pg_toast.pg_toast_2619 0.634 0 0.02 zemm_produktiv_8.public.tasks 0.408 0 0.62 zemm_produktiv_8.public.tmptasks 0.144 0 0.01 Total 6.909 8.516 2.6 Tuples removed per table
Key values
- public.tasks (55025) Main table with removed tuples on database zemm_produktiv_8
- 88492 tuples Total removed
Index Tuples Pages Table Vacuums scans removed remain not yet removable removed remain zemm_produktiv_8.public.tasks 1 1 55,025 58,115 0 0 17,169 zemm_monitoring.pg_toast.pg_toast_67431 4 1 11,202 2,328,961 0 0 530,476 zemm_produktiv_8.pg_catalog.pg_attribute 14 14 10,904 78,129 0 0 2,576 zemm_produktiv_8.pg_catalog.pg_depend 7 7 5,908 29,379 0 0 385 zemm_produktiv_8.pg_catalog.pg_type 16 16 2,870 13,296 0 0 496 zemm_produktiv_8.pg_catalog.pg_class 9 9 1,359 8,127 0 0 378 zemm_monitoring.pg_catalog.pg_shdepend 3 3 837 14,115 0 0 117 zemm_produktiv_8.pg_toast.pg_toast_2619 3 3 316 879 0 0 318 zemm_produktiv_8.public.tmptasks 1 1 71 821 0 7 115 Total 58 55 88,492 2,531,822 0 7 552,030 Pages removed per table
Key values
- public.tmptasks (7) Main table with removed pages on database zemm_produktiv_8
- 7 pages Total removed
Table Number of vacuums Index scans Tuples removed Pages removed zemm_produktiv_8.public.tmptasks 1 1 71 7 zemm_produktiv_8.pg_catalog.pg_class 9 9 1359 0 zemm_monitoring.pg_catalog.pg_shdepend 3 3 837 0 zemm_produktiv_8.pg_catalog.pg_depend 7 7 5908 0 zemm_produktiv_8.public.tasks 1 1 55025 0 zemm_monitoring.pg_toast.pg_toast_67431 4 1 11202 0 zemm_produktiv_8.pg_catalog.pg_attribute 14 14 10904 0 zemm_produktiv_8.pg_catalog.pg_type 16 16 2870 0 zemm_produktiv_8.pg_toast.pg_toast_2619 3 3 316 0 Total 58 55 88,492 7 Autovacuum Activity
↑ Back to the top of the Autovacuum Activity tableDay Hour VACUUMs ANALYZEs Jun 11 00 0 0 01 1 1 02 1 0 03 0 0 04 0 1 05 0 0 06 7 14 07 4 17 08 1 1 09 2 8 10 5 13 11 8 23 12 7 20 13 10 25 14 6 15 15 2 7 16 0 0 17 2 3 18 1 0 19 0 0 20 0 1 21 0 0 22 0 0 23 1 0 - 1.10 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
- 74 Total read queries
- 24,595 Total write queries
Queries by database
Key values
- zemm_monitoring Main database
- 24,574 Requests
- 8h51m44s (zemm_monitoring)
- Main time consuming database
Queries by user
Key values
- monitoring_admin Main user
- 737,310 Requests
User Request type Count Duration labanimal Total 2,482 55m42s copy to 8 22s808ms cte 412 8m54s others 1 596ms select 2,031 45m52s update 30 32s798ms monitoring_admin Total 737,310 41d2h10m52s cte 2,125 4h55m30s ddl 734,311 40d21h2m50s delete 1 603ms select 865 12m23s postgres Total 159 3m33s copy to 159 3m33s Duration by user
Key values
- 41d2h10m52s (monitoring_admin) Main time consuming user
User Request type Count Duration labanimal Total 2,482 55m42s copy to 8 22s808ms cte 412 8m54s others 1 596ms select 2,031 45m52s update 30 32s798ms monitoring_admin Total 737,310 41d2h10m52s cte 2,125 4h55m30s ddl 734,311 40d21h2m50s delete 1 603ms select 865 12m23s postgres Total 159 3m33s copy to 159 3m33s Queries by host
Key values
- unknown Main host
- 739,762 Requests
- 41d3h6m2s (unknown)
- Main time consuming host
Queries by application
Key values
- unknown Main application
- 24,574 Requests
- 8h51m44s (unknown)
- Main time consuming application
Application Request type Count Duration _desktop_index.php_command_animals_breedings_subcommand_edit_id Total 1 520ms select 1 520ms _desktop_index.php_current_only_true_val4_animals_breedings_sea Total 1 838ms cte 1 838ms _desktop_index.php_zemm_produktiv_8_localhost_5432 Total 86 1m14s cte 15 16s481ms select 71 58s245ms _desktop_index.php_zemm_test_localhost_5432 Total 1 596ms others 1 596ms expire_tasks:zemm_produktiv_8@h2940066.stratoserver.net:5432 Total 1 984ms update 1 984ms pg_dump Total 5 6s715ms copy to 5 6s715ms psql Total 1 2m30s select 1 2m30s unknown Total 24,574 8h51m44s cte 93 2m18s ddl 24,480 8h49m26s select 1 507ms Number of cancelled queries
Key values
- 0 per second Cancelled query Peak
- 2026-06-11 15:26:04 Date
Number of cancelled queries (5 minutes period)
NO DATASET
-
Top Queries
Histogram of query times
Key values
- 115 1000-10000ms duration
Slowest individual queries
Rank Duration Query 1 2m30s SELECT tc.constraint_name, tc.table_schema || '.' || tc.table_name, kcu.column_name, ccu.table_schema || '.' || ccu.table_name, ccu.column_name FROM information_schema.table_constraints tc JOIN information_schema.key_column_usage kcu ON tc.constraint_name = kcu.constraint_name AND tc.table_schema = kcu.table_schema JOIN information_schema.constraint_column_usage ccu ON ccu.constraint_name = tc.constraint_name AND ccu.table_schema = tc.table_schema WHERE tc.constraint_type = 'FOREIGN KEY' AND (ccu.table_name = 'affiliation' OR tc.table_name = 'affiliation' OR kcu.column_name ILIKE '%affiliation%') ORDER BY tc.table_name, kcu.column_name;[ Date: 2026-06-11 11:10:55 - Database: zemm_dev - User: labanimal - Application: psql - Bind query: yes ]
2 2m30s CREATE SCHEMA IF NOT EXISTS observability;[ Date: 2026-06-11 11:11:01 - Database: zemm_monitoring - User: monitoring_admin - Bind query: yes ]
3 2m30s CREATE TABLE IF NOT EXISTS observability.metrics_timeseries ( id bigserial PRIMARY KEY, tenant_key text NOT NULL, metric_name text NOT NULL, bucket_start timestamptz NOT NULL, bucket_width_seconds integer NOT NULL DEFAULT 60, sum_value double precision NOT NULL DEFAULT 0, count_value bigint NOT NULL DEFAULT 0, histogram jsonb, created_at timestamptz NOT NULL DEFAULT NOW(), updated_at timestamptz NOT NULL DEFAULT NOW(), UNIQUE (tenant_key, metric_name, bucket_start, bucket_width_seconds) );[ Date: 2026-06-11 11:11:01 - Database: zemm_monitoring - User: monitoring_admin - Bind query: yes ]
4 2m30s CREATE INDEX IF NOT EXISTS idx_metrics_timeseries_bucket ON observability.metrics_timeseries (bucket_start);[ Date: 2026-06-11 11:11:01 - Database: zemm_monitoring - User: monitoring_admin - Bind query: yes ]
5 2m30s CREATE INDEX IF NOT EXISTS idx_metrics_timeseries_metric ON observability.metrics_timeseries (metric_name);[ Date: 2026-06-11 11:11:01 - Database: zemm_monitoring - User: monitoring_admin - Bind query: yes ]
6 2m30s CREATE TABLE IF NOT EXISTS observability.app_events ( id bigserial PRIMARY KEY, tenant_key text NOT NULL, event_type text NOT NULL, severity text NOT NULL, message text NOT NULL, payload jsonb, occurred_at timestamptz NOT NULL DEFAULT NOW(), created_at timestamptz NOT NULL DEFAULT NOW() );[ Date: 2026-06-11 11:11:01 - Database: zemm_monitoring - User: monitoring_admin - Bind query: yes ]
7 2m30s CREATE INDEX IF NOT EXISTS idx_app_events_tenant ON observability.app_events (tenant_key, occurred_at DESC);[ Date: 2026-06-11 11:11:01 - Database: zemm_monitoring - User: monitoring_admin - Bind query: yes ]
8 2m30s CREATE INDEX IF NOT EXISTS idx_app_events_type ON observability.app_events (event_type);[ Date: 2026-06-11 11:11:01 - Database: zemm_monitoring - User: monitoring_admin - Bind query: yes ]
9 2m30s CREATE TABLE IF NOT EXISTS observability.db_top_queries ( id bigserial PRIMARY KEY, tenant_key text NOT NULL, fingerprint text, query text, mean_time_ms double precision, total_time_ms double precision, calls bigint, rows_returned bigint, collected_at timestamptz NOT NULL DEFAULT NOW() );[ Date: 2026-06-11 11:11:01 - Database: zemm_monitoring - User: monitoring_admin - Bind query: yes ]
10 2m30s CREATE INDEX IF NOT EXISTS idx_db_top_queries_tenant ON observability.db_top_queries (tenant_key, collected_at DESC);[ Date: 2026-06-11 11:11:01 - Database: zemm_monitoring - User: monitoring_admin - Bind query: yes ]
11 2m30s CREATE TABLE IF NOT EXISTS observability.nginx_counters ( id bigserial PRIMARY KEY, payload jsonb NOT NULL, collected_at timestamptz NOT NULL DEFAULT NOW() );[ Date: 2026-06-11 11:11:01 - Database: zemm_monitoring - User: monitoring_admin - Bind query: yes ]
12 2m30s CREATE TABLE IF NOT EXISTS observability.phpfpm_counters ( id bigserial PRIMARY KEY, payload jsonb NOT NULL, collected_at timestamptz NOT NULL DEFAULT NOW() );[ Date: 2026-06-11 11:11:01 - Database: zemm_monitoring - User: monitoring_admin - Bind query: yes ]
13 2m30s CREATE TABLE IF NOT EXISTS observability.system_metrics ( id bigserial PRIMARY KEY, payload jsonb NOT NULL, collected_at timestamptz NOT NULL DEFAULT NOW() );[ Date: 2026-06-11 11:11:01 - Database: zemm_monitoring - User: monitoring_admin - Bind query: yes ]
14 2m30s CREATE TABLE IF NOT EXISTS observability.uptime_checks ( id bigserial PRIMARY KEY, endpoint text NOT NULL, status text NOT NULL, latency_ms double precision, checked_at timestamptz NOT NULL DEFAULT NOW() );[ Date: 2026-06-11 11:11:01 - Database: zemm_monitoring - User: monitoring_admin - Bind query: yes ]
15 2m30s ALTER TABLE observability.uptime_checks ADD COLUMN IF NOT EXISTS label text;[ Date: 2026-06-11 11:11:01 - Database: zemm_monitoring - User: monitoring_admin - Bind query: yes ]
16 2m30s ALTER TABLE observability.uptime_checks ADD COLUMN IF NOT EXISTS payload jsonb;[ Date: 2026-06-11 11:11:01 - Database: zemm_monitoring - User: monitoring_admin - Bind query: yes ]
17 2m30s CREATE INDEX IF NOT EXISTS idx_uptime_checks_endpoint ON observability.uptime_checks (endpoint, checked_at DESC);[ Date: 2026-06-11 11:11:01 - Database: zemm_monitoring - User: monitoring_admin - Bind query: yes ]
18 2m30s CREATE INDEX IF NOT EXISTS idx_uptime_checks_key ON observability.uptime_checks (check_key, checked_at DESC);[ Date: 2026-06-11 11:11:01 - Database: zemm_monitoring - User: monitoring_admin - Bind query: yes ]
19 2s76ms COPY public.diary (id, "animalID", date, "entrybyID", "cageID", weight, temperature, "fDeprivation", "wDeprivation", "sDeprivation", "feedingClass", health, comments, "breedingInfo", deleted, "inOutDate", "inOutFlag", text, sdesc, treatment, tailcut_id, tailcut_result, file_name, file_content, file_type, upload_name, old_gene_type, old_gene_info, old_gene2_type, old_gene2_info, old_gene3_info, old_gene3_type, old_gene4_info, old_gene4_type, old_gene5_info, old_gene5_type) TO stdout;[ Date: 2026-06-11 23:55:08 - Database: zemm_produktiv_8 - User: postgres - Remote: [local] - Application: pg_dump - Bind query: yes ]
20 2s5ms SELECT * FROM p_wean_females (12, 10133010, 8, NULL, '66-083', 'SD:GAG8', NULL, 'F3', '2026-05-17', NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, '', '330', 40);[ Date: 2026-06-11 13:45:15 - Database: zemm_produktiv_8 - User: labanimal - Application: _desktop_index.php_zemm_produktiv_8_localhost_5432 - Bind query: yes ]
Time consuming queries (N)
Rank Total duration Times executed Min duration Max duration Avg duration Query 1 31m8s 1,440 521ms 2m30s 1s297ms create index if not exists idx_uptime_checks_endpoint on observability.uptime_checks (endpoint, checked_at desc);Times Reported Time consuming queries #1
Day Hour Count Duration Avg duration Jun 11 01 60 0ms 0ms 02 60 28s557ms 475ms 03 60 59s84ms 984ms 04 60 59s84ms 984ms 05 60 59s84ms 984ms 06 60 59s84ms 984ms 07 60 1m25s 1s431ms 08 60 57s492ms 958ms 09 60 1m 1s1ms 10 60 1m26s 1s441ms 11 60 1m6s 1s110ms 12 60 3m33s 3s550ms 13 60 1m22s 1s368ms 14 60 1m27s 1s457ms 15 60 1m24s 1s412ms 16 60 1m29s 1s487ms 17 60 1m26s 1s440ms 18 60 1m28s 1s468ms 19 60 1m30s 1s505ms 20 60 1m27s 1s450ms 21 60 1m24s 1s410ms 22 60 1m24s 1s410ms 23 60 1m24s 1s410ms 00 60 1m24s 1s411ms [ User: monitoring_admin - Total duration: 31m8s - Times executed: 1349 ]
-
CREATE INDEX IF NOT EXISTS idx_uptime_checks_endpoint ON observability.uptime_checks (endpoint, checked_at DESC);
Date: 2026-06-11 11:11:01 Duration: 2m30s Database: zemm_monitoring User: monitoring_admin Bind query: yes Log file: /var/log/postgresql/postgresql-2026-06-11_000000.csv
-
CREATE INDEX IF NOT EXISTS idx_uptime_checks_endpoint ON observability.uptime_checks (endpoint, checked_at DESC);
Date: 2026-06-11 07:16:01 Duration: 1s848ms Database: zemm_monitoring User: monitoring_admin Log file: /var/log/postgresql/postgresql-2026-06-11_000000.csv
-
CREATE INDEX IF NOT EXISTS idx_uptime_checks_endpoint ON observability.uptime_checks (endpoint, checked_at DESC);
Date: 2026-06-11 11:12:01 Duration: 1s702ms Database: zemm_monitoring User: monitoring_admin Bind query: yes Log file: /var/log/postgresql/postgresql-2026-06-11_000000.csv
2 31m8s 1,440 521ms 2m30s 1s297ms 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 #2
Day Hour Count Duration Avg duration Jun 11 01 60 0ms 0ms 02 60 28s557ms 475ms 03 60 59s84ms 984ms 04 60 59s84ms 984ms 05 60 59s84ms 984ms 06 60 59s84ms 984ms 07 60 1m25s 1s431ms 08 60 57s492ms 958ms 09 60 1m 1s1ms 10 60 1m26s 1s441ms 11 60 1m6s 1s110ms 12 60 3m33s 3s550ms 13 60 1m22s 1s368ms 14 60 1m27s 1s457ms 15 60 1m24s 1s412ms 16 60 1m29s 1s487ms 17 60 1m26s 1s440ms 18 60 1m28s 1s468ms 19 60 1m30s 1s505ms 20 60 1m27s 1s450ms 21 60 1m24s 1s410ms 22 60 1m24s 1s410ms 23 60 1m24s 1s410ms 00 60 1m24s 1s411ms [ User: monitoring_admin - Total duration: 31m8s - Times executed: 1349 ]
-
CREATE TABLE IF NOT EXISTS observability.uptime_checks ( id bigserial PRIMARY KEY, endpoint text NOT NULL, status text NOT NULL, latency_ms double precision, checked_at timestamptz NOT NULL DEFAULT NOW() );
Date: 2026-06-11 11:11:01 Duration: 2m30s Database: zemm_monitoring User: monitoring_admin Bind query: yes Log file: /var/log/postgresql/postgresql-2026-06-11_000000.csv
-
CREATE TABLE IF NOT EXISTS observability.uptime_checks ( id bigserial PRIMARY KEY, endpoint text NOT NULL, status text NOT NULL, latency_ms double precision, checked_at timestamptz NOT NULL DEFAULT NOW() );
Date: 2026-06-11 07:16:01 Duration: 1s848ms Database: zemm_monitoring User: monitoring_admin Log file: /var/log/postgresql/postgresql-2026-06-11_000000.csv
-
CREATE TABLE IF NOT EXISTS observability.uptime_checks ( id bigserial PRIMARY KEY, endpoint text NOT NULL, status text NOT NULL, latency_ms double precision, checked_at timestamptz NOT NULL DEFAULT NOW() );
Date: 2026-06-11 11:12:01 Duration: 1s702ms Database: zemm_monitoring User: monitoring_admin Bind query: yes Log file: /var/log/postgresql/postgresql-2026-06-11_000000.csv
3 31m8s 1,440 521ms 2m30s 1s297ms alter table observability.uptime_checks add column if not exists payload jsonb;Times Reported Time consuming queries #3
Day Hour Count Duration Avg duration Jun 11 01 60 0ms 0ms 02 60 28s557ms 475ms 03 60 59s84ms 984ms 04 60 59s84ms 984ms 05 60 59s84ms 984ms 06 60 59s84ms 984ms 07 60 1m25s 1s431ms 08 60 57s492ms 958ms 09 60 1m 1s1ms 10 60 1m26s 1s441ms 11 60 1m6s 1s110ms 12 60 3m33s 3s550ms 13 60 1m22s 1s368ms 14 60 1m27s 1s457ms 15 60 1m24s 1s412ms 16 60 1m29s 1s487ms 17 60 1m26s 1s440ms 18 60 1m28s 1s468ms 19 60 1m30s 1s505ms 20 60 1m27s 1s450ms 21 60 1m24s 1s410ms 22 60 1m24s 1s410ms 23 60 1m24s 1s410ms 00 60 1m24s 1s411ms [ User: monitoring_admin - Total duration: 31m8s - Times executed: 1349 ]
-
ALTER TABLE observability.uptime_checks ADD COLUMN IF NOT EXISTS payload jsonb;
Date: 2026-06-11 11:11:01 Duration: 2m30s Database: zemm_monitoring User: monitoring_admin Bind query: yes Log file: /var/log/postgresql/postgresql-2026-06-11_000000.csv
-
ALTER TABLE observability.uptime_checks ADD COLUMN IF NOT EXISTS payload jsonb;
Date: 2026-06-11 07:16:01 Duration: 1s848ms Database: zemm_monitoring User: monitoring_admin Log file: /var/log/postgresql/postgresql-2026-06-11_000000.csv
-
ALTER TABLE observability.uptime_checks ADD COLUMN IF NOT EXISTS payload jsonb;
Date: 2026-06-11 11:12:01 Duration: 1s702ms Database: zemm_monitoring User: monitoring_admin Bind query: yes Log file: /var/log/postgresql/postgresql-2026-06-11_000000.csv
4 31m8s 1,440 521ms 2m30s 1s297ms 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 #4
Day Hour Count Duration Avg duration Jun 11 01 60 0ms 0ms 02 60 28s557ms 475ms 03 60 59s84ms 984ms 04 60 59s84ms 984ms 05 60 59s84ms 984ms 06 60 59s84ms 984ms 07 60 1m25s 1s431ms 08 60 57s492ms 958ms 09 60 1m 1s1ms 10 60 1m26s 1s441ms 11 60 1m6s 1s110ms 12 60 3m33s 3s550ms 13 60 1m22s 1s368ms 14 60 1m27s 1s457ms 15 60 1m24s 1s412ms 16 60 1m29s 1s487ms 17 60 1m26s 1s440ms 18 60 1m28s 1s468ms 19 60 1m30s 1s505ms 20 60 1m27s 1s450ms 21 60 1m24s 1s410ms 22 60 1m24s 1s410ms 23 60 1m24s 1s410ms 00 60 1m24s 1s411ms [ User: monitoring_admin - Total duration: 31m8s - Times executed: 1349 ]
-
CREATE TABLE IF NOT EXISTS observability.nginx_counters ( id bigserial PRIMARY KEY, payload jsonb NOT NULL, collected_at timestamptz NOT NULL DEFAULT NOW() );
Date: 2026-06-11 11:11:01 Duration: 2m30s Database: zemm_monitoring User: monitoring_admin Bind query: yes Log file: /var/log/postgresql/postgresql-2026-06-11_000000.csv
-
CREATE TABLE IF NOT EXISTS observability.nginx_counters ( id bigserial PRIMARY KEY, payload jsonb NOT NULL, collected_at timestamptz NOT NULL DEFAULT NOW() );
Date: 2026-06-11 07:16:01 Duration: 1s848ms Database: zemm_monitoring User: monitoring_admin Log file: /var/log/postgresql/postgresql-2026-06-11_000000.csv
-
CREATE TABLE IF NOT EXISTS observability.nginx_counters ( id bigserial PRIMARY KEY, payload jsonb NOT NULL, collected_at timestamptz NOT NULL DEFAULT NOW() );
Date: 2026-06-11 11:12:01 Duration: 1s702ms Database: zemm_monitoring User: monitoring_admin Bind query: yes Log file: /var/log/postgresql/postgresql-2026-06-11_000000.csv
5 31m8s 1,440 521ms 2m30s 1s297ms create index if not exists idx_app_events_type on observability.app_events (event_type);Times Reported Time consuming queries #5
Day Hour Count Duration Avg duration Jun 11 01 60 0ms 0ms 02 60 28s557ms 475ms 03 60 59s84ms 984ms 04 60 59s84ms 984ms 05 60 59s84ms 984ms 06 60 59s84ms 984ms 07 60 1m25s 1s431ms 08 60 57s492ms 958ms 09 60 1m 1s1ms 10 60 1m26s 1s441ms 11 60 1m6s 1s110ms 12 60 3m33s 3s550ms 13 60 1m22s 1s368ms 14 60 1m27s 1s457ms 15 60 1m24s 1s412ms 16 60 1m29s 1s487ms 17 60 1m26s 1s440ms 18 60 1m28s 1s468ms 19 60 1m30s 1s505ms 20 60 1m27s 1s450ms 21 60 1m24s 1s410ms 22 60 1m24s 1s410ms 23 60 1m24s 1s410ms 00 60 1m24s 1s411ms [ User: monitoring_admin - Total duration: 31m8s - Times executed: 1349 ]
-
CREATE INDEX IF NOT EXISTS idx_app_events_type ON observability.app_events (event_type);
Date: 2026-06-11 11:11:01 Duration: 2m30s Database: zemm_monitoring User: monitoring_admin Bind query: yes Log file: /var/log/postgresql/postgresql-2026-06-11_000000.csv
-
CREATE INDEX IF NOT EXISTS idx_app_events_type ON observability.app_events (event_type);
Date: 2026-06-11 07:16:01 Duration: 1s848ms Database: zemm_monitoring User: monitoring_admin Log file: /var/log/postgresql/postgresql-2026-06-11_000000.csv
-
CREATE INDEX IF NOT EXISTS idx_app_events_type ON observability.app_events (event_type);
Date: 2026-06-11 11:12:01 Duration: 1s702ms Database: zemm_monitoring User: monitoring_admin Bind query: yes Log file: /var/log/postgresql/postgresql-2026-06-11_000000.csv
6 31m8s 1,440 521ms 2m30s 1s297ms create schema if not exists observability;Times Reported Time consuming queries #6
Day Hour Count Duration Avg duration Jun 11 01 60 0ms 0ms 02 60 28s557ms 475ms 03 60 59s84ms 984ms 04 60 59s84ms 984ms 05 60 59s84ms 984ms 06 60 59s84ms 984ms 07 60 1m25s 1s431ms 08 60 57s492ms 958ms 09 60 1m 1s1ms 10 60 1m26s 1s441ms 11 60 1m6s 1s110ms 12 60 3m33s 3s550ms 13 60 1m22s 1s368ms 14 60 1m27s 1s457ms 15 60 1m24s 1s412ms 16 60 1m29s 1s487ms 17 60 1m26s 1s440ms 18 60 1m28s 1s468ms 19 60 1m30s 1s505ms 20 60 1m27s 1s450ms 21 60 1m24s 1s410ms 22 60 1m24s 1s410ms 23 60 1m24s 1s410ms 00 60 1m24s 1s411ms [ User: monitoring_admin - Total duration: 31m8s - Times executed: 1349 ]
-
CREATE SCHEMA IF NOT EXISTS observability;
Date: 2026-06-11 11:11:01 Duration: 2m30s Database: zemm_monitoring User: monitoring_admin Bind query: yes Log file: /var/log/postgresql/postgresql-2026-06-11_000000.csv
-
CREATE SCHEMA IF NOT EXISTS observability;
Date: 2026-06-11 07:16:01 Duration: 1s848ms Database: zemm_monitoring User: monitoring_admin Log file: /var/log/postgresql/postgresql-2026-06-11_000000.csv
-
CREATE SCHEMA IF NOT EXISTS observability;
Date: 2026-06-11 11:12:01 Duration: 1s702ms Database: zemm_monitoring User: monitoring_admin Bind query: yes Log file: /var/log/postgresql/postgresql-2026-06-11_000000.csv
7 31m8s 1,440 521ms 2m30s 1s297ms 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 Jun 11 01 60 0ms 0ms 02 60 28s557ms 475ms 03 60 59s84ms 984ms 04 60 59s84ms 984ms 05 60 59s84ms 984ms 06 60 59s84ms 984ms 07 60 1m25s 1s431ms 08 60 57s492ms 958ms 09 60 1m 1s1ms 10 60 1m26s 1s441ms 11 60 1m6s 1s110ms 12 60 3m33s 3s550ms 13 60 1m22s 1s368ms 14 60 1m27s 1s457ms 15 60 1m24s 1s412ms 16 60 1m29s 1s487ms 17 60 1m26s 1s440ms 18 60 1m28s 1s468ms 19 60 1m30s 1s505ms 20 60 1m27s 1s450ms 21 60 1m24s 1s410ms 22 60 1m24s 1s410ms 23 60 1m24s 1s410ms 00 60 1m24s 1s411ms [ User: monitoring_admin - Total duration: 31m8s - Times executed: 1349 ]
-
CREATE TABLE IF NOT EXISTS observability.metrics_timeseries ( id bigserial PRIMARY KEY, tenant_key text NOT NULL, metric_name text NOT NULL, bucket_start timestamptz NOT NULL, bucket_width_seconds integer NOT NULL DEFAULT 60, sum_value double precision NOT NULL DEFAULT 0, count_value bigint NOT NULL DEFAULT 0, histogram jsonb, created_at timestamptz NOT NULL DEFAULT NOW(), updated_at timestamptz NOT NULL DEFAULT NOW(), UNIQUE (tenant_key, metric_name, bucket_start, bucket_width_seconds) );
Date: 2026-06-11 11:11:01 Duration: 2m30s Database: zemm_monitoring User: monitoring_admin Bind query: yes Log file: /var/log/postgresql/postgresql-2026-06-11_000000.csv
-
CREATE TABLE IF NOT EXISTS observability.metrics_timeseries ( id bigserial PRIMARY KEY, tenant_key text NOT NULL, metric_name text NOT NULL, bucket_start timestamptz NOT NULL, bucket_width_seconds integer NOT NULL DEFAULT 60, sum_value double precision NOT NULL DEFAULT 0, count_value bigint NOT NULL DEFAULT 0, histogram jsonb, created_at timestamptz NOT NULL DEFAULT NOW(), updated_at timestamptz NOT NULL DEFAULT NOW(), UNIQUE (tenant_key, metric_name, bucket_start, bucket_width_seconds) );
Date: 2026-06-11 07:16:01 Duration: 1s848ms Database: zemm_monitoring User: monitoring_admin Log file: /var/log/postgresql/postgresql-2026-06-11_000000.csv
-
CREATE TABLE IF NOT EXISTS observability.metrics_timeseries ( id bigserial PRIMARY KEY, tenant_key text NOT NULL, metric_name text NOT NULL, bucket_start timestamptz NOT NULL, bucket_width_seconds integer NOT NULL DEFAULT 60, sum_value double precision NOT NULL DEFAULT 0, count_value bigint NOT NULL DEFAULT 0, histogram jsonb, created_at timestamptz NOT NULL DEFAULT NOW(), updated_at timestamptz NOT NULL DEFAULT NOW(), UNIQUE (tenant_key, metric_name, bucket_start, bucket_width_seconds) );
Date: 2026-06-11 11:12:01 Duration: 1s702ms Database: zemm_monitoring User: monitoring_admin Bind query: yes Log file: /var/log/postgresql/postgresql-2026-06-11_000000.csv
8 31m8s 1,440 521ms 2m30s 1s297ms create index if not exists idx_uptime_checks_key on observability.uptime_checks (check_key, checked_at desc);Times Reported Time consuming queries #8
Day Hour Count Duration Avg duration Jun 11 01 60 0ms 0ms 02 60 28s557ms 475ms 03 60 59s84ms 984ms 04 60 59s84ms 984ms 05 60 59s84ms 984ms 06 60 59s84ms 984ms 07 60 1m25s 1s431ms 08 60 57s492ms 958ms 09 60 1m 1s1ms 10 60 1m26s 1s441ms 11 60 1m6s 1s110ms 12 60 3m33s 3s550ms 13 60 1m22s 1s368ms 14 60 1m27s 1s457ms 15 60 1m24s 1s412ms 16 60 1m29s 1s487ms 17 60 1m26s 1s440ms 18 60 1m28s 1s468ms 19 60 1m30s 1s505ms 20 60 1m27s 1s450ms 21 60 1m24s 1s410ms 22 60 1m24s 1s410ms 23 60 1m24s 1s410ms 00 60 1m24s 1s411ms [ User: monitoring_admin - Total duration: 31m8s - Times executed: 1349 ]
-
CREATE INDEX IF NOT EXISTS idx_uptime_checks_key ON observability.uptime_checks (check_key, checked_at DESC);
Date: 2026-06-11 11:11:01 Duration: 2m30s Database: zemm_monitoring User: monitoring_admin Bind query: yes Log file: /var/log/postgresql/postgresql-2026-06-11_000000.csv
-
CREATE INDEX IF NOT EXISTS idx_uptime_checks_key ON observability.uptime_checks (check_key, checked_at DESC);
Date: 2026-06-11 07:16:01 Duration: 1s848ms Database: zemm_monitoring User: monitoring_admin Log file: /var/log/postgresql/postgresql-2026-06-11_000000.csv
-
CREATE INDEX IF NOT EXISTS idx_uptime_checks_key ON observability.uptime_checks (check_key, checked_at DESC);
Date: 2026-06-11 11:12:01 Duration: 1s702ms Database: zemm_monitoring User: monitoring_admin Bind query: yes Log file: /var/log/postgresql/postgresql-2026-06-11_000000.csv
9 31m8s 1,440 521ms 2m30s 1s297ms create index if not exists idx_app_events_tenant on observability.app_events (tenant_key, occurred_at desc);Times Reported Time consuming queries #9
Day Hour Count Duration Avg duration Jun 11 01 60 0ms 0ms 02 60 28s557ms 475ms 03 60 59s84ms 984ms 04 60 59s84ms 984ms 05 60 59s84ms 984ms 06 60 59s84ms 984ms 07 60 1m25s 1s431ms 08 60 57s492ms 958ms 09 60 1m 1s1ms 10 60 1m26s 1s441ms 11 60 1m6s 1s110ms 12 60 3m33s 3s550ms 13 60 1m22s 1s368ms 14 60 1m27s 1s457ms 15 60 1m24s 1s412ms 16 60 1m29s 1s487ms 17 60 1m26s 1s440ms 18 60 1m28s 1s468ms 19 60 1m30s 1s505ms 20 60 1m27s 1s450ms 21 60 1m24s 1s410ms 22 60 1m24s 1s410ms 23 60 1m24s 1s410ms 00 60 1m24s 1s411ms [ User: monitoring_admin - Total duration: 31m8s - Times executed: 1349 ]
-
CREATE INDEX IF NOT EXISTS idx_app_events_tenant ON observability.app_events (tenant_key, occurred_at DESC);
Date: 2026-06-11 11:11:01 Duration: 2m30s Database: zemm_monitoring User: monitoring_admin Bind query: yes Log file: /var/log/postgresql/postgresql-2026-06-11_000000.csv
-
CREATE INDEX IF NOT EXISTS idx_app_events_tenant ON observability.app_events (tenant_key, occurred_at DESC);
Date: 2026-06-11 07:16:01 Duration: 1s848ms Database: zemm_monitoring User: monitoring_admin Log file: /var/log/postgresql/postgresql-2026-06-11_000000.csv
-
CREATE INDEX IF NOT EXISTS idx_app_events_tenant ON observability.app_events (tenant_key, occurred_at DESC);
Date: 2026-06-11 11:12:01 Duration: 1s702ms Database: zemm_monitoring User: monitoring_admin Bind query: yes Log file: /var/log/postgresql/postgresql-2026-06-11_000000.csv
10 31m8s 1,440 521ms 2m30s 1s297ms 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 Jun 11 01 60 0ms 0ms 02 60 28s557ms 475ms 03 60 59s84ms 984ms 04 60 59s84ms 984ms 05 60 59s84ms 984ms 06 60 59s84ms 984ms 07 60 1m25s 1s431ms 08 60 57s492ms 958ms 09 60 1m 1s1ms 10 60 1m26s 1s441ms 11 60 1m6s 1s110ms 12 60 3m33s 3s550ms 13 60 1m22s 1s368ms 14 60 1m27s 1s457ms 15 60 1m24s 1s412ms 16 60 1m29s 1s487ms 17 60 1m26s 1s440ms 18 60 1m28s 1s468ms 19 60 1m30s 1s505ms 20 60 1m27s 1s450ms 21 60 1m24s 1s410ms 22 60 1m24s 1s410ms 23 60 1m24s 1s410ms 00 60 1m24s 1s411ms [ User: monitoring_admin - Total duration: 31m8s - Times executed: 1349 ]
-
CREATE TABLE IF NOT EXISTS observability.app_events ( id bigserial PRIMARY KEY, tenant_key text NOT NULL, event_type text NOT NULL, severity text NOT NULL, message text NOT NULL, payload jsonb, occurred_at timestamptz NOT NULL DEFAULT NOW(), created_at timestamptz NOT NULL DEFAULT NOW() );
Date: 2026-06-11 11:11:01 Duration: 2m30s Database: zemm_monitoring User: monitoring_admin Bind query: yes Log file: /var/log/postgresql/postgresql-2026-06-11_000000.csv
-
CREATE TABLE IF NOT EXISTS observability.app_events ( id bigserial PRIMARY KEY, tenant_key text NOT NULL, event_type text NOT NULL, severity text NOT NULL, message text NOT NULL, payload jsonb, occurred_at timestamptz NOT NULL DEFAULT NOW(), created_at timestamptz NOT NULL DEFAULT NOW() );
Date: 2026-06-11 07:16:01 Duration: 1s848ms Database: zemm_monitoring User: monitoring_admin Log file: /var/log/postgresql/postgresql-2026-06-11_000000.csv
-
CREATE TABLE IF NOT EXISTS observability.app_events ( id bigserial PRIMARY KEY, tenant_key text NOT NULL, event_type text NOT NULL, severity text NOT NULL, message text NOT NULL, payload jsonb, occurred_at timestamptz NOT NULL DEFAULT NOW(), created_at timestamptz NOT NULL DEFAULT NOW() );
Date: 2026-06-11 11:12:01 Duration: 1s702ms Database: zemm_monitoring User: monitoring_admin Bind query: yes Log file: /var/log/postgresql/postgresql-2026-06-11_000000.csv
11 31m8s 1,440 521ms 2m30s 1s297ms 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 Jun 11 01 60 0ms 0ms 02 60 28s557ms 475ms 03 60 59s84ms 984ms 04 60 59s84ms 984ms 05 60 59s84ms 984ms 06 60 59s84ms 984ms 07 60 1m25s 1s431ms 08 60 57s492ms 958ms 09 60 1m 1s1ms 10 60 1m26s 1s441ms 11 60 1m6s 1s110ms 12 60 3m33s 3s550ms 13 60 1m22s 1s368ms 14 60 1m27s 1s457ms 15 60 1m24s 1s412ms 16 60 1m29s 1s487ms 17 60 1m26s 1s440ms 18 60 1m28s 1s468ms 19 60 1m30s 1s505ms 20 60 1m27s 1s450ms 21 60 1m24s 1s410ms 22 60 1m24s 1s410ms 23 60 1m24s 1s410ms 00 60 1m24s 1s411ms [ User: monitoring_admin - Total duration: 31m8s - Times executed: 1349 ]
-
CREATE INDEX IF NOT EXISTS idx_db_top_queries_tenant ON observability.db_top_queries (tenant_key, collected_at DESC);
Date: 2026-06-11 11:11:01 Duration: 2m30s Database: zemm_monitoring User: monitoring_admin Bind query: yes Log file: /var/log/postgresql/postgresql-2026-06-11_000000.csv
-
CREATE INDEX IF NOT EXISTS idx_db_top_queries_tenant ON observability.db_top_queries (tenant_key, collected_at DESC);
Date: 2026-06-11 07:16:01 Duration: 1s848ms Database: zemm_monitoring User: monitoring_admin Log file: /var/log/postgresql/postgresql-2026-06-11_000000.csv
-
CREATE INDEX IF NOT EXISTS idx_db_top_queries_tenant ON observability.db_top_queries (tenant_key, collected_at DESC);
Date: 2026-06-11 11:12:01 Duration: 1s702ms Database: zemm_monitoring User: monitoring_admin Bind query: yes Log file: /var/log/postgresql/postgresql-2026-06-11_000000.csv
12 31m8s 1,440 521ms 2m30s 1s297ms 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 #12
Day Hour Count Duration Avg duration Jun 11 01 60 0ms 0ms 02 60 28s557ms 475ms 03 60 59s84ms 984ms 04 60 59s84ms 984ms 05 60 59s84ms 984ms 06 60 59s84ms 984ms 07 60 1m25s 1s431ms 08 60 57s492ms 958ms 09 60 1m 1s1ms 10 60 1m26s 1s441ms 11 60 1m6s 1s110ms 12 60 3m33s 3s550ms 13 60 1m22s 1s368ms 14 60 1m27s 1s457ms 15 60 1m24s 1s412ms 16 60 1m29s 1s487ms 17 60 1m26s 1s440ms 18 60 1m28s 1s468ms 19 60 1m30s 1s505ms 20 60 1m27s 1s450ms 21 60 1m24s 1s410ms 22 60 1m24s 1s410ms 23 60 1m24s 1s410ms 00 60 1m24s 1s411ms [ User: monitoring_admin - Total duration: 31m8s - Times executed: 1349 ]
-
CREATE TABLE IF NOT EXISTS observability.db_top_queries ( id bigserial PRIMARY KEY, tenant_key text NOT NULL, fingerprint text, query text, mean_time_ms double precision, total_time_ms double precision, calls bigint, rows_returned bigint, collected_at timestamptz NOT NULL DEFAULT NOW() );
Date: 2026-06-11 11:11:01 Duration: 2m30s Database: zemm_monitoring User: monitoring_admin Bind query: yes Log file: /var/log/postgresql/postgresql-2026-06-11_000000.csv
-
CREATE TABLE IF NOT EXISTS observability.db_top_queries ( id bigserial PRIMARY KEY, tenant_key text NOT NULL, fingerprint text, query text, mean_time_ms double precision, total_time_ms double precision, calls bigint, rows_returned bigint, collected_at timestamptz NOT NULL DEFAULT NOW() );
Date: 2026-06-11 07:16:01 Duration: 1s848ms Database: zemm_monitoring User: monitoring_admin Log file: /var/log/postgresql/postgresql-2026-06-11_000000.csv
-
CREATE TABLE IF NOT EXISTS observability.db_top_queries ( id bigserial PRIMARY KEY, tenant_key text NOT NULL, fingerprint text, query text, mean_time_ms double precision, total_time_ms double precision, calls bigint, rows_returned bigint, collected_at timestamptz NOT NULL DEFAULT NOW() );
Date: 2026-06-11 11:12:01 Duration: 1s702ms Database: zemm_monitoring User: monitoring_admin Bind query: yes Log file: /var/log/postgresql/postgresql-2026-06-11_000000.csv
13 31m8s 1,440 521ms 2m30s 1s297ms 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 #13
Day Hour Count Duration Avg duration Jun 11 01 60 0ms 0ms 02 60 28s557ms 475ms 03 60 59s84ms 984ms 04 60 59s84ms 984ms 05 60 59s84ms 984ms 06 60 59s84ms 984ms 07 60 1m25s 1s431ms 08 60 57s492ms 958ms 09 60 1m 1s1ms 10 60 1m26s 1s441ms 11 60 1m6s 1s110ms 12 60 3m33s 3s550ms 13 60 1m22s 1s368ms 14 60 1m27s 1s457ms 15 60 1m24s 1s412ms 16 60 1m29s 1s487ms 17 60 1m26s 1s440ms 18 60 1m28s 1s468ms 19 60 1m30s 1s505ms 20 60 1m27s 1s450ms 21 60 1m24s 1s410ms 22 60 1m24s 1s410ms 23 60 1m24s 1s410ms 00 60 1m24s 1s411ms [ User: monitoring_admin - Total duration: 31m8s - Times executed: 1349 ]
-
CREATE TABLE IF NOT EXISTS observability.system_metrics ( id bigserial PRIMARY KEY, payload jsonb NOT NULL, collected_at timestamptz NOT NULL DEFAULT NOW() );
Date: 2026-06-11 11:11:01 Duration: 2m30s Database: zemm_monitoring User: monitoring_admin Bind query: yes Log file: /var/log/postgresql/postgresql-2026-06-11_000000.csv
-
CREATE TABLE IF NOT EXISTS observability.system_metrics ( id bigserial PRIMARY KEY, payload jsonb NOT NULL, collected_at timestamptz NOT NULL DEFAULT NOW() );
Date: 2026-06-11 07:16:01 Duration: 1s848ms Database: zemm_monitoring User: monitoring_admin Log file: /var/log/postgresql/postgresql-2026-06-11_000000.csv
-
CREATE TABLE IF NOT EXISTS observability.system_metrics ( id bigserial PRIMARY KEY, payload jsonb NOT NULL, collected_at timestamptz NOT NULL DEFAULT NOW() );
Date: 2026-06-11 11:12:01 Duration: 1s702ms Database: zemm_monitoring User: monitoring_admin Bind query: yes Log file: /var/log/postgresql/postgresql-2026-06-11_000000.csv
14 31m8s 1,440 521ms 2m30s 1s297ms create index if not exists idx_metrics_timeseries_metric on observability.metrics_timeseries (metric_name);Times Reported Time consuming queries #14
Day Hour Count Duration Avg duration Jun 11 01 60 0ms 0ms 02 60 28s557ms 475ms 03 60 59s84ms 984ms 04 60 59s84ms 984ms 05 60 59s84ms 984ms 06 60 59s84ms 984ms 07 60 1m25s 1s431ms 08 60 57s492ms 958ms 09 60 1m 1s1ms 10 60 1m26s 1s441ms 11 60 1m6s 1s110ms 12 60 3m33s 3s550ms 13 60 1m22s 1s368ms 14 60 1m27s 1s457ms 15 60 1m24s 1s412ms 16 60 1m29s 1s487ms 17 60 1m26s 1s440ms 18 60 1m28s 1s468ms 19 60 1m30s 1s505ms 20 60 1m27s 1s450ms 21 60 1m24s 1s410ms 22 60 1m24s 1s410ms 23 60 1m24s 1s410ms 00 60 1m24s 1s411ms [ User: monitoring_admin - Total duration: 31m8s - Times executed: 1349 ]
-
CREATE INDEX IF NOT EXISTS idx_metrics_timeseries_metric ON observability.metrics_timeseries (metric_name);
Date: 2026-06-11 11:11:01 Duration: 2m30s Database: zemm_monitoring User: monitoring_admin Bind query: yes Log file: /var/log/postgresql/postgresql-2026-06-11_000000.csv
-
CREATE INDEX IF NOT EXISTS idx_metrics_timeseries_metric ON observability.metrics_timeseries (metric_name);
Date: 2026-06-11 07:16:01 Duration: 1s848ms Database: zemm_monitoring User: monitoring_admin Log file: /var/log/postgresql/postgresql-2026-06-11_000000.csv
-
CREATE INDEX IF NOT EXISTS idx_metrics_timeseries_metric ON observability.metrics_timeseries (metric_name);
Date: 2026-06-11 11:12:01 Duration: 1s702ms Database: zemm_monitoring User: monitoring_admin Bind query: yes Log file: /var/log/postgresql/postgresql-2026-06-11_000000.csv
15 31m8s 1,440 521ms 2m30s 1s297ms create index if not exists idx_metrics_timeseries_bucket on observability.metrics_timeseries (bucket_start);Times Reported Time consuming queries #15
Day Hour Count Duration Avg duration Jun 11 01 60 0ms 0ms 02 60 28s557ms 475ms 03 60 59s84ms 984ms 04 60 59s84ms 984ms 05 60 59s84ms 984ms 06 60 59s84ms 984ms 07 60 1m25s 1s431ms 08 60 57s492ms 958ms 09 60 1m 1s1ms 10 60 1m26s 1s441ms 11 60 1m6s 1s110ms 12 60 3m33s 3s550ms 13 60 1m22s 1s368ms 14 60 1m27s 1s457ms 15 60 1m24s 1s412ms 16 60 1m29s 1s487ms 17 60 1m26s 1s440ms 18 60 1m28s 1s468ms 19 60 1m30s 1s505ms 20 60 1m27s 1s450ms 21 60 1m24s 1s410ms 22 60 1m24s 1s410ms 23 60 1m24s 1s410ms 00 60 1m24s 1s411ms [ User: monitoring_admin - Total duration: 31m8s - Times executed: 1349 ]
-
CREATE INDEX IF NOT EXISTS idx_metrics_timeseries_bucket ON observability.metrics_timeseries (bucket_start);
Date: 2026-06-11 11:11:01 Duration: 2m30s Database: zemm_monitoring User: monitoring_admin Bind query: yes Log file: /var/log/postgresql/postgresql-2026-06-11_000000.csv
-
CREATE INDEX IF NOT EXISTS idx_metrics_timeseries_bucket ON observability.metrics_timeseries (bucket_start);
Date: 2026-06-11 07:16:01 Duration: 1s848ms Database: zemm_monitoring User: monitoring_admin Log file: /var/log/postgresql/postgresql-2026-06-11_000000.csv
-
CREATE INDEX IF NOT EXISTS idx_metrics_timeseries_bucket ON observability.metrics_timeseries (bucket_start);
Date: 2026-06-11 11:12:01 Duration: 1s702ms Database: zemm_monitoring User: monitoring_admin Bind query: yes Log file: /var/log/postgresql/postgresql-2026-06-11_000000.csv
16 31m8s 1,440 521ms 2m30s 1s297ms create table if not exists observability.phpfpm_counters ( id bigserial primary key, payload jsonb not null, collected_at timestamptz not null default now() );Times Reported Time consuming queries #16
Day Hour Count Duration Avg duration Jun 11 01 60 0ms 0ms 02 60 28s557ms 475ms 03 60 59s84ms 984ms 04 60 59s84ms 984ms 05 60 59s84ms 984ms 06 60 59s84ms 984ms 07 60 1m25s 1s431ms 08 60 57s492ms 958ms 09 60 1m 1s1ms 10 60 1m26s 1s441ms 11 60 1m6s 1s110ms 12 60 3m33s 3s550ms 13 60 1m22s 1s368ms 14 60 1m27s 1s457ms 15 60 1m24s 1s412ms 16 60 1m29s 1s487ms 17 60 1m26s 1s440ms 18 60 1m28s 1s468ms 19 60 1m30s 1s505ms 20 60 1m27s 1s450ms 21 60 1m24s 1s410ms 22 60 1m24s 1s410ms 23 60 1m24s 1s410ms 00 60 1m24s 1s411ms [ User: monitoring_admin - Total duration: 31m8s - Times executed: 1349 ]
-
CREATE TABLE IF NOT EXISTS observability.phpfpm_counters ( id bigserial PRIMARY KEY, payload jsonb NOT NULL, collected_at timestamptz NOT NULL DEFAULT NOW() );
Date: 2026-06-11 11:11:01 Duration: 2m30s Database: zemm_monitoring User: monitoring_admin Bind query: yes Log file: /var/log/postgresql/postgresql-2026-06-11_000000.csv
-
CREATE TABLE IF NOT EXISTS observability.phpfpm_counters ( id bigserial PRIMARY KEY, payload jsonb NOT NULL, collected_at timestamptz NOT NULL DEFAULT NOW() );
Date: 2026-06-11 07:16:01 Duration: 1s848ms Database: zemm_monitoring User: monitoring_admin Log file: /var/log/postgresql/postgresql-2026-06-11_000000.csv
-
CREATE TABLE IF NOT EXISTS observability.phpfpm_counters ( id bigserial PRIMARY KEY, payload jsonb NOT NULL, collected_at timestamptz NOT NULL DEFAULT NOW() );
Date: 2026-06-11 11:12:01 Duration: 1s702ms Database: zemm_monitoring User: monitoring_admin Bind query: yes Log file: /var/log/postgresql/postgresql-2026-06-11_000000.csv
17 31m8s 1,440 521ms 2m30s 1s297ms alter table observability.uptime_checks add column if not exists label text;Times Reported Time consuming queries #17
Day Hour Count Duration Avg duration Jun 11 01 60 0ms 0ms 02 60 28s557ms 475ms 03 60 59s84ms 984ms 04 60 59s84ms 984ms 05 60 59s84ms 984ms 06 60 59s84ms 984ms 07 60 1m25s 1s431ms 08 60 57s492ms 958ms 09 60 1m 1s1ms 10 60 1m26s 1s441ms 11 60 1m6s 1s110ms 12 60 3m33s 3s550ms 13 60 1m22s 1s368ms 14 60 1m27s 1s457ms 15 60 1m24s 1s412ms 16 60 1m29s 1s487ms 17 60 1m26s 1s440ms 18 60 1m28s 1s468ms 19 60 1m30s 1s505ms 20 60 1m27s 1s450ms 21 60 1m24s 1s410ms 22 60 1m24s 1s410ms 23 60 1m24s 1s410ms 00 60 1m24s 1s411ms [ User: monitoring_admin - Total duration: 31m8s - Times executed: 1349 ]
-
ALTER TABLE observability.uptime_checks ADD COLUMN IF NOT EXISTS label text;
Date: 2026-06-11 11:11:01 Duration: 2m30s Database: zemm_monitoring User: monitoring_admin Bind query: yes Log file: /var/log/postgresql/postgresql-2026-06-11_000000.csv
-
ALTER TABLE observability.uptime_checks ADD COLUMN IF NOT EXISTS label text;
Date: 2026-06-11 07:16:01 Duration: 1s848ms Database: zemm_monitoring User: monitoring_admin Log file: /var/log/postgresql/postgresql-2026-06-11_000000.csv
-
ALTER TABLE observability.uptime_checks ADD COLUMN IF NOT EXISTS label text;
Date: 2026-06-11 11:12:01 Duration: 1s702ms Database: zemm_monitoring User: monitoring_admin Bind query: yes Log file: /var/log/postgresql/postgresql-2026-06-11_000000.csv
18 2m30s 1 2m30s 2m30s 2m30s select tc.constraint_name, tc.table_schema || ? || tc.table_name, kcu.column_name, ccu.table_schema || ? || ccu.table_name, ccu.column_name from information_schema.table_constraints tc join information_schema.key_column_usage kcu on tc.constraint_name = kcu.constraint_name and tc.table_schema = kcu.table_schema join information_schema.constraint_column_usage ccu on ccu.constraint_name = tc.constraint_name and ccu.table_schema = tc.table_schema where tc.constraint_type = ? and (ccu.table_name = ? or tc.table_name = ? or kcu.column_name ilike ?) order by tc.table_name, kcu.column_name;Times Reported Time consuming queries #18
Day Hour Count Duration Avg duration Jun 11 12 1 2m30s 2m30s [ User: labanimal - Total duration: 2m30s - Times executed: 1 ]
[ Application: psql - Total duration: 2m30s - Times executed: 1 ]
-
SELECT tc.constraint_name, tc.table_schema || '.' || tc.table_name, kcu.column_name, ccu.table_schema || '.' || ccu.table_name, ccu.column_name FROM information_schema.table_constraints tc JOIN information_schema.key_column_usage kcu ON tc.constraint_name = kcu.constraint_name AND tc.table_schema = kcu.table_schema JOIN information_schema.constraint_column_usage ccu ON ccu.constraint_name = tc.constraint_name AND ccu.table_schema = tc.table_schema WHERE tc.constraint_type = 'FOREIGN KEY' AND (ccu.table_name = 'affiliation' OR tc.table_name = 'affiliation' OR kcu.column_name ILIKE '%affiliation%') ORDER BY tc.table_name, kcu.column_name;
Date: 2026-06-11 11:10:55 Duration: 2m30s Database: zemm_dev User: labanimal Application: psql Bind query: yes Log file: /var/log/postgresql/postgresql-2026-06-11_000000.csv
19 2m18s 93 1s410ms 1s567ms 1s485ms with start_snap as ( select distinct on (tenant_key, fingerprint) tenant_key, fingerprint, total_time_ms, calls, rows_returned, collected_at from observability.db_top_queries where tenant_key in (...) and collected_at >= ? and collected_at <= ? order by tenant_key, fingerprint, collected_at desc ), fallback_start as ( select distinct on (tenant_key, fingerprint) tenant_key, fingerprint, total_time_ms, calls, rows_returned, collected_at from observability.db_top_queries where tenant_key in (...) and collected_at between ? and ? order by tenant_key, fingerprint, collected_at asc ), end_snap as ( select distinct on (tenant_key, fingerprint) tenant_key, fingerprint, query, total_time_ms, calls, rows_returned, collected_at from observability.db_top_queries where tenant_key in (...) and collected_at between ? and ? order by tenant_key, fingerprint, collected_at desc ), deltas as ( select e.tenant_key, e.fingerprint, e.query, e.collected_at as last_seen, greatest (coalesce(e.total_time_ms, ?) - coalesce(s.total_time_ms, fs.total_time_ms, ?), ?) as total_time_ms, greatest (coalesce(e.calls, ?) - coalesce(s.calls, fs.calls, ?), ?) as calls, greatest (coalesce(e.rows_returned, ?) - coalesce(s.rows_returned, fs.rows_returned, ?), ?) as rows_returned from end_snap e left join start_snap s on s.tenant_key = e.tenant_key and s.fingerprint = e.fingerprint left join fallback_start fs on fs.tenant_key = e.tenant_key and fs.fingerprint = e.fingerprint and s.tenant_key is null ) select fingerprint, max(query) as query, max(last_seen) as last_seen, sum(total_time_ms) as total_time_ms, sum(calls) as calls, sum(rows_returned) as rows_returned, case when sum(calls) > ? then sum(total_time_ms) / sum(calls) else ? end as mean_time_ms, array_agg(distinct tenant_key order by tenant_key) as tenant_keys from deltas where total_time_ms > ? or calls > ? group by fingerprint order by total_time_ms desc, calls desc limit ? offset ?;Times Reported Time consuming queries #19
Day Hour Count Duration Avg duration Jun 11 09 3 4s428ms 1s476ms 10 10 14s848ms 1s484ms 11 7 10s380ms 1s482ms 12 8 11s756ms 1s469ms 13 10 14s843ms 1s484ms 14 8 11s878ms 1s484ms 15 6 8s967ms 1s494ms 16 7 10s398ms 1s485ms 17 9 13s405ms 1s489ms 18 9 13s430ms 1s492ms 19 10 14s962ms 1s496ms 20 6 8s834ms 1s472ms [ User: monitoring_admin - Total duration: 2m18s - Times executed: 93 ]
-
WITH start_snap AS ( SELECT DISTINCT ON (tenant_key, fingerprint) tenant_key, fingerprint, total_time_ms, calls, rows_returned, collected_at FROM observability.db_top_queries WHERE tenant_key IN ('prod', 'live') AND collected_at >= '2026-06-09 11:55:00+02' AND collected_at <= '2026-06-11 11:55:00+02' ORDER BY tenant_key, fingerprint, collected_at DESC ), fallback_start AS ( SELECT DISTINCT ON (tenant_key, fingerprint) tenant_key, fingerprint, total_time_ms, calls, rows_returned, collected_at FROM observability.db_top_queries WHERE tenant_key IN ('prod', 'live') AND collected_at BETWEEN '2026-06-11 11:55:00+02' AND '2026-06-11 17:55:00+02' ORDER BY tenant_key, fingerprint, collected_at ASC ), end_snap AS ( SELECT DISTINCT ON (tenant_key, fingerprint) tenant_key, fingerprint, query, total_time_ms, calls, rows_returned, collected_at FROM observability.db_top_queries WHERE tenant_key IN ('prod', 'live') AND collected_at BETWEEN '2026-06-11 11:55:00+02' AND '2026-06-11 17:55:00+02' ORDER BY tenant_key, fingerprint, collected_at DESC ), deltas AS ( SELECT e.tenant_key, e.fingerprint, e.query, e.collected_at AS last_seen, GREATEST (COALESCE(e.total_time_ms, 0) - COALESCE(s.total_time_ms, fs.total_time_ms, 0), 0) AS total_time_ms, GREATEST (COALESCE(e.calls, 0) - COALESCE(s.calls, fs.calls, 0), 0) AS calls, GREATEST (COALESCE(e.rows_returned, 0) - COALESCE(s.rows_returned, fs.rows_returned, 0), 0) AS rows_returned FROM end_snap e LEFT JOIN start_snap s ON s.tenant_key = e.tenant_key AND s.fingerprint = e.fingerprint LEFT JOIN fallback_start fs ON fs.tenant_key = e.tenant_key AND fs.fingerprint = e.fingerprint AND s.tenant_key IS NULL ) SELECT fingerprint, MAX(query) AS query, MAX(last_seen) AS last_seen, SUM(total_time_ms) AS total_time_ms, SUM(calls) AS calls, SUM(rows_returned) AS rows_returned, CASE WHEN SUM(calls) > 0 THEN SUM(total_time_ms) / SUM(calls) ELSE 0 END AS mean_time_ms, array_agg(DISTINCT tenant_key ORDER BY tenant_key) AS tenant_keys FROM deltas WHERE total_time_ms > 0 OR calls > 0 GROUP BY fingerprint ORDER BY total_time_ms DESC, calls DESC LIMIT '20' OFFSET '0';
Date: 2026-06-11 17:55:02 Duration: 1s567ms Database: zemm_monitoring User: monitoring_admin Bind query: yes Log file: /var/log/postgresql/postgresql-2026-06-11_000000.csv
-
WITH start_snap AS ( SELECT DISTINCT ON (tenant_key, fingerprint) tenant_key, fingerprint, total_time_ms, calls, rows_returned, collected_at FROM observability.db_top_queries WHERE tenant_key IN ('prod', 'live') AND collected_at >= '2026-06-09 11:09:02+02' AND collected_at <= '2026-06-11 11:09:02+02' ORDER BY tenant_key, fingerprint, collected_at DESC ), fallback_start AS ( SELECT DISTINCT ON (tenant_key, fingerprint) tenant_key, fingerprint, total_time_ms, calls, rows_returned, collected_at FROM observability.db_top_queries WHERE tenant_key IN ('prod', 'live') AND collected_at BETWEEN '2026-06-11 11:09:02+02' AND '2026-06-11 17:09:02+02' ORDER BY tenant_key, fingerprint, collected_at ASC ), end_snap AS ( SELECT DISTINCT ON (tenant_key, fingerprint) tenant_key, fingerprint, query, total_time_ms, calls, rows_returned, collected_at FROM observability.db_top_queries WHERE tenant_key IN ('prod', 'live') AND collected_at BETWEEN '2026-06-11 11:09:02+02' AND '2026-06-11 17:09:02+02' ORDER BY tenant_key, fingerprint, collected_at DESC ), deltas AS ( SELECT e.tenant_key, e.fingerprint, e.query, e.collected_at AS last_seen, GREATEST (COALESCE(e.total_time_ms, 0) - COALESCE(s.total_time_ms, fs.total_time_ms, 0), 0) AS total_time_ms, GREATEST (COALESCE(e.calls, 0) - COALESCE(s.calls, fs.calls, 0), 0) AS calls, GREATEST (COALESCE(e.rows_returned, 0) - COALESCE(s.rows_returned, fs.rows_returned, 0), 0) AS rows_returned FROM end_snap e LEFT JOIN start_snap s ON s.tenant_key = e.tenant_key AND s.fingerprint = e.fingerprint LEFT JOIN fallback_start fs ON fs.tenant_key = e.tenant_key AND fs.fingerprint = e.fingerprint AND s.tenant_key IS NULL ) SELECT fingerprint, MAX(query) AS query, MAX(last_seen) AS last_seen, SUM(total_time_ms) AS total_time_ms, SUM(calls) AS calls, SUM(rows_returned) AS rows_returned, CASE WHEN SUM(calls) > 0 THEN SUM(total_time_ms) / SUM(calls) ELSE 0 END AS mean_time_ms, array_agg(DISTINCT tenant_key ORDER BY tenant_key) AS tenant_keys FROM deltas WHERE total_time_ms > 0 OR calls > 0 GROUP BY fingerprint ORDER BY total_time_ms DESC, calls DESC LIMIT '20' OFFSET '0';
Date: 2026-06-11 17:09:04 Duration: 1s564ms Database: zemm_monitoring User: monitoring_admin Bind query: yes Log file: /var/log/postgresql/postgresql-2026-06-11_000000.csv
-
WITH start_snap AS ( SELECT DISTINCT ON (tenant_key, fingerprint) tenant_key, fingerprint, total_time_ms, calls, rows_returned, collected_at FROM observability.db_top_queries WHERE tenant_key IN ('prod', 'live') AND collected_at >= '2026-06-09 03:36:01+02' AND collected_at <= '2026-06-11 03:36:01+02' ORDER BY tenant_key, fingerprint, collected_at DESC ), fallback_start AS ( SELECT DISTINCT ON (tenant_key, fingerprint) tenant_key, fingerprint, total_time_ms, calls, rows_returned, collected_at FROM observability.db_top_queries WHERE tenant_key IN ('prod', 'live') AND collected_at BETWEEN '2026-06-11 03:36:01+02' AND '2026-06-11 09:36:01+02' ORDER BY tenant_key, fingerprint, collected_at ASC ), end_snap AS ( SELECT DISTINCT ON (tenant_key, fingerprint) tenant_key, fingerprint, query, total_time_ms, calls, rows_returned, collected_at FROM observability.db_top_queries WHERE tenant_key IN ('prod', 'live') AND collected_at BETWEEN '2026-06-11 03:36:01+02' AND '2026-06-11 09:36:01+02' ORDER BY tenant_key, fingerprint, collected_at DESC ), deltas AS ( SELECT e.tenant_key, e.fingerprint, e.query, e.collected_at AS last_seen, GREATEST (COALESCE(e.total_time_ms, 0) - COALESCE(s.total_time_ms, fs.total_time_ms, 0), 0) AS total_time_ms, GREATEST (COALESCE(e.calls, 0) - COALESCE(s.calls, fs.calls, 0), 0) AS calls, GREATEST (COALESCE(e.rows_returned, 0) - COALESCE(s.rows_returned, fs.rows_returned, 0), 0) AS rows_returned FROM end_snap e LEFT JOIN start_snap s ON s.tenant_key = e.tenant_key AND s.fingerprint = e.fingerprint LEFT JOIN fallback_start fs ON fs.tenant_key = e.tenant_key AND fs.fingerprint = e.fingerprint AND s.tenant_key IS NULL ) SELECT fingerprint, MAX(query) AS query, MAX(last_seen) AS last_seen, SUM(total_time_ms) AS total_time_ms, SUM(calls) AS calls, SUM(rows_returned) AS rows_returned, CASE WHEN SUM(calls) > 0 THEN SUM(total_time_ms) / SUM(calls) ELSE 0 END AS mean_time_ms, array_agg(DISTINCT tenant_key ORDER BY tenant_key) AS tenant_keys FROM deltas WHERE total_time_ms > 0 OR calls > 0 GROUP BY fingerprint ORDER BY total_time_ms DESC, calls DESC LIMIT '20' OFFSET '0';
Date: 2026-06-11 09:36:02 Duration: 1s561ms Database: zemm_monitoring User: monitoring_admin Bind query: yes Log file: /var/log/postgresql/postgresql-2026-06-11_000000.csv
20 9s19ms 5 1s702ms 1s852ms 1s803ms with damdam as ( select breedingid, string_agg(cast(dam as text), ?) as dam from breedingsdams inner join ( select id, owner, editor, tourist, "animalID", name, "dummy_strain_info", generation, "dummy_line_info", "dummy_backcross_info" from animals) as dam on dam.id = breedingsdams.dam and case when user_is_tgm (dam.owner, ?) then true when user_is_tgm (dam.editor, ?) then true when user_is_tgm (dam.tourist, ?) then true else false end group by breedingid ), siresire as ( select breedingid, string_agg(cast(sire as text), ?) as sire from breedingssires inner join ( select id, owner, editor, tourist, "animalID", name, "dummy_strain_info", generation, "dummy_line_info", "dummy_backcross_info" from animals) as sire on sire.id = breedingssires.sire and case when user_is_tgm (sire.owner, ?) then true when user_is_tgm (sire.editor, ?) then true when user_is_tgm (sire.tourist, ?) then true else false end group by breedingid ), cagess as ( select id, "cageName" from cages) ( select breedings.id, breedings.breeding_date, breedings.unbreeding_date, breedings.plug_date, cagess."cageName" as cage_name, breedings.deleted, damdam.dam, siresire.sire from damdam, siresire, cagess, breedings where breedings.deleted != true and cagess.id = breedings.cage and cagess."cageName" like (?) and damdam.breedingid = breedings.id and siresire.breedingid = breedings.id and breedings."unbreeding_date" is null group by breedings.id, cagess."cageName", breeding_date, unbreeding_date, plug_date, damdam.dam, siresire.sire order by breeding_date, plug_date);Times Reported Time consuming queries #20
Day Hour Count Duration Avg duration Jun 11 07 1 1s848ms 1s848ms 12 1 1s702ms 1s702ms 13 3 5s468ms 1s822ms [ User: labanimal - Total duration: 9s19ms - Times executed: 5 ]
[ Application: _desktop_index.php_zemm_produktiv_8_localhost_5432 - Total duration: 9s19ms - Times executed: 5 ]
-
WITH damdam AS ( SELECT breedingid, string_agg(cast(dam as text), ';') AS dam FROM breedingsdams INNER JOIN ( SELECT id, owner, editor, tourist, "animalID", name, "dummy_strain_info", generation, "dummy_line_info", "dummy_backcross_info" FROM animals) AS dam ON dam.id = breedingsdams.dam AND CASE WHEN user_is_tgm (dam.owner, 457) THEN TRUE WHEN user_is_tgm (dam.editor, 457) THEN TRUE WHEN user_is_tgm (dam.tourist, 457) THEN TRUE ELSE FALSE END GROUP BY breedingid ), siresire AS ( SELECT breedingid, string_agg(cast(sire as text), ';') AS sire FROM breedingssires INNER JOIN ( select id, owner, editor, tourist, "animalID", name, "dummy_strain_info", generation, "dummy_line_info", "dummy_backcross_info" FROM animals) AS sire ON sire.id = breedingssires.sire AND CASE WHEN user_is_tgm (sire.owner, 457) THEN TRUE WHEN user_is_tgm (sire.editor, 457) THEN TRUE WHEN user_is_tgm (sire.tourist, 457) THEN TRUE ELSE FALSE END GROUP BY breedingid ), cagess AS ( select id, "cageName" FROM cages) ( SELECT breedings.id, breedings.breeding_date, breedings.unbreeding_date, breedings.plug_date, cagess."cageName" as cage_name, breedings.deleted, damdam.dam, siresire.sire FROM damdam, siresire, cagess, breedings WHERE breedings.deleted != true AND cagess.id = breedings.cage AND cagess."cageName" like ('46-383') AND damdam.breedingid = breedings.id AND siresire.breedingid = breedings.id AND breedings."unbreeding_date" IS NULL GROUP BY breedings.id, cagess."cageName", breeding_date, unbreeding_date, plug_date, damdam.dam, siresire.sire ORDER BY breeding_date, plug_date);
Date: 2026-06-11 12:47:02 Duration: 1s852ms 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-06-11_000000.csv
-
WITH damdam AS ( SELECT breedingid, string_agg(cast(dam as text), ';') AS dam FROM breedingsdams INNER JOIN ( SELECT id, owner, editor, tourist, "animalID", name, "dummy_strain_info", generation, "dummy_line_info", "dummy_backcross_info" FROM animals) AS dam ON dam.id = breedingsdams.dam AND CASE WHEN user_is_tgm (dam.owner, 183) THEN TRUE WHEN user_is_tgm (dam.editor, 183) THEN TRUE WHEN user_is_tgm (dam.tourist, 183) THEN TRUE ELSE FALSE END GROUP BY breedingid ), siresire AS ( SELECT breedingid, string_agg(cast(sire as text), ';') AS sire FROM breedingssires INNER JOIN ( select id, owner, editor, tourist, "animalID", name, "dummy_strain_info", generation, "dummy_line_info", "dummy_backcross_info" FROM animals) AS sire ON sire.id = breedingssires.sire AND CASE WHEN user_is_tgm (sire.owner, 183) THEN TRUE WHEN user_is_tgm (sire.editor, 183) THEN TRUE WHEN user_is_tgm (sire.tourist, 183) THEN TRUE ELSE FALSE END GROUP BY breedingid ), cagess AS ( select id, "cageName" FROM cages) ( SELECT breedings.id, breedings.breeding_date, breedings.unbreeding_date, breedings.plug_date, cagess."cageName" as cage_name, breedings.deleted, damdam.dam, siresire.sire FROM damdam, siresire, cagess, breedings WHERE breedings.deleted != true AND cagess.id = breedings.cage AND cagess."cageName" like ('54-%') AND damdam.breedingid = breedings.id AND siresire.breedingid = breedings.id AND breedings."unbreeding_date" IS NULL GROUP BY breedings.id, cagess."cageName", breeding_date, unbreeding_date, plug_date, damdam.dam, siresire.sire ORDER BY breeding_date, plug_date);
Date: 2026-06-11 06:28:51 Duration: 1s848ms Database: zemm_produktiv_8 User: labanimal Application: _desktop_index.php_zemm_produktiv_8_localhost_5432 Log file: /var/log/postgresql/postgresql-2026-06-11_000000.csv
-
WITH damdam AS ( SELECT breedingid, string_agg(cast(dam as text), ';') AS dam FROM breedingsdams INNER JOIN ( SELECT id, owner, editor, tourist, "animalID", name, "dummy_strain_info", generation, "dummy_line_info", "dummy_backcross_info" FROM animals) AS dam ON dam.id = breedingsdams.dam AND CASE WHEN user_is_tgm (dam.owner, 457) THEN TRUE WHEN user_is_tgm (dam.editor, 457) THEN TRUE WHEN user_is_tgm (dam.tourist, 457) THEN TRUE ELSE FALSE END GROUP BY breedingid ), siresire AS ( SELECT breedingid, string_agg(cast(sire as text), ';') AS sire FROM breedingssires INNER JOIN ( select id, owner, editor, tourist, "animalID", name, "dummy_strain_info", generation, "dummy_line_info", "dummy_backcross_info" FROM animals) AS sire ON sire.id = breedingssires.sire AND CASE WHEN user_is_tgm (sire.owner, 457) THEN TRUE WHEN user_is_tgm (sire.editor, 457) THEN TRUE WHEN user_is_tgm (sire.tourist, 457) THEN TRUE ELSE FALSE END GROUP BY breedingid ), cagess AS ( select id, "cageName" FROM cages) ( SELECT breedings.id, breedings.breeding_date, breedings.unbreeding_date, breedings.plug_date, cagess."cageName" as cage_name, breedings.deleted, damdam.dam, siresire.sire FROM damdam, siresire, cagess, breedings WHERE breedings.deleted != true AND cagess.id = breedings.cage AND cagess."cageName" like ('46-301') AND damdam.breedingid = breedings.id AND siresire.breedingid = breedings.id AND breedings."unbreeding_date" IS NULL GROUP BY breedings.id, cagess."cageName", breeding_date, unbreeding_date, plug_date, damdam.dam, siresire.sire ORDER BY breeding_date, plug_date);
Date: 2026-06-11 12:47:32 Duration: 1s820ms 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-06-11_000000.csv
Most frequent queries (N)
Rank Times executed Total duration Min duration Max duration Avg duration Query 1 1,440 31m8s 521ms 2m30s 1s297ms create index if not exists idx_uptime_checks_endpoint on observability.uptime_checks (endpoint, checked_at desc);Times Reported Time consuming queries #1
Day Hour Count Duration Avg duration Jun 11 01 60 0ms 0ms 02 60 28s557ms 475ms 03 60 59s84ms 984ms 04 60 59s84ms 984ms 05 60 59s84ms 984ms 06 60 59s84ms 984ms 07 60 1m25s 1s431ms 08 60 57s492ms 958ms 09 60 1m 1s1ms 10 60 1m26s 1s441ms 11 60 1m6s 1s110ms 12 60 3m33s 3s550ms 13 60 1m22s 1s368ms 14 60 1m27s 1s457ms 15 60 1m24s 1s412ms 16 60 1m29s 1s487ms 17 60 1m26s 1s440ms 18 60 1m28s 1s468ms 19 60 1m30s 1s505ms 20 60 1m27s 1s450ms 21 60 1m24s 1s410ms 22 60 1m24s 1s410ms 23 60 1m24s 1s410ms 00 60 1m24s 1s411ms [ User: monitoring_admin - Total duration: 31m8s - Times executed: 1349 ]
-
CREATE INDEX IF NOT EXISTS idx_uptime_checks_endpoint ON observability.uptime_checks (endpoint, checked_at DESC);
Date: 2026-06-11 11:11:01 Duration: 2m30s Database: zemm_monitoring User: monitoring_admin Bind query: yes Log file: /var/log/postgresql/postgresql-2026-06-11_000000.csv
-
CREATE INDEX IF NOT EXISTS idx_uptime_checks_endpoint ON observability.uptime_checks (endpoint, checked_at DESC);
Date: 2026-06-11 07:16:01 Duration: 1s848ms Database: zemm_monitoring User: monitoring_admin Log file: /var/log/postgresql/postgresql-2026-06-11_000000.csv
-
CREATE INDEX IF NOT EXISTS idx_uptime_checks_endpoint ON observability.uptime_checks (endpoint, checked_at DESC);
Date: 2026-06-11 11:12:01 Duration: 1s702ms Database: zemm_monitoring User: monitoring_admin Bind query: yes Log file: /var/log/postgresql/postgresql-2026-06-11_000000.csv
2 1,440 31m8s 521ms 2m30s 1s297ms 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 #2
Day Hour Count Duration Avg duration Jun 11 01 60 0ms 0ms 02 60 28s557ms 475ms 03 60 59s84ms 984ms 04 60 59s84ms 984ms 05 60 59s84ms 984ms 06 60 59s84ms 984ms 07 60 1m25s 1s431ms 08 60 57s492ms 958ms 09 60 1m 1s1ms 10 60 1m26s 1s441ms 11 60 1m6s 1s110ms 12 60 3m33s 3s550ms 13 60 1m22s 1s368ms 14 60 1m27s 1s457ms 15 60 1m24s 1s412ms 16 60 1m29s 1s487ms 17 60 1m26s 1s440ms 18 60 1m28s 1s468ms 19 60 1m30s 1s505ms 20 60 1m27s 1s450ms 21 60 1m24s 1s410ms 22 60 1m24s 1s410ms 23 60 1m24s 1s410ms 00 60 1m24s 1s411ms [ User: monitoring_admin - Total duration: 31m8s - Times executed: 1349 ]
-
CREATE TABLE IF NOT EXISTS observability.uptime_checks ( id bigserial PRIMARY KEY, endpoint text NOT NULL, status text NOT NULL, latency_ms double precision, checked_at timestamptz NOT NULL DEFAULT NOW() );
Date: 2026-06-11 11:11:01 Duration: 2m30s Database: zemm_monitoring User: monitoring_admin Bind query: yes Log file: /var/log/postgresql/postgresql-2026-06-11_000000.csv
-
CREATE TABLE IF NOT EXISTS observability.uptime_checks ( id bigserial PRIMARY KEY, endpoint text NOT NULL, status text NOT NULL, latency_ms double precision, checked_at timestamptz NOT NULL DEFAULT NOW() );
Date: 2026-06-11 07:16:01 Duration: 1s848ms Database: zemm_monitoring User: monitoring_admin Log file: /var/log/postgresql/postgresql-2026-06-11_000000.csv
-
CREATE TABLE IF NOT EXISTS observability.uptime_checks ( id bigserial PRIMARY KEY, endpoint text NOT NULL, status text NOT NULL, latency_ms double precision, checked_at timestamptz NOT NULL DEFAULT NOW() );
Date: 2026-06-11 11:12:01 Duration: 1s702ms Database: zemm_monitoring User: monitoring_admin Bind query: yes Log file: /var/log/postgresql/postgresql-2026-06-11_000000.csv
3 1,440 31m8s 521ms 2m30s 1s297ms alter table observability.uptime_checks add column if not exists payload jsonb;Times Reported Time consuming queries #3
Day Hour Count Duration Avg duration Jun 11 01 60 0ms 0ms 02 60 28s557ms 475ms 03 60 59s84ms 984ms 04 60 59s84ms 984ms 05 60 59s84ms 984ms 06 60 59s84ms 984ms 07 60 1m25s 1s431ms 08 60 57s492ms 958ms 09 60 1m 1s1ms 10 60 1m26s 1s441ms 11 60 1m6s 1s110ms 12 60 3m33s 3s550ms 13 60 1m22s 1s368ms 14 60 1m27s 1s457ms 15 60 1m24s 1s412ms 16 60 1m29s 1s487ms 17 60 1m26s 1s440ms 18 60 1m28s 1s468ms 19 60 1m30s 1s505ms 20 60 1m27s 1s450ms 21 60 1m24s 1s410ms 22 60 1m24s 1s410ms 23 60 1m24s 1s410ms 00 60 1m24s 1s411ms [ User: monitoring_admin - Total duration: 31m8s - Times executed: 1349 ]
-
ALTER TABLE observability.uptime_checks ADD COLUMN IF NOT EXISTS payload jsonb;
Date: 2026-06-11 11:11:01 Duration: 2m30s Database: zemm_monitoring User: monitoring_admin Bind query: yes Log file: /var/log/postgresql/postgresql-2026-06-11_000000.csv
-
ALTER TABLE observability.uptime_checks ADD COLUMN IF NOT EXISTS payload jsonb;
Date: 2026-06-11 07:16:01 Duration: 1s848ms Database: zemm_monitoring User: monitoring_admin Log file: /var/log/postgresql/postgresql-2026-06-11_000000.csv
-
ALTER TABLE observability.uptime_checks ADD COLUMN IF NOT EXISTS payload jsonb;
Date: 2026-06-11 11:12:01 Duration: 1s702ms Database: zemm_monitoring User: monitoring_admin Bind query: yes Log file: /var/log/postgresql/postgresql-2026-06-11_000000.csv
4 1,440 31m8s 521ms 2m30s 1s297ms 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 #4
Day Hour Count Duration Avg duration Jun 11 01 60 0ms 0ms 02 60 28s557ms 475ms 03 60 59s84ms 984ms 04 60 59s84ms 984ms 05 60 59s84ms 984ms 06 60 59s84ms 984ms 07 60 1m25s 1s431ms 08 60 57s492ms 958ms 09 60 1m 1s1ms 10 60 1m26s 1s441ms 11 60 1m6s 1s110ms 12 60 3m33s 3s550ms 13 60 1m22s 1s368ms 14 60 1m27s 1s457ms 15 60 1m24s 1s412ms 16 60 1m29s 1s487ms 17 60 1m26s 1s440ms 18 60 1m28s 1s468ms 19 60 1m30s 1s505ms 20 60 1m27s 1s450ms 21 60 1m24s 1s410ms 22 60 1m24s 1s410ms 23 60 1m24s 1s410ms 00 60 1m24s 1s411ms [ User: monitoring_admin - Total duration: 31m8s - Times executed: 1349 ]
-
CREATE TABLE IF NOT EXISTS observability.nginx_counters ( id bigserial PRIMARY KEY, payload jsonb NOT NULL, collected_at timestamptz NOT NULL DEFAULT NOW() );
Date: 2026-06-11 11:11:01 Duration: 2m30s Database: zemm_monitoring User: monitoring_admin Bind query: yes Log file: /var/log/postgresql/postgresql-2026-06-11_000000.csv
-
CREATE TABLE IF NOT EXISTS observability.nginx_counters ( id bigserial PRIMARY KEY, payload jsonb NOT NULL, collected_at timestamptz NOT NULL DEFAULT NOW() );
Date: 2026-06-11 07:16:01 Duration: 1s848ms Database: zemm_monitoring User: monitoring_admin Log file: /var/log/postgresql/postgresql-2026-06-11_000000.csv
-
CREATE TABLE IF NOT EXISTS observability.nginx_counters ( id bigserial PRIMARY KEY, payload jsonb NOT NULL, collected_at timestamptz NOT NULL DEFAULT NOW() );
Date: 2026-06-11 11:12:01 Duration: 1s702ms Database: zemm_monitoring User: monitoring_admin Bind query: yes Log file: /var/log/postgresql/postgresql-2026-06-11_000000.csv
5 1,440 31m8s 521ms 2m30s 1s297ms create index if not exists idx_app_events_type on observability.app_events (event_type);Times Reported Time consuming queries #5
Day Hour Count Duration Avg duration Jun 11 01 60 0ms 0ms 02 60 28s557ms 475ms 03 60 59s84ms 984ms 04 60 59s84ms 984ms 05 60 59s84ms 984ms 06 60 59s84ms 984ms 07 60 1m25s 1s431ms 08 60 57s492ms 958ms 09 60 1m 1s1ms 10 60 1m26s 1s441ms 11 60 1m6s 1s110ms 12 60 3m33s 3s550ms 13 60 1m22s 1s368ms 14 60 1m27s 1s457ms 15 60 1m24s 1s412ms 16 60 1m29s 1s487ms 17 60 1m26s 1s440ms 18 60 1m28s 1s468ms 19 60 1m30s 1s505ms 20 60 1m27s 1s450ms 21 60 1m24s 1s410ms 22 60 1m24s 1s410ms 23 60 1m24s 1s410ms 00 60 1m24s 1s411ms [ User: monitoring_admin - Total duration: 31m8s - Times executed: 1349 ]
-
CREATE INDEX IF NOT EXISTS idx_app_events_type ON observability.app_events (event_type);
Date: 2026-06-11 11:11:01 Duration: 2m30s Database: zemm_monitoring User: monitoring_admin Bind query: yes Log file: /var/log/postgresql/postgresql-2026-06-11_000000.csv
-
CREATE INDEX IF NOT EXISTS idx_app_events_type ON observability.app_events (event_type);
Date: 2026-06-11 07:16:01 Duration: 1s848ms Database: zemm_monitoring User: monitoring_admin Log file: /var/log/postgresql/postgresql-2026-06-11_000000.csv
-
CREATE INDEX IF NOT EXISTS idx_app_events_type ON observability.app_events (event_type);
Date: 2026-06-11 11:12:01 Duration: 1s702ms Database: zemm_monitoring User: monitoring_admin Bind query: yes Log file: /var/log/postgresql/postgresql-2026-06-11_000000.csv
6 1,440 31m8s 521ms 2m30s 1s297ms create schema if not exists observability;Times Reported Time consuming queries #6
Day Hour Count Duration Avg duration Jun 11 01 60 0ms 0ms 02 60 28s557ms 475ms 03 60 59s84ms 984ms 04 60 59s84ms 984ms 05 60 59s84ms 984ms 06 60 59s84ms 984ms 07 60 1m25s 1s431ms 08 60 57s492ms 958ms 09 60 1m 1s1ms 10 60 1m26s 1s441ms 11 60 1m6s 1s110ms 12 60 3m33s 3s550ms 13 60 1m22s 1s368ms 14 60 1m27s 1s457ms 15 60 1m24s 1s412ms 16 60 1m29s 1s487ms 17 60 1m26s 1s440ms 18 60 1m28s 1s468ms 19 60 1m30s 1s505ms 20 60 1m27s 1s450ms 21 60 1m24s 1s410ms 22 60 1m24s 1s410ms 23 60 1m24s 1s410ms 00 60 1m24s 1s411ms [ User: monitoring_admin - Total duration: 31m8s - Times executed: 1349 ]
-
CREATE SCHEMA IF NOT EXISTS observability;
Date: 2026-06-11 11:11:01 Duration: 2m30s Database: zemm_monitoring User: monitoring_admin Bind query: yes Log file: /var/log/postgresql/postgresql-2026-06-11_000000.csv
-
CREATE SCHEMA IF NOT EXISTS observability;
Date: 2026-06-11 07:16:01 Duration: 1s848ms Database: zemm_monitoring User: monitoring_admin Log file: /var/log/postgresql/postgresql-2026-06-11_000000.csv
-
CREATE SCHEMA IF NOT EXISTS observability;
Date: 2026-06-11 11:12:01 Duration: 1s702ms Database: zemm_monitoring User: monitoring_admin Bind query: yes Log file: /var/log/postgresql/postgresql-2026-06-11_000000.csv
7 1,440 31m8s 521ms 2m30s 1s297ms 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 Jun 11 01 60 0ms 0ms 02 60 28s557ms 475ms 03 60 59s84ms 984ms 04 60 59s84ms 984ms 05 60 59s84ms 984ms 06 60 59s84ms 984ms 07 60 1m25s 1s431ms 08 60 57s492ms 958ms 09 60 1m 1s1ms 10 60 1m26s 1s441ms 11 60 1m6s 1s110ms 12 60 3m33s 3s550ms 13 60 1m22s 1s368ms 14 60 1m27s 1s457ms 15 60 1m24s 1s412ms 16 60 1m29s 1s487ms 17 60 1m26s 1s440ms 18 60 1m28s 1s468ms 19 60 1m30s 1s505ms 20 60 1m27s 1s450ms 21 60 1m24s 1s410ms 22 60 1m24s 1s410ms 23 60 1m24s 1s410ms 00 60 1m24s 1s411ms [ User: monitoring_admin - Total duration: 31m8s - Times executed: 1349 ]
-
CREATE TABLE IF NOT EXISTS observability.metrics_timeseries ( id bigserial PRIMARY KEY, tenant_key text NOT NULL, metric_name text NOT NULL, bucket_start timestamptz NOT NULL, bucket_width_seconds integer NOT NULL DEFAULT 60, sum_value double precision NOT NULL DEFAULT 0, count_value bigint NOT NULL DEFAULT 0, histogram jsonb, created_at timestamptz NOT NULL DEFAULT NOW(), updated_at timestamptz NOT NULL DEFAULT NOW(), UNIQUE (tenant_key, metric_name, bucket_start, bucket_width_seconds) );
Date: 2026-06-11 11:11:01 Duration: 2m30s Database: zemm_monitoring User: monitoring_admin Bind query: yes Log file: /var/log/postgresql/postgresql-2026-06-11_000000.csv
-
CREATE TABLE IF NOT EXISTS observability.metrics_timeseries ( id bigserial PRIMARY KEY, tenant_key text NOT NULL, metric_name text NOT NULL, bucket_start timestamptz NOT NULL, bucket_width_seconds integer NOT NULL DEFAULT 60, sum_value double precision NOT NULL DEFAULT 0, count_value bigint NOT NULL DEFAULT 0, histogram jsonb, created_at timestamptz NOT NULL DEFAULT NOW(), updated_at timestamptz NOT NULL DEFAULT NOW(), UNIQUE (tenant_key, metric_name, bucket_start, bucket_width_seconds) );
Date: 2026-06-11 07:16:01 Duration: 1s848ms Database: zemm_monitoring User: monitoring_admin Log file: /var/log/postgresql/postgresql-2026-06-11_000000.csv
-
CREATE TABLE IF NOT EXISTS observability.metrics_timeseries ( id bigserial PRIMARY KEY, tenant_key text NOT NULL, metric_name text NOT NULL, bucket_start timestamptz NOT NULL, bucket_width_seconds integer NOT NULL DEFAULT 60, sum_value double precision NOT NULL DEFAULT 0, count_value bigint NOT NULL DEFAULT 0, histogram jsonb, created_at timestamptz NOT NULL DEFAULT NOW(), updated_at timestamptz NOT NULL DEFAULT NOW(), UNIQUE (tenant_key, metric_name, bucket_start, bucket_width_seconds) );
Date: 2026-06-11 11:12:01 Duration: 1s702ms Database: zemm_monitoring User: monitoring_admin Bind query: yes Log file: /var/log/postgresql/postgresql-2026-06-11_000000.csv
8 1,440 31m8s 521ms 2m30s 1s297ms create index if not exists idx_uptime_checks_key on observability.uptime_checks (check_key, checked_at desc);Times Reported Time consuming queries #8
Day Hour Count Duration Avg duration Jun 11 01 60 0ms 0ms 02 60 28s557ms 475ms 03 60 59s84ms 984ms 04 60 59s84ms 984ms 05 60 59s84ms 984ms 06 60 59s84ms 984ms 07 60 1m25s 1s431ms 08 60 57s492ms 958ms 09 60 1m 1s1ms 10 60 1m26s 1s441ms 11 60 1m6s 1s110ms 12 60 3m33s 3s550ms 13 60 1m22s 1s368ms 14 60 1m27s 1s457ms 15 60 1m24s 1s412ms 16 60 1m29s 1s487ms 17 60 1m26s 1s440ms 18 60 1m28s 1s468ms 19 60 1m30s 1s505ms 20 60 1m27s 1s450ms 21 60 1m24s 1s410ms 22 60 1m24s 1s410ms 23 60 1m24s 1s410ms 00 60 1m24s 1s411ms [ User: monitoring_admin - Total duration: 31m8s - Times executed: 1349 ]
-
CREATE INDEX IF NOT EXISTS idx_uptime_checks_key ON observability.uptime_checks (check_key, checked_at DESC);
Date: 2026-06-11 11:11:01 Duration: 2m30s Database: zemm_monitoring User: monitoring_admin Bind query: yes Log file: /var/log/postgresql/postgresql-2026-06-11_000000.csv
-
CREATE INDEX IF NOT EXISTS idx_uptime_checks_key ON observability.uptime_checks (check_key, checked_at DESC);
Date: 2026-06-11 07:16:01 Duration: 1s848ms Database: zemm_monitoring User: monitoring_admin Log file: /var/log/postgresql/postgresql-2026-06-11_000000.csv
-
CREATE INDEX IF NOT EXISTS idx_uptime_checks_key ON observability.uptime_checks (check_key, checked_at DESC);
Date: 2026-06-11 11:12:01 Duration: 1s702ms Database: zemm_monitoring User: monitoring_admin Bind query: yes Log file: /var/log/postgresql/postgresql-2026-06-11_000000.csv
9 1,440 31m8s 521ms 2m30s 1s297ms create index if not exists idx_app_events_tenant on observability.app_events (tenant_key, occurred_at desc);Times Reported Time consuming queries #9
Day Hour Count Duration Avg duration Jun 11 01 60 0ms 0ms 02 60 28s557ms 475ms 03 60 59s84ms 984ms 04 60 59s84ms 984ms 05 60 59s84ms 984ms 06 60 59s84ms 984ms 07 60 1m25s 1s431ms 08 60 57s492ms 958ms 09 60 1m 1s1ms 10 60 1m26s 1s441ms 11 60 1m6s 1s110ms 12 60 3m33s 3s550ms 13 60 1m22s 1s368ms 14 60 1m27s 1s457ms 15 60 1m24s 1s412ms 16 60 1m29s 1s487ms 17 60 1m26s 1s440ms 18 60 1m28s 1s468ms 19 60 1m30s 1s505ms 20 60 1m27s 1s450ms 21 60 1m24s 1s410ms 22 60 1m24s 1s410ms 23 60 1m24s 1s410ms 00 60 1m24s 1s411ms [ User: monitoring_admin - Total duration: 31m8s - Times executed: 1349 ]
-
CREATE INDEX IF NOT EXISTS idx_app_events_tenant ON observability.app_events (tenant_key, occurred_at DESC);
Date: 2026-06-11 11:11:01 Duration: 2m30s Database: zemm_monitoring User: monitoring_admin Bind query: yes Log file: /var/log/postgresql/postgresql-2026-06-11_000000.csv
-
CREATE INDEX IF NOT EXISTS idx_app_events_tenant ON observability.app_events (tenant_key, occurred_at DESC);
Date: 2026-06-11 07:16:01 Duration: 1s848ms Database: zemm_monitoring User: monitoring_admin Log file: /var/log/postgresql/postgresql-2026-06-11_000000.csv
-
CREATE INDEX IF NOT EXISTS idx_app_events_tenant ON observability.app_events (tenant_key, occurred_at DESC);
Date: 2026-06-11 11:12:01 Duration: 1s702ms Database: zemm_monitoring User: monitoring_admin Bind query: yes Log file: /var/log/postgresql/postgresql-2026-06-11_000000.csv
10 1,440 31m8s 521ms 2m30s 1s297ms 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 Jun 11 01 60 0ms 0ms 02 60 28s557ms 475ms 03 60 59s84ms 984ms 04 60 59s84ms 984ms 05 60 59s84ms 984ms 06 60 59s84ms 984ms 07 60 1m25s 1s431ms 08 60 57s492ms 958ms 09 60 1m 1s1ms 10 60 1m26s 1s441ms 11 60 1m6s 1s110ms 12 60 3m33s 3s550ms 13 60 1m22s 1s368ms 14 60 1m27s 1s457ms 15 60 1m24s 1s412ms 16 60 1m29s 1s487ms 17 60 1m26s 1s440ms 18 60 1m28s 1s468ms 19 60 1m30s 1s505ms 20 60 1m27s 1s450ms 21 60 1m24s 1s410ms 22 60 1m24s 1s410ms 23 60 1m24s 1s410ms 00 60 1m24s 1s411ms [ User: monitoring_admin - Total duration: 31m8s - Times executed: 1349 ]
-
CREATE TABLE IF NOT EXISTS observability.app_events ( id bigserial PRIMARY KEY, tenant_key text NOT NULL, event_type text NOT NULL, severity text NOT NULL, message text NOT NULL, payload jsonb, occurred_at timestamptz NOT NULL DEFAULT NOW(), created_at timestamptz NOT NULL DEFAULT NOW() );
Date: 2026-06-11 11:11:01 Duration: 2m30s Database: zemm_monitoring User: monitoring_admin Bind query: yes Log file: /var/log/postgresql/postgresql-2026-06-11_000000.csv
-
CREATE TABLE IF NOT EXISTS observability.app_events ( id bigserial PRIMARY KEY, tenant_key text NOT NULL, event_type text NOT NULL, severity text NOT NULL, message text NOT NULL, payload jsonb, occurred_at timestamptz NOT NULL DEFAULT NOW(), created_at timestamptz NOT NULL DEFAULT NOW() );
Date: 2026-06-11 07:16:01 Duration: 1s848ms Database: zemm_monitoring User: monitoring_admin Log file: /var/log/postgresql/postgresql-2026-06-11_000000.csv
-
CREATE TABLE IF NOT EXISTS observability.app_events ( id bigserial PRIMARY KEY, tenant_key text NOT NULL, event_type text NOT NULL, severity text NOT NULL, message text NOT NULL, payload jsonb, occurred_at timestamptz NOT NULL DEFAULT NOW(), created_at timestamptz NOT NULL DEFAULT NOW() );
Date: 2026-06-11 11:12:01 Duration: 1s702ms Database: zemm_monitoring User: monitoring_admin Bind query: yes Log file: /var/log/postgresql/postgresql-2026-06-11_000000.csv
11 1,440 31m8s 521ms 2m30s 1s297ms 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 Jun 11 01 60 0ms 0ms 02 60 28s557ms 475ms 03 60 59s84ms 984ms 04 60 59s84ms 984ms 05 60 59s84ms 984ms 06 60 59s84ms 984ms 07 60 1m25s 1s431ms 08 60 57s492ms 958ms 09 60 1m 1s1ms 10 60 1m26s 1s441ms 11 60 1m6s 1s110ms 12 60 3m33s 3s550ms 13 60 1m22s 1s368ms 14 60 1m27s 1s457ms 15 60 1m24s 1s412ms 16 60 1m29s 1s487ms 17 60 1m26s 1s440ms 18 60 1m28s 1s468ms 19 60 1m30s 1s505ms 20 60 1m27s 1s450ms 21 60 1m24s 1s410ms 22 60 1m24s 1s410ms 23 60 1m24s 1s410ms 00 60 1m24s 1s411ms [ User: monitoring_admin - Total duration: 31m8s - Times executed: 1349 ]
-
CREATE INDEX IF NOT EXISTS idx_db_top_queries_tenant ON observability.db_top_queries (tenant_key, collected_at DESC);
Date: 2026-06-11 11:11:01 Duration: 2m30s Database: zemm_monitoring User: monitoring_admin Bind query: yes Log file: /var/log/postgresql/postgresql-2026-06-11_000000.csv
-
CREATE INDEX IF NOT EXISTS idx_db_top_queries_tenant ON observability.db_top_queries (tenant_key, collected_at DESC);
Date: 2026-06-11 07:16:01 Duration: 1s848ms Database: zemm_monitoring User: monitoring_admin Log file: /var/log/postgresql/postgresql-2026-06-11_000000.csv
-
CREATE INDEX IF NOT EXISTS idx_db_top_queries_tenant ON observability.db_top_queries (tenant_key, collected_at DESC);
Date: 2026-06-11 11:12:01 Duration: 1s702ms Database: zemm_monitoring User: monitoring_admin Bind query: yes Log file: /var/log/postgresql/postgresql-2026-06-11_000000.csv
12 1,440 31m8s 521ms 2m30s 1s297ms 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 #12
Day Hour Count Duration Avg duration Jun 11 01 60 0ms 0ms 02 60 28s557ms 475ms 03 60 59s84ms 984ms 04 60 59s84ms 984ms 05 60 59s84ms 984ms 06 60 59s84ms 984ms 07 60 1m25s 1s431ms 08 60 57s492ms 958ms 09 60 1m 1s1ms 10 60 1m26s 1s441ms 11 60 1m6s 1s110ms 12 60 3m33s 3s550ms 13 60 1m22s 1s368ms 14 60 1m27s 1s457ms 15 60 1m24s 1s412ms 16 60 1m29s 1s487ms 17 60 1m26s 1s440ms 18 60 1m28s 1s468ms 19 60 1m30s 1s505ms 20 60 1m27s 1s450ms 21 60 1m24s 1s410ms 22 60 1m24s 1s410ms 23 60 1m24s 1s410ms 00 60 1m24s 1s411ms [ User: monitoring_admin - Total duration: 31m8s - Times executed: 1349 ]
-
CREATE TABLE IF NOT EXISTS observability.db_top_queries ( id bigserial PRIMARY KEY, tenant_key text NOT NULL, fingerprint text, query text, mean_time_ms double precision, total_time_ms double precision, calls bigint, rows_returned bigint, collected_at timestamptz NOT NULL DEFAULT NOW() );
Date: 2026-06-11 11:11:01 Duration: 2m30s Database: zemm_monitoring User: monitoring_admin Bind query: yes Log file: /var/log/postgresql/postgresql-2026-06-11_000000.csv
-
CREATE TABLE IF NOT EXISTS observability.db_top_queries ( id bigserial PRIMARY KEY, tenant_key text NOT NULL, fingerprint text, query text, mean_time_ms double precision, total_time_ms double precision, calls bigint, rows_returned bigint, collected_at timestamptz NOT NULL DEFAULT NOW() );
Date: 2026-06-11 07:16:01 Duration: 1s848ms Database: zemm_monitoring User: monitoring_admin Log file: /var/log/postgresql/postgresql-2026-06-11_000000.csv
-
CREATE TABLE IF NOT EXISTS observability.db_top_queries ( id bigserial PRIMARY KEY, tenant_key text NOT NULL, fingerprint text, query text, mean_time_ms double precision, total_time_ms double precision, calls bigint, rows_returned bigint, collected_at timestamptz NOT NULL DEFAULT NOW() );
Date: 2026-06-11 11:12:01 Duration: 1s702ms Database: zemm_monitoring User: monitoring_admin Bind query: yes Log file: /var/log/postgresql/postgresql-2026-06-11_000000.csv
13 1,440 31m8s 521ms 2m30s 1s297ms 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 #13
Day Hour Count Duration Avg duration Jun 11 01 60 0ms 0ms 02 60 28s557ms 475ms 03 60 59s84ms 984ms 04 60 59s84ms 984ms 05 60 59s84ms 984ms 06 60 59s84ms 984ms 07 60 1m25s 1s431ms 08 60 57s492ms 958ms 09 60 1m 1s1ms 10 60 1m26s 1s441ms 11 60 1m6s 1s110ms 12 60 3m33s 3s550ms 13 60 1m22s 1s368ms 14 60 1m27s 1s457ms 15 60 1m24s 1s412ms 16 60 1m29s 1s487ms 17 60 1m26s 1s440ms 18 60 1m28s 1s468ms 19 60 1m30s 1s505ms 20 60 1m27s 1s450ms 21 60 1m24s 1s410ms 22 60 1m24s 1s410ms 23 60 1m24s 1s410ms 00 60 1m24s 1s411ms [ User: monitoring_admin - Total duration: 31m8s - Times executed: 1349 ]
-
CREATE TABLE IF NOT EXISTS observability.system_metrics ( id bigserial PRIMARY KEY, payload jsonb NOT NULL, collected_at timestamptz NOT NULL DEFAULT NOW() );
Date: 2026-06-11 11:11:01 Duration: 2m30s Database: zemm_monitoring User: monitoring_admin Bind query: yes Log file: /var/log/postgresql/postgresql-2026-06-11_000000.csv
-
CREATE TABLE IF NOT EXISTS observability.system_metrics ( id bigserial PRIMARY KEY, payload jsonb NOT NULL, collected_at timestamptz NOT NULL DEFAULT NOW() );
Date: 2026-06-11 07:16:01 Duration: 1s848ms Database: zemm_monitoring User: monitoring_admin Log file: /var/log/postgresql/postgresql-2026-06-11_000000.csv
-
CREATE TABLE IF NOT EXISTS observability.system_metrics ( id bigserial PRIMARY KEY, payload jsonb NOT NULL, collected_at timestamptz NOT NULL DEFAULT NOW() );
Date: 2026-06-11 11:12:01 Duration: 1s702ms Database: zemm_monitoring User: monitoring_admin Bind query: yes Log file: /var/log/postgresql/postgresql-2026-06-11_000000.csv
14 1,440 31m8s 521ms 2m30s 1s297ms create index if not exists idx_metrics_timeseries_metric on observability.metrics_timeseries (metric_name);Times Reported Time consuming queries #14
Day Hour Count Duration Avg duration Jun 11 01 60 0ms 0ms 02 60 28s557ms 475ms 03 60 59s84ms 984ms 04 60 59s84ms 984ms 05 60 59s84ms 984ms 06 60 59s84ms 984ms 07 60 1m25s 1s431ms 08 60 57s492ms 958ms 09 60 1m 1s1ms 10 60 1m26s 1s441ms 11 60 1m6s 1s110ms 12 60 3m33s 3s550ms 13 60 1m22s 1s368ms 14 60 1m27s 1s457ms 15 60 1m24s 1s412ms 16 60 1m29s 1s487ms 17 60 1m26s 1s440ms 18 60 1m28s 1s468ms 19 60 1m30s 1s505ms 20 60 1m27s 1s450ms 21 60 1m24s 1s410ms 22 60 1m24s 1s410ms 23 60 1m24s 1s410ms 00 60 1m24s 1s411ms [ User: monitoring_admin - Total duration: 31m8s - Times executed: 1349 ]
-
CREATE INDEX IF NOT EXISTS idx_metrics_timeseries_metric ON observability.metrics_timeseries (metric_name);
Date: 2026-06-11 11:11:01 Duration: 2m30s Database: zemm_monitoring User: monitoring_admin Bind query: yes Log file: /var/log/postgresql/postgresql-2026-06-11_000000.csv
-
CREATE INDEX IF NOT EXISTS idx_metrics_timeseries_metric ON observability.metrics_timeseries (metric_name);
Date: 2026-06-11 07:16:01 Duration: 1s848ms Database: zemm_monitoring User: monitoring_admin Log file: /var/log/postgresql/postgresql-2026-06-11_000000.csv
-
CREATE INDEX IF NOT EXISTS idx_metrics_timeseries_metric ON observability.metrics_timeseries (metric_name);
Date: 2026-06-11 11:12:01 Duration: 1s702ms Database: zemm_monitoring User: monitoring_admin Bind query: yes Log file: /var/log/postgresql/postgresql-2026-06-11_000000.csv
15 1,440 31m8s 521ms 2m30s 1s297ms create index if not exists idx_metrics_timeseries_bucket on observability.metrics_timeseries (bucket_start);Times Reported Time consuming queries #15
Day Hour Count Duration Avg duration Jun 11 01 60 0ms 0ms 02 60 28s557ms 475ms 03 60 59s84ms 984ms 04 60 59s84ms 984ms 05 60 59s84ms 984ms 06 60 59s84ms 984ms 07 60 1m25s 1s431ms 08 60 57s492ms 958ms 09 60 1m 1s1ms 10 60 1m26s 1s441ms 11 60 1m6s 1s110ms 12 60 3m33s 3s550ms 13 60 1m22s 1s368ms 14 60 1m27s 1s457ms 15 60 1m24s 1s412ms 16 60 1m29s 1s487ms 17 60 1m26s 1s440ms 18 60 1m28s 1s468ms 19 60 1m30s 1s505ms 20 60 1m27s 1s450ms 21 60 1m24s 1s410ms 22 60 1m24s 1s410ms 23 60 1m24s 1s410ms 00 60 1m24s 1s411ms [ User: monitoring_admin - Total duration: 31m8s - Times executed: 1349 ]
-
CREATE INDEX IF NOT EXISTS idx_metrics_timeseries_bucket ON observability.metrics_timeseries (bucket_start);
Date: 2026-06-11 11:11:01 Duration: 2m30s Database: zemm_monitoring User: monitoring_admin Bind query: yes Log file: /var/log/postgresql/postgresql-2026-06-11_000000.csv
-
CREATE INDEX IF NOT EXISTS idx_metrics_timeseries_bucket ON observability.metrics_timeseries (bucket_start);
Date: 2026-06-11 07:16:01 Duration: 1s848ms Database: zemm_monitoring User: monitoring_admin Log file: /var/log/postgresql/postgresql-2026-06-11_000000.csv
-
CREATE INDEX IF NOT EXISTS idx_metrics_timeseries_bucket ON observability.metrics_timeseries (bucket_start);
Date: 2026-06-11 11:12:01 Duration: 1s702ms Database: zemm_monitoring User: monitoring_admin Bind query: yes Log file: /var/log/postgresql/postgresql-2026-06-11_000000.csv
16 1,440 31m8s 521ms 2m30s 1s297ms create table if not exists observability.phpfpm_counters ( id bigserial primary key, payload jsonb not null, collected_at timestamptz not null default now() );Times Reported Time consuming queries #16
Day Hour Count Duration Avg duration Jun 11 01 60 0ms 0ms 02 60 28s557ms 475ms 03 60 59s84ms 984ms 04 60 59s84ms 984ms 05 60 59s84ms 984ms 06 60 59s84ms 984ms 07 60 1m25s 1s431ms 08 60 57s492ms 958ms 09 60 1m 1s1ms 10 60 1m26s 1s441ms 11 60 1m6s 1s110ms 12 60 3m33s 3s550ms 13 60 1m22s 1s368ms 14 60 1m27s 1s457ms 15 60 1m24s 1s412ms 16 60 1m29s 1s487ms 17 60 1m26s 1s440ms 18 60 1m28s 1s468ms 19 60 1m30s 1s505ms 20 60 1m27s 1s450ms 21 60 1m24s 1s410ms 22 60 1m24s 1s410ms 23 60 1m24s 1s410ms 00 60 1m24s 1s411ms [ User: monitoring_admin - Total duration: 31m8s - Times executed: 1349 ]
-
CREATE TABLE IF NOT EXISTS observability.phpfpm_counters ( id bigserial PRIMARY KEY, payload jsonb NOT NULL, collected_at timestamptz NOT NULL DEFAULT NOW() );
Date: 2026-06-11 11:11:01 Duration: 2m30s Database: zemm_monitoring User: monitoring_admin Bind query: yes Log file: /var/log/postgresql/postgresql-2026-06-11_000000.csv
-
CREATE TABLE IF NOT EXISTS observability.phpfpm_counters ( id bigserial PRIMARY KEY, payload jsonb NOT NULL, collected_at timestamptz NOT NULL DEFAULT NOW() );
Date: 2026-06-11 07:16:01 Duration: 1s848ms Database: zemm_monitoring User: monitoring_admin Log file: /var/log/postgresql/postgresql-2026-06-11_000000.csv
-
CREATE TABLE IF NOT EXISTS observability.phpfpm_counters ( id bigserial PRIMARY KEY, payload jsonb NOT NULL, collected_at timestamptz NOT NULL DEFAULT NOW() );
Date: 2026-06-11 11:12:01 Duration: 1s702ms Database: zemm_monitoring User: monitoring_admin Bind query: yes Log file: /var/log/postgresql/postgresql-2026-06-11_000000.csv
17 1,440 31m8s 521ms 2m30s 1s297ms alter table observability.uptime_checks add column if not exists label text;Times Reported Time consuming queries #17
Day Hour Count Duration Avg duration Jun 11 01 60 0ms 0ms 02 60 28s557ms 475ms 03 60 59s84ms 984ms 04 60 59s84ms 984ms 05 60 59s84ms 984ms 06 60 59s84ms 984ms 07 60 1m25s 1s431ms 08 60 57s492ms 958ms 09 60 1m 1s1ms 10 60 1m26s 1s441ms 11 60 1m6s 1s110ms 12 60 3m33s 3s550ms 13 60 1m22s 1s368ms 14 60 1m27s 1s457ms 15 60 1m24s 1s412ms 16 60 1m29s 1s487ms 17 60 1m26s 1s440ms 18 60 1m28s 1s468ms 19 60 1m30s 1s505ms 20 60 1m27s 1s450ms 21 60 1m24s 1s410ms 22 60 1m24s 1s410ms 23 60 1m24s 1s410ms 00 60 1m24s 1s411ms [ User: monitoring_admin - Total duration: 31m8s - Times executed: 1349 ]
-
ALTER TABLE observability.uptime_checks ADD COLUMN IF NOT EXISTS label text;
Date: 2026-06-11 11:11:01 Duration: 2m30s Database: zemm_monitoring User: monitoring_admin Bind query: yes Log file: /var/log/postgresql/postgresql-2026-06-11_000000.csv
-
ALTER TABLE observability.uptime_checks ADD COLUMN IF NOT EXISTS label text;
Date: 2026-06-11 07:16:01 Duration: 1s848ms Database: zemm_monitoring User: monitoring_admin Log file: /var/log/postgresql/postgresql-2026-06-11_000000.csv
-
ALTER TABLE observability.uptime_checks ADD COLUMN IF NOT EXISTS label text;
Date: 2026-06-11 11:12:01 Duration: 1s702ms Database: zemm_monitoring User: monitoring_admin Bind query: yes Log file: /var/log/postgresql/postgresql-2026-06-11_000000.csv
18 93 2m18s 1s410ms 1s567ms 1s485ms with start_snap as ( select distinct on (tenant_key, fingerprint) tenant_key, fingerprint, total_time_ms, calls, rows_returned, collected_at from observability.db_top_queries where tenant_key in (...) and collected_at >= ? and collected_at <= ? order by tenant_key, fingerprint, collected_at desc ), fallback_start as ( select distinct on (tenant_key, fingerprint) tenant_key, fingerprint, total_time_ms, calls, rows_returned, collected_at from observability.db_top_queries where tenant_key in (...) and collected_at between ? and ? order by tenant_key, fingerprint, collected_at asc ), end_snap as ( select distinct on (tenant_key, fingerprint) tenant_key, fingerprint, query, total_time_ms, calls, rows_returned, collected_at from observability.db_top_queries where tenant_key in (...) and collected_at between ? and ? order by tenant_key, fingerprint, collected_at desc ), deltas as ( select e.tenant_key, e.fingerprint, e.query, e.collected_at as last_seen, greatest (coalesce(e.total_time_ms, ?) - coalesce(s.total_time_ms, fs.total_time_ms, ?), ?) as total_time_ms, greatest (coalesce(e.calls, ?) - coalesce(s.calls, fs.calls, ?), ?) as calls, greatest (coalesce(e.rows_returned, ?) - coalesce(s.rows_returned, fs.rows_returned, ?), ?) as rows_returned from end_snap e left join start_snap s on s.tenant_key = e.tenant_key and s.fingerprint = e.fingerprint left join fallback_start fs on fs.tenant_key = e.tenant_key and fs.fingerprint = e.fingerprint and s.tenant_key is null ) select fingerprint, max(query) as query, max(last_seen) as last_seen, sum(total_time_ms) as total_time_ms, sum(calls) as calls, sum(rows_returned) as rows_returned, case when sum(calls) > ? then sum(total_time_ms) / sum(calls) else ? end as mean_time_ms, array_agg(distinct tenant_key order by tenant_key) as tenant_keys from deltas where total_time_ms > ? or calls > ? group by fingerprint order by total_time_ms desc, calls desc limit ? offset ?;Times Reported Time consuming queries #18
Day Hour Count Duration Avg duration Jun 11 09 3 4s428ms 1s476ms 10 10 14s848ms 1s484ms 11 7 10s380ms 1s482ms 12 8 11s756ms 1s469ms 13 10 14s843ms 1s484ms 14 8 11s878ms 1s484ms 15 6 8s967ms 1s494ms 16 7 10s398ms 1s485ms 17 9 13s405ms 1s489ms 18 9 13s430ms 1s492ms 19 10 14s962ms 1s496ms 20 6 8s834ms 1s472ms [ User: monitoring_admin - Total duration: 2m18s - Times executed: 93 ]
-
WITH start_snap AS ( SELECT DISTINCT ON (tenant_key, fingerprint) tenant_key, fingerprint, total_time_ms, calls, rows_returned, collected_at FROM observability.db_top_queries WHERE tenant_key IN ('prod', 'live') AND collected_at >= '2026-06-09 11:55:00+02' AND collected_at <= '2026-06-11 11:55:00+02' ORDER BY tenant_key, fingerprint, collected_at DESC ), fallback_start AS ( SELECT DISTINCT ON (tenant_key, fingerprint) tenant_key, fingerprint, total_time_ms, calls, rows_returned, collected_at FROM observability.db_top_queries WHERE tenant_key IN ('prod', 'live') AND collected_at BETWEEN '2026-06-11 11:55:00+02' AND '2026-06-11 17:55:00+02' ORDER BY tenant_key, fingerprint, collected_at ASC ), end_snap AS ( SELECT DISTINCT ON (tenant_key, fingerprint) tenant_key, fingerprint, query, total_time_ms, calls, rows_returned, collected_at FROM observability.db_top_queries WHERE tenant_key IN ('prod', 'live') AND collected_at BETWEEN '2026-06-11 11:55:00+02' AND '2026-06-11 17:55:00+02' ORDER BY tenant_key, fingerprint, collected_at DESC ), deltas AS ( SELECT e.tenant_key, e.fingerprint, e.query, e.collected_at AS last_seen, GREATEST (COALESCE(e.total_time_ms, 0) - COALESCE(s.total_time_ms, fs.total_time_ms, 0), 0) AS total_time_ms, GREATEST (COALESCE(e.calls, 0) - COALESCE(s.calls, fs.calls, 0), 0) AS calls, GREATEST (COALESCE(e.rows_returned, 0) - COALESCE(s.rows_returned, fs.rows_returned, 0), 0) AS rows_returned FROM end_snap e LEFT JOIN start_snap s ON s.tenant_key = e.tenant_key AND s.fingerprint = e.fingerprint LEFT JOIN fallback_start fs ON fs.tenant_key = e.tenant_key AND fs.fingerprint = e.fingerprint AND s.tenant_key IS NULL ) SELECT fingerprint, MAX(query) AS query, MAX(last_seen) AS last_seen, SUM(total_time_ms) AS total_time_ms, SUM(calls) AS calls, SUM(rows_returned) AS rows_returned, CASE WHEN SUM(calls) > 0 THEN SUM(total_time_ms) / SUM(calls) ELSE 0 END AS mean_time_ms, array_agg(DISTINCT tenant_key ORDER BY tenant_key) AS tenant_keys FROM deltas WHERE total_time_ms > 0 OR calls > 0 GROUP BY fingerprint ORDER BY total_time_ms DESC, calls DESC LIMIT '20' OFFSET '0';
Date: 2026-06-11 17:55:02 Duration: 1s567ms Database: zemm_monitoring User: monitoring_admin Bind query: yes Log file: /var/log/postgresql/postgresql-2026-06-11_000000.csv
-
WITH start_snap AS ( SELECT DISTINCT ON (tenant_key, fingerprint) tenant_key, fingerprint, total_time_ms, calls, rows_returned, collected_at FROM observability.db_top_queries WHERE tenant_key IN ('prod', 'live') AND collected_at >= '2026-06-09 11:09:02+02' AND collected_at <= '2026-06-11 11:09:02+02' ORDER BY tenant_key, fingerprint, collected_at DESC ), fallback_start AS ( SELECT DISTINCT ON (tenant_key, fingerprint) tenant_key, fingerprint, total_time_ms, calls, rows_returned, collected_at FROM observability.db_top_queries WHERE tenant_key IN ('prod', 'live') AND collected_at BETWEEN '2026-06-11 11:09:02+02' AND '2026-06-11 17:09:02+02' ORDER BY tenant_key, fingerprint, collected_at ASC ), end_snap AS ( SELECT DISTINCT ON (tenant_key, fingerprint) tenant_key, fingerprint, query, total_time_ms, calls, rows_returned, collected_at FROM observability.db_top_queries WHERE tenant_key IN ('prod', 'live') AND collected_at BETWEEN '2026-06-11 11:09:02+02' AND '2026-06-11 17:09:02+02' ORDER BY tenant_key, fingerprint, collected_at DESC ), deltas AS ( SELECT e.tenant_key, e.fingerprint, e.query, e.collected_at AS last_seen, GREATEST (COALESCE(e.total_time_ms, 0) - COALESCE(s.total_time_ms, fs.total_time_ms, 0), 0) AS total_time_ms, GREATEST (COALESCE(e.calls, 0) - COALESCE(s.calls, fs.calls, 0), 0) AS calls, GREATEST (COALESCE(e.rows_returned, 0) - COALESCE(s.rows_returned, fs.rows_returned, 0), 0) AS rows_returned FROM end_snap e LEFT JOIN start_snap s ON s.tenant_key = e.tenant_key AND s.fingerprint = e.fingerprint LEFT JOIN fallback_start fs ON fs.tenant_key = e.tenant_key AND fs.fingerprint = e.fingerprint AND s.tenant_key IS NULL ) SELECT fingerprint, MAX(query) AS query, MAX(last_seen) AS last_seen, SUM(total_time_ms) AS total_time_ms, SUM(calls) AS calls, SUM(rows_returned) AS rows_returned, CASE WHEN SUM(calls) > 0 THEN SUM(total_time_ms) / SUM(calls) ELSE 0 END AS mean_time_ms, array_agg(DISTINCT tenant_key ORDER BY tenant_key) AS tenant_keys FROM deltas WHERE total_time_ms > 0 OR calls > 0 GROUP BY fingerprint ORDER BY total_time_ms DESC, calls DESC LIMIT '20' OFFSET '0';
Date: 2026-06-11 17:09:04 Duration: 1s564ms Database: zemm_monitoring User: monitoring_admin Bind query: yes Log file: /var/log/postgresql/postgresql-2026-06-11_000000.csv
-
WITH start_snap AS ( SELECT DISTINCT ON (tenant_key, fingerprint) tenant_key, fingerprint, total_time_ms, calls, rows_returned, collected_at FROM observability.db_top_queries WHERE tenant_key IN ('prod', 'live') AND collected_at >= '2026-06-09 03:36:01+02' AND collected_at <= '2026-06-11 03:36:01+02' ORDER BY tenant_key, fingerprint, collected_at DESC ), fallback_start AS ( SELECT DISTINCT ON (tenant_key, fingerprint) tenant_key, fingerprint, total_time_ms, calls, rows_returned, collected_at FROM observability.db_top_queries WHERE tenant_key IN ('prod', 'live') AND collected_at BETWEEN '2026-06-11 03:36:01+02' AND '2026-06-11 09:36:01+02' ORDER BY tenant_key, fingerprint, collected_at ASC ), end_snap AS ( SELECT DISTINCT ON (tenant_key, fingerprint) tenant_key, fingerprint, query, total_time_ms, calls, rows_returned, collected_at FROM observability.db_top_queries WHERE tenant_key IN ('prod', 'live') AND collected_at BETWEEN '2026-06-11 03:36:01+02' AND '2026-06-11 09:36:01+02' ORDER BY tenant_key, fingerprint, collected_at DESC ), deltas AS ( SELECT e.tenant_key, e.fingerprint, e.query, e.collected_at AS last_seen, GREATEST (COALESCE(e.total_time_ms, 0) - COALESCE(s.total_time_ms, fs.total_time_ms, 0), 0) AS total_time_ms, GREATEST (COALESCE(e.calls, 0) - COALESCE(s.calls, fs.calls, 0), 0) AS calls, GREATEST (COALESCE(e.rows_returned, 0) - COALESCE(s.rows_returned, fs.rows_returned, 0), 0) AS rows_returned FROM end_snap e LEFT JOIN start_snap s ON s.tenant_key = e.tenant_key AND s.fingerprint = e.fingerprint LEFT JOIN fallback_start fs ON fs.tenant_key = e.tenant_key AND fs.fingerprint = e.fingerprint AND s.tenant_key IS NULL ) SELECT fingerprint, MAX(query) AS query, MAX(last_seen) AS last_seen, SUM(total_time_ms) AS total_time_ms, SUM(calls) AS calls, SUM(rows_returned) AS rows_returned, CASE WHEN SUM(calls) > 0 THEN SUM(total_time_ms) / SUM(calls) ELSE 0 END AS mean_time_ms, array_agg(DISTINCT tenant_key ORDER BY tenant_key) AS tenant_keys FROM deltas WHERE total_time_ms > 0 OR calls > 0 GROUP BY fingerprint ORDER BY total_time_ms DESC, calls DESC LIMIT '20' OFFSET '0';
Date: 2026-06-11 09:36:02 Duration: 1s561ms Database: zemm_monitoring User: monitoring_admin Bind query: yes Log file: /var/log/postgresql/postgresql-2026-06-11_000000.csv
19 12 8s406ms 594ms 990ms 700ms select p_update_animals (?, cast(? as character varying), null, null, null, null, null, null, null, null, null, ?, null, null, ?, null, true, null, null, null, null, null, null, null);Times Reported Time consuming queries #19
Day Hour Count Duration Avg duration Jun 11 08 1 606ms 606ms 10 2 1s776ms 888ms 12 8 5s315ms 664ms 14 1 707ms 707ms [ User: labanimal - Total duration: 8s406ms - Times executed: 12 ]
[ Application: _desktop_index.php_zemm_produktiv_8_localhost_5432 - Total duration: 8s406ms - Times executed: 12 ]
-
SELECT p_update_animals (343, CAST('10275960;10288240;10288241' AS character varying), NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, 10111767, NULL, NULL, 9334, NULL, TRUE, NULL, NULL, NULL, NULL, NULL, NULL, NULL);
Date: 2026-06-11 11:16:12 Duration: 990ms 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-06-11_000000.csv
-
SELECT p_update_animals (142, CAST('10297919;10303787;10305814' AS character varying), NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, 10111757, NULL, NULL, 10253, NULL, TRUE, NULL, NULL, NULL, NULL, NULL, NULL, NULL);
Date: 2026-06-11 09:02:15 Duration: 891ms 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-06-11_000000.csv
-
SELECT p_update_animals (142, CAST('10302121;10303806;10303807' AS character varying), NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, 10111756, NULL, NULL, 10249, NULL, TRUE, NULL, NULL, NULL, NULL, NULL, NULL, NULL);
Date: 2026-06-11 09:01:21 Duration: 885ms 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-06-11_000000.csv
20 9 7s19ms 766ms 808ms 779ms 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 #20
Day Hour Count Duration Avg duration Jun 11 11 1 768ms 768ms 12 2 1s571ms 785ms 13 1 773ms 773ms 14 2 1s550ms 775ms 17 2 1s589ms 794ms 18 1 766ms 766ms [ User: labanimal - Total duration: 7s19ms - Times executed: 9 ]
[ Application: _desktop_index.php_zemm_produktiv_8_localhost_5432 - Total duration: 7s19ms - Times executed: 9 ]
-
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, 10100233) AS is_owner, user_is_tgm (animals_search_mview.editor, 10100233) AS is_editor, user_is_tgm (animals_search_mview.tourist, 10100233) 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-06-11 16:03:18 Duration: 808ms 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-06-11_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, 332) AS is_owner, user_is_tgm (animals_search_mview.editor, 332) AS is_editor, user_is_tgm (animals_search_mview.tourist, 332) 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-06-11 11:18:38 Duration: 793ms 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-06-11_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, 10100002) AS is_owner, user_is_tgm (animals_search_mview.editor, 10100002) AS is_editor, user_is_tgm (animals_search_mview.tourist, 10100002) 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-06-11 13:35:17 Duration: 782ms 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-06-11_000000.csv
Normalized slowest queries (N)
Rank Min duration Max duration Avg duration Times executed Total duration Query 1 2m30s 2m30s 2m30s 1 2m30s select tc.constraint_name, tc.table_schema || ? || tc.table_name, kcu.column_name, ccu.table_schema || ? || ccu.table_name, ccu.column_name from information_schema.table_constraints tc join information_schema.key_column_usage kcu on tc.constraint_name = kcu.constraint_name and tc.table_schema = kcu.table_schema join information_schema.constraint_column_usage ccu on ccu.constraint_name = tc.constraint_name and ccu.table_schema = tc.table_schema where tc.constraint_type = ? and (ccu.table_name = ? or tc.table_name = ? or kcu.column_name ilike ?) order by tc.table_name, kcu.column_name;Times Reported Time consuming queries #1
Day Hour Count Duration Avg duration Jun 11 12 1 2m30s 2m30s [ User: labanimal - Total duration: 2m30s - Times executed: 1 ]
[ Application: psql - Total duration: 2m30s - Times executed: 1 ]
-
SELECT tc.constraint_name, tc.table_schema || '.' || tc.table_name, kcu.column_name, ccu.table_schema || '.' || ccu.table_name, ccu.column_name FROM information_schema.table_constraints tc JOIN information_schema.key_column_usage kcu ON tc.constraint_name = kcu.constraint_name AND tc.table_schema = kcu.table_schema JOIN information_schema.constraint_column_usage ccu ON ccu.constraint_name = tc.constraint_name AND ccu.table_schema = tc.table_schema WHERE tc.constraint_type = 'FOREIGN KEY' AND (ccu.table_name = 'affiliation' OR tc.table_name = 'affiliation' OR kcu.column_name ILIKE '%affiliation%') ORDER BY tc.table_name, kcu.column_name;
Date: 2026-06-11 11:10:55 Duration: 2m30s Database: zemm_dev User: labanimal Application: psql Bind query: yes Log file: /var/log/postgresql/postgresql-2026-06-11_000000.csv
2 1s702ms 1s852ms 1s803ms 5 9s19ms with damdam as ( select breedingid, string_agg(cast(dam as text), ?) as dam from breedingsdams inner join ( select id, owner, editor, tourist, "animalID", name, "dummy_strain_info", generation, "dummy_line_info", "dummy_backcross_info" from animals) as dam on dam.id = breedingsdams.dam and case when user_is_tgm (dam.owner, ?) then true when user_is_tgm (dam.editor, ?) then true when user_is_tgm (dam.tourist, ?) then true else false end group by breedingid ), siresire as ( select breedingid, string_agg(cast(sire as text), ?) as sire from breedingssires inner join ( select id, owner, editor, tourist, "animalID", name, "dummy_strain_info", generation, "dummy_line_info", "dummy_backcross_info" from animals) as sire on sire.id = breedingssires.sire and case when user_is_tgm (sire.owner, ?) then true when user_is_tgm (sire.editor, ?) then true when user_is_tgm (sire.tourist, ?) then true else false end group by breedingid ), cagess as ( select id, "cageName" from cages) ( select breedings.id, breedings.breeding_date, breedings.unbreeding_date, breedings.plug_date, cagess."cageName" as cage_name, breedings.deleted, damdam.dam, siresire.sire from damdam, siresire, cagess, breedings where breedings.deleted != true and cagess.id = breedings.cage and cagess."cageName" like (?) and damdam.breedingid = breedings.id and siresire.breedingid = breedings.id and breedings."unbreeding_date" is null group by breedings.id, cagess."cageName", breeding_date, unbreeding_date, plug_date, damdam.dam, siresire.sire order by breeding_date, plug_date);Times Reported Time consuming queries #2
Day Hour Count Duration Avg duration Jun 11 07 1 1s848ms 1s848ms 12 1 1s702ms 1s702ms 13 3 5s468ms 1s822ms [ User: labanimal - Total duration: 9s19ms - Times executed: 5 ]
[ Application: _desktop_index.php_zemm_produktiv_8_localhost_5432 - Total duration: 9s19ms - Times executed: 5 ]
-
WITH damdam AS ( SELECT breedingid, string_agg(cast(dam as text), ';') AS dam FROM breedingsdams INNER JOIN ( SELECT id, owner, editor, tourist, "animalID", name, "dummy_strain_info", generation, "dummy_line_info", "dummy_backcross_info" FROM animals) AS dam ON dam.id = breedingsdams.dam AND CASE WHEN user_is_tgm (dam.owner, 457) THEN TRUE WHEN user_is_tgm (dam.editor, 457) THEN TRUE WHEN user_is_tgm (dam.tourist, 457) THEN TRUE ELSE FALSE END GROUP BY breedingid ), siresire AS ( SELECT breedingid, string_agg(cast(sire as text), ';') AS sire FROM breedingssires INNER JOIN ( select id, owner, editor, tourist, "animalID", name, "dummy_strain_info", generation, "dummy_line_info", "dummy_backcross_info" FROM animals) AS sire ON sire.id = breedingssires.sire AND CASE WHEN user_is_tgm (sire.owner, 457) THEN TRUE WHEN user_is_tgm (sire.editor, 457) THEN TRUE WHEN user_is_tgm (sire.tourist, 457) THEN TRUE ELSE FALSE END GROUP BY breedingid ), cagess AS ( select id, "cageName" FROM cages) ( SELECT breedings.id, breedings.breeding_date, breedings.unbreeding_date, breedings.plug_date, cagess."cageName" as cage_name, breedings.deleted, damdam.dam, siresire.sire FROM damdam, siresire, cagess, breedings WHERE breedings.deleted != true AND cagess.id = breedings.cage AND cagess."cageName" like ('46-383') AND damdam.breedingid = breedings.id AND siresire.breedingid = breedings.id AND breedings."unbreeding_date" IS NULL GROUP BY breedings.id, cagess."cageName", breeding_date, unbreeding_date, plug_date, damdam.dam, siresire.sire ORDER BY breeding_date, plug_date);
Date: 2026-06-11 12:47:02 Duration: 1s852ms 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-06-11_000000.csv
-
WITH damdam AS ( SELECT breedingid, string_agg(cast(dam as text), ';') AS dam FROM breedingsdams INNER JOIN ( SELECT id, owner, editor, tourist, "animalID", name, "dummy_strain_info", generation, "dummy_line_info", "dummy_backcross_info" FROM animals) AS dam ON dam.id = breedingsdams.dam AND CASE WHEN user_is_tgm (dam.owner, 183) THEN TRUE WHEN user_is_tgm (dam.editor, 183) THEN TRUE WHEN user_is_tgm (dam.tourist, 183) THEN TRUE ELSE FALSE END GROUP BY breedingid ), siresire AS ( SELECT breedingid, string_agg(cast(sire as text), ';') AS sire FROM breedingssires INNER JOIN ( select id, owner, editor, tourist, "animalID", name, "dummy_strain_info", generation, "dummy_line_info", "dummy_backcross_info" FROM animals) AS sire ON sire.id = breedingssires.sire AND CASE WHEN user_is_tgm (sire.owner, 183) THEN TRUE WHEN user_is_tgm (sire.editor, 183) THEN TRUE WHEN user_is_tgm (sire.tourist, 183) THEN TRUE ELSE FALSE END GROUP BY breedingid ), cagess AS ( select id, "cageName" FROM cages) ( SELECT breedings.id, breedings.breeding_date, breedings.unbreeding_date, breedings.plug_date, cagess."cageName" as cage_name, breedings.deleted, damdam.dam, siresire.sire FROM damdam, siresire, cagess, breedings WHERE breedings.deleted != true AND cagess.id = breedings.cage AND cagess."cageName" like ('54-%') AND damdam.breedingid = breedings.id AND siresire.breedingid = breedings.id AND breedings."unbreeding_date" IS NULL GROUP BY breedings.id, cagess."cageName", breeding_date, unbreeding_date, plug_date, damdam.dam, siresire.sire ORDER BY breeding_date, plug_date);
Date: 2026-06-11 06:28:51 Duration: 1s848ms Database: zemm_produktiv_8 User: labanimal Application: _desktop_index.php_zemm_produktiv_8_localhost_5432 Log file: /var/log/postgresql/postgresql-2026-06-11_000000.csv
-
WITH damdam AS ( SELECT breedingid, string_agg(cast(dam as text), ';') AS dam FROM breedingsdams INNER JOIN ( SELECT id, owner, editor, tourist, "animalID", name, "dummy_strain_info", generation, "dummy_line_info", "dummy_backcross_info" FROM animals) AS dam ON dam.id = breedingsdams.dam AND CASE WHEN user_is_tgm (dam.owner, 457) THEN TRUE WHEN user_is_tgm (dam.editor, 457) THEN TRUE WHEN user_is_tgm (dam.tourist, 457) THEN TRUE ELSE FALSE END GROUP BY breedingid ), siresire AS ( SELECT breedingid, string_agg(cast(sire as text), ';') AS sire FROM breedingssires INNER JOIN ( select id, owner, editor, tourist, "animalID", name, "dummy_strain_info", generation, "dummy_line_info", "dummy_backcross_info" FROM animals) AS sire ON sire.id = breedingssires.sire AND CASE WHEN user_is_tgm (sire.owner, 457) THEN TRUE WHEN user_is_tgm (sire.editor, 457) THEN TRUE WHEN user_is_tgm (sire.tourist, 457) THEN TRUE ELSE FALSE END GROUP BY breedingid ), cagess AS ( select id, "cageName" FROM cages) ( SELECT breedings.id, breedings.breeding_date, breedings.unbreeding_date, breedings.plug_date, cagess."cageName" as cage_name, breedings.deleted, damdam.dam, siresire.sire FROM damdam, siresire, cagess, breedings WHERE breedings.deleted != true AND cagess.id = breedings.cage AND cagess."cageName" like ('46-301') AND damdam.breedingid = breedings.id AND siresire.breedingid = breedings.id AND breedings."unbreeding_date" IS NULL GROUP BY breedings.id, cagess."cageName", breeding_date, unbreeding_date, plug_date, damdam.dam, siresire.sire ORDER BY breeding_date, plug_date);
Date: 2026-06-11 12:47:32 Duration: 1s820ms 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-06-11_000000.csv
3 1s410ms 1s567ms 1s485ms 93 2m18s with start_snap as ( select distinct on (tenant_key, fingerprint) tenant_key, fingerprint, total_time_ms, calls, rows_returned, collected_at from observability.db_top_queries where tenant_key in (...) and collected_at >= ? and collected_at <= ? order by tenant_key, fingerprint, collected_at desc ), fallback_start as ( select distinct on (tenant_key, fingerprint) tenant_key, fingerprint, total_time_ms, calls, rows_returned, collected_at from observability.db_top_queries where tenant_key in (...) and collected_at between ? and ? order by tenant_key, fingerprint, collected_at asc ), end_snap as ( select distinct on (tenant_key, fingerprint) tenant_key, fingerprint, query, total_time_ms, calls, rows_returned, collected_at from observability.db_top_queries where tenant_key in (...) and collected_at between ? and ? order by tenant_key, fingerprint, collected_at desc ), deltas as ( select e.tenant_key, e.fingerprint, e.query, e.collected_at as last_seen, greatest (coalesce(e.total_time_ms, ?) - coalesce(s.total_time_ms, fs.total_time_ms, ?), ?) as total_time_ms, greatest (coalesce(e.calls, ?) - coalesce(s.calls, fs.calls, ?), ?) as calls, greatest (coalesce(e.rows_returned, ?) - coalesce(s.rows_returned, fs.rows_returned, ?), ?) as rows_returned from end_snap e left join start_snap s on s.tenant_key = e.tenant_key and s.fingerprint = e.fingerprint left join fallback_start fs on fs.tenant_key = e.tenant_key and fs.fingerprint = e.fingerprint and s.tenant_key is null ) select fingerprint, max(query) as query, max(last_seen) as last_seen, sum(total_time_ms) as total_time_ms, sum(calls) as calls, sum(rows_returned) as rows_returned, case when sum(calls) > ? then sum(total_time_ms) / sum(calls) else ? end as mean_time_ms, array_agg(distinct tenant_key order by tenant_key) as tenant_keys from deltas where total_time_ms > ? or calls > ? group by fingerprint order by total_time_ms desc, calls desc limit ? offset ?;Times Reported Time consuming queries #3
Day Hour Count Duration Avg duration Jun 11 09 3 4s428ms 1s476ms 10 10 14s848ms 1s484ms 11 7 10s380ms 1s482ms 12 8 11s756ms 1s469ms 13 10 14s843ms 1s484ms 14 8 11s878ms 1s484ms 15 6 8s967ms 1s494ms 16 7 10s398ms 1s485ms 17 9 13s405ms 1s489ms 18 9 13s430ms 1s492ms 19 10 14s962ms 1s496ms 20 6 8s834ms 1s472ms [ User: monitoring_admin - Total duration: 2m18s - Times executed: 93 ]
-
WITH start_snap AS ( SELECT DISTINCT ON (tenant_key, fingerprint) tenant_key, fingerprint, total_time_ms, calls, rows_returned, collected_at FROM observability.db_top_queries WHERE tenant_key IN ('prod', 'live') AND collected_at >= '2026-06-09 11:55:00+02' AND collected_at <= '2026-06-11 11:55:00+02' ORDER BY tenant_key, fingerprint, collected_at DESC ), fallback_start AS ( SELECT DISTINCT ON (tenant_key, fingerprint) tenant_key, fingerprint, total_time_ms, calls, rows_returned, collected_at FROM observability.db_top_queries WHERE tenant_key IN ('prod', 'live') AND collected_at BETWEEN '2026-06-11 11:55:00+02' AND '2026-06-11 17:55:00+02' ORDER BY tenant_key, fingerprint, collected_at ASC ), end_snap AS ( SELECT DISTINCT ON (tenant_key, fingerprint) tenant_key, fingerprint, query, total_time_ms, calls, rows_returned, collected_at FROM observability.db_top_queries WHERE tenant_key IN ('prod', 'live') AND collected_at BETWEEN '2026-06-11 11:55:00+02' AND '2026-06-11 17:55:00+02' ORDER BY tenant_key, fingerprint, collected_at DESC ), deltas AS ( SELECT e.tenant_key, e.fingerprint, e.query, e.collected_at AS last_seen, GREATEST (COALESCE(e.total_time_ms, 0) - COALESCE(s.total_time_ms, fs.total_time_ms, 0), 0) AS total_time_ms, GREATEST (COALESCE(e.calls, 0) - COALESCE(s.calls, fs.calls, 0), 0) AS calls, GREATEST (COALESCE(e.rows_returned, 0) - COALESCE(s.rows_returned, fs.rows_returned, 0), 0) AS rows_returned FROM end_snap e LEFT JOIN start_snap s ON s.tenant_key = e.tenant_key AND s.fingerprint = e.fingerprint LEFT JOIN fallback_start fs ON fs.tenant_key = e.tenant_key AND fs.fingerprint = e.fingerprint AND s.tenant_key IS NULL ) SELECT fingerprint, MAX(query) AS query, MAX(last_seen) AS last_seen, SUM(total_time_ms) AS total_time_ms, SUM(calls) AS calls, SUM(rows_returned) AS rows_returned, CASE WHEN SUM(calls) > 0 THEN SUM(total_time_ms) / SUM(calls) ELSE 0 END AS mean_time_ms, array_agg(DISTINCT tenant_key ORDER BY tenant_key) AS tenant_keys FROM deltas WHERE total_time_ms > 0 OR calls > 0 GROUP BY fingerprint ORDER BY total_time_ms DESC, calls DESC LIMIT '20' OFFSET '0';
Date: 2026-06-11 17:55:02 Duration: 1s567ms Database: zemm_monitoring User: monitoring_admin Bind query: yes Log file: /var/log/postgresql/postgresql-2026-06-11_000000.csv
-
WITH start_snap AS ( SELECT DISTINCT ON (tenant_key, fingerprint) tenant_key, fingerprint, total_time_ms, calls, rows_returned, collected_at FROM observability.db_top_queries WHERE tenant_key IN ('prod', 'live') AND collected_at >= '2026-06-09 11:09:02+02' AND collected_at <= '2026-06-11 11:09:02+02' ORDER BY tenant_key, fingerprint, collected_at DESC ), fallback_start AS ( SELECT DISTINCT ON (tenant_key, fingerprint) tenant_key, fingerprint, total_time_ms, calls, rows_returned, collected_at FROM observability.db_top_queries WHERE tenant_key IN ('prod', 'live') AND collected_at BETWEEN '2026-06-11 11:09:02+02' AND '2026-06-11 17:09:02+02' ORDER BY tenant_key, fingerprint, collected_at ASC ), end_snap AS ( SELECT DISTINCT ON (tenant_key, fingerprint) tenant_key, fingerprint, query, total_time_ms, calls, rows_returned, collected_at FROM observability.db_top_queries WHERE tenant_key IN ('prod', 'live') AND collected_at BETWEEN '2026-06-11 11:09:02+02' AND '2026-06-11 17:09:02+02' ORDER BY tenant_key, fingerprint, collected_at DESC ), deltas AS ( SELECT e.tenant_key, e.fingerprint, e.query, e.collected_at AS last_seen, GREATEST (COALESCE(e.total_time_ms, 0) - COALESCE(s.total_time_ms, fs.total_time_ms, 0), 0) AS total_time_ms, GREATEST (COALESCE(e.calls, 0) - COALESCE(s.calls, fs.calls, 0), 0) AS calls, GREATEST (COALESCE(e.rows_returned, 0) - COALESCE(s.rows_returned, fs.rows_returned, 0), 0) AS rows_returned FROM end_snap e LEFT JOIN start_snap s ON s.tenant_key = e.tenant_key AND s.fingerprint = e.fingerprint LEFT JOIN fallback_start fs ON fs.tenant_key = e.tenant_key AND fs.fingerprint = e.fingerprint AND s.tenant_key IS NULL ) SELECT fingerprint, MAX(query) AS query, MAX(last_seen) AS last_seen, SUM(total_time_ms) AS total_time_ms, SUM(calls) AS calls, SUM(rows_returned) AS rows_returned, CASE WHEN SUM(calls) > 0 THEN SUM(total_time_ms) / SUM(calls) ELSE 0 END AS mean_time_ms, array_agg(DISTINCT tenant_key ORDER BY tenant_key) AS tenant_keys FROM deltas WHERE total_time_ms > 0 OR calls > 0 GROUP BY fingerprint ORDER BY total_time_ms DESC, calls DESC LIMIT '20' OFFSET '0';
Date: 2026-06-11 17:09:04 Duration: 1s564ms Database: zemm_monitoring User: monitoring_admin Bind query: yes Log file: /var/log/postgresql/postgresql-2026-06-11_000000.csv
-
WITH start_snap AS ( SELECT DISTINCT ON (tenant_key, fingerprint) tenant_key, fingerprint, total_time_ms, calls, rows_returned, collected_at FROM observability.db_top_queries WHERE tenant_key IN ('prod', 'live') AND collected_at >= '2026-06-09 03:36:01+02' AND collected_at <= '2026-06-11 03:36:01+02' ORDER BY tenant_key, fingerprint, collected_at DESC ), fallback_start AS ( SELECT DISTINCT ON (tenant_key, fingerprint) tenant_key, fingerprint, total_time_ms, calls, rows_returned, collected_at FROM observability.db_top_queries WHERE tenant_key IN ('prod', 'live') AND collected_at BETWEEN '2026-06-11 03:36:01+02' AND '2026-06-11 09:36:01+02' ORDER BY tenant_key, fingerprint, collected_at ASC ), end_snap AS ( SELECT DISTINCT ON (tenant_key, fingerprint) tenant_key, fingerprint, query, total_time_ms, calls, rows_returned, collected_at FROM observability.db_top_queries WHERE tenant_key IN ('prod', 'live') AND collected_at BETWEEN '2026-06-11 03:36:01+02' AND '2026-06-11 09:36:01+02' ORDER BY tenant_key, fingerprint, collected_at DESC ), deltas AS ( SELECT e.tenant_key, e.fingerprint, e.query, e.collected_at AS last_seen, GREATEST (COALESCE(e.total_time_ms, 0) - COALESCE(s.total_time_ms, fs.total_time_ms, 0), 0) AS total_time_ms, GREATEST (COALESCE(e.calls, 0) - COALESCE(s.calls, fs.calls, 0), 0) AS calls, GREATEST (COALESCE(e.rows_returned, 0) - COALESCE(s.rows_returned, fs.rows_returned, 0), 0) AS rows_returned FROM end_snap e LEFT JOIN start_snap s ON s.tenant_key = e.tenant_key AND s.fingerprint = e.fingerprint LEFT JOIN fallback_start fs ON fs.tenant_key = e.tenant_key AND fs.fingerprint = e.fingerprint AND s.tenant_key IS NULL ) SELECT fingerprint, MAX(query) AS query, MAX(last_seen) AS last_seen, SUM(total_time_ms) AS total_time_ms, SUM(calls) AS calls, SUM(rows_returned) AS rows_returned, CASE WHEN SUM(calls) > 0 THEN SUM(total_time_ms) / SUM(calls) ELSE 0 END AS mean_time_ms, array_agg(DISTINCT tenant_key ORDER BY tenant_key) AS tenant_keys FROM deltas WHERE total_time_ms > 0 OR calls > 0 GROUP BY fingerprint ORDER BY total_time_ms DESC, calls DESC LIMIT '20' OFFSET '0';
Date: 2026-06-11 09:36:02 Duration: 1s561ms Database: zemm_monitoring User: monitoring_admin Bind query: yes Log file: /var/log/postgresql/postgresql-2026-06-11_000000.csv
4 521ms 2m30s 1s297ms 1,440 31m8s create index if not exists idx_uptime_checks_endpoint on observability.uptime_checks (endpoint, checked_at desc);Times Reported Time consuming queries #4
Day Hour Count Duration Avg duration Jun 11 01 60 0ms 0ms 02 60 28s557ms 475ms 03 60 59s84ms 984ms 04 60 59s84ms 984ms 05 60 59s84ms 984ms 06 60 59s84ms 984ms 07 60 1m25s 1s431ms 08 60 57s492ms 958ms 09 60 1m 1s1ms 10 60 1m26s 1s441ms 11 60 1m6s 1s110ms 12 60 3m33s 3s550ms 13 60 1m22s 1s368ms 14 60 1m27s 1s457ms 15 60 1m24s 1s412ms 16 60 1m29s 1s487ms 17 60 1m26s 1s440ms 18 60 1m28s 1s468ms 19 60 1m30s 1s505ms 20 60 1m27s 1s450ms 21 60 1m24s 1s410ms 22 60 1m24s 1s410ms 23 60 1m24s 1s410ms 00 60 1m24s 1s411ms [ User: monitoring_admin - Total duration: 31m8s - Times executed: 1349 ]
-
CREATE INDEX IF NOT EXISTS idx_uptime_checks_endpoint ON observability.uptime_checks (endpoint, checked_at DESC);
Date: 2026-06-11 11:11:01 Duration: 2m30s Database: zemm_monitoring User: monitoring_admin Bind query: yes Log file: /var/log/postgresql/postgresql-2026-06-11_000000.csv
-
CREATE INDEX IF NOT EXISTS idx_uptime_checks_endpoint ON observability.uptime_checks (endpoint, checked_at DESC);
Date: 2026-06-11 07:16:01 Duration: 1s848ms Database: zemm_monitoring User: monitoring_admin Log file: /var/log/postgresql/postgresql-2026-06-11_000000.csv
-
CREATE INDEX IF NOT EXISTS idx_uptime_checks_endpoint ON observability.uptime_checks (endpoint, checked_at DESC);
Date: 2026-06-11 11:12:01 Duration: 1s702ms Database: zemm_monitoring User: monitoring_admin Bind query: yes Log file: /var/log/postgresql/postgresql-2026-06-11_000000.csv
5 521ms 2m30s 1s297ms 1,440 31m8s 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 #5
Day Hour Count Duration Avg duration Jun 11 01 60 0ms 0ms 02 60 28s557ms 475ms 03 60 59s84ms 984ms 04 60 59s84ms 984ms 05 60 59s84ms 984ms 06 60 59s84ms 984ms 07 60 1m25s 1s431ms 08 60 57s492ms 958ms 09 60 1m 1s1ms 10 60 1m26s 1s441ms 11 60 1m6s 1s110ms 12 60 3m33s 3s550ms 13 60 1m22s 1s368ms 14 60 1m27s 1s457ms 15 60 1m24s 1s412ms 16 60 1m29s 1s487ms 17 60 1m26s 1s440ms 18 60 1m28s 1s468ms 19 60 1m30s 1s505ms 20 60 1m27s 1s450ms 21 60 1m24s 1s410ms 22 60 1m24s 1s410ms 23 60 1m24s 1s410ms 00 60 1m24s 1s411ms [ User: monitoring_admin - Total duration: 31m8s - Times executed: 1349 ]
-
CREATE TABLE IF NOT EXISTS observability.uptime_checks ( id bigserial PRIMARY KEY, endpoint text NOT NULL, status text NOT NULL, latency_ms double precision, checked_at timestamptz NOT NULL DEFAULT NOW() );
Date: 2026-06-11 11:11:01 Duration: 2m30s Database: zemm_monitoring User: monitoring_admin Bind query: yes Log file: /var/log/postgresql/postgresql-2026-06-11_000000.csv
-
CREATE TABLE IF NOT EXISTS observability.uptime_checks ( id bigserial PRIMARY KEY, endpoint text NOT NULL, status text NOT NULL, latency_ms double precision, checked_at timestamptz NOT NULL DEFAULT NOW() );
Date: 2026-06-11 07:16:01 Duration: 1s848ms Database: zemm_monitoring User: monitoring_admin Log file: /var/log/postgresql/postgresql-2026-06-11_000000.csv
-
CREATE TABLE IF NOT EXISTS observability.uptime_checks ( id bigserial PRIMARY KEY, endpoint text NOT NULL, status text NOT NULL, latency_ms double precision, checked_at timestamptz NOT NULL DEFAULT NOW() );
Date: 2026-06-11 11:12:01 Duration: 1s702ms Database: zemm_monitoring User: monitoring_admin Bind query: yes Log file: /var/log/postgresql/postgresql-2026-06-11_000000.csv
6 521ms 2m30s 1s297ms 1,440 31m8s alter table observability.uptime_checks add column if not exists payload jsonb;Times Reported Time consuming queries #6
Day Hour Count Duration Avg duration Jun 11 01 60 0ms 0ms 02 60 28s557ms 475ms 03 60 59s84ms 984ms 04 60 59s84ms 984ms 05 60 59s84ms 984ms 06 60 59s84ms 984ms 07 60 1m25s 1s431ms 08 60 57s492ms 958ms 09 60 1m 1s1ms 10 60 1m26s 1s441ms 11 60 1m6s 1s110ms 12 60 3m33s 3s550ms 13 60 1m22s 1s368ms 14 60 1m27s 1s457ms 15 60 1m24s 1s412ms 16 60 1m29s 1s487ms 17 60 1m26s 1s440ms 18 60 1m28s 1s468ms 19 60 1m30s 1s505ms 20 60 1m27s 1s450ms 21 60 1m24s 1s410ms 22 60 1m24s 1s410ms 23 60 1m24s 1s410ms 00 60 1m24s 1s411ms [ User: monitoring_admin - Total duration: 31m8s - Times executed: 1349 ]
-
ALTER TABLE observability.uptime_checks ADD COLUMN IF NOT EXISTS payload jsonb;
Date: 2026-06-11 11:11:01 Duration: 2m30s Database: zemm_monitoring User: monitoring_admin Bind query: yes Log file: /var/log/postgresql/postgresql-2026-06-11_000000.csv
-
ALTER TABLE observability.uptime_checks ADD COLUMN IF NOT EXISTS payload jsonb;
Date: 2026-06-11 07:16:01 Duration: 1s848ms Database: zemm_monitoring User: monitoring_admin Log file: /var/log/postgresql/postgresql-2026-06-11_000000.csv
-
ALTER TABLE observability.uptime_checks ADD COLUMN IF NOT EXISTS payload jsonb;
Date: 2026-06-11 11:12:01 Duration: 1s702ms Database: zemm_monitoring User: monitoring_admin Bind query: yes Log file: /var/log/postgresql/postgresql-2026-06-11_000000.csv
7 521ms 2m30s 1s297ms 1,440 31m8s 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 #7
Day Hour Count Duration Avg duration Jun 11 01 60 0ms 0ms 02 60 28s557ms 475ms 03 60 59s84ms 984ms 04 60 59s84ms 984ms 05 60 59s84ms 984ms 06 60 59s84ms 984ms 07 60 1m25s 1s431ms 08 60 57s492ms 958ms 09 60 1m 1s1ms 10 60 1m26s 1s441ms 11 60 1m6s 1s110ms 12 60 3m33s 3s550ms 13 60 1m22s 1s368ms 14 60 1m27s 1s457ms 15 60 1m24s 1s412ms 16 60 1m29s 1s487ms 17 60 1m26s 1s440ms 18 60 1m28s 1s468ms 19 60 1m30s 1s505ms 20 60 1m27s 1s450ms 21 60 1m24s 1s410ms 22 60 1m24s 1s410ms 23 60 1m24s 1s410ms 00 60 1m24s 1s411ms [ User: monitoring_admin - Total duration: 31m8s - Times executed: 1349 ]
-
CREATE TABLE IF NOT EXISTS observability.nginx_counters ( id bigserial PRIMARY KEY, payload jsonb NOT NULL, collected_at timestamptz NOT NULL DEFAULT NOW() );
Date: 2026-06-11 11:11:01 Duration: 2m30s Database: zemm_monitoring User: monitoring_admin Bind query: yes Log file: /var/log/postgresql/postgresql-2026-06-11_000000.csv
-
CREATE TABLE IF NOT EXISTS observability.nginx_counters ( id bigserial PRIMARY KEY, payload jsonb NOT NULL, collected_at timestamptz NOT NULL DEFAULT NOW() );
Date: 2026-06-11 07:16:01 Duration: 1s848ms Database: zemm_monitoring User: monitoring_admin Log file: /var/log/postgresql/postgresql-2026-06-11_000000.csv
-
CREATE TABLE IF NOT EXISTS observability.nginx_counters ( id bigserial PRIMARY KEY, payload jsonb NOT NULL, collected_at timestamptz NOT NULL DEFAULT NOW() );
Date: 2026-06-11 11:12:01 Duration: 1s702ms Database: zemm_monitoring User: monitoring_admin Bind query: yes Log file: /var/log/postgresql/postgresql-2026-06-11_000000.csv
8 521ms 2m30s 1s297ms 1,440 31m8s create index if not exists idx_app_events_type on observability.app_events (event_type);Times Reported Time consuming queries #8
Day Hour Count Duration Avg duration Jun 11 01 60 0ms 0ms 02 60 28s557ms 475ms 03 60 59s84ms 984ms 04 60 59s84ms 984ms 05 60 59s84ms 984ms 06 60 59s84ms 984ms 07 60 1m25s 1s431ms 08 60 57s492ms 958ms 09 60 1m 1s1ms 10 60 1m26s 1s441ms 11 60 1m6s 1s110ms 12 60 3m33s 3s550ms 13 60 1m22s 1s368ms 14 60 1m27s 1s457ms 15 60 1m24s 1s412ms 16 60 1m29s 1s487ms 17 60 1m26s 1s440ms 18 60 1m28s 1s468ms 19 60 1m30s 1s505ms 20 60 1m27s 1s450ms 21 60 1m24s 1s410ms 22 60 1m24s 1s410ms 23 60 1m24s 1s410ms 00 60 1m24s 1s411ms [ User: monitoring_admin - Total duration: 31m8s - Times executed: 1349 ]
-
CREATE INDEX IF NOT EXISTS idx_app_events_type ON observability.app_events (event_type);
Date: 2026-06-11 11:11:01 Duration: 2m30s Database: zemm_monitoring User: monitoring_admin Bind query: yes Log file: /var/log/postgresql/postgresql-2026-06-11_000000.csv
-
CREATE INDEX IF NOT EXISTS idx_app_events_type ON observability.app_events (event_type);
Date: 2026-06-11 07:16:01 Duration: 1s848ms Database: zemm_monitoring User: monitoring_admin Log file: /var/log/postgresql/postgresql-2026-06-11_000000.csv
-
CREATE INDEX IF NOT EXISTS idx_app_events_type ON observability.app_events (event_type);
Date: 2026-06-11 11:12:01 Duration: 1s702ms Database: zemm_monitoring User: monitoring_admin Bind query: yes Log file: /var/log/postgresql/postgresql-2026-06-11_000000.csv
9 521ms 2m30s 1s297ms 1,440 31m8s create schema if not exists observability;Times Reported Time consuming queries #9
Day Hour Count Duration Avg duration Jun 11 01 60 0ms 0ms 02 60 28s557ms 475ms 03 60 59s84ms 984ms 04 60 59s84ms 984ms 05 60 59s84ms 984ms 06 60 59s84ms 984ms 07 60 1m25s 1s431ms 08 60 57s492ms 958ms 09 60 1m 1s1ms 10 60 1m26s 1s441ms 11 60 1m6s 1s110ms 12 60 3m33s 3s550ms 13 60 1m22s 1s368ms 14 60 1m27s 1s457ms 15 60 1m24s 1s412ms 16 60 1m29s 1s487ms 17 60 1m26s 1s440ms 18 60 1m28s 1s468ms 19 60 1m30s 1s505ms 20 60 1m27s 1s450ms 21 60 1m24s 1s410ms 22 60 1m24s 1s410ms 23 60 1m24s 1s410ms 00 60 1m24s 1s411ms [ User: monitoring_admin - Total duration: 31m8s - Times executed: 1349 ]
-
CREATE SCHEMA IF NOT EXISTS observability;
Date: 2026-06-11 11:11:01 Duration: 2m30s Database: zemm_monitoring User: monitoring_admin Bind query: yes Log file: /var/log/postgresql/postgresql-2026-06-11_000000.csv
-
CREATE SCHEMA IF NOT EXISTS observability;
Date: 2026-06-11 07:16:01 Duration: 1s848ms Database: zemm_monitoring User: monitoring_admin Log file: /var/log/postgresql/postgresql-2026-06-11_000000.csv
-
CREATE SCHEMA IF NOT EXISTS observability;
Date: 2026-06-11 11:12:01 Duration: 1s702ms Database: zemm_monitoring User: monitoring_admin Bind query: yes Log file: /var/log/postgresql/postgresql-2026-06-11_000000.csv
10 521ms 2m30s 1s297ms 1,440 31m8s 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 #10
Day Hour Count Duration Avg duration Jun 11 01 60 0ms 0ms 02 60 28s557ms 475ms 03 60 59s84ms 984ms 04 60 59s84ms 984ms 05 60 59s84ms 984ms 06 60 59s84ms 984ms 07 60 1m25s 1s431ms 08 60 57s492ms 958ms 09 60 1m 1s1ms 10 60 1m26s 1s441ms 11 60 1m6s 1s110ms 12 60 3m33s 3s550ms 13 60 1m22s 1s368ms 14 60 1m27s 1s457ms 15 60 1m24s 1s412ms 16 60 1m29s 1s487ms 17 60 1m26s 1s440ms 18 60 1m28s 1s468ms 19 60 1m30s 1s505ms 20 60 1m27s 1s450ms 21 60 1m24s 1s410ms 22 60 1m24s 1s410ms 23 60 1m24s 1s410ms 00 60 1m24s 1s411ms [ User: monitoring_admin - Total duration: 31m8s - Times executed: 1349 ]
-
CREATE TABLE IF NOT EXISTS observability.metrics_timeseries ( id bigserial PRIMARY KEY, tenant_key text NOT NULL, metric_name text NOT NULL, bucket_start timestamptz NOT NULL, bucket_width_seconds integer NOT NULL DEFAULT 60, sum_value double precision NOT NULL DEFAULT 0, count_value bigint NOT NULL DEFAULT 0, histogram jsonb, created_at timestamptz NOT NULL DEFAULT NOW(), updated_at timestamptz NOT NULL DEFAULT NOW(), UNIQUE (tenant_key, metric_name, bucket_start, bucket_width_seconds) );
Date: 2026-06-11 11:11:01 Duration: 2m30s Database: zemm_monitoring User: monitoring_admin Bind query: yes Log file: /var/log/postgresql/postgresql-2026-06-11_000000.csv
-
CREATE TABLE IF NOT EXISTS observability.metrics_timeseries ( id bigserial PRIMARY KEY, tenant_key text NOT NULL, metric_name text NOT NULL, bucket_start timestamptz NOT NULL, bucket_width_seconds integer NOT NULL DEFAULT 60, sum_value double precision NOT NULL DEFAULT 0, count_value bigint NOT NULL DEFAULT 0, histogram jsonb, created_at timestamptz NOT NULL DEFAULT NOW(), updated_at timestamptz NOT NULL DEFAULT NOW(), UNIQUE (tenant_key, metric_name, bucket_start, bucket_width_seconds) );
Date: 2026-06-11 07:16:01 Duration: 1s848ms Database: zemm_monitoring User: monitoring_admin Log file: /var/log/postgresql/postgresql-2026-06-11_000000.csv
-
CREATE TABLE IF NOT EXISTS observability.metrics_timeseries ( id bigserial PRIMARY KEY, tenant_key text NOT NULL, metric_name text NOT NULL, bucket_start timestamptz NOT NULL, bucket_width_seconds integer NOT NULL DEFAULT 60, sum_value double precision NOT NULL DEFAULT 0, count_value bigint NOT NULL DEFAULT 0, histogram jsonb, created_at timestamptz NOT NULL DEFAULT NOW(), updated_at timestamptz NOT NULL DEFAULT NOW(), UNIQUE (tenant_key, metric_name, bucket_start, bucket_width_seconds) );
Date: 2026-06-11 11:12:01 Duration: 1s702ms Database: zemm_monitoring User: monitoring_admin Bind query: yes Log file: /var/log/postgresql/postgresql-2026-06-11_000000.csv
11 521ms 2m30s 1s297ms 1,440 31m8s create index if not exists idx_uptime_checks_key on observability.uptime_checks (check_key, checked_at desc);Times Reported Time consuming queries #11
Day Hour Count Duration Avg duration Jun 11 01 60 0ms 0ms 02 60 28s557ms 475ms 03 60 59s84ms 984ms 04 60 59s84ms 984ms 05 60 59s84ms 984ms 06 60 59s84ms 984ms 07 60 1m25s 1s431ms 08 60 57s492ms 958ms 09 60 1m 1s1ms 10 60 1m26s 1s441ms 11 60 1m6s 1s110ms 12 60 3m33s 3s550ms 13 60 1m22s 1s368ms 14 60 1m27s 1s457ms 15 60 1m24s 1s412ms 16 60 1m29s 1s487ms 17 60 1m26s 1s440ms 18 60 1m28s 1s468ms 19 60 1m30s 1s505ms 20 60 1m27s 1s450ms 21 60 1m24s 1s410ms 22 60 1m24s 1s410ms 23 60 1m24s 1s410ms 00 60 1m24s 1s411ms [ User: monitoring_admin - Total duration: 31m8s - Times executed: 1349 ]
-
CREATE INDEX IF NOT EXISTS idx_uptime_checks_key ON observability.uptime_checks (check_key, checked_at DESC);
Date: 2026-06-11 11:11:01 Duration: 2m30s Database: zemm_monitoring User: monitoring_admin Bind query: yes Log file: /var/log/postgresql/postgresql-2026-06-11_000000.csv
-
CREATE INDEX IF NOT EXISTS idx_uptime_checks_key ON observability.uptime_checks (check_key, checked_at DESC);
Date: 2026-06-11 07:16:01 Duration: 1s848ms Database: zemm_monitoring User: monitoring_admin Log file: /var/log/postgresql/postgresql-2026-06-11_000000.csv
-
CREATE INDEX IF NOT EXISTS idx_uptime_checks_key ON observability.uptime_checks (check_key, checked_at DESC);
Date: 2026-06-11 11:12:01 Duration: 1s702ms Database: zemm_monitoring User: monitoring_admin Bind query: yes Log file: /var/log/postgresql/postgresql-2026-06-11_000000.csv
12 521ms 2m30s 1s297ms 1,440 31m8s 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 Jun 11 01 60 0ms 0ms 02 60 28s557ms 475ms 03 60 59s84ms 984ms 04 60 59s84ms 984ms 05 60 59s84ms 984ms 06 60 59s84ms 984ms 07 60 1m25s 1s431ms 08 60 57s492ms 958ms 09 60 1m 1s1ms 10 60 1m26s 1s441ms 11 60 1m6s 1s110ms 12 60 3m33s 3s550ms 13 60 1m22s 1s368ms 14 60 1m27s 1s457ms 15 60 1m24s 1s412ms 16 60 1m29s 1s487ms 17 60 1m26s 1s440ms 18 60 1m28s 1s468ms 19 60 1m30s 1s505ms 20 60 1m27s 1s450ms 21 60 1m24s 1s410ms 22 60 1m24s 1s410ms 23 60 1m24s 1s410ms 00 60 1m24s 1s411ms [ User: monitoring_admin - Total duration: 31m8s - Times executed: 1349 ]
-
CREATE INDEX IF NOT EXISTS idx_app_events_tenant ON observability.app_events (tenant_key, occurred_at DESC);
Date: 2026-06-11 11:11:01 Duration: 2m30s Database: zemm_monitoring User: monitoring_admin Bind query: yes Log file: /var/log/postgresql/postgresql-2026-06-11_000000.csv
-
CREATE INDEX IF NOT EXISTS idx_app_events_tenant ON observability.app_events (tenant_key, occurred_at DESC);
Date: 2026-06-11 07:16:01 Duration: 1s848ms Database: zemm_monitoring User: monitoring_admin Log file: /var/log/postgresql/postgresql-2026-06-11_000000.csv
-
CREATE INDEX IF NOT EXISTS idx_app_events_tenant ON observability.app_events (tenant_key, occurred_at DESC);
Date: 2026-06-11 11:12:01 Duration: 1s702ms Database: zemm_monitoring User: monitoring_admin Bind query: yes Log file: /var/log/postgresql/postgresql-2026-06-11_000000.csv
13 521ms 2m30s 1s297ms 1,440 31m8s 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 #13
Day Hour Count Duration Avg duration Jun 11 01 60 0ms 0ms 02 60 28s557ms 475ms 03 60 59s84ms 984ms 04 60 59s84ms 984ms 05 60 59s84ms 984ms 06 60 59s84ms 984ms 07 60 1m25s 1s431ms 08 60 57s492ms 958ms 09 60 1m 1s1ms 10 60 1m26s 1s441ms 11 60 1m6s 1s110ms 12 60 3m33s 3s550ms 13 60 1m22s 1s368ms 14 60 1m27s 1s457ms 15 60 1m24s 1s412ms 16 60 1m29s 1s487ms 17 60 1m26s 1s440ms 18 60 1m28s 1s468ms 19 60 1m30s 1s505ms 20 60 1m27s 1s450ms 21 60 1m24s 1s410ms 22 60 1m24s 1s410ms 23 60 1m24s 1s410ms 00 60 1m24s 1s411ms [ User: monitoring_admin - Total duration: 31m8s - Times executed: 1349 ]
-
CREATE TABLE IF NOT EXISTS observability.app_events ( id bigserial PRIMARY KEY, tenant_key text NOT NULL, event_type text NOT NULL, severity text NOT NULL, message text NOT NULL, payload jsonb, occurred_at timestamptz NOT NULL DEFAULT NOW(), created_at timestamptz NOT NULL DEFAULT NOW() );
Date: 2026-06-11 11:11:01 Duration: 2m30s Database: zemm_monitoring User: monitoring_admin Bind query: yes Log file: /var/log/postgresql/postgresql-2026-06-11_000000.csv
-
CREATE TABLE IF NOT EXISTS observability.app_events ( id bigserial PRIMARY KEY, tenant_key text NOT NULL, event_type text NOT NULL, severity text NOT NULL, message text NOT NULL, payload jsonb, occurred_at timestamptz NOT NULL DEFAULT NOW(), created_at timestamptz NOT NULL DEFAULT NOW() );
Date: 2026-06-11 07:16:01 Duration: 1s848ms Database: zemm_monitoring User: monitoring_admin Log file: /var/log/postgresql/postgresql-2026-06-11_000000.csv
-
CREATE TABLE IF NOT EXISTS observability.app_events ( id bigserial PRIMARY KEY, tenant_key text NOT NULL, event_type text NOT NULL, severity text NOT NULL, message text NOT NULL, payload jsonb, occurred_at timestamptz NOT NULL DEFAULT NOW(), created_at timestamptz NOT NULL DEFAULT NOW() );
Date: 2026-06-11 11:12:01 Duration: 1s702ms Database: zemm_monitoring User: monitoring_admin Bind query: yes Log file: /var/log/postgresql/postgresql-2026-06-11_000000.csv
14 521ms 2m30s 1s297ms 1,440 31m8s 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 #14
Day Hour Count Duration Avg duration Jun 11 01 60 0ms 0ms 02 60 28s557ms 475ms 03 60 59s84ms 984ms 04 60 59s84ms 984ms 05 60 59s84ms 984ms 06 60 59s84ms 984ms 07 60 1m25s 1s431ms 08 60 57s492ms 958ms 09 60 1m 1s1ms 10 60 1m26s 1s441ms 11 60 1m6s 1s110ms 12 60 3m33s 3s550ms 13 60 1m22s 1s368ms 14 60 1m27s 1s457ms 15 60 1m24s 1s412ms 16 60 1m29s 1s487ms 17 60 1m26s 1s440ms 18 60 1m28s 1s468ms 19 60 1m30s 1s505ms 20 60 1m27s 1s450ms 21 60 1m24s 1s410ms 22 60 1m24s 1s410ms 23 60 1m24s 1s410ms 00 60 1m24s 1s411ms [ User: monitoring_admin - Total duration: 31m8s - Times executed: 1349 ]
-
CREATE INDEX IF NOT EXISTS idx_db_top_queries_tenant ON observability.db_top_queries (tenant_key, collected_at DESC);
Date: 2026-06-11 11:11:01 Duration: 2m30s Database: zemm_monitoring User: monitoring_admin Bind query: yes Log file: /var/log/postgresql/postgresql-2026-06-11_000000.csv
-
CREATE INDEX IF NOT EXISTS idx_db_top_queries_tenant ON observability.db_top_queries (tenant_key, collected_at DESC);
Date: 2026-06-11 07:16:01 Duration: 1s848ms Database: zemm_monitoring User: monitoring_admin Log file: /var/log/postgresql/postgresql-2026-06-11_000000.csv
-
CREATE INDEX IF NOT EXISTS idx_db_top_queries_tenant ON observability.db_top_queries (tenant_key, collected_at DESC);
Date: 2026-06-11 11:12:01 Duration: 1s702ms Database: zemm_monitoring User: monitoring_admin Bind query: yes Log file: /var/log/postgresql/postgresql-2026-06-11_000000.csv
15 521ms 2m30s 1s297ms 1,440 31m8s 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 #15
Day Hour Count Duration Avg duration Jun 11 01 60 0ms 0ms 02 60 28s557ms 475ms 03 60 59s84ms 984ms 04 60 59s84ms 984ms 05 60 59s84ms 984ms 06 60 59s84ms 984ms 07 60 1m25s 1s431ms 08 60 57s492ms 958ms 09 60 1m 1s1ms 10 60 1m26s 1s441ms 11 60 1m6s 1s110ms 12 60 3m33s 3s550ms 13 60 1m22s 1s368ms 14 60 1m27s 1s457ms 15 60 1m24s 1s412ms 16 60 1m29s 1s487ms 17 60 1m26s 1s440ms 18 60 1m28s 1s468ms 19 60 1m30s 1s505ms 20 60 1m27s 1s450ms 21 60 1m24s 1s410ms 22 60 1m24s 1s410ms 23 60 1m24s 1s410ms 00 60 1m24s 1s411ms [ User: monitoring_admin - Total duration: 31m8s - Times executed: 1349 ]
-
CREATE TABLE IF NOT EXISTS observability.db_top_queries ( id bigserial PRIMARY KEY, tenant_key text NOT NULL, fingerprint text, query text, mean_time_ms double precision, total_time_ms double precision, calls bigint, rows_returned bigint, collected_at timestamptz NOT NULL DEFAULT NOW() );
Date: 2026-06-11 11:11:01 Duration: 2m30s Database: zemm_monitoring User: monitoring_admin Bind query: yes Log file: /var/log/postgresql/postgresql-2026-06-11_000000.csv
-
CREATE TABLE IF NOT EXISTS observability.db_top_queries ( id bigserial PRIMARY KEY, tenant_key text NOT NULL, fingerprint text, query text, mean_time_ms double precision, total_time_ms double precision, calls bigint, rows_returned bigint, collected_at timestamptz NOT NULL DEFAULT NOW() );
Date: 2026-06-11 07:16:01 Duration: 1s848ms Database: zemm_monitoring User: monitoring_admin Log file: /var/log/postgresql/postgresql-2026-06-11_000000.csv
-
CREATE TABLE IF NOT EXISTS observability.db_top_queries ( id bigserial PRIMARY KEY, tenant_key text NOT NULL, fingerprint text, query text, mean_time_ms double precision, total_time_ms double precision, calls bigint, rows_returned bigint, collected_at timestamptz NOT NULL DEFAULT NOW() );
Date: 2026-06-11 11:12:01 Duration: 1s702ms Database: zemm_monitoring User: monitoring_admin Bind query: yes Log file: /var/log/postgresql/postgresql-2026-06-11_000000.csv
16 521ms 2m30s 1s297ms 1,440 31m8s 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 #16
Day Hour Count Duration Avg duration Jun 11 01 60 0ms 0ms 02 60 28s557ms 475ms 03 60 59s84ms 984ms 04 60 59s84ms 984ms 05 60 59s84ms 984ms 06 60 59s84ms 984ms 07 60 1m25s 1s431ms 08 60 57s492ms 958ms 09 60 1m 1s1ms 10 60 1m26s 1s441ms 11 60 1m6s 1s110ms 12 60 3m33s 3s550ms 13 60 1m22s 1s368ms 14 60 1m27s 1s457ms 15 60 1m24s 1s412ms 16 60 1m29s 1s487ms 17 60 1m26s 1s440ms 18 60 1m28s 1s468ms 19 60 1m30s 1s505ms 20 60 1m27s 1s450ms 21 60 1m24s 1s410ms 22 60 1m24s 1s410ms 23 60 1m24s 1s410ms 00 60 1m24s 1s411ms [ User: monitoring_admin - Total duration: 31m8s - Times executed: 1349 ]
-
CREATE TABLE IF NOT EXISTS observability.system_metrics ( id bigserial PRIMARY KEY, payload jsonb NOT NULL, collected_at timestamptz NOT NULL DEFAULT NOW() );
Date: 2026-06-11 11:11:01 Duration: 2m30s Database: zemm_monitoring User: monitoring_admin Bind query: yes Log file: /var/log/postgresql/postgresql-2026-06-11_000000.csv
-
CREATE TABLE IF NOT EXISTS observability.system_metrics ( id bigserial PRIMARY KEY, payload jsonb NOT NULL, collected_at timestamptz NOT NULL DEFAULT NOW() );
Date: 2026-06-11 07:16:01 Duration: 1s848ms Database: zemm_monitoring User: monitoring_admin Log file: /var/log/postgresql/postgresql-2026-06-11_000000.csv
-
CREATE TABLE IF NOT EXISTS observability.system_metrics ( id bigserial PRIMARY KEY, payload jsonb NOT NULL, collected_at timestamptz NOT NULL DEFAULT NOW() );
Date: 2026-06-11 11:12:01 Duration: 1s702ms Database: zemm_monitoring User: monitoring_admin Bind query: yes Log file: /var/log/postgresql/postgresql-2026-06-11_000000.csv
17 521ms 2m30s 1s297ms 1,440 31m8s create index if not exists idx_metrics_timeseries_metric on observability.metrics_timeseries (metric_name);Times Reported Time consuming queries #17
Day Hour Count Duration Avg duration Jun 11 01 60 0ms 0ms 02 60 28s557ms 475ms 03 60 59s84ms 984ms 04 60 59s84ms 984ms 05 60 59s84ms 984ms 06 60 59s84ms 984ms 07 60 1m25s 1s431ms 08 60 57s492ms 958ms 09 60 1m 1s1ms 10 60 1m26s 1s441ms 11 60 1m6s 1s110ms 12 60 3m33s 3s550ms 13 60 1m22s 1s368ms 14 60 1m27s 1s457ms 15 60 1m24s 1s412ms 16 60 1m29s 1s487ms 17 60 1m26s 1s440ms 18 60 1m28s 1s468ms 19 60 1m30s 1s505ms 20 60 1m27s 1s450ms 21 60 1m24s 1s410ms 22 60 1m24s 1s410ms 23 60 1m24s 1s410ms 00 60 1m24s 1s411ms [ User: monitoring_admin - Total duration: 31m8s - Times executed: 1349 ]
-
CREATE INDEX IF NOT EXISTS idx_metrics_timeseries_metric ON observability.metrics_timeseries (metric_name);
Date: 2026-06-11 11:11:01 Duration: 2m30s Database: zemm_monitoring User: monitoring_admin Bind query: yes Log file: /var/log/postgresql/postgresql-2026-06-11_000000.csv
-
CREATE INDEX IF NOT EXISTS idx_metrics_timeseries_metric ON observability.metrics_timeseries (metric_name);
Date: 2026-06-11 07:16:01 Duration: 1s848ms Database: zemm_monitoring User: monitoring_admin Log file: /var/log/postgresql/postgresql-2026-06-11_000000.csv
-
CREATE INDEX IF NOT EXISTS idx_metrics_timeseries_metric ON observability.metrics_timeseries (metric_name);
Date: 2026-06-11 11:12:01 Duration: 1s702ms Database: zemm_monitoring User: monitoring_admin Bind query: yes Log file: /var/log/postgresql/postgresql-2026-06-11_000000.csv
18 521ms 2m30s 1s297ms 1,440 31m8s create index if not exists idx_metrics_timeseries_bucket on observability.metrics_timeseries (bucket_start);Times Reported Time consuming queries #18
Day Hour Count Duration Avg duration Jun 11 01 60 0ms 0ms 02 60 28s557ms 475ms 03 60 59s84ms 984ms 04 60 59s84ms 984ms 05 60 59s84ms 984ms 06 60 59s84ms 984ms 07 60 1m25s 1s431ms 08 60 57s492ms 958ms 09 60 1m 1s1ms 10 60 1m26s 1s441ms 11 60 1m6s 1s110ms 12 60 3m33s 3s550ms 13 60 1m22s 1s368ms 14 60 1m27s 1s457ms 15 60 1m24s 1s412ms 16 60 1m29s 1s487ms 17 60 1m26s 1s440ms 18 60 1m28s 1s468ms 19 60 1m30s 1s505ms 20 60 1m27s 1s450ms 21 60 1m24s 1s410ms 22 60 1m24s 1s410ms 23 60 1m24s 1s410ms 00 60 1m24s 1s411ms [ User: monitoring_admin - Total duration: 31m8s - Times executed: 1349 ]
-
CREATE INDEX IF NOT EXISTS idx_metrics_timeseries_bucket ON observability.metrics_timeseries (bucket_start);
Date: 2026-06-11 11:11:01 Duration: 2m30s Database: zemm_monitoring User: monitoring_admin Bind query: yes Log file: /var/log/postgresql/postgresql-2026-06-11_000000.csv
-
CREATE INDEX IF NOT EXISTS idx_metrics_timeseries_bucket ON observability.metrics_timeseries (bucket_start);
Date: 2026-06-11 07:16:01 Duration: 1s848ms Database: zemm_monitoring User: monitoring_admin Log file: /var/log/postgresql/postgresql-2026-06-11_000000.csv
-
CREATE INDEX IF NOT EXISTS idx_metrics_timeseries_bucket ON observability.metrics_timeseries (bucket_start);
Date: 2026-06-11 11:12:01 Duration: 1s702ms Database: zemm_monitoring User: monitoring_admin Bind query: yes Log file: /var/log/postgresql/postgresql-2026-06-11_000000.csv
19 521ms 2m30s 1s297ms 1,440 31m8s 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 #19
Day Hour Count Duration Avg duration Jun 11 01 60 0ms 0ms 02 60 28s557ms 475ms 03 60 59s84ms 984ms 04 60 59s84ms 984ms 05 60 59s84ms 984ms 06 60 59s84ms 984ms 07 60 1m25s 1s431ms 08 60 57s492ms 958ms 09 60 1m 1s1ms 10 60 1m26s 1s441ms 11 60 1m6s 1s110ms 12 60 3m33s 3s550ms 13 60 1m22s 1s368ms 14 60 1m27s 1s457ms 15 60 1m24s 1s412ms 16 60 1m29s 1s487ms 17 60 1m26s 1s440ms 18 60 1m28s 1s468ms 19 60 1m30s 1s505ms 20 60 1m27s 1s450ms 21 60 1m24s 1s410ms 22 60 1m24s 1s410ms 23 60 1m24s 1s410ms 00 60 1m24s 1s411ms [ User: monitoring_admin - Total duration: 31m8s - Times executed: 1349 ]
-
CREATE TABLE IF NOT EXISTS observability.phpfpm_counters ( id bigserial PRIMARY KEY, payload jsonb NOT NULL, collected_at timestamptz NOT NULL DEFAULT NOW() );
Date: 2026-06-11 11:11:01 Duration: 2m30s Database: zemm_monitoring User: monitoring_admin Bind query: yes Log file: /var/log/postgresql/postgresql-2026-06-11_000000.csv
-
CREATE TABLE IF NOT EXISTS observability.phpfpm_counters ( id bigserial PRIMARY KEY, payload jsonb NOT NULL, collected_at timestamptz NOT NULL DEFAULT NOW() );
Date: 2026-06-11 07:16:01 Duration: 1s848ms Database: zemm_monitoring User: monitoring_admin Log file: /var/log/postgresql/postgresql-2026-06-11_000000.csv
-
CREATE TABLE IF NOT EXISTS observability.phpfpm_counters ( id bigserial PRIMARY KEY, payload jsonb NOT NULL, collected_at timestamptz NOT NULL DEFAULT NOW() );
Date: 2026-06-11 11:12:01 Duration: 1s702ms Database: zemm_monitoring User: monitoring_admin Bind query: yes Log file: /var/log/postgresql/postgresql-2026-06-11_000000.csv
20 521ms 2m30s 1s297ms 1,440 31m8s alter table observability.uptime_checks add column if not exists label text;Times Reported Time consuming queries #20
Day Hour Count Duration Avg duration Jun 11 01 60 0ms 0ms 02 60 28s557ms 475ms 03 60 59s84ms 984ms 04 60 59s84ms 984ms 05 60 59s84ms 984ms 06 60 59s84ms 984ms 07 60 1m25s 1s431ms 08 60 57s492ms 958ms 09 60 1m 1s1ms 10 60 1m26s 1s441ms 11 60 1m6s 1s110ms 12 60 3m33s 3s550ms 13 60 1m22s 1s368ms 14 60 1m27s 1s457ms 15 60 1m24s 1s412ms 16 60 1m29s 1s487ms 17 60 1m26s 1s440ms 18 60 1m28s 1s468ms 19 60 1m30s 1s505ms 20 60 1m27s 1s450ms 21 60 1m24s 1s410ms 22 60 1m24s 1s410ms 23 60 1m24s 1s410ms 00 60 1m24s 1s411ms [ User: monitoring_admin - Total duration: 31m8s - Times executed: 1349 ]
-
ALTER TABLE observability.uptime_checks ADD COLUMN IF NOT EXISTS label text;
Date: 2026-06-11 11:11:01 Duration: 2m30s Database: zemm_monitoring User: monitoring_admin Bind query: yes Log file: /var/log/postgresql/postgresql-2026-06-11_000000.csv
-
ALTER TABLE observability.uptime_checks ADD COLUMN IF NOT EXISTS label text;
Date: 2026-06-11 07:16:01 Duration: 1s848ms Database: zemm_monitoring User: monitoring_admin Log file: /var/log/postgresql/postgresql-2026-06-11_000000.csv
-
ALTER TABLE observability.uptime_checks ADD COLUMN IF NOT EXISTS label text;
Date: 2026-06-11 11:12:01 Duration: 1s702ms Database: zemm_monitoring User: monitoring_admin Bind query: yes Log file: /var/log/postgresql/postgresql-2026-06-11_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
- 138,500 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
- 19 ERROR entries
- 0 WARNING entries
- 0 EVENTLOG entries
Most Frequent Errors/Events
Key values
- 13 Max number of times the same event was reported
- 19 Total events found
Rank Times reported Error 1 13 ERROR: syntax error at or near "..."
Times Reported Most Frequent Error / Event #1
Day Hour Count Jun 11 11 13 - ERROR: syntax error at or near "AND"
- ERROR: syntax error at or near "AND"
- ERROR: syntax error at or near "AND"
Statement: BEGIN; SET TRANSACTION ISOLATION LEVEL SERIALIZABLE; INSERT INTO cost_history (service, fromdate, todate, animal, comment, deleted, invoice, amount, license, kostenstelle_erb, drittmittel, kostenstelle_anf, finanzstelle_anf, extern_anf, form_text, mat_nr, kostenkategorie, supersedes) SELECT * FROM ( (SELECT cost_history.service, fromdate, ('2026-05-01 00:00:00'::TIMESTAMP - '1 seconds'::INTERVAL) AS todate, cost_history.animal, cost_history.comment, cost_history.deleted, cost_history.invoice, cost_history.amount, cost_history.license, cost_history.kostenstelle_erb, cost_history.drittmittel, cost_history.kostenstelle_anf, cost_history.finanzstelle_anf, cost_history.extern_anf, cost_history.form_text, cost_history.mat_nr, cost_history.kostenkategorie, cost_history.id AS supersedes FROM cost_history INNER JOIN services ON services.id = cost_history.service AND (services.cost_object = 1 OR services.cost_object = 2) INNER JOIN unit_descriptions ON unit_descriptions.id = services.serviceunit WHERE NOT(cost_history.deleted) AND cost_history.invoice IS NULL AND cost_history.fromdate < '2026-05-01 00:00:00'::TIMESTAMP AND (cost_history.fromdate, CASE WHEN cost_history.todate IS NULL THEN '2026-12-31 00:00:00'::TIMESTAMP + '1 days'::INTERVAL - '1 seconds'::INTERVAL ELSE cost_history.todate END) OVERLAPS ('2026-05-01 00:00:00'::TIMESTAMP, '2026-12-31 00:00:00'::TIMESTAMP + '1 days'::INTERVAL - '1 seconds'::INTERVAL) AND TRUE AND cost_history.license = 10100118 AND cost_history.kostenkategorie = AND cost_history.drittmittel = FALSE) UNION (SELECT cost_history.service, p_max(fromdate, '2026-05-01 00:00:00'::TIMESTAMP) AS fromdate, p_min(todate, '2026-12-31 00:00:00'::TIMESTAMP + '1 days'::INTERVAL - '1 seconds'::INTERVAL) AS todate, cost_history.animal, cost_history.comment, cost_history.deleted, cost_history.invoice, cost_history.amount, cost_history.license, cost_history.kostenstelle_erb, cost_history.drittmittel, cost_history.kostenstelle_anf, cost_history.finanzstelle_anf, cost_history.extern_anf, cost_history.form_text, cost_history.mat_nr, cost_history.kostenkategorie, cost_history.id AS supersedes FROM cost_history INNER JOIN services ON services.id = cost_history.service AND (services.cost_object = 1 OR services.cost_object = 2) INNER JOIN unit_descriptions ON unit_descriptions.id = services.serviceunit WHERE NOT(cost_history.deleted) AND cost_history.invoice IS NULL AND (cost_history.fromdate, CASE WHEN cost_history.todate IS NULL THEN '2026-12-31 00:00:00'::TIMESTAMP + '1 days'::INTERVAL - '1 seconds'::INTERVAL ELSE cost_history.todate END) OVERLAPS ('2026-05-01 00:00:00'::TIMESTAMP, '2026-12-31 00:00:00'::TIMESTAMP + '1 days'::INTERVAL - '1 seconds'::INTERVAL) AND (cost_history.todate IS NULL OR cost_history.todate > '2026-05-01 00:00:00'::TIMESTAMP) AND TRUE AND cost_history.license = 10100118 AND cost_history.kostenkategorie = AND cost_history.drittmittel = FALSE) UNION (SELECT cost_history.service, ('2026-12-31 00:00:00'::TIMESTAMP + '1 days'::INTERVAL) AS fromdate, todate, cost_history.animal, cost_history.comment, cost_history.deleted, cost_history.invoice, cost_history.amount, cost_history.license, cost_history.kostenstelle_erb, cost_history.drittmittel, cost_history.kostenstelle_anf, cost_history.finanzstelle_anf, cost_history.extern_anf, cost_history.form_text, cost_history.mat_nr, cost_history.kostenkategorie, cost_history.id AS supersedes FROM cost_history INNER JOIN services ON services.id = cost_history.service AND (services.cost_object = 1 OR services.cost_object = 2) INNER JOIN unit_descriptions ON unit_descriptions.id = services.serviceunit WHERE NOT(cost_history.deleted) AND cost_history.invoice IS NULL AND (cost_history.fromdate, CASE WHEN cost_history.todate IS NULL THEN '2026-12-31 00:00:00'::TIMESTAMP + '1 days'::INTERVAL - '1 seconds'::INTERVAL ELSE cost_history.todate END) OVERLAPS ('2026-05-01 00:00:00'::TIMESTAMP, '2026-12-31 00:00:00'::TIMESTAMP + '1 days'::INTERVAL - '1 seconds'::INTERVAL) AND (cost_history.todate IS NULL OR cost_history.todate > ('2026-12-31 00:00:00'::TIMESTAMP + '1 days'::INTERVAL - '1 seconds'::INTERVAL)) AND TRUE AND cost_history.license = 10100118 AND cost_history.kostenkategorie = AND cost_history.drittmittel = FALSE)) data; UPDATE cost_history SET deleted = TRUE FROM (SELECT DISTINCT supersedes AS id FROM cost_history WHERE supersedes IS NOT NULL AND TRUE AND cost_history.license = 10100118 AND cost_history.kostenkategorie = AND cost_history.drittmittel = FALSE) superseded WHERE cost_history.id = superseded.id; COMMIT;
Date: 2026-06-11 10:29:59 Database: zemm_test Application: _desktop_index.php_zemm_test_localhost_5432 User: labanimal Remote: Log file: /var/log/postgresql/postgresql-2026-06-11_000000.csv
Statement: BEGIN; SET TRANSACTION ISOLATION LEVEL SERIALIZABLE; INSERT INTO cost_history (service, fromdate, todate, animal, comment, deleted, invoice, amount, license, kostenstelle_erb, drittmittel, kostenstelle_anf, finanzstelle_anf, extern_anf, form_text, mat_nr, kostenkategorie, supersedes) SELECT * FROM ( (SELECT cost_history.service, fromdate, ('2026-05-01 00:00:00'::TIMESTAMP - '1 seconds'::INTERVAL) AS todate, cost_history.animal, cost_history.comment, cost_history.deleted, cost_history.invoice, cost_history.amount, cost_history.license, cost_history.kostenstelle_erb, cost_history.drittmittel, cost_history.kostenstelle_anf, cost_history.finanzstelle_anf, cost_history.extern_anf, cost_history.form_text, cost_history.mat_nr, cost_history.kostenkategorie, cost_history.id AS supersedes FROM cost_history INNER JOIN services ON services.id = cost_history.service AND (services.cost_object = 1 OR services.cost_object = 2) INNER JOIN unit_descriptions ON unit_descriptions.id = services.serviceunit WHERE NOT(cost_history.deleted) AND cost_history.invoice IS NULL AND cost_history.fromdate < '2026-05-01 00:00:00'::TIMESTAMP AND (cost_history.fromdate, CASE WHEN cost_history.todate IS NULL THEN '2026-12-31 00:00:00'::TIMESTAMP + '1 days'::INTERVAL - '1 seconds'::INTERVAL ELSE cost_history.todate END) OVERLAPS ('2026-05-01 00:00:00'::TIMESTAMP, '2026-12-31 00:00:00'::TIMESTAMP + '1 days'::INTERVAL - '1 seconds'::INTERVAL) AND TRUE AND cost_history.license = 10100118 AND cost_history.kostenkategorie = AND cost_history.drittmittel = FALSE) UNION (SELECT cost_history.service, p_max(fromdate, '2026-05-01 00:00:00'::TIMESTAMP) AS fromdate, p_min(todate, '2026-12-31 00:00:00'::TIMESTAMP + '1 days'::INTERVAL - '1 seconds'::INTERVAL) AS todate, cost_history.animal, cost_history.comment, cost_history.deleted, cost_history.invoice, cost_history.amount, cost_history.license, cost_history.kostenstelle_erb, cost_history.drittmittel, cost_history.kostenstelle_anf, cost_history.finanzstelle_anf, cost_history.extern_anf, cost_history.form_text, cost_history.mat_nr, cost_history.kostenkategorie, cost_history.id AS supersedes FROM cost_history INNER JOIN services ON services.id = cost_history.service AND (services.cost_object = 1 OR services.cost_object = 2) INNER JOIN unit_descriptions ON unit_descriptions.id = services.serviceunit WHERE NOT(cost_history.deleted) AND cost_history.invoice IS NULL AND (cost_history.fromdate, CASE WHEN cost_history.todate IS NULL THEN '2026-12-31 00:00:00'::TIMESTAMP + '1 days'::INTERVAL - '1 seconds'::INTERVAL ELSE cost_history.todate END) OVERLAPS ('2026-05-01 00:00:00'::TIMESTAMP, '2026-12-31 00:00:00'::TIMESTAMP + '1 days'::INTERVAL - '1 seconds'::INTERVAL) AND (cost_history.todate IS NULL OR cost_history.todate > '2026-05-01 00:00:00'::TIMESTAMP) AND TRUE AND cost_history.license = 10100118 AND cost_history.kostenkategorie = AND cost_history.drittmittel = FALSE) UNION (SELECT cost_history.service, ('2026-12-31 00:00:00'::TIMESTAMP + '1 days'::INTERVAL) AS fromdate, todate, cost_history.animal, cost_history.comment, cost_history.deleted, cost_history.invoice, cost_history.amount, cost_history.license, cost_history.kostenstelle_erb, cost_history.drittmittel, cost_history.kostenstelle_anf, cost_history.finanzstelle_anf, cost_history.extern_anf, cost_history.form_text, cost_history.mat_nr, cost_history.kostenkategorie, cost_history.id AS supersedes FROM cost_history INNER JOIN services ON services.id = cost_history.service AND (services.cost_object = 1 OR services.cost_object = 2) INNER JOIN unit_descriptions ON unit_descriptions.id = services.serviceunit WHERE NOT(cost_history.deleted) AND cost_history.invoice IS NULL AND (cost_history.fromdate, CASE WHEN cost_history.todate IS NULL THEN '2026-12-31 00:00:00'::TIMESTAMP + '1 days'::INTERVAL - '1 seconds'::INTERVAL ELSE cost_history.todate END) OVERLAPS ('2026-05-01 00:00:00'::TIMESTAMP, '2026-12-31 00:00:00'::TIMESTAMP + '1 days'::INTERVAL - '1 seconds'::INTERVAL) AND (cost_history.todate IS NULL OR cost_history.todate > ('2026-12-31 00:00:00'::TIMESTAMP + '1 days'::INTERVAL - '1 seconds'::INTERVAL)) AND TRUE AND cost_history.license = 10100118 AND cost_history.kostenkategorie = AND cost_history.drittmittel = FALSE)) data; UPDATE cost_history SET deleted = TRUE FROM (SELECT DISTINCT supersedes AS id FROM cost_history WHERE supersedes IS NOT NULL AND TRUE AND cost_history.license = 10100118 AND cost_history.kostenkategorie = AND cost_history.drittmittel = FALSE) superseded WHERE cost_history.id = superseded.id; COMMIT;
Date: 2026-06-11 10:30:19 Database: zemm_test Application: _desktop_index.php_zemm_test_localhost_5432 User: labanimal Remote: Log file: /var/log/postgresql/postgresql-2026-06-11_000000.csv
Statement: BEGIN; SET TRANSACTION ISOLATION LEVEL SERIALIZABLE; INSERT INTO cost_history (service, fromdate, todate, animal, comment, deleted, invoice, amount, license, kostenstelle_erb, drittmittel, kostenstelle_anf, finanzstelle_anf, extern_anf, form_text, mat_nr, kostenkategorie, supersedes) SELECT * FROM ( (SELECT cost_history.service, fromdate, ('2026-01-01 00:00:00'::TIMESTAMP - '1 seconds'::INTERVAL) AS todate, cost_history.animal, cost_history.comment, cost_history.deleted, cost_history.invoice, cost_history.amount, cost_history.license, cost_history.kostenstelle_erb, cost_history.drittmittel, cost_history.kostenstelle_anf, cost_history.finanzstelle_anf, cost_history.extern_anf, cost_history.form_text, cost_history.mat_nr, cost_history.kostenkategorie, cost_history.id AS supersedes FROM cost_history INNER JOIN services ON services.id = cost_history.service AND (services.cost_object = 1 OR services.cost_object = 2) INNER JOIN unit_descriptions ON unit_descriptions.id = services.serviceunit WHERE NOT(cost_history.deleted) AND cost_history.invoice IS NULL AND cost_history.fromdate < '2026-01-01 00:00:00'::TIMESTAMP AND (cost_history.fromdate, CASE WHEN cost_history.todate IS NULL THEN '2026-01-31 00:00:00'::TIMESTAMP + '1 days'::INTERVAL - '1 seconds'::INTERVAL ELSE cost_history.todate END) OVERLAPS ('2026-01-01 00:00:00'::TIMESTAMP, '2026-01-31 00:00:00'::TIMESTAMP + '1 days'::INTERVAL - '1 seconds'::INTERVAL) AND TRUE AND cost_history.license = 481 AND cost_history.kostenkategorie = AND cost_history.drittmittel = FALSE) UNION (SELECT cost_history.service, p_max(fromdate, '2026-01-01 00:00:00'::TIMESTAMP) AS fromdate, p_min(todate, '2026-01-31 00:00:00'::TIMESTAMP + '1 days'::INTERVAL - '1 seconds'::INTERVAL) AS todate, cost_history.animal, cost_history.comment, cost_history.deleted, cost_history.invoice, cost_history.amount, cost_history.license, cost_history.kostenstelle_erb, cost_history.drittmittel, cost_history.kostenstelle_anf, cost_history.finanzstelle_anf, cost_history.extern_anf, cost_history.form_text, cost_history.mat_nr, cost_history.kostenkategorie, cost_history.id AS supersedes FROM cost_history INNER JOIN services ON services.id = cost_history.service AND (services.cost_object = 1 OR services.cost_object = 2) INNER JOIN unit_descriptions ON unit_descriptions.id = services.serviceunit WHERE NOT(cost_history.deleted) AND cost_history.invoice IS NULL AND (cost_history.fromdate, CASE WHEN cost_history.todate IS NULL THEN '2026-01-31 00:00:00'::TIMESTAMP + '1 days'::INTERVAL - '1 seconds'::INTERVAL ELSE cost_history.todate END) OVERLAPS ('2026-01-01 00:00:00'::TIMESTAMP, '2026-01-31 00:00:00'::TIMESTAMP + '1 days'::INTERVAL - '1 seconds'::INTERVAL) AND (cost_history.todate IS NULL OR cost_history.todate > '2026-01-01 00:00:00'::TIMESTAMP) AND TRUE AND cost_history.license = 481 AND cost_history.kostenkategorie = AND cost_history.drittmittel = FALSE) UNION (SELECT cost_history.service, ('2026-01-31 00:00:00'::TIMESTAMP + '1 days'::INTERVAL) AS fromdate, todate, cost_history.animal, cost_history.comment, cost_history.deleted, cost_history.invoice, cost_history.amount, cost_history.license, cost_history.kostenstelle_erb, cost_history.drittmittel, cost_history.kostenstelle_anf, cost_history.finanzstelle_anf, cost_history.extern_anf, cost_history.form_text, cost_history.mat_nr, cost_history.kostenkategorie, cost_history.id AS supersedes FROM cost_history INNER JOIN services ON services.id = cost_history.service AND (services.cost_object = 1 OR services.cost_object = 2) INNER JOIN unit_descriptions ON unit_descriptions.id = services.serviceunit WHERE NOT(cost_history.deleted) AND cost_history.invoice IS NULL AND (cost_history.fromdate, CASE WHEN cost_history.todate IS NULL THEN '2026-01-31 00:00:00'::TIMESTAMP + '1 days'::INTERVAL - '1 seconds'::INTERVAL ELSE cost_history.todate END) OVERLAPS ('2026-01-01 00:00:00'::TIMESTAMP, '2026-01-31 00:00:00'::TIMESTAMP + '1 days'::INTERVAL - '1 seconds'::INTERVAL) AND (cost_history.todate IS NULL OR cost_history.todate > ('2026-01-31 00:00:00'::TIMESTAMP + '1 days'::INTERVAL - '1 seconds'::INTERVAL)) AND TRUE AND cost_history.license = 481 AND cost_history.kostenkategorie = AND cost_history.drittmittel = FALSE)) data; UPDATE cost_history SET deleted = TRUE FROM (SELECT DISTINCT supersedes AS id FROM cost_history WHERE supersedes IS NOT NULL AND TRUE AND cost_history.license = 481 AND cost_history.kostenkategorie = AND cost_history.drittmittel = FALSE) superseded WHERE cost_history.id = superseded.id; COMMIT;
Date: 2026-06-11 10:31:16 Database: zemm_test Application: _desktop_index.php_zemm_test_localhost_5432 User: labanimal Remote: Log file: /var/log/postgresql/postgresql-2026-06-11_000000.csv
2 3 ERROR: invalid input syntax for type date: ...
Times Reported Most Frequent Error / Event #2
Day Hour Count Jun 11 11 1 14 2 - ERROR: invalid input syntax for type date: ""
- ERROR: invalid input syntax for type date: "2026-065-17"
- ERROR: invalid input syntax for type date: "2026-065-17"
Statement: SELECT DISTINCT licenses.id, licenses.application_id, licenses.title, cost_history.kostenkategorie, cost_history.kostenstelle_anf AS kostenstelle, cost_history.drittmittel, cost_history.finanzstelle_anf AS finanzstelle, cost_history.extern_anf, cost_history.form_text, cost_history.mat_nr, CASE WHEN cost_history.kostenkategorie = 2 AND NOT(cost_history.drittmittel) THEN 1 WHEN cost_history.kostenkategorie = 2 AND cost_history.drittmittel THEN 2 WHEN cost_history.kostenkategorie = 1 THEN 3 WHEN cost_history.kostenkategorie = 3 THEN 4 ELSE 0 END AS mode FROM licenses INNER JOIN cost_history ON cost_history.license = licenses.id LEFT JOIN animals ON animals.id = cost_history.animal WHERE NOT(cost_history.deleted) AND (animals.deleted IS NULL OR NOT(animals.deleted)) AND NOT(licenses.deleted) AND cost_history.invoice IS NULL AND cost_history.fromdate <= ''::DATE AND (cost_history.fromdate, CASE WHEN cost_history.todate IS NULL THEN NOW() ELSE cost_history.todate END) OVERLAPS ('2026-01-01 00:00:00'::TIMESTAMP, (' 00:00:00'::TIMESTAMP + INTERVAL '1 days')) ORDER BY licenses.application_id, cost_history.kostenstelle_anf
Date: 2026-06-11 10:53:29 Database: zemm_test Application: _desktop_index.php_zemm_test_localhost_5432 User: labanimal Remote: Log file: /var/log/postgresql/postgresql-2026-06-11_000000.csv
Statement: Select p_create_litter(12,'2026-065-17'::DATE,'9','2025/002/8580',10291413,'6','2025/002/8062',10290895,9,NULL,NULL,'2026-04-23'::DATE,NULL,NULL)
Date: 2026-06-11 13:43:45 Database: zemm_produktiv_8 Application: _desktop_index.php_zemm_produktiv_8_localhost_5432 User: labanimal Remote: Log file: /var/log/postgresql/postgresql-2026-06-11_000000.csv
Statement: Select p_create_litter(12,'2026-065-17'::DATE,'9','2025/002/8580',10291413,'6','2025/002/8062',10290895,9,NULL,NULL,'2026-04-23'::DATE,NULL,NULL)
Date: 2026-06-11 13:43:55 Database: zemm_produktiv_8 Application: _desktop_index.php_zemm_produktiv_8_localhost_5432 User: labanimal Remote: Log file: /var/log/postgresql/postgresql-2026-06-11_000000.csv
3 3 ERROR: date/time field value out of range: "..."
Times Reported Most Frequent Error / Event #3
Day Hour Count Jun 11 14 3 - ERROR: date/time field value out of range: "2025-14-1"
- ERROR: date/time field value out of range: "2025-14-1"
- ERROR: date/time field value out of range: "25-14-1"
Hint: Perhaps you need a different "DateStyle" setting.
Statement: SELECT p_update_animals(10100134, '10257462', NULL, NULL, NULL, false,NULL, NULL, false, '2025-14-1', NULL, NULL, NULL, NULL, NULL, NULL, false,NULL,NULL,NULL, NULL,NULL,NULL,0);Date: 2026-06-11 13:21:04 Database: zemm_produktiv_8 Application: _desktop_index.php_zemm_produktiv_8_localhost_5432 User: labanimal Remote: Log file: /var/log/postgresql/postgresql-2026-06-11_000000.csv
Hint: Perhaps you need a different "DateStyle" setting.
Statement: SELECT p_update_animals(10100134, '10257462', NULL, NULL, NULL, false,NULL, NULL, false, '2025-14-1', NULL, NULL, NULL, NULL, NULL, NULL, false,NULL,NULL,NULL, NULL,NULL,NULL,0);Date: 2026-06-11 13:22:27 Database: zemm_produktiv_8 Application: _desktop_index.php_zemm_produktiv_8_localhost_5432 User: labanimal Remote: Log file: /var/log/postgresql/postgresql-2026-06-11_000000.csv
Hint: Perhaps you need a different "DateStyle" setting.
Statement: SELECT p_update_animals(10100134, '10260614', NULL, NULL, NULL, false,NULL, NULL, false, '25-14-1', NULL, NULL, NULL, NULL, NULL, NULL, false,NULL,NULL,NULL, NULL,NULL,NULL,0);Date: 2026-06-11 13:28:01 Database: zemm_produktiv_8 Application: _desktop_index.php_zemm_produktiv_8_localhost_5432 User: labanimal Remote: Log file: /var/log/postgresql/postgresql-2026-06-11_000000.csv