-
Global information
- Generated on Thu Apr 30 06:05:08 2026
- Log file: /var/log/postgresql/postgresql-2026-03-25_000000.csv, ..., /var/log/postgresql/postgresql-2026-04-30_000000.csv
- Parsed 204,611 log entries in 5m7s
- Log start from 2026-03-25 00:00:01 to 2026-03-25 23:59:02
-
Overview
Global Stats
- 58 Number of unique normalized queries
- 18,894 Number of queries
- 4h12m40s Total query duration
- 2026-03-25 00:00:01 First query
- 2026-03-25 23:59:01 Last query
- 14 queries/s at 2026-03-25 08:06:01 Query peak
- 4h12m40s Total query duration
- 0ms Prepare/parse total duration
- 0ms Bind total duration
- 4h12m40s Execute total duration
- 57 Number of events
- 3 Number of unique normalized events
- 52 Max number of times the same event was reported
- 0 Number of cancellation
- 118 Total number of automatic vacuums
- 214 Total number of automatic analyzes
- 8 Number temporary file
- 177.22 MiB Max size of temporary file
- 22.67 MiB Average size of temporary file
- 18,200 Total number of sessions
- 8 sessions at 2026-03-25 17:14:16 Session peak
- 9h59m Total duration of sessions
- 1s974ms Average duration of sessions
- 1 Average queries per session
- 833ms Average queries duration per session
- 1s141ms Average idle time per session
- 18,252 Total number of connections
- 44 connections/s at 2026-03-25 17:10:26 Connection peak
- 3 Total number of databases
SQL Traffic
Key values
- 14 queries/s Query Peak
- 2026-03-25 08:06:01 Date
SELECT Traffic
Key values
- 2 queries/s Query Peak
- 2026-03-25 14:41:31 Date
INSERT/UPDATE/DELETE Traffic
Key values
- 13 queries/s Query Peak
- 2026-03-25 21:47:01 Date
Queries duration
Key values
- 4h12m40s 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) Mar 25 00 780 0ms 0ms 0ms 0ms 0ms 0ms 01 781 0ms 941ms 455ms 12s236ms 12s236ms 12s236ms 02 780 941ms 941ms 941ms 12s236ms 12s236ms 12s236ms 03 780 941ms 941ms 941ms 12s236ms 12s236ms 12s236ms 04 780 941ms 941ms 941ms 12s236ms 12s236ms 12s236ms 05 780 941ms 941ms 941ms 12s236ms 12s236ms 12s236ms 06 782 0ms 1s915ms 724ms 12s315ms 12s315ms 12s315ms 07 794 548ms 1s797ms 865ms 12s632ms 23s373ms 27s536ms 08 819 549ms 1s779ms 896ms 22s739ms 24s607ms 25s437ms 09 800 506ms 1s604ms 944ms 18s978ms 18s978ms 22s185ms 10 788 642ms 1s17ms 804ms 12s82ms 12s866ms 14s6ms 11 789 643ms 1s697ms 828ms 22s63ms 22s63ms 22s63ms 12 790 632ms 2s212ms 1s210ms 28s757ms 28s757ms 28s757ms 13 785 569ms 26s992ms 1s922ms 28s757ms 38s703ms 5m55s 14 791 569ms 1s543ms 956ms 20s61ms 20s61ms 21s707ms 15 806 628ms 899ms 705ms 11s541ms 12s305ms 19s227ms 16 782 635ms 692ms 638ms 8s325ms 8s325ms 9s600ms 17 784 633ms 718ms 640ms 8s325ms 8s325ms 11s34ms 18 798 631ms 724ms 639ms 8s374ms 10s929ms 12s336ms 19 780 638ms 638ms 638ms 8s299ms 8s299ms 8s299ms 20 780 638ms 638ms 638ms 8s299ms 8s299ms 8s299ms 21 780 638ms 638ms 638ms 8s299ms 8s299ms 8s299ms 22 780 638ms 638ms 638ms 8s299ms 8s299ms 8s299ms 23 785 548ms 2s113ms 692ms 8s299ms 18s61ms 18s61ms Day Hour SELECT COPY TO Average Duration Latency Percentile(90) Latency Percentile(95) Latency Percentile(99) Mar 25 00 0 0 0ms 0ms 0ms 0ms 01 0 0 0ms 0ms 0ms 0ms 02 0 0 0ms 0ms 0ms 0ms 03 0 0 0ms 0ms 0ms 0ms 04 0 0 0ms 0ms 0ms 0ms 05 0 0 0ms 0ms 0ms 0ms 06 1 0 947ms 0ms 0ms 0ms 07 10 0 853ms 0ms 0ms 1s797ms 08 27 0 742ms 692ms 1s320ms 2s795ms 09 19 0 781ms 0ms 1s60ms 2s643ms 10 8 0 731ms 0ms 0ms 1s341ms 11 8 0 783ms 0ms 0ms 1s896ms 12 9 0 703ms 0ms 0ms 2s680ms 13 5 0 10s974ms 0ms 0ms 25s275ms 14 10 0 700ms 0ms 0ms 1s645ms 15 26 0 817ms 0ms 1s510ms 3s372ms 16 2 0 666ms 0ms 0ms 0ms 17 4 0 677ms 0ms 0ms 0ms 18 18 0 671ms 0ms 0ms 2s706ms 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 1s318ms 0ms 0ms 0ms Day Hour INSERT UPDATE DELETE COPY FROM Average Duration Latency Percentile(90) Latency Percentile(95) Latency Percentile(99) Mar 25 00 0 0 0 0 0ms 0ms 0ms 0ms 01 0 1 0 0 941ms 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 Mar 25 00 0 0 0.00 0.00% 01 0 0 0.00 0.00% 02 0 0 0.00 0.00% 03 0 0 0.00 0.00% 04 0 0 0.00 0.00% 05 0 0 0.00 0.00% 06 0 0 0.00 0.00% 07 0 0 0.00 0.00% 08 0 0 0.00 0.00% 09 0 0 0.00 0.00% 10 0 0 0.00 0.00% 11 0 0 0.00 0.00% 12 0 0 0.00 0.00% 13 0 0 0.00 0.00% 14 0 0 0.00 0.00% 15 0 0 0.00 0.00% 16 0 0 0.00 0.00% 17 0 0 0.00 0.00% 18 0 0 0.00 0.00% 19 0 0 0.00 0.00% 20 0 0 0.00 0.00% 21 0 0 0.00 0.00% 22 0 0 0.00 0.00% 23 0 0 0.00 0.00% Day Hour Count Average / Second Mar 25 00 248 0.07/s 01 247 0.07/s 02 244 0.07/s 03 244 0.07/s 04 244 0.07/s 05 275 0.08/s 06 1,071 0.30/s 07 1,545 0.43/s 08 2,236 0.62/s 09 1,492 0.41/s 10 1,254 0.35/s 11 871 0.24/s 12 1,148 0.32/s 13 1,618 0.45/s 14 1,673 0.46/s 15 607 0.17/s 16 614 0.17/s 17 615 0.17/s 18 426 0.12/s 19 402 0.11/s 20 432 0.12/s 21 255 0.07/s 22 244 0.07/s 23 247 0.07/s Day Hour Count Average Duration Average idle time Mar 25 00 248 286ms 286ms 01 247 293ms 0ms 02 244 293ms 0ms 03 244 297ms 0ms 04 244 296ms 0ms 05 275 268ms 0ms 06 1,069 194ms 0ms 07 1,545 185ms 0ms 08 2,221 181ms 0ms 09 1,492 149ms 0ms 10 1,254 147ms 0ms 11 848 165ms 0ms 12 1,148 161ms 0ms 13 1,618 209ms 0ms 14 1,673 125ms 0ms 15 607 235ms 0ms 16 612 161ms 0ms 17 613 172ms 0ms 18 427 19s185ms 17s991ms 19 405 1m 59s205ms 20 422 200ms 0ms 21 253 279ms 0ms 22 244 289ms 0ms 23 247 341ms 0ms -
Connections
Established Connections
Key values
- 44 connections Connection Peak
- 2026-03-25 17:10:26 Date
Connections per database
Key values
- zemm_monitoring Main Database
- 18,252 connections Total
Connections per user
Key values
- labanimal Main User
- 18,252 connections Total
-
Sessions
Simultaneous sessions
Key values
- 8 sessions Session Peak
- 2026-03-25 17:14:16 Date
Histogram of session times
Key values
- 16,206 0-500ms duration
Sessions per database
Key values
- zemm_monitoring Main Database
- 18,200 sessions Total
Sessions per user
Key values
- labanimal Main User
- 18,200 sessions Total
Sessions per host
Key values
- ::1 Main Host
- 18,200 sessions Total
Sessions per application
Key values
- Main Application
- 18,200 sessions Total
Application Count Total Duration Average Duration 14,187 44m53s 189ms DBeaver 26.0.0 - Main 'zemm_produktiv_7' 2 4h30m34s 2h15m17s DBeaver 26.0.0 - Main 'zemm_produktiv_8' 2 4h30m39s 2h15m19s DBeaver 26.0.0 - Read PostgreSQL database list 1 249ms 249ms _backend_wean_api.php_litter_id_10131301_zemm_produktiv_8_local 2 276ms 138ms _backend_wean_api.php_litter_id_10131472_zemm_produktiv_8_local 2 283ms 141ms _backend_wean_api.php_litter_id_10131505_zemm_produktiv_8_local 2 280ms 140ms _backend_wean_api.php_litter_id_10131506_zemm_produktiv_8_local 11 1s525ms 138ms _backend_wean_api.php_litter_id_10131507_zemm_produktiv_8_local 2 280ms 140ms _backend_wean_api.php_litter_id_10131515_zemm_produktiv_8_local 2 282ms 141ms _backend_wean_api.php_litter_id_10131516_zemm_produktiv_8_local 2 279ms 139ms _backend_wean_api.php_litter_id_10131517_zemm_produktiv_8_local 2 278ms 139ms _backend_wean_api.php_litter_id_10131561_zemm_produktiv_8_local 2 280ms 140ms _backend_wean_api.php_litter_id_10131592_zemm_produktiv_8_local 2 278ms 139ms _backend_wean_api.php_litter_id_10131605_zemm_produktiv_8_local 4 562ms 140ms _backend_wean_api.php_litter_id_10131667_zemm_produktiv_8_local 3 416ms 138ms _backend_wean_api.php_litter_id_10131668_zemm_produktiv_8_local 2 280ms 140ms _backend_wean_api.php_litter_id_10131696_zemm_produktiv_8_local 2 282ms 141ms _backend_wean_api.php_litter_id_10131724_zemm_produktiv_8_local 6 841ms 140ms _backend_wean_api.php_litter_id_10131785_zemm_produktiv_8_local 2 281ms 140ms _backend_wean_api.php_litter_id_10131801_zemm_produktiv_8_local 3 420ms 140ms _backend_wean_api.php_litter_id_10131806_zemm_produktiv_8_local 2 282ms 141ms _backend_wean_api.php_litter_id_10131822_zemm_produktiv_8_local 2 282ms 141ms _backend_wean_api.php_litter_id_10131853_zemm_produktiv_8_local 2 276ms 138ms _backend_wean_api.php_litter_id_10131859_zemm_produktiv_8_local 2 280ms 140ms _backend_wean_api.php_litter_id_10131872_zemm_produktiv_8_local 4 566ms 141ms _backend_wean_api.php_litter_id_10131873_zemm_produktiv_8_local 2 276ms 138ms _backend_wean_api.php_litter_id_10131884_zemm_produktiv_8_local 2 277ms 138ms _backend_wean_api.php_litter_id_10131885_zemm_produktiv_8_local 2 276ms 138ms _desktop__zemm_produktiv_8_localhost_5432 12 803ms 66ms _desktop_index.php_cage_name_48_2A_bday_to_2026-03-18_unweaned_ 1 120ms 120ms _desktop_index.php_cage_name_51-502_current_only__25_val4_anima 1 1s737ms 1s737ms _desktop_index.php_cage_name_51_2A_breeding_date_2026-03-18_cur 2 209ms 104ms _desktop_index.php_cages_empty__25_val4_cages_search_command_do 1 43ms 43ms _desktop_index.php_cages_name_49-2_2A_cages_empty__25_val4_cage 8 1s651ms 206ms _desktop_index.php_cages_name_51-4_2A_cages_empty_false_val4_ca 1 294ms 294ms _desktop_index.php_cages_name_A15_cages_empty__25_val4_cages_se 1 56ms 56ms _desktop_index.php_cages_name__2A28_cages_empty__25_val4_cages_ 1 50ms 50ms _desktop_index.php_command_animals_breedings_subcommand_init_ze 1 43ms 43ms _desktop_index.php_command_animals_edit_subcommand_init_id_1028 4 464ms 116ms _desktop_index.php_command_animals_edit_subcommand_init_id_1029 4 445ms 111ms _desktop_index.php_command_animals_edit_subcommand_init_id_1030 1 101ms 101ms _desktop_index.php_command_animals_litters_create_subcommand_se 1 174ms 174ms _desktop_index.php_command_animals_litters_edit_subcommand_init 1 100ms 100ms _desktop_index.php_command_animals_subcommand_init_zemm_produkt 23 1s30ms 44ms _desktop_index.php_command_cages_edit_subcommand_init_id_7825_z 1 70ms 70ms _desktop_index.php_command_cages_subcommand_init_zemm_produktiv 1 43ms 43ms _desktop_index.php_command_documents_subcommand_init_zemm_produ 2 84ms 42ms _desktop_index.php_command_home_subcommand_init_zemm_produktiv_ 1 101ms 101ms _desktop_index.php_command_login_subcommand_init_zemm_produktiv 280 8s654ms 30ms _desktop_index.php_command_reports_subcommand_animals_per_room_ 1 127ms 127ms _desktop_index.php_command_reports_subcommand_animals_per_user_ 16 1s750ms 109ms _desktop_index.php_command_reports_subcommand_init_zemm_produkt 1 125ms 125ms _desktop_index.php_command_tasks_subcommand_edit_id_10141630_ze 1 86ms 86ms _desktop_index.php_command_tasks_subcommand_edit_id_10141681_ze 1 85ms 85ms _desktop_index.php_command_tasks_subcommand_edit_id_10141770_ze 1 86ms 86ms _desktop_index.php_command_tasks_subcommand_edit_id_10141771_ze 2 160ms 80ms _desktop_index.php_command_tasks_subcommand_edit_id_10141779_ze 1 85ms 85ms _desktop_index.php_command_tasks_subcommand_edit_id_10141780_ze 2 166ms 83ms _desktop_index.php_command_tasks_subcommand_edit_id_10141781_ze 1 86ms 86ms _desktop_index.php_command_tasks_subcommand_edit_id_10141822_ze 3 250ms 83ms _desktop_index.php_command_tasks_subcommand_edit_id_10141863_ze 1 83ms 83ms _desktop_index.php_command_tasks_subcommand_edit_id_10141877_ze 1 84ms 84ms _desktop_index.php_command_tasks_subcommand_edit_id_10141878_ze 2 170ms 85ms _desktop_index.php_command_tasks_subcommand_open_zemm_produktiv 115 10s80ms 87ms _desktop_index.php_command_tasks_subcommand_search_zemm_produkt 1 44ms 44ms _desktop_index.php_command_users_subcommand_create_zemm_produkt 4 263ms 65ms _desktop_index.php_dam_id_2025_2F003_2F0773_current_only__25_va 1 773ms 773ms _desktop_index.php_m_action_animals_3Am_delete_row_animals_1026 1 34ms 34ms _desktop_index.php_m_action_animals_edit_3Alink_init_row_animal 5 226ms 45ms _desktop_index.php_m_action_animals_edit_3Alink_init_val4_repla 1 45ms 45ms _desktop_index.php_name_Abt_C3_B6ten_20alter_20Zuchtpaare_2048_ 1 64ms 64ms _desktop_index.php_name_Tiertransport_20durch_20das_20ZEMM_inst 3 192ms 64ms _desktop_index.php_name_Tiertransport_20innerhalb_20W_C3_BCrzbu 1 43ms 43ms _desktop_index.php_name_VP_20von_20..._20bis_20..._20Emx1GCaMP6 1 66ms 66ms _desktop_index.php_name_VP_20von_20..._20bis_20..._20Ntsr1Tomat 1 63ms 63ms _desktop_index.php_name_VP_20von_20..._20bis_20..._20SOM_GCaMP8 1 60ms 60ms _desktop_index.php_name_VP_20von_20..._20bis_20..._20SOM_Ribo_i 2 170ms 85ms _desktop_index.php_name_Verpaarungen_20zur_20Zucht_Tet2_instruc 1 62ms 62ms _desktop_index.php_view_animal_name_on_view_animal_id_on_animal 1 269ms 269ms _desktop_index.php_view_animal_name_on_view_animal_id_on_breedi 5 5s773ms 1s154ms _desktop_index.php_view_animal_name_on_view_animal_id_on_view_b 24 6s843ms 285ms _desktop_index.php_zemm_produktiv_7_localhost_5432 36 6s24ms 167ms _desktop_index.php_zemm_produktiv_8_localhost_5432 3,241 11m25s 211ms backend:zemm_produktiv_8@localhost 58 3s396ms 58ms expire_tasks:zemm_produktiv_8@h2940066.stratoserver.net:5432 1 957ms 957ms pg_dump 1 13s533ms 13s533ms psql 3 18ms 6ms taskscron:zemm_produktiv_7@zemm.fbiscience.eu 24 637ms 26ms taskscron:zemm_produktiv_8@h2940066.stratoserver.net:5432 24 8s306ms 346ms -
Checkpoints / Restartpoints
Checkpoints Buffers
Key values
- 18,543 buffers Checkpoint Peak
- 2026-03-25 01:35:30 Date
- 270.037 seconds Highest write time
- 0.042 seconds Sync time
Checkpoints Wal files
Key values
- 16 files Wal files usage Peak
- 2026-03-25 09:37:31 Date
Checkpoints distance
Key values
- 529.38 Mo Distance Peak
- 2026-03-25 09:37:31 Date
Checkpoints Activity
↑ Back to the top of the Checkpoint Activity tableDay Hour Written buffers Write time Sync time Total time Mar 25 00 2,055 206.093s 0.068s 206.219s 01 20,506 466.008s 0.076s 466.134s 02 1,994 200.011s 0.081s 200.147s 03 2,018 202.416s 0.073s 202.549s 04 2,037 204.328s 0.074s 204.453s 05 2,274 228.044s 0.073s 228.179s 06 18,100 734.118s 0.201s 734.378s 07 31,538 1,020.498s 0.237s 1,020.798s 08 50,144 1,473.222s 0.258s 1,473.549s 09 32,605 1,093.411s 0.184s 1,093.663s 10 19,962 927.865s 0.201s 928.134s 11 16,718 616.963s 0.152s 617.173s 12 18,435 788.134s 0.196s 788.394s 13 22,325 1,285.485s 0.204s 1,285.754s 14 21,587 996.112s 0.202s 996.375s 15 5,587 532.484s 0.122s 532.669s 16 2,836 284.497s 0.12s 284.674s 17 6,122 560.532s 0.118s 560.704s 18 2,610 261.812s 0.099s 261.965s 19 3,067 307.624s 0.115s 307.793s 20 3,137 314.307s 0.103s 314.466s 21 2,040 204.663s 0.073s 204.79s 22 2,244 225.099s 0.073s 225.224s 23 2,198 220.487s 0.074s 220.618s Day Hour Added Removed Recycled Synced files Longest sync Average sync Mar 25 00 0 0 1 338 0.001s 0.012s 01 0 0 8 346 0.002s 0.011s 02 0 0 0 344 0.002s 0.012s 03 0 0 1 342 0.002s 0.012s 04 0 0 1 340 0.002s 0.012s 05 0 0 1 358 0.003s 0.012s 06 0 0 5 1,059 0.004s 0.013s 07 0 0 12 1,212 0.005s 0.011s 08 0 0 21 1,494 0.003s 0.011s 09 0 0 25 1,051 0.002s 0.011s 10 0 0 10 1,110 0.002s 0.013s 11 0 0 4 822 0.003s 0.012s 12 0 0 5 1,140 0.002s 0.012s 13 0 0 9 1,197 0.002s 0.012s 14 0 0 5 1,155 0.002s 0.012s 15 0 0 1 589 0.004s 0.012s 16 0 0 1 648 0.002s 0.012s 17 0 0 2 583 0.007s 0.012s 18 0 0 1 503 0.002s 0.012s 19 0 0 1 613 0.002s 0.012s 20 0 0 1 517 0.002s 0.012s 21 0 0 1 351 0.001s 0.012s 22 0 0 0 345 0.001s 0.012s 23 0 0 1 360 0.002s 0.012s Day Hour Count Avg time (sec) Mar 25 00 0 0s 01 0 0s 02 0 0s 03 0 0s 04 0 0s 05 0 0s 06 0 0s 07 0 0s 08 0 0s 09 0 0s 10 0 0s 11 0 0s 12 0 0s 13 0 0s 14 0 0s 15 0 0s 16 0 0s 17 0 0s 18 0 0s 19 0 0s 20 0 0s 21 0 0s 22 0 0s 23 0 0s Day Hour Mean distance Mean estimate Mar 25 00 1,053.75 kB 1,294.58 kB 01 11,327.64 kB 42,746.64 kB 02 1,038.00 kB 40,572.42 kB 03 1,037.58 kB 12,202.17 kB 04 1,025.33 kB 4,185.00 kB 05 1,080.33 kB 1,950.00 kB 06 6,526.23 kB 11,292.00 kB 07 18,776.27 kB 68,878.82 kB 08 30,141.09 kB 79,096.55 kB 09 38,150.36 kB 134,682.36 kB 10 11,852.54 kB 102,435.69 kB 11 6,160.75 kB 37,897.50 kB 12 6,585.50 kB 39,474.08 kB 13 11,494.00 kB 35,857.58 kB 14 7,607.92 kB 26,932.25 kB 15 1,794.17 kB 23,815.83 kB 16 1,226.33 kB 7,700.67 kB 17 2,503.67 kB 9,693.58 kB 18 1,177.50 kB 4,275.92 kB 19 1,271.00 kB 2,078.58 kB 20 1,264.25 kB 1,559.42 kB 21 1,021.92 kB 1,797.50 kB 22 1,060.58 kB 1,345.92 kB 23 1,044.25 kB 1,170.75 kB -
Temporary Files
Size of temporary files
Key values
- 177.22 MiB Temp Files size Peak
- 2026-03-25 13:36:19 Date
Number of temporary files
Key values
- 1 per second Temp Files Peak
- 2026-03-25 15:09:27 Date
Temporary Files Activity
↑ Back to the top of the Temporary Files Activity tableDay Hour Count Total size Average size Mar 25 00 0 0 0 01 0 0 0 02 0 0 0 03 0 0 0 04 0 0 0 05 0 0 0 06 0 0 0 07 0 0 0 08 0 0 0 09 0 0 0 10 0 0 0 11 0 0 0 12 0 0 0 13 1 177.22 MiB 177.22 MiB 14 0 0 0 15 7 4.12 MiB 602.29 KiB 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 Queries generating the most temporary files (N)
Rank Count Total size Min size Max size Avg size Query 1 5 3.71 MiB 760.00 KiB 760.00 KiB 760.00 KiB select distinct * from ( select animals_search_mview.*, b.unbreeding_date, fates.loc as fate_name, user_is_tgm (animals_search_mview.owner, ?) as is_owner, user_is_tgm (animals_search_mview.editor, ?) as is_editor, user_is_tgm (animals_search_mview.tourist, ?) as is_tourist, strains.cancel_criteria, strains.symtoms, strains.reduce_severity_by, strains.sym_immune, strains.deleted as straindeleted, string_agg(l."application_id" || ? || l."title" || ? || date(lh."timestamp")::varchar, ?) as licensehistory, case when not exists ( select ? from scoresheet_diary sd where sd.animals_id = animals_search_mview.id) then ? else ? end as isscored from animals_search_mview inner join fates on fates.id = animals_search_mview.fate left join strains on strains.name = animals_search_mview.strain left join license_history lh on lh.anid = animals_search_mview.id left join licenses l on l.id = lh.licid left join breedings b on b.id = animals_search_mview.last_mating group by animals_search_mview.id, b.unbreeding_date, fates.loc, strains.cancel_criteria, strains.symtoms, strains.reduce_severity_by, strains.sym_immune, straindeleted) data where data.outgoing_date >= ? and data.outgoing_date <= ? and data.deleted = ? and (is_owner or is_editor or is_tourist) and (data.straindeleted = ? or data.straindeleted is null) order by data.cage_name, data.animal_id, data.name;-
SELECT DISTINCT * FROM ( SELECT animals_search_mview.*, b.unbreeding_date, fates.loc AS fate_name, user_is_tgm (animals_search_mview.owner, 559) AS is_owner, user_is_tgm (animals_search_mview.editor, 559) AS is_editor, user_is_tgm (animals_search_mview.tourist, 559) AS is_tourist, strains.cancel_criteria, strains.symtoms, strains.reduce_severity_by, strains.sym_immune, strains.deleted as straindeleted, STRING_AGG(l."application_id" || ':' || l."title" || ' - ' || Date(lh."timestamp")::varchar, '; ') AS licensehistory, CASE WHEN NOT EXISTS ( SELECT 1 FROM scoresheet_diary sd WHERE sd.animals_id = animals_search_mview.id) THEN 'f' ELSE 't' END AS isscored FROM animals_search_mview INNER JOIN fates ON fates.id = animals_search_mview.fate LEFT JOIN strains ON strains.name = animals_search_mview.strain LEFT JOIN license_history lh ON lh.anid = animals_search_mview.id LEFT JOIN licenses l ON l.id = lh.licid left join breedings b ON b.id = animals_search_mview.last_mating GROUP BY animals_search_mview.id, b.unbreeding_date, fates.loc, strains.cancel_criteria, strains.symtoms, strains.reduce_severity_by, strains.sym_immune, straindeleted) data WHERE data.outgoing_date >= '2025-01-01' AND data.outgoing_date <= '2025-12-31' AND data.deleted = 'f' AND (is_owner OR is_editor OR is_tourist) and (data.straindeleted = 'f' or data.straindeleted is null) ORDER BY data.cage_name, data.animal_id, data.name;
Date: 2026-03-25 15:03:41 Duration: 818ms Database: zemm_produktiv_8 User: labanimal Application: _desktop_index.php_zemm_produktiv_8_localhost_5432 Log file: /var/log/postgresql/postgresql-2026-03-25_063758.csv
-
SELECT DISTINCT * FROM ( SELECT animals_search_mview.*, b.unbreeding_date, fates.loc AS fate_name, user_is_tgm (animals_search_mview.owner, 559) AS is_owner, user_is_tgm (animals_search_mview.editor, 559) AS is_editor, user_is_tgm (animals_search_mview.tourist, 559) AS is_tourist, strains.cancel_criteria, strains.symtoms, strains.reduce_severity_by, strains.sym_immune, strains.deleted as straindeleted, STRING_AGG(l."application_id" || ':' || l."title" || ' - ' || Date(lh."timestamp")::varchar, '; ') AS licensehistory, CASE WHEN NOT EXISTS ( SELECT 1 FROM scoresheet_diary sd WHERE sd.animals_id = animals_search_mview.id) THEN 'f' ELSE 't' END AS isscored FROM animals_search_mview INNER JOIN fates ON fates.id = animals_search_mview.fate LEFT JOIN strains ON strains.name = animals_search_mview.strain LEFT JOIN license_history lh ON lh.anid = animals_search_mview.id LEFT JOIN licenses l ON l.id = lh.licid left join breedings b ON b.id = animals_search_mview.last_mating GROUP BY animals_search_mview.id, b.unbreeding_date, fates.loc, strains.cancel_criteria, strains.symtoms, strains.reduce_severity_by, strains.sym_immune, straindeleted) data WHERE data.outgoing_date >= '2025-01-01' AND data.outgoing_date <= '2025-12-31' AND data.deleted = 'f' AND (is_owner OR is_editor OR is_tourist) and (data.straindeleted = 'f' or data.straindeleted is null) ORDER BY data.cage_name, data.animal_id, data.name;
Date: 2026-03-25 15:09:27 Duration: 797ms Database: zemm_produktiv_8 User: labanimal Application: _desktop_index.php_view_animal_name_on_view_animal_id_on_breedi Log file: /var/log/postgresql/postgresql-2026-03-25_063758.csv
-
SELECT DISTINCT * FROM ( SELECT animals_search_mview.*, b.unbreeding_date, fates.loc AS fate_name, user_is_tgm (animals_search_mview.owner, 559) AS is_owner, user_is_tgm (animals_search_mview.editor, 559) AS is_editor, user_is_tgm (animals_search_mview.tourist, 559) AS is_tourist, strains.cancel_criteria, strains.symtoms, strains.reduce_severity_by, strains.sym_immune, strains.deleted as straindeleted, STRING_AGG(l."application_id" || ':' || l."title" || ' - ' || Date(lh."timestamp")::varchar, '; ') AS licensehistory, CASE WHEN NOT EXISTS ( SELECT 1 FROM scoresheet_diary sd WHERE sd.animals_id = animals_search_mview.id) THEN 'f' ELSE 't' END AS isscored FROM animals_search_mview INNER JOIN fates ON fates.id = animals_search_mview.fate LEFT JOIN strains ON strains.name = animals_search_mview.strain LEFT JOIN license_history lh ON lh.anid = animals_search_mview.id LEFT JOIN licenses l ON l.id = lh.licid left join breedings b ON b.id = animals_search_mview.last_mating GROUP BY animals_search_mview.id, b.unbreeding_date, fates.loc, strains.cancel_criteria, strains.symtoms, strains.reduce_severity_by, strains.sym_immune, straindeleted) data WHERE data.outgoing_date >= '2025-01-01' AND data.outgoing_date <= '2025-12-31' AND data.deleted = 'f' AND (is_owner OR is_editor OR is_tourist) and (data.straindeleted = 'f' or data.straindeleted is null) ORDER BY data.cage_name, data.animal_id, data.name;
Date: 2026-03-25 15:03:37 Duration: 790ms Database: zemm_produktiv_8 User: labanimal Application: _desktop_index.php_zemm_produktiv_8_localhost_5432 Log file: /var/log/postgresql/postgresql-2026-03-25_063758.csv
2 2 416.00 KiB 208.00 KiB 208.00 KiB 208.00 KiB select distinct * from ( select animals_search_mview.*, b.unbreeding_date, fates.loc as fate_name, user_is_tgm (animals_search_mview.owner, ?) as is_owner, user_is_tgm (animals_search_mview.editor, ?) as is_editor, user_is_tgm (animals_search_mview.tourist, ?) as is_tourist, strains.cancel_criteria, strains.symtoms, strains.reduce_severity_by, strains.sym_immune, strains.deleted as straindeleted, string_agg(l."application_id" || ? || l."title" || ? || date(lh."timestamp")::varchar, ?) as licensehistory, case when not exists ( select ? from scoresheet_diary sd where sd.animals_id = animals_search_mview.id) then ? else ? end as isscored from animals_search_mview inner join fates on fates.id = animals_search_mview.fate left join strains on strains.name = animals_search_mview.strain left join license_history lh on lh.anid = animals_search_mview.id left join licenses l on l.id = lh.licid left join breedings b on b.id = animals_search_mview.last_mating group by animals_search_mview.id, b.unbreeding_date, fates.loc, strains.cancel_criteria, strains.symtoms, strains.reduce_severity_by, strains.sym_immune, straindeleted) data where data.death_date >= ? and data.death_date <= ? and data.deleted = ? and (is_owner or is_editor or is_tourist) and (data.straindeleted = ? or data.straindeleted is null) order by data.cage_name, data.animal_id, data.name;-
SELECT DISTINCT * FROM ( SELECT animals_search_mview.*, b.unbreeding_date, fates.loc AS fate_name, user_is_tgm (animals_search_mview.owner, 559) AS is_owner, user_is_tgm (animals_search_mview.editor, 559) AS is_editor, user_is_tgm (animals_search_mview.tourist, 559) AS is_tourist, strains.cancel_criteria, strains.symtoms, strains.reduce_severity_by, strains.sym_immune, strains.deleted as straindeleted, STRING_AGG(l."application_id" || ':' || l."title" || ' - ' || Date(lh."timestamp")::varchar, '; ') AS licensehistory, CASE WHEN NOT EXISTS ( SELECT 1 FROM scoresheet_diary sd WHERE sd.animals_id = animals_search_mview.id) THEN 'f' ELSE 't' END AS isscored FROM animals_search_mview INNER JOIN fates ON fates.id = animals_search_mview.fate LEFT JOIN strains ON strains.name = animals_search_mview.strain LEFT JOIN license_history lh ON lh.anid = animals_search_mview.id LEFT JOIN licenses l ON l.id = lh.licid left join breedings b ON b.id = animals_search_mview.last_mating GROUP BY animals_search_mview.id, b.unbreeding_date, fates.loc, strains.cancel_criteria, strains.symtoms, strains.reduce_severity_by, strains.sym_immune, straindeleted) data WHERE data.death_date >= '2025-01-01' AND data.death_date <= '2025-12-31' AND data.deleted = 'f' AND (is_owner OR is_editor OR is_tourist) and (data.straindeleted = 'f' or data.straindeleted is null) ORDER BY data.cage_name, data.animal_id, data.name;
Date: 2026-03-25 15:10:06 Duration: 728ms Database: zemm_produktiv_8 User: labanimal Application: _desktop_index.php_zemm_produktiv_8_localhost_5432 Log file: /var/log/postgresql/postgresql-2026-03-25_063758.csv
-
SELECT DISTINCT * FROM ( SELECT animals_search_mview.*, b.unbreeding_date, fates.loc AS fate_name, user_is_tgm (animals_search_mview.owner, 559) AS is_owner, user_is_tgm (animals_search_mview.editor, 559) AS is_editor, user_is_tgm (animals_search_mview.tourist, 559) AS is_tourist, strains.cancel_criteria, strains.symtoms, strains.reduce_severity_by, strains.sym_immune, strains.deleted as straindeleted, STRING_AGG(l."application_id" || ':' || l."title" || ' - ' || Date(lh."timestamp")::varchar, '; ') AS licensehistory, CASE WHEN NOT EXISTS ( SELECT 1 FROM scoresheet_diary sd WHERE sd.animals_id = animals_search_mview.id) THEN 'f' ELSE 't' END AS isscored FROM animals_search_mview INNER JOIN fates ON fates.id = animals_search_mview.fate LEFT JOIN strains ON strains.name = animals_search_mview.strain LEFT JOIN license_history lh ON lh.anid = animals_search_mview.id LEFT JOIN licenses l ON l.id = lh.licid left join breedings b ON b.id = animals_search_mview.last_mating GROUP BY animals_search_mview.id, b.unbreeding_date, fates.loc, strains.cancel_criteria, strains.symtoms, strains.reduce_severity_by, strains.sym_immune, straindeleted) data WHERE data.death_date >= '2025-01-01' AND data.death_date <= '2025-12-31' AND data.deleted = 'f' AND (is_owner OR is_editor OR is_tourist) and (data.straindeleted = 'f' or data.straindeleted is null) ORDER BY data.cage_name, data.animal_id, data.name;
Date: 2026-03-25 15:13:18 Duration: 708ms Database: zemm_produktiv_8 User: labanimal Application: _desktop_index.php_zemm_produktiv_8_localhost_5432 Log file: /var/log/postgresql/postgresql-2026-03-25_063758.csv
-
SELECT DISTINCT * FROM ( SELECT animals_search_mview.*, b.unbreeding_date, fates.loc AS fate_name, user_is_tgm (animals_search_mview.owner, 559) AS is_owner, user_is_tgm (animals_search_mview.editor, 559) AS is_editor, user_is_tgm (animals_search_mview.tourist, 559) AS is_tourist, strains.cancel_criteria, strains.symtoms, strains.reduce_severity_by, strains.sym_immune, strains.deleted as straindeleted, STRING_AGG(l."application_id" || ':' || l."title" || ' - ' || Date(lh."timestamp")::varchar, '; ') AS licensehistory, CASE WHEN NOT EXISTS ( SELECT 1 FROM scoresheet_diary sd WHERE sd.animals_id = animals_search_mview.id) THEN 'f' ELSE 't' END AS isscored FROM animals_search_mview INNER JOIN fates ON fates.id = animals_search_mview.fate LEFT JOIN strains ON strains.name = animals_search_mview.strain LEFT JOIN license_history lh ON lh.anid = animals_search_mview.id LEFT JOIN licenses l ON l.id = lh.licid left join breedings b ON b.id = animals_search_mview.last_mating GROUP BY animals_search_mview.id, b.unbreeding_date, fates.loc, strains.cancel_criteria, strains.symtoms, strains.reduce_severity_by, strains.sym_immune, straindeleted) data WHERE data.death_date >= '2025-01-01' AND data.death_date <= '2025-12-31' AND data.deleted = 'f' AND (is_owner OR is_editor OR is_tourist) and (data.straindeleted = 'f' or data.straindeleted is null) ORDER BY data.cage_name, data.animal_id, data.name;
Date: 2026-03-25 15:10:06 Duration: 0ms Database: zemm_produktiv_8 User: labanimal Application: _desktop_index.php_zemm_produktiv_8_localhost_5432
3 1 177.22 MiB 177.22 MiB 177.22 MiB 177.22 MiB select distinct * from ( select animals_search_mview.*, b.unbreeding_date, fates.loc as fate_name, user_is_tgm (animals_search_mview.owner, ?) as is_owner, user_is_tgm (animals_search_mview.editor, ?) as is_editor, user_is_tgm (animals_search_mview.tourist, ?) as is_tourist, strains.cancel_criteria, strains.symtoms, strains.reduce_severity_by, strains.sym_immune, strains.deleted as straindeleted, string_agg(l."application_id" || ? || l."title" || ? || date(lh."timestamp")::varchar, ?) as licensehistory, case when not exists ( select ? from scoresheet_diary sd where sd.animals_id = animals_search_mview.id) then ? else ? end as isscored from animals_search_mview inner join fates on fates.id = animals_search_mview.fate left join strains on strains.name = animals_search_mview.strain left join license_history lh on lh.anid = animals_search_mview.id left join licenses l on l.id = lh.licid left join breedings b on b.id = animals_search_mview.last_mating group by animals_search_mview.id, b.unbreeding_date, fates.loc, strains.cancel_criteria, strains.symtoms, strains.reduce_severity_by, strains.sym_immune, straindeleted) data where data.deleted = ? and (is_owner or is_editor or is_tourist) and (data.straindeleted = ? or data.straindeleted is null) order by data.cage_name, data.animal_id, data.name;-
SELECT DISTINCT * FROM ( SELECT animals_search_mview.*, b.unbreeding_date, fates.loc AS fate_name, user_is_tgm (animals_search_mview.owner, 516) AS is_owner, user_is_tgm (animals_search_mview.editor, 516) AS is_editor, user_is_tgm (animals_search_mview.tourist, 516) AS is_tourist, strains.cancel_criteria, strains.symtoms, strains.reduce_severity_by, strains.sym_immune, strains.deleted as straindeleted, STRING_AGG(l."application_id" || ':' || l."title" || ' - ' || Date(lh."timestamp")::varchar, '; ') AS licensehistory, CASE WHEN NOT EXISTS ( SELECT 1 FROM scoresheet_diary sd WHERE sd.animals_id = animals_search_mview.id) THEN 'f' ELSE 't' END AS isscored FROM animals_search_mview INNER JOIN fates ON fates.id = animals_search_mview.fate LEFT JOIN strains ON strains.name = animals_search_mview.strain LEFT JOIN license_history lh ON lh.anid = animals_search_mview.id LEFT JOIN licenses l ON l.id = lh.licid left join breedings b ON b.id = animals_search_mview.last_mating GROUP BY animals_search_mview.id, b.unbreeding_date, fates.loc, strains.cancel_criteria, strains.symtoms, strains.reduce_severity_by, strains.sym_immune, straindeleted) data WHERE data.deleted = 'f' AND (is_owner OR is_editor OR is_tourist) and (data.straindeleted = 'f' or data.straindeleted is null) ORDER BY data.cage_name, data.animal_id, data.name;
Date: 2026-03-25 13:36:19 Duration: 26s992ms Database: zemm_produktiv_8 User: labanimal Application: _desktop_index.php_zemm_produktiv_8_localhost_5432 Log file: /var/log/postgresql/postgresql-2026-03-25_063758.csv
-
SELECT DISTINCT * FROM ( SELECT animals_search_mview.*, b.unbreeding_date, fates.loc AS fate_name, user_is_tgm (animals_search_mview.owner, 516) AS is_owner, user_is_tgm (animals_search_mview.editor, 516) AS is_editor, user_is_tgm (animals_search_mview.tourist, 516) AS is_tourist, strains.cancel_criteria, strains.symtoms, strains.reduce_severity_by, strains.sym_immune, strains.deleted as straindeleted, STRING_AGG(l."application_id" || ':' || l."title" || ' - ' || Date(lh."timestamp")::varchar, '; ') AS licensehistory, CASE WHEN NOT EXISTS ( SELECT 1 FROM scoresheet_diary sd WHERE sd.animals_id = animals_search_mview.id) THEN 'f' ELSE 't' END AS isscored FROM animals_search_mview INNER JOIN fates ON fates.id = animals_search_mview.fate LEFT JOIN strains ON strains.name = animals_search_mview.strain LEFT JOIN license_history lh ON lh.anid = animals_search_mview.id LEFT JOIN licenses l ON l.id = lh.licid left join breedings b ON b.id = animals_search_mview.last_mating GROUP BY animals_search_mview.id, b.unbreeding_date, fates.loc, strains.cancel_criteria, strains.symtoms, strains.reduce_severity_by, strains.sym_immune, straindeleted) data WHERE data.deleted = 'f' AND (is_owner OR is_editor OR is_tourist) and (data.straindeleted = 'f' or data.straindeleted is null) ORDER BY data.cage_name, data.animal_id, data.name;
Date: 2026-03-25 13:36:19 Duration: 0ms Database: zemm_produktiv_8 User: labanimal Application: _desktop_index.php_zemm_produktiv_8_localhost_5432
Queries generating the largest temporary files
Rank Size Query 1 177.22 MiB SELECT DISTINCT * FROM ( SELECT animals_search_mview.*, b.unbreeding_date, fates.loc AS fate_name, user_is_tgm (animals_search_mview.owner, 516) AS is_owner, user_is_tgm (animals_search_mview.editor, 516) AS is_editor, user_is_tgm (animals_search_mview.tourist, 516) AS is_tourist, strains.cancel_criteria, strains.symtoms, strains.reduce_severity_by, strains.sym_immune, strains.deleted as straindeleted, STRING_AGG(l."application_id" || ':' || l."title" || ' - ' || Date(lh."timestamp")::varchar, '; ') AS licensehistory, CASE WHEN NOT EXISTS ( SELECT 1 FROM scoresheet_diary sd WHERE sd.animals_id = animals_search_mview.id) THEN 'f' ELSE 't' END AS isscored FROM animals_search_mview INNER JOIN fates ON fates.id = animals_search_mview.fate LEFT JOIN strains ON strains.name = animals_search_mview.strain LEFT JOIN license_history lh ON lh.anid = animals_search_mview.id LEFT JOIN licenses l ON l.id = lh.licid left join breedings b ON b.id = animals_search_mview.last_mating GROUP BY animals_search_mview.id, b.unbreeding_date, fates.loc, strains.cancel_criteria, strains.symtoms, strains.reduce_severity_by, strains.sym_immune, straindeleted) data WHERE data.deleted = 'f' AND (is_owner OR is_editor OR is_tourist) and (data.straindeleted = 'f' or data.straindeleted is null) ORDER BY data.cage_name, data.animal_id, data.name;[ Date: 2026-03-25 13:36:19 - Database: zemm_produktiv_8 - User: labanimal - Application: _desktop_index.php_zemm_produktiv_8_localhost_5432 ]
2 760.00 KiB SELECT DISTINCT * FROM ( SELECT animals_search_mview.*, b.unbreeding_date, fates.loc AS fate_name, user_is_tgm (animals_search_mview.owner, 559) AS is_owner, user_is_tgm (animals_search_mview.editor, 559) AS is_editor, user_is_tgm (animals_search_mview.tourist, 559) AS is_tourist, strains.cancel_criteria, strains.symtoms, strains.reduce_severity_by, strains.sym_immune, strains.deleted as straindeleted, STRING_AGG(l."application_id" || ':' || l."title" || ' - ' || Date(lh."timestamp")::varchar, '; ') AS licensehistory, CASE WHEN NOT EXISTS ( SELECT 1 FROM scoresheet_diary sd WHERE sd.animals_id = animals_search_mview.id) THEN 'f' ELSE 't' END AS isscored FROM animals_search_mview INNER JOIN fates ON fates.id = animals_search_mview.fate LEFT JOIN strains ON strains.name = animals_search_mview.strain LEFT JOIN license_history lh ON lh.anid = animals_search_mview.id LEFT JOIN licenses l ON l.id = lh.licid left join breedings b ON b.id = animals_search_mview.last_mating GROUP BY animals_search_mview.id, b.unbreeding_date, fates.loc, strains.cancel_criteria, strains.symtoms, strains.reduce_severity_by, strains.sym_immune, straindeleted) data WHERE data.outgoing_date >= '2025-01-01' AND data.outgoing_date <= '2025-12-31' AND data.deleted = 'f' AND (is_owner OR is_editor OR is_tourist) and (data.straindeleted = 'f' or data.straindeleted is null) ORDER BY data.cage_name, data.animal_id, data.name;[ Date: 2026-03-25 15:03:37 - Database: zemm_produktiv_8 - User: labanimal - Application: _desktop_index.php_zemm_produktiv_8_localhost_5432 ]
3 760.00 KiB SELECT DISTINCT * FROM ( SELECT animals_search_mview.*, b.unbreeding_date, fates.loc AS fate_name, user_is_tgm (animals_search_mview.owner, 559) AS is_owner, user_is_tgm (animals_search_mview.editor, 559) AS is_editor, user_is_tgm (animals_search_mview.tourist, 559) AS is_tourist, strains.cancel_criteria, strains.symtoms, strains.reduce_severity_by, strains.sym_immune, strains.deleted as straindeleted, STRING_AGG(l."application_id" || ':' || l."title" || ' - ' || Date(lh."timestamp")::varchar, '; ') AS licensehistory, CASE WHEN NOT EXISTS ( SELECT 1 FROM scoresheet_diary sd WHERE sd.animals_id = animals_search_mview.id) THEN 'f' ELSE 't' END AS isscored FROM animals_search_mview INNER JOIN fates ON fates.id = animals_search_mview.fate LEFT JOIN strains ON strains.name = animals_search_mview.strain LEFT JOIN license_history lh ON lh.anid = animals_search_mview.id LEFT JOIN licenses l ON l.id = lh.licid left join breedings b ON b.id = animals_search_mview.last_mating GROUP BY animals_search_mview.id, b.unbreeding_date, fates.loc, strains.cancel_criteria, strains.symtoms, strains.reduce_severity_by, strains.sym_immune, straindeleted) data WHERE data.outgoing_date >= '2025-01-01' AND data.outgoing_date <= '2025-12-31' AND data.deleted = 'f' AND (is_owner OR is_editor OR is_tourist) and (data.straindeleted = 'f' or data.straindeleted is null) ORDER BY data.cage_name, data.animal_id, data.name;[ Date: 2026-03-25 15:03:41 - Database: zemm_produktiv_8 - User: labanimal - Application: _desktop_index.php_zemm_produktiv_8_localhost_5432 ]
4 760.00 KiB SELECT DISTINCT * FROM ( SELECT animals_search_mview.*, b.unbreeding_date, fates.loc AS fate_name, user_is_tgm (animals_search_mview.owner, 559) AS is_owner, user_is_tgm (animals_search_mview.editor, 559) AS is_editor, user_is_tgm (animals_search_mview.tourist, 559) AS is_tourist, strains.cancel_criteria, strains.symtoms, strains.reduce_severity_by, strains.sym_immune, strains.deleted as straindeleted, STRING_AGG(l."application_id" || ':' || l."title" || ' - ' || Date(lh."timestamp")::varchar, '; ') AS licensehistory, CASE WHEN NOT EXISTS ( SELECT 1 FROM scoresheet_diary sd WHERE sd.animals_id = animals_search_mview.id) THEN 'f' ELSE 't' END AS isscored FROM animals_search_mview INNER JOIN fates ON fates.id = animals_search_mview.fate LEFT JOIN strains ON strains.name = animals_search_mview.strain LEFT JOIN license_history lh ON lh.anid = animals_search_mview.id LEFT JOIN licenses l ON l.id = lh.licid left join breedings b ON b.id = animals_search_mview.last_mating GROUP BY animals_search_mview.id, b.unbreeding_date, fates.loc, strains.cancel_criteria, strains.symtoms, strains.reduce_severity_by, strains.sym_immune, straindeleted) data WHERE data.outgoing_date >= '2025-01-01' AND data.outgoing_date <= '2025-12-31' AND data.deleted = 'f' AND (is_owner OR is_editor OR is_tourist) and (data.straindeleted = 'f' or data.straindeleted is null) ORDER BY data.cage_name, data.animal_id, data.name;[ Date: 2026-03-25 15:04:22 - Database: zemm_produktiv_8 - User: labanimal - Application: _desktop_index.php_zemm_produktiv_8_localhost_5432 ]
5 760.00 KiB SELECT DISTINCT * FROM ( SELECT animals_search_mview.*, b.unbreeding_date, fates.loc AS fate_name, user_is_tgm (animals_search_mview.owner, 559) AS is_owner, user_is_tgm (animals_search_mview.editor, 559) AS is_editor, user_is_tgm (animals_search_mview.tourist, 559) AS is_tourist, strains.cancel_criteria, strains.symtoms, strains.reduce_severity_by, strains.sym_immune, strains.deleted as straindeleted, STRING_AGG(l."application_id" || ':' || l."title" || ' - ' || Date(lh."timestamp")::varchar, '; ') AS licensehistory, CASE WHEN NOT EXISTS ( SELECT 1 FROM scoresheet_diary sd WHERE sd.animals_id = animals_search_mview.id) THEN 'f' ELSE 't' END AS isscored FROM animals_search_mview INNER JOIN fates ON fates.id = animals_search_mview.fate LEFT JOIN strains ON strains.name = animals_search_mview.strain LEFT JOIN license_history lh ON lh.anid = animals_search_mview.id LEFT JOIN licenses l ON l.id = lh.licid left join breedings b ON b.id = animals_search_mview.last_mating GROUP BY animals_search_mview.id, b.unbreeding_date, fates.loc, strains.cancel_criteria, strains.symtoms, strains.reduce_severity_by, strains.sym_immune, straindeleted) data WHERE data.outgoing_date >= '2025-01-01' AND data.outgoing_date <= '2025-12-31' AND data.deleted = 'f' AND (is_owner OR is_editor OR is_tourist) and (data.straindeleted = 'f' or data.straindeleted is null) ORDER BY data.cage_name, data.animal_id, data.name;[ Date: 2026-03-25 15:04:26 - Database: zemm_produktiv_8 - User: labanimal - Application: _desktop_index.php_zemm_produktiv_8_localhost_5432 ]
6 760.00 KiB SELECT DISTINCT * FROM ( SELECT animals_search_mview.*, b.unbreeding_date, fates.loc AS fate_name, user_is_tgm (animals_search_mview.owner, 559) AS is_owner, user_is_tgm (animals_search_mview.editor, 559) AS is_editor, user_is_tgm (animals_search_mview.tourist, 559) AS is_tourist, strains.cancel_criteria, strains.symtoms, strains.reduce_severity_by, strains.sym_immune, strains.deleted as straindeleted, STRING_AGG(l."application_id" || ':' || l."title" || ' - ' || Date(lh."timestamp")::varchar, '; ') AS licensehistory, CASE WHEN NOT EXISTS ( SELECT 1 FROM scoresheet_diary sd WHERE sd.animals_id = animals_search_mview.id) THEN 'f' ELSE 't' END AS isscored FROM animals_search_mview INNER JOIN fates ON fates.id = animals_search_mview.fate LEFT JOIN strains ON strains.name = animals_search_mview.strain LEFT JOIN license_history lh ON lh.anid = animals_search_mview.id LEFT JOIN licenses l ON l.id = lh.licid left join breedings b ON b.id = animals_search_mview.last_mating GROUP BY animals_search_mview.id, b.unbreeding_date, fates.loc, strains.cancel_criteria, strains.symtoms, strains.reduce_severity_by, strains.sym_immune, straindeleted) data WHERE data.outgoing_date >= '2025-01-01' AND data.outgoing_date <= '2025-12-31' AND data.deleted = 'f' AND (is_owner OR is_editor OR is_tourist) and (data.straindeleted = 'f' or data.straindeleted is null) ORDER BY data.cage_name, data.animal_id, data.name;[ Date: 2026-03-25 15:09:27 - Database: zemm_produktiv_8 - User: labanimal - Application: _desktop_index.php_view_animal_name_on_view_animal_id_on_breedi ]
7 208.00 KiB SELECT DISTINCT * FROM ( SELECT animals_search_mview.*, b.unbreeding_date, fates.loc AS fate_name, user_is_tgm (animals_search_mview.owner, 559) AS is_owner, user_is_tgm (animals_search_mview.editor, 559) AS is_editor, user_is_tgm (animals_search_mview.tourist, 559) AS is_tourist, strains.cancel_criteria, strains.symtoms, strains.reduce_severity_by, strains.sym_immune, strains.deleted as straindeleted, STRING_AGG(l."application_id" || ':' || l."title" || ' - ' || Date(lh."timestamp")::varchar, '; ') AS licensehistory, CASE WHEN NOT EXISTS ( SELECT 1 FROM scoresheet_diary sd WHERE sd.animals_id = animals_search_mview.id) THEN 'f' ELSE 't' END AS isscored FROM animals_search_mview INNER JOIN fates ON fates.id = animals_search_mview.fate LEFT JOIN strains ON strains.name = animals_search_mview.strain LEFT JOIN license_history lh ON lh.anid = animals_search_mview.id LEFT JOIN licenses l ON l.id = lh.licid left join breedings b ON b.id = animals_search_mview.last_mating GROUP BY animals_search_mview.id, b.unbreeding_date, fates.loc, strains.cancel_criteria, strains.symtoms, strains.reduce_severity_by, strains.sym_immune, straindeleted) data WHERE data.death_date >= '2025-01-01' AND data.death_date <= '2025-12-31' AND data.deleted = 'f' AND (is_owner OR is_editor OR is_tourist) and (data.straindeleted = 'f' or data.straindeleted is null) ORDER BY data.cage_name, data.animal_id, data.name;[ Date: 2026-03-25 15:10:06 - Database: zemm_produktiv_8 - User: labanimal - Application: _desktop_index.php_zemm_produktiv_8_localhost_5432 ]
8 208.00 KiB SELECT DISTINCT * FROM ( SELECT animals_search_mview.*, b.unbreeding_date, fates.loc AS fate_name, user_is_tgm (animals_search_mview.owner, 559) AS is_owner, user_is_tgm (animals_search_mview.editor, 559) AS is_editor, user_is_tgm (animals_search_mview.tourist, 559) AS is_tourist, strains.cancel_criteria, strains.symtoms, strains.reduce_severity_by, strains.sym_immune, strains.deleted as straindeleted, STRING_AGG(l."application_id" || ':' || l."title" || ' - ' || Date(lh."timestamp")::varchar, '; ') AS licensehistory, CASE WHEN NOT EXISTS ( SELECT 1 FROM scoresheet_diary sd WHERE sd.animals_id = animals_search_mview.id) THEN 'f' ELSE 't' END AS isscored FROM animals_search_mview INNER JOIN fates ON fates.id = animals_search_mview.fate LEFT JOIN strains ON strains.name = animals_search_mview.strain LEFT JOIN license_history lh ON lh.anid = animals_search_mview.id LEFT JOIN licenses l ON l.id = lh.licid left join breedings b ON b.id = animals_search_mview.last_mating GROUP BY animals_search_mview.id, b.unbreeding_date, fates.loc, strains.cancel_criteria, strains.symtoms, strains.reduce_severity_by, strains.sym_immune, straindeleted) data WHERE data.death_date >= '2025-01-01' AND data.death_date <= '2025-12-31' AND data.deleted = 'f' AND (is_owner OR is_editor OR is_tourist) and (data.straindeleted = 'f' or data.straindeleted is null) ORDER BY data.cage_name, data.animal_id, data.name;[ Date: 2026-03-25 15:13:18 - Database: zemm_produktiv_8 - User: labanimal - Application: _desktop_index.php_zemm_produktiv_8_localhost_5432 ]
-
Vacuums
Vacuums / Analyzes Distribution
Key values
- 24.97 sec Highest CPU-cost vacuum
Table observability.db_top_queries
Database zemm_monitoring - 2026-03-25 09:29:52 Date
- 0 sec Highest CPU-cost analyze
Table
Database zemm_monitoring - Date
Average Autovacuum Duration
Key values
- 24.97 sec Highest CPU-cost vacuum
Table observability.db_top_queries
Database zemm_monitoring - 2026-03-25 09:29:52 Date
Analyzes per table
Key values
- pg_catalog.pg_type (50) Main table analyzed (database zemm_produktiv_8)
- 214 analyzes Total
Table Number of analyzes zemm_produktiv_8.pg_catalog.pg_type 50 zemm_produktiv_8.pg_catalog.pg_attribute 38 zemm_produktiv_8.pg_catalog.pg_class 28 zemm_produktiv_8.pg_catalog.pg_depend 25 zemm_produktiv_8.public.breedingssires 24 zemm_produktiv_8.public.breedingsdams 24 zemm_produktiv_8.pg_catalog.pg_shdepend 3 zemm_produktiv_8.public.cages_search_mview 3 zemm_monitoring.observability.metrics_timeseries 2 zemm_produktiv_8.public.tmptasks 2 zemm_produktiv_8.public.cost_history 2 zemm_monitoring.observability.system_metrics 1 zemm_produktiv_8.public.roles_users 1 zemm_monitoring.observability.app_events 1 zemm_produktiv_7.pg_catalog.pg_shdepend 1 zemm_produktiv_8.public.cages 1 zemm_produktiv_8.public.user_ui_prefs 1 fbi_unire.pg_catalog.pg_shdepend 1 template1.pg_catalog.pg_shdepend 1 template0.pg_catalog.pg_shdepend 1 zemm_produktiv_8.public.users 1 zemm_produktiv_8.public.tasks 1 labanimal.pg_catalog.pg_shdepend 1 zemm_monitoring.pg_catalog.pg_shdepend 1 Total 214 Vacuums per table
Key values
- public.breedingsdams (24) Main table vacuumed on database zemm_produktiv_8
- 118 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.public.breedingsdams 24 0 0 0 0 0 0 4,752 290 966,462 0 0 zemm_produktiv_8.public.breedingssires 24 0 0 0 0 0 0 3,531 236 717,931 0 0 zemm_produktiv_8.pg_catalog.pg_type 18 18 0 0 0 0 0 927 195 204,374 0 0 zemm_produktiv_8.pg_catalog.pg_attribute 13 13 0 0 0 0 0 1,713 573 378,462 0 0 zemm_produktiv_8.pg_catalog.pg_class 9 9 0 0 0 0 0 895 260 314,864 4 4 zemm_monitoring.pg_toast.pg_toast_67431 7 0 0 0 0 0 0 4,305 1,451 3,289,453 1,418 8,508 zemm_produktiv_8.pg_catalog.pg_depend 7 7 0 0 0 0 0 885 259 317,989 0 0 zemm_produktiv_8.pg_toast.pg_toast_2619 3 3 0 0 0 0 0 530 124 660,122 36 103 zemm_monitoring.pg_toast.pg_toast_67411 2 0 0 0 0 0 0 6,504 1,902 14,133,837 1,896 7,584 zemm_produktiv_8.pg_catalog.pg_statistic 1 1 0 0 0 0 0 230 47 150,069 24 70 zemm_monitoring.pg_catalog.pg_shdepend 1 1 0 0 0 0 0 94 31 56,436 0 0 zemm_monitoring.observability.app_events 1 0 0 0 0 0 0 7,066 6,934 8,369,496 0 0 labanimal.pg_catalog.pg_shdepend 1 1 0 0 0 0 0 82 33 52,794 0 0 bucardo.pg_catalog.pg_shdepend 1 1 0 0 0 0 0 90 20 45,413 0 0 zemm_produktiv_8.public.cages_search_mview 1 1 0 0 0 0 0 561 306 1,081,641 19 636 zemm_monitoring.observability.db_top_queries 1 0 0 0 0 0 0 222,853 80,867 273,873,333 70,977 561,173 zemm_produktiv_8.public.tasks 1 1 0 0 0 0 0 48,180 54 3,686,987 0 0 zemm_produktiv_8.public.tmptasks 1 1 0 0 0 0 0 88 32 17,370 0 0 zemm_monitoring.pg_toast.pg_toast_2619 1 1 0 0 0 0 0 113 31 186,638 8 28 zemm_monitoring.observability.metrics_timeseries 1 1 0 0 0 0 0 5,901 2,799 6,165,777 486 8,103 Total 118 59 0 0 0 0 0 309,300 96,444 314,669,448 74,868 586,209 Vacuum throughput per table
Key values
- observability.db_top_queries (24.97) Max CPU elapsed for vacuum on database zemm_monitoring
- observability.db_top_queries (44.618 ms) Max I/O read time for vacuum on database zemm_monitoring
- observability.db_top_queries (390.059 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.public.breedingsdams 0 0.399 0 zemm_produktiv_8.public.breedingssires 0 0.752 0 zemm_produktiv_8.pg_catalog.pg_type 0.091 0 0 zemm_produktiv_8.pg_catalog.pg_attribute 0.457 0 0.13 zemm_produktiv_8.pg_catalog.pg_class 0.275 0 0.02 zemm_monitoring.pg_toast.pg_toast_67431 0.282 0 0.3 zemm_produktiv_8.pg_catalog.pg_depend 0.106 0 0.05 zemm_produktiv_8.pg_toast.pg_toast_2619 0.634 0 0.02 zemm_monitoring.pg_toast.pg_toast_67411 0.501 1.36 0.48 zemm_produktiv_8.pg_catalog.pg_statistic 0.62 0 0.01 zemm_monitoring.pg_catalog.pg_shdepend 0.791 0 0.01 zemm_monitoring.observability.app_events 1.897 23.134 1.75 labanimal.pg_catalog.pg_shdepend 0.026 0 0 bucardo.pg_catalog.pg_shdepend 0.031 0 0 zemm_produktiv_8.public.cages_search_mview 0 0 0.08 zemm_monitoring.observability.db_top_queries 44.618 390.059 24.97 zemm_produktiv_8.public.tasks 0 0 0.6 zemm_produktiv_8.public.tmptasks 0.151 0 0.01 zemm_monitoring.pg_toast.pg_toast_2619 0.151 0 0 zemm_monitoring.observability.metrics_timeseries 3.018 1.788 0.9 Total 53.649 417.492 29.33 Tuples removed per table
Key values
- public.tasks (53399) Main table with removed tuples on database zemm_produktiv_8
- 102552 tuples Total removed
Index Tuples Pages Table Vacuums scans removed remain not yet removable removed remain zemm_produktiv_8.public.tasks 1 1 53,399 56,468 0 0 16,610 zemm_monitoring.observability.metrics_timeseries 1 1 22,961 274,522 0 0 5,466 zemm_produktiv_8.pg_catalog.pg_attribute 13 13 12,912 74,096 0 0 2,392 zemm_produktiv_8.pg_catalog.pg_depend 7 7 6,109 29,197 0 0 385 zemm_produktiv_8.pg_catalog.pg_type 18 18 3,632 14,958 0 0 558 zemm_produktiv_8.pg_catalog.pg_class 9 9 1,311 8,046 0 0 378 bucardo.pg_catalog.pg_shdepend 1 1 595 3,849 0 0 38 labanimal.pg_catalog.pg_shdepend 1 1 430 3,849 0 0 38 zemm_monitoring.pg_catalog.pg_shdepend 1 1 382 3,849 0 0 38 zemm_produktiv_8.pg_toast.pg_toast_2619 3 3 318 876 0 0 318 zemm_produktiv_8.pg_catalog.pg_statistic 1 1 266 1,271 0 0 144 zemm_produktiv_8.public.cages_search_mview 1 1 91 13,629 0 0 219 zemm_produktiv_8.public.tmptasks 1 1 82 807 0 8 115 zemm_monitoring.pg_toast.pg_toast_2619 1 1 64 79 0 0 37 zemm_monitoring.pg_toast.pg_toast_67431 7 0 0 1,451,492 0 0 242,872 zemm_produktiv_8.public.breedingsdams 24 0 0 728,065 0 0 4,656 zemm_monitoring.observability.app_events 1 0 0 444,698 0 0 34,882 zemm_monitoring.observability.db_top_queries 1 0 0 5,517,271 0 0 602,994 zemm_produktiv_8.public.breedingssires 24 0 0 538,742 0 0 3,437 zemm_monitoring.pg_toast.pg_toast_67411 2 0 0 79,500 0 0 19,364 Total 118 59 102,552 9,245,264 0 8 934,941 Pages removed per table
Key values
- public.tmptasks (8) Main table with removed pages on database zemm_produktiv_8
- 8 pages Total removed
Table Number of vacuums Index scans Tuples removed Pages removed zemm_produktiv_8.public.tmptasks 1 1 82 8 zemm_produktiv_8.pg_catalog.pg_statistic 1 1 266 0 zemm_monitoring.pg_toast.pg_toast_67431 7 0 0 0 zemm_produktiv_8.public.breedingsdams 24 0 0 0 zemm_monitoring.pg_catalog.pg_shdepend 1 1 382 0 zemm_produktiv_8.pg_catalog.pg_depend 7 7 6109 0 zemm_monitoring.observability.app_events 1 0 0 0 zemm_produktiv_8.pg_toast.pg_toast_2619 3 3 318 0 zemm_produktiv_8.pg_catalog.pg_attribute 13 13 12912 0 labanimal.pg_catalog.pg_shdepend 1 1 430 0 bucardo.pg_catalog.pg_shdepend 1 1 595 0 zemm_produktiv_8.public.cages_search_mview 1 1 91 0 zemm_monitoring.observability.db_top_queries 1 0 0 0 zemm_produktiv_8.public.tasks 1 1 53399 0 zemm_produktiv_8.public.breedingssires 24 0 0 0 zemm_produktiv_8.pg_catalog.pg_type 18 18 3632 0 zemm_produktiv_8.pg_catalog.pg_class 9 9 1311 0 zemm_monitoring.pg_toast.pg_toast_2619 1 1 64 0 zemm_monitoring.observability.metrics_timeseries 1 1 22961 0 zemm_monitoring.pg_toast.pg_toast_67411 2 0 0 0 Total 118 59 102,552 8 Autovacuum Activity
↑ Back to the top of the Autovacuum Activity tableDay Hour VACUUMs ANALYZEs Mar 25 00 0 0 01 2 1 02 0 0 03 0 0 04 0 0 05 1 0 06 10 19 07 14 23 08 28 46 09 12 24 10 8 15 11 4 8 12 8 15 13 7 18 14 13 24 15 3 6 16 1 2 17 3 6 18 1 0 19 2 5 20 0 2 21 0 0 22 1 0 23 0 0 - 24.97 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
- 147 Total read queries
- 18,747 Total write queries
Queries by database
Key values
- zemm_monitoring Main database
- 18,720 Requests
- 4h9m20s (zemm_monitoring)
- Main time consuming database
Queries by user
Key values
- labanimal Main user
- 18,889 Requests
User Request type Count Duration labanimal Total 18,889 4h12m34s cte 21 30s778ms ddl 18,720 4h9m20s select 147 2m42s update 1 941ms postgres Total 5 6s593ms copy to 5 6s593ms Duration by user
Key values
- 4h12m34s (labanimal) Main time consuming user
User Request type Count Duration labanimal Total 18,889 4h12m34s cte 21 30s778ms ddl 18,720 4h9m20s select 147 2m42s update 1 941ms postgres Total 5 6s593ms copy to 5 6s593ms Queries by host
Key values
- unknown Main host
- 18,888 Requests
- 4h12m33s (unknown)
- Main time consuming host
Queries by application
Key values
- unknown Main application
- 18,720 Requests
- 4h9m20s (unknown)
- Main time consuming application
Application Request type Count Duration _desktop_index.php_cage_name_51-502_current_only__25_val4_anima Total 1 1s668ms cte 1 1s668ms _desktop_index.php_dam_id_2025_2F003_2F0773_current_only__25_va Total 1 714ms cte 1 714ms _desktop_index.php_view_animal_name_on_view_animal_id_on_breedi Total 6 5s112ms select 6 5s112ms _desktop_index.php_zemm_produktiv_7_localhost_5432 Total 4 3s31ms select 4 3s31ms _desktop_index.php_zemm_produktiv_8_localhost_5432 Total 156 3m2s cte 19 28s395ms select 137 2m33s expire_tasks:zemm_produktiv_8@h2940066.stratoserver.net:5432 Total 1 941ms update 1 941ms pg_dump Total 5 6s593ms copy to 5 6s593ms unknown Total 18,720 4h9m20s ddl 18,720 4h9m20s Number of cancelled queries
Key values
- 0 per second Cancelled query Peak
- 2026-03-25 21:06:02 Date
Number of cancelled queries (5 minutes period)
NO DATASET
-
Top Queries
Histogram of query times
Key values
- 144 500-1000ms duration
Slowest individual queries
Rank Duration Query 1 26s992ms SELECT DISTINCT * FROM ( SELECT animals_search_mview.*, b.unbreeding_date, fates.loc AS fate_name, user_is_tgm (animals_search_mview.owner, 516) AS is_owner, user_is_tgm (animals_search_mview.editor, 516) AS is_editor, user_is_tgm (animals_search_mview.tourist, 516) AS is_tourist, strains.cancel_criteria, strains.symtoms, strains.reduce_severity_by, strains.sym_immune, strains.deleted as straindeleted, STRING_AGG(l."application_id" || ':' || l."title" || ' - ' || Date(lh."timestamp")::varchar, '; ') AS licensehistory, CASE WHEN NOT EXISTS ( SELECT 1 FROM scoresheet_diary sd WHERE sd.animals_id = animals_search_mview.id) THEN 'f' ELSE 't' END AS isscored FROM animals_search_mview INNER JOIN fates ON fates.id = animals_search_mview.fate LEFT JOIN strains ON strains.name = animals_search_mview.strain LEFT JOIN license_history lh ON lh.anid = animals_search_mview.id LEFT JOIN licenses l ON l.id = lh.licid left join breedings b ON b.id = animals_search_mview.last_mating GROUP BY animals_search_mview.id, b.unbreeding_date, fates.loc, strains.cancel_criteria, strains.symtoms, strains.reduce_severity_by, strains.sym_immune, straindeleted) data WHERE data.deleted = 'f' AND (is_owner OR is_editor OR is_tourist) and (data.straindeleted = 'f' or data.straindeleted is null) ORDER BY data.cage_name, data.animal_id, data.name;[ Date: 2026-03-25 13:36:19 - Database: zemm_produktiv_8 - User: labanimal - Application: _desktop_index.php_zemm_produktiv_8_localhost_5432 ]
2 26s992ms CREATE SCHEMA IF NOT EXISTS observability;[ Date: 2026-03-25 13:37:01 - Database: zemm_monitoring - User: labanimal ]
3 26s992ms 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-03-25 13:37:01 - Database: zemm_monitoring - User: labanimal ]
4 26s992ms CREATE INDEX IF NOT EXISTS idx_metrics_timeseries_bucket ON observability.metrics_timeseries (bucket_start);[ Date: 2026-03-25 13:37:01 - Database: zemm_monitoring - User: labanimal ]
5 26s992ms CREATE INDEX IF NOT EXISTS idx_metrics_timeseries_metric ON observability.metrics_timeseries (metric_name);[ Date: 2026-03-25 13:37:01 - Database: zemm_monitoring - User: labanimal ]
6 26s992ms 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-03-25 13:37:01 - Database: zemm_monitoring - User: labanimal ]
7 26s992ms CREATE INDEX IF NOT EXISTS idx_app_events_tenant ON observability.app_events (tenant_key, occurred_at DESC);[ Date: 2026-03-25 13:37:01 - Database: zemm_monitoring - User: labanimal ]
8 26s992ms CREATE INDEX IF NOT EXISTS idx_app_events_type ON observability.app_events (event_type);[ Date: 2026-03-25 13:37:01 - Database: zemm_monitoring - User: labanimal ]
9 26s992ms 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-03-25 13:37:01 - Database: zemm_monitoring - User: labanimal ]
10 26s992ms CREATE INDEX IF NOT EXISTS idx_db_top_queries_tenant ON observability.db_top_queries (tenant_key, collected_at DESC);[ Date: 2026-03-25 13:37:01 - Database: zemm_monitoring - User: labanimal ]
11 26s992ms 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-03-25 13:37:01 - Database: zemm_monitoring - User: labanimal ]
12 26s992ms 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-03-25 13:37:01 - Database: zemm_monitoring - User: labanimal ]
13 26s992ms 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-03-25 13:37:01 - Database: zemm_monitoring - User: labanimal ]
14 26s992ms 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-03-25 13:37:01 - Database: zemm_monitoring - User: labanimal ]
15 25s275ms 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, 516) AS is_owner, user_is_tgm (animals_search_mview.editor, 516) AS is_editor, user_is_tgm (animals_search_mview.tourist, 516) 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 deleted = 'f' AND (is_owner OR is_editor OR is_tourist);[ Date: 2026-03-25 13:35:52 - Database: zemm_produktiv_8 - User: labanimal - Application: _desktop_index.php_zemm_produktiv_8_localhost_5432 ]
16 25s275ms CREATE SCHEMA IF NOT EXISTS observability;[ Date: 2026-03-25 13:36:01 - Database: zemm_monitoring - User: labanimal ]
17 25s275ms 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-03-25 13:36:01 - Database: zemm_monitoring - User: labanimal ]
18 25s275ms CREATE INDEX IF NOT EXISTS idx_metrics_timeseries_bucket ON observability.metrics_timeseries (bucket_start);[ Date: 2026-03-25 13:36:01 - Database: zemm_monitoring - User: labanimal ]
19 25s275ms CREATE INDEX IF NOT EXISTS idx_metrics_timeseries_metric ON observability.metrics_timeseries (metric_name);[ Date: 2026-03-25 13:36:01 - Database: zemm_monitoring - User: labanimal ]
20 25s275ms 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-03-25 13:36:01 - Database: zemm_monitoring - User: labanimal ]
Time consuming queries (N)
Rank Total duration Times executed Min duration Max duration Avg duration Query 1 19m10s 1,440 506ms 26s992ms 799ms create table if not exists observability.system_metrics ( id bigserial primary key, payload jsonb not null, collected_at timestamptz not null default now() );Times Reported Time consuming queries #1
Day Hour Count Duration Avg duration Mar 25 00 60 0ms 0ms 01 60 27s296ms 454ms 02 60 56s475ms 941ms 03 60 56s475ms 941ms 04 60 56s475ms 941ms 05 60 56s475ms 941ms 06 60 43s346ms 722ms 07 60 51s815ms 863ms 08 60 53s631ms 893ms 09 60 56s864ms 947ms 10 60 48s289ms 804ms 11 60 49s693ms 828ms 12 60 1m12s 1s214ms 13 60 1m51s 1s864ms 14 60 57s519ms 958ms 15 60 42s94ms 701ms 16 60 38s311ms 638ms 17 60 38s424ms 640ms 18 60 38s299ms 638ms 19 60 38s306ms 638ms 20 60 38s306ms 638ms 21 60 38s306ms 638ms 22 60 38s306ms 638ms 23 60 41s309ms 688ms [ User: labanimal - Total duration: 19m10s - Times executed: 1335 ]
-
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-03-25 13:37:01 Duration: 26s992ms Database: zemm_monitoring User: labanimal Log file: /var/log/postgresql/postgresql-2026-03-25_063758.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-03-25 13:36:01 Duration: 25s275ms Database: zemm_monitoring User: labanimal Log file: /var/log/postgresql/postgresql-2026-03-25_063758.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-03-25 13:08:01 Duration: 2s212ms Database: zemm_monitoring User: labanimal Log file: /var/log/postgresql/postgresql-2026-03-25_063758.csv
2 19m10s 1,440 506ms 26s992ms 799ms create table if not exists observability.db_top_queries ( id bigserial primary key, tenant_key text not null, fingerprint text, query text, mean_time_ms double precision, total_time_ms double precision, calls bigint, rows_returned bigint, collected_at timestamptz not null default now() );Times Reported Time consuming queries #2
Day Hour Count Duration Avg duration Mar 25 00 60 0ms 0ms 01 60 27s296ms 454ms 02 60 56s475ms 941ms 03 60 56s475ms 941ms 04 60 56s475ms 941ms 05 60 56s475ms 941ms 06 60 43s346ms 722ms 07 60 51s815ms 863ms 08 60 53s631ms 893ms 09 60 56s864ms 947ms 10 60 48s289ms 804ms 11 60 49s693ms 828ms 12 60 1m12s 1s214ms 13 60 1m51s 1s864ms 14 60 57s519ms 958ms 15 60 42s94ms 701ms 16 60 38s311ms 638ms 17 60 38s424ms 640ms 18 60 38s299ms 638ms 19 60 38s306ms 638ms 20 60 38s306ms 638ms 21 60 38s306ms 638ms 22 60 38s306ms 638ms 23 60 41s309ms 688ms [ User: labanimal - Total duration: 19m10s - Times executed: 1335 ]
-
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-03-25 13:37:01 Duration: 26s992ms Database: zemm_monitoring User: labanimal Log file: /var/log/postgresql/postgresql-2026-03-25_063758.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-03-25 13:36:01 Duration: 25s275ms Database: zemm_monitoring User: labanimal Log file: /var/log/postgresql/postgresql-2026-03-25_063758.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-03-25 13:08:01 Duration: 2s212ms Database: zemm_monitoring User: labanimal Log file: /var/log/postgresql/postgresql-2026-03-25_063758.csv
3 19m10s 1,440 506ms 26s992ms 799ms 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 #3
Day Hour Count Duration Avg duration Mar 25 00 60 0ms 0ms 01 60 27s296ms 454ms 02 60 56s475ms 941ms 03 60 56s475ms 941ms 04 60 56s475ms 941ms 05 60 56s475ms 941ms 06 60 43s346ms 722ms 07 60 51s815ms 863ms 08 60 53s631ms 893ms 09 60 56s864ms 947ms 10 60 48s289ms 804ms 11 60 49s693ms 828ms 12 60 1m12s 1s214ms 13 60 1m51s 1s864ms 14 60 57s519ms 958ms 15 60 42s94ms 701ms 16 60 38s311ms 638ms 17 60 38s424ms 640ms 18 60 38s299ms 638ms 19 60 38s306ms 638ms 20 60 38s306ms 638ms 21 60 38s306ms 638ms 22 60 38s306ms 638ms 23 60 41s309ms 688ms [ User: labanimal - Total duration: 19m10s - Times executed: 1335 ]
-
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-03-25 13:37:01 Duration: 26s992ms Database: zemm_monitoring User: labanimal Log file: /var/log/postgresql/postgresql-2026-03-25_063758.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-03-25 13:36:01 Duration: 25s275ms Database: zemm_monitoring User: labanimal Log file: /var/log/postgresql/postgresql-2026-03-25_063758.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-03-25 13:08:01 Duration: 2s212ms Database: zemm_monitoring User: labanimal Log file: /var/log/postgresql/postgresql-2026-03-25_063758.csv
4 19m10s 1,440 506ms 26s992ms 799ms create index if not exists idx_metrics_timeseries_bucket on observability.metrics_timeseries (bucket_start);Times Reported Time consuming queries #4
Day Hour Count Duration Avg duration Mar 25 00 60 0ms 0ms 01 60 27s296ms 454ms 02 60 56s475ms 941ms 03 60 56s475ms 941ms 04 60 56s475ms 941ms 05 60 56s475ms 941ms 06 60 43s346ms 722ms 07 60 51s815ms 863ms 08 60 53s631ms 893ms 09 60 56s864ms 947ms 10 60 48s289ms 804ms 11 60 49s693ms 828ms 12 60 1m12s 1s214ms 13 60 1m51s 1s864ms 14 60 57s519ms 958ms 15 60 42s94ms 701ms 16 60 38s311ms 638ms 17 60 38s424ms 640ms 18 60 38s299ms 638ms 19 60 38s306ms 638ms 20 60 38s306ms 638ms 21 60 38s306ms 638ms 22 60 38s306ms 638ms 23 60 41s309ms 688ms [ User: labanimal - Total duration: 19m10s - Times executed: 1335 ]
-
CREATE INDEX IF NOT EXISTS idx_metrics_timeseries_bucket ON observability.metrics_timeseries (bucket_start);
Date: 2026-03-25 13:37:01 Duration: 26s992ms Database: zemm_monitoring User: labanimal Log file: /var/log/postgresql/postgresql-2026-03-25_063758.csv
-
CREATE INDEX IF NOT EXISTS idx_metrics_timeseries_bucket ON observability.metrics_timeseries (bucket_start);
Date: 2026-03-25 13:36:01 Duration: 25s275ms Database: zemm_monitoring User: labanimal Log file: /var/log/postgresql/postgresql-2026-03-25_063758.csv
-
CREATE INDEX IF NOT EXISTS idx_metrics_timeseries_bucket ON observability.metrics_timeseries (bucket_start);
Date: 2026-03-25 13:08:01 Duration: 2s212ms Database: zemm_monitoring User: labanimal Log file: /var/log/postgresql/postgresql-2026-03-25_063758.csv
5 19m10s 1,440 506ms 26s992ms 799ms 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 Mar 25 00 60 0ms 0ms 01 60 27s296ms 454ms 02 60 56s475ms 941ms 03 60 56s475ms 941ms 04 60 56s475ms 941ms 05 60 56s475ms 941ms 06 60 43s346ms 722ms 07 60 51s815ms 863ms 08 60 53s631ms 893ms 09 60 56s864ms 947ms 10 60 48s289ms 804ms 11 60 49s693ms 828ms 12 60 1m12s 1s214ms 13 60 1m51s 1s864ms 14 60 57s519ms 958ms 15 60 42s94ms 701ms 16 60 38s311ms 638ms 17 60 38s424ms 640ms 18 60 38s299ms 638ms 19 60 38s306ms 638ms 20 60 38s306ms 638ms 21 60 38s306ms 638ms 22 60 38s306ms 638ms 23 60 41s309ms 688ms [ User: labanimal - Total duration: 19m10s - Times executed: 1335 ]
-
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-03-25 13:37:01 Duration: 26s992ms Database: zemm_monitoring User: labanimal Log file: /var/log/postgresql/postgresql-2026-03-25_063758.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-03-25 13:36:01 Duration: 25s275ms Database: zemm_monitoring User: labanimal Log file: /var/log/postgresql/postgresql-2026-03-25_063758.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-03-25 13:08:01 Duration: 2s212ms Database: zemm_monitoring User: labanimal Log file: /var/log/postgresql/postgresql-2026-03-25_063758.csv
6 19m10s 1,440 506ms 26s992ms 799ms create table if not exists observability.app_events ( id bigserial primary key, tenant_key text not null, event_type text not null, severity text not null, message text not null, payload jsonb, occurred_at timestamptz not null default now(), created_at timestamptz not null default now() );Times Reported Time consuming queries #6
Day Hour Count Duration Avg duration Mar 25 00 60 0ms 0ms 01 60 27s296ms 454ms 02 60 56s475ms 941ms 03 60 56s475ms 941ms 04 60 56s475ms 941ms 05 60 56s475ms 941ms 06 60 43s346ms 722ms 07 60 51s815ms 863ms 08 60 53s631ms 893ms 09 60 56s864ms 947ms 10 60 48s289ms 804ms 11 60 49s693ms 828ms 12 60 1m12s 1s214ms 13 60 1m51s 1s864ms 14 60 57s519ms 958ms 15 60 42s94ms 701ms 16 60 38s311ms 638ms 17 60 38s424ms 640ms 18 60 38s299ms 638ms 19 60 38s306ms 638ms 20 60 38s306ms 638ms 21 60 38s306ms 638ms 22 60 38s306ms 638ms 23 60 41s309ms 688ms [ User: labanimal - Total duration: 19m10s - Times executed: 1335 ]
-
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-03-25 13:37:01 Duration: 26s992ms Database: zemm_monitoring User: labanimal Log file: /var/log/postgresql/postgresql-2026-03-25_063758.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-03-25 13:36:01 Duration: 25s275ms Database: zemm_monitoring User: labanimal Log file: /var/log/postgresql/postgresql-2026-03-25_063758.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-03-25 13:08:01 Duration: 2s212ms Database: zemm_monitoring User: labanimal Log file: /var/log/postgresql/postgresql-2026-03-25_063758.csv
7 19m10s 1,440 506ms 26s992ms 799ms create index if not exists idx_app_events_type on observability.app_events (event_type);Times Reported Time consuming queries #7
Day Hour Count Duration Avg duration Mar 25 00 60 0ms 0ms 01 60 27s296ms 454ms 02 60 56s475ms 941ms 03 60 56s475ms 941ms 04 60 56s475ms 941ms 05 60 56s475ms 941ms 06 60 43s346ms 722ms 07 60 51s815ms 863ms 08 60 53s631ms 893ms 09 60 56s864ms 947ms 10 60 48s289ms 804ms 11 60 49s693ms 828ms 12 60 1m12s 1s214ms 13 60 1m51s 1s864ms 14 60 57s519ms 958ms 15 60 42s94ms 701ms 16 60 38s311ms 638ms 17 60 38s424ms 640ms 18 60 38s299ms 638ms 19 60 38s306ms 638ms 20 60 38s306ms 638ms 21 60 38s306ms 638ms 22 60 38s306ms 638ms 23 60 41s309ms 688ms [ User: labanimal - Total duration: 19m10s - Times executed: 1335 ]
-
CREATE INDEX IF NOT EXISTS idx_app_events_type ON observability.app_events (event_type);
Date: 2026-03-25 13:37:01 Duration: 26s992ms Database: zemm_monitoring User: labanimal Log file: /var/log/postgresql/postgresql-2026-03-25_063758.csv
-
CREATE INDEX IF NOT EXISTS idx_app_events_type ON observability.app_events (event_type);
Date: 2026-03-25 13:36:01 Duration: 25s275ms Database: zemm_monitoring User: labanimal Log file: /var/log/postgresql/postgresql-2026-03-25_063758.csv
-
CREATE INDEX IF NOT EXISTS idx_app_events_type ON observability.app_events (event_type);
Date: 2026-03-25 13:08:01 Duration: 2s212ms Database: zemm_monitoring User: labanimal Log file: /var/log/postgresql/postgresql-2026-03-25_063758.csv
8 19m10s 1,440 506ms 26s992ms 799ms create table if not exists observability.metrics_timeseries ( id bigserial primary key, tenant_key text not null, metric_name text not null, bucket_start timestamptz not null, bucket_width_seconds integer not null default ?, sum_value double precision not null default ?, count_value bigint not null default ?, histogram jsonb, created_at timestamptz not null default now(), updated_at timestamptz not null default now(), unique (tenant_key, metric_name, bucket_start, bucket_width_seconds) );Times Reported Time consuming queries #8
Day Hour Count Duration Avg duration Mar 25 00 60 0ms 0ms 01 60 27s296ms 454ms 02 60 56s475ms 941ms 03 60 56s475ms 941ms 04 60 56s475ms 941ms 05 60 56s475ms 941ms 06 60 43s346ms 722ms 07 60 51s815ms 863ms 08 60 53s631ms 893ms 09 60 56s864ms 947ms 10 60 48s289ms 804ms 11 60 49s693ms 828ms 12 60 1m12s 1s214ms 13 60 1m51s 1s864ms 14 60 57s519ms 958ms 15 60 42s94ms 701ms 16 60 38s311ms 638ms 17 60 38s424ms 640ms 18 60 38s299ms 638ms 19 60 38s306ms 638ms 20 60 38s306ms 638ms 21 60 38s306ms 638ms 22 60 38s306ms 638ms 23 60 41s309ms 688ms [ User: labanimal - Total duration: 19m10s - Times executed: 1335 ]
-
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-03-25 13:37:01 Duration: 26s992ms Database: zemm_monitoring User: labanimal Log file: /var/log/postgresql/postgresql-2026-03-25_063758.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-03-25 13:36:01 Duration: 25s275ms Database: zemm_monitoring User: labanimal Log file: /var/log/postgresql/postgresql-2026-03-25_063758.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-03-25 13:08:01 Duration: 2s212ms Database: zemm_monitoring User: labanimal Log file: /var/log/postgresql/postgresql-2026-03-25_063758.csv
9 19m10s 1,440 506ms 26s992ms 799ms 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 Mar 25 00 60 0ms 0ms 01 60 27s296ms 454ms 02 60 56s475ms 941ms 03 60 56s475ms 941ms 04 60 56s475ms 941ms 05 60 56s475ms 941ms 06 60 43s346ms 722ms 07 60 51s815ms 863ms 08 60 53s631ms 893ms 09 60 56s864ms 947ms 10 60 48s289ms 804ms 11 60 49s693ms 828ms 12 60 1m12s 1s214ms 13 60 1m51s 1s864ms 14 60 57s519ms 958ms 15 60 42s94ms 701ms 16 60 38s311ms 638ms 17 60 38s424ms 640ms 18 60 38s299ms 638ms 19 60 38s306ms 638ms 20 60 38s306ms 638ms 21 60 38s306ms 638ms 22 60 38s306ms 638ms 23 60 41s309ms 688ms [ User: labanimal - Total duration: 19m10s - Times executed: 1335 ]
-
CREATE INDEX IF NOT EXISTS idx_app_events_tenant ON observability.app_events (tenant_key, occurred_at DESC);
Date: 2026-03-25 13:37:01 Duration: 26s992ms Database: zemm_monitoring User: labanimal Log file: /var/log/postgresql/postgresql-2026-03-25_063758.csv
-
CREATE INDEX IF NOT EXISTS idx_app_events_tenant ON observability.app_events (tenant_key, occurred_at DESC);
Date: 2026-03-25 13:36:01 Duration: 25s275ms Database: zemm_monitoring User: labanimal Log file: /var/log/postgresql/postgresql-2026-03-25_063758.csv
-
CREATE INDEX IF NOT EXISTS idx_app_events_tenant ON observability.app_events (tenant_key, occurred_at DESC);
Date: 2026-03-25 13:08:01 Duration: 2s212ms Database: zemm_monitoring User: labanimal Log file: /var/log/postgresql/postgresql-2026-03-25_063758.csv
10 19m10s 1,440 506ms 26s992ms 799ms create schema if not exists observability;Times Reported Time consuming queries #10
Day Hour Count Duration Avg duration Mar 25 00 60 0ms 0ms 01 60 27s296ms 454ms 02 60 56s475ms 941ms 03 60 56s475ms 941ms 04 60 56s475ms 941ms 05 60 56s475ms 941ms 06 60 43s346ms 722ms 07 60 51s815ms 863ms 08 60 53s631ms 893ms 09 60 56s864ms 947ms 10 60 48s289ms 804ms 11 60 49s693ms 828ms 12 60 1m12s 1s214ms 13 60 1m51s 1s864ms 14 60 57s519ms 958ms 15 60 42s94ms 701ms 16 60 38s311ms 638ms 17 60 38s424ms 640ms 18 60 38s299ms 638ms 19 60 38s306ms 638ms 20 60 38s306ms 638ms 21 60 38s306ms 638ms 22 60 38s306ms 638ms 23 60 41s309ms 688ms [ User: labanimal - Total duration: 19m10s - Times executed: 1335 ]
-
CREATE SCHEMA IF NOT EXISTS observability;
Date: 2026-03-25 13:37:01 Duration: 26s992ms Database: zemm_monitoring User: labanimal Log file: /var/log/postgresql/postgresql-2026-03-25_063758.csv
-
CREATE SCHEMA IF NOT EXISTS observability;
Date: 2026-03-25 13:36:01 Duration: 25s275ms Database: zemm_monitoring User: labanimal Log file: /var/log/postgresql/postgresql-2026-03-25_063758.csv
-
CREATE SCHEMA IF NOT EXISTS observability;
Date: 2026-03-25 13:08:01 Duration: 2s212ms Database: zemm_monitoring User: labanimal Log file: /var/log/postgresql/postgresql-2026-03-25_063758.csv
11 19m10s 1,440 506ms 26s992ms 799ms 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 #11
Day Hour Count Duration Avg duration Mar 25 00 60 0ms 0ms 01 60 27s296ms 454ms 02 60 56s475ms 941ms 03 60 56s475ms 941ms 04 60 56s475ms 941ms 05 60 56s475ms 941ms 06 60 43s346ms 722ms 07 60 51s815ms 863ms 08 60 53s631ms 893ms 09 60 56s864ms 947ms 10 60 48s289ms 804ms 11 60 49s693ms 828ms 12 60 1m12s 1s214ms 13 60 1m51s 1s864ms 14 60 57s519ms 958ms 15 60 42s94ms 701ms 16 60 38s311ms 638ms 17 60 38s424ms 640ms 18 60 38s299ms 638ms 19 60 38s306ms 638ms 20 60 38s306ms 638ms 21 60 38s306ms 638ms 22 60 38s306ms 638ms 23 60 41s309ms 688ms [ User: labanimal - Total duration: 19m10s - Times executed: 1335 ]
-
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-03-25 13:37:01 Duration: 26s992ms Database: zemm_monitoring User: labanimal Log file: /var/log/postgresql/postgresql-2026-03-25_063758.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-03-25 13:36:01 Duration: 25s275ms Database: zemm_monitoring User: labanimal Log file: /var/log/postgresql/postgresql-2026-03-25_063758.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-03-25 13:08:01 Duration: 2s212ms Database: zemm_monitoring User: labanimal Log file: /var/log/postgresql/postgresql-2026-03-25_063758.csv
12 19m10s 1,440 506ms 26s992ms 799ms create index if not exists idx_metrics_timeseries_metric on observability.metrics_timeseries (metric_name);Times Reported Time consuming queries #12
Day Hour Count Duration Avg duration Mar 25 00 60 0ms 0ms 01 60 27s296ms 454ms 02 60 56s475ms 941ms 03 60 56s475ms 941ms 04 60 56s475ms 941ms 05 60 56s475ms 941ms 06 60 43s346ms 722ms 07 60 51s815ms 863ms 08 60 53s631ms 893ms 09 60 56s864ms 947ms 10 60 48s289ms 804ms 11 60 49s693ms 828ms 12 60 1m12s 1s214ms 13 60 1m51s 1s864ms 14 60 57s519ms 958ms 15 60 42s94ms 701ms 16 60 38s311ms 638ms 17 60 38s424ms 640ms 18 60 38s299ms 638ms 19 60 38s306ms 638ms 20 60 38s306ms 638ms 21 60 38s306ms 638ms 22 60 38s306ms 638ms 23 60 41s309ms 688ms [ User: labanimal - Total duration: 19m10s - Times executed: 1335 ]
-
CREATE INDEX IF NOT EXISTS idx_metrics_timeseries_metric ON observability.metrics_timeseries (metric_name);
Date: 2026-03-25 13:37:01 Duration: 26s992ms Database: zemm_monitoring User: labanimal Log file: /var/log/postgresql/postgresql-2026-03-25_063758.csv
-
CREATE INDEX IF NOT EXISTS idx_metrics_timeseries_metric ON observability.metrics_timeseries (metric_name);
Date: 2026-03-25 13:36:01 Duration: 25s275ms Database: zemm_monitoring User: labanimal Log file: /var/log/postgresql/postgresql-2026-03-25_063758.csv
-
CREATE INDEX IF NOT EXISTS idx_metrics_timeseries_metric ON observability.metrics_timeseries (metric_name);
Date: 2026-03-25 13:08:01 Duration: 2s212ms Database: zemm_monitoring User: labanimal Log file: /var/log/postgresql/postgresql-2026-03-25_063758.csv
13 19m10s 1,440 506ms 26s992ms 799ms 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 #13
Day Hour Count Duration Avg duration Mar 25 00 60 0ms 0ms 01 60 27s296ms 454ms 02 60 56s475ms 941ms 03 60 56s475ms 941ms 04 60 56s475ms 941ms 05 60 56s475ms 941ms 06 60 43s346ms 722ms 07 60 51s815ms 863ms 08 60 53s631ms 893ms 09 60 56s864ms 947ms 10 60 48s289ms 804ms 11 60 49s693ms 828ms 12 60 1m12s 1s214ms 13 60 1m51s 1s864ms 14 60 57s519ms 958ms 15 60 42s94ms 701ms 16 60 38s311ms 638ms 17 60 38s424ms 640ms 18 60 38s299ms 638ms 19 60 38s306ms 638ms 20 60 38s306ms 638ms 21 60 38s306ms 638ms 22 60 38s306ms 638ms 23 60 41s309ms 688ms [ User: labanimal - Total duration: 19m10s - Times executed: 1335 ]
-
CREATE INDEX IF NOT EXISTS idx_db_top_queries_tenant ON observability.db_top_queries (tenant_key, collected_at DESC);
Date: 2026-03-25 13:37:01 Duration: 26s992ms Database: zemm_monitoring User: labanimal Log file: /var/log/postgresql/postgresql-2026-03-25_063758.csv
-
CREATE INDEX IF NOT EXISTS idx_db_top_queries_tenant ON observability.db_top_queries (tenant_key, collected_at DESC);
Date: 2026-03-25 13:36:01 Duration: 25s275ms Database: zemm_monitoring User: labanimal Log file: /var/log/postgresql/postgresql-2026-03-25_063758.csv
-
CREATE INDEX IF NOT EXISTS idx_db_top_queries_tenant ON observability.db_top_queries (tenant_key, collected_at DESC);
Date: 2026-03-25 13:08:01 Duration: 2s212ms Database: zemm_monitoring User: labanimal Log file: /var/log/postgresql/postgresql-2026-03-25_063758.csv
14 26s992ms 1 26s992ms 26s992ms 26s992ms select distinct * from ( select animals_search_mview.*, b.unbreeding_date, fates.loc as fate_name, user_is_tgm (animals_search_mview.owner, ?) as is_owner, user_is_tgm (animals_search_mview.editor, ?) as is_editor, user_is_tgm (animals_search_mview.tourist, ?) as is_tourist, strains.cancel_criteria, strains.symtoms, strains.reduce_severity_by, strains.sym_immune, strains.deleted as straindeleted, string_agg(l."application_id" || ? || l."title" || ? || date(lh."timestamp")::varchar, ?) as licensehistory, case when not exists ( select ? from scoresheet_diary sd where sd.animals_id = animals_search_mview.id) then ? else ? end as isscored from animals_search_mview inner join fates on fates.id = animals_search_mview.fate left join strains on strains.name = animals_search_mview.strain left join license_history lh on lh.anid = animals_search_mview.id left join licenses l on l.id = lh.licid left join breedings b on b.id = animals_search_mview.last_mating group by animals_search_mview.id, b.unbreeding_date, fates.loc, strains.cancel_criteria, strains.symtoms, strains.reduce_severity_by, strains.sym_immune, straindeleted) data where data.deleted = ? and (is_owner or is_editor or is_tourist) and (data.straindeleted = ? or data.straindeleted is null) order by data.cage_name, data.animal_id, data.name;Times Reported Time consuming queries #14
Day Hour Count Duration Avg duration Mar 25 13 1 26s992ms 26s992ms [ User: labanimal - Total duration: 26s992ms - Times executed: 1 ]
[ Application: _desktop_index.php_zemm_produktiv_8_localhost_5432 - Total duration: 26s992ms - Times executed: 1 ]
-
SELECT DISTINCT * FROM ( SELECT animals_search_mview.*, b.unbreeding_date, fates.loc AS fate_name, user_is_tgm (animals_search_mview.owner, 516) AS is_owner, user_is_tgm (animals_search_mview.editor, 516) AS is_editor, user_is_tgm (animals_search_mview.tourist, 516) AS is_tourist, strains.cancel_criteria, strains.symtoms, strains.reduce_severity_by, strains.sym_immune, strains.deleted as straindeleted, STRING_AGG(l."application_id" || ':' || l."title" || ' - ' || Date(lh."timestamp")::varchar, '; ') AS licensehistory, CASE WHEN NOT EXISTS ( SELECT 1 FROM scoresheet_diary sd WHERE sd.animals_id = animals_search_mview.id) THEN 'f' ELSE 't' END AS isscored FROM animals_search_mview INNER JOIN fates ON fates.id = animals_search_mview.fate LEFT JOIN strains ON strains.name = animals_search_mview.strain LEFT JOIN license_history lh ON lh.anid = animals_search_mview.id LEFT JOIN licenses l ON l.id = lh.licid left join breedings b ON b.id = animals_search_mview.last_mating GROUP BY animals_search_mview.id, b.unbreeding_date, fates.loc, strains.cancel_criteria, strains.symtoms, strains.reduce_severity_by, strains.sym_immune, straindeleted) data WHERE data.deleted = 'f' AND (is_owner OR is_editor OR is_tourist) and (data.straindeleted = 'f' or data.straindeleted is null) ORDER BY data.cage_name, data.animal_id, data.name;
Date: 2026-03-25 13:36:19 Duration: 26s992ms Database: zemm_produktiv_8 User: labanimal Application: _desktop_index.php_zemm_produktiv_8_localhost_5432 Log file: /var/log/postgresql/postgresql-2026-03-25_063758.csv
-
SELECT DISTINCT * FROM ( SELECT animals_search_mview.*, b.unbreeding_date, fates.loc AS fate_name, user_is_tgm (animals_search_mview.owner, 516) AS is_owner, user_is_tgm (animals_search_mview.editor, 516) AS is_editor, user_is_tgm (animals_search_mview.tourist, 516) AS is_tourist, strains.cancel_criteria, strains.symtoms, strains.reduce_severity_by, strains.sym_immune, strains.deleted as straindeleted, STRING_AGG(l."application_id" || ':' || l."title" || ' - ' || Date(lh."timestamp")::varchar, '; ') AS licensehistory, CASE WHEN NOT EXISTS ( SELECT 1 FROM scoresheet_diary sd WHERE sd.animals_id = animals_search_mview.id) THEN 'f' ELSE 't' END AS isscored FROM animals_search_mview INNER JOIN fates ON fates.id = animals_search_mview.fate LEFT JOIN strains ON strains.name = animals_search_mview.strain LEFT JOIN license_history lh ON lh.anid = animals_search_mview.id LEFT JOIN licenses l ON l.id = lh.licid left join breedings b ON b.id = animals_search_mview.last_mating GROUP BY animals_search_mview.id, b.unbreeding_date, fates.loc, strains.cancel_criteria, strains.symtoms, strains.reduce_severity_by, strains.sym_immune, straindeleted) data WHERE data.deleted = 'f' AND (is_owner OR is_editor OR is_tourist) and (data.straindeleted = 'f' or data.straindeleted is null) ORDER BY data.cage_name, data.animal_id, data.name;
Date: 2026-03-25 13:36:19 Duration: 0ms Database: zemm_produktiv_8 User: labanimal Application: _desktop_index.php_zemm_produktiv_8_localhost_5432
15 25s275ms 1 25s275ms 25s275ms 25s275ms 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 deleted = ? and (is_owner or is_editor or is_tourist);Times Reported Time consuming queries #15
Day Hour Count Duration Avg duration Mar 25 13 1 25s275ms 25s275ms [ User: labanimal - Total duration: 25s275ms - Times executed: 1 ]
[ Application: _desktop_index.php_zemm_produktiv_8_localhost_5432 - Total duration: 25s275ms - Times executed: 1 ]
-
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, 516) AS is_owner, user_is_tgm (animals_search_mview.editor, 516) AS is_editor, user_is_tgm (animals_search_mview.tourist, 516) 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 deleted = 'f' AND (is_owner OR is_editor OR is_tourist);
Date: 2026-03-25 13:35:52 Duration: 25s275ms Database: zemm_produktiv_8 User: labanimal Application: _desktop_index.php_zemm_produktiv_8_localhost_5432 Log file: /var/log/postgresql/postgresql-2026-03-25_063758.csv
16 23s141ms 33 689ms 724ms 701ms 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 #16
Day Hour Count Duration Avg duration Mar 25 08 7 4s905ms 700ms 09 4 2s796ms 699ms 11 1 694ms 694ms 12 4 2s796ms 699ms 14 4 2s797ms 699ms 15 1 708ms 708ms 16 1 692ms 692ms 17 2 1s416ms 708ms 18 9 6s333ms 703ms [ User: labanimal - Total duration: 23s141ms - Times executed: 33 ]
[ Application: _desktop_index.php_zemm_produktiv_8_localhost_5432 - Total duration: 23s141ms - Times executed: 33 ]
-
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, 10100189) AS is_owner, user_is_tgm (animals_search_mview.editor, 10100189) AS is_editor, user_is_tgm (animals_search_mview.tourist, 10100189) 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-03-25 18:06:47 Duration: 724ms Database: zemm_produktiv_8 User: labanimal Application: _desktop_index.php_zemm_produktiv_8_localhost_5432 Log file: /var/log/postgresql/postgresql-2026-03-25_063758.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-03-25 09:13:31 Duration: 718ms Database: zemm_produktiv_8 User: labanimal Application: _desktop_index.php_zemm_produktiv_8_localhost_5432 Log file: /var/log/postgresql/postgresql-2026-03-25_063758.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, 10100189) AS is_owner, user_is_tgm (animals_search_mview.editor, 10100189) AS is_editor, user_is_tgm (animals_search_mview.tourist, 10100189) 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-03-25 17:59:27 Duration: 718ms Database: zemm_produktiv_8 User: labanimal Application: _desktop_index.php_zemm_produktiv_8_localhost_5432 Log file: /var/log/postgresql/postgresql-2026-03-25_063758.csv
17 21s135ms 33 628ms 659ms 640ms select distinct * from ( select animals_search_mview.*, b.unbreeding_date, fates.loc as fate_name, user_is_tgm (animals_search_mview.owner, ?) as is_owner, user_is_tgm (animals_search_mview.editor, ?) as is_editor, user_is_tgm (animals_search_mview.tourist, ?) as is_tourist, strains.cancel_criteria, strains.symtoms, strains.reduce_severity_by, strains.sym_immune, strains.deleted as straindeleted, string_agg(l."application_id" || ? || l."title" || ? || date(lh."timestamp")::varchar, ?) as licensehistory, case when not exists ( select ? from scoresheet_diary sd where sd.animals_id = animals_search_mview.id) then ? else ? end as isscored from animals_search_mview inner join fates on fates.id = animals_search_mview.fate left join strains on strains.name = animals_search_mview.strain left join license_history lh on lh.anid = animals_search_mview.id left join licenses l on l.id = lh.licid left join breedings b on b.id = animals_search_mview.last_mating group by animals_search_mview.id, b.unbreeding_date, fates.loc, strains.cancel_criteria, strains.symtoms, strains.reduce_severity_by, strains.sym_immune, straindeleted) data where data.fate = ? and data.alive = ? and data.deleted = ? and (is_owner or is_editor or is_tourist) and (data.straindeleted = ? or data.straindeleted is null) order by data.cage_name, data.animal_id, data.name;Times Reported Time consuming queries #17
Day Hour Count Duration Avg duration Mar 25 08 7 4s466ms 638ms 09 4 2s561ms 640ms 11 1 646ms 646ms 12 4 2s577ms 644ms 14 4 2s560ms 640ms 15 1 635ms 635ms 16 1 640ms 640ms 17 2 1s292ms 646ms 18 9 5s753ms 639ms [ User: labanimal - Total duration: 21s135ms - Times executed: 33 ]
[ Application: _desktop_index.php_zemm_produktiv_8_localhost_5432 - Total duration: 21s135ms - Times executed: 33 ]
-
SELECT DISTINCT * FROM ( SELECT animals_search_mview.*, b.unbreeding_date, fates.loc AS fate_name, user_is_tgm (animals_search_mview.owner, 10100189) AS is_owner, user_is_tgm (animals_search_mview.editor, 10100189) AS is_editor, user_is_tgm (animals_search_mview.tourist, 10100189) AS is_tourist, strains.cancel_criteria, strains.symtoms, strains.reduce_severity_by, strains.sym_immune, strains.deleted as straindeleted, STRING_AGG(l."application_id" || ':' || l."title" || ' - ' || Date(lh."timestamp")::varchar, '; ') AS licensehistory, CASE WHEN NOT EXISTS ( SELECT 1 FROM scoresheet_diary sd WHERE sd.animals_id = animals_search_mview.id) THEN 'f' ELSE 't' END AS isscored FROM animals_search_mview INNER JOIN fates ON fates.id = animals_search_mview.fate LEFT JOIN strains ON strains.name = animals_search_mview.strain LEFT JOIN license_history lh ON lh.anid = animals_search_mview.id LEFT JOIN licenses l ON l.id = lh.licid left join breedings b ON b.id = animals_search_mview.last_mating GROUP BY animals_search_mview.id, b.unbreeding_date, fates.loc, strains.cancel_criteria, strains.symtoms, strains.reduce_severity_by, strains.sym_immune, straindeleted) data WHERE data.fate = 5 AND data.alive = 't' AND data.deleted = 'f' AND (is_owner OR is_editor OR is_tourist) and (data.straindeleted = 'f' or data.straindeleted is null) ORDER BY data.cage_name, data.animal_id, data.name;
Date: 2026-03-25 17:59:28 Duration: 659ms Database: zemm_produktiv_8 User: labanimal Application: _desktop_index.php_zemm_produktiv_8_localhost_5432 Log file: /var/log/postgresql/postgresql-2026-03-25_063758.csv
-
SELECT DISTINCT * FROM ( SELECT animals_search_mview.*, b.unbreeding_date, fates.loc AS fate_name, 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, strains.cancel_criteria, strains.symtoms, strains.reduce_severity_by, strains.sym_immune, strains.deleted as straindeleted, STRING_AGG(l."application_id" || ':' || l."title" || ' - ' || Date(lh."timestamp")::varchar, '; ') AS licensehistory, CASE WHEN NOT EXISTS ( SELECT 1 FROM scoresheet_diary sd WHERE sd.animals_id = animals_search_mview.id) THEN 'f' ELSE 't' END AS isscored FROM animals_search_mview INNER JOIN fates ON fates.id = animals_search_mview.fate LEFT JOIN strains ON strains.name = animals_search_mview.strain LEFT JOIN license_history lh ON lh.anid = animals_search_mview.id LEFT JOIN licenses l ON l.id = lh.licid left join breedings b ON b.id = animals_search_mview.last_mating GROUP BY animals_search_mview.id, b.unbreeding_date, fates.loc, strains.cancel_criteria, strains.symtoms, strains.reduce_severity_by, strains.sym_immune, straindeleted) data WHERE data.fate = 5 AND data.alive = 't' AND data.deleted = 'f' AND (is_owner OR is_editor OR is_tourist) and (data.straindeleted = 'f' or data.straindeleted is null) ORDER BY data.cage_name, data.animal_id, data.name;
Date: 2026-03-25 09:13:32 Duration: 658ms Database: zemm_produktiv_8 User: labanimal Application: _desktop_index.php_zemm_produktiv_8_localhost_5432 Log file: /var/log/postgresql/postgresql-2026-03-25_063758.csv
-
SELECT DISTINCT * FROM ( SELECT animals_search_mview.*, b.unbreeding_date, fates.loc AS fate_name, user_is_tgm (animals_search_mview.owner, 10100189) AS is_owner, user_is_tgm (animals_search_mview.editor, 10100189) AS is_editor, user_is_tgm (animals_search_mview.tourist, 10100189) AS is_tourist, strains.cancel_criteria, strains.symtoms, strains.reduce_severity_by, strains.sym_immune, strains.deleted as straindeleted, STRING_AGG(l."application_id" || ':' || l."title" || ' - ' || Date(lh."timestamp")::varchar, '; ') AS licensehistory, CASE WHEN NOT EXISTS ( SELECT 1 FROM scoresheet_diary sd WHERE sd.animals_id = animals_search_mview.id) THEN 'f' ELSE 't' END AS isscored FROM animals_search_mview INNER JOIN fates ON fates.id = animals_search_mview.fate LEFT JOIN strains ON strains.name = animals_search_mview.strain LEFT JOIN license_history lh ON lh.anid = animals_search_mview.id LEFT JOIN licenses l ON l.id = lh.licid left join breedings b ON b.id = animals_search_mview.last_mating GROUP BY animals_search_mview.id, b.unbreeding_date, fates.loc, strains.cancel_criteria, strains.symtoms, strains.reduce_severity_by, strains.sym_immune, straindeleted) data WHERE data.fate = 5 AND data.alive = 't' AND data.deleted = 'f' AND (is_owner OR is_editor OR is_tourist) and (data.straindeleted = 'f' or data.straindeleted is null) ORDER BY data.cage_name, data.animal_id, data.name;
Date: 2026-03-25 18:06:47 Duration: 654ms Database: zemm_produktiv_8 User: labanimal Application: _desktop_index.php_zemm_produktiv_8_localhost_5432 Log file: /var/log/postgresql/postgresql-2026-03-25_063758.csv
18 13s575ms 8 1s543ms 1s915ms 1s696ms 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 #18
Day Hour Count Duration Avg duration Mar 25 06 1 1s915ms 1s915ms 07 2 3s382ms 1s691ms 08 2 3s432ms 1s716ms 09 1 1s604ms 1s604ms 11 1 1s697ms 1s697ms 14 1 1s543ms 1s543ms [ User: labanimal - Total duration: 13s575ms - Times executed: 8 ]
[ Application: _desktop_index.php_zemm_produktiv_8_localhost_5432 - Total duration: 13s575ms - Times executed: 8 ]
-
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, 477) THEN TRUE WHEN user_is_tgm (dam.editor, 477) THEN TRUE WHEN user_is_tgm (dam.tourist, 477) 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, 477) THEN TRUE WHEN user_is_tgm (sire.editor, 477) THEN TRUE WHEN user_is_tgm (sire.tourist, 477) 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 ('49-201') 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-03-25 06:51:46 Duration: 1s915ms Database: zemm_produktiv_8 User: labanimal Application: _desktop_index.php_zemm_produktiv_8_localhost_5432 Log file: /var/log/postgresql/postgresql-2026-03-25_063758.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, 456) THEN TRUE WHEN user_is_tgm (dam.editor, 456) THEN TRUE WHEN user_is_tgm (dam.tourist, 456) 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, 456) THEN TRUE WHEN user_is_tgm (sire.editor, 456) THEN TRUE WHEN user_is_tgm (sire.tourist, 456) 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 ('51-506') 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-03-25 08:22:43 Duration: 1s779ms Database: zemm_produktiv_8 User: labanimal Application: _desktop_index.php_zemm_produktiv_8_localhost_5432 Log file: /var/log/postgresql/postgresql-2026-03-25_063758.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, 477) THEN TRUE WHEN user_is_tgm (dam.editor, 477) THEN TRUE WHEN user_is_tgm (dam.tourist, 477) 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, 477) THEN TRUE WHEN user_is_tgm (sire.editor, 477) THEN TRUE WHEN user_is_tgm (sire.tourist, 477) 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 ('49-225') 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-03-25 07:08:46 Duration: 1s720ms Database: zemm_produktiv_8 User: labanimal Application: _desktop_index.php_zemm_produktiv_8_localhost_5432 Log file: /var/log/postgresql/postgresql-2026-03-25_063758.csv
19 12s888ms 14 766ms 1s17ms 920ms select p_update_breedings (?, null, ?, ?::date, null, ?::text, ?::text, null) as id;Times Reported Time consuming queries #19
Day Hour Count Duration Avg duration Mar 25 07 3 2s530ms 843ms 08 2 1s954ms 977ms 09 3 2s670ms 890ms 10 2 1s798ms 899ms 11 1 1s15ms 1s15ms 12 1 955ms 955ms 13 1 1s1ms 1s1ms 14 1 962ms 962ms [ User: labanimal - Total duration: 12s888ms - Times executed: 14 ]
[ Application: _desktop_index.php_zemm_produktiv_8_localhost_5432 - Total duration: 12s888ms - Times executed: 14 ]
-
SELECT p_update_breedings (492, NULL, 13143, '2026-03-25'::date, NULL, '10294300'::text, '10297353'::text, NULL) AS id;
Date: 2026-03-25 10:18:32 Duration: 1s17ms Database: zemm_produktiv_8 User: labanimal Application: _desktop_index.php_zemm_produktiv_8_localhost_5432 Log file: /var/log/postgresql/postgresql-2026-03-25_063758.csv
-
SELECT p_update_breedings (492, NULL, 6950, '2026-03-25'::date, NULL, '10296423'::text, '10297929;10297930'::text, NULL) AS id;
Date: 2026-03-25 11:45:21 Duration: 1s15ms Database: zemm_produktiv_8 User: labanimal Application: _desktop_index.php_zemm_produktiv_8_localhost_5432 Log file: /var/log/postgresql/postgresql-2026-03-25_063758.csv
-
SELECT p_update_breedings (270, NULL, 9553, '2026-03-25'::date, NULL, '10272591'::text, '10270698;10280168'::text, NULL) AS id;
Date: 2026-03-25 13:08:02 Duration: 1s1ms Database: zemm_produktiv_8 User: labanimal Application: _desktop_index.php_zemm_produktiv_8_localhost_5432 Log file: /var/log/postgresql/postgresql-2026-03-25_063758.csv
20 6s765ms 7 775ms 1s160ms 966ms select p_update_breedings (?, ?, ?, ?::date, null, ?::text, ?::text, ?::date) as id;Times Reported Time consuming queries #20
Day Hour Count Duration Avg duration Mar 25 06 1 947ms 947ms 07 2 1s990ms 995ms 08 4 3s827ms 956ms [ User: labanimal - Total duration: 6s765ms - Times executed: 7 ]
[ Application: _desktop_index.php_zemm_produktiv_8_localhost_5432 - Total duration: 6s765ms - Times executed: 7 ]
-
SELECT p_update_breedings (492, 10110693, 13145, '2026-01-09'::date, NULL, '10291084'::text, '10291088'::text, '2026-03-25'::date) AS id;
Date: 2026-03-25 08:59:40 Duration: 1s160ms Database: zemm_produktiv_8 User: labanimal Application: _desktop_index.php_zemm_produktiv_8_localhost_5432 Log file: /var/log/postgresql/postgresql-2026-03-25_063758.csv
-
SELECT p_update_breedings (477, 10110968, 9949, '2026-02-05'::date, NULL, '10286753'::text, '10286755;10286756'::text, '2026-03-25'::date) AS id;
Date: 2026-03-25 07:08:16 Duration: 1s156ms Database: zemm_produktiv_8 User: labanimal Application: _desktop_index.php_zemm_produktiv_8_localhost_5432 Log file: /var/log/postgresql/postgresql-2026-03-25_063758.csv
-
SELECT p_update_breedings (456, 10111229, 10100222, '2026-03-18'::date, NULL, '10296185'::text, '10287711'::text, '2026-03-25'::date) AS id;
Date: 2026-03-25 08:23:14 Duration: 971ms Database: zemm_produktiv_8 User: labanimal Application: _desktop_index.php_zemm_produktiv_8_localhost_5432 Log file: /var/log/postgresql/postgresql-2026-03-25_063758.csv
Most frequent queries (N)
Rank Times executed Total duration Min duration Max duration Avg duration Query 1 1,440 19m10s 506ms 26s992ms 799ms create table if not exists observability.system_metrics ( id bigserial primary key, payload jsonb not null, collected_at timestamptz not null default now() );Times Reported Time consuming queries #1
Day Hour Count Duration Avg duration Mar 25 00 60 0ms 0ms 01 60 27s296ms 454ms 02 60 56s475ms 941ms 03 60 56s475ms 941ms 04 60 56s475ms 941ms 05 60 56s475ms 941ms 06 60 43s346ms 722ms 07 60 51s815ms 863ms 08 60 53s631ms 893ms 09 60 56s864ms 947ms 10 60 48s289ms 804ms 11 60 49s693ms 828ms 12 60 1m12s 1s214ms 13 60 1m51s 1s864ms 14 60 57s519ms 958ms 15 60 42s94ms 701ms 16 60 38s311ms 638ms 17 60 38s424ms 640ms 18 60 38s299ms 638ms 19 60 38s306ms 638ms 20 60 38s306ms 638ms 21 60 38s306ms 638ms 22 60 38s306ms 638ms 23 60 41s309ms 688ms [ User: labanimal - Total duration: 19m10s - Times executed: 1335 ]
-
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-03-25 13:37:01 Duration: 26s992ms Database: zemm_monitoring User: labanimal Log file: /var/log/postgresql/postgresql-2026-03-25_063758.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-03-25 13:36:01 Duration: 25s275ms Database: zemm_monitoring User: labanimal Log file: /var/log/postgresql/postgresql-2026-03-25_063758.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-03-25 13:08:01 Duration: 2s212ms Database: zemm_monitoring User: labanimal Log file: /var/log/postgresql/postgresql-2026-03-25_063758.csv
2 1,440 19m10s 506ms 26s992ms 799ms create table if not exists observability.db_top_queries ( id bigserial primary key, tenant_key text not null, fingerprint text, query text, mean_time_ms double precision, total_time_ms double precision, calls bigint, rows_returned bigint, collected_at timestamptz not null default now() );Times Reported Time consuming queries #2
Day Hour Count Duration Avg duration Mar 25 00 60 0ms 0ms 01 60 27s296ms 454ms 02 60 56s475ms 941ms 03 60 56s475ms 941ms 04 60 56s475ms 941ms 05 60 56s475ms 941ms 06 60 43s346ms 722ms 07 60 51s815ms 863ms 08 60 53s631ms 893ms 09 60 56s864ms 947ms 10 60 48s289ms 804ms 11 60 49s693ms 828ms 12 60 1m12s 1s214ms 13 60 1m51s 1s864ms 14 60 57s519ms 958ms 15 60 42s94ms 701ms 16 60 38s311ms 638ms 17 60 38s424ms 640ms 18 60 38s299ms 638ms 19 60 38s306ms 638ms 20 60 38s306ms 638ms 21 60 38s306ms 638ms 22 60 38s306ms 638ms 23 60 41s309ms 688ms [ User: labanimal - Total duration: 19m10s - Times executed: 1335 ]
-
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-03-25 13:37:01 Duration: 26s992ms Database: zemm_monitoring User: labanimal Log file: /var/log/postgresql/postgresql-2026-03-25_063758.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-03-25 13:36:01 Duration: 25s275ms Database: zemm_monitoring User: labanimal Log file: /var/log/postgresql/postgresql-2026-03-25_063758.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-03-25 13:08:01 Duration: 2s212ms Database: zemm_monitoring User: labanimal Log file: /var/log/postgresql/postgresql-2026-03-25_063758.csv
3 1,440 19m10s 506ms 26s992ms 799ms 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 #3
Day Hour Count Duration Avg duration Mar 25 00 60 0ms 0ms 01 60 27s296ms 454ms 02 60 56s475ms 941ms 03 60 56s475ms 941ms 04 60 56s475ms 941ms 05 60 56s475ms 941ms 06 60 43s346ms 722ms 07 60 51s815ms 863ms 08 60 53s631ms 893ms 09 60 56s864ms 947ms 10 60 48s289ms 804ms 11 60 49s693ms 828ms 12 60 1m12s 1s214ms 13 60 1m51s 1s864ms 14 60 57s519ms 958ms 15 60 42s94ms 701ms 16 60 38s311ms 638ms 17 60 38s424ms 640ms 18 60 38s299ms 638ms 19 60 38s306ms 638ms 20 60 38s306ms 638ms 21 60 38s306ms 638ms 22 60 38s306ms 638ms 23 60 41s309ms 688ms [ User: labanimal - Total duration: 19m10s - Times executed: 1335 ]
-
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-03-25 13:37:01 Duration: 26s992ms Database: zemm_monitoring User: labanimal Log file: /var/log/postgresql/postgresql-2026-03-25_063758.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-03-25 13:36:01 Duration: 25s275ms Database: zemm_monitoring User: labanimal Log file: /var/log/postgresql/postgresql-2026-03-25_063758.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-03-25 13:08:01 Duration: 2s212ms Database: zemm_monitoring User: labanimal Log file: /var/log/postgresql/postgresql-2026-03-25_063758.csv
4 1,440 19m10s 506ms 26s992ms 799ms create index if not exists idx_metrics_timeseries_bucket on observability.metrics_timeseries (bucket_start);Times Reported Time consuming queries #4
Day Hour Count Duration Avg duration Mar 25 00 60 0ms 0ms 01 60 27s296ms 454ms 02 60 56s475ms 941ms 03 60 56s475ms 941ms 04 60 56s475ms 941ms 05 60 56s475ms 941ms 06 60 43s346ms 722ms 07 60 51s815ms 863ms 08 60 53s631ms 893ms 09 60 56s864ms 947ms 10 60 48s289ms 804ms 11 60 49s693ms 828ms 12 60 1m12s 1s214ms 13 60 1m51s 1s864ms 14 60 57s519ms 958ms 15 60 42s94ms 701ms 16 60 38s311ms 638ms 17 60 38s424ms 640ms 18 60 38s299ms 638ms 19 60 38s306ms 638ms 20 60 38s306ms 638ms 21 60 38s306ms 638ms 22 60 38s306ms 638ms 23 60 41s309ms 688ms [ User: labanimal - Total duration: 19m10s - Times executed: 1335 ]
-
CREATE INDEX IF NOT EXISTS idx_metrics_timeseries_bucket ON observability.metrics_timeseries (bucket_start);
Date: 2026-03-25 13:37:01 Duration: 26s992ms Database: zemm_monitoring User: labanimal Log file: /var/log/postgresql/postgresql-2026-03-25_063758.csv
-
CREATE INDEX IF NOT EXISTS idx_metrics_timeseries_bucket ON observability.metrics_timeseries (bucket_start);
Date: 2026-03-25 13:36:01 Duration: 25s275ms Database: zemm_monitoring User: labanimal Log file: /var/log/postgresql/postgresql-2026-03-25_063758.csv
-
CREATE INDEX IF NOT EXISTS idx_metrics_timeseries_bucket ON observability.metrics_timeseries (bucket_start);
Date: 2026-03-25 13:08:01 Duration: 2s212ms Database: zemm_monitoring User: labanimal Log file: /var/log/postgresql/postgresql-2026-03-25_063758.csv
5 1,440 19m10s 506ms 26s992ms 799ms 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 Mar 25 00 60 0ms 0ms 01 60 27s296ms 454ms 02 60 56s475ms 941ms 03 60 56s475ms 941ms 04 60 56s475ms 941ms 05 60 56s475ms 941ms 06 60 43s346ms 722ms 07 60 51s815ms 863ms 08 60 53s631ms 893ms 09 60 56s864ms 947ms 10 60 48s289ms 804ms 11 60 49s693ms 828ms 12 60 1m12s 1s214ms 13 60 1m51s 1s864ms 14 60 57s519ms 958ms 15 60 42s94ms 701ms 16 60 38s311ms 638ms 17 60 38s424ms 640ms 18 60 38s299ms 638ms 19 60 38s306ms 638ms 20 60 38s306ms 638ms 21 60 38s306ms 638ms 22 60 38s306ms 638ms 23 60 41s309ms 688ms [ User: labanimal - Total duration: 19m10s - Times executed: 1335 ]
-
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-03-25 13:37:01 Duration: 26s992ms Database: zemm_monitoring User: labanimal Log file: /var/log/postgresql/postgresql-2026-03-25_063758.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-03-25 13:36:01 Duration: 25s275ms Database: zemm_monitoring User: labanimal Log file: /var/log/postgresql/postgresql-2026-03-25_063758.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-03-25 13:08:01 Duration: 2s212ms Database: zemm_monitoring User: labanimal Log file: /var/log/postgresql/postgresql-2026-03-25_063758.csv
6 1,440 19m10s 506ms 26s992ms 799ms create table if not exists observability.app_events ( id bigserial primary key, tenant_key text not null, event_type text not null, severity text not null, message text not null, payload jsonb, occurred_at timestamptz not null default now(), created_at timestamptz not null default now() );Times Reported Time consuming queries #6
Day Hour Count Duration Avg duration Mar 25 00 60 0ms 0ms 01 60 27s296ms 454ms 02 60 56s475ms 941ms 03 60 56s475ms 941ms 04 60 56s475ms 941ms 05 60 56s475ms 941ms 06 60 43s346ms 722ms 07 60 51s815ms 863ms 08 60 53s631ms 893ms 09 60 56s864ms 947ms 10 60 48s289ms 804ms 11 60 49s693ms 828ms 12 60 1m12s 1s214ms 13 60 1m51s 1s864ms 14 60 57s519ms 958ms 15 60 42s94ms 701ms 16 60 38s311ms 638ms 17 60 38s424ms 640ms 18 60 38s299ms 638ms 19 60 38s306ms 638ms 20 60 38s306ms 638ms 21 60 38s306ms 638ms 22 60 38s306ms 638ms 23 60 41s309ms 688ms [ User: labanimal - Total duration: 19m10s - Times executed: 1335 ]
-
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-03-25 13:37:01 Duration: 26s992ms Database: zemm_monitoring User: labanimal Log file: /var/log/postgresql/postgresql-2026-03-25_063758.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-03-25 13:36:01 Duration: 25s275ms Database: zemm_monitoring User: labanimal Log file: /var/log/postgresql/postgresql-2026-03-25_063758.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-03-25 13:08:01 Duration: 2s212ms Database: zemm_monitoring User: labanimal Log file: /var/log/postgresql/postgresql-2026-03-25_063758.csv
7 1,440 19m10s 506ms 26s992ms 799ms create index if not exists idx_app_events_type on observability.app_events (event_type);Times Reported Time consuming queries #7
Day Hour Count Duration Avg duration Mar 25 00 60 0ms 0ms 01 60 27s296ms 454ms 02 60 56s475ms 941ms 03 60 56s475ms 941ms 04 60 56s475ms 941ms 05 60 56s475ms 941ms 06 60 43s346ms 722ms 07 60 51s815ms 863ms 08 60 53s631ms 893ms 09 60 56s864ms 947ms 10 60 48s289ms 804ms 11 60 49s693ms 828ms 12 60 1m12s 1s214ms 13 60 1m51s 1s864ms 14 60 57s519ms 958ms 15 60 42s94ms 701ms 16 60 38s311ms 638ms 17 60 38s424ms 640ms 18 60 38s299ms 638ms 19 60 38s306ms 638ms 20 60 38s306ms 638ms 21 60 38s306ms 638ms 22 60 38s306ms 638ms 23 60 41s309ms 688ms [ User: labanimal - Total duration: 19m10s - Times executed: 1335 ]
-
CREATE INDEX IF NOT EXISTS idx_app_events_type ON observability.app_events (event_type);
Date: 2026-03-25 13:37:01 Duration: 26s992ms Database: zemm_monitoring User: labanimal Log file: /var/log/postgresql/postgresql-2026-03-25_063758.csv
-
CREATE INDEX IF NOT EXISTS idx_app_events_type ON observability.app_events (event_type);
Date: 2026-03-25 13:36:01 Duration: 25s275ms Database: zemm_monitoring User: labanimal Log file: /var/log/postgresql/postgresql-2026-03-25_063758.csv
-
CREATE INDEX IF NOT EXISTS idx_app_events_type ON observability.app_events (event_type);
Date: 2026-03-25 13:08:01 Duration: 2s212ms Database: zemm_monitoring User: labanimal Log file: /var/log/postgresql/postgresql-2026-03-25_063758.csv
8 1,440 19m10s 506ms 26s992ms 799ms create table if not exists observability.metrics_timeseries ( id bigserial primary key, tenant_key text not null, metric_name text not null, bucket_start timestamptz not null, bucket_width_seconds integer not null default ?, sum_value double precision not null default ?, count_value bigint not null default ?, histogram jsonb, created_at timestamptz not null default now(), updated_at timestamptz not null default now(), unique (tenant_key, metric_name, bucket_start, bucket_width_seconds) );Times Reported Time consuming queries #8
Day Hour Count Duration Avg duration Mar 25 00 60 0ms 0ms 01 60 27s296ms 454ms 02 60 56s475ms 941ms 03 60 56s475ms 941ms 04 60 56s475ms 941ms 05 60 56s475ms 941ms 06 60 43s346ms 722ms 07 60 51s815ms 863ms 08 60 53s631ms 893ms 09 60 56s864ms 947ms 10 60 48s289ms 804ms 11 60 49s693ms 828ms 12 60 1m12s 1s214ms 13 60 1m51s 1s864ms 14 60 57s519ms 958ms 15 60 42s94ms 701ms 16 60 38s311ms 638ms 17 60 38s424ms 640ms 18 60 38s299ms 638ms 19 60 38s306ms 638ms 20 60 38s306ms 638ms 21 60 38s306ms 638ms 22 60 38s306ms 638ms 23 60 41s309ms 688ms [ User: labanimal - Total duration: 19m10s - Times executed: 1335 ]
-
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-03-25 13:37:01 Duration: 26s992ms Database: zemm_monitoring User: labanimal Log file: /var/log/postgresql/postgresql-2026-03-25_063758.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-03-25 13:36:01 Duration: 25s275ms Database: zemm_monitoring User: labanimal Log file: /var/log/postgresql/postgresql-2026-03-25_063758.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-03-25 13:08:01 Duration: 2s212ms Database: zemm_monitoring User: labanimal Log file: /var/log/postgresql/postgresql-2026-03-25_063758.csv
9 1,440 19m10s 506ms 26s992ms 799ms 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 Mar 25 00 60 0ms 0ms 01 60 27s296ms 454ms 02 60 56s475ms 941ms 03 60 56s475ms 941ms 04 60 56s475ms 941ms 05 60 56s475ms 941ms 06 60 43s346ms 722ms 07 60 51s815ms 863ms 08 60 53s631ms 893ms 09 60 56s864ms 947ms 10 60 48s289ms 804ms 11 60 49s693ms 828ms 12 60 1m12s 1s214ms 13 60 1m51s 1s864ms 14 60 57s519ms 958ms 15 60 42s94ms 701ms 16 60 38s311ms 638ms 17 60 38s424ms 640ms 18 60 38s299ms 638ms 19 60 38s306ms 638ms 20 60 38s306ms 638ms 21 60 38s306ms 638ms 22 60 38s306ms 638ms 23 60 41s309ms 688ms [ User: labanimal - Total duration: 19m10s - Times executed: 1335 ]
-
CREATE INDEX IF NOT EXISTS idx_app_events_tenant ON observability.app_events (tenant_key, occurred_at DESC);
Date: 2026-03-25 13:37:01 Duration: 26s992ms Database: zemm_monitoring User: labanimal Log file: /var/log/postgresql/postgresql-2026-03-25_063758.csv
-
CREATE INDEX IF NOT EXISTS idx_app_events_tenant ON observability.app_events (tenant_key, occurred_at DESC);
Date: 2026-03-25 13:36:01 Duration: 25s275ms Database: zemm_monitoring User: labanimal Log file: /var/log/postgresql/postgresql-2026-03-25_063758.csv
-
CREATE INDEX IF NOT EXISTS idx_app_events_tenant ON observability.app_events (tenant_key, occurred_at DESC);
Date: 2026-03-25 13:08:01 Duration: 2s212ms Database: zemm_monitoring User: labanimal Log file: /var/log/postgresql/postgresql-2026-03-25_063758.csv
10 1,440 19m10s 506ms 26s992ms 799ms create schema if not exists observability;Times Reported Time consuming queries #10
Day Hour Count Duration Avg duration Mar 25 00 60 0ms 0ms 01 60 27s296ms 454ms 02 60 56s475ms 941ms 03 60 56s475ms 941ms 04 60 56s475ms 941ms 05 60 56s475ms 941ms 06 60 43s346ms 722ms 07 60 51s815ms 863ms 08 60 53s631ms 893ms 09 60 56s864ms 947ms 10 60 48s289ms 804ms 11 60 49s693ms 828ms 12 60 1m12s 1s214ms 13 60 1m51s 1s864ms 14 60 57s519ms 958ms 15 60 42s94ms 701ms 16 60 38s311ms 638ms 17 60 38s424ms 640ms 18 60 38s299ms 638ms 19 60 38s306ms 638ms 20 60 38s306ms 638ms 21 60 38s306ms 638ms 22 60 38s306ms 638ms 23 60 41s309ms 688ms [ User: labanimal - Total duration: 19m10s - Times executed: 1335 ]
-
CREATE SCHEMA IF NOT EXISTS observability;
Date: 2026-03-25 13:37:01 Duration: 26s992ms Database: zemm_monitoring User: labanimal Log file: /var/log/postgresql/postgresql-2026-03-25_063758.csv
-
CREATE SCHEMA IF NOT EXISTS observability;
Date: 2026-03-25 13:36:01 Duration: 25s275ms Database: zemm_monitoring User: labanimal Log file: /var/log/postgresql/postgresql-2026-03-25_063758.csv
-
CREATE SCHEMA IF NOT EXISTS observability;
Date: 2026-03-25 13:08:01 Duration: 2s212ms Database: zemm_monitoring User: labanimal Log file: /var/log/postgresql/postgresql-2026-03-25_063758.csv
11 1,440 19m10s 506ms 26s992ms 799ms 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 #11
Day Hour Count Duration Avg duration Mar 25 00 60 0ms 0ms 01 60 27s296ms 454ms 02 60 56s475ms 941ms 03 60 56s475ms 941ms 04 60 56s475ms 941ms 05 60 56s475ms 941ms 06 60 43s346ms 722ms 07 60 51s815ms 863ms 08 60 53s631ms 893ms 09 60 56s864ms 947ms 10 60 48s289ms 804ms 11 60 49s693ms 828ms 12 60 1m12s 1s214ms 13 60 1m51s 1s864ms 14 60 57s519ms 958ms 15 60 42s94ms 701ms 16 60 38s311ms 638ms 17 60 38s424ms 640ms 18 60 38s299ms 638ms 19 60 38s306ms 638ms 20 60 38s306ms 638ms 21 60 38s306ms 638ms 22 60 38s306ms 638ms 23 60 41s309ms 688ms [ User: labanimal - Total duration: 19m10s - Times executed: 1335 ]
-
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-03-25 13:37:01 Duration: 26s992ms Database: zemm_monitoring User: labanimal Log file: /var/log/postgresql/postgresql-2026-03-25_063758.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-03-25 13:36:01 Duration: 25s275ms Database: zemm_monitoring User: labanimal Log file: /var/log/postgresql/postgresql-2026-03-25_063758.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-03-25 13:08:01 Duration: 2s212ms Database: zemm_monitoring User: labanimal Log file: /var/log/postgresql/postgresql-2026-03-25_063758.csv
12 1,440 19m10s 506ms 26s992ms 799ms create index if not exists idx_metrics_timeseries_metric on observability.metrics_timeseries (metric_name);Times Reported Time consuming queries #12
Day Hour Count Duration Avg duration Mar 25 00 60 0ms 0ms 01 60 27s296ms 454ms 02 60 56s475ms 941ms 03 60 56s475ms 941ms 04 60 56s475ms 941ms 05 60 56s475ms 941ms 06 60 43s346ms 722ms 07 60 51s815ms 863ms 08 60 53s631ms 893ms 09 60 56s864ms 947ms 10 60 48s289ms 804ms 11 60 49s693ms 828ms 12 60 1m12s 1s214ms 13 60 1m51s 1s864ms 14 60 57s519ms 958ms 15 60 42s94ms 701ms 16 60 38s311ms 638ms 17 60 38s424ms 640ms 18 60 38s299ms 638ms 19 60 38s306ms 638ms 20 60 38s306ms 638ms 21 60 38s306ms 638ms 22 60 38s306ms 638ms 23 60 41s309ms 688ms [ User: labanimal - Total duration: 19m10s - Times executed: 1335 ]
-
CREATE INDEX IF NOT EXISTS idx_metrics_timeseries_metric ON observability.metrics_timeseries (metric_name);
Date: 2026-03-25 13:37:01 Duration: 26s992ms Database: zemm_monitoring User: labanimal Log file: /var/log/postgresql/postgresql-2026-03-25_063758.csv
-
CREATE INDEX IF NOT EXISTS idx_metrics_timeseries_metric ON observability.metrics_timeseries (metric_name);
Date: 2026-03-25 13:36:01 Duration: 25s275ms Database: zemm_monitoring User: labanimal Log file: /var/log/postgresql/postgresql-2026-03-25_063758.csv
-
CREATE INDEX IF NOT EXISTS idx_metrics_timeseries_metric ON observability.metrics_timeseries (metric_name);
Date: 2026-03-25 13:08:01 Duration: 2s212ms Database: zemm_monitoring User: labanimal Log file: /var/log/postgresql/postgresql-2026-03-25_063758.csv
13 1,440 19m10s 506ms 26s992ms 799ms 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 #13
Day Hour Count Duration Avg duration Mar 25 00 60 0ms 0ms 01 60 27s296ms 454ms 02 60 56s475ms 941ms 03 60 56s475ms 941ms 04 60 56s475ms 941ms 05 60 56s475ms 941ms 06 60 43s346ms 722ms 07 60 51s815ms 863ms 08 60 53s631ms 893ms 09 60 56s864ms 947ms 10 60 48s289ms 804ms 11 60 49s693ms 828ms 12 60 1m12s 1s214ms 13 60 1m51s 1s864ms 14 60 57s519ms 958ms 15 60 42s94ms 701ms 16 60 38s311ms 638ms 17 60 38s424ms 640ms 18 60 38s299ms 638ms 19 60 38s306ms 638ms 20 60 38s306ms 638ms 21 60 38s306ms 638ms 22 60 38s306ms 638ms 23 60 41s309ms 688ms [ User: labanimal - Total duration: 19m10s - Times executed: 1335 ]
-
CREATE INDEX IF NOT EXISTS idx_db_top_queries_tenant ON observability.db_top_queries (tenant_key, collected_at DESC);
Date: 2026-03-25 13:37:01 Duration: 26s992ms Database: zemm_monitoring User: labanimal Log file: /var/log/postgresql/postgresql-2026-03-25_063758.csv
-
CREATE INDEX IF NOT EXISTS idx_db_top_queries_tenant ON observability.db_top_queries (tenant_key, collected_at DESC);
Date: 2026-03-25 13:36:01 Duration: 25s275ms Database: zemm_monitoring User: labanimal Log file: /var/log/postgresql/postgresql-2026-03-25_063758.csv
-
CREATE INDEX IF NOT EXISTS idx_db_top_queries_tenant ON observability.db_top_queries (tenant_key, collected_at DESC);
Date: 2026-03-25 13:08:01 Duration: 2s212ms Database: zemm_monitoring User: labanimal Log file: /var/log/postgresql/postgresql-2026-03-25_063758.csv
14 33 23s141ms 689ms 724ms 701ms 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 #14
Day Hour Count Duration Avg duration Mar 25 08 7 4s905ms 700ms 09 4 2s796ms 699ms 11 1 694ms 694ms 12 4 2s796ms 699ms 14 4 2s797ms 699ms 15 1 708ms 708ms 16 1 692ms 692ms 17 2 1s416ms 708ms 18 9 6s333ms 703ms [ User: labanimal - Total duration: 23s141ms - Times executed: 33 ]
[ Application: _desktop_index.php_zemm_produktiv_8_localhost_5432 - Total duration: 23s141ms - Times executed: 33 ]
-
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, 10100189) AS is_owner, user_is_tgm (animals_search_mview.editor, 10100189) AS is_editor, user_is_tgm (animals_search_mview.tourist, 10100189) 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-03-25 18:06:47 Duration: 724ms Database: zemm_produktiv_8 User: labanimal Application: _desktop_index.php_zemm_produktiv_8_localhost_5432 Log file: /var/log/postgresql/postgresql-2026-03-25_063758.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-03-25 09:13:31 Duration: 718ms Database: zemm_produktiv_8 User: labanimal Application: _desktop_index.php_zemm_produktiv_8_localhost_5432 Log file: /var/log/postgresql/postgresql-2026-03-25_063758.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, 10100189) AS is_owner, user_is_tgm (animals_search_mview.editor, 10100189) AS is_editor, user_is_tgm (animals_search_mview.tourist, 10100189) 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-03-25 17:59:27 Duration: 718ms Database: zemm_produktiv_8 User: labanimal Application: _desktop_index.php_zemm_produktiv_8_localhost_5432 Log file: /var/log/postgresql/postgresql-2026-03-25_063758.csv
15 33 21s135ms 628ms 659ms 640ms select distinct * from ( select animals_search_mview.*, b.unbreeding_date, fates.loc as fate_name, user_is_tgm (animals_search_mview.owner, ?) as is_owner, user_is_tgm (animals_search_mview.editor, ?) as is_editor, user_is_tgm (animals_search_mview.tourist, ?) as is_tourist, strains.cancel_criteria, strains.symtoms, strains.reduce_severity_by, strains.sym_immune, strains.deleted as straindeleted, string_agg(l."application_id" || ? || l."title" || ? || date(lh."timestamp")::varchar, ?) as licensehistory, case when not exists ( select ? from scoresheet_diary sd where sd.animals_id = animals_search_mview.id) then ? else ? end as isscored from animals_search_mview inner join fates on fates.id = animals_search_mview.fate left join strains on strains.name = animals_search_mview.strain left join license_history lh on lh.anid = animals_search_mview.id left join licenses l on l.id = lh.licid left join breedings b on b.id = animals_search_mview.last_mating group by animals_search_mview.id, b.unbreeding_date, fates.loc, strains.cancel_criteria, strains.symtoms, strains.reduce_severity_by, strains.sym_immune, straindeleted) data where data.fate = ? and data.alive = ? and data.deleted = ? and (is_owner or is_editor or is_tourist) and (data.straindeleted = ? or data.straindeleted is null) order by data.cage_name, data.animal_id, data.name;Times Reported Time consuming queries #15
Day Hour Count Duration Avg duration Mar 25 08 7 4s466ms 638ms 09 4 2s561ms 640ms 11 1 646ms 646ms 12 4 2s577ms 644ms 14 4 2s560ms 640ms 15 1 635ms 635ms 16 1 640ms 640ms 17 2 1s292ms 646ms 18 9 5s753ms 639ms [ User: labanimal - Total duration: 21s135ms - Times executed: 33 ]
[ Application: _desktop_index.php_zemm_produktiv_8_localhost_5432 - Total duration: 21s135ms - Times executed: 33 ]
-
SELECT DISTINCT * FROM ( SELECT animals_search_mview.*, b.unbreeding_date, fates.loc AS fate_name, user_is_tgm (animals_search_mview.owner, 10100189) AS is_owner, user_is_tgm (animals_search_mview.editor, 10100189) AS is_editor, user_is_tgm (animals_search_mview.tourist, 10100189) AS is_tourist, strains.cancel_criteria, strains.symtoms, strains.reduce_severity_by, strains.sym_immune, strains.deleted as straindeleted, STRING_AGG(l."application_id" || ':' || l."title" || ' - ' || Date(lh."timestamp")::varchar, '; ') AS licensehistory, CASE WHEN NOT EXISTS ( SELECT 1 FROM scoresheet_diary sd WHERE sd.animals_id = animals_search_mview.id) THEN 'f' ELSE 't' END AS isscored FROM animals_search_mview INNER JOIN fates ON fates.id = animals_search_mview.fate LEFT JOIN strains ON strains.name = animals_search_mview.strain LEFT JOIN license_history lh ON lh.anid = animals_search_mview.id LEFT JOIN licenses l ON l.id = lh.licid left join breedings b ON b.id = animals_search_mview.last_mating GROUP BY animals_search_mview.id, b.unbreeding_date, fates.loc, strains.cancel_criteria, strains.symtoms, strains.reduce_severity_by, strains.sym_immune, straindeleted) data WHERE data.fate = 5 AND data.alive = 't' AND data.deleted = 'f' AND (is_owner OR is_editor OR is_tourist) and (data.straindeleted = 'f' or data.straindeleted is null) ORDER BY data.cage_name, data.animal_id, data.name;
Date: 2026-03-25 17:59:28 Duration: 659ms Database: zemm_produktiv_8 User: labanimal Application: _desktop_index.php_zemm_produktiv_8_localhost_5432 Log file: /var/log/postgresql/postgresql-2026-03-25_063758.csv
-
SELECT DISTINCT * FROM ( SELECT animals_search_mview.*, b.unbreeding_date, fates.loc AS fate_name, 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, strains.cancel_criteria, strains.symtoms, strains.reduce_severity_by, strains.sym_immune, strains.deleted as straindeleted, STRING_AGG(l."application_id" || ':' || l."title" || ' - ' || Date(lh."timestamp")::varchar, '; ') AS licensehistory, CASE WHEN NOT EXISTS ( SELECT 1 FROM scoresheet_diary sd WHERE sd.animals_id = animals_search_mview.id) THEN 'f' ELSE 't' END AS isscored FROM animals_search_mview INNER JOIN fates ON fates.id = animals_search_mview.fate LEFT JOIN strains ON strains.name = animals_search_mview.strain LEFT JOIN license_history lh ON lh.anid = animals_search_mview.id LEFT JOIN licenses l ON l.id = lh.licid left join breedings b ON b.id = animals_search_mview.last_mating GROUP BY animals_search_mview.id, b.unbreeding_date, fates.loc, strains.cancel_criteria, strains.symtoms, strains.reduce_severity_by, strains.sym_immune, straindeleted) data WHERE data.fate = 5 AND data.alive = 't' AND data.deleted = 'f' AND (is_owner OR is_editor OR is_tourist) and (data.straindeleted = 'f' or data.straindeleted is null) ORDER BY data.cage_name, data.animal_id, data.name;
Date: 2026-03-25 09:13:32 Duration: 658ms Database: zemm_produktiv_8 User: labanimal Application: _desktop_index.php_zemm_produktiv_8_localhost_5432 Log file: /var/log/postgresql/postgresql-2026-03-25_063758.csv
-
SELECT DISTINCT * FROM ( SELECT animals_search_mview.*, b.unbreeding_date, fates.loc AS fate_name, user_is_tgm (animals_search_mview.owner, 10100189) AS is_owner, user_is_tgm (animals_search_mview.editor, 10100189) AS is_editor, user_is_tgm (animals_search_mview.tourist, 10100189) AS is_tourist, strains.cancel_criteria, strains.symtoms, strains.reduce_severity_by, strains.sym_immune, strains.deleted as straindeleted, STRING_AGG(l."application_id" || ':' || l."title" || ' - ' || Date(lh."timestamp")::varchar, '; ') AS licensehistory, CASE WHEN NOT EXISTS ( SELECT 1 FROM scoresheet_diary sd WHERE sd.animals_id = animals_search_mview.id) THEN 'f' ELSE 't' END AS isscored FROM animals_search_mview INNER JOIN fates ON fates.id = animals_search_mview.fate LEFT JOIN strains ON strains.name = animals_search_mview.strain LEFT JOIN license_history lh ON lh.anid = animals_search_mview.id LEFT JOIN licenses l ON l.id = lh.licid left join breedings b ON b.id = animals_search_mview.last_mating GROUP BY animals_search_mview.id, b.unbreeding_date, fates.loc, strains.cancel_criteria, strains.symtoms, strains.reduce_severity_by, strains.sym_immune, straindeleted) data WHERE data.fate = 5 AND data.alive = 't' AND data.deleted = 'f' AND (is_owner OR is_editor OR is_tourist) and (data.straindeleted = 'f' or data.straindeleted is null) ORDER BY data.cage_name, data.animal_id, data.name;
Date: 2026-03-25 18:06:47 Duration: 654ms Database: zemm_produktiv_8 User: labanimal Application: _desktop_index.php_zemm_produktiv_8_localhost_5432 Log file: /var/log/postgresql/postgresql-2026-03-25_063758.csv
16 14 12s888ms 766ms 1s17ms 920ms select p_update_breedings (?, null, ?, ?::date, null, ?::text, ?::text, null) as id;Times Reported Time consuming queries #16
Day Hour Count Duration Avg duration Mar 25 07 3 2s530ms 843ms 08 2 1s954ms 977ms 09 3 2s670ms 890ms 10 2 1s798ms 899ms 11 1 1s15ms 1s15ms 12 1 955ms 955ms 13 1 1s1ms 1s1ms 14 1 962ms 962ms [ User: labanimal - Total duration: 12s888ms - Times executed: 14 ]
[ Application: _desktop_index.php_zemm_produktiv_8_localhost_5432 - Total duration: 12s888ms - Times executed: 14 ]
-
SELECT p_update_breedings (492, NULL, 13143, '2026-03-25'::date, NULL, '10294300'::text, '10297353'::text, NULL) AS id;
Date: 2026-03-25 10:18:32 Duration: 1s17ms Database: zemm_produktiv_8 User: labanimal Application: _desktop_index.php_zemm_produktiv_8_localhost_5432 Log file: /var/log/postgresql/postgresql-2026-03-25_063758.csv
-
SELECT p_update_breedings (492, NULL, 6950, '2026-03-25'::date, NULL, '10296423'::text, '10297929;10297930'::text, NULL) AS id;
Date: 2026-03-25 11:45:21 Duration: 1s15ms Database: zemm_produktiv_8 User: labanimal Application: _desktop_index.php_zemm_produktiv_8_localhost_5432 Log file: /var/log/postgresql/postgresql-2026-03-25_063758.csv
-
SELECT p_update_breedings (270, NULL, 9553, '2026-03-25'::date, NULL, '10272591'::text, '10270698;10280168'::text, NULL) AS id;
Date: 2026-03-25 13:08:02 Duration: 1s1ms Database: zemm_produktiv_8 User: labanimal Application: _desktop_index.php_zemm_produktiv_8_localhost_5432 Log file: /var/log/postgresql/postgresql-2026-03-25_063758.csv
17 8 13s575ms 1s543ms 1s915ms 1s696ms 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 #17
Day Hour Count Duration Avg duration Mar 25 06 1 1s915ms 1s915ms 07 2 3s382ms 1s691ms 08 2 3s432ms 1s716ms 09 1 1s604ms 1s604ms 11 1 1s697ms 1s697ms 14 1 1s543ms 1s543ms [ User: labanimal - Total duration: 13s575ms - Times executed: 8 ]
[ Application: _desktop_index.php_zemm_produktiv_8_localhost_5432 - Total duration: 13s575ms - Times executed: 8 ]
-
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, 477) THEN TRUE WHEN user_is_tgm (dam.editor, 477) THEN TRUE WHEN user_is_tgm (dam.tourist, 477) 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, 477) THEN TRUE WHEN user_is_tgm (sire.editor, 477) THEN TRUE WHEN user_is_tgm (sire.tourist, 477) 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 ('49-201') 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-03-25 06:51:46 Duration: 1s915ms Database: zemm_produktiv_8 User: labanimal Application: _desktop_index.php_zemm_produktiv_8_localhost_5432 Log file: /var/log/postgresql/postgresql-2026-03-25_063758.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, 456) THEN TRUE WHEN user_is_tgm (dam.editor, 456) THEN TRUE WHEN user_is_tgm (dam.tourist, 456) 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, 456) THEN TRUE WHEN user_is_tgm (sire.editor, 456) THEN TRUE WHEN user_is_tgm (sire.tourist, 456) 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 ('51-506') 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-03-25 08:22:43 Duration: 1s779ms Database: zemm_produktiv_8 User: labanimal Application: _desktop_index.php_zemm_produktiv_8_localhost_5432 Log file: /var/log/postgresql/postgresql-2026-03-25_063758.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, 477) THEN TRUE WHEN user_is_tgm (dam.editor, 477) THEN TRUE WHEN user_is_tgm (dam.tourist, 477) 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, 477) THEN TRUE WHEN user_is_tgm (sire.editor, 477) THEN TRUE WHEN user_is_tgm (sire.tourist, 477) 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 ('49-225') 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-03-25 07:08:46 Duration: 1s720ms Database: zemm_produktiv_8 User: labanimal Application: _desktop_index.php_zemm_produktiv_8_localhost_5432 Log file: /var/log/postgresql/postgresql-2026-03-25_063758.csv
18 7 6s765ms 775ms 1s160ms 966ms select p_update_breedings (?, ?, ?, ?::date, null, ?::text, ?::text, ?::date) as id;Times Reported Time consuming queries #18
Day Hour Count Duration Avg duration Mar 25 06 1 947ms 947ms 07 2 1s990ms 995ms 08 4 3s827ms 956ms [ User: labanimal - Total duration: 6s765ms - Times executed: 7 ]
[ Application: _desktop_index.php_zemm_produktiv_8_localhost_5432 - Total duration: 6s765ms - Times executed: 7 ]
-
SELECT p_update_breedings (492, 10110693, 13145, '2026-01-09'::date, NULL, '10291084'::text, '10291088'::text, '2026-03-25'::date) AS id;
Date: 2026-03-25 08:59:40 Duration: 1s160ms Database: zemm_produktiv_8 User: labanimal Application: _desktop_index.php_zemm_produktiv_8_localhost_5432 Log file: /var/log/postgresql/postgresql-2026-03-25_063758.csv
-
SELECT p_update_breedings (477, 10110968, 9949, '2026-02-05'::date, NULL, '10286753'::text, '10286755;10286756'::text, '2026-03-25'::date) AS id;
Date: 2026-03-25 07:08:16 Duration: 1s156ms Database: zemm_produktiv_8 User: labanimal Application: _desktop_index.php_zemm_produktiv_8_localhost_5432 Log file: /var/log/postgresql/postgresql-2026-03-25_063758.csv
-
SELECT p_update_breedings (456, 10111229, 10100222, '2026-03-18'::date, NULL, '10296185'::text, '10287711'::text, '2026-03-25'::date) AS id;
Date: 2026-03-25 08:23:14 Duration: 971ms Database: zemm_produktiv_8 User: labanimal Application: _desktop_index.php_zemm_produktiv_8_localhost_5432 Log file: /var/log/postgresql/postgresql-2026-03-25_063758.csv
19 6 3s315ms 548ms 560ms 552ms select breedings.id, cages.id as cage_db_id, cages."cageName" as cage_name, breedings.breeding_date, breedings.unbreeding_date, breedings.plug_date, breedings.sires, breedings.dams from breedings inner join ( select id, name, "animalID", "homeCage", tourist, editor, owner from animals) as dam on position((?| | dam.id || ?) in (?| | breedings.dams || ?)) > ? inner join ( select id, name, "animalID" from animals) as sire on position((?| | sire.id || ?) in (?| | breedings.sires || ?)) > ? inner join cages on cages.id = breedings.cage where breedings.id = ?;Times Reported Time consuming queries #19
Day Hour Count Duration Avg duration Mar 25 07 4 2s213ms 553ms 08 2 1s102ms 551ms [ User: labanimal - Total duration: 3s315ms - Times executed: 6 ]
[ Application: _desktop_index.php_zemm_produktiv_8_localhost_5432 - Total duration: 3s315ms - Times executed: 6 ]
-
SELECT breedings.id, cages.id as cage_db_id, cages."cageName" as cage_name, breedings.breeding_date, breedings.unbreeding_date, breedings.plug_date, breedings.sires, breedings.dams FROM breedings INNER JOIN ( select id, name, "animalID", "homeCage", tourist, editor, owner from animals) AS dam ON POSITION((';' || dam.id || ';') IN (';' || breedings.dams || ';')) > 0 INNER JOIN ( select id, name, "animalID" from animals) AS sire ON POSITION((';' || sire.id || ';') IN (';' || breedings.sires || ';')) > 0 INNER JOIN cages ON cages.id = breedings.cage WHERE breedings.id = 10110967;
Date: 2026-03-25 07:08:52 Duration: 560ms Database: zemm_produktiv_8 User: labanimal Application: _desktop_index.php_zemm_produktiv_8_localhost_5432 Log file: /var/log/postgresql/postgresql-2026-03-25_063758.csv
-
SELECT breedings.id, cages.id as cage_db_id, cages."cageName" as cage_name, breedings.breeding_date, breedings.unbreeding_date, breedings.plug_date, breedings.sires, breedings.dams FROM breedings INNER JOIN ( select id, name, "animalID", "homeCage", tourist, editor, owner from animals) AS dam ON POSITION((';' || dam.id || ';') IN (';' || breedings.dams || ';')) > 0 INNER JOIN ( select id, name, "animalID" from animals) AS sire ON POSITION((';' || sire.id || ';') IN (';' || breedings.sires || ';')) > 0 INNER JOIN cages ON cages.id = breedings.cage WHERE breedings.id = 10110968;
Date: 2026-03-25 07:08:15 Duration: 552ms Database: zemm_produktiv_8 User: labanimal Application: _desktop_index.php_zemm_produktiv_8_localhost_5432 Log file: /var/log/postgresql/postgresql-2026-03-25_063758.csv
-
SELECT breedings.id, cages.id as cage_db_id, cages."cageName" as cage_name, breedings.breeding_date, breedings.unbreeding_date, breedings.plug_date, breedings.sires, breedings.dams FROM breedings INNER JOIN ( select id, name, "animalID", "homeCage", tourist, editor, owner from animals) AS dam ON POSITION((';' || dam.id || ';') IN (';' || breedings.dams || ';')) > 0 INNER JOIN ( select id, name, "animalID" from animals) AS sire ON POSITION((';' || sire.id || ';') IN (';' || breedings.sires || ';')) > 0 INNER JOIN cages ON cages.id = breedings.cage WHERE breedings.id = 10110942;
Date: 2026-03-25 08:18:08 Duration: 552ms Database: zemm_produktiv_8 User: labanimal Application: _desktop_index.php_zemm_produktiv_8_localhost_5432 Log file: /var/log/postgresql/postgresql-2026-03-25_063758.csv
20 5 4s419ms 864ms 899ms 883ms 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 outgoing_date >= ? and outgoing_date <= ? 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 Mar 25 15 5 4s419ms 883ms [ User: labanimal - Total duration: 4s419ms - Times executed: 5 ]
[ Application: _desktop_index.php_zemm_produktiv_8_localhost_5432 - Total duration: 2s621ms - Times executed: 3 ]
[ Application: _desktop_index.php_view_animal_name_on_view_animal_id_on_breedi - Total duration: 1s798ms - Times executed: 2 ]
-
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, 559) AS is_owner, user_is_tgm (animals_search_mview.editor, 559) AS is_editor, user_is_tgm (animals_search_mview.tourist, 559) 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 outgoing_date >= '2025-01-01' AND outgoing_date <= '2025-12-31' AND alive = 't' AND deleted = 'f' AND (is_owner OR is_editor OR is_tourist);
Date: 2026-03-25 15:12:56 Duration: 899ms Database: zemm_produktiv_8 User: labanimal Application: _desktop_index.php_view_animal_name_on_view_animal_id_on_breedi Log file: /var/log/postgresql/postgresql-2026-03-25_063758.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, 559) AS is_owner, user_is_tgm (animals_search_mview.editor, 559) AS is_editor, user_is_tgm (animals_search_mview.tourist, 559) 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 outgoing_date >= '2025-01-01' AND outgoing_date <= '2025-12-31' AND alive = 't' AND deleted = 'f' AND (is_owner OR is_editor OR is_tourist);
Date: 2026-03-25 15:12:45 Duration: 898ms Database: zemm_produktiv_8 User: labanimal Application: _desktop_index.php_view_animal_name_on_view_animal_id_on_breedi Log file: /var/log/postgresql/postgresql-2026-03-25_063758.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, 559) AS is_owner, user_is_tgm (animals_search_mview.editor, 559) AS is_editor, user_is_tgm (animals_search_mview.tourist, 559) 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 outgoing_date >= '2025-01-01' AND outgoing_date <= '2025-12-31' AND alive = 't' AND deleted = 'f' AND (is_owner OR is_editor OR is_tourist);
Date: 2026-03-25 15:12:00 Duration: 889ms Database: zemm_produktiv_8 User: labanimal Application: _desktop_index.php_zemm_produktiv_8_localhost_5432 Log file: /var/log/postgresql/postgresql-2026-03-25_063758.csv
Normalized slowest queries (N)
Rank Min duration Max duration Avg duration Times executed Total duration Query 1 26s992ms 26s992ms 26s992ms 1 26s992ms select distinct * from ( select animals_search_mview.*, b.unbreeding_date, fates.loc as fate_name, user_is_tgm (animals_search_mview.owner, ?) as is_owner, user_is_tgm (animals_search_mview.editor, ?) as is_editor, user_is_tgm (animals_search_mview.tourist, ?) as is_tourist, strains.cancel_criteria, strains.symtoms, strains.reduce_severity_by, strains.sym_immune, strains.deleted as straindeleted, string_agg(l."application_id" || ? || l."title" || ? || date(lh."timestamp")::varchar, ?) as licensehistory, case when not exists ( select ? from scoresheet_diary sd where sd.animals_id = animals_search_mview.id) then ? else ? end as isscored from animals_search_mview inner join fates on fates.id = animals_search_mview.fate left join strains on strains.name = animals_search_mview.strain left join license_history lh on lh.anid = animals_search_mview.id left join licenses l on l.id = lh.licid left join breedings b on b.id = animals_search_mview.last_mating group by animals_search_mview.id, b.unbreeding_date, fates.loc, strains.cancel_criteria, strains.symtoms, strains.reduce_severity_by, strains.sym_immune, straindeleted) data where data.deleted = ? and (is_owner or is_editor or is_tourist) and (data.straindeleted = ? or data.straindeleted is null) order by data.cage_name, data.animal_id, data.name;Times Reported Time consuming queries #1
Day Hour Count Duration Avg duration Mar 25 13 1 26s992ms 26s992ms [ User: labanimal - Total duration: 26s992ms - Times executed: 1 ]
[ Application: _desktop_index.php_zemm_produktiv_8_localhost_5432 - Total duration: 26s992ms - Times executed: 1 ]
-
SELECT DISTINCT * FROM ( SELECT animals_search_mview.*, b.unbreeding_date, fates.loc AS fate_name, user_is_tgm (animals_search_mview.owner, 516) AS is_owner, user_is_tgm (animals_search_mview.editor, 516) AS is_editor, user_is_tgm (animals_search_mview.tourist, 516) AS is_tourist, strains.cancel_criteria, strains.symtoms, strains.reduce_severity_by, strains.sym_immune, strains.deleted as straindeleted, STRING_AGG(l."application_id" || ':' || l."title" || ' - ' || Date(lh."timestamp")::varchar, '; ') AS licensehistory, CASE WHEN NOT EXISTS ( SELECT 1 FROM scoresheet_diary sd WHERE sd.animals_id = animals_search_mview.id) THEN 'f' ELSE 't' END AS isscored FROM animals_search_mview INNER JOIN fates ON fates.id = animals_search_mview.fate LEFT JOIN strains ON strains.name = animals_search_mview.strain LEFT JOIN license_history lh ON lh.anid = animals_search_mview.id LEFT JOIN licenses l ON l.id = lh.licid left join breedings b ON b.id = animals_search_mview.last_mating GROUP BY animals_search_mview.id, b.unbreeding_date, fates.loc, strains.cancel_criteria, strains.symtoms, strains.reduce_severity_by, strains.sym_immune, straindeleted) data WHERE data.deleted = 'f' AND (is_owner OR is_editor OR is_tourist) and (data.straindeleted = 'f' or data.straindeleted is null) ORDER BY data.cage_name, data.animal_id, data.name;
Date: 2026-03-25 13:36:19 Duration: 26s992ms Database: zemm_produktiv_8 User: labanimal Application: _desktop_index.php_zemm_produktiv_8_localhost_5432 Log file: /var/log/postgresql/postgresql-2026-03-25_063758.csv
-
SELECT DISTINCT * FROM ( SELECT animals_search_mview.*, b.unbreeding_date, fates.loc AS fate_name, user_is_tgm (animals_search_mview.owner, 516) AS is_owner, user_is_tgm (animals_search_mview.editor, 516) AS is_editor, user_is_tgm (animals_search_mview.tourist, 516) AS is_tourist, strains.cancel_criteria, strains.symtoms, strains.reduce_severity_by, strains.sym_immune, strains.deleted as straindeleted, STRING_AGG(l."application_id" || ':' || l."title" || ' - ' || Date(lh."timestamp")::varchar, '; ') AS licensehistory, CASE WHEN NOT EXISTS ( SELECT 1 FROM scoresheet_diary sd WHERE sd.animals_id = animals_search_mview.id) THEN 'f' ELSE 't' END AS isscored FROM animals_search_mview INNER JOIN fates ON fates.id = animals_search_mview.fate LEFT JOIN strains ON strains.name = animals_search_mview.strain LEFT JOIN license_history lh ON lh.anid = animals_search_mview.id LEFT JOIN licenses l ON l.id = lh.licid left join breedings b ON b.id = animals_search_mview.last_mating GROUP BY animals_search_mview.id, b.unbreeding_date, fates.loc, strains.cancel_criteria, strains.symtoms, strains.reduce_severity_by, strains.sym_immune, straindeleted) data WHERE data.deleted = 'f' AND (is_owner OR is_editor OR is_tourist) and (data.straindeleted = 'f' or data.straindeleted is null) ORDER BY data.cage_name, data.animal_id, data.name;
Date: 2026-03-25 13:36:19 Duration: 0ms Database: zemm_produktiv_8 User: labanimal Application: _desktop_index.php_zemm_produktiv_8_localhost_5432
2 25s275ms 25s275ms 25s275ms 1 25s275ms 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 deleted = ? and (is_owner or is_editor or is_tourist);Times Reported Time consuming queries #2
Day Hour Count Duration Avg duration Mar 25 13 1 25s275ms 25s275ms [ User: labanimal - Total duration: 25s275ms - Times executed: 1 ]
[ Application: _desktop_index.php_zemm_produktiv_8_localhost_5432 - Total duration: 25s275ms - Times executed: 1 ]
-
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, 516) AS is_owner, user_is_tgm (animals_search_mview.editor, 516) AS is_editor, user_is_tgm (animals_search_mview.tourist, 516) 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 deleted = 'f' AND (is_owner OR is_editor OR is_tourist);
Date: 2026-03-25 13:35:52 Duration: 25s275ms Database: zemm_produktiv_8 User: labanimal Application: _desktop_index.php_zemm_produktiv_8_localhost_5432 Log file: /var/log/postgresql/postgresql-2026-03-25_063758.csv
3 1s543ms 1s915ms 1s696ms 8 13s575ms 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 #3
Day Hour Count Duration Avg duration Mar 25 06 1 1s915ms 1s915ms 07 2 3s382ms 1s691ms 08 2 3s432ms 1s716ms 09 1 1s604ms 1s604ms 11 1 1s697ms 1s697ms 14 1 1s543ms 1s543ms [ User: labanimal - Total duration: 13s575ms - Times executed: 8 ]
[ Application: _desktop_index.php_zemm_produktiv_8_localhost_5432 - Total duration: 13s575ms - Times executed: 8 ]
-
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, 477) THEN TRUE WHEN user_is_tgm (dam.editor, 477) THEN TRUE WHEN user_is_tgm (dam.tourist, 477) 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, 477) THEN TRUE WHEN user_is_tgm (sire.editor, 477) THEN TRUE WHEN user_is_tgm (sire.tourist, 477) 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 ('49-201') 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-03-25 06:51:46 Duration: 1s915ms Database: zemm_produktiv_8 User: labanimal Application: _desktop_index.php_zemm_produktiv_8_localhost_5432 Log file: /var/log/postgresql/postgresql-2026-03-25_063758.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, 456) THEN TRUE WHEN user_is_tgm (dam.editor, 456) THEN TRUE WHEN user_is_tgm (dam.tourist, 456) 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, 456) THEN TRUE WHEN user_is_tgm (sire.editor, 456) THEN TRUE WHEN user_is_tgm (sire.tourist, 456) 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 ('51-506') 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-03-25 08:22:43 Duration: 1s779ms Database: zemm_produktiv_8 User: labanimal Application: _desktop_index.php_zemm_produktiv_8_localhost_5432 Log file: /var/log/postgresql/postgresql-2026-03-25_063758.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, 477) THEN TRUE WHEN user_is_tgm (dam.editor, 477) THEN TRUE WHEN user_is_tgm (dam.tourist, 477) 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, 477) THEN TRUE WHEN user_is_tgm (sire.editor, 477) THEN TRUE WHEN user_is_tgm (sire.tourist, 477) 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 ('49-225') 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-03-25 07:08:46 Duration: 1s720ms Database: zemm_produktiv_8 User: labanimal Application: _desktop_index.php_zemm_produktiv_8_localhost_5432 Log file: /var/log/postgresql/postgresql-2026-03-25_063758.csv
4 775ms 1s160ms 966ms 7 6s765ms select p_update_breedings (?, ?, ?, ?::date, null, ?::text, ?::text, ?::date) as id;Times Reported Time consuming queries #4
Day Hour Count Duration Avg duration Mar 25 06 1 947ms 947ms 07 2 1s990ms 995ms 08 4 3s827ms 956ms [ User: labanimal - Total duration: 6s765ms - Times executed: 7 ]
[ Application: _desktop_index.php_zemm_produktiv_8_localhost_5432 - Total duration: 6s765ms - Times executed: 7 ]
-
SELECT p_update_breedings (492, 10110693, 13145, '2026-01-09'::date, NULL, '10291084'::text, '10291088'::text, '2026-03-25'::date) AS id;
Date: 2026-03-25 08:59:40 Duration: 1s160ms Database: zemm_produktiv_8 User: labanimal Application: _desktop_index.php_zemm_produktiv_8_localhost_5432 Log file: /var/log/postgresql/postgresql-2026-03-25_063758.csv
-
SELECT p_update_breedings (477, 10110968, 9949, '2026-02-05'::date, NULL, '10286753'::text, '10286755;10286756'::text, '2026-03-25'::date) AS id;
Date: 2026-03-25 07:08:16 Duration: 1s156ms Database: zemm_produktiv_8 User: labanimal Application: _desktop_index.php_zemm_produktiv_8_localhost_5432 Log file: /var/log/postgresql/postgresql-2026-03-25_063758.csv
-
SELECT p_update_breedings (456, 10111229, 10100222, '2026-03-18'::date, NULL, '10296185'::text, '10287711'::text, '2026-03-25'::date) AS id;
Date: 2026-03-25 08:23:14 Duration: 971ms Database: zemm_produktiv_8 User: labanimal Application: _desktop_index.php_zemm_produktiv_8_localhost_5432 Log file: /var/log/postgresql/postgresql-2026-03-25_063758.csv
5 766ms 1s17ms 920ms 14 12s888ms select p_update_breedings (?, null, ?, ?::date, null, ?::text, ?::text, null) as id;Times Reported Time consuming queries #5
Day Hour Count Duration Avg duration Mar 25 07 3 2s530ms 843ms 08 2 1s954ms 977ms 09 3 2s670ms 890ms 10 2 1s798ms 899ms 11 1 1s15ms 1s15ms 12 1 955ms 955ms 13 1 1s1ms 1s1ms 14 1 962ms 962ms [ User: labanimal - Total duration: 12s888ms - Times executed: 14 ]
[ Application: _desktop_index.php_zemm_produktiv_8_localhost_5432 - Total duration: 12s888ms - Times executed: 14 ]
-
SELECT p_update_breedings (492, NULL, 13143, '2026-03-25'::date, NULL, '10294300'::text, '10297353'::text, NULL) AS id;
Date: 2026-03-25 10:18:32 Duration: 1s17ms Database: zemm_produktiv_8 User: labanimal Application: _desktop_index.php_zemm_produktiv_8_localhost_5432 Log file: /var/log/postgresql/postgresql-2026-03-25_063758.csv
-
SELECT p_update_breedings (492, NULL, 6950, '2026-03-25'::date, NULL, '10296423'::text, '10297929;10297930'::text, NULL) AS id;
Date: 2026-03-25 11:45:21 Duration: 1s15ms Database: zemm_produktiv_8 User: labanimal Application: _desktop_index.php_zemm_produktiv_8_localhost_5432 Log file: /var/log/postgresql/postgresql-2026-03-25_063758.csv
-
SELECT p_update_breedings (270, NULL, 9553, '2026-03-25'::date, NULL, '10272591'::text, '10270698;10280168'::text, NULL) AS id;
Date: 2026-03-25 13:08:02 Duration: 1s1ms Database: zemm_produktiv_8 User: labanimal Application: _desktop_index.php_zemm_produktiv_8_localhost_5432 Log file: /var/log/postgresql/postgresql-2026-03-25_063758.csv
6 864ms 899ms 883ms 5 4s419ms 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 outgoing_date >= ? and outgoing_date <= ? and alive = ? and deleted = ? and (is_owner or is_editor or is_tourist);Times Reported Time consuming queries #6
Day Hour Count Duration Avg duration Mar 25 15 5 4s419ms 883ms [ User: labanimal - Total duration: 4s419ms - Times executed: 5 ]
[ Application: _desktop_index.php_zemm_produktiv_8_localhost_5432 - Total duration: 2s621ms - Times executed: 3 ]
[ Application: _desktop_index.php_view_animal_name_on_view_animal_id_on_breedi - Total duration: 1s798ms - Times executed: 2 ]
-
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, 559) AS is_owner, user_is_tgm (animals_search_mview.editor, 559) AS is_editor, user_is_tgm (animals_search_mview.tourist, 559) 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 outgoing_date >= '2025-01-01' AND outgoing_date <= '2025-12-31' AND alive = 't' AND deleted = 'f' AND (is_owner OR is_editor OR is_tourist);
Date: 2026-03-25 15:12:56 Duration: 899ms Database: zemm_produktiv_8 User: labanimal Application: _desktop_index.php_view_animal_name_on_view_animal_id_on_breedi Log file: /var/log/postgresql/postgresql-2026-03-25_063758.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, 559) AS is_owner, user_is_tgm (animals_search_mview.editor, 559) AS is_editor, user_is_tgm (animals_search_mview.tourist, 559) 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 outgoing_date >= '2025-01-01' AND outgoing_date <= '2025-12-31' AND alive = 't' AND deleted = 'f' AND (is_owner OR is_editor OR is_tourist);
Date: 2026-03-25 15:12:45 Duration: 898ms Database: zemm_produktiv_8 User: labanimal Application: _desktop_index.php_view_animal_name_on_view_animal_id_on_breedi Log file: /var/log/postgresql/postgresql-2026-03-25_063758.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, 559) AS is_owner, user_is_tgm (animals_search_mview.editor, 559) AS is_editor, user_is_tgm (animals_search_mview.tourist, 559) 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 outgoing_date >= '2025-01-01' AND outgoing_date <= '2025-12-31' AND alive = 't' AND deleted = 'f' AND (is_owner OR is_editor OR is_tourist);
Date: 2026-03-25 15:12:00 Duration: 889ms Database: zemm_produktiv_8 User: labanimal Application: _desktop_index.php_zemm_produktiv_8_localhost_5432 Log file: /var/log/postgresql/postgresql-2026-03-25_063758.csv
7 506ms 26s992ms 799ms 1,440 19m10s 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 #7
Day Hour Count Duration Avg duration Mar 25 00 60 0ms 0ms 01 60 27s296ms 454ms 02 60 56s475ms 941ms 03 60 56s475ms 941ms 04 60 56s475ms 941ms 05 60 56s475ms 941ms 06 60 43s346ms 722ms 07 60 51s815ms 863ms 08 60 53s631ms 893ms 09 60 56s864ms 947ms 10 60 48s289ms 804ms 11 60 49s693ms 828ms 12 60 1m12s 1s214ms 13 60 1m51s 1s864ms 14 60 57s519ms 958ms 15 60 42s94ms 701ms 16 60 38s311ms 638ms 17 60 38s424ms 640ms 18 60 38s299ms 638ms 19 60 38s306ms 638ms 20 60 38s306ms 638ms 21 60 38s306ms 638ms 22 60 38s306ms 638ms 23 60 41s309ms 688ms [ User: labanimal - Total duration: 19m10s - Times executed: 1335 ]
-
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-03-25 13:37:01 Duration: 26s992ms Database: zemm_monitoring User: labanimal Log file: /var/log/postgresql/postgresql-2026-03-25_063758.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-03-25 13:36:01 Duration: 25s275ms Database: zemm_monitoring User: labanimal Log file: /var/log/postgresql/postgresql-2026-03-25_063758.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-03-25 13:08:01 Duration: 2s212ms Database: zemm_monitoring User: labanimal Log file: /var/log/postgresql/postgresql-2026-03-25_063758.csv
8 506ms 26s992ms 799ms 1,440 19m10s 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 #8
Day Hour Count Duration Avg duration Mar 25 00 60 0ms 0ms 01 60 27s296ms 454ms 02 60 56s475ms 941ms 03 60 56s475ms 941ms 04 60 56s475ms 941ms 05 60 56s475ms 941ms 06 60 43s346ms 722ms 07 60 51s815ms 863ms 08 60 53s631ms 893ms 09 60 56s864ms 947ms 10 60 48s289ms 804ms 11 60 49s693ms 828ms 12 60 1m12s 1s214ms 13 60 1m51s 1s864ms 14 60 57s519ms 958ms 15 60 42s94ms 701ms 16 60 38s311ms 638ms 17 60 38s424ms 640ms 18 60 38s299ms 638ms 19 60 38s306ms 638ms 20 60 38s306ms 638ms 21 60 38s306ms 638ms 22 60 38s306ms 638ms 23 60 41s309ms 688ms [ User: labanimal - Total duration: 19m10s - Times executed: 1335 ]
-
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-03-25 13:37:01 Duration: 26s992ms Database: zemm_monitoring User: labanimal Log file: /var/log/postgresql/postgresql-2026-03-25_063758.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-03-25 13:36:01 Duration: 25s275ms Database: zemm_monitoring User: labanimal Log file: /var/log/postgresql/postgresql-2026-03-25_063758.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-03-25 13:08:01 Duration: 2s212ms Database: zemm_monitoring User: labanimal Log file: /var/log/postgresql/postgresql-2026-03-25_063758.csv
9 506ms 26s992ms 799ms 1,440 19m10s 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 #9
Day Hour Count Duration Avg duration Mar 25 00 60 0ms 0ms 01 60 27s296ms 454ms 02 60 56s475ms 941ms 03 60 56s475ms 941ms 04 60 56s475ms 941ms 05 60 56s475ms 941ms 06 60 43s346ms 722ms 07 60 51s815ms 863ms 08 60 53s631ms 893ms 09 60 56s864ms 947ms 10 60 48s289ms 804ms 11 60 49s693ms 828ms 12 60 1m12s 1s214ms 13 60 1m51s 1s864ms 14 60 57s519ms 958ms 15 60 42s94ms 701ms 16 60 38s311ms 638ms 17 60 38s424ms 640ms 18 60 38s299ms 638ms 19 60 38s306ms 638ms 20 60 38s306ms 638ms 21 60 38s306ms 638ms 22 60 38s306ms 638ms 23 60 41s309ms 688ms [ User: labanimal - Total duration: 19m10s - Times executed: 1335 ]
-
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-03-25 13:37:01 Duration: 26s992ms Database: zemm_monitoring User: labanimal Log file: /var/log/postgresql/postgresql-2026-03-25_063758.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-03-25 13:36:01 Duration: 25s275ms Database: zemm_monitoring User: labanimal Log file: /var/log/postgresql/postgresql-2026-03-25_063758.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-03-25 13:08:01 Duration: 2s212ms Database: zemm_monitoring User: labanimal Log file: /var/log/postgresql/postgresql-2026-03-25_063758.csv
10 506ms 26s992ms 799ms 1,440 19m10s create index if not exists idx_metrics_timeseries_bucket on observability.metrics_timeseries (bucket_start);Times Reported Time consuming queries #10
Day Hour Count Duration Avg duration Mar 25 00 60 0ms 0ms 01 60 27s296ms 454ms 02 60 56s475ms 941ms 03 60 56s475ms 941ms 04 60 56s475ms 941ms 05 60 56s475ms 941ms 06 60 43s346ms 722ms 07 60 51s815ms 863ms 08 60 53s631ms 893ms 09 60 56s864ms 947ms 10 60 48s289ms 804ms 11 60 49s693ms 828ms 12 60 1m12s 1s214ms 13 60 1m51s 1s864ms 14 60 57s519ms 958ms 15 60 42s94ms 701ms 16 60 38s311ms 638ms 17 60 38s424ms 640ms 18 60 38s299ms 638ms 19 60 38s306ms 638ms 20 60 38s306ms 638ms 21 60 38s306ms 638ms 22 60 38s306ms 638ms 23 60 41s309ms 688ms [ User: labanimal - Total duration: 19m10s - Times executed: 1335 ]
-
CREATE INDEX IF NOT EXISTS idx_metrics_timeseries_bucket ON observability.metrics_timeseries (bucket_start);
Date: 2026-03-25 13:37:01 Duration: 26s992ms Database: zemm_monitoring User: labanimal Log file: /var/log/postgresql/postgresql-2026-03-25_063758.csv
-
CREATE INDEX IF NOT EXISTS idx_metrics_timeseries_bucket ON observability.metrics_timeseries (bucket_start);
Date: 2026-03-25 13:36:01 Duration: 25s275ms Database: zemm_monitoring User: labanimal Log file: /var/log/postgresql/postgresql-2026-03-25_063758.csv
-
CREATE INDEX IF NOT EXISTS idx_metrics_timeseries_bucket ON observability.metrics_timeseries (bucket_start);
Date: 2026-03-25 13:08:01 Duration: 2s212ms Database: zemm_monitoring User: labanimal Log file: /var/log/postgresql/postgresql-2026-03-25_063758.csv
11 506ms 26s992ms 799ms 1,440 19m10s 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 #11
Day Hour Count Duration Avg duration Mar 25 00 60 0ms 0ms 01 60 27s296ms 454ms 02 60 56s475ms 941ms 03 60 56s475ms 941ms 04 60 56s475ms 941ms 05 60 56s475ms 941ms 06 60 43s346ms 722ms 07 60 51s815ms 863ms 08 60 53s631ms 893ms 09 60 56s864ms 947ms 10 60 48s289ms 804ms 11 60 49s693ms 828ms 12 60 1m12s 1s214ms 13 60 1m51s 1s864ms 14 60 57s519ms 958ms 15 60 42s94ms 701ms 16 60 38s311ms 638ms 17 60 38s424ms 640ms 18 60 38s299ms 638ms 19 60 38s306ms 638ms 20 60 38s306ms 638ms 21 60 38s306ms 638ms 22 60 38s306ms 638ms 23 60 41s309ms 688ms [ User: labanimal - Total duration: 19m10s - Times executed: 1335 ]
-
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-03-25 13:37:01 Duration: 26s992ms Database: zemm_monitoring User: labanimal Log file: /var/log/postgresql/postgresql-2026-03-25_063758.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-03-25 13:36:01 Duration: 25s275ms Database: zemm_monitoring User: labanimal Log file: /var/log/postgresql/postgresql-2026-03-25_063758.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-03-25 13:08:01 Duration: 2s212ms Database: zemm_monitoring User: labanimal Log file: /var/log/postgresql/postgresql-2026-03-25_063758.csv
12 506ms 26s992ms 799ms 1,440 19m10s 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 #12
Day Hour Count Duration Avg duration Mar 25 00 60 0ms 0ms 01 60 27s296ms 454ms 02 60 56s475ms 941ms 03 60 56s475ms 941ms 04 60 56s475ms 941ms 05 60 56s475ms 941ms 06 60 43s346ms 722ms 07 60 51s815ms 863ms 08 60 53s631ms 893ms 09 60 56s864ms 947ms 10 60 48s289ms 804ms 11 60 49s693ms 828ms 12 60 1m12s 1s214ms 13 60 1m51s 1s864ms 14 60 57s519ms 958ms 15 60 42s94ms 701ms 16 60 38s311ms 638ms 17 60 38s424ms 640ms 18 60 38s299ms 638ms 19 60 38s306ms 638ms 20 60 38s306ms 638ms 21 60 38s306ms 638ms 22 60 38s306ms 638ms 23 60 41s309ms 688ms [ User: labanimal - Total duration: 19m10s - Times executed: 1335 ]
-
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-03-25 13:37:01 Duration: 26s992ms Database: zemm_monitoring User: labanimal Log file: /var/log/postgresql/postgresql-2026-03-25_063758.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-03-25 13:36:01 Duration: 25s275ms Database: zemm_monitoring User: labanimal Log file: /var/log/postgresql/postgresql-2026-03-25_063758.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-03-25 13:08:01 Duration: 2s212ms Database: zemm_monitoring User: labanimal Log file: /var/log/postgresql/postgresql-2026-03-25_063758.csv
13 506ms 26s992ms 799ms 1,440 19m10s create index if not exists idx_app_events_type on observability.app_events (event_type);Times Reported Time consuming queries #13
Day Hour Count Duration Avg duration Mar 25 00 60 0ms 0ms 01 60 27s296ms 454ms 02 60 56s475ms 941ms 03 60 56s475ms 941ms 04 60 56s475ms 941ms 05 60 56s475ms 941ms 06 60 43s346ms 722ms 07 60 51s815ms 863ms 08 60 53s631ms 893ms 09 60 56s864ms 947ms 10 60 48s289ms 804ms 11 60 49s693ms 828ms 12 60 1m12s 1s214ms 13 60 1m51s 1s864ms 14 60 57s519ms 958ms 15 60 42s94ms 701ms 16 60 38s311ms 638ms 17 60 38s424ms 640ms 18 60 38s299ms 638ms 19 60 38s306ms 638ms 20 60 38s306ms 638ms 21 60 38s306ms 638ms 22 60 38s306ms 638ms 23 60 41s309ms 688ms [ User: labanimal - Total duration: 19m10s - Times executed: 1335 ]
-
CREATE INDEX IF NOT EXISTS idx_app_events_type ON observability.app_events (event_type);
Date: 2026-03-25 13:37:01 Duration: 26s992ms Database: zemm_monitoring User: labanimal Log file: /var/log/postgresql/postgresql-2026-03-25_063758.csv
-
CREATE INDEX IF NOT EXISTS idx_app_events_type ON observability.app_events (event_type);
Date: 2026-03-25 13:36:01 Duration: 25s275ms Database: zemm_monitoring User: labanimal Log file: /var/log/postgresql/postgresql-2026-03-25_063758.csv
-
CREATE INDEX IF NOT EXISTS idx_app_events_type ON observability.app_events (event_type);
Date: 2026-03-25 13:08:01 Duration: 2s212ms Database: zemm_monitoring User: labanimal Log file: /var/log/postgresql/postgresql-2026-03-25_063758.csv
14 506ms 26s992ms 799ms 1,440 19m10s 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 #14
Day Hour Count Duration Avg duration Mar 25 00 60 0ms 0ms 01 60 27s296ms 454ms 02 60 56s475ms 941ms 03 60 56s475ms 941ms 04 60 56s475ms 941ms 05 60 56s475ms 941ms 06 60 43s346ms 722ms 07 60 51s815ms 863ms 08 60 53s631ms 893ms 09 60 56s864ms 947ms 10 60 48s289ms 804ms 11 60 49s693ms 828ms 12 60 1m12s 1s214ms 13 60 1m51s 1s864ms 14 60 57s519ms 958ms 15 60 42s94ms 701ms 16 60 38s311ms 638ms 17 60 38s424ms 640ms 18 60 38s299ms 638ms 19 60 38s306ms 638ms 20 60 38s306ms 638ms 21 60 38s306ms 638ms 22 60 38s306ms 638ms 23 60 41s309ms 688ms [ User: labanimal - Total duration: 19m10s - Times executed: 1335 ]
-
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-03-25 13:37:01 Duration: 26s992ms Database: zemm_monitoring User: labanimal Log file: /var/log/postgresql/postgresql-2026-03-25_063758.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-03-25 13:36:01 Duration: 25s275ms Database: zemm_monitoring User: labanimal Log file: /var/log/postgresql/postgresql-2026-03-25_063758.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-03-25 13:08:01 Duration: 2s212ms Database: zemm_monitoring User: labanimal Log file: /var/log/postgresql/postgresql-2026-03-25_063758.csv
15 506ms 26s992ms 799ms 1,440 19m10s create index if not exists idx_app_events_tenant on observability.app_events (tenant_key, occurred_at desc);Times Reported Time consuming queries #15
Day Hour Count Duration Avg duration Mar 25 00 60 0ms 0ms 01 60 27s296ms 454ms 02 60 56s475ms 941ms 03 60 56s475ms 941ms 04 60 56s475ms 941ms 05 60 56s475ms 941ms 06 60 43s346ms 722ms 07 60 51s815ms 863ms 08 60 53s631ms 893ms 09 60 56s864ms 947ms 10 60 48s289ms 804ms 11 60 49s693ms 828ms 12 60 1m12s 1s214ms 13 60 1m51s 1s864ms 14 60 57s519ms 958ms 15 60 42s94ms 701ms 16 60 38s311ms 638ms 17 60 38s424ms 640ms 18 60 38s299ms 638ms 19 60 38s306ms 638ms 20 60 38s306ms 638ms 21 60 38s306ms 638ms 22 60 38s306ms 638ms 23 60 41s309ms 688ms [ User: labanimal - Total duration: 19m10s - Times executed: 1335 ]
-
CREATE INDEX IF NOT EXISTS idx_app_events_tenant ON observability.app_events (tenant_key, occurred_at DESC);
Date: 2026-03-25 13:37:01 Duration: 26s992ms Database: zemm_monitoring User: labanimal Log file: /var/log/postgresql/postgresql-2026-03-25_063758.csv
-
CREATE INDEX IF NOT EXISTS idx_app_events_tenant ON observability.app_events (tenant_key, occurred_at DESC);
Date: 2026-03-25 13:36:01 Duration: 25s275ms Database: zemm_monitoring User: labanimal Log file: /var/log/postgresql/postgresql-2026-03-25_063758.csv
-
CREATE INDEX IF NOT EXISTS idx_app_events_tenant ON observability.app_events (tenant_key, occurred_at DESC);
Date: 2026-03-25 13:08:01 Duration: 2s212ms Database: zemm_monitoring User: labanimal Log file: /var/log/postgresql/postgresql-2026-03-25_063758.csv
16 506ms 26s992ms 799ms 1,440 19m10s create schema if not exists observability;Times Reported Time consuming queries #16
Day Hour Count Duration Avg duration Mar 25 00 60 0ms 0ms 01 60 27s296ms 454ms 02 60 56s475ms 941ms 03 60 56s475ms 941ms 04 60 56s475ms 941ms 05 60 56s475ms 941ms 06 60 43s346ms 722ms 07 60 51s815ms 863ms 08 60 53s631ms 893ms 09 60 56s864ms 947ms 10 60 48s289ms 804ms 11 60 49s693ms 828ms 12 60 1m12s 1s214ms 13 60 1m51s 1s864ms 14 60 57s519ms 958ms 15 60 42s94ms 701ms 16 60 38s311ms 638ms 17 60 38s424ms 640ms 18 60 38s299ms 638ms 19 60 38s306ms 638ms 20 60 38s306ms 638ms 21 60 38s306ms 638ms 22 60 38s306ms 638ms 23 60 41s309ms 688ms [ User: labanimal - Total duration: 19m10s - Times executed: 1335 ]
-
CREATE SCHEMA IF NOT EXISTS observability;
Date: 2026-03-25 13:37:01 Duration: 26s992ms Database: zemm_monitoring User: labanimal Log file: /var/log/postgresql/postgresql-2026-03-25_063758.csv
-
CREATE SCHEMA IF NOT EXISTS observability;
Date: 2026-03-25 13:36:01 Duration: 25s275ms Database: zemm_monitoring User: labanimal Log file: /var/log/postgresql/postgresql-2026-03-25_063758.csv
-
CREATE SCHEMA IF NOT EXISTS observability;
Date: 2026-03-25 13:08:01 Duration: 2s212ms Database: zemm_monitoring User: labanimal Log file: /var/log/postgresql/postgresql-2026-03-25_063758.csv
17 506ms 26s992ms 799ms 1,440 19m10s create table if not exists observability.nginx_counters ( id bigserial primary key, payload jsonb not null, collected_at timestamptz not null default now() );Times Reported Time consuming queries #17
Day Hour Count Duration Avg duration Mar 25 00 60 0ms 0ms 01 60 27s296ms 454ms 02 60 56s475ms 941ms 03 60 56s475ms 941ms 04 60 56s475ms 941ms 05 60 56s475ms 941ms 06 60 43s346ms 722ms 07 60 51s815ms 863ms 08 60 53s631ms 893ms 09 60 56s864ms 947ms 10 60 48s289ms 804ms 11 60 49s693ms 828ms 12 60 1m12s 1s214ms 13 60 1m51s 1s864ms 14 60 57s519ms 958ms 15 60 42s94ms 701ms 16 60 38s311ms 638ms 17 60 38s424ms 640ms 18 60 38s299ms 638ms 19 60 38s306ms 638ms 20 60 38s306ms 638ms 21 60 38s306ms 638ms 22 60 38s306ms 638ms 23 60 41s309ms 688ms [ User: labanimal - Total duration: 19m10s - Times executed: 1335 ]
-
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-03-25 13:37:01 Duration: 26s992ms Database: zemm_monitoring User: labanimal Log file: /var/log/postgresql/postgresql-2026-03-25_063758.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-03-25 13:36:01 Duration: 25s275ms Database: zemm_monitoring User: labanimal Log file: /var/log/postgresql/postgresql-2026-03-25_063758.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-03-25 13:08:01 Duration: 2s212ms Database: zemm_monitoring User: labanimal Log file: /var/log/postgresql/postgresql-2026-03-25_063758.csv
18 506ms 26s992ms 799ms 1,440 19m10s create index if not exists idx_metrics_timeseries_metric on observability.metrics_timeseries (metric_name);Times Reported Time consuming queries #18
Day Hour Count Duration Avg duration Mar 25 00 60 0ms 0ms 01 60 27s296ms 454ms 02 60 56s475ms 941ms 03 60 56s475ms 941ms 04 60 56s475ms 941ms 05 60 56s475ms 941ms 06 60 43s346ms 722ms 07 60 51s815ms 863ms 08 60 53s631ms 893ms 09 60 56s864ms 947ms 10 60 48s289ms 804ms 11 60 49s693ms 828ms 12 60 1m12s 1s214ms 13 60 1m51s 1s864ms 14 60 57s519ms 958ms 15 60 42s94ms 701ms 16 60 38s311ms 638ms 17 60 38s424ms 640ms 18 60 38s299ms 638ms 19 60 38s306ms 638ms 20 60 38s306ms 638ms 21 60 38s306ms 638ms 22 60 38s306ms 638ms 23 60 41s309ms 688ms [ User: labanimal - Total duration: 19m10s - Times executed: 1335 ]
-
CREATE INDEX IF NOT EXISTS idx_metrics_timeseries_metric ON observability.metrics_timeseries (metric_name);
Date: 2026-03-25 13:37:01 Duration: 26s992ms Database: zemm_monitoring User: labanimal Log file: /var/log/postgresql/postgresql-2026-03-25_063758.csv
-
CREATE INDEX IF NOT EXISTS idx_metrics_timeseries_metric ON observability.metrics_timeseries (metric_name);
Date: 2026-03-25 13:36:01 Duration: 25s275ms Database: zemm_monitoring User: labanimal Log file: /var/log/postgresql/postgresql-2026-03-25_063758.csv
-
CREATE INDEX IF NOT EXISTS idx_metrics_timeseries_metric ON observability.metrics_timeseries (metric_name);
Date: 2026-03-25 13:08:01 Duration: 2s212ms Database: zemm_monitoring User: labanimal Log file: /var/log/postgresql/postgresql-2026-03-25_063758.csv
19 506ms 26s992ms 799ms 1,440 19m10s 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 #19
Day Hour Count Duration Avg duration Mar 25 00 60 0ms 0ms 01 60 27s296ms 454ms 02 60 56s475ms 941ms 03 60 56s475ms 941ms 04 60 56s475ms 941ms 05 60 56s475ms 941ms 06 60 43s346ms 722ms 07 60 51s815ms 863ms 08 60 53s631ms 893ms 09 60 56s864ms 947ms 10 60 48s289ms 804ms 11 60 49s693ms 828ms 12 60 1m12s 1s214ms 13 60 1m51s 1s864ms 14 60 57s519ms 958ms 15 60 42s94ms 701ms 16 60 38s311ms 638ms 17 60 38s424ms 640ms 18 60 38s299ms 638ms 19 60 38s306ms 638ms 20 60 38s306ms 638ms 21 60 38s306ms 638ms 22 60 38s306ms 638ms 23 60 41s309ms 688ms [ User: labanimal - Total duration: 19m10s - Times executed: 1335 ]
-
CREATE INDEX IF NOT EXISTS idx_db_top_queries_tenant ON observability.db_top_queries (tenant_key, collected_at DESC);
Date: 2026-03-25 13:37:01 Duration: 26s992ms Database: zemm_monitoring User: labanimal Log file: /var/log/postgresql/postgresql-2026-03-25_063758.csv
-
CREATE INDEX IF NOT EXISTS idx_db_top_queries_tenant ON observability.db_top_queries (tenant_key, collected_at DESC);
Date: 2026-03-25 13:36:01 Duration: 25s275ms Database: zemm_monitoring User: labanimal Log file: /var/log/postgresql/postgresql-2026-03-25_063758.csv
-
CREATE INDEX IF NOT EXISTS idx_db_top_queries_tenant ON observability.db_top_queries (tenant_key, collected_at DESC);
Date: 2026-03-25 13:08:01 Duration: 2s212ms Database: zemm_monitoring User: labanimal Log file: /var/log/postgresql/postgresql-2026-03-25_063758.csv
20 689ms 724ms 701ms 33 23s141ms 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 Mar 25 08 7 4s905ms 700ms 09 4 2s796ms 699ms 11 1 694ms 694ms 12 4 2s796ms 699ms 14 4 2s797ms 699ms 15 1 708ms 708ms 16 1 692ms 692ms 17 2 1s416ms 708ms 18 9 6s333ms 703ms [ User: labanimal - Total duration: 23s141ms - Times executed: 33 ]
[ Application: _desktop_index.php_zemm_produktiv_8_localhost_5432 - Total duration: 23s141ms - Times executed: 33 ]
-
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, 10100189) AS is_owner, user_is_tgm (animals_search_mview.editor, 10100189) AS is_editor, user_is_tgm (animals_search_mview.tourist, 10100189) 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-03-25 18:06:47 Duration: 724ms Database: zemm_produktiv_8 User: labanimal Application: _desktop_index.php_zemm_produktiv_8_localhost_5432 Log file: /var/log/postgresql/postgresql-2026-03-25_063758.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-03-25 09:13:31 Duration: 718ms Database: zemm_produktiv_8 User: labanimal Application: _desktop_index.php_zemm_produktiv_8_localhost_5432 Log file: /var/log/postgresql/postgresql-2026-03-25_063758.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, 10100189) AS is_owner, user_is_tgm (animals_search_mview.editor, 10100189) AS is_editor, user_is_tgm (animals_search_mview.tourist, 10100189) 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-03-25 17:59:27 Duration: 718ms Database: zemm_produktiv_8 User: labanimal Application: _desktop_index.php_zemm_produktiv_8_localhost_5432 Log file: /var/log/postgresql/postgresql-2026-03-25_063758.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
- 92,830 Event entries
- (EVENTLOG entries are formaly LOG level entries that are not queries)
Events distribution (except queries)
Key values
- 0 PANIC entries
- 2 FATAL entries
- 0 ERROR entries
- 0 WARNING entries
- 55 EVENTLOG entries
Most Frequent Errors/Events
Key values
- 52 Max number of times the same event was reported
- 57 Total events found
Rank Times reported Error 1 52 FATAL: database "..." does not exist
Times Reported Most Frequent Error / Event #1
Day Hour Count Mar 25 06 2 08 15 11 23 20 10 21 2 - FATAL: database "monitoring" does not exist
- FATAL: database "monitoring" does not exist
- FATAL: database "monitoring" does not exist
Date: 2026-03-25 08:52:28 Database: monitoring Application: User: labanimal Remote: Log file: /var/log/postgresql/postgresql-2026-03-25_063758.csv
Date: 2026-03-25 08:52:28 Database: monitoring Application: User: labanimal Remote: Log file: /var/log/postgresql/postgresql-2026-03-25_063758.csv
Date: 2026-03-25 08:52:28 Database: monitoring Application: User: labanimal Remote: Log file: /var/log/postgresql/postgresql-2026-03-25_063758.csv
2 4 LOG: could not receive data from client: Connection timed out
Times Reported Most Frequent Error / Event #2
Day Hour Count Mar 25 18 1 19 3 - LOG: could not receive data from client: Connection timed out
- LOG: could not receive data from client: Connection timed out
- LOG: could not receive data from client: Connection timed out
Date: 2026-03-25 18:25:46 Database: zemm_produktiv_7 Application: DBeaver 26.0.0 - Main 'zemm_produktiv_7' User: labanimal Remote: 94.31.109.76 Log file: /var/log/postgresql/postgresql-2026-03-25_063758.csv
Date: 2026-03-25 19:00:43 Database: zemm_produktiv_8 Application: DBeaver 26.0.0 - Main 'zemm_produktiv_8' User: labanimal Remote: 94.31.109.76 Log file: /var/log/postgresql/postgresql-2026-03-25_063758.csv
Date: 2026-03-25 19:22:34 Database: zemm_produktiv_8 Application: DBeaver 26.0.0 - Main 'zemm_produktiv_8' User: labanimal Remote: 94.31.109.76 Log file: /var/log/postgresql/postgresql-2026-03-25_063758.csv
3 1 LOG: database system was shut down at ...
Times Reported Most Frequent Error / Event #3
Day Hour Count Mar 25 06 1 - LOG: database system was shut down at 2026-03-25 06:37:57 CET
Date: 2026-03-25 06:37:58 Log file: /var/log/postgresql/postgresql-2026-03-25_063758.csv