-
Global information
- Generated on Thu Apr 30 06:07:29 2026
- Log file: /var/log/postgresql/postgresql-2026-03-25_000000.csv, ..., /var/log/postgresql/postgresql-2026-04-30_000000.csv
- Parsed 1,458,595 log entries in 7m28s
- Log start from 2026-03-29 00:00:01 to 2026-04-04 23:59:02
-
Overview
Global Stats
- 1,709 Number of unique normalized queries
- 132,829 Number of queries
- 3d17h7m49s Total query duration
- 2026-03-29 00:00:01 First query
- 2026-04-04 23:59:01 Last query
- 991 queries/s at 2026-03-31 11:52:10 Query peak
- 3d17h7m49s Total query duration
- 0ms Prepare/parse total duration
- 0ms Bind total duration
- 3d17h7m49s Execute total duration
- 1,092 Number of events
- 22 Number of unique normalized events
- 525 Max number of times the same event was reported
- 0 Number of cancellation
- 338 Total number of automatic vacuums
- 636 Total number of automatic analyzes
- 664 Number temporary file
- 1.30 GiB Max size of temporary file
- 52.76 MiB Average size of temporary file
- 130,297 Total number of sessions
- 20 sessions at 2026-04-04 12:27:37 Session peak
- 12h34m11s Total duration of sessions
- 347ms Average duration of sessions
- 1 Average queries per session
- 2s462ms Average queries duration per session
- 0ms Average idle time per session
- 130,822 Total number of connections
- 55 connections/s at 2026-04-04 12:27:35 Connection peak
- 3 Total number of databases
SQL Traffic
Key values
- 991 queries/s Query Peak
- 2026-03-31 11:52:10 Date
SELECT Traffic
Key values
- 4 queries/s Query Peak
- 2026-04-04 12:27:39 Date
INSERT/UPDATE/DELETE Traffic
Key values
- 827 queries/s Query Peak
- 2026-03-31 11:52:10 Date
Queries duration
Key values
- 3d17h7m49s 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 29 00 780 0ms 0ms 0ms 0ms 0ms 0ms 01 781 0ms 1s281ms 620ms 16s653ms 16s653ms 16s653ms 03 780 1s281ms 1s281ms 1s281ms 16s653ms 16s653ms 16s653ms 04 780 1s281ms 1s281ms 1s281ms 16s653ms 16s653ms 16s653ms 05 780 1s281ms 1s281ms 1s281ms 16s653ms 16s653ms 16s653ms 06 780 1s281ms 1s281ms 1s281ms 16s653ms 16s653ms 16s653ms 07 780 1s281ms 1s281ms 1s281ms 16s653ms 16s653ms 16s653ms 08 780 1s281ms 1s281ms 1s281ms 16s653ms 16s653ms 16s653ms 09 780 1s281ms 1s281ms 1s281ms 16s653ms 16s653ms 16s653ms 10 780 1s281ms 1s281ms 1s281ms 16s653ms 16s653ms 16s653ms 11 780 1s281ms 1s281ms 1s281ms 16s653ms 16s653ms 16s653ms 12 780 1s281ms 1s281ms 1s281ms 16s653ms 16s653ms 16s653ms 13 782 695ms 1s281ms 764ms 16s653ms 16s653ms 18s112ms 14 780 695ms 695ms 695ms 9s47ms 9s47ms 9s47ms 15 780 695ms 695ms 695ms 9s47ms 9s47ms 9s47ms 16 780 695ms 695ms 695ms 9s47ms 9s47ms 9s47ms 17 780 695ms 695ms 695ms 9s47ms 9s47ms 9s47ms 18 780 695ms 695ms 695ms 9s47ms 9s47ms 9s47ms 19 780 695ms 695ms 695ms 9s47ms 9s47ms 9s47ms 20 783 515ms 8s463ms 765ms 13s501ms 13s501ms 22s481ms 21 784 515ms 955ms 669ms 10s725ms 12s422ms 13s926ms 22 780 588ms 588ms 588ms 7s656ms 7s656ms 7s656ms 23 785 543ms 1s981ms 649ms 7s656ms 18s649ms 18s649ms Mar 30 00 780 1s434ms 1s434ms 1s434ms 18s649ms 18s649ms 18s649ms 01 781 0ms 977ms 473ms 12s712ms 12s712ms 12s712ms 02 780 977ms 977ms 977ms 12s712ms 12s712ms 12s712ms 03 780 977ms 977ms 977ms 12s712ms 12s712ms 12s712ms 04 780 977ms 977ms 977ms 12s712ms 12s712ms 12s712ms 05 780 977ms 977ms 977ms 12s712ms 12s712ms 12s712ms 06 780 977ms 977ms 977ms 12s712ms 12s712ms 12s712ms 07 782 663ms 977ms 825ms 12s712ms 12s712ms 14s99ms 08 790 663ms 2s298ms 1s683ms 30s751ms 31s997ms 35s690ms 09 783 660ms 2s186ms 1s999ms 28s428ms 28s428ms 30s473ms 10 784 638ms 711ms 655ms 8s584ms 8s584ms 9s918ms 11 786 640ms 730ms 647ms 8s452ms 8s452ms 12s565ms 12 789 633ms 1s64ms 686ms 9s581ms 13s834ms 18s266ms 13 781 737ms 2s288ms 1s48ms 29s754ms 29s754ms 29s754ms 14 780 2s288ms 2s288ms 2s288ms 29s754ms 29s754ms 29s754ms 15 794 543ms 2s288ms 695ms 9s615ms 29s754ms 31s94ms 16 794 545ms 718ms 604ms 8s648ms 8s648ms 16s608ms 17 825 506ms 7s857ms 3s890ms 1m42s 1m42s 1m42s 18 780 7s857ms 7s857ms 7s857ms 1m42s 1m42s 1m42s 19 795 640ms 7s857ms 1s722ms 1m42s 1m42s 1m44s 20 782 809ms 833ms 823ms 10s839ms 10s839ms 11s649ms 21 780 822ms 822ms 822ms 10s690ms 10s690ms 10s690ms 22 780 822ms 822ms 822ms 10s690ms 10s690ms 10s690ms 23 785 545ms 1s980ms 860ms 10s690ms 17s683ms 17s683ms Mar 31 00 780 0ms 0ms 0ms 0ms 0ms 0ms 01 781 0ms 1s129ms 546ms 14s679ms 14s679ms 14s679ms 02 780 1s129ms 1s129ms 1s129ms 14s679ms 14s679ms 14s679ms 03 780 1s129ms 1s129ms 1s129ms 14s679ms 14s679ms 14s679ms 04 780 1s129ms 1s129ms 1s129ms 14s679ms 14s679ms 14s679ms 05 780 1s129ms 1s129ms 1s129ms 14s679ms 14s679ms 14s679ms 06 780 1s129ms 1s129ms 1s129ms 14s679ms 14s679ms 14s679ms 07 780 1s129ms 1s129ms 1s129ms 14s679ms 14s679ms 14s679ms 08 803 509ms 1s577ms 1s5ms 19s4ms 19s4ms 22s29ms 09 795 512ms 1s462ms 1s7ms 19s4ms 19s4ms 20s334ms 10 784 643ms 724ms 646ms 8s595ms 8s595ms 11s117ms 11 2,407 512ms 6s735ms 1s129ms 49s719ms 55s166ms 17m26s 12 792 546ms 710ms 591ms 8s500ms 9s823ms 11s866ms 13 788 510ms 992ms 629ms 12s902ms 12s902ms 14s4ms 14 786 550ms 2s277ms 1s363ms 29s367ms 29s367ms 29s367ms 15 793 533ms 2s259ms 1s269ms 29s367ms 29s367ms 32s70ms 16 780 1s355ms 1s355ms 1s355ms 17s621ms 17s621ms 17s621ms 17 790 544ms 1s537ms 1s100ms 19s981ms 19s981ms 21s110ms 18 785 792ms 838ms 820ms 10s902ms 11s162ms 11s461ms 19 781 838ms 838ms 838ms 10s902ms 10s902ms 11s741ms 20 781 812ms 838ms 835ms 10s902ms 10s902ms 11s714ms 21 780 812ms 812ms 812ms 10s559ms 10s559ms 10s559ms 22 780 812ms 812ms 812ms 10s559ms 10s559ms 10s559ms 23 791 550ms 1s976ms 806ms 12s996ms 19s258ms 19s258ms Apr 01 00 780 0ms 0ms 0ms 0ms 0ms 0ms 01 781 0ms 977ms 473ms 12s706ms 12s706ms 12s706ms 02 780 977ms 977ms 977ms 12s706ms 12s706ms 12s706ms 03 780 977ms 977ms 977ms 12s706ms 12s706ms 12s706ms 04 780 977ms 977ms 977ms 12s706ms 12s706ms 12s706ms 05 784 723ms 977ms 859ms 12s706ms 12s706ms 15s622ms 06 780 726ms 726ms 726ms 9s445ms 9s445ms 9s445ms 07 781 726ms 823ms 818ms 10s704ms 10s704ms 10s704ms 08 799 508ms 1s616ms 780ms 12s605ms 14s164ms 22s641ms 09 788 508ms 1s707ms 604ms 8s985ms 9s969ms 11s459ms 10 785 639ms 720ms 639ms 8s322ms 8s322ms 11s31ms 11 781 639ms 1s611ms 705ms 8s309ms 20s950ms 20s950ms 12 791 649ms 1s738ms 962ms 12s538ms 14s340ms 21s914ms 13 787 652ms 1s646ms 696ms 10s380ms 11s918ms 12s943ms 14 786 502ms 916ms 910ms 11s918ms 11s918ms 16s48ms 15 792 649ms 770ms 741ms 10s15ms 10s15ms 14s175ms 16 780 656ms 656ms 656ms 8s528ms 8s528ms 8s528ms 17 788 647ms 739ms 652ms 8s528ms 8s528ms 14s37ms 18 781 651ms 798ms 665ms 10s382ms 10s382ms 11s180ms 19 781 798ms 846ms 836ms 11s5ms 11s5ms 11s228ms 20 781 846ms 1s163ms 883ms 15s129ms 15s129ms 15s129ms 21 781 801ms 1s163ms 933ms 15s129ms 15s129ms 15s930ms 22 780 801ms 801ms 801ms 10s413ms 10s413ms 10s413ms 23 786 552ms 2m56s 2m35s 38m16s 38m16s 38m23s Apr 02 00 780 0ms 0ms 0ms 0ms 0ms 0ms 01 781 0ms 1s22ms 494ms 13s289ms 13s289ms 13s289ms 02 780 1s22ms 1s22ms 1s22ms 13s289ms 13s289ms 13s289ms 03 780 1s22ms 1s22ms 1s22ms 13s289ms 13s289ms 13s289ms 04 780 1s22ms 1s22ms 1s22ms 13s289ms 13s289ms 13s289ms 05 780 1s22ms 1s22ms 1s22ms 13s289ms 13s289ms 13s289ms 06 812 508ms 1s824ms 854ms 15s855ms 17s728ms 21s183ms 07 815 515ms 25s401ms 2s742ms 33s483ms 6m41s 7m31s 08 799 508ms 3s284ms 1s311ms 42s692ms 42s692ms 45s313ms 09 792 508ms 1s315ms 721ms 16s126ms 17s95ms 18s674ms 10 795 511ms 1m23s 40s516ms 17m29s 17m29s 19m32s 11 786 656ms 1m20s 24s500ms 17m29s 17m29s 17m30s 12 786 661ms 1s808ms 803ms 13s859ms 15s663ms 24s578ms 13 803 528ms 6s714ms 1s219ms 19s42ms 19s652ms 33s689ms 14 784 572ms 1s468ms 879ms 13s886ms 19s88ms 19s88ms 15 780 746ms 746ms 746ms 9s699ms 9s699ms 9s699ms 16 780 746ms 746ms 746ms 9s699ms 9s699ms 9s699ms 17 780 746ms 746ms 746ms 9s699ms 9s699ms 9s699ms 18 780 746ms 746ms 746ms 9s699ms 9s699ms 9s699ms 19 780 746ms 746ms 746ms 9s699ms 9s699ms 9s699ms 20 780 746ms 746ms 746ms 9s699ms 9s699ms 9s699ms 21 780 746ms 746ms 746ms 9s699ms 9s699ms 9s699ms 22 780 746ms 746ms 746ms 9s699ms 9s699ms 9s699ms 23 785 544ms 1s975ms 789ms 9s699ms 17s560ms 17s560ms Apr 03 00 780 0ms 0ms 0ms 0ms 0ms 0ms 01 781 0ms 922ms 446ms 11s990ms 11s990ms 11s990ms 02 780 922ms 922ms 922ms 11s990ms 11s990ms 11s990ms 03 780 922ms 922ms 922ms 11s990ms 11s990ms 11s990ms 04 780 922ms 922ms 922ms 11s990ms 11s990ms 11s990ms 05 780 922ms 922ms 922ms 11s990ms 11s990ms 11s990ms 06 780 922ms 922ms 922ms 11s990ms 11s990ms 11s990ms 07 780 922ms 922ms 922ms 11s990ms 11s990ms 11s990ms 08 781 922ms 928ms 923ms 12s73ms 12s73ms 12s919ms 09 787 562ms 1s724ms 1s163ms 21s264ms 21s264ms 24s722ms 10 780 1s635ms 1s635ms 1s635ms 21s264ms 21s264ms 21s264ms 11 780 1s635ms 1s635ms 1s635ms 21s264ms 21s264ms 21s264ms 12 780 1s635ms 1s635ms 1s635ms 21s264ms 21s264ms 21s264ms 13 780 1s635ms 1s635ms 1s635ms 21s264ms 21s264ms 21s264ms 14 780 1s635ms 1s635ms 1s635ms 21s264ms 21s264ms 21s264ms 15 780 1s635ms 1s635ms 1s635ms 21s264ms 21s264ms 21s264ms 16 780 1s635ms 1s635ms 1s635ms 21s264ms 21s264ms 21s264ms 17 812 662ms 1s635ms 1s320ms 21s264ms 21s264ms 24s110ms 18 784 662ms 729ms 674ms 8s780ms 8s780ms 11s419ms 19 780 675ms 675ms 675ms 8s780ms 8s780ms 8s780ms 20 780 675ms 675ms 675ms 8s780ms 8s780ms 8s780ms 21 780 675ms 675ms 675ms 8s780ms 8s780ms 8s780ms 22 780 675ms 675ms 675ms 8s780ms 8s780ms 8s780ms 23 785 547ms 1s981ms 724ms 8s780ms 17s592ms 17s592ms Apr 04 00 780 0ms 0ms 0ms 0ms 0ms 0ms 01 781 0ms 1s45ms 505ms 13s586ms 13s586ms 13s586ms 02 780 1s45ms 1s45ms 1s45ms 13s586ms 13s586ms 13s586ms 03 780 1s45ms 1s45ms 1s45ms 13s586ms 13s586ms 13s586ms 04 780 1s45ms 1s45ms 1s45ms 13s586ms 13s586ms 13s586ms 05 780 1s45ms 1s45ms 1s45ms 13s586ms 13s586ms 13s586ms 06 780 1s45ms 1s45ms 1s45ms 13s586ms 13s586ms 13s586ms 07 781 547ms 1s45ms 795ms 13s586ms 13s586ms 14s133ms 08 780 547ms 547ms 547ms 7s111ms 7s111ms 7s111ms 09 780 547ms 547ms 547ms 7s111ms 7s111ms 7s111ms 10 781 547ms 578ms 571ms 7s524ms 7s524ms 7s689ms 11 780 578ms 578ms 578ms 7s524ms 7s524ms 7s524ms 12 913 502ms 21s942ms 3s124ms 1m11s 1m44s 5m11s 13 816 551ms 4s535ms 2s883ms 42s912ms 43s464ms 43s668ms 14 812 682ms 4s969ms 2s963ms 42s97ms 43s422ms 1m7s 15 804 2s758ms 3s27ms 2s955ms 41s979ms 42s48ms 42s151ms 16 808 681ms 2s971ms 2s676ms 40s416ms 40s588ms 41s439ms 17 804 2s650ms 3s37ms 2s901ms 40s749ms 41s555ms 42s314ms 18 808 2s754ms 3s16ms 2s953ms 44s590ms 44s898ms 47s211ms 19 805 2s669ms 3s13ms 2s906ms 43s193ms 44s478ms 44s966ms 20 804 2s775ms 3s35ms 2s986ms 44s653ms 44s970ms 45s219ms 21 795 536ms 12s621ms 3s162ms 44s684ms 46s956ms 2m51s 22 787 2s877ms 3s179ms 2s943ms 41s327ms 45s421ms 47s258ms 23 786 611ms 2s885ms 2s797ms 37s512ms 37s512ms 46s634ms Day Hour SELECT COPY TO Average Duration Latency Percentile(90) Latency Percentile(95) Latency Percentile(99) Mar 29 00 0 0 0ms 0ms 0ms 0ms 01 0 0 0ms 0ms 0ms 0ms 03 0 0 0ms 0ms 0ms 0ms 04 0 0 0ms 0ms 0ms 0ms 05 0 0 0ms 0ms 0ms 0ms 06 0 0 0ms 0ms 0ms 0ms 07 0 0 0ms 0ms 0ms 0ms 08 0 0 0ms 0ms 0ms 0ms 09 0 0 0ms 0ms 0ms 0ms 10 0 0 0ms 0ms 0ms 0ms 11 0 0 0ms 0ms 0ms 0ms 12 0 0 0ms 0ms 0ms 0ms 13 2 0 729ms 0ms 0ms 0ms 14 0 0 0ms 0ms 0ms 0ms 15 0 0 0ms 0ms 0ms 0ms 16 0 0 0ms 0ms 0ms 0ms 17 0 0 0ms 0ms 0ms 0ms 18 0 0 0ms 0ms 0ms 0ms 19 0 0 0ms 0ms 0ms 0ms 20 2 0 777ms 0ms 0ms 515ms 21 3 0 819ms 0ms 0ms 955ms 22 0 0 0ms 0ms 0ms 0ms 23 0 5 1s296ms 0ms 0ms 0ms Mar 30 00 0 0 0ms 0ms 0ms 0ms 01 0 0 0ms 0ms 0ms 0ms 02 0 0 0ms 0ms 0ms 0ms 03 0 0 0ms 0ms 0ms 0ms 04 0 0 0ms 0ms 0ms 0ms 05 0 0 0ms 0ms 0ms 0ms 06 0 0 0ms 0ms 0ms 0ms 07 2 0 693ms 0ms 0ms 0ms 08 0 0 0ms 0ms 0ms 0ms 09 2 0 682ms 0ms 0ms 0ms 10 4 0 674ms 0ms 0ms 1s334ms 11 6 0 685ms 0ms 0ms 0ms 12 9 0 758ms 0ms 0ms 1s330ms 13 0 0 0ms 0ms 0ms 0ms 14 0 0 0ms 0ms 0ms 0ms 15 14 0 606ms 0ms 1s116ms 1s339ms 16 14 0 679ms 0ms 0ms 0ms 17 35 0 888ms 0ms 2s717ms 4s66ms 18 0 0 0ms 0ms 0ms 0ms 19 12 0 2s249ms 0ms 1s273ms 7s115ms 20 0 0 0ms 0ms 0ms 0ms 21 0 0 0ms 0ms 0ms 0ms 22 0 0 0ms 0ms 0ms 0ms 23 0 5 1s288ms 0ms 0ms 0ms Mar 31 00 0 0 0ms 0ms 0ms 0ms 01 0 0 0ms 0ms 0ms 0ms 02 0 0 0ms 0ms 0ms 0ms 03 0 0 0ms 0ms 0ms 0ms 04 0 0 0ms 0ms 0ms 0ms 05 0 0 0ms 0ms 0ms 0ms 06 0 0 0ms 0ms 0ms 0ms 07 0 0 0ms 0ms 0ms 0ms 08 22 0 828ms 752ms 1s328ms 2s526ms 09 15 0 868ms 0ms 994ms 2s793ms 10 4 0 683ms 0ms 0ms 0ms 11 19 32 2s822ms 2s591ms 7s251ms 22s306ms 12 12 0 619ms 0ms 0ms 2s702ms 13 6 0 702ms 0ms 0ms 1s561ms 14 4 0 680ms 0ms 0ms 1s334ms 15 12 0 886ms 0ms 0ms 2s703ms 16 0 0 0ms 0ms 0ms 0ms 17 5 0 866ms 0ms 0ms 1s414ms 18 0 0 0ms 0ms 0ms 0ms 19 0 0 0ms 0ms 0ms 0ms 20 0 0 0ms 0ms 0ms 0ms 21 0 0 0ms 0ms 0ms 0ms 22 0 0 0ms 0ms 0ms 0ms 23 2 5 1s141ms 0ms 0ms 1s442ms Apr 01 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 4 0 728ms 0ms 0ms 0ms 06 0 0 0ms 0ms 0ms 0ms 07 0 0 0ms 0ms 0ms 0ms 08 12 0 805ms 0ms 969ms 1s628ms 09 7 0 733ms 0ms 0ms 1s348ms 10 4 0 677ms 0ms 0ms 0ms 11 0 0 0ms 0ms 0ms 0ms 12 9 0 793ms 0ms 0ms 1s709ms 13 5 0 749ms 0ms 0ms 1s397ms 14 6 0 688ms 0ms 0ms 0ms 15 12 0 690ms 0ms 0ms 2s763ms 16 0 0 0ms 0ms 0ms 0ms 17 8 0 688ms 0ms 0ms 0ms 18 0 0 0ms 0ms 0ms 0ms 19 0 0 0ms 0ms 0ms 0ms 20 0 0 0ms 0ms 0ms 0ms 21 0 0 0ms 0ms 0ms 0ms 22 0 0 0ms 0ms 0ms 0ms 23 1 5 30s516ms 0ms 0ms 6s430ms Apr 02 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 32 0 933ms 1s332ms 1s827ms 3s396ms 07 0 16 2s815ms 0ms 0ms 19s363ms 08 15 0 1s156ms 0ms 1s748ms 2s829ms 09 12 0 834ms 0ms 1s240ms 1s579ms 10 13 0 28s202ms 0ms 1s817ms 1m25s 11 6 0 770ms 0ms 0ms 1s370ms 12 6 0 1s10ms 0ms 0ms 1s803ms 13 8 8 1s920ms 0ms 758ms 2s535ms 14 4 0 1s25ms 0ms 0ms 2s41ms 15 0 0 0ms 0ms 0ms 0ms 16 0 0 0ms 0ms 0ms 0ms 17 0 0 0ms 0ms 0ms 0ms 18 0 0 0ms 0ms 0ms 0ms 19 0 0 0ms 0ms 0ms 0ms 20 0 0 0ms 0ms 0ms 0ms 21 0 0 0ms 0ms 0ms 0ms 22 0 0 0ms 0ms 0ms 0ms 23 0 5 1s286ms 0ms 0ms 0ms Apr 03 00 0 0 0ms 0ms 0ms 0ms 01 0 0 0ms 0ms 0ms 0ms 02 0 0 0ms 0ms 0ms 0ms 03 0 0 0ms 0ms 0ms 0ms 04 0 0 0ms 0ms 0ms 0ms 05 0 0 0ms 0ms 0ms 0ms 06 0 0 0ms 0ms 0ms 0ms 07 0 0 0ms 0ms 0ms 0ms 08 1 0 928ms 0ms 0ms 0ms 09 3 0 704ms 0ms 0ms 564ms 10 0 0 0ms 0ms 0ms 0ms 11 0 0 0ms 0ms 0ms 0ms 12 0 0 0ms 0ms 0ms 0ms 13 0 0 0ms 0ms 0ms 0ms 14 0 0 0ms 0ms 0ms 0ms 15 0 0 0ms 0ms 0ms 0ms 16 0 0 0ms 0ms 0ms 0ms 17 32 0 705ms 0ms 1s391ms 4s211ms 18 4 0 701ms 0ms 0ms 0ms 19 0 0 0ms 0ms 0ms 0ms 20 0 0 0ms 0ms 0ms 0ms 21 0 0 0ms 0ms 0ms 0ms 22 0 0 0ms 0ms 0ms 0ms 23 0 5 1s293ms 0ms 0ms 0ms Apr 04 00 0 0 0ms 0ms 0ms 0ms 01 0 0 0ms 0ms 0ms 0ms 02 0 0 0ms 0ms 0ms 0ms 03 0 0 0ms 0ms 0ms 0ms 04 0 0 0ms 0ms 0ms 0ms 05 0 0 0ms 0ms 0ms 0ms 06 0 0 0ms 0ms 0ms 0ms 07 0 0 0ms 0ms 0ms 0ms 08 0 0 0ms 0ms 0ms 0ms 09 0 0 0ms 0ms 0ms 0ms 10 0 0 0ms 0ms 0ms 0ms 11 0 0 0ms 0ms 0ms 0ms 12 39 0 1s10ms 697ms 1s793ms 5s225ms 13 5 0 944ms 0ms 0ms 0ms 14 5 0 1s3ms 0ms 0ms 0ms 15 0 0 0ms 0ms 0ms 0ms 16 4 0 1s22ms 0ms 0ms 1s446ms 17 0 0 0ms 0ms 0ms 0ms 18 0 0 0ms 0ms 0ms 0ms 19 0 0 0ms 0ms 0ms 0ms 20 0 0 0ms 0ms 0ms 0ms 21 2 0 805ms 0ms 0ms 0ms 22 0 0 0ms 0ms 0ms 0ms 23 0 6 1s520ms 0ms 0ms 0ms Day Hour INSERT UPDATE DELETE COPY FROM Average Duration Latency Percentile(90) Latency Percentile(95) Latency Percentile(99) Mar 29 00 0 0 0 0 0ms 0ms 0ms 0ms 01 0 1 0 0 1s281ms 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 Mar 30 00 0 0 0 0 0ms 0ms 0ms 0ms 01 0 1 0 0 977ms 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 Mar 31 00 0 0 0 0 0ms 0ms 0ms 0ms 01 0 1 0 0 1s129ms 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 8 2s285ms 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 Apr 01 00 0 0 0 0 0ms 0ms 0ms 0ms 01 0 1 0 0 977ms 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 Apr 02 00 0 0 0 0 0ms 0ms 0ms 0ms 01 0 1 0 0 1s22ms 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 Apr 03 00 0 0 0 0 0ms 0ms 0ms 0ms 01 0 1 0 0 922ms 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 Apr 04 00 0 0 0 0 0ms 0ms 0ms 0ms 01 0 1 0 0 1s45ms 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 29 00 0 0 0.00 0.00% 01 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% Mar 30 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 16 16.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% Mar 31 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% Apr 01 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% Apr 02 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% Apr 03 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% Apr 04 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 1 1.00 0.00% 08 0 0 0.00 0.00% 09 0 0 0.00 0.00% 10 0 1 1.00 0.00% 11 0 0 0.00 0.00% 12 0 131 131.00 0.00% 13 0 35 35.00 0.00% 14 0 31 31.00 0.00% 15 0 24 24.00 0.00% 16 0 24 24.00 0.00% 17 0 24 24.00 0.00% 18 0 28 28.00 0.00% 19 0 25 25.00 0.00% 20 0 24 24.00 0.00% 21 0 28 28.00 0.00% 22 0 7 7.00 0.00% 23 0 0 0.00 0.00% Day Hour Count Average / Second Mar 29 00 281 0.08/s 01 250 0.07/s 03 244 0.07/s 04 244 0.07/s 05 244 0.07/s 06 254 0.07/s 07 252 0.07/s 08 247 0.07/s 09 280 0.08/s 10 342 0.10/s 11 316 0.09/s 12 435 0.12/s 13 384 0.11/s 14 262 0.07/s 15 256 0.07/s 16 251 0.07/s 17 275 0.08/s 18 247 0.07/s 19 273 0.08/s 20 619 0.17/s 21 694 0.19/s 22 335 0.09/s 23 339 0.09/s Mar 30 00 396 0.11/s 01 247 0.07/s 02 244 0.07/s 03 244 0.07/s 04 244 0.07/s 05 244 0.07/s 06 850 0.24/s 07 694 0.19/s 08 879 0.24/s 09 785 0.22/s 10 948 0.26/s 11 1,409 0.39/s 12 1,624 0.45/s 13 2,082 0.58/s 14 1,253 0.35/s 15 1,836 0.51/s 16 1,513 0.42/s 17 1,646 0.46/s 18 962 0.27/s 19 1,564 0.43/s 20 1,613 0.45/s 21 895 0.25/s 22 457 0.13/s 23 495 0.14/s Mar 31 00 501 0.14/s 01 255 0.07/s 02 244 0.07/s 03 253 0.07/s 04 265 0.07/s 05 301 0.08/s 06 731 0.20/s 07 880 0.24/s 08 1,718 0.48/s 09 2,172 0.60/s 10 1,544 0.43/s 11 1,852 0.51/s 12 2,284 0.63/s 13 2,273 0.63/s 14 1,308 0.36/s 15 1,764 0.49/s 16 967 0.27/s 17 1,604 0.45/s 18 1,788 0.50/s 19 771 0.21/s 20 1,006 0.28/s 21 618 0.17/s 22 548 0.15/s 23 580 0.16/s Apr 01 00 505 0.14/s 01 247 0.07/s 02 250 0.07/s 03 245 0.07/s 04 251 0.07/s 05 359 0.10/s 06 552 0.15/s 07 1,234 0.34/s 08 1,869 0.52/s 09 989 0.27/s 10 1,215 0.34/s 11 1,605 0.45/s 12 1,445 0.40/s 13 2,282 0.63/s 14 1,674 0.47/s 15 1,608 0.45/s 16 1,155 0.32/s 17 905 0.25/s 18 986 0.27/s 19 939 0.26/s 20 830 0.23/s 21 756 0.21/s 22 249 0.07/s 23 296 0.08/s Apr 02 00 244 0.07/s 01 253 0.07/s 02 244 0.07/s 03 250 0.07/s 04 244 0.07/s 05 376 0.10/s 06 1,934 0.54/s 07 1,279 0.36/s 08 1,464 0.41/s 09 1,797 0.50/s 10 1,402 0.39/s 11 1,123 0.31/s 12 1,153 0.32/s 13 1,159 0.32/s 14 1,188 0.33/s 15 541 0.15/s 16 477 0.13/s 17 268 0.07/s 18 257 0.07/s 19 247 0.07/s 20 304 0.08/s 21 244 0.07/s 22 244 0.07/s 23 411 0.11/s Apr 03 00 247 0.07/s 01 259 0.07/s 02 247 0.07/s 03 244 0.07/s 04 247 0.07/s 05 252 0.07/s 06 245 0.07/s 07 423 0.12/s 08 1,041 0.29/s 09 640 0.18/s 10 1,013 0.28/s 11 904 0.25/s 12 923 0.26/s 13 916 0.25/s 14 943 0.26/s 15 949 0.26/s 16 928 0.26/s 17 1,076 0.30/s 18 1,158 0.32/s 19 952 0.26/s 20 973 0.27/s 21 936 0.26/s 22 1,003 0.28/s 23 885 0.25/s Apr 04 00 588 0.16/s 01 247 0.07/s 02 247 0.07/s 03 244 0.07/s 04 251 0.07/s 05 248 0.07/s 06 244 0.07/s 07 366 0.10/s 08 256 0.07/s 09 244 0.07/s 10 917 0.25/s 11 895 0.25/s 12 2,746 0.76/s 13 1,362 0.38/s 14 1,032 0.29/s 15 943 0.26/s 16 955 0.27/s 17 928 0.26/s 18 978 0.27/s 19 931 0.26/s 20 916 0.25/s 21 931 0.26/s 22 462 0.13/s 23 263 0.07/s Day Hour Count Average Duration Average idle time Mar 29 00 280 272ms 272ms 01 250 295ms 0ms 03 244 297ms 0ms 04 244 291ms 0ms 05 244 294ms 0ms 06 254 287ms 0ms 07 252 287ms 0ms 08 247 292ms 0ms 09 278 265ms 0ms 10 342 232ms 0ms 11 316 236ms 0ms 12 435 198ms 0ms 13 384 223ms 0ms 14 262 273ms 0ms 15 256 278ms 0ms 16 251 288ms 0ms 17 275 267ms 0ms 18 247 289ms 0ms 19 273 266ms 0ms 20 616 228ms 0ms 21 694 183ms 0ms 22 335 222ms 0ms 23 339 262ms 0ms Mar 30 00 396 199ms 0ms 01 247 292ms 0ms 02 244 290ms 0ms 03 244 291ms 0ms 04 244 295ms 0ms 05 244 297ms 0ms 06 850 152ms 0ms 07 694 215ms 0ms 08 879 219ms 0ms 09 785 160ms 0ms 10 946 154ms 0ms 11 1,409 169ms 0ms 12 1,624 132ms 0ms 13 2,082 123ms 0ms 14 1,253 131ms 0ms 15 1,836 128ms 0ms 16 1,513 125ms 0ms 17 1,642 262ms 0ms 18 962 123ms 0ms 19 1,558 187ms 0ms 20 1,601 122ms 0ms 21 885 131ms 0ms 22 449 198ms 0ms 23 483 226ms 0ms Mar 31 00 489 193ms 193ms 01 255 287ms 0ms 02 244 292ms 0ms 03 251 285ms 0ms 04 265 272ms 0ms 05 301 252ms 0ms 06 731 176ms 0ms 07 878 185ms 0ms 08 1,718 175ms 0ms 09 2,172 144ms 0ms 10 1,544 157ms 0ms 11 1,828 345ms 0ms 12 2,284 132ms 0ms 13 2,273 177ms 0ms 14 1,308 146ms 0ms 15 1,762 234ms 0ms 16 967 135ms 0ms 17 1,606 10s14ms 9s473ms 18 1,788 140ms 0ms 19 771 128ms 0ms 20 1,000 439ms 0ms 21 604 175ms 0ms 22 535 177ms 0ms 23 536 327ms 0ms Apr 01 00 497 250ms 250ms 01 247 298ms 0ms 02 248 290ms 0ms 03 244 296ms 0ms 04 251 285ms 0ms 05 304 286ms 0ms 06 552 160ms 0ms 07 1,227 140ms 0ms 08 1,825 220ms 0ms 09 982 165ms 0ms 10 1,207 208ms 0ms 11 1,588 135ms 0ms 12 1,445 174ms 0ms 13 2,282 138ms 0ms 14 1,674 147ms 0ms 15 1,608 168ms 0ms 16 1,155 135ms 0ms 17 905 159ms 0ms 18 986 143ms 0ms 19 939 151ms 0ms 20 827 186ms 0ms 21 756 190ms 0ms 22 249 311ms 0ms 23 296 922ms 0ms Apr 02 00 244 308ms 308ms 01 249 304ms 0ms 02 244 308ms 0ms 03 248 304ms 0ms 04 244 307ms 0ms 05 375 259ms 0ms 06 1,929 181ms 0ms 07 1,266 385ms 0ms 08 1,439 199ms 0ms 09 1,795 168ms 0ms 10 1,404 730ms 0ms 11 1,032 160ms 0ms 12 1,135 170ms 0ms 13 1,159 264ms 0ms 14 1,188 167ms 0ms 15 541 187ms 0ms 16 477 204ms 0ms 17 267 288ms 0ms 18 257 306ms 0ms 19 247 346ms 0ms 20 304 319ms 0ms 21 244 348ms 0ms 22 244 348ms 0ms 23 411 282ms 0ms Apr 03 00 247 348ms 348ms 01 255 345ms 0ms 02 247 351ms 0ms 03 244 356ms 0ms 04 247 352ms 0ms 05 252 346ms 0ms 06 245 353ms 0ms 07 423 249ms 0ms 08 1,041 157ms 0ms 09 640 238ms 0ms 10 1,013 151ms 0ms 11 904 160ms 0ms 12 923 160ms 0ms 13 916 161ms 0ms 14 943 163ms 0ms 15 939 157ms 0ms 16 928 165ms 0ms 17 1,076 188ms 0ms 18 1,158 153ms 0ms 19 952 157ms 0ms 20 973 158ms 0ms 21 936 161ms 0ms 22 1,003 187ms 0ms 23 885 187ms 0ms Apr 04 00 588 208ms 208ms 01 247 353ms 0ms 02 245 349ms 0ms 03 244 351ms 0ms 04 246 348ms 0ms 05 248 336ms 0ms 06 244 300ms 0ms 07 366 241ms 0ms 08 256 293ms 0ms 09 244 307ms 0ms 10 917 156ms 0ms 11 895 157ms 0ms 12 2,736 1s153ms 110ms 13 1,359 256ms 0ms 14 1,035 290ms 0ms 15 943 231ms 0ms 16 955 238ms 0ms 17 928 235ms 0ms 18 978 218ms 0ms 19 931 213ms 0ms 20 916 211ms 0ms 21 931 227ms 0ms 22 462 232ms 0ms 23 258 341ms 0ms -
Connections
Established Connections
Key values
- 55 connections Connection Peak
- 2026-04-04 12:27:35 Date
Connections per database
Key values
- zemm_monitoring Main Database
- 130,822 connections Total
Database User Count bucardo 2 bucardo 2 deploy 1 deploy 1 monitoring 523 labanimal 523 postgres 6 deploy 5 labanimal 1 template1 3 postgres 3 zemm_monitoring 70,182 labanimal 70,182 zemm_produktiv_7 23,013 deploy 269 labanimal 22,744 zemm_produktiv_8 37,091 deploy 129 labanimal 36,955 postgres 7 zp7 1 deploy 1 Connections per user
Key values
- labanimal Main User
- 130,822 connections Total
-
Sessions
Simultaneous sessions
Key values
- 20 sessions Session Peak
- 2026-04-04 12:27:37 Date
Histogram of session times
Key values
- 115,852 0-500ms duration
Sessions per database
Key values
- zemm_monitoring Main Database
- 130,297 sessions Total
Sessions per user
Key values
- labanimal Main User
- 130,297 sessions Total
Sessions per host
Key values
- ::1 Main Host
- 130,297 sessions Total
Sessions per application
Key values
- Main Application
- 130,297 sessions Total
Application Count Total Duration Average Duration 113,560 6h45m47s 214ms DBeaver 22.2.4 - Main 'zemm_produktiv_7' 2 1m26s 43s2ms DBeaver 22.2.4 - Main 'zemm_produktiv_8' 1 41s529ms 41s529ms DBeaver 22.2.4 - Read PostgreSQL database list 2 567ms 283ms DBeaver 24.3.2 - Main 'zemm_produktiv_7' 4 2h15m25s 33m51s DBeaver 24.3.2 - Main 'zemm_produktiv_8' 3 2h14m34s 44m51s DBeaver 24.3.2 - Read PostgreSQL database list 2 704ms 352ms _backend_cage_autocomplete_api.php_q_2025_limit_12_zemm_produkt 24 589ms 24ms _backend_cage_autocomplete_api.php_q_55-065_limit_12_zemm_produ 24 657ms 27ms _backend_wean_api.php_litter_id_10130227_zemm_produktiv_7_local 120 17s65ms 142ms _backend_wean_api.php_litter_id_10130236_zemm_produktiv_7_local 119 17s548ms 147ms _backend_wean_api.php_litter_id_10130257_zemm_produktiv_7_local 144 21s137ms 146ms _backend_wean_api.php_litter_id_10130581_zemm_produktiv_8_local 1 140ms 140ms _backend_wean_api.php_litter_id_10131233_zemm_produktiv_8_local 1 142ms 142ms _backend_wean_api.php_litter_id_10131518_zemm_produktiv_8_local 7 976ms 139ms _backend_wean_api.php_litter_id_10131563_zemm_produktiv_8_local 20 2s772ms 138ms _backend_wean_api.php_litter_id_10131591_zemm_produktiv_8_local 3 423ms 141ms _backend_wean_api.php_litter_id_10131606_zemm_produktiv_8_local 2 275ms 137ms _backend_wean_api.php_litter_id_10131607_zemm_produktiv_8_local 2 280ms 140ms _backend_wean_api.php_litter_id_10131613_zemm_produktiv_8_local 5 702ms 140ms _backend_wean_api.php_litter_id_10131614_zemm_produktiv_8_local 5 694ms 138ms _backend_wean_api.php_litter_id_10131625_zemm_produktiv_8_local 2 282ms 141ms _backend_wean_api.php_litter_id_10131626_zemm_produktiv_8_local 2 282ms 141ms _backend_wean_api.php_litter_id_10131627_zemm_produktiv_8_local 4 560ms 140ms _backend_wean_api.php_litter_id_10131628_zemm_produktiv_8_local 5 692ms 138ms _backend_wean_api.php_litter_id_10131629_zemm_produktiv_8_local 2 281ms 140ms _backend_wean_api.php_litter_id_10131631_zemm_produktiv_8_local 2 281ms 140ms _backend_wean_api.php_litter_id_10131661_zemm_produktiv_8_local 2 283ms 141ms _backend_wean_api.php_litter_id_10131662_zemm_produktiv_8_local 2 281ms 140ms _backend_wean_api.php_litter_id_10131663_zemm_produktiv_8_local 2 285ms 142ms _backend_wean_api.php_litter_id_10131664_zemm_produktiv_8_local 2 281ms 140ms _backend_wean_api.php_litter_id_10131665_zemm_produktiv_8_local 2 290ms 145ms _backend_wean_api.php_litter_id_10131670_zemm_produktiv_8_local 20 2s792ms 139ms _backend_wean_api.php_litter_id_10131676_zemm_produktiv_8_local 2 281ms 140ms _backend_wean_api.php_litter_id_10131679_zemm_produktiv_8_local 2 285ms 142ms _backend_wean_api.php_litter_id_10131687_zemm_produktiv_8_local 36 4s995ms 138ms _backend_wean_api.php_litter_id_10131689_zemm_produktiv_8_local 35 4s885ms 139ms _backend_wean_api.php_litter_id_10131690_zemm_produktiv_8_local 35 4s912ms 140ms _backend_wean_api.php_litter_id_10131699_zemm_produktiv_8_local 12 1s681ms 140ms _backend_wean_api.php_litter_id_10131700_zemm_produktiv_8_local 35 4s904ms 140ms _backend_wean_api.php_litter_id_10131702_zemm_produktiv_8_local 35 4s881ms 139ms _backend_wean_api.php_litter_id_10131707_zemm_produktiv_8_local 3 427ms 142ms _backend_wean_api.php_litter_id_10131708_zemm_produktiv_8_local 5 704ms 140ms _backend_wean_api.php_litter_id_10131710_zemm_produktiv_8_local 2 280ms 140ms _backend_wean_api.php_litter_id_10131726_zemm_produktiv_8_local 4 564ms 141ms _backend_wean_api.php_litter_id_10131727_zemm_produktiv_8_local 2 278ms 139ms _backend_wean_api.php_litter_id_10131728_zemm_produktiv_8_local 3 421ms 140ms _backend_wean_api.php_litter_id_10131729_zemm_produktiv_8_local 4 550ms 137ms _backend_wean_api.php_litter_id_10131732_zemm_produktiv_8_local 2 280ms 140ms _backend_wean_api.php_litter_id_10131738_zemm_produktiv_8_local 2 282ms 141ms _backend_wean_api.php_litter_id_10131739_zemm_produktiv_8_local 2 284ms 142ms _backend_wean_api.php_litter_id_10131745_zemm_produktiv_8_local 2 278ms 139ms _backend_wean_api.php_litter_id_10131752_zemm_produktiv_8_local 20 2s794ms 139ms _backend_wean_api.php_litter_id_10131753_zemm_produktiv_8_local 20 2s782ms 139ms _backend_wean_api.php_litter_id_10131754_zemm_produktiv_8_local 20 2s790ms 139ms _backend_wean_api.php_litter_id_10131756_zemm_produktiv_8_local 2 280ms 140ms _backend_wean_api.php_litter_id_10131758_zemm_produktiv_8_local 20 2s809ms 140ms _backend_wean_api.php_litter_id_10131761_zemm_produktiv_8_local 20 2s812ms 140ms _backend_wean_api.php_litter_id_10131762_zemm_produktiv_8_local 20 2s787ms 139ms _backend_wean_api.php_litter_id_10131765_zemm_produktiv_8_local 20 2s803ms 140ms _backend_wean_api.php_litter_id_10131767_zemm_produktiv_8_local 2 283ms 141ms _backend_wean_api.php_litter_id_10131769_zemm_produktiv_8_local 2 284ms 142ms _backend_wean_api.php_litter_id_10131770_zemm_produktiv_8_local 2 282ms 141ms _backend_wean_api.php_litter_id_10131771_zemm_produktiv_8_local 2 275ms 137ms _backend_wean_api.php_litter_id_10131772_zemm_produktiv_8_local 2 281ms 140ms _backend_wean_api.php_litter_id_10131773_zemm_produktiv_8_local 2 281ms 140ms _backend_wean_api.php_litter_id_10131774_zemm_produktiv_8_local 2 281ms 140ms _backend_wean_api.php_litter_id_10131775_zemm_produktiv_8_local 2 285ms 142ms _backend_wean_api.php_litter_id_10131777_zemm_produktiv_8_local 2 283ms 141ms _backend_wean_api.php_litter_id_10131779_zemm_produktiv_8_local 2 273ms 136ms _backend_wean_api.php_litter_id_10131782_zemm_produktiv_8_local 10 1s386ms 138ms _backend_wean_api.php_litter_id_10131783_zemm_produktiv_8_local 10 1s406ms 140ms _backend_wean_api.php_litter_id_10131791_zemm_produktiv_8_local 35 4s892ms 139ms _backend_wean_api.php_litter_id_10131796_zemm_produktiv_8_local 35 4s877ms 139ms _backend_wean_api.php_litter_id_10131797_zemm_produktiv_8_local 35 4s874ms 139ms _backend_wean_api.php_litter_id_10131798_zemm_produktiv_8_local 35 4s891ms 139ms _backend_wean_api.php_litter_id_10131839_zemm_produktiv_8_local 3 424ms 141ms _backend_wean_api.php_litter_id_10131845_zemm_produktiv_8_local 3 425ms 141ms _backend_wean_api.php_litter_id_10131846_zemm_produktiv_8_local 2 277ms 138ms _backend_wean_api.php_litter_id_10131866_zemm_produktiv_8_local 2 282ms 141ms _backend_wean_api.php_litter_id_10131882_zemm_produktiv_8_local 35 4s891ms 139ms _backend_wean_api.php_litter_id_10131897_zemm_produktiv_8_local 2 284ms 142ms _backend_wean_api.php_litter_id_10131948_zemm_produktiv_8_local 4 560ms 140ms _backend_wean_api.php_litter_id_10131949_zemm_produktiv_8_local 2 281ms 140ms _backend_wean_api.php_litter_id_10131950_zemm_produktiv_8_local 3 418ms 139ms _backend_wean_api.php_litter_id_10131951_zemm_produktiv_8_local 2 281ms 140ms _backend_wean_api.php_litter_id_10131957_zemm_produktiv_8_local 2 275ms 137ms _backend_wean_api.php_litter_id_10131958_zemm_produktiv_8_local 2 283ms 141ms _backend_wean_api.php_litter_id_10131959_zemm_produktiv_8_local 2 281ms 140ms _backend_wean_api.php_litter_id_10131978_zemm_produktiv_8_local 3 425ms 141ms _backend_wean_api.php_litter_id_10131979_zemm_produktiv_8_local 2 280ms 140ms _backend_wean_api.php_litter_id_10131993_zemm_produktiv_8_local 1 140ms 140ms _backend_wean_api.php_litter_id_10131998_zemm_produktiv_8_local 1 142ms 142ms _backend_wean_api.php_litter_id_10132009_zemm_produktiv_8_local 2 279ms 139ms _backend_wean_api.php_litter_id_10132010_zemm_produktiv_8_local 2 279ms 139ms _backend_wean_api.php_litter_id_10132018_zemm_produktiv_8_local 1 130ms 130ms _backend_wean_api.php_litter_id_10132019_zemm_produktiv_8_local 3 424ms 141ms _desktop__command_tasks_command_tasks_subcommand_open_screen__q 1 68ms 68ms _desktop__zemm_produktiv_7_localhost_5432 32 2s164ms 67ms _desktop__zemm_produktiv_8_localhost_5432 70 4s697ms 67ms _desktop_index.php_animal_name_13_animal_id_2026_2F000_2F1476_s 2 85ms 42ms _desktop_index.php_animal_name_19_animal_id_2025_2F001_2F9413_s 1 39ms 39ms _desktop_index.php_animal_name_24_animal_id_2025_2F002_2F5751_s 1 47ms 47ms _desktop_index.php_breeding__25_sex__25_in_breeding__25_fate_5_ 2 89ms 44ms _desktop_index.php_cages_name_28_cages_empty__25_val4_cages_sea 1 58ms 58ms _desktop_index.php_cages_name_71_2A_cages_empty__25_val4_cages_ 1 502ms 502ms _desktop_index.php_cages_name_A15.415-1_2A_cages_empty__25_val4 1 323ms 323ms _desktop_index.php_cages_name_A15.415_2A_cages_empty__25_val4_c 2 1s925ms 962ms _desktop_index.php_cages_name_A15_2A_cages_empty__25_val4_cages 14 17s728ms 1s266ms _desktop_index.php_command_admin_subcommand_strains_management_ 1 83ms 83ms _desktop_index.php_command_animals_breedings_subcommand_init_ze 1 44ms 44ms _desktop_index.php_command_animals_breedings_subcommand_select_ 26 1s389ms 53ms _desktop_index.php_command_animals_create_subcommand_init_zemm_ 26 1s612ms 62ms _desktop_index.php_command_animals_edit_subcommand_init_id_1026 2 199ms 99ms _desktop_index.php_command_animals_edit_subcommand_init_id_1027 3 338ms 112ms _desktop_index.php_command_animals_edit_subcommand_init_id_1028 7 737ms 105ms _desktop_index.php_command_animals_edit_subcommand_init_id_1029 3 313ms 104ms _desktop_index.php_command_animals_edit_subcommand_init_id_1030 4 442ms 110ms _desktop_index.php_command_animals_edit_subcommand_link_init_va 24 2s717ms 113ms _desktop_index.php_command_animals_edit_subcommand_m_init_scree 24 3s2ms 125ms _desktop_index.php_command_animals_litters_create_subcommand_se 2 351ms 175ms _desktop_index.php_command_animals_litters_edit_subcommand_init 24 2s645ms 110ms _desktop_index.php_command_animals_litters_edit_subcommand_m_in 24 7s735ms 322ms _desktop_index.php_command_animals_litters_subcommand_select_ze 26 1s302ms 50ms _desktop_index.php_command_animals_subcommand_found_val1_101003 1 48ms 48ms _desktop_index.php_command_animals_subcommand_found_val1_1831_v 1 45ms 45ms _desktop_index.php_command_animals_subcommand_init_zemm_produkt 36 1s660ms 46ms _desktop_index.php_command_animals_subcommand_select_zemm_produ 32 2s165ms 67ms _desktop_index.php_command_cages_edit_subcommand_init_id_101014 1 74ms 74ms _desktop_index.php_command_cages_edit_subcommand_init_id_101015 1 62ms 62ms _desktop_index.php_command_cages_edit_subcommand_init_id_101017 1 69ms 69ms _desktop_index.php_command_cages_subcommand_init_zemm_produktiv 8 339ms 42ms _desktop_index.php_command_documents_subcommand_edit_id_1010000 1 50ms 50ms _desktop_index.php_command_documents_subcommand_edit_id_21_zemm 1 50ms 50ms _desktop_index.php_command_documents_subcommand_init_zemm_produ 5 227ms 45ms _desktop_index.php_command_documents_subcommand_select_zemm_pro 6 284ms 47ms _desktop_index.php_command_facility_subcommand_init_zemm_produk 1 45ms 45ms _desktop_index.php_command_home_subcommand_init_zemm_produktiv_ 1 93ms 93ms _desktop_index.php_command_licences_subcommand_create_zemm_prod 22 1s561ms 70ms _desktop_index.php_command_licences_subcommand_edit_id_10100062 1 73ms 73ms _desktop_index.php_command_licences_subcommand_edit_id_10100119 18 1s242ms 69ms _desktop_index.php_command_licences_subcommand_edit_id_1_zemm_p 1 62ms 62ms _desktop_index.php_command_licences_subcommand_edit_id_303_zemm 1 52ms 52ms _desktop_index.php_command_licences_subcommand_edit_species_id_ 1 49ms 49ms _desktop_index.php_command_licences_subcommand_init_zemm_produk 1 72ms 72ms _desktop_index.php_command_licences_subcommand_search_zemm_prod 2 131ms 65ms _desktop_index.php_command_licences_subcommand_select_zemm_prod 4 352ms 88ms _desktop_index.php_command_login_subcommand_init_zemm_produktiv 1,210 37s846ms 31ms _desktop_index.php_command_reports_subcommand_animals_per_room_ 16 2s87ms 130ms _desktop_index.php_command_reports_subcommand_animals_per_user_ 36 4s4ms 111ms _desktop_index.php_command_reports_subcommand_cage_utilisation_ 3 346ms 115ms _desktop_index.php_command_reports_subcommand_fates_zemm_produk 27 3s191ms 118ms _desktop_index.php_command_reports_subcommand_init_zemm_produkt 54 15s598ms 288ms _desktop_index.php_command_reports_subcommand_room_utilisation_ 8 902ms 112ms _desktop_index.php_command_reports_subcommand_scoresheet_per_li 1 883ms 883ms _desktop_index.php_command_reports_subcommand_task_status_zemm_ 5 565ms 113ms _desktop_index.php_command_strains_subcommand_init_zemm_produkt 4 331ms 82ms _desktop_index.php_command_tasks_subcommand_edit_id_10134267_ze 24 2s124ms 88ms _desktop_index.php_command_tasks_subcommand_edit_id_10139885_ze 1 84ms 84ms _desktop_index.php_command_tasks_subcommand_edit_id_10140427_ze 5 416ms 83ms _desktop_index.php_command_tasks_subcommand_edit_id_10140860_ze 1 86ms 86ms _desktop_index.php_command_tasks_subcommand_edit_id_10141310_ze 2 165ms 82ms _desktop_index.php_command_tasks_subcommand_edit_id_10141374_ze 1 81ms 81ms _desktop_index.php_command_tasks_subcommand_edit_id_10141607_ze 1 76ms 76ms _desktop_index.php_command_tasks_subcommand_edit_id_10141663_ze 1 84ms 84ms _desktop_index.php_command_tasks_subcommand_edit_id_10141713_ze 1 85ms 85ms _desktop_index.php_command_tasks_subcommand_edit_id_10141778_ze 1 87ms 87ms _desktop_index.php_command_tasks_subcommand_edit_id_10141809_ze 1 87ms 87ms _desktop_index.php_command_tasks_subcommand_edit_id_10141838_ze 1 81ms 81ms _desktop_index.php_command_tasks_subcommand_edit_id_10141941_ze 1 86ms 86ms _desktop_index.php_command_tasks_subcommand_edit_id_10141943_ze 1 87ms 87ms _desktop_index.php_command_tasks_subcommand_edit_id_10141945_ze 2 154ms 77ms _desktop_index.php_command_tasks_subcommand_edit_id_10141951_ze 1 84ms 84ms _desktop_index.php_command_tasks_subcommand_edit_id_10141953_ze 1 82ms 82ms _desktop_index.php_command_tasks_subcommand_edit_id_10141976_ze 3 249ms 83ms _desktop_index.php_command_tasks_subcommand_edit_id_10141977_ze 1 85ms 85ms _desktop_index.php_command_tasks_subcommand_edit_id_10141978_ze 2 165ms 82ms _desktop_index.php_command_tasks_subcommand_edit_id_10141992_ze 2 166ms 83ms _desktop_index.php_command_tasks_subcommand_edit_id_10142050_ze 1 85ms 85ms _desktop_index.php_command_tasks_subcommand_edit_id_10142052_ze 2 158ms 79ms _desktop_index.php_command_tasks_subcommand_edit_id_10142053_ze 1 81ms 81ms _desktop_index.php_command_tasks_subcommand_found_val1_10100176 1 41ms 41ms _desktop_index.php_command_tasks_subcommand_found_val1_51_val2_ 4 175ms 43ms _desktop_index.php_command_tasks_subcommand_init_search_zemm_pr 24 1s227ms 51ms _desktop_index.php_command_tasks_subcommand_init_zemm_produktiv 2 144ms 72ms _desktop_index.php_command_tasks_subcommand_open_zemm_produktiv 288 25s593ms 88ms _desktop_index.php_command_tasks_subcommand_owner_tasks_zemm_pr 1 74ms 74ms _desktop_index.php_command_tasks_subcommand_search_zemm_produkt 38 2s21ms 53ms _desktop_index.php_command_tasks_subcommand_select_tasks_zemm_p 2 4s933ms 2s466ms _desktop_index.php_id_0_command_licences_subcommand_init_zemm_p 1 49ms 49ms _desktop_index.php_lic_filter_1_command_facility_subcommand_ini 1 47ms 47ms _desktop_index.php_lic_filter_1_command_licences_subcommand_sel 2 124ms 62ms _desktop_index.php_m_action_animals_3Am_delete_val4_animals_lis 4 332ms 83ms _desktop_index.php_m_action_animals_edit_3Alink_init_row_animal 3 208ms 69ms _desktop_index.php_m_action_cages_3Am_cage_card_row_7390_7390_r 2 12s418ms 6s209ms _desktop_index.php_m_action_cages_3Am_delete_command_animals_su 6 276ms 46ms _desktop_index.php_m_action_documents_3Am_delete_val4_documents 1 49ms 49ms _desktop_index.php_name_Abt_C3_B6ten_20v._20Tieren_20ohne_20Ver 1 47ms 47ms _desktop_index.php_name_Genotypisierungsproben_20genommen_instr 6 331ms 55ms _desktop_index.php_name_Neue_20Aufgabe_instructions_Bitte_20bei 2 132ms 66ms _desktop_index.php_name_Projektwechsel_20lebender_20Tiere_instr 1 67ms 67ms _desktop_index.php_name_Tiertransport_20durch_20das_20ZEMM_20-_ 6 388ms 64ms _desktop_index.php_name_Tiertransport_20durch_20das_20ZEMM_inst 3 168ms 56ms _desktop_index.php_name_Tiertransport_20innerhalb_20W_C3_BCrzbu 1 51ms 51ms _desktop_index.php_search_name_Verpaarungen_20f_C3_BCr_20Versuc 2 296ms 148ms _desktop_index.php_search_status_2_no_subtasks_true_command_cag 1 44ms 44ms _desktop_index.php_search_status_2_no_subtasks_true_command_tas 1 47ms 47ms _desktop_index.php_search_status__25_deadline_from_2025-09-19_d 1 173ms 173ms _desktop_index.php_search_status__25_issued_from_2025-09-19_iss 1 150ms 150ms _desktop_index.php_search_status__25_issued_from_2026-02-01_iss 12 1s186ms 98ms _desktop_index.php_search_status__25_issuer_user_name_Cuenca_20 4 297ms 74ms _desktop_index.php_species_1_max_animals_1_license_id_10100062_ 1 74ms 74ms _desktop_index.php_type_1_id_0_parent_0_facility_creator_1_enri 1 43ms 43ms _desktop_index.php_unweaned_only_true_val4_animals_litters_sear 2 186ms 93ms _desktop_index.php_val4_documents_command_documents_subcommand_ 2 141ms 70ms _desktop_index.php_view_animal_id_on_breeding__25_sex__25_in_br 1 465ms 465ms _desktop_index.php_view_animal_name_on_animal_name_2026_2F000_2 1 257ms 257ms _desktop_index.php_view_animal_name_on_view_animal_id_on_animal 7 1s665ms 237ms _desktop_index.php_view_animal_name_on_view_animal_id_on_specie 1 1s911ms 1s911ms _desktop_index.php_view_animal_name_on_view_animal_id_on_view_b 106 39s771ms 375ms _desktop_index.php_view_animal_name_on_view_animal_id_on_view_s 18 12s820ms 712ms _desktop_index.php_zemm_produktiv_7_localhost_5432 689 2m51s 249ms _desktop_index.php_zemm_produktiv_8_localhost_5432 11,384 40m50s 215ms backend:zemm_produktiv_7@localhost 14 604ms 43ms backend:zemm_produktiv_8@localhost 213 15s466ms 72ms expire_tasks:zemm_produktiv_8@h2940066.stratoserver.net:5432 7 7s501ms 1s71ms fatescron:zemm_produktiv_8@h2940066.stratoserver.net:5432 1 1s129ms 1s129ms pg_dump 15 4m39s 18s637ms pg_restore 1 40s174ms 40s174ms psql 460 16m35s 2s163ms strainscron:zemm_produktiv_8@h2940066.stratoserver.net:5432 1 2m57s 2m57s taskscron:zemm_produktiv_7@zemm.fbiscience.eu 167 5s141ms 30ms taskscron:zemm_produktiv_8@h2940066.stratoserver.net:5432 167 36s29ms 215ms -
Checkpoints / Restartpoints
Checkpoints Buffers
Key values
- 167,626 buffers Checkpoint Peak
- 2026-03-31 11:59:35 Date
- 270.020 seconds Highest write time
- 0.104 seconds Sync time
Checkpoints Wal files
Key values
- 85 files Wal files usage Peak
- 2026-03-31 11:59:35 Date
Checkpoints distance
Key values
- 2,736.72 Mo Distance Peak
- 2026-03-31 11:59:35 Date
Checkpoints Activity
↑ Back to the top of the Checkpoint Activity tableDay Hour Written buffers Write time Sync time Total time Mar 29 00 1,930 193.609s 0.067s 193.723s 01 21,938 607.68s 0.083s 607.827s 03 2,162 216.881s 0.072s 217.009s 04 2,072 207.844s 0.072s 207.975s 05 2,091 209.742s 0.074s 209.868s 06 2,444 245.121s 0.075s 245.25s 07 2,155 216.155s 0.074s 216.285s 08 2,156 216.26s 0.072s 216.387s 09 2,180 218.686s 0.075s 218.814s 10 2,467 247.343s 0.084s 247.481s 11 2,166 217.259s 0.074s 217.39s 12 4,319 432.641s 0.097s 432.793s 13 3,683 368.944s 0.088s 369.097s 14 2,127 213.375s 0.071s 213.507s 15 5,530 465.358s 0.075s 465.491s 16 2,203 220.994s 0.075s 221.122s 17 2,451 245.865s 0.076s 246s 18 2,942 294.795s 0.069s 294.917s 19 2,133 213.949s 0.07s 214.074s 20 15,169 465.39s 0.09s 465.527s 21 23,277 830.124s 0.136s 830.317s 22 2,263 227.012s 0.078s 227.144s 23 2,025 203.105s 0.064s 203.218s Mar 30 00 2,794 280.218s 0.089s 280.367s 01 20,739 486.442s 0.07s 486.57s 02 2,220 222.66s 0.069s 222.782s 03 2,187 219.346s 0.068s 219.468s 04 2,508 251.403s 0.073s 251.527s 05 2,137 214.339s 0.076s 214.464s 06 4,448 445.831s 0.184s 446.072s 07 4,374 438.077s 0.184s 438.313s 08 3,270 327.882s 0.154s 328.089s 09 3,158 316.72s 0.132s 316.912s 10 2,860 286.79s 0.161s 287.002s 11 3,506 351.634s 0.198s 351.88s 12 4,017 402.312s 0.171s 402.534s 13 8,161 680.825s 0.199s 681.074s 14 4,258 426.495s 0.176s 426.725s 15 4,426 443.454s 0.156s 443.662s 16 5,663 567.314s 0.17s 567.535s 17 43,400 544.123s 0.147s 544.327s 18 2,406 241.297s 0.087s 241.435s 19 7,175 641.234s 0.134s 641.425s 20 4,819 482.447s 0.113s 482.616s 21 3,105 311.21s 0.083s 311.343s 22 3,074 308.222s 0.088s 308.368s 23 3,364 337.26s 0.075s 337.386s Mar 31 00 6,950 542.113s 0.088s 542.254s 01 20,551 467.782s 0.081s 467.915s 02 1,981 198.72s 0.085s 198.86s 03 2,252 225.855s 0.081s 225.995s 04 2,065 207.159s 0.09s 207.299s 05 84,924 509.849s 0.081s 509.999s 06 7,590 759.882s 0.15s 760.093s 07 5,252 525.957s 0.161s 526.173s 08 31,678 1,155.434s 0.247s 1,155.747s 09 5,726 573.595s 0.227s 573.873s 10 7,560 757.582s 0.191s 757.834s 11 179,684 884.784s 0.301s 885.308s 12 5,820 583.045s 0.202s 583.321s 13 8,469 847.98s 0.219s 848.269s 14 4,447 445.648s 0.169s 445.882s 15 4,386 439.359s 0.169s 439.588s 16 2,999 300.687s 0.101s 300.852s 17 4,133 414.083s 0.117s 414.263s 18 18,787 729.909s 0.203s 730.191s 19 2,947 295.499s 0.077s 295.632s 20 3,133 314.058s 0.088s 314.198s 21 8,001 574.988s 0.074s 575.127s 22 3,187 319.32s 0.076s 319.456s 23 8,721 872.199s 0.116s 874.638s Apr 01 00 2,475 248.131s 0.073s 248.266s 01 20,844 504.186s 0.075s 504.344s 02 2,268 227.466s 0.071s 227.591s 03 2,027 203.311s 0.073s 203.436s 04 2,025 203.118s 0.073s 203.249s 05 2,078 208.435s 0.077s 208.568s 06 6,359 550.911s 0.116s 551.076s 07 6,655 666.484s 0.133s 666.676s 08 47,676 1,430.908s 0.242s 1,431.216s 09 16,691 614.934s 0.182s 615.173s 10 5,978 599.007s 0.135s 599.19s 11 5,223 523.124s 0.183s 523.361s 12 29,696 952.079s 0.203s 952.352s 13 16,174 828.75s 0.213s 829.047s 14 18,218 733.658s 0.153s 733.87s 15 5,251 525.997s 0.149s 526.2s 16 3,338 334.732s 0.122s 334.904s 17 2,816 282.436s 0.089s 282.582s 18 3,256 326.46s 0.081s 326.598s 19 4,700 470.511s 0.086s 470.65s 20 5,690 551.803s 0.078s 551.938s 21 3,085 309.207s 0.116s 309.381s 22 2,484 249.109s 0.072s 249.227s 23 3,170 317.511s 0.071s 317.631s Apr 02 00 2,097 210.345s 0.072s 210.473s 01 20,459 457.766s 0.074s 457.892s 02 2,339 234.58s 0.074s 234.703s 03 2,114 212.02s 0.069s 212.143s 04 2,094 210.029s 0.073s 210.155s 05 3,426 343.412s 0.096s 343.564s 06 5,425 543.247s 0.201s 543.499s 07 12,744 966.048s 0.167s 966.274s 08 46,317 1,323.316s 0.204s 1,323.584s 09 5,119 512.555s 0.213s 512.819s 10 6,713 672.304s 0.208s 672.569s 11 3,931 393.907s 0.18s 394.14s 12 5,312 532.462s 0.178s 532.693s 13 13,887 1,093.069s 0.184s 1,093.314s 14 7,916 662.933s 0.156s 663.135s 15 3,528 353.784s 0.129s 353.963s 16 2,581 258.884s 0.116s 259.055s 17 2,400 240.724s 0.105s 240.877s 18 2,518 252.45s 0.096s 252.597s 19 2,203 220.983s 0.092s 221.126s 20 5,031 472.88s 0.079s 473.016s 21 2,377 238.393s 0.08s 238.529s 22 2,407 241.392s 0.083s 241.53s 23 3,761 376.685s 0.076s 376.812s Apr 03 00 2,189 219.598s 0.088s 219.74s 01 20,571 467.007s 0.083s 467.145s 02 2,447 245.406s 0.076s 245.541s 03 2,294 230.107s 0.084s 230.245s 04 2,278 228.492s 0.078s 228.627s 05 2,258 226.505s 0.093s 226.655s 06 2,472 247.917s 0.083s 248.053s 07 6,404 483.541s 0.076s 483.665s 08 2,414 242.008s 0.082s 242.14s 09 29,000 797.129s 0.119s 797.306s 10 3,081 308.92s 0.077s 309.052s 11 3,309 331.642s 0.073s 331.766s 12 3,042 305.003s 0.075s 305.132s 13 99,102 549.207s 0.077s 549.352s 14 3,865 387.231s 0.077s 387.368s 15 4,900 490.873s 0.074s 491.001s 16 3,546 355.605s 0.076s 355.739s 17 3,400 340.851s 0.088s 340.993s 18 3,609 361.739s 0.117s 361.909s 19 3,349 335.682s 0.078s 335.831s 20 3,163 317.17s 0.074s 317.299s 21 3,106 311.455s 0.079s 311.586s 22 2,842 285.006s 0.074s 285.135s 23 3,097 310.533s 0.078s 310.668s Apr 04 00 2,648 265.555s 0.077s 265.687s 01 20,796 485.154s 0.085s 485.298s 02 2,391 239.799s 0.074s 239.928s 03 2,578 258.537s 0.076s 258.667s 04 2,340 234.701s 0.072s 234.826s 05 2,394 240.093s 0.073s 240.22s 06 2,488 249.434s 0.078s 249.563s 07 6,060 546.133s 0.074s 546.26s 08 2,826 283.359s 0.074s 283.484s 09 2,003 200.932s 0.072s 201.054s 10 3,678 368.226s 0.078s 368.357s 11 2,908 291.499s 0.073s 291.626s 12 24,986 575.249s 0.103s 575.458s 13 3,191 319.943s 0.078s 320.075s 14 3,468 347.706s 0.08s 347.838s 15 3,144 315.223s 0.07s 315.345s 16 4,242 424.899s 0.072s 425.025s 17 3,147 315.509s 0.07s 315.631s 18 3,245 325.358s 0.074s 325.485s 19 3,282 328.954s 0.097s 329.102s 20 3,698 370.412s 0.103s 370.578s 21 3,316 307.534s 0.095s 307.677s 22 2,810 281.779s 0.076s 281.916s 23 2,204 221.074s 0.074s 221.204s Day Hour Added Removed Recycled Synced files Longest sync Average sync Mar 29 00 0 0 1 319 0.001s 0.011s 01 0 0 7 408 0.002s 0.013s 03 0 0 1 343 0.001s 0.012s 04 0 0 1 340 0.001s 0.012s 05 0 0 1 344 0.002s 0.012s 06 0 0 1 366 0.002s 0.012s 07 0 0 0 351 0.001s 0.012s 08 0 0 1 349 0.001s 0.012s 09 0 0 1 359 0.002s 0.012s 10 0 0 1 409 0.002s 0.012s 11 0 0 0 379 0.001s 0.012s 12 0 0 2 485 0.002s 0.012s 13 0 0 1 433 0.002s 0.012s 14 0 0 1 355 0.001s 0.012s 15 0 0 1 365 0.002s 0.012s 16 0 0 1 358 0.002s 0.012s 17 0 0 1 381 0.002s 0.012s 18 0 0 1 350 0.001s 0.012s 19 0 0 1 352 0.001s 0.012s 20 0 0 4 476 0.002s 0.01s 21 0 0 8 757 0.003s 0.012s 22 0 0 1 385 0.001s 0.012s 23 0 0 0 326 0.001s 0.011s Mar 30 00 0 0 1 415 0.002s 0.013s 01 0 0 7 338 0.002s 0.011s 02 0 0 0 344 0.001s 0.012s 03 0 0 1 341 0.001s 0.012s 04 0 0 1 345 0.001s 0.012s 05 0 0 1 316 0.002s 0.011s 06 0 0 1 984 0.003s 0.012s 07 0 0 1 949 0.002s 0.012s 08 0 0 1 732 0.003s 0.012s 09 0 0 1 630 0.003s 0.012s 10 0 0 1 744 0.002s 0.012s 11 0 0 1 1,006 0.002s 0.012s 12 0 0 1 960 0.002s 0.012s 13 0 0 2 1,104 0.003s 0.012s 14 0 0 2 991 0.002s 0.012s 15 0 0 1 853 0.002s 0.012s 16 0 0 2 879 0.002s 0.012s 17 0 0 9 683 0.002s 0.012s 18 0 0 1 364 0.002s 0.012s 19 0 0 2 584 0.005s 0.012s 20 0 0 1 550 0.002s 0.012s 21 0 0 1 355 0.002s 0.012s 22 0 0 1 358 0.002s 0.012s 23 0 0 1 344 0.002s 0.012s Mar 31 00 0 0 1 372 0.003s 0.012s 01 0 0 8 364 0.002s 0.011s 02 0 0 0 356 0.002s 0.012s 03 0 0 1 357 0.002s 0.012s 04 0 0 1 388 0.002s 0.012s 05 0 0 18 367 0.002s 0.012s 06 0 0 2 823 0.002s 0.012s 07 0 0 1 894 0.003s 0.012s 08 0 0 12 1,447 0.002s 0.012s 09 0 0 1 1,288 0.003s 0.012s 10 0 0 3 1,111 0.002s 0.012s 11 1 2 86 1,790 0.002s 0.012s 12 0 1 1 1,159 0.003s 0.012s 13 0 3 0 1,228 0.003s 0.012s 14 0 2 0 936 0.003s 0.012s 15 0 1 0 970 0.002s 0.012s 16 0 1 0 530 0.002s 0.012s 17 0 1 0 633 0.002s 0.012s 18 0 3 0 630 0.056s 0.013s 19 0 1 0 360 0.002s 0.012s 20 0 1 0 426 0.002s 0.012s 21 0 2 0 353 0.002s 0.012s 22 0 1 0 357 0.002s 0.012s 23 0 2 0 601 0.002s 0.012s Apr 01 00 0 1 0 354 0.001s 0.012s 01 0 3 5 380 0.001s 0.012s 02 0 0 1 352 0.001s 0.012s 03 0 0 1 350 0.002s 0.012s 04 0 0 0 347 0.002s 0.012s 05 0 0 1 384 0.002s 0.012s 06 0 0 2 615 0.002s 0.012s 07 0 0 1 733 0.002s 0.012s 08 0 0 14 1,435 0.002s 0.012s 09 0 0 6 915 0.005s 0.012s 10 0 0 2 733 0.003s 0.012s 11 0 0 2 974 0.004s 0.012s 12 0 0 9 1,157 0.002s 0.012s 13 0 0 7 1,003 0.005s 0.012s 14 0 0 5 815 0.002s 0.012s 15 0 0 2 774 0.004s 0.012s 16 0 0 1 648 0.003s 0.012s 17 0 0 1 459 0.002s 0.012s 18 0 0 1 397 0.002s 0.012s 19 0 0 1 417 0.001s 0.012s 20 0 0 2 374 0.002s 0.012s 21 0 0 1 364 0.028s 0.013s 22 0 0 1 332 0.002s 0.012s 23 0 0 1 347 0.002s 0.012s Apr 02 00 0 0 1 342 0.001s 0.012s 01 0 0 7 336 0.005s 0.011s 02 0 0 1 349 0.002s 0.012s 03 0 0 0 343 0.002s 0.012s 04 0 0 1 343 0.001s 0.012s 05 0 0 2 442 0.002s 0.012s 06 0 0 1 1,092 0.002s 0.012s 07 0 0 4 856 0.002s 0.012s 08 0 0 16 1,070 0.002s 0.011s 09 0 0 2 1,150 0.004s 0.012s 10 0 0 2 1,166 0.003s 0.012s 11 0 0 1 845 0.007s 0.012s 12 0 0 1 966 0.002s 0.012s 13 0 0 5 948 0.005s 0.012s 14 0 0 1 813 0.002s 0.011s 15 0 0 1 585 0.003s 0.012s 16 0 0 1 530 0.002s 0.012s 17 0 0 1 449 0.002s 0.012s 18 0 0 1 406 0.002s 0.012s 19 0 0 1 361 0.002s 0.012s 20 0 0 1 326 0.002s 0.011s 21 0 0 1 359 0.002s 0.012s 22 0 0 1 353 0.002s 0.012s 23 0 0 1 372 0.002s 0.012s Apr 03 00 0 0 1 355 0.002s 0.012s 01 0 0 6 355 0.002s 0.011s 02 0 0 1 362 0.002s 0.012s 03 0 0 0 365 0.002s 0.012s 04 0 0 1 368 0.002s 0.012s 05 0 0 1 365 0.002s 0.012s 06 0 0 1 368 0.002s 0.012s 07 0 0 1 338 0.002s 0.011s 08 0 0 1 377 0.002s 0.011s 09 0 0 8 611 0.003s 0.011s 10 0 0 1 398 0.002s 0.012s 11 0 0 1 366 0.001s 0.012s 12 0 0 1 368 0.002s 0.012s 13 0 0 21 366 0.002s 0.012s 14 0 0 1 387 0.002s 0.012s 15 0 0 1 361 0.002s 0.012s 16 0 0 1 367 0.002s 0.012s 17 0 0 1 450 0.002s 0.012s 18 0 0 1 598 0.004s 0.012s 19 0 0 1 365 0.003s 0.012s 20 0 0 1 367 0.002s 0.012s 21 0 0 1 364 0.002s 0.012s 22 0 0 1 364 0.002s 0.012s 23 0 0 1 384 0.002s 0.012s Apr 04 00 0 0 1 368 0.002s 0.012s 01 0 0 7 396 0.002s 0.012s 02 0 0 1 360 0.002s 0.012s 03 0 0 1 362 0.002s 0.012s 04 0 0 0 360 0.002s 0.012s 05 0 0 1 367 0.002s 0.012s 06 0 0 1 364 0.002s 0.012s 07 0 0 2 364 0.002s 0.012s 08 0 0 0 359 0.001s 0.012s 09 0 0 1 354 0.001s 0.012s 10 0 0 1 358 0.005s 0.012s 11 0 0 1 360 0.001s 0.012s 12 0 0 6 455 0.004s 0.012s 13 0 0 1 397 0.002s 0.012s 14 0 0 1 391 0.002s 0.012s 15 0 0 1 346 0.001s 0.012s 16 0 0 1 364 0.002s 0.012s 17 0 0 1 345 0.003s 0.012s 18 0 0 1 346 0.002s 0.012s 19 0 0 0 347 0.002s 0.012s 20 0 0 1 352 0.002s 0.012s 21 0 0 1 349 0.002s 0.012s 22 0 0 1 356 0.002s 0.012s 23 0 0 1 361 0.002s 0.012s Day Hour Count Avg time (sec) Mar 29 00 0 0s 01 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 Mar 30 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 Mar 31 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 Apr 01 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 Apr 02 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 Apr 03 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 Apr 04 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 29 00 1,024.82 kB 1,067.73 kB 01 9,666.92 kB 41,396.69 kB 03 1,054.17 kB 35,974.83 kB 04 1,032.42 kB 10,902.83 kB 05 1,023.67 kB 3,816.42 kB 06 1,109.00 kB 1,855.33 kB 07 1,055.25 kB 1,288.17 kB 08 1,052.33 kB 1,122.75 kB 09 1,055.92 kB 1,082.75 kB 10 1,100.08 kB 1,336.83 kB 11 1,036.25 kB 1,142.08 kB 12 2,127.08 kB 4,914.00 kB 13 1,554.33 kB 5,329.83 kB 14 1,046.58 kB 2,336.25 kB 15 1,991.17 kB 5,177.17 kB 16 1,072.67 kB 5,057.33 kB 17 1,107.33 kB 2,217.00 kB 18 1,201.75 kB 2,131.67 kB 19 1,046.75 kB 1,478.50 kB 20 6,979.50 kB 11,925.70 kB 21 11,025.08 kB 43,815.83 kB 22 1,083.17 kB 17,364.00 kB 23 1,062.00 kB 5,870.55 kB Mar 30 00 1,141.62 kB 2,510.85 kB 01 9,361.09 kB 34,854.73 kB 02 1,071.58 kB 32,852.00 kB 03 1,061.92 kB 10,042.17 kB 04 1,125.75 kB 3,617.08 kB 05 1,090.55 kB 1,858.82 kB 06 1,670.92 kB 1,893.67 kB 07 1,709.25 kB 2,411.58 kB 08 1,364.17 kB 2,354.33 kB 09 1,335.17 kB 2,017.00 kB 10 1,294.17 kB 1,700.25 kB 11 1,486.00 kB 1,866.67 kB 12 1,665.17 kB 2,093.67 kB 13 2,727.92 kB 4,107.17 kB 14 1,810.83 kB 7,166.58 kB 15 1,759.17 kB 3,246.42 kB 16 2,042.83 kB 3,302.00 kB 17 12,496.83 kB 55,416.42 kB 18 1,090.08 kB 43,988.00 kB 19 2,726.00 kB 14,198.00 kB 20 1,896.25 kB 6,543.50 kB 21 1,292.00 kB 2,892.75 kB 22 1,313.17 kB 1,899.58 kB 23 1,372.42 kB 2,225.25 kB Mar 31 00 1,952.42 kB 6,068.58 kB 01 11,045.91 kB 36,410.27 kB 02 996.25 kB 43,737.33 kB 03 1,035.33 kB 13,076.67 kB 04 1,005.17 kB 4,425.33 kB 05 24,562.25 kB 82,339.67 kB 06 2,964.92 kB 112,408.92 kB 07 1,891.50 kB 33,267.83 kB 08 15,147.42 kB 51,591.75 kB 09 2,343.33 kB 18,497.25 kB 10 3,743.08 kB 12,083.33 kB 11 120,645.42 kB 123,528.75 kB 12 2,312.75 kB 755,163.83 kB 13 4,461.33 kB 216,152.50 kB 14 1,685.92 kB 62,761.92 kB 15 1,584.58 kB 18,897.75 kB 16 1,218.92 kB 6,294.08 kB 17 1,669.08 kB 3,510.75 kB 18 3,839.58 kB 8,920.75 kB 19 1,213.50 kB 8,906.67 kB 20 1,369.92 kB 3,461.00 kB 21 2,719.08 kB 11,070.92 kB 22 1,322.25 kB 4,096.58 kB 23 3,461.25 kB 7,965.08 kB Apr 01 00 1,127.92 kB 3,488.92 kB 01 11,314.50 kB 36,520.33 kB 02 1,059.08 kB 29,813.08 kB 03 1,013.67 kB 9,174.92 kB 04 1,016.42 kB 3,318.92 kB 05 1,030.83 kB 1,673.67 kB 06 2,094.00 kB 4,235.08 kB 07 2,322.92 kB 7,411.33 kB 08 18,914.25 kB 39,481.33 kB 09 7,811.17 kB 49,959.33 kB 10 2,716.83 kB 23,797.75 kB 11 2,178.00 kB 8,048.75 kB 12 12,810.67 kB 38,502.92 kB 13 9,125.67 kB 49,191.17 kB 14 7,321.50 kB 36,426.25 kB 15 2,844.00 kB 12,777.50 kB 16 1,355.58 kB 4,701.08 kB 17 1,216.92 kB 2,242.00 kB 18 1,403.92 kB 1,717.67 kB 19 1,826.08 kB 4,112.92 kB 20 2,130.50 kB 6,550.00 kB 21 1,388.17 kB 3,363.83 kB 22 1,135.58 kB 1,832.75 kB 23 1,327.25 kB 2,324.92 kB Apr 02 00 1,050.83 kB 1,710.75 kB 01 10,935.45 kB 41,352.18 kB 02 1,100.67 kB 39,181.17 kB 03 1,060.83 kB 11,839.42 kB 04 1,057.08 kB 4,102.83 kB 05 2,003.00 kB 4,264.83 kB 06 2,259.92 kB 3,952.92 kB 07 5,285.17 kB 15,291.50 kB 08 23,392.27 kB 58,037.27 kB 09 2,218.50 kB 28,476.92 kB 10 2,782.00 kB 10,007.75 kB 11 1,677.67 kB 4,250.42 kB 12 2,209.67 kB 3,279.17 kB 13 5,787.67 kB 10,636.08 kB 14 2,630.09 kB 11,076.18 kB 15 1,414.00 kB 4,586.25 kB 16 1,158.42 kB 2,206.67 kB 17 1,123.67 kB 1,452.50 kB 18 1,129.50 kB 1,341.25 kB 19 1,051.50 kB 1,310.67 kB 20 1,942.36 kB 3,278.64 kB 21 1,090.58 kB 4,913.58 kB 22 1,091.33 kB 2,165.42 kB 23 1,461.42 kB 3,185.75 kB Apr 03 00 1,078.67 kB 2,353.92 kB 01 9,360.18 kB 34,939.82 kB 02 1,115.92 kB 32,967.58 kB 03 1,102.75 kB 10,107.83 kB 04 1,115.42 kB 3,657.67 kB 05 1,103.33 kB 1,828.08 kB 06 1,139.58 kB 1,373.58 kB 07 2,344.18 kB 4,367.64 kB 08 1,147.73 kB 6,754.73 kB 09 11,668.64 kB 44,307.45 kB 10 1,271.75 kB 25,762.00 kB 11 1,326.50 kB 8,221.83 kB 12 1,276.42 kB 3,239.33 kB 13 28,492.83 kB 53,518.17 kB 14 1,447.00 kB 159,734.67 kB 15 1,595.00 kB 46,220.58 kB 16 1,399.75 kB 14,091.58 kB 17 1,357.42 kB 4,952.92 kB 18 1,418.17 kB 2,437.58 kB 19 1,318.42 kB 1,675.83 kB 20 1,301.83 kB 1,406.83 kB 21 1,289.17 kB 1,353.42 kB 22 1,220.83 kB 1,275.08 kB 23 1,275.42 kB 1,426.00 kB Apr 04 00 1,177.83 kB 1,326.83 kB 01 9,994.33 kB 42,742.33 kB 02 1,129.42 kB 34,972.67 kB 03 1,160.58 kB 10,698.92 kB 04 1,108.83 kB 3,830.42 kB 05 1,132.75 kB 1,889.08 kB 06 1,155.92 kB 1,520.75 kB 07 2,002.17 kB 5,011.25 kB 08 1,093.58 kB 4,115.08 kB 09 1,016.75 kB 1,919.17 kB 10 1,532.67 kB 3,925.83 kB 11 1,184.25 kB 2,375.42 kB 12 7,521.42 kB 42,801.92 kB 13 1,377.17 kB 14,864.58 kB 14 1,438.75 kB 5,322.42 kB 15 1,264.08 kB 2,417.17 kB 16 1,427.92 kB 1,908.33 kB 17 1,260.25 kB 1,840.67 kB 18 1,294.17 kB 1,438.92 kB 19 1,303.42 kB 1,338.33 kB 20 1,398.92 kB 1,618.58 kB 21 1,315.50 kB 1,452.50 kB 22 1,184.33 kB 1,384.67 kB 23 1,053.75 kB 1,207.42 kB -
Temporary Files
Size of temporary files
Key values
- 1.58 GiB Temp Files size Peak
- 2026-04-04 12:27:00 Date
Number of temporary files
Key values
- 44 per second Temp Files Peak
- 2026-03-31 11:52:30 Date
Temporary Files Activity
↑ Back to the top of the Temporary Files Activity tableDay Hour Count Total size Average size Mar 29 00 0 0 0 01 0 0 0 03 0 0 0 04 0 0 0 05 0 0 0 06 0 0 0 07 0 0 0 08 0 0 0 09 0 0 0 10 0 0 0 11 0 0 0 12 0 0 0 13 0 0 0 14 0 0 0 15 0 0 0 16 0 0 0 17 0 0 0 18 0 0 0 19 0 0 0 20 0 0 0 21 0 0 0 22 0 0 0 23 0 0 0 Mar 30 00 0 0 0 01 0 0 0 02 0 0 0 03 0 0 0 04 0 0 0 05 0 0 0 06 0 0 0 07 0 0 0 08 0 0 0 09 0 0 0 10 0 0 0 11 0 0 0 12 0 0 0 13 0 0 0 14 0 0 0 15 0 0 0 16 0 0 0 17 19 1.63 GiB 87.99 MiB 18 0 0 0 19 0 0 0 20 0 0 0 21 0 0 0 22 0 0 0 23 0 0 0 Mar 31 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 179 896.13 MiB 5.01 MiB 12 0 0 0 13 0 0 0 14 0 0 0 15 0 0 0 16 0 0 0 17 0 0 0 18 0 0 0 19 0 0 0 20 0 0 0 21 0 0 0 22 0 0 0 23 0 0 0 Apr 01 00 0 0 0 01 0 0 0 02 0 0 0 03 0 0 0 04 0 0 0 05 0 0 0 06 0 0 0 07 0 0 0 08 0 0 0 09 0 0 0 10 0 0 0 11 0 0 0 12 0 0 0 13 0 0 0 14 0 0 0 15 0 0 0 16 0 0 0 17 0 0 0 18 0 0 0 19 0 0 0 20 0 0 0 21 0 0 0 22 0 0 0 23 0 0 0 Apr 02 00 0 0 0 01 0 0 0 02 0 0 0 03 0 0 0 04 0 0 0 05 0 0 0 06 0 0 0 07 0 0 0 08 0 0 0 09 0 0 0 10 0 0 0 11 0 0 0 12 0 0 0 13 0 0 0 14 0 0 0 15 0 0 0 16 0 0 0 17 0 0 0 18 0 0 0 19 0 0 0 20 0 0 0 21 0 0 0 22 0 0 0 23 0 0 0 Apr 03 00 0 0 0 01 0 0 0 02 0 0 0 03 0 0 0 04 0 0 0 05 0 0 0 06 0 0 0 07 0 0 0 08 0 0 0 09 0 0 0 10 0 0 0 11 0 0 0 12 0 0 0 13 0 0 0 14 0 0 0 15 0 0 0 16 0 0 0 17 0 0 0 18 0 0 0 19 0 0 0 20 0 0 0 21 0 0 0 22 22 1.35 GiB 62.70 MiB 23 22 1.35 GiB 62.76 MiB Apr 04 00 12 753.41 MiB 62.78 MiB 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 6 377.26 MiB 62.88 MiB 08 0 0 0 09 0 0 0 10 26 1.60 GiB 62.91 MiB 11 24 1.47 GiB 62.89 MiB 12 163 15.64 GiB 98.25 MiB 13 39 2.16 GiB 56.83 MiB 14 28 1.51 GiB 55.35 MiB 15 22 1001.59 MiB 45.53 MiB 16 6 273.07 MiB 45.51 MiB 17 14 637.41 MiB 45.53 MiB 18 24 1.07 GiB 45.53 MiB 19 13 591.78 MiB 45.52 MiB 20 24 1.07 GiB 45.54 MiB 21 19 866.29 MiB 45.59 MiB 22 2 92.09 MiB 46.05 MiB 23 0 0 0 Queries generating the most temporary files (N)
Rank Count Total size Min size Max size Avg size Query 1 80 7.83 GiB 45.54 MiB 436.63 MiB 100.28 MiB with start_snap as ( select distinct on (tenant_key, fingerprint) tenant_key, fingerprint, total_time_ms, calls, rows_returned, collected_at from observability.db_top_queries where tenant_key in (...) and collected_at <= ? order by tenant_key, fingerprint, collected_at desc ), fallback_start as ( select distinct on (tenant_key, fingerprint) tenant_key, fingerprint, total_time_ms, calls, rows_returned, collected_at from observability.db_top_queries where tenant_key in (...) and collected_at between ? and ? order by tenant_key, fingerprint, collected_at asc ), end_snap as ( select distinct on (tenant_key, fingerprint) tenant_key, fingerprint, query, total_time_ms, calls, rows_returned, collected_at from observability.db_top_queries where tenant_key in (...) and collected_at between ? and ? order by tenant_key, fingerprint, collected_at desc ), deltas as ( select e.tenant_key, e.fingerprint, e.query, e.collected_at as last_seen, greatest (coalesce(e.total_time_ms, ?) - coalesce(s.total_time_ms, fs.total_time_ms, ?), ?) as total_time_ms, greatest (coalesce(e.calls, ?) - coalesce(s.calls, fs.calls, ?), ?) as calls, greatest (coalesce(e.rows_returned, ?) - coalesce(s.rows_returned, fs.rows_returned, ?), ?) as rows_returned from end_snap e left join start_snap s on s.tenant_key = e.tenant_key and s.fingerprint = e.fingerprint left join fallback_start fs on fs.tenant_key = e.tenant_key and fs.fingerprint = e.fingerprint and s.tenant_key is null ) select fingerprint, max(query) as query, max(last_seen) as last_seen, sum(total_time_ms) as total_time_ms, sum(calls) as calls, sum(rows_returned) as rows_returned, case when sum(calls) > ? then sum(total_time_ms) / sum(calls) else ? end as mean_time_ms, array_agg(distinct tenant_key order by tenant_key) as tenant_keys from deltas where total_time_ms > ? or calls > ? group by fingerprint order by total_time_ms desc, calls desc limit ? offset ?;-
WITH start_snap AS ( SELECT DISTINCT ON (tenant_key, fingerprint) tenant_key, fingerprint, total_time_ms, calls, rows_returned, collected_at FROM observability.db_top_queries WHERE tenant_key IN ('prod', 'test', 'dev') AND collected_at <= '2026-04-04 11:27:03+02' ORDER BY tenant_key, fingerprint, collected_at DESC ), fallback_start AS ( SELECT DISTINCT ON (tenant_key, fingerprint) tenant_key, fingerprint, total_time_ms, calls, rows_returned, collected_at FROM observability.db_top_queries WHERE tenant_key IN ('prod', 'test', 'dev') AND collected_at BETWEEN '2026-04-04 11:27:03+02' AND '2026-04-04 12:27:03+02' ORDER BY tenant_key, fingerprint, collected_at ASC ), end_snap AS ( SELECT DISTINCT ON (tenant_key, fingerprint) tenant_key, fingerprint, query, total_time_ms, calls, rows_returned, collected_at FROM observability.db_top_queries WHERE tenant_key IN ('prod', 'test', 'dev') AND collected_at BETWEEN '2026-04-04 11:27:03+02' AND '2026-04-04 12:27:03+02' ORDER BY tenant_key, fingerprint, collected_at DESC ), deltas AS ( SELECT e.tenant_key, e.fingerprint, e.query, e.collected_at AS last_seen, GREATEST (COALESCE(e.total_time_ms, 0) - COALESCE(s.total_time_ms, fs.total_time_ms, 0), 0) AS total_time_ms, GREATEST (COALESCE(e.calls, 0) - COALESCE(s.calls, fs.calls, 0), 0) AS calls, GREATEST (COALESCE(e.rows_returned, 0) - COALESCE(s.rows_returned, fs.rows_returned, 0), 0) AS rows_returned FROM end_snap e LEFT JOIN start_snap s ON s.tenant_key = e.tenant_key AND s.fingerprint = e.fingerprint LEFT JOIN fallback_start fs ON fs.tenant_key = e.tenant_key AND fs.fingerprint = e.fingerprint AND s.tenant_key IS NULL ) SELECT fingerprint, MAX(query) AS query, MAX(last_seen) AS last_seen, SUM(total_time_ms) AS total_time_ms, SUM(calls) AS calls, SUM(rows_returned) AS rows_returned, CASE WHEN SUM(calls) > 0 THEN SUM(total_time_ms) / SUM(calls) ELSE 0 END AS mean_time_ms, array_agg(DISTINCT tenant_key ORDER BY tenant_key) AS tenant_keys FROM deltas WHERE total_time_ms > 0 OR calls > 0 GROUP BY fingerprint ORDER BY total_time_ms DESC, calls DESC LIMIT '5' OFFSET '0';
Date: 2026-04-04 12:27:25 Duration: 21s942ms Database: zemm_monitoring User: labanimal Log file: /var/log/postgresql/postgresql-2026-04-04_000000.csv
-
WITH start_snap AS ( SELECT DISTINCT ON (tenant_key, fingerprint) tenant_key, fingerprint, total_time_ms, calls, rows_returned, collected_at FROM observability.db_top_queries WHERE tenant_key IN ('prod', 'test', 'dev') AND collected_at <= '2026-04-04 11:11:04+02' ORDER BY tenant_key, fingerprint, collected_at DESC ), fallback_start AS ( SELECT DISTINCT ON (tenant_key, fingerprint) tenant_key, fingerprint, total_time_ms, calls, rows_returned, collected_at FROM observability.db_top_queries WHERE tenant_key IN ('prod', 'test', 'dev') AND collected_at BETWEEN '2026-04-04 11:11:04+02' AND '2026-04-04 12:11:04+02' ORDER BY tenant_key, fingerprint, collected_at ASC ), end_snap AS ( SELECT DISTINCT ON (tenant_key, fingerprint) tenant_key, fingerprint, query, total_time_ms, calls, rows_returned, collected_at FROM observability.db_top_queries WHERE tenant_key IN ('prod', 'test', 'dev') AND collected_at BETWEEN '2026-04-04 11:11:04+02' AND '2026-04-04 12:11:04+02' ORDER BY tenant_key, fingerprint, collected_at DESC ), deltas AS ( SELECT e.tenant_key, e.fingerprint, e.query, e.collected_at AS last_seen, GREATEST (COALESCE(e.total_time_ms, 0) - COALESCE(s.total_time_ms, fs.total_time_ms, 0), 0) AS total_time_ms, GREATEST (COALESCE(e.calls, 0) - COALESCE(s.calls, fs.calls, 0), 0) AS calls, GREATEST (COALESCE(e.rows_returned, 0) - COALESCE(s.rows_returned, fs.rows_returned, 0), 0) AS rows_returned FROM end_snap e LEFT JOIN start_snap s ON s.tenant_key = e.tenant_key AND s.fingerprint = e.fingerprint LEFT JOIN fallback_start fs ON fs.tenant_key = e.tenant_key AND fs.fingerprint = e.fingerprint AND s.tenant_key IS NULL ) SELECT fingerprint, MAX(query) AS query, MAX(last_seen) AS last_seen, SUM(total_time_ms) AS total_time_ms, SUM(calls) AS calls, SUM(rows_returned) AS rows_returned, CASE WHEN SUM(calls) > 0 THEN SUM(total_time_ms) / SUM(calls) ELSE 0 END AS mean_time_ms, array_agg(DISTINCT tenant_key ORDER BY tenant_key) AS tenant_keys FROM deltas WHERE total_time_ms > 0 OR calls > 0 GROUP BY fingerprint ORDER BY total_time_ms DESC, calls DESC LIMIT '5' OFFSET '0';
Date: 2026-04-04 12:11:23 Duration: 19s619ms Database: zemm_monitoring User: labanimal Log file: /var/log/postgresql/postgresql-2026-04-04_000000.csv
-
WITH start_snap AS ( SELECT DISTINCT ON (tenant_key, fingerprint) tenant_key, fingerprint, total_time_ms, calls, rows_returned, collected_at FROM observability.db_top_queries WHERE tenant_key IN ('prod', 'test', 'dev') AND collected_at <= '2026-03-28 12:26:44+01' ORDER BY tenant_key, fingerprint, collected_at DESC ), fallback_start AS ( SELECT DISTINCT ON (tenant_key, fingerprint) tenant_key, fingerprint, total_time_ms, calls, rows_returned, collected_at FROM observability.db_top_queries WHERE tenant_key IN ('prod', 'test', 'dev') AND collected_at BETWEEN '2026-03-28 12:26:44+01' AND '2026-04-04 12:26:44+02' ORDER BY tenant_key, fingerprint, collected_at ASC ), end_snap AS ( SELECT DISTINCT ON (tenant_key, fingerprint) tenant_key, fingerprint, query, total_time_ms, calls, rows_returned, collected_at FROM observability.db_top_queries WHERE tenant_key IN ('prod', 'test', 'dev') AND collected_at BETWEEN '2026-03-28 12:26:44+01' AND '2026-04-04 12:26:44+02' ORDER BY tenant_key, fingerprint, collected_at DESC ), deltas AS ( SELECT e.tenant_key, e.fingerprint, e.query, e.collected_at AS last_seen, GREATEST (COALESCE(e.total_time_ms, 0) - COALESCE(s.total_time_ms, fs.total_time_ms, 0), 0) AS total_time_ms, GREATEST (COALESCE(e.calls, 0) - COALESCE(s.calls, fs.calls, 0), 0) AS calls, GREATEST (COALESCE(e.rows_returned, 0) - COALESCE(s.rows_returned, fs.rows_returned, 0), 0) AS rows_returned FROM end_snap e LEFT JOIN start_snap s ON s.tenant_key = e.tenant_key AND s.fingerprint = e.fingerprint LEFT JOIN fallback_start fs ON fs.tenant_key = e.tenant_key AND fs.fingerprint = e.fingerprint AND s.tenant_key IS NULL ) SELECT fingerprint, MAX(query) AS query, MAX(last_seen) AS last_seen, SUM(total_time_ms) AS total_time_ms, SUM(calls) AS calls, SUM(rows_returned) AS rows_returned, CASE WHEN SUM(calls) > 0 THEN SUM(total_time_ms) / SUM(calls) ELSE 0 END AS mean_time_ms, array_agg(DISTINCT tenant_key ORDER BY tenant_key) AS tenant_keys FROM deltas WHERE total_time_ms > 0 OR calls > 0 GROUP BY fingerprint ORDER BY total_time_ms DESC, calls DESC LIMIT '5' OFFSET '0';
Date: 2026-04-04 12:27:00 Duration: 16s158ms Database: zemm_monitoring User: labanimal Log file: /var/log/postgresql/postgresql-2026-04-04_000000.csv
2 10 941.47 MiB 71.02 MiB 130.08 MiB 94.15 MiB with ranked as ( select tenant_key, fingerprint, query, total_time_ms, calls, rows_returned, collected_at, row_number() over (partition by tenant_key, fingerprint order by collected_at asc) as rn_first, row_number() over (partition by tenant_key, fingerprint order by collected_at desc) as rn_last from observability.db_top_queries where tenant_key in (...) and collected_at between ? and ? ), snapshots as ( select tenant_key, fingerprint, max(query) filter (where rn_last = ?) as query, max(collected_at) filter (where rn_last = ?) as last_seen, max(total_time_ms) filter (where rn_first = ?) as first_total_time_ms, max(total_time_ms) filter (where rn_last = ?) as last_total_time_ms, max(calls) filter (where rn_first = ?) as first_calls, max(calls) filter (where rn_last = ?) as last_calls, max(rows_returned) filter (where rn_first = ?) as first_rows_returned, max(rows_returned) filter (where rn_last = ?) as last_rows_returned from ranked group by tenant_key, fingerprint ), deltas as ( select tenant_key, fingerprint, query, last_seen, greatest (coalesce(last_total_time_ms, ?) - coalesce(first_total_time_ms, ?), ?) as total_time_ms, greatest (coalesce(last_calls, ?) - coalesce(first_calls, ?), ?) as calls, greatest (coalesce(last_rows_returned, ?) - coalesce(first_rows_returned, ?), ?) as rows_returned from snapshots ) select fingerprint, max(query) as query, max(last_seen) as last_seen, sum(total_time_ms) as total_time_ms, sum(calls) as calls, sum(rows_returned) as rows_returned, case when sum(calls) > ? then sum(total_time_ms) / sum(calls) else ? end as mean_time_ms, array_agg(distinct tenant_key order by tenant_key) as tenant_keys from deltas where total_time_ms > ? or calls > ? group by fingerprint order by total_time_ms desc, calls desc limit ? offset ?;-
WITH ranked AS ( SELECT tenant_key, fingerprint, query, total_time_ms, calls, rows_returned, collected_at, ROW_NUMBER() OVER (PARTITION BY tenant_key, fingerprint ORDER BY collected_at ASC) AS rn_first, ROW_NUMBER() OVER (PARTITION BY tenant_key, fingerprint ORDER BY collected_at DESC) AS rn_last FROM observability.db_top_queries WHERE tenant_key IN ('test') AND collected_at BETWEEN '2026-03-23 17:27:01+01' AND '2026-03-30 17:27:01+02' ), snapshots AS ( SELECT tenant_key, fingerprint, MAX(query) FILTER (WHERE rn_last = 1) AS query, MAX(collected_at) FILTER (WHERE rn_last = 1) AS last_seen, MAX(total_time_ms) FILTER (WHERE rn_first = 1) AS first_total_time_ms, MAX(total_time_ms) FILTER (WHERE rn_last = 1) AS last_total_time_ms, MAX(calls) FILTER (WHERE rn_first = 1) AS first_calls, MAX(calls) FILTER (WHERE rn_last = 1) AS last_calls, MAX(rows_returned) FILTER (WHERE rn_first = 1) AS first_rows_returned, MAX(rows_returned) FILTER (WHERE rn_last = 1) AS last_rows_returned FROM ranked GROUP BY tenant_key, fingerprint ), deltas AS ( SELECT tenant_key, fingerprint, query, last_seen, GREATEST (COALESCE(last_total_time_ms, 0) - COALESCE(first_total_time_ms, 0), 0) AS total_time_ms, GREATEST (COALESCE(last_calls, 0) - COALESCE(first_calls, 0), 0) AS calls, GREATEST (COALESCE(last_rows_returned, 0) - COALESCE(first_rows_returned, 0), 0) AS rows_returned FROM snapshots ) SELECT fingerprint, MAX(query) AS query, MAX(last_seen) AS last_seen, SUM(total_time_ms) AS total_time_ms, SUM(calls) AS calls, SUM(rows_returned) AS rows_returned, CASE WHEN SUM(calls) > 0 THEN SUM(total_time_ms) / SUM(calls) ELSE 0 END AS mean_time_ms, array_agg(DISTINCT tenant_key ORDER BY tenant_key) AS tenant_keys FROM deltas WHERE total_time_ms > 0 OR calls > 0 GROUP BY fingerprint ORDER BY total_time_ms DESC, calls DESC LIMIT '20' OFFSET '0';
Date: 2026-03-30 17:27:03 Duration: 2s108ms Database: zemm_monitoring User: labanimal Log file: /var/log/postgresql/postgresql-2026-03-30_010000.csv
-
WITH ranked AS ( SELECT tenant_key, fingerprint, query, total_time_ms, calls, rows_returned, collected_at, ROW_NUMBER() OVER (PARTITION BY tenant_key, fingerprint ORDER BY collected_at ASC) AS rn_first, ROW_NUMBER() OVER (PARTITION BY tenant_key, fingerprint ORDER BY collected_at DESC) AS rn_last FROM observability.db_top_queries WHERE tenant_key IN ('prod') AND collected_at BETWEEN '2026-03-23 17:25:41+01' AND '2026-03-30 17:25:41+02' ), snapshots AS ( SELECT tenant_key, fingerprint, MAX(query) FILTER (WHERE rn_last = 1) AS query, MAX(collected_at) FILTER (WHERE rn_last = 1) AS last_seen, MAX(total_time_ms) FILTER (WHERE rn_first = 1) AS first_total_time_ms, MAX(total_time_ms) FILTER (WHERE rn_last = 1) AS last_total_time_ms, MAX(calls) FILTER (WHERE rn_first = 1) AS first_calls, MAX(calls) FILTER (WHERE rn_last = 1) AS last_calls, MAX(rows_returned) FILTER (WHERE rn_first = 1) AS first_rows_returned, MAX(rows_returned) FILTER (WHERE rn_last = 1) AS last_rows_returned FROM ranked GROUP BY tenant_key, fingerprint ), deltas AS ( SELECT tenant_key, fingerprint, query, last_seen, GREATEST (COALESCE(last_total_time_ms, 0) - COALESCE(first_total_time_ms, 0), 0) AS total_time_ms, GREATEST (COALESCE(last_calls, 0) - COALESCE(first_calls, 0), 0) AS calls, GREATEST (COALESCE(last_rows_returned, 0) - COALESCE(first_rows_returned, 0), 0) AS rows_returned FROM snapshots ) SELECT fingerprint, MAX(query) AS query, MAX(last_seen) AS last_seen, SUM(total_time_ms) AS total_time_ms, SUM(calls) AS calls, SUM(rows_returned) AS rows_returned, CASE WHEN SUM(calls) > 0 THEN SUM(total_time_ms) / SUM(calls) ELSE 0 END AS mean_time_ms, array_agg(DISTINCT tenant_key ORDER BY tenant_key) AS tenant_keys FROM deltas WHERE total_time_ms > 0 OR calls > 0 GROUP BY fingerprint ORDER BY total_time_ms DESC, calls DESC LIMIT '20' OFFSET '0';
Date: 2026-03-30 17:25:43 Duration: 2s102ms Database: zemm_monitoring User: labanimal Log file: /var/log/postgresql/postgresql-2026-03-30_010000.csv
-
WITH ranked AS ( SELECT tenant_key, fingerprint, query, total_time_ms, calls, rows_returned, collected_at, ROW_NUMBER() OVER (PARTITION BY tenant_key, fingerprint ORDER BY collected_at ASC) AS rn_first, ROW_NUMBER() OVER (PARTITION BY tenant_key, fingerprint ORDER BY collected_at DESC) AS rn_last FROM observability.db_top_queries WHERE tenant_key IN ('prod') AND collected_at BETWEEN '2026-03-23 17:28:21+01' AND '2026-03-30 17:28:21+02' ), snapshots AS ( SELECT tenant_key, fingerprint, MAX(query) FILTER (WHERE rn_last = 1) AS query, MAX(collected_at) FILTER (WHERE rn_last = 1) AS last_seen, MAX(total_time_ms) FILTER (WHERE rn_first = 1) AS first_total_time_ms, MAX(total_time_ms) FILTER (WHERE rn_last = 1) AS last_total_time_ms, MAX(calls) FILTER (WHERE rn_first = 1) AS first_calls, MAX(calls) FILTER (WHERE rn_last = 1) AS last_calls, MAX(rows_returned) FILTER (WHERE rn_first = 1) AS first_rows_returned, MAX(rows_returned) FILTER (WHERE rn_last = 1) AS last_rows_returned FROM ranked GROUP BY tenant_key, fingerprint ), deltas AS ( SELECT tenant_key, fingerprint, query, last_seen, GREATEST (COALESCE(last_total_time_ms, 0) - COALESCE(first_total_time_ms, 0), 0) AS total_time_ms, GREATEST (COALESCE(last_calls, 0) - COALESCE(first_calls, 0), 0) AS calls, GREATEST (COALESCE(last_rows_returned, 0) - COALESCE(first_rows_returned, 0), 0) AS rows_returned FROM snapshots ) SELECT fingerprint, MAX(query) AS query, MAX(last_seen) AS last_seen, SUM(total_time_ms) AS total_time_ms, SUM(calls) AS calls, SUM(rows_returned) AS rows_returned, CASE WHEN SUM(calls) > 0 THEN SUM(total_time_ms) / SUM(calls) ELSE 0 END AS mean_time_ms, array_agg(DISTINCT tenant_key ORDER BY tenant_key) AS tenant_keys FROM deltas WHERE total_time_ms > 0 OR calls > 0 GROUP BY fingerprint ORDER BY total_time_ms DESC, calls DESC LIMIT '20' OFFSET '0';
Date: 2026-03-30 17:28:23 Duration: 1s608ms Database: zemm_monitoring User: labanimal Log file: /var/log/postgresql/postgresql-2026-03-30_010000.csv
3 10 42.53 MiB 8.00 KiB 10.10 MiB 4.25 MiB alter table only public.diary add constraint diary_pkey primary key (id);-
ALTER TABLE ONLY public.diary ADD CONSTRAINT diary_pkey PRIMARY KEY (id);
Date: 2026-03-31 11:52:30 Duration: 555ms Database: zemm_produktiv_7 User: labanimal Application: pg_restore Log file: /var/log/postgresql/postgresql-2026-03-31_000000.csv
4 10 126.63 MiB 8.00 KiB 29.31 MiB 12.66 MiB alter table only public."targetgroupMembers" add constraint "targetgroupMembers_pkey" primary key (id);-
ALTER TABLE ONLY public."targetgroupMembers" ADD CONSTRAINT "targetgroupMembers_pkey" PRIMARY KEY (id);
Date: 2026-03-31 11:52:31 Duration: 555ms Database: zemm_produktiv_7 User: labanimal Application: pg_restore Log file: /var/log/postgresql/postgresql-2026-03-31_000000.csv
5 8 11.64 MiB 8.00 KiB 4.29 MiB 1.46 MiB alter table only public.animals add constraint animals_pkey primary key (id);-
ALTER TABLE ONLY public.animals ADD CONSTRAINT animals_pkey PRIMARY KEY (id);
Date: 2026-03-31 11:52:29 Duration: 555ms Database: zemm_produktiv_7 User: labanimal Application: pg_restore Log file: /var/log/postgresql/postgresql-2026-03-31_000000.csv
6 8 11.63 MiB 8.00 KiB 4.01 MiB 1.45 MiB alter table only public.animals_search_mview add constraint animals_search_mview_pkey primary key (id);-
ALTER TABLE ONLY public.animals_search_mview ADD CONSTRAINT animals_search_mview_pkey PRIMARY KEY (id);
Date: 2026-03-31 11:52:29 Duration: 555ms Database: zemm_produktiv_7 User: labanimal Application: pg_restore Log file: /var/log/postgresql/postgresql-2026-03-31_000000.csv
7 8 13.91 MiB 8.00 KiB 5.81 MiB 1.74 MiB alter table only public.cost_history add constraint cost_history_pkey primary key (id);-
ALTER TABLE ONLY public.cost_history ADD CONSTRAINT cost_history_pkey PRIMARY KEY (id);
Date: 2026-03-31 11:52:30 Duration: 555ms Database: zemm_produktiv_7 User: labanimal Application: pg_restore Log file: /var/log/postgresql/postgresql-2026-03-31_000000.csv
8 8 43.95 MiB 8.00 KiB 13.02 MiB 5.49 MiB alter table only public.targetgroups add constraint targetgroups_pkey primary key (id);-
ALTER TABLE ONLY public.targetgroups ADD CONSTRAINT targetgroups_pkey PRIMARY KEY (id);
Date: 2026-03-31 11:52:32 Duration: 1s144ms Database: zemm_produktiv_7 User: labanimal Application: pg_restore Log file: /var/log/postgresql/postgresql-2026-03-31_000000.csv
9 6 9.36 MiB 8.00 KiB 9.20 MiB 1.56 MiB alter table only public.tasks_changes add constraint tasks_changes_index01 primary key (id, task);-
ALTER TABLE ONLY public.tasks_changes ADD CONSTRAINT tasks_changes_index01 PRIMARY KEY (id, task);
Date: 2026-03-31 11:52:32 Duration: 1s144ms Database: zemm_produktiv_7 User: labanimal Application: pg_restore Log file: /var/log/postgresql/postgresql-2026-03-31_000000.csv
10 6 1.12 MiB 8.00 KiB 1.08 MiB 190.67 KiB alter table only public.tasks add constraint tasks_pkey primary key (id);-
ALTER TABLE ONLY public.tasks ADD CONSTRAINT tasks_pkey PRIMARY KEY (id);
Date: 2026-03-31 11:52:32 Duration: 1s144ms Database: zemm_produktiv_7 User: labanimal Application: pg_restore Log file: /var/log/postgresql/postgresql-2026-03-31_000000.csv
11 6 3.82 MiB 8.00 KiB 2.55 MiB 652.00 KiB create unique index idxsessionid on public.login_tracker using btree (sessionid);-
CREATE UNIQUE INDEX idxsessionid ON public.login_tracker USING btree (sessionid);
Date: 2026-03-31 11:52:35 Duration: 932ms Database: zemm_produktiv_7 User: labanimal Application: pg_restore Log file: /var/log/postgresql/postgresql-2026-03-31_000000.csv
12 6 1.75 MiB 8.00 KiB 1.71 MiB 298.67 KiB alter table only public.login_tracker add constraint login_tracker_pkey primary key (id);-
ALTER TABLE ONLY public.login_tracker ADD CONSTRAINT login_tracker_pkey PRIMARY KEY (id);
Date: 2026-03-31 11:52:30 Duration: 555ms Database: zemm_produktiv_7 User: labanimal Application: pg_restore Log file: /var/log/postgresql/postgresql-2026-03-31_000000.csv
13 5 126.59 MiB 24.21 MiB 26.09 MiB 25.32 MiB create index "targetgroupMembers_user_idx" on public."targetgroupMembers" using btree ("user");-
CREATE INDEX "targetgroupMembers_user_idx" ON public."targetgroupMembers" USING btree ("user");
Date: 2026-03-31 11:52:38 Duration: 1s332ms Database: zemm_produktiv_7 User: labanimal Application: pg_restore Log file: /var/log/postgresql/postgresql-2026-03-31_000000.csv
14 5 126.59 MiB 23.91 MiB 25.95 MiB 25.32 MiB create index "targetgroupMembers_FKIndex2" on public."targetgroupMembers" using btree ("group");-
CREATE INDEX "targetgroupMembers_FKIndex2" ON public."targetgroupMembers" USING btree ("group");
Date: 2026-03-31 11:52:36 Duration: 1s244ms Database: zemm_produktiv_7 User: labanimal Application: pg_restore Log file: /var/log/postgresql/postgresql-2026-03-31_000000.csv
15 5 126.59 MiB 24.34 MiB 26.46 MiB 25.32 MiB create index "targetgroupMembers_FKIndex1" on public."targetgroupMembers" using btree (targetgroup);-
CREATE INDEX "targetgroupMembers_FKIndex1" ON public."targetgroupMembers" USING btree (targetgroup);
Date: 2026-03-31 11:52:35 Duration: 932ms Database: zemm_produktiv_7 User: labanimal Application: pg_restore Log file: /var/log/postgresql/postgresql-2026-03-31_000000.csv
16 5 42.51 MiB 8.04 MiB 10.05 MiB 8.50 MiB create index diary_animalid_idx on public.diary using btree ("animalID");-
CREATE INDEX diary_animalid_idx ON public.diary USING btree ("animalID");
Date: 2026-03-31 11:52:34 Duration: 932ms Database: zemm_produktiv_7 User: labanimal Application: pg_restore Log file: /var/log/postgresql/postgresql-2026-03-31_000000.csv
17 4 3.49 MiB 8.00 KiB 2.53 MiB 894.00 KiB alter table only public.litter_history add constraint litter_history_pkey primary key (id);-
ALTER TABLE ONLY public.litter_history ADD CONSTRAINT litter_history_pkey PRIMARY KEY (id);
Date: 2026-03-31 11:52:30 Duration: 555ms Database: zemm_produktiv_7 User: labanimal Application: pg_restore Log file: /var/log/postgresql/postgresql-2026-03-31_000000.csv
18 4 78.62 MiB 18.91 MiB 21.33 MiB 19.65 MiB create index titleindex on public.targetgroups using btree (title);-
CREATE INDEX titleindex ON public.targetgroups USING btree (title);
Date: 2026-03-31 11:52:39 Duration: 1s185ms Database: zemm_produktiv_7 User: labanimal Application: pg_restore Log file: /var/log/postgresql/postgresql-2026-03-31_000000.csv
19 4 1.82 MiB 8.00 KiB 1.80 MiB 466.00 KiB alter table only public.litters_search_mview add constraint litters_search_mview_pkey primary key (id);-
ALTER TABLE ONLY public.litters_search_mview ADD CONSTRAINT litters_search_mview_pkey PRIMARY KEY (id);
Date: 2026-03-31 11:52:30 Duration: 555ms Database: zemm_produktiv_7 User: labanimal Application: pg_restore Log file: /var/log/postgresql/postgresql-2026-03-31_000000.csv
20 4 3.81 MiB 8.00 KiB 3.38 MiB 976.00 KiB alter table only public.monitoring_session_activity add constraint monitoring_session_activity_pkey primary key (session_id);-
ALTER TABLE ONLY public.monitoring_session_activity ADD CONSTRAINT monitoring_session_activity_pkey PRIMARY KEY (session_id);
Date: 2026-03-31 11:52:31 Duration: 555ms Database: zemm_produktiv_7 User: labanimal Application: pg_restore Log file: /var/log/postgresql/postgresql-2026-03-31_000000.csv
21 4 11.59 MiB 2.62 MiB 3.71 MiB 2.90 MiB create index animals_curcage_active_idx on public.animals using btree ("curCage") where (not deleted);-
CREATE INDEX animals_curcage_active_idx ON public.animals USING btree ("curCage") WHERE (NOT deleted);
Date: 2026-03-31 11:52:34 Duration: 932ms Database: zemm_produktiv_7 User: labanimal Application: pg_restore Log file: /var/log/postgresql/postgresql-2026-03-31_000000.csv
22 4 25.50 MiB 5.89 MiB 7.52 MiB 6.38 MiB create index animals_mview_idx on public.animals_search_mview using btree (id nulls first, owner nulls first, editor nulls first, tourist nulls first);-
CREATE INDEX animals_mview_idx ON public.animals_search_mview USING btree (id NULLS FIRST, owner NULLS FIRST, editor NULLS FIRST, tourist NULLS FIRST);
Date: 2026-03-31 11:52:34 Duration: 932ms Database: zemm_produktiv_7 User: labanimal Application: pg_restore Log file: /var/log/postgresql/postgresql-2026-03-31_000000.csv
23 4 13.88 MiB 2.88 MiB 4.89 MiB 3.47 MiB create index cost_history_animal_idx on public.cost_history using btree (animal);-
CREATE INDEX cost_history_animal_idx ON public.cost_history USING btree (animal);
Date: 2026-03-31 11:52:34 Duration: 932ms Database: zemm_produktiv_7 User: labanimal Application: pg_restore Log file: /var/log/postgresql/postgresql-2026-03-31_000000.csv
24 4 16.23 MiB 3.65 MiB 5.06 MiB 4.06 MiB create index animals_animalid_idx on public.animals using btree ("animalID");-
CREATE INDEX animals_animalid_idx ON public.animals USING btree ("animalID");
Date: 2026-03-31 11:52:33 Duration: 1s144ms Database: zemm_produktiv_7 User: labanimal Application: pg_restore Log file: /var/log/postgresql/postgresql-2026-03-31_000000.csv
25 4 2.34 MiB 8.00 KiB 1.91 MiB 598.00 KiB alter table only public.fem_numbers add constraint pkey primary key (id);-
ALTER TABLE ONLY public.fem_numbers ADD CONSTRAINT pkey PRIMARY KEY (id);
Date: 2026-03-31 11:52:31 Duration: 555ms Database: zemm_produktiv_7 User: labanimal Application: pg_restore Log file: /var/log/postgresql/postgresql-2026-03-31_000000.csv
26 4 11.60 MiB 2.38 MiB 4.17 MiB 2.90 MiB create index "animals_FKIndex2" on public.animals using btree ("homeCage");-
CREATE INDEX "animals_FKIndex2" ON public.animals USING btree ("homeCage");
Date: 2026-03-31 11:52:33 Duration: 1s144ms Database: zemm_produktiv_7 User: labanimal Application: pg_restore Log file: /var/log/postgresql/postgresql-2026-03-31_000000.csv
27 4 1.81 MiB 8.00 KiB 1.60 MiB 464.00 KiB alter table only public.litters add constraint litters_pkey primary key (id);-
ALTER TABLE ONLY public.litters ADD CONSTRAINT litters_pkey PRIMARY KEY (id);
Date: 2026-03-31 11:52:30 Duration: 555ms Database: zemm_produktiv_7 User: labanimal Application: pg_restore Log file: /var/log/postgresql/postgresql-2026-03-31_000000.csv
28 4 3.26 MiB 8.00 KiB 2.34 MiB 834.00 KiB alter table only public.fem_numbers add constraint main_ukey unique (year, th, num);-
ALTER TABLE ONLY public.fem_numbers ADD CONSTRAINT main_ukey UNIQUE (year, th, num);
Date: 2026-03-31 11:52:30 Duration: 555ms Database: zemm_produktiv_7 User: labanimal Application: pg_restore Log file: /var/log/postgresql/postgresql-2026-03-31_000000.csv
29 4 11.61 MiB 2.45 MiB 4.13 MiB 2.90 MiB create index "animals_FKIndex11" on public.animals using btree (species);-
CREATE INDEX "animals_FKIndex11" ON public.animals USING btree (species);
Date: 2026-03-31 11:52:33 Duration: 1s144ms Database: zemm_produktiv_7 User: labanimal Application: pg_restore Log file: /var/log/postgresql/postgresql-2026-03-31_000000.csv
30 3 1.73 MiB 184.00 KiB 1.31 MiB 589.33 KiB create index login_tracker_user_idx on public.login_tracker using btree ("user");-
CREATE INDEX login_tracker_user_idx ON public.login_tracker USING btree ("user");
Date: 2026-03-31 11:52:35 Duration: 932ms Database: zemm_produktiv_7 User: labanimal Application: pg_restore Log file: /var/log/postgresql/postgresql-2026-03-31_000000.csv
31 3 1.10 MiB 128.00 KiB 840.00 KiB 376.00 KiB create index tasks_owner_index on public.tasks using btree (owner);-
CREATE INDEX tasks_owner_index ON public.tasks USING btree (owner);
Date: 2026-03-31 11:52:39 Duration: 1s185ms Database: zemm_produktiv_7 User: labanimal Application: pg_restore Log file: /var/log/postgresql/postgresql-2026-03-31_000000.csv
32 3 3.06 MiB 544.00 KiB 1.95 MiB 1.02 MiB create index login_tracker_loginname_timestamp_idx on public.login_tracker using btree (loginname, "timestamp" desc);-
CREATE INDEX login_tracker_loginname_timestamp_idx ON public.login_tracker USING btree (loginname, "timestamp" DESC);
Date: 2026-03-31 11:52:35 Duration: 932ms Database: zemm_produktiv_7 User: labanimal Application: pg_restore Log file: /var/log/postgresql/postgresql-2026-03-31_000000.csv
33 3 1.09 MiB 48.00 KiB 992.00 KiB 373.33 KiB create index tasks_done_idx on public.tasks using btree (done);-
CREATE INDEX tasks_done_idx ON public.tasks USING btree (done);
Date: 2026-03-31 11:52:39 Duration: 1s185ms Database: zemm_produktiv_7 User: labanimal Application: pg_restore Log file: /var/log/postgresql/postgresql-2026-03-31_000000.csv
34 3 1.09 MiB 136.00 KiB 816.00 KiB 373.33 KiB create index tasks_task_status_idx on public.tasks using btree (task_status);-
CREATE INDEX tasks_task_status_idx ON public.tasks USING btree (task_status);
Date: 2026-03-31 11:52:39 Duration: 1s185ms Database: zemm_produktiv_7 User: labanimal Application: pg_restore Log file: /var/log/postgresql/postgresql-2026-03-31_000000.csv
35 3 6.67 MiB 1.85 MiB 2.95 MiB 2.22 MiB create index tasks_changes_deleted_idx on public.tasks_changes using btree (deleted);-
CREATE INDEX tasks_changes_deleted_idx ON public.tasks_changes USING btree (deleted);
Date: 2026-03-31 11:52:39 Duration: 1s185ms Database: zemm_produktiv_7 User: labanimal Application: pg_restore Log file: /var/log/postgresql/postgresql-2026-03-31_000000.csv
36 3 1.09 MiB 152.00 KiB 808.00 KiB 373.33 KiB create index tasks_active_index on public.tasks using btree (active);-
CREATE INDEX tasks_active_index ON public.tasks USING btree (active);
Date: 2026-03-31 11:52:39 Duration: 1s185ms Database: zemm_produktiv_7 User: labanimal Application: pg_restore Log file: /var/log/postgresql/postgresql-2026-03-31_000000.csv
37 3 1.09 MiB 120.00 KiB 832.00 KiB 373.33 KiB create index tasks_editor_idx on public.tasks using btree (editor);-
CREATE INDEX tasks_editor_idx ON public.tasks USING btree (editor);
Date: 2026-03-31 11:52:39 Duration: 1s185ms Database: zemm_produktiv_7 User: labanimal Application: pg_restore Log file: /var/log/postgresql/postgresql-2026-03-31_000000.csv
38 3 1.52 MiB 96.00 KiB 1.33 MiB 520.00 KiB create index tasks_id_parent_idx on public.tasks using btree (id, parent);-
CREATE INDEX tasks_id_parent_idx ON public.tasks USING btree (id, parent);
Date: 2026-03-31 11:52:39 Duration: 1s185ms Database: zemm_produktiv_7 User: labanimal Application: pg_restore Log file: /var/log/postgresql/postgresql-2026-03-31_000000.csv
39 2 120.94 MiB 60.37 MiB 60.57 MiB 60.47 MiB with normalised as ( select id, tenant_key, event_type, severity, message, payload, occurred_at, regexp_replace(regexp_replace(message, ?, ?, ?), ?, ?, ?) as fingerprint from observability.app_events where tenant_key in (...) and occurred_at between ? and ? and severity in (...) and not (event_type = ? and (lower(coalesce(message, ?)) = ? or (lower(coalesce(payload ->> ?, ?)) = ? and lower(coalesce(payload ->> ?, ?)) = ?)))) select fingerprint, count(*) as occurrence_count, count(distinct coalesce(payload ->> ?, payload ->> ?, ?)) as affected_users, max(severity) as max_severity, min(occurred_at) as first_seen, max(occurred_at) as last_seen, (array_agg(message order by occurred_at desc))[?] as sample_message, (array_agg(distinct event_type))[?] as event_type, (array_agg(payload ->> ? order by occurred_at desc))[?] as source_file, (array_agg(payload ->> ? order by occurred_at desc))[?] as source_line, (array_agg(payload ->> ? order by occurred_at desc))[?] as sample_request, (array_agg(id order by occurred_at desc))[?] as latest_event_id from normalised group by fingerprint order by occurrence_count desc, last_seen desc limit ?;-
WITH normalised AS ( SELECT id, tenant_key, event_type, severity, message, payload, occurred_at, regexp_replace(regexp_replace(message, '\d+', '#', 'g'), '/[^ :]+/', '.../', 'g') AS fingerprint FROM observability.app_events WHERE tenant_key IN ('prod', 'test') AND occurred_at BETWEEN '2026-03-28 12:27:37+01' AND '2026-04-04 12:27:37+02' AND severity IN ('error', 'warning') AND NOT (event_type = 'db_error' AND (lower(COALESCE(message, '')) = 'lock wait: client / clientread' OR ( lower(COALESCE(payload->>'wait_event_type', '')) = 'client' AND lower(COALESCE(payload ->> 'wait_event', '')) = 'clientread')))) SELECT fingerprint, COUNT(*) AS occurrence_count, COUNT(DISTINCT COALESCE(payload ->> 'user', payload ->> 'username', 'unbekannt')) AS affected_users, MAX(severity) AS max_severity, MIN(occurred_at) AS first_seen, MAX(occurred_at) AS last_seen, (array_agg(message ORDER BY occurred_at DESC))[1] AS sample_message, (array_agg(DISTINCT event_type))[1] AS event_type, (array_agg(payload ->> 'file' ORDER BY occurred_at DESC))[1] AS source_file, (array_agg(payload ->> 'line' ORDER BY occurred_at DESC))[1] AS source_line, (array_agg(payload ->> 'request' ORDER BY occurred_at DESC))[1] AS sample_request, (array_agg(id ORDER BY occurred_at DESC))[1] AS latest_event_id FROM normalised GROUP BY fingerprint ORDER BY occurrence_count DESC, last_seen DESC LIMIT '30';
Date: 2026-04-04 12:27:39 Duration: 2s127ms Database: zemm_monitoring User: labanimal Log file: /var/log/postgresql/postgresql-2026-04-04_000000.csv
-
WITH normalised AS ( SELECT id, tenant_key, event_type, severity, message, payload, occurred_at, regexp_replace(regexp_replace(message, '\d+', '#', 'g'), '/[^ :]+/', '.../', 'g') AS fingerprint FROM observability.app_events WHERE tenant_key IN ('prod') AND occurred_at BETWEEN '2026-03-28 12:27:35+01' AND '2026-04-04 12:27:35+02' AND severity IN ('error', 'warning') AND NOT (event_type = 'db_error' AND (lower(COALESCE(message, '')) = 'lock wait: client / clientread' OR ( lower(COALESCE(payload->>'wait_event_type', '')) = 'client' AND lower(COALESCE(payload ->> 'wait_event', '')) = 'clientread')))) SELECT fingerprint, COUNT(*) AS occurrence_count, COUNT(DISTINCT COALESCE(payload ->> 'user', payload ->> 'username', 'unbekannt')) AS affected_users, MAX(severity) AS max_severity, MIN(occurred_at) AS first_seen, MAX(occurred_at) AS last_seen, (array_agg(message ORDER BY occurred_at DESC))[1] AS sample_message, (array_agg(DISTINCT event_type))[1] AS event_type, (array_agg(payload ->> 'file' ORDER BY occurred_at DESC))[1] AS source_file, (array_agg(payload ->> 'line' ORDER BY occurred_at DESC))[1] AS source_line, (array_agg(payload ->> 'request' ORDER BY occurred_at DESC))[1] AS sample_request, (array_agg(id ORDER BY occurred_at DESC))[1] AS latest_event_id FROM normalised GROUP BY fingerprint ORDER BY occurrence_count DESC, last_seen DESC LIMIT '30';
Date: 2026-04-04 12:27:37 Duration: 2s37ms Database: zemm_monitoring User: labanimal Log file: /var/log/postgresql/postgresql-2026-04-04_000000.csv
-
WITH normalised AS ( SELECT id, tenant_key, event_type, severity, message, payload, occurred_at, regexp_replace(regexp_replace(message, '\d+', '#', 'g'), '/[^ :]+/', '.../', 'g') AS fingerprint FROM observability.app_events WHERE tenant_key IN ('prod') AND occurred_at BETWEEN '2026-03-28 12:26:41+01' AND '2026-04-04 12:26:41+02' AND severity IN ('error', 'warning') AND NOT (event_type = 'db_error' AND (lower(COALESCE(message, '')) = 'lock wait: client / clientread' OR ( lower(COALESCE(payload->>'wait_event_type', '')) = 'client' AND lower(COALESCE(payload ->> 'wait_event', '')) = 'clientread')))) SELECT fingerprint, COUNT(*) AS occurrence_count, COUNT(DISTINCT COALESCE(payload ->> 'user', payload ->> 'username', 'unbekannt')) AS affected_users, MAX(severity) AS max_severity, MIN(occurred_at) AS first_seen, MAX(occurred_at) AS last_seen, (array_agg(message ORDER BY occurred_at DESC))[1] AS sample_message, (array_agg(DISTINCT event_type))[1] AS event_type, (array_agg(payload ->> 'file' ORDER BY occurred_at DESC))[1] AS source_file, (array_agg(payload ->> 'line' ORDER BY occurred_at DESC))[1] AS source_line, (array_agg(payload ->> 'request' ORDER BY occurred_at DESC))[1] AS sample_request, (array_agg(id ORDER BY occurred_at DESC))[1] AS latest_event_id FROM normalised GROUP BY fingerprint ORDER BY occurrence_count DESC, last_seen DESC LIMIT '30';
Date: 2026-04-04 12:26:43 Duration: 1s727ms Database: zemm_monitoring User: labanimal Log file: /var/log/postgresql/postgresql-2026-04-04_000000.csv
40 2 1.72 MiB 184.00 KiB 1.54 MiB 880.00 KiB create index monitoring_session_activity_user_idx on public.monitoring_session_activity using btree (user_id);-
CREATE INDEX monitoring_session_activity_user_idx ON public.monitoring_session_activity USING btree (user_id);
Date: 2026-03-31 11:52:35 Duration: 932ms Database: zemm_produktiv_7 User: labanimal Application: pg_restore Log file: /var/log/postgresql/postgresql-2026-03-31_000000.csv
41 2 1.80 MiB 384.00 KiB 1.43 MiB 924.00 KiB create index litters_dam_index on public.litters using btree (dam);-
CREATE INDEX litters_dam_index ON public.litters USING btree (dam);
Date: 2026-03-31 11:52:35 Duration: 932ms Database: zemm_produktiv_7 User: labanimal Application: pg_restore Log file: /var/log/postgresql/postgresql-2026-03-31_000000.csv
Queries generating the largest temporary files
Rank Size Query 1 436.63 MiB WITH start_snap AS ( SELECT DISTINCT ON (tenant_key, fingerprint) tenant_key, fingerprint, total_time_ms, calls, rows_returned, collected_at FROM observability.db_top_queries WHERE tenant_key IN ($1, $2) AND collected_at <= $3 ORDER BY tenant_key, fingerprint, collected_at DESC ), fallback_start AS ( SELECT DISTINCT ON (tenant_key, fingerprint) tenant_key, fingerprint, total_time_ms, calls, rows_returned, collected_at FROM observability.db_top_queries WHERE tenant_key IN ($4, $5) AND collected_at BETWEEN $6 AND $7 ORDER BY tenant_key, fingerprint, collected_at ASC ), end_snap AS ( SELECT DISTINCT ON (tenant_key, fingerprint) tenant_key, fingerprint, query, total_time_ms, calls, rows_returned, collected_at FROM observability.db_top_queries WHERE tenant_key IN ($8, $9) AND collected_at BETWEEN $10 AND $11 ORDER BY tenant_key, fingerprint, collected_at DESC ), deltas AS ( SELECT e.tenant_key, e.fingerprint, e.query, e.collected_at AS last_seen, GREATEST (COALESCE(e.total_time_ms, 0) - COALESCE(s.total_time_ms, fs.total_time_ms, 0), 0) AS total_time_ms, GREATEST (COALESCE(e.calls, 0) - COALESCE(s.calls, fs.calls, 0), 0) AS calls, GREATEST (COALESCE(e.rows_returned, 0) - COALESCE(s.rows_returned, fs.rows_returned, 0), 0) AS rows_returned FROM end_snap e LEFT JOIN start_snap s ON s.tenant_key = e.tenant_key AND s.fingerprint = e.fingerprint LEFT JOIN fallback_start fs ON fs.tenant_key = e.tenant_key AND fs.fingerprint = e.fingerprint AND s.tenant_key IS NULL ) SELECT fingerprint, MAX(query) AS query, MAX(last_seen) AS last_seen, SUM(total_time_ms) AS total_time_ms, SUM(calls) AS calls, SUM(rows_returned) AS rows_returned, CASE WHEN SUM(calls) > 0 THEN SUM(total_time_ms) / SUM(calls) ELSE 0 END AS mean_time_ms, array_agg(DISTINCT tenant_key ORDER BY tenant_key) AS tenant_keys FROM deltas WHERE total_time_ms > 0 OR calls > 0 GROUP BY fingerprint ORDER BY total_time_ms DESC, calls DESC LIMIT $12 OFFSET $13;[ Date: 2026-04-04 12:27:47 - Database: zemm_monitoring - User: labanimal ]
2 400.11 MiB WITH start_snap AS ( SELECT DISTINCT ON (tenant_key, fingerprint) tenant_key, fingerprint, total_time_ms, calls, rows_returned, collected_at FROM observability.db_top_queries WHERE tenant_key IN ($1, $2) AND collected_at <= $3 ORDER BY tenant_key, fingerprint, collected_at DESC ), fallback_start AS ( SELECT DISTINCT ON (tenant_key, fingerprint) tenant_key, fingerprint, total_time_ms, calls, rows_returned, collected_at FROM observability.db_top_queries WHERE tenant_key IN ($4, $5) AND collected_at BETWEEN $6 AND $7 ORDER BY tenant_key, fingerprint, collected_at ASC ), end_snap AS ( SELECT DISTINCT ON (tenant_key, fingerprint) tenant_key, fingerprint, query, total_time_ms, calls, rows_returned, collected_at FROM observability.db_top_queries WHERE tenant_key IN ($8, $9) AND collected_at BETWEEN $10 AND $11 ORDER BY tenant_key, fingerprint, collected_at DESC ), deltas AS ( SELECT e.tenant_key, e.fingerprint, e.query, e.collected_at AS last_seen, GREATEST (COALESCE(e.total_time_ms, 0) - COALESCE(s.total_time_ms, fs.total_time_ms, 0), 0) AS total_time_ms, GREATEST (COALESCE(e.calls, 0) - COALESCE(s.calls, fs.calls, 0), 0) AS calls, GREATEST (COALESCE(e.rows_returned, 0) - COALESCE(s.rows_returned, fs.rows_returned, 0), 0) AS rows_returned FROM end_snap e LEFT JOIN start_snap s ON s.tenant_key = e.tenant_key AND s.fingerprint = e.fingerprint LEFT JOIN fallback_start fs ON fs.tenant_key = e.tenant_key AND fs.fingerprint = e.fingerprint AND s.tenant_key IS NULL ) SELECT fingerprint, MAX(query) AS query, MAX(last_seen) AS last_seen, SUM(total_time_ms) AS total_time_ms, SUM(calls) AS calls, SUM(rows_returned) AS rows_returned, CASE WHEN SUM(calls) > 0 THEN SUM(total_time_ms) / SUM(calls) ELSE 0 END AS mean_time_ms, array_agg(DISTINCT tenant_key ORDER BY tenant_key) AS tenant_keys FROM deltas WHERE total_time_ms > 0 OR calls > 0 GROUP BY fingerprint ORDER BY total_time_ms DESC, calls DESC LIMIT $12 OFFSET $13;[ Date: 2026-04-04 12:17:39 - Queryid: 4097504 ]
3 399.95 MiB WITH start_snap AS ( SELECT DISTINCT ON (tenant_key, fingerprint) tenant_key, fingerprint, total_time_ms, calls, rows_returned, collected_at FROM observability.db_top_queries WHERE tenant_key IN ($1, $2) AND collected_at <= $3 ORDER BY tenant_key, fingerprint, collected_at DESC ), fallback_start AS ( SELECT DISTINCT ON (tenant_key, fingerprint) tenant_key, fingerprint, total_time_ms, calls, rows_returned, collected_at FROM observability.db_top_queries WHERE tenant_key IN ($4, $5) AND collected_at BETWEEN $6 AND $7 ORDER BY tenant_key, fingerprint, collected_at ASC ), end_snap AS ( SELECT DISTINCT ON (tenant_key, fingerprint) tenant_key, fingerprint, query, total_time_ms, calls, rows_returned, collected_at FROM observability.db_top_queries WHERE tenant_key IN ($8, $9) AND collected_at BETWEEN $10 AND $11 ORDER BY tenant_key, fingerprint, collected_at DESC ), deltas AS ( SELECT e.tenant_key, e.fingerprint, e.query, e.collected_at AS last_seen, GREATEST (COALESCE(e.total_time_ms, 0) - COALESCE(s.total_time_ms, fs.total_time_ms, 0), 0) AS total_time_ms, GREATEST (COALESCE(e.calls, 0) - COALESCE(s.calls, fs.calls, 0), 0) AS calls, GREATEST (COALESCE(e.rows_returned, 0) - COALESCE(s.rows_returned, fs.rows_returned, 0), 0) AS rows_returned FROM end_snap e LEFT JOIN start_snap s ON s.tenant_key = e.tenant_key AND s.fingerprint = e.fingerprint LEFT JOIN fallback_start fs ON fs.tenant_key = e.tenant_key AND fs.fingerprint = e.fingerprint AND s.tenant_key IS NULL ) SELECT fingerprint, MAX(query) AS query, MAX(last_seen) AS last_seen, SUM(total_time_ms) AS total_time_ms, SUM(calls) AS calls, SUM(rows_returned) AS rows_returned, CASE WHEN SUM(calls) > 0 THEN SUM(total_time_ms) / SUM(calls) ELSE 0 END AS mean_time_ms, array_agg(DISTINCT tenant_key ORDER BY tenant_key) AS tenant_keys FROM deltas WHERE total_time_ms > 0 OR calls > 0 GROUP BY fingerprint ORDER BY total_time_ms DESC, calls DESC LIMIT $12 OFFSET $13;[ Date: 2026-04-04 12:21:47 - Queryid: 4099630 ]
4 242.27 MiB WITH start_snap AS ( SELECT DISTINCT ON (tenant_key, fingerprint) tenant_key, fingerprint, total_time_ms, calls, rows_returned, collected_at FROM observability.db_top_queries WHERE tenant_key IN ($1, $2, $3) AND collected_at <= $4 ORDER BY tenant_key, fingerprint, collected_at DESC ), fallback_start AS ( SELECT DISTINCT ON (tenant_key, fingerprint) tenant_key, fingerprint, total_time_ms, calls, rows_returned, collected_at FROM observability.db_top_queries WHERE tenant_key IN ($5, $6, $7) AND collected_at BETWEEN $8 AND $9 ORDER BY tenant_key, fingerprint, collected_at ASC ), end_snap AS ( SELECT DISTINCT ON (tenant_key, fingerprint) tenant_key, fingerprint, query, total_time_ms, calls, rows_returned, collected_at FROM observability.db_top_queries WHERE tenant_key IN ($10, $11, $12) AND collected_at BETWEEN $13 AND $14 ORDER BY tenant_key, fingerprint, collected_at DESC ), deltas AS ( SELECT e.tenant_key, e.fingerprint, e.query, e.collected_at AS last_seen, GREATEST (COALESCE(e.total_time_ms, 0) - COALESCE(s.total_time_ms, fs.total_time_ms, 0), 0) AS total_time_ms, GREATEST (COALESCE(e.calls, 0) - COALESCE(s.calls, fs.calls, 0), 0) AS calls, GREATEST (COALESCE(e.rows_returned, 0) - COALESCE(s.rows_returned, fs.rows_returned, 0), 0) AS rows_returned FROM end_snap e LEFT JOIN start_snap s ON s.tenant_key = e.tenant_key AND s.fingerprint = e.fingerprint LEFT JOIN fallback_start fs ON fs.tenant_key = e.tenant_key AND fs.fingerprint = e.fingerprint AND s.tenant_key IS NULL ) SELECT fingerprint, MAX(query) AS query, MAX(last_seen) AS last_seen, SUM(total_time_ms) AS total_time_ms, SUM(calls) AS calls, SUM(rows_returned) AS rows_returned, CASE WHEN SUM(calls) > 0 THEN SUM(total_time_ms) / SUM(calls) ELSE 0 END AS mean_time_ms, array_agg(DISTINCT tenant_key ORDER BY tenant_key) AS tenant_keys FROM deltas WHERE total_time_ms > 0 OR calls > 0 GROUP BY fingerprint ORDER BY total_time_ms DESC, calls DESC LIMIT $15 OFFSET $16;[ Date: 2026-04-04 12:10:56 - Queryid: 4093648 ]
5 242.23 MiB WITH start_snap AS ( SELECT DISTINCT ON (tenant_key, fingerprint) tenant_key, fingerprint, total_time_ms, calls, rows_returned, collected_at FROM observability.db_top_queries WHERE tenant_key IN ($1, $2, $3) AND collected_at <= $4 ORDER BY tenant_key, fingerprint, collected_at DESC ), fallback_start AS ( SELECT DISTINCT ON (tenant_key, fingerprint) tenant_key, fingerprint, total_time_ms, calls, rows_returned, collected_at FROM observability.db_top_queries WHERE tenant_key IN ($5, $6, $7) AND collected_at BETWEEN $8 AND $9 ORDER BY tenant_key, fingerprint, collected_at ASC ), end_snap AS ( SELECT DISTINCT ON (tenant_key, fingerprint) tenant_key, fingerprint, query, total_time_ms, calls, rows_returned, collected_at FROM observability.db_top_queries WHERE tenant_key IN ($10, $11, $12) AND collected_at BETWEEN $13 AND $14 ORDER BY tenant_key, fingerprint, collected_at DESC ), deltas AS ( SELECT e.tenant_key, e.fingerprint, e.query, e.collected_at AS last_seen, GREATEST (COALESCE(e.total_time_ms, 0) - COALESCE(s.total_time_ms, fs.total_time_ms, 0), 0) AS total_time_ms, GREATEST (COALESCE(e.calls, 0) - COALESCE(s.calls, fs.calls, 0), 0) AS calls, GREATEST (COALESCE(e.rows_returned, 0) - COALESCE(s.rows_returned, fs.rows_returned, 0), 0) AS rows_returned FROM end_snap e LEFT JOIN start_snap s ON s.tenant_key = e.tenant_key AND s.fingerprint = e.fingerprint LEFT JOIN fallback_start fs ON fs.tenant_key = e.tenant_key AND fs.fingerprint = e.fingerprint AND s.tenant_key IS NULL ) SELECT fingerprint, MAX(query) AS query, MAX(last_seen) AS last_seen, SUM(total_time_ms) AS total_time_ms, SUM(calls) AS calls, SUM(rows_returned) AS rows_returned, CASE WHEN SUM(calls) > 0 THEN SUM(total_time_ms) / SUM(calls) ELSE 0 END AS mean_time_ms, array_agg(DISTINCT tenant_key ORDER BY tenant_key) AS tenant_keys FROM deltas WHERE total_time_ms > 0 OR calls > 0 GROUP BY fingerprint ORDER BY total_time_ms DESC, calls DESC LIMIT $15 OFFSET $16;[ Date: 2026-04-04 12:10:56 - Queryid: 4093648 ]
6 242.23 MiB WITH start_snap AS ( SELECT DISTINCT ON (tenant_key, fingerprint) tenant_key, fingerprint, total_time_ms, calls, rows_returned, collected_at FROM observability.db_top_queries WHERE tenant_key IN ($1, $2, $3) AND collected_at <= $4 ORDER BY tenant_key, fingerprint, collected_at DESC ), fallback_start AS ( SELECT DISTINCT ON (tenant_key, fingerprint) tenant_key, fingerprint, total_time_ms, calls, rows_returned, collected_at FROM observability.db_top_queries WHERE tenant_key IN ($5, $6, $7) AND collected_at BETWEEN $8 AND $9 ORDER BY tenant_key, fingerprint, collected_at ASC ), end_snap AS ( SELECT DISTINCT ON (tenant_key, fingerprint) tenant_key, fingerprint, query, total_time_ms, calls, rows_returned, collected_at FROM observability.db_top_queries WHERE tenant_key IN ($10, $11, $12) AND collected_at BETWEEN $13 AND $14 ORDER BY tenant_key, fingerprint, collected_at DESC ), deltas AS ( SELECT e.tenant_key, e.fingerprint, e.query, e.collected_at AS last_seen, GREATEST (COALESCE(e.total_time_ms, 0) - COALESCE(s.total_time_ms, fs.total_time_ms, 0), 0) AS total_time_ms, GREATEST (COALESCE(e.calls, 0) - COALESCE(s.calls, fs.calls, 0), 0) AS calls, GREATEST (COALESCE(e.rows_returned, 0) - COALESCE(s.rows_returned, fs.rows_returned, 0), 0) AS rows_returned FROM end_snap e LEFT JOIN start_snap s ON s.tenant_key = e.tenant_key AND s.fingerprint = e.fingerprint LEFT JOIN fallback_start fs ON fs.tenant_key = e.tenant_key AND fs.fingerprint = e.fingerprint AND s.tenant_key IS NULL ) SELECT fingerprint, MAX(query) AS query, MAX(last_seen) AS last_seen, SUM(total_time_ms) AS total_time_ms, SUM(calls) AS calls, SUM(rows_returned) AS rows_returned, CASE WHEN SUM(calls) > 0 THEN SUM(total_time_ms) / SUM(calls) ELSE 0 END AS mean_time_ms, array_agg(DISTINCT tenant_key ORDER BY tenant_key) AS tenant_keys FROM deltas WHERE total_time_ms > 0 OR calls > 0 GROUP BY fingerprint ORDER BY total_time_ms DESC, calls DESC LIMIT $15 OFFSET $16;[ Date: 2026-04-04 12:10:56 - Queryid: 4093648 ]
7 242.18 MiB WITH start_snap AS ( SELECT DISTINCT ON (tenant_key, fingerprint) tenant_key, fingerprint, total_time_ms, calls, rows_returned, collected_at FROM observability.db_top_queries WHERE tenant_key IN ($1, $2, $3) AND collected_at <= $4 ORDER BY tenant_key, fingerprint, collected_at DESC ), fallback_start AS ( SELECT DISTINCT ON (tenant_key, fingerprint) tenant_key, fingerprint, total_time_ms, calls, rows_returned, collected_at FROM observability.db_top_queries WHERE tenant_key IN ($5, $6, $7) AND collected_at BETWEEN $8 AND $9 ORDER BY tenant_key, fingerprint, collected_at ASC ), end_snap AS ( SELECT DISTINCT ON (tenant_key, fingerprint) tenant_key, fingerprint, query, total_time_ms, calls, rows_returned, collected_at FROM observability.db_top_queries WHERE tenant_key IN ($10, $11, $12) AND collected_at BETWEEN $13 AND $14 ORDER BY tenant_key, fingerprint, collected_at DESC ), deltas AS ( SELECT e.tenant_key, e.fingerprint, e.query, e.collected_at AS last_seen, GREATEST (COALESCE(e.total_time_ms, 0) - COALESCE(s.total_time_ms, fs.total_time_ms, 0), 0) AS total_time_ms, GREATEST (COALESCE(e.calls, 0) - COALESCE(s.calls, fs.calls, 0), 0) AS calls, GREATEST (COALESCE(e.rows_returned, 0) - COALESCE(s.rows_returned, fs.rows_returned, 0), 0) AS rows_returned FROM end_snap e LEFT JOIN start_snap s ON s.tenant_key = e.tenant_key AND s.fingerprint = e.fingerprint LEFT JOIN fallback_start fs ON fs.tenant_key = e.tenant_key AND fs.fingerprint = e.fingerprint AND s.tenant_key IS NULL ) SELECT fingerprint, MAX(query) AS query, MAX(last_seen) AS last_seen, SUM(total_time_ms) AS total_time_ms, SUM(calls) AS calls, SUM(rows_returned) AS rows_returned, CASE WHEN SUM(calls) > 0 THEN SUM(total_time_ms) / SUM(calls) ELSE 0 END AS mean_time_ms, array_agg(DISTINCT tenant_key ORDER BY tenant_key) AS tenant_keys FROM deltas WHERE total_time_ms > 0 OR calls > 0 GROUP BY fingerprint ORDER BY total_time_ms DESC, calls DESC LIMIT $15 OFFSET $16;[ Date: 2026-04-04 12:10:56 - Queryid: 4093648 ]
8 201.27 MiB WITH start_snap AS ( SELECT DISTINCT ON (tenant_key, fingerprint) tenant_key, fingerprint, total_time_ms, calls, rows_returned, collected_at FROM observability.db_top_queries WHERE tenant_key IN ($1) AND collected_at <= $2 ORDER BY tenant_key, fingerprint, collected_at DESC ), fallback_start AS ( SELECT DISTINCT ON (tenant_key, fingerprint) tenant_key, fingerprint, total_time_ms, calls, rows_returned, collected_at FROM observability.db_top_queries WHERE tenant_key IN ($3) AND collected_at BETWEEN $4 AND $5 ORDER BY tenant_key, fingerprint, collected_at ASC ), end_snap AS ( SELECT DISTINCT ON (tenant_key, fingerprint) tenant_key, fingerprint, query, total_time_ms, calls, rows_returned, collected_at FROM observability.db_top_queries WHERE tenant_key IN ($6) AND collected_at BETWEEN $7 AND $8 ORDER BY tenant_key, fingerprint, collected_at DESC ), deltas AS ( SELECT e.tenant_key, e.fingerprint, e.query, e.collected_at AS last_seen, GREATEST (COALESCE(e.total_time_ms, 0) - COALESCE(s.total_time_ms, fs.total_time_ms, 0), 0) AS total_time_ms, GREATEST (COALESCE(e.calls, 0) - COALESCE(s.calls, fs.calls, 0), 0) AS calls, GREATEST (COALESCE(e.rows_returned, 0) - COALESCE(s.rows_returned, fs.rows_returned, 0), 0) AS rows_returned FROM end_snap e LEFT JOIN start_snap s ON s.tenant_key = e.tenant_key AND s.fingerprint = e.fingerprint LEFT JOIN fallback_start fs ON fs.tenant_key = e.tenant_key AND fs.fingerprint = e.fingerprint AND s.tenant_key IS NULL ) SELECT fingerprint, MAX(query) AS query, MAX(last_seen) AS last_seen, SUM(total_time_ms) AS total_time_ms, SUM(calls) AS calls, SUM(rows_returned) AS rows_returned, CASE WHEN SUM(calls) > 0 THEN SUM(total_time_ms) / SUM(calls) ELSE 0 END AS mean_time_ms, array_agg(DISTINCT tenant_key ORDER BY tenant_key) AS tenant_keys FROM deltas WHERE total_time_ms > 0 OR calls > 0 GROUP BY fingerprint ORDER BY total_time_ms DESC, calls DESC LIMIT $9 OFFSET $10;[ Date: 2026-04-04 12:27:43 - Queryid: 4109447 ]
9 182.98 MiB WITH start_snap AS ( SELECT DISTINCT ON (tenant_key, fingerprint) tenant_key, fingerprint, total_time_ms, calls, rows_returned, collected_at FROM observability.db_top_queries WHERE tenant_key IN ($1, $2) AND collected_at <= $3 ORDER BY tenant_key, fingerprint, collected_at DESC ), fallback_start AS ( SELECT DISTINCT ON (tenant_key, fingerprint) tenant_key, fingerprint, total_time_ms, calls, rows_returned, collected_at FROM observability.db_top_queries WHERE tenant_key IN ($4, $5) AND collected_at BETWEEN $6 AND $7 ORDER BY tenant_key, fingerprint, collected_at ASC ), end_snap AS ( SELECT DISTINCT ON (tenant_key, fingerprint) tenant_key, fingerprint, query, total_time_ms, calls, rows_returned, collected_at FROM observability.db_top_queries WHERE tenant_key IN ($8, $9) AND collected_at BETWEEN $10 AND $11 ORDER BY tenant_key, fingerprint, collected_at DESC ), deltas AS ( SELECT e.tenant_key, e.fingerprint, e.query, e.collected_at AS last_seen, GREATEST (COALESCE(e.total_time_ms, 0) - COALESCE(s.total_time_ms, fs.total_time_ms, 0), 0) AS total_time_ms, GREATEST (COALESCE(e.calls, 0) - COALESCE(s.calls, fs.calls, 0), 0) AS calls, GREATEST (COALESCE(e.rows_returned, 0) - COALESCE(s.rows_returned, fs.rows_returned, 0), 0) AS rows_returned FROM end_snap e LEFT JOIN start_snap s ON s.tenant_key = e.tenant_key AND s.fingerprint = e.fingerprint LEFT JOIN fallback_start fs ON fs.tenant_key = e.tenant_key AND fs.fingerprint = e.fingerprint AND s.tenant_key IS NULL ) SELECT fingerprint, MAX(query) AS query, MAX(last_seen) AS last_seen, SUM(total_time_ms) AS total_time_ms, SUM(calls) AS calls, SUM(rows_returned) AS rows_returned, CASE WHEN SUM(calls) > 0 THEN SUM(total_time_ms) / SUM(calls) ELSE 0 END AS mean_time_ms, array_agg(DISTINCT tenant_key ORDER BY tenant_key) AS tenant_keys FROM deltas WHERE total_time_ms > 0 OR calls > 0 GROUP BY fingerprint ORDER BY total_time_ms DESC, calls DESC LIMIT $12 OFFSET $13;[ Date: 2026-04-04 12:21:46 - Database: zemm_monitoring - User: labanimal ]
10 182.80 MiB WITH start_snap AS ( SELECT DISTINCT ON (tenant_key, fingerprint) tenant_key, fingerprint, total_time_ms, calls, rows_returned, collected_at FROM observability.db_top_queries WHERE tenant_key IN ($1, $2) AND collected_at <= $3 ORDER BY tenant_key, fingerprint, collected_at DESC ), fallback_start AS ( SELECT DISTINCT ON (tenant_key, fingerprint) tenant_key, fingerprint, total_time_ms, calls, rows_returned, collected_at FROM observability.db_top_queries WHERE tenant_key IN ($4, $5) AND collected_at BETWEEN $6 AND $7 ORDER BY tenant_key, fingerprint, collected_at ASC ), end_snap AS ( SELECT DISTINCT ON (tenant_key, fingerprint) tenant_key, fingerprint, query, total_time_ms, calls, rows_returned, collected_at FROM observability.db_top_queries WHERE tenant_key IN ($8, $9) AND collected_at BETWEEN $10 AND $11 ORDER BY tenant_key, fingerprint, collected_at DESC ), deltas AS ( SELECT e.tenant_key, e.fingerprint, e.query, e.collected_at AS last_seen, GREATEST (COALESCE(e.total_time_ms, 0) - COALESCE(s.total_time_ms, fs.total_time_ms, 0), 0) AS total_time_ms, GREATEST (COALESCE(e.calls, 0) - COALESCE(s.calls, fs.calls, 0), 0) AS calls, GREATEST (COALESCE(e.rows_returned, 0) - COALESCE(s.rows_returned, fs.rows_returned, 0), 0) AS rows_returned FROM end_snap e LEFT JOIN start_snap s ON s.tenant_key = e.tenant_key AND s.fingerprint = e.fingerprint LEFT JOIN fallback_start fs ON fs.tenant_key = e.tenant_key AND fs.fingerprint = e.fingerprint AND s.tenant_key IS NULL ) SELECT fingerprint, MAX(query) AS query, MAX(last_seen) AS last_seen, SUM(total_time_ms) AS total_time_ms, SUM(calls) AS calls, SUM(rows_returned) AS rows_returned, CASE WHEN SUM(calls) > 0 THEN SUM(total_time_ms) / SUM(calls) ELSE 0 END AS mean_time_ms, array_agg(DISTINCT tenant_key ORDER BY tenant_key) AS tenant_keys FROM deltas WHERE total_time_ms > 0 OR calls > 0 GROUP BY fingerprint ORDER BY total_time_ms DESC, calls DESC LIMIT $12 OFFSET $13;[ Date: 2026-04-04 12:17:38 - Database: zemm_monitoring - User: labanimal ]
11 131.12 MiB WITH start_snap AS ( SELECT DISTINCT ON (tenant_key, fingerprint) tenant_key, fingerprint, total_time_ms, calls, rows_returned, collected_at FROM observability.db_top_queries WHERE tenant_key IN ($1, $2) AND collected_at <= $3 ORDER BY tenant_key, fingerprint, collected_at DESC ), fallback_start AS ( SELECT DISTINCT ON (tenant_key, fingerprint) tenant_key, fingerprint, total_time_ms, calls, rows_returned, collected_at FROM observability.db_top_queries WHERE tenant_key IN ($4, $5) AND collected_at BETWEEN $6 AND $7 ORDER BY tenant_key, fingerprint, collected_at ASC ), end_snap AS ( SELECT DISTINCT ON (tenant_key, fingerprint) tenant_key, fingerprint, query, total_time_ms, calls, rows_returned, collected_at FROM observability.db_top_queries WHERE tenant_key IN ($8, $9) AND collected_at BETWEEN $10 AND $11 ORDER BY tenant_key, fingerprint, collected_at DESC ), deltas AS ( SELECT e.tenant_key, e.fingerprint, e.query, e.collected_at AS last_seen, GREATEST (COALESCE(e.total_time_ms, 0) - COALESCE(s.total_time_ms, fs.total_time_ms, 0), 0) AS total_time_ms, GREATEST (COALESCE(e.calls, 0) - COALESCE(s.calls, fs.calls, 0), 0) AS calls, GREATEST (COALESCE(e.rows_returned, 0) - COALESCE(s.rows_returned, fs.rows_returned, 0), 0) AS rows_returned FROM end_snap e LEFT JOIN start_snap s ON s.tenant_key = e.tenant_key AND s.fingerprint = e.fingerprint LEFT JOIN fallback_start fs ON fs.tenant_key = e.tenant_key AND fs.fingerprint = e.fingerprint AND s.tenant_key IS NULL ) SELECT fingerprint, MAX(query) AS query, MAX(last_seen) AS last_seen, SUM(total_time_ms) AS total_time_ms, SUM(calls) AS calls, SUM(rows_returned) AS rows_returned, CASE WHEN SUM(calls) > 0 THEN SUM(total_time_ms) / SUM(calls) ELSE 0 END AS mean_time_ms, array_agg(DISTINCT tenant_key ORDER BY tenant_key) AS tenant_keys FROM deltas WHERE total_time_ms > 0 OR calls > 0 GROUP BY fingerprint ORDER BY total_time_ms DESC, calls DESC LIMIT $12 OFFSET $13;[ Date: 2026-04-04 12:17:38 - Queryid: 4097504 ]
12 130.98 MiB WITH start_snap AS ( SELECT DISTINCT ON (tenant_key, fingerprint) tenant_key, fingerprint, total_time_ms, calls, rows_returned, collected_at FROM observability.db_top_queries WHERE tenant_key IN ($1, $2) AND collected_at <= $3 ORDER BY tenant_key, fingerprint, collected_at DESC ), fallback_start AS ( SELECT DISTINCT ON (tenant_key, fingerprint) tenant_key, fingerprint, total_time_ms, calls, rows_returned, collected_at FROM observability.db_top_queries WHERE tenant_key IN ($4, $5) AND collected_at BETWEEN $6 AND $7 ORDER BY tenant_key, fingerprint, collected_at ASC ), end_snap AS ( SELECT DISTINCT ON (tenant_key, fingerprint) tenant_key, fingerprint, query, total_time_ms, calls, rows_returned, collected_at FROM observability.db_top_queries WHERE tenant_key IN ($8, $9) AND collected_at BETWEEN $10 AND $11 ORDER BY tenant_key, fingerprint, collected_at DESC ), deltas AS ( SELECT e.tenant_key, e.fingerprint, e.query, e.collected_at AS last_seen, GREATEST (COALESCE(e.total_time_ms, 0) - COALESCE(s.total_time_ms, fs.total_time_ms, 0), 0) AS total_time_ms, GREATEST (COALESCE(e.calls, 0) - COALESCE(s.calls, fs.calls, 0), 0) AS calls, GREATEST (COALESCE(e.rows_returned, 0) - COALESCE(s.rows_returned, fs.rows_returned, 0), 0) AS rows_returned FROM end_snap e LEFT JOIN start_snap s ON s.tenant_key = e.tenant_key AND s.fingerprint = e.fingerprint LEFT JOIN fallback_start fs ON fs.tenant_key = e.tenant_key AND fs.fingerprint = e.fingerprint AND s.tenant_key IS NULL ) SELECT fingerprint, MAX(query) AS query, MAX(last_seen) AS last_seen, SUM(total_time_ms) AS total_time_ms, SUM(calls) AS calls, SUM(rows_returned) AS rows_returned, CASE WHEN SUM(calls) > 0 THEN SUM(total_time_ms) / SUM(calls) ELSE 0 END AS mean_time_ms, array_agg(DISTINCT tenant_key ORDER BY tenant_key) AS tenant_keys FROM deltas WHERE total_time_ms > 0 OR calls > 0 GROUP BY fingerprint ORDER BY total_time_ms DESC, calls DESC LIMIT $12 OFFSET $13;[ Date: 2026-04-04 12:21:46 - Queryid: 4099630 ]
13 130.08 MiB WITH ranked AS ( SELECT tenant_key, fingerprint, query, total_time_ms, calls, rows_returned, collected_at, ROW_NUMBER() OVER (PARTITION BY tenant_key, fingerprint ORDER BY collected_at ASC) AS rn_first, ROW_NUMBER() OVER (PARTITION BY tenant_key, fingerprint ORDER BY collected_at DESC) AS rn_last FROM observability.db_top_queries WHERE tenant_key IN ($1) AND collected_at BETWEEN $2 AND $3 ), snapshots AS ( SELECT tenant_key, fingerprint, MAX(query) FILTER (WHERE rn_last = 1) AS query, MAX(collected_at) FILTER (WHERE rn_last = 1) AS last_seen, MAX(total_time_ms) FILTER (WHERE rn_first = 1) AS first_total_time_ms, MAX(total_time_ms) FILTER (WHERE rn_last = 1) AS last_total_time_ms, MAX(calls) FILTER (WHERE rn_first = 1) AS first_calls, MAX(calls) FILTER (WHERE rn_last = 1) AS last_calls, MAX(rows_returned) FILTER (WHERE rn_first = 1) AS first_rows_returned, MAX(rows_returned) FILTER (WHERE rn_last = 1) AS last_rows_returned FROM ranked GROUP BY tenant_key, fingerprint ), deltas AS ( SELECT tenant_key, fingerprint, query, last_seen, GREATEST (COALESCE(last_total_time_ms, 0) - COALESCE(first_total_time_ms, 0), 0) AS total_time_ms, GREATEST (COALESCE(last_calls, 0) - COALESCE(first_calls, 0), 0) AS calls, GREATEST (COALESCE(last_rows_returned, 0) - COALESCE(first_rows_returned, 0), 0) AS rows_returned FROM snapshots ) SELECT fingerprint, MAX(query) AS query, MAX(last_seen) AS last_seen, SUM(total_time_ms) AS total_time_ms, SUM(calls) AS calls, SUM(rows_returned) AS rows_returned, CASE WHEN SUM(calls) > 0 THEN SUM(total_time_ms) / SUM(calls) ELSE 0 END AS mean_time_ms, array_agg(DISTINCT tenant_key ORDER BY tenant_key) AS tenant_keys FROM deltas WHERE total_time_ms > 0 OR calls > 0 GROUP BY fingerprint ORDER BY total_time_ms DESC, calls DESC LIMIT $4 OFFSET $5;[ Date: 2026-03-30 17:27:03 - Queryid: 1608512 ]
14 126.77 MiB WITH ranked AS ( SELECT tenant_key, fingerprint, query, total_time_ms, calls, rows_returned, collected_at, ROW_NUMBER() OVER (PARTITION BY tenant_key, fingerprint ORDER BY collected_at ASC) AS rn_first, ROW_NUMBER() OVER (PARTITION BY tenant_key, fingerprint ORDER BY collected_at DESC) AS rn_last FROM observability.db_top_queries WHERE tenant_key IN ($1) AND collected_at BETWEEN $2 AND $3 ), snapshots AS ( SELECT tenant_key, fingerprint, MAX(query) FILTER (WHERE rn_last = 1) AS query, MAX(collected_at) FILTER (WHERE rn_last = 1) AS last_seen, MAX(total_time_ms) FILTER (WHERE rn_first = 1) AS first_total_time_ms, MAX(total_time_ms) FILTER (WHERE rn_last = 1) AS last_total_time_ms, MAX(calls) FILTER (WHERE rn_first = 1) AS first_calls, MAX(calls) FILTER (WHERE rn_last = 1) AS last_calls, MAX(rows_returned) FILTER (WHERE rn_first = 1) AS first_rows_returned, MAX(rows_returned) FILTER (WHERE rn_last = 1) AS last_rows_returned FROM ranked GROUP BY tenant_key, fingerprint ), deltas AS ( SELECT tenant_key, fingerprint, query, last_seen, GREATEST (COALESCE(last_total_time_ms, 0) - COALESCE(first_total_time_ms, 0), 0) AS total_time_ms, GREATEST (COALESCE(last_calls, 0) - COALESCE(first_calls, 0), 0) AS calls, GREATEST (COALESCE(last_rows_returned, 0) - COALESCE(first_rows_returned, 0), 0) AS rows_returned FROM snapshots ) SELECT fingerprint, MAX(query) AS query, MAX(last_seen) AS last_seen, SUM(total_time_ms) AS total_time_ms, SUM(calls) AS calls, SUM(rows_returned) AS rows_returned, CASE WHEN SUM(calls) > 0 THEN SUM(total_time_ms) / SUM(calls) ELSE 0 END AS mean_time_ms, array_agg(DISTINCT tenant_key ORDER BY tenant_key) AS tenant_keys FROM deltas WHERE total_time_ms > 0 OR calls > 0 GROUP BY fingerprint ORDER BY total_time_ms DESC, calls DESC LIMIT $4 OFFSET $5;[ Date: 2026-03-30 17:27:03 - Queryid: 1608512 ]
15 122.73 MiB WITH start_snap AS ( SELECT DISTINCT ON (tenant_key, fingerprint) tenant_key, fingerprint, total_time_ms, calls, rows_returned, collected_at FROM observability.db_top_queries WHERE tenant_key IN ($1, $2) AND collected_at <= $3 ORDER BY tenant_key, fingerprint, collected_at DESC ), fallback_start AS ( SELECT DISTINCT ON (tenant_key, fingerprint) tenant_key, fingerprint, total_time_ms, calls, rows_returned, collected_at FROM observability.db_top_queries WHERE tenant_key IN ($4, $5) AND collected_at BETWEEN $6 AND $7 ORDER BY tenant_key, fingerprint, collected_at ASC ), end_snap AS ( SELECT DISTINCT ON (tenant_key, fingerprint) tenant_key, fingerprint, query, total_time_ms, calls, rows_returned, collected_at FROM observability.db_top_queries WHERE tenant_key IN ($8, $9) AND collected_at BETWEEN $10 AND $11 ORDER BY tenant_key, fingerprint, collected_at DESC ), deltas AS ( SELECT e.tenant_key, e.fingerprint, e.query, e.collected_at AS last_seen, GREATEST (COALESCE(e.total_time_ms, 0) - COALESCE(s.total_time_ms, fs.total_time_ms, 0), 0) AS total_time_ms, GREATEST (COALESCE(e.calls, 0) - COALESCE(s.calls, fs.calls, 0), 0) AS calls, GREATEST (COALESCE(e.rows_returned, 0) - COALESCE(s.rows_returned, fs.rows_returned, 0), 0) AS rows_returned FROM end_snap e LEFT JOIN start_snap s ON s.tenant_key = e.tenant_key AND s.fingerprint = e.fingerprint LEFT JOIN fallback_start fs ON fs.tenant_key = e.tenant_key AND fs.fingerprint = e.fingerprint AND s.tenant_key IS NULL ) SELECT fingerprint, MAX(query) AS query, MAX(last_seen) AS last_seen, SUM(total_time_ms) AS total_time_ms, SUM(calls) AS calls, SUM(rows_returned) AS rows_returned, CASE WHEN SUM(calls) > 0 THEN SUM(total_time_ms) / SUM(calls) ELSE 0 END AS mean_time_ms, array_agg(DISTINCT tenant_key ORDER BY tenant_key) AS tenant_keys FROM deltas WHERE total_time_ms > 0 OR calls > 0 GROUP BY fingerprint ORDER BY total_time_ms DESC, calls DESC LIMIT $12 OFFSET $13;[ Date: 2026-04-04 12:17:37 - Queryid: 4097504 ]
16 122.70 MiB WITH start_snap AS ( SELECT DISTINCT ON (tenant_key, fingerprint) tenant_key, fingerprint, total_time_ms, calls, rows_returned, collected_at FROM observability.db_top_queries WHERE tenant_key IN ($1, $2) AND collected_at <= $3 ORDER BY tenant_key, fingerprint, collected_at DESC ), fallback_start AS ( SELECT DISTINCT ON (tenant_key, fingerprint) tenant_key, fingerprint, total_time_ms, calls, rows_returned, collected_at FROM observability.db_top_queries WHERE tenant_key IN ($4, $5) AND collected_at BETWEEN $6 AND $7 ORDER BY tenant_key, fingerprint, collected_at ASC ), end_snap AS ( SELECT DISTINCT ON (tenant_key, fingerprint) tenant_key, fingerprint, query, total_time_ms, calls, rows_returned, collected_at FROM observability.db_top_queries WHERE tenant_key IN ($8, $9) AND collected_at BETWEEN $10 AND $11 ORDER BY tenant_key, fingerprint, collected_at DESC ), deltas AS ( SELECT e.tenant_key, e.fingerprint, e.query, e.collected_at AS last_seen, GREATEST (COALESCE(e.total_time_ms, 0) - COALESCE(s.total_time_ms, fs.total_time_ms, 0), 0) AS total_time_ms, GREATEST (COALESCE(e.calls, 0) - COALESCE(s.calls, fs.calls, 0), 0) AS calls, GREATEST (COALESCE(e.rows_returned, 0) - COALESCE(s.rows_returned, fs.rows_returned, 0), 0) AS rows_returned FROM end_snap e LEFT JOIN start_snap s ON s.tenant_key = e.tenant_key AND s.fingerprint = e.fingerprint LEFT JOIN fallback_start fs ON fs.tenant_key = e.tenant_key AND fs.fingerprint = e.fingerprint AND s.tenant_key IS NULL ) SELECT fingerprint, MAX(query) AS query, MAX(last_seen) AS last_seen, SUM(total_time_ms) AS total_time_ms, SUM(calls) AS calls, SUM(rows_returned) AS rows_returned, CASE WHEN SUM(calls) > 0 THEN SUM(total_time_ms) / SUM(calls) ELSE 0 END AS mean_time_ms, array_agg(DISTINCT tenant_key ORDER BY tenant_key) AS tenant_keys FROM deltas WHERE total_time_ms > 0 OR calls > 0 GROUP BY fingerprint ORDER BY total_time_ms DESC, calls DESC LIMIT $12 OFFSET $13;[ Date: 2026-04-04 12:21:44 - Queryid: 4099630 ]
17 113.75 MiB WITH start_snap AS ( SELECT DISTINCT ON (tenant_key, fingerprint) tenant_key, fingerprint, total_time_ms, calls, rows_returned, collected_at FROM observability.db_top_queries WHERE tenant_key IN ($1) AND collected_at <= $2 ORDER BY tenant_key, fingerprint, collected_at DESC ), fallback_start AS ( SELECT DISTINCT ON (tenant_key, fingerprint) tenant_key, fingerprint, total_time_ms, calls, rows_returned, collected_at FROM observability.db_top_queries WHERE tenant_key IN ($3) AND collected_at BETWEEN $4 AND $5 ORDER BY tenant_key, fingerprint, collected_at ASC ), end_snap AS ( SELECT DISTINCT ON (tenant_key, fingerprint) tenant_key, fingerprint, query, total_time_ms, calls, rows_returned, collected_at FROM observability.db_top_queries WHERE tenant_key IN ($6) AND collected_at BETWEEN $7 AND $8 ORDER BY tenant_key, fingerprint, collected_at DESC ), deltas AS ( SELECT e.tenant_key, e.fingerprint, e.query, e.collected_at AS last_seen, GREATEST (COALESCE(e.total_time_ms, 0) - COALESCE(s.total_time_ms, fs.total_time_ms, 0), 0) AS total_time_ms, GREATEST (COALESCE(e.calls, 0) - COALESCE(s.calls, fs.calls, 0), 0) AS calls, GREATEST (COALESCE(e.rows_returned, 0) - COALESCE(s.rows_returned, fs.rows_returned, 0), 0) AS rows_returned FROM end_snap e LEFT JOIN start_snap s ON s.tenant_key = e.tenant_key AND s.fingerprint = e.fingerprint LEFT JOIN fallback_start fs ON fs.tenant_key = e.tenant_key AND fs.fingerprint = e.fingerprint AND s.tenant_key IS NULL ) SELECT fingerprint, MAX(query) AS query, MAX(last_seen) AS last_seen, SUM(total_time_ms) AS total_time_ms, SUM(calls) AS calls, SUM(rows_returned) AS rows_returned, CASE WHEN SUM(calls) > 0 THEN SUM(total_time_ms) / SUM(calls) ELSE 0 END AS mean_time_ms, array_agg(DISTINCT tenant_key ORDER BY tenant_key) AS tenant_keys FROM deltas WHERE total_time_ms > 0 OR calls > 0 GROUP BY fingerprint ORDER BY total_time_ms DESC, calls DESC LIMIT $9 OFFSET $10;[ Date: 2026-04-04 14:00:08 - Queryid: 4157809 ]
18 111.38 MiB WITH start_snap AS ( SELECT DISTINCT ON (tenant_key, fingerprint) tenant_key, fingerprint, total_time_ms, calls, rows_returned, collected_at FROM observability.db_top_queries WHERE tenant_key IN ($1) AND collected_at <= $2 ORDER BY tenant_key, fingerprint, collected_at DESC ), fallback_start AS ( SELECT DISTINCT ON (tenant_key, fingerprint) tenant_key, fingerprint, total_time_ms, calls, rows_returned, collected_at FROM observability.db_top_queries WHERE tenant_key IN ($3) AND collected_at BETWEEN $4 AND $5 ORDER BY tenant_key, fingerprint, collected_at ASC ), end_snap AS ( SELECT DISTINCT ON (tenant_key, fingerprint) tenant_key, fingerprint, query, total_time_ms, calls, rows_returned, collected_at FROM observability.db_top_queries WHERE tenant_key IN ($6) AND collected_at BETWEEN $7 AND $8 ORDER BY tenant_key, fingerprint, collected_at DESC ), deltas AS ( SELECT e.tenant_key, e.fingerprint, e.query, e.collected_at AS last_seen, GREATEST (COALESCE(e.total_time_ms, 0) - COALESCE(s.total_time_ms, fs.total_time_ms, 0), 0) AS total_time_ms, GREATEST (COALESCE(e.calls, 0) - COALESCE(s.calls, fs.calls, 0), 0) AS calls, GREATEST (COALESCE(e.rows_returned, 0) - COALESCE(s.rows_returned, fs.rows_returned, 0), 0) AS rows_returned FROM end_snap e LEFT JOIN start_snap s ON s.tenant_key = e.tenant_key AND s.fingerprint = e.fingerprint LEFT JOIN fallback_start fs ON fs.tenant_key = e.tenant_key AND fs.fingerprint = e.fingerprint AND s.tenant_key IS NULL ) SELECT fingerprint, MAX(query) AS query, MAX(last_seen) AS last_seen, SUM(total_time_ms) AS total_time_ms, SUM(calls) AS calls, SUM(rows_returned) AS rows_returned, CASE WHEN SUM(calls) > 0 THEN SUM(total_time_ms) / SUM(calls) ELSE 0 END AS mean_time_ms, array_agg(DISTINCT tenant_key ORDER BY tenant_key) AS tenant_keys FROM deltas WHERE total_time_ms > 0 OR calls > 0 GROUP BY fingerprint ORDER BY total_time_ms DESC, calls DESC LIMIT $9 OFFSET $10;[ Date: 2026-04-04 12:26:47 - Queryid: 4107145 ]
19 99.18 MiB WITH ranked AS ( SELECT tenant_key, fingerprint, query, total_time_ms, calls, rows_returned, collected_at, ROW_NUMBER() OVER (PARTITION BY tenant_key, fingerprint ORDER BY collected_at ASC) AS rn_first, ROW_NUMBER() OVER (PARTITION BY tenant_key, fingerprint ORDER BY collected_at DESC) AS rn_last FROM observability.db_top_queries WHERE tenant_key IN ($1) AND collected_at BETWEEN $2 AND $3 ), snapshots AS ( SELECT tenant_key, fingerprint, MAX(query) FILTER (WHERE rn_last = 1) AS query, MAX(collected_at) FILTER (WHERE rn_last = 1) AS last_seen, MAX(total_time_ms) FILTER (WHERE rn_first = 1) AS first_total_time_ms, MAX(total_time_ms) FILTER (WHERE rn_last = 1) AS last_total_time_ms, MAX(calls) FILTER (WHERE rn_first = 1) AS first_calls, MAX(calls) FILTER (WHERE rn_last = 1) AS last_calls, MAX(rows_returned) FILTER (WHERE rn_first = 1) AS first_rows_returned, MAX(rows_returned) FILTER (WHERE rn_last = 1) AS last_rows_returned FROM ranked GROUP BY tenant_key, fingerprint ), deltas AS ( SELECT tenant_key, fingerprint, query, last_seen, GREATEST (COALESCE(last_total_time_ms, 0) - COALESCE(first_total_time_ms, 0), 0) AS total_time_ms, GREATEST (COALESCE(last_calls, 0) - COALESCE(first_calls, 0), 0) AS calls, GREATEST (COALESCE(last_rows_returned, 0) - COALESCE(first_rows_returned, 0), 0) AS rows_returned FROM snapshots ) SELECT fingerprint, MAX(query) AS query, MAX(last_seen) AS last_seen, SUM(total_time_ms) AS total_time_ms, SUM(calls) AS calls, SUM(rows_returned) AS rows_returned, CASE WHEN SUM(calls) > 0 THEN SUM(total_time_ms) / SUM(calls) ELSE 0 END AS mean_time_ms, array_agg(DISTINCT tenant_key ORDER BY tenant_key) AS tenant_keys FROM deltas WHERE total_time_ms > 0 OR calls > 0 GROUP BY fingerprint ORDER BY total_time_ms DESC, calls DESC LIMIT $4 OFFSET $5;[ Date: 2026-03-30 17:25:43 - Queryid: 1608237 ]
20 97.73 MiB WITH ranked AS ( SELECT tenant_key, fingerprint, query, total_time_ms, calls, rows_returned, collected_at, ROW_NUMBER() OVER (PARTITION BY tenant_key, fingerprint ORDER BY collected_at ASC) AS rn_first, ROW_NUMBER() OVER (PARTITION BY tenant_key, fingerprint ORDER BY collected_at DESC) AS rn_last FROM observability.db_top_queries WHERE tenant_key IN ($1) AND collected_at BETWEEN $2 AND $3 ), snapshots AS ( SELECT tenant_key, fingerprint, MAX(query) FILTER (WHERE rn_last = 1) AS query, MAX(collected_at) FILTER (WHERE rn_last = 1) AS last_seen, MAX(total_time_ms) FILTER (WHERE rn_first = 1) AS first_total_time_ms, MAX(total_time_ms) FILTER (WHERE rn_last = 1) AS last_total_time_ms, MAX(calls) FILTER (WHERE rn_first = 1) AS first_calls, MAX(calls) FILTER (WHERE rn_last = 1) AS last_calls, MAX(rows_returned) FILTER (WHERE rn_first = 1) AS first_rows_returned, MAX(rows_returned) FILTER (WHERE rn_last = 1) AS last_rows_returned FROM ranked GROUP BY tenant_key, fingerprint ), deltas AS ( SELECT tenant_key, fingerprint, query, last_seen, GREATEST (COALESCE(last_total_time_ms, 0) - COALESCE(first_total_time_ms, 0), 0) AS total_time_ms, GREATEST (COALESCE(last_calls, 0) - COALESCE(first_calls, 0), 0) AS calls, GREATEST (COALESCE(last_rows_returned, 0) - COALESCE(first_rows_returned, 0), 0) AS rows_returned FROM snapshots ) SELECT fingerprint, MAX(query) AS query, MAX(last_seen) AS last_seen, SUM(total_time_ms) AS total_time_ms, SUM(calls) AS calls, SUM(rows_returned) AS rows_returned, CASE WHEN SUM(calls) > 0 THEN SUM(total_time_ms) / SUM(calls) ELSE 0 END AS mean_time_ms, array_agg(DISTINCT tenant_key ORDER BY tenant_key) AS tenant_keys FROM deltas WHERE total_time_ms > 0 OR calls > 0 GROUP BY fingerprint ORDER BY total_time_ms DESC, calls DESC LIMIT $4 OFFSET $5;[ Date: 2026-03-30 17:25:43 - Queryid: 1608237 ]
-
Vacuums
Vacuums / Analyzes Distribution
Key values
- 26.32 sec Highest CPU-cost vacuum
Table observability.db_top_queries
Database zemm_monitoring - 2026-04-03 13:48:39 Date
- 0 sec Highest CPU-cost analyze
Table
Database zemm_monitoring - Date
Average Autovacuum Duration
Key values
- 26.32 sec Highest CPU-cost vacuum
Table observability.db_top_queries
Database zemm_monitoring - 2026-04-03 13:48:39 Date
Analyzes per table
Key values
- pg_catalog.pg_type (157) Main table analyzed (database zemm_produktiv_8)
- 636 analyzes Total
Table Number of analyzes zemm_produktiv_8.pg_catalog.pg_type 157 zemm_produktiv_8.pg_catalog.pg_attribute 116 zemm_produktiv_8.pg_catalog.pg_class 82 zemm_produktiv_8.pg_catalog.pg_depend 74 zemm_produktiv_8.public.breedingssires 27 zemm_produktiv_8.public.breedingsdams 26 zemm_monitoring.observability.metrics_timeseries 13 zemm_produktiv_8.public.cages_search_mview 9 zemm_produktiv_8.public.tmptasks 8 zemm_produktiv_8.public.tasks 7 zemm_produktiv_8.public.users 6 zemm_produktiv_7.pg_catalog.pg_type 5 zemm_monitoring.observability.system_metrics 4 bucardo.pg_catalog.pg_shdepend 4 zemm_monitoring.pg_catalog.pg_shdepend 4 zemm_produktiv_7.pg_catalog.pg_attribute 4 invdb.pg_catalog.pg_shdepend 4 zemm_produktiv_7.pg_catalog.pg_shdepend 3 zemm_produktiv_7.pg_catalog.pg_class 3 zemm_monitoring.observability.app_events 3 zemm_test_3.pg_catalog.pg_shdepend 3 zemm_monitoring.observability.db_top_queries 2 fbi_unibi.pg_catalog.pg_shdepend 2 zemm_produktiv_7.pg_catalog.pg_depend 2 zemm_produktiv_7.public.cages_search_mview 2 zemm_monitoring.observability.phpfpm_counters 2 zemm_produktiv_7.public.users 2 zemm_monitoring.observability.nginx_counters 2 zemm_test_2.pg_catalog.pg_shdepend 2 zemm_produktiv_8.public.cages 2 labanimal.pg_catalog.pg_shdepend 2 zemm_produktiv_8.public.cost_history 2 zemm_produktiv_7.pg_catalog.pg_index 1 zemm_produktiv_7.public.monitoring_session_activity 1 zemm_produktiv_7.public.diary 1 zemm_produktiv_7.public.user_ui_prefs 1 zemm_produktiv_7.public.animals_search_mview 1 zemm_produktiv_7.public.strains 1 zemm_produktiv_7.public.choice 1 zemm_produktiv_7.public.cages 1 zemm_produktiv_7.public.licenses 1 zemm_produktiv_7.pg_catalog.pg_trigger 1 zemm_produktiv_7.public.groupMembers 1 zemm_produktiv_7.public.documents 1 zemm_produktiv_7.public.animals 1 zemm_produktiv_7.public.taskattachment 1 zemm_produktiv_7.public.scoresheet_answer 1 template0.pg_catalog.pg_shdepend 1 zemm_produktiv_7.pg_catalog.pg_sequence 1 zemm_produktiv_7.public.sys_actions 1 zemm_produktiv_7.pg_catalog.pg_description 1 zemm_produktiv_7.public.breedingssires 1 zemm_produktiv_7.pg_catalog.pg_attrdef 1 zemm_produktiv_7.public.fem_numbers 1 zemm_produktiv_7.public.stresslevel_response 1 zemm_produktiv_7.public.tasks_changes 1 zemm_produktiv_7.public.targetgroups 1 zemm_produktiv_7.pg_catalog.pg_proc 1 zemm_produktiv_7.public.question 1 zemm_produktiv_7.public.login_tracker 1 zemm_produktiv_7.public.litter_history 1 zemm_produktiv_8.pg_catalog.pg_shdepend 1 zemm_produktiv_7.pg_catalog.pg_rewrite 1 zemm_produktiv_7.public.breedingsdams 1 fbi_ci_db.pg_catalog.pg_shdepend 1 zemm_produktiv_7.public.scoresheet_diary 1 zemm_produktiv_7.public.sys_screens 1 zemm_produktiv_8.public.login_tracker 1 zemm_produktiv_7.public.roles_users 1 zemm_produktiv_7.public.license_history 1 zemm_produktiv_7.public.groups 1 zemm_produktiv_7.public.locations 1 zemm_produktiv_7.pg_catalog.pg_constraint 1 zemm_produktiv_7.public.tasks 1 zemm_produktiv_7.public.breedings 1 template1.pg_catalog.pg_shdepend 1 zemm_produktiv_7.public.tmptasks 1 zemm_produktiv_8.public.monitoring_session_activity 1 zemm_produktiv_7.public.scoresheet_response 1 zemm_produktiv_7.public.litters 1 zemm_produktiv_7.public.targetgroupMembers 1 postgres.pg_catalog.pg_shdepend 1 zemm_produktiv_7.public.litters_search_mview 1 zemm_produktiv_7.public.cost_history 1 Total 636 Vacuums per table
Key values
- pg_catalog.pg_type (53) Main table vacuumed on database zemm_produktiv_8
- 338 vacuums Total
Index Buffer usage Skipped WAL usage Frozen Table Vacuums scans hits misses dirtied pins frozen records full page bytes pages tuples zemm_produktiv_8.pg_catalog.pg_type 53 53 0 0 0 0 0 2,778 637 657,771 0 0 zemm_monitoring.pg_toast.pg_toast_67431 42 0 0 0 0 0 0 29,596 9,948 22,598,961 9,756 58,536 zemm_produktiv_8.pg_catalog.pg_attribute 40 40 0 0 0 0 0 5,254 1,807 1,205,530 0 0 zemm_produktiv_8.pg_catalog.pg_class 27 27 0 0 0 0 0 2,642 856 1,023,223 3 3 zemm_produktiv_8.public.breedingssires 27 0 0 0 0 0 0 3,998 545 1,752,102 0 0 zemm_produktiv_8.public.breedingsdams 26 0 0 0 0 0 0 5,148 689 2,339,548 0 0 zemm_produktiv_8.pg_catalog.pg_depend 20 20 0 0 0 0 0 2,474 742 845,456 0 0 zemm_produktiv_8.pg_toast.pg_toast_2619 13 13 0 0 0 0 0 2,461 608 3,258,625 142 456 zemm_produktiv_8.public.tasks 7 7 0 0 0 0 0 323,798 18,638 58,162,475 14,980 46,691 fbi_ci_db.pg_catalog.pg_shdepend 5 5 0 0 0 0 0 498 173 337,191 1 127 zemm_monitoring.pg_toast.pg_toast_2619 4 4 0 0 0 0 0 463 103 695,475 40 110 zemm_produktiv_7.pg_catalog.pg_type 3 3 0 0 0 0 0 140 32 37,355 5 109 zemm_produktiv_8.public.cages_search_mview 3 3 0 0 0 0 0 1,695 870 2,982,723 52 1,174 zemm_monitoring.pg_toast.pg_toast_67411 3 0 0 0 0 0 0 12,810 3,832 27,678,582 3,822 15,878 zemm_produktiv_8.pg_catalog.pg_statistic 3 3 0 0 0 0 0 613 201 633,980 113 336 bucardo.pg_catalog.pg_shdepend 3 3 0 0 0 0 0 275 91 178,978 0 0 zemm_produktiv_7.pg_catalog.pg_statistic 2 2 0 0 0 0 0 412 20 71,353 3 25 zemm_monitoring.pg_catalog.pg_shdepend 2 2 0 0 0 0 0 193 41 91,636 10 479 zemm_produktiv_8.public.tmptasks 2 2 0 0 0 0 0 139 53 25,934 0 0 zemm_monitoring.observability.db_top_queries 2 0 0 0 0 0 0 344,148 178,527 619,494,033 82,759 675,713 zemm_monitoring.observability.system_metrics 2 0 0 0 0 0 0 1,448 1,448 2,469,950 0 0 zemm_produktiv_7.public.cages_search_mview 2 1 0 0 0 0 0 360 53 63,317 0 0 zemm_monitoring.observability.metrics_timeseries 2 2 0 0 0 0 0 18,280 8,096 16,773,718 1,403 32,918 zemm_produktiv_7.public.litters 1 0 0 0 0 0 0 1,084 4 64,612 0 0 zemm_produktiv_7.public.tmptasks 1 0 0 0 0 0 0 107 6 7,324 0 0 zemm_produktiv_7.public.cost_history 1 0 0 0 0 0 0 9,355 6 552,827 0 0 zemm_produktiv_7.public.litters_search_mview 1 0 0 0 0 0 0 2,499 4 148,097 0 0 zemm_produktiv_7.public.targetgroupMembers 1 0 0 0 0 0 0 42,188 5 2,489,817 0 0 zemm_produktiv_8.public.cost_history 1 1 0 0 0 0 0 9,809 5,248 12,542,674 364 10,006 zemm_test_3.pg_catalog.pg_shdepend 1 1 0 0 0 0 0 89 21 45,520 0 0 zemm_produktiv_7.public.license_history 1 0 0 0 0 0 0 174 6 11,089 0 0 zemm_produktiv_7.public.breedings 1 0 0 0 0 0 0 226 6 14,435 0 0 zemm_produktiv_7.public.tasks 1 0 0 0 0 0 0 8,705 6 514,477 0 0 zemm_produktiv_8.public.users 1 1 0 0 0 0 0 191 86 211,297 52 118 zemm_produktiv_7.pg_catalog.pg_constraint 1 1 0 0 0 0 0 78 15 18,136 0 0 zemm_produktiv_7.public.breedingsdams 1 0 0 0 0 0 0 202 6 12,741 0 0 zemm_produktiv_7.public.scoresheet_diary 1 0 0 0 0 0 0 10 4 1,246 0 0 zemm_monitoring.observability.app_events 1 0 0 0 0 0 0 13,901 13,713 17,609,065 0 0 zemm_produktiv_7.pg_catalog.pg_class 1 1 0 0 0 0 0 94 9 19,838 0 0 zemm_produktiv_7.public.litter_history 1 0 0 0 0 0 0 1,680 4 99,776 0 0 zemm_produktiv_7.public.login_tracker 1 0 0 0 0 0 0 3,327 4 196,949 0 0 zemm_produktiv_7.pg_catalog.pg_sequence 1 1 0 0 0 0 0 15 6 3,751 0 0 zemm_produktiv_7.pg_toast.pg_toast_1255 1 1 0 0 0 0 0 84 12 69,147 0 0 zemm_monitoring.observability.nginx_counters 1 0 0 0 0 0 0 347 347 571,981 0 0 zemm_produktiv_7.public.targetgroups 1 0 0 0 0 0 0 16,131 7 952,724 0 0 zemm_produktiv_7.pg_catalog.pg_attribute 1 1 0 0 0 0 0 488 11 81,283 0 0 zemm_produktiv_7.public.stresslevel_response 1 0 0 0 0 0 0 16 6 1,754 0 0 zemm_produktiv_7.public.tasks_changes 1 0 0 0 0 0 0 3,786 4 224,030 0 0 zemm_produktiv_7.public.fem_numbers 1 0 0 0 0 0 0 1,012 4 60,369 0 0 zemm_produktiv_7.pg_catalog.pg_attrdef 1 1 0 0 0 0 0 38 1 3,547 0 0 zemm_produktiv_7.public.breedingssires 1 0 0 0 0 0 0 152 6 9,790 0 0 zemm_produktiv_7.public.taskattachment 1 0 0 0 0 0 0 298 6 18,816 0 0 zemm_produktiv_7.public.animals 1 0 0 0 0 0 0 15,948 7 941,927 0 0 zemm_produktiv_7.public.scoresheet_answer 1 0 0 0 0 0 0 36 6 2,968 0 0 zemm_produktiv_7.public.users 1 0 0 0 0 0 0 66 6 4,817 0 0 zemm_monitoring.observability.phpfpm_counters 1 0 0 0 0 0 0 754 754 726,150 0 0 zemm_produktiv_7.public.groupMembers 1 0 0 0 0 0 0 9 4 1,187 0 0 zemm_produktiv_7.pg_catalog.pg_trigger 1 1 0 0 0 0 0 57 13 13,325 0 0 zemm_produktiv_7.public.licenses 1 0 0 0 0 0 0 25 6 2,319 0 0 zemm_produktiv_7.public.cages 1 0 0 0 0 0 0 185 6 12,005 0 0 zemm_produktiv_7.pg_toast.pg_toast_2619 1 1 0 0 0 0 0 309 9 62,818 0 0 zemm_produktiv_7.pg_catalog.pg_index 1 1 0 0 0 0 0 30 2 5,615 0 0 zemm_produktiv_7.public.strains 1 0 0 0 0 0 0 61 6 4,504 0 0 zemm_produktiv_7.pg_catalog.pg_depend 1 1 0 0 0 0 0 205 24 63,694 0 0 zemm_produktiv_7.public.animals_search_mview 1 0 0 0 0 0 0 23,018 9 1,359,283 0 0 zemm_produktiv_7.public.diary 1 0 0 0 0 0 0 31,746 11 1,874,461 0 0 zemm_produktiv_7.public.user_ui_prefs 1 0 0 0 0 0 0 117 6 8,122 0 0 zemm_produktiv_7.public.monitoring_session_activity 1 0 0 0 0 0 0 1,074 4 64,022 0 0 Total 338 203 0 0 0 0 0 949,349 248,446 805,082,245 113,505 842,679 Vacuum throughput per table
Key values
- observability.db_top_queries (49.22) Max CPU elapsed for vacuum on database zemm_monitoring
- observability.db_top_queries (32.166 ms) Max I/O read time for vacuum on database zemm_monitoring
- public.cost_history (2.401 ms) Max I/O write time for vacuum on database zemm_monitoring
I/O timing (ms) CPU (s) Table read write elapsed zemm_produktiv_8.pg_catalog.pg_type 0 0 0 zemm_monitoring.pg_toast.pg_toast_67431 0.924 0 2.19 zemm_produktiv_8.pg_catalog.pg_attribute 0 0 0.39 zemm_produktiv_8.pg_catalog.pg_class 0 0 0.05 zemm_produktiv_8.public.breedingssires 0 0.724 0 zemm_produktiv_8.public.breedingsdams 0 0.421 0 zemm_produktiv_8.pg_catalog.pg_depend 0 0 0.15 zemm_produktiv_8.pg_toast.pg_toast_2619 0 0 0.12 zemm_produktiv_8.public.tasks 0 0 4.49 fbi_ci_db.pg_catalog.pg_shdepend 0 0 0.05 zemm_monitoring.pg_toast.pg_toast_2619 0 0 0 zemm_produktiv_7.pg_catalog.pg_type 0.313 0.041 0 zemm_produktiv_8.public.cages_search_mview 0 0 0.22 zemm_monitoring.pg_toast.pg_toast_67411 0.95 0 0.96 zemm_produktiv_8.pg_catalog.pg_statistic 0 0 0.04 bucardo.pg_catalog.pg_shdepend 0 0 0.01 zemm_produktiv_7.pg_catalog.pg_statistic 0.521 0 0 zemm_monitoring.pg_catalog.pg_shdepend 0 0 0.01 zemm_produktiv_8.public.tmptasks 0 0 0.01 zemm_monitoring.observability.db_top_queries 32.166 0.203 49.22 zemm_monitoring.observability.system_metrics 0.587 0 0.35 zemm_produktiv_7.public.cages_search_mview 0.187 0.067 0.02 zemm_monitoring.observability.metrics_timeseries 11.008 1.861 2.49 zemm_produktiv_7.public.litters 0 0.035 0.02 zemm_produktiv_7.public.tmptasks 0.014 0.036 0 zemm_produktiv_7.public.cost_history 0 0.099 1.77 zemm_produktiv_7.public.litters_search_mview 0.044 0.036 0.16 zemm_produktiv_7.public.targetgroupMembers 0 0.361 13.75 zemm_produktiv_8.public.cost_history 21.965 2.401 1.45 zemm_test_3.pg_catalog.pg_shdepend 0 0 0 zemm_produktiv_7.public.license_history 0 0.031 0 zemm_produktiv_7.public.breedings 0 0.063 0.01 zemm_produktiv_7.public.tasks 0 0.091 1.57 zemm_produktiv_8.public.users 0 0 0.02 zemm_produktiv_7.pg_catalog.pg_constraint 0.287 0.026 0 zemm_produktiv_7.public.breedingsdams 0 0.038 0.01 zemm_produktiv_7.public.scoresheet_diary 0 0.042 0 zemm_monitoring.observability.app_events 0 0 3.24 zemm_produktiv_7.pg_catalog.pg_class 0.081 0 0 zemm_produktiv_7.public.litter_history 0 0.043 0.04 zemm_produktiv_7.public.login_tracker 0 0.039 0.35 zemm_produktiv_7.pg_catalog.pg_sequence 0 0 0 zemm_produktiv_7.pg_toast.pg_toast_1255 0.494 0 0 zemm_monitoring.observability.nginx_counters 0 0 0.08 zemm_produktiv_7.public.targetgroups 0 0.125 3.41 zemm_produktiv_7.pg_catalog.pg_attribute 0.336 0 0.01 zemm_produktiv_7.public.stresslevel_response 0 0.039 0 zemm_produktiv_7.public.tasks_changes 0.06 0.036 0.47 zemm_produktiv_7.public.fem_numbers 0.037 0.035 0.02 zemm_produktiv_7.pg_catalog.pg_attrdef 0 0 0 zemm_produktiv_7.public.breedingssires 0 0.037 0 zemm_produktiv_7.public.taskattachment 0.012 0.036 0.01 zemm_produktiv_7.public.animals 0 0.134 3.27 zemm_produktiv_7.public.scoresheet_answer 0 0.037 0 zemm_produktiv_7.public.users 0 0.036 0 zemm_monitoring.observability.phpfpm_counters 0 0 0.18 zemm_produktiv_7.public.groupMembers 0 0.035 0 zemm_produktiv_7.pg_catalog.pg_trigger 0.288 0.027 0 zemm_produktiv_7.public.licenses 0 0.041 0 zemm_produktiv_7.public.cages 0 0.038 0.01 zemm_produktiv_7.pg_toast.pg_toast_2619 0.491 0 0 zemm_produktiv_7.pg_catalog.pg_index 0 0 0 zemm_produktiv_7.public.strains 0.037 0.035 0 zemm_produktiv_7.pg_catalog.pg_depend 0.842 0 0.01 zemm_produktiv_7.public.animals_search_mview 0.056 0.184 9.65 zemm_produktiv_7.public.diary 0 0.246 6.98 zemm_produktiv_7.public.user_ui_prefs 0 0.054 0.02 zemm_produktiv_7.public.monitoring_session_activity 0 0.039 0.02 Total 71.7 7.872 107.3 Tuples removed per table
Key values
- public.tasks (374591) Main table with removed tuples on database zemm_produktiv_8
- 549167 tuples Total removed
Index Tuples Pages Table Vacuums scans removed remain not yet removable removed remain zemm_produktiv_8.public.tasks 7 7 374,591 396,340 0 0 116,595 zemm_monitoring.observability.metrics_timeseries 2 2 75,536 576,443 0 0 12,310 zemm_produktiv_8.pg_catalog.pg_attribute 40 40 40,329 228,239 0 0 7,360 zemm_produktiv_8.pg_catalog.pg_depend 20 20 17,377 83,420 0 0 1,100 zemm_produktiv_8.pg_catalog.pg_type 53 53 10,620 44,043 0 0 1,643 zemm_produktiv_8.public.cost_history 1 1 8,479 668,987 0 0 11,117 zemm_produktiv_8.pg_catalog.pg_class 27 27 4,202 24,138 0 0 1,134 zemm_produktiv_7.pg_catalog.pg_attribute 1 1 3,824 5,733 0 0 190 zemm_produktiv_7.pg_catalog.pg_depend 1 1 2,722 4,171 0 0 51 fbi_ci_db.pg_catalog.pg_shdepend 5 5 2,199 19,245 0 0 190 zemm_produktiv_8.pg_toast.pg_toast_2619 13 13 1,436 3,722 0 0 1,378 zemm_monitoring.pg_catalog.pg_shdepend 2 2 1,223 7,698 0 0 76 bucardo.pg_catalog.pg_shdepend 3 3 1,077 11,547 0 0 114 zemm_produktiv_8.pg_catalog.pg_statistic 3 3 826 3,813 0 0 432 zemm_produktiv_7.pg_catalog.pg_statistic 2 2 813 1,512 0 0 192 zemm_produktiv_7.pg_catalog.pg_type 3 3 604 2,493 0 0 81 zemm_test_3.pg_catalog.pg_shdepend 1 1 517 3,849 0 0 38 zemm_produktiv_7.public.cages_search_mview 2 1 476 25,252 0 47 450 zemm_produktiv_7.pg_catalog.pg_constraint 1 1 367 605 0 9 15 zemm_produktiv_7.pg_toast.pg_toast_2619 1 1 344 255 0 0 130 zemm_produktiv_7.pg_catalog.pg_trigger 1 1 303 323 0 7 7 zemm_monitoring.pg_toast.pg_toast_2619 4 4 265 322 0 0 148 zemm_produktiv_7.pg_catalog.pg_index 1 1 207 388 0 0 14 zemm_produktiv_8.public.users 1 1 179 755 0 0 108 zemm_produktiv_8.public.cages_search_mview 3 3 172 40,887 0 0 672 zemm_produktiv_8.public.tmptasks 2 2 164 1,665 0 7 230 zemm_produktiv_7.pg_catalog.pg_attrdef 1 1 141 143 0 0 15 zemm_produktiv_7.pg_catalog.pg_sequence 1 1 90 88 0 1 2 zemm_produktiv_7.pg_toast.pg_toast_1255 1 1 84 45 0 0 30 zemm_produktiv_7.public.litters 1 0 0 93,714 0 0 1,104 zemm_produktiv_7.public.tmptasks 1 0 0 1,004 0 45 99 zemm_produktiv_7.public.cost_history 1 0 0 725,411 0 0 9,392 zemm_produktiv_7.public.litters_search_mview 1 0 0 93,716 0 0 2,512 zemm_produktiv_7.public.targetgroupMembers 1 0 0 6,622,882 0 0 42,224 zemm_produktiv_8.public.breedingsdams 26 0 0 789,824 0 0 5,044 zemm_produktiv_7.public.license_history 1 0 0 22,535 0 26 166 zemm_produktiv_7.public.breedings 1 0 0 22,467 0 54 218 zemm_produktiv_7.public.tasks 1 0 0 56,614 0 0 8,720 zemm_produktiv_7.public.breedingsdams 1 0 0 30,373 0 46 194 zemm_monitoring.pg_toast.pg_toast_67431 42 0 0 11,190,552 0 0 1,872,078 zemm_produktiv_7.public.scoresheet_diary 1 0 0 1,057 0 0 6 zemm_monitoring.observability.app_events 1 0 0 667,267 0 0 55,153 zemm_produktiv_7.pg_catalog.pg_class 1 1 0 894 0 0 39 zemm_produktiv_8.public.breedingssires 27 0 0 607,057 0 0 3,888 zemm_produktiv_7.public.litter_history 1 0 0 181,446 0 0 1,680 zemm_monitoring.pg_toast.pg_toast_67411 3 0 0 187,211 0 0 45,047 zemm_produktiv_7.public.login_tracker 1 0 0 89,518 0 0 3,336 zemm_monitoring.observability.nginx_counters 1 0 0 58,522 0 0 1,663 zemm_produktiv_7.public.targetgroups 1 0 0 2,297,054 0 0 16,128 zemm_produktiv_7.public.stresslevel_response 1 0 0 1,663 0 2 8 zemm_produktiv_7.public.tasks_changes 1 0 0 348,474 0 0 3,800 zemm_produktiv_7.public.fem_numbers 1 0 0 120,932 0 0 1,032 zemm_produktiv_7.public.breedingssires 1 0 0 22,479 0 32 144 zemm_produktiv_7.public.taskattachment 1 0 0 16,618 0 54 290 zemm_produktiv_7.public.animals 1 0 0 606,266 0 0 15,968 zemm_produktiv_7.public.scoresheet_answer 1 0 0 3,387 0 4 28 zemm_produktiv_7.public.users 1 0 0 755 0 14 58 zemm_monitoring.observability.phpfpm_counters 1 0 0 58,545 0 0 3,621 zemm_produktiv_7.public.groupMembers 1 0 0 767 0 0 5 zemm_produktiv_7.public.licenses 1 0 0 633 0 15 17 zemm_produktiv_7.public.cages 1 0 0 13,626 0 47 177 zemm_monitoring.observability.db_top_queries 2 0 0 14,331,242 0 0 1,564,187 zemm_monitoring.observability.system_metrics 2 0 0 54,240 0 0 6,794 zemm_produktiv_7.public.strains 1 0 0 2,264 0 11 53 zemm_produktiv_7.public.animals_search_mview 1 0 0 606,266 0 0 23,048 zemm_produktiv_7.public.diary 1 0 0 2,222,801 0 0 31,776 zemm_produktiv_7.public.user_ui_prefs 1 0 0 743 0 29 107 zemm_produktiv_7.public.monitoring_session_activity 1 0 0 89,518 0 0 1,096 Total 338 203 549,167 44,396,458 0 450 3,876,722 Pages removed per table
Key values
- public.breedings (54) Main table with removed pages on database zemm_produktiv_7
- 450 pages Total removed
Table Number of vacuums Index scans Tuples removed Pages removed zemm_produktiv_7.public.breedings 1 0 0 54 zemm_produktiv_7.public.taskattachment 1 0 0 54 zemm_produktiv_7.public.cages 1 0 0 47 zemm_produktiv_7.public.cages_search_mview 2 1 476 47 zemm_produktiv_7.public.breedingsdams 1 0 0 46 zemm_produktiv_7.public.tmptasks 1 0 0 45 zemm_produktiv_7.public.breedingssires 1 0 0 32 zemm_produktiv_7.public.user_ui_prefs 1 0 0 29 zemm_produktiv_7.public.license_history 1 0 0 26 zemm_produktiv_7.public.licenses 1 0 0 15 zemm_produktiv_7.public.users 1 0 0 14 zemm_produktiv_7.public.strains 1 0 0 11 zemm_produktiv_7.pg_catalog.pg_constraint 1 1 367 9 zemm_produktiv_8.public.tmptasks 2 2 164 7 zemm_produktiv_7.pg_catalog.pg_trigger 1 1 303 7 zemm_produktiv_7.public.scoresheet_answer 1 0 0 4 zemm_produktiv_7.public.stresslevel_response 1 0 0 2 zemm_produktiv_7.pg_catalog.pg_sequence 1 1 90 1 zemm_produktiv_7.public.litters 1 0 0 0 zemm_produktiv_7.pg_catalog.pg_type 3 3 604 0 zemm_produktiv_7.public.cost_history 1 0 0 0 zemm_produktiv_7.public.litters_search_mview 1 0 0 0 zemm_produktiv_8.pg_catalog.pg_attribute 40 40 40329 0 zemm_produktiv_7.public.targetgroupMembers 1 0 0 0 zemm_produktiv_8.public.cost_history 1 1 8479 0 zemm_produktiv_8.public.breedingsdams 26 0 0 0 zemm_test_3.pg_catalog.pg_shdepend 1 1 517 0 zemm_produktiv_8.public.tasks 7 7 374591 0 zemm_produktiv_7.pg_catalog.pg_statistic 2 2 813 0 zemm_produktiv_8.pg_catalog.pg_class 27 27 4202 0 zemm_produktiv_7.public.tasks 1 0 0 0 zemm_produktiv_8.public.users 1 1 179 0 fbi_ci_db.pg_catalog.pg_shdepend 5 5 2199 0 zemm_monitoring.pg_toast.pg_toast_67431 42 0 0 0 zemm_produktiv_7.public.scoresheet_diary 1 0 0 0 zemm_produktiv_8.pg_catalog.pg_depend 20 20 17377 0 zemm_monitoring.observability.app_events 1 0 0 0 zemm_produktiv_7.pg_catalog.pg_class 1 1 0 0 zemm_produktiv_8.public.cages_search_mview 3 3 172 0 zemm_produktiv_8.public.breedingssires 27 0 0 0 zemm_produktiv_7.public.litter_history 1 0 0 0 zemm_monitoring.pg_toast.pg_toast_67411 3 0 0 0 zemm_produktiv_7.public.login_tracker 1 0 0 0 zemm_produktiv_7.pg_toast.pg_toast_1255 1 1 84 0 zemm_monitoring.observability.nginx_counters 1 0 0 0 zemm_produktiv_7.public.targetgroups 1 0 0 0 zemm_produktiv_7.pg_catalog.pg_attribute 1 1 3824 0 zemm_produktiv_7.public.tasks_changes 1 0 0 0 zemm_produktiv_7.public.fem_numbers 1 0 0 0 zemm_produktiv_7.pg_catalog.pg_attrdef 1 1 141 0 zemm_monitoring.pg_catalog.pg_shdepend 2 2 1223 0 zemm_produktiv_7.public.animals 1 0 0 0 zemm_produktiv_8.pg_catalog.pg_statistic 3 3 826 0 zemm_monitoring.observability.phpfpm_counters 1 0 0 0 zemm_produktiv_7.public.groupMembers 1 0 0 0 zemm_produktiv_7.pg_toast.pg_toast_2619 1 1 344 0 zemm_produktiv_8.pg_toast.pg_toast_2619 13 13 1436 0 zemm_monitoring.observability.db_top_queries 2 0 0 0 bucardo.pg_catalog.pg_shdepend 3 3 1077 0 zemm_monitoring.observability.system_metrics 2 0 0 0 zemm_produktiv_7.pg_catalog.pg_index 1 1 207 0 zemm_produktiv_7.pg_catalog.pg_depend 1 1 2722 0 zemm_produktiv_7.public.animals_search_mview 1 0 0 0 zemm_monitoring.pg_toast.pg_toast_2619 4 4 265 0 zemm_monitoring.observability.metrics_timeseries 2 2 75536 0 zemm_produktiv_7.public.diary 1 0 0 0 zemm_produktiv_8.pg_catalog.pg_type 53 53 10620 0 zemm_produktiv_7.public.monitoring_session_activity 1 0 0 0 Total 338 203 549,167 450 Autovacuum Activity
↑ Back to the top of the Autovacuum Activity tableDay Hour VACUUMs ANALYZEs Mar 29 00 0 1 01 2 1 03 0 0 04 0 0 05 0 0 06 1 0 07 0 0 08 0 0 09 0 0 10 1 0 11 0 0 12 1 1 13 1 0 14 0 0 15 0 1 16 0 0 17 1 0 18 1 1 19 0 0 20 4 6 21 8 10 22 0 0 23 0 0 Mar 30 00 0 0 01 2 1 02 0 0 03 0 0 04 1 0 05 0 0 06 7 18 07 2 8 08 3 7 09 2 5 10 2 3 11 2 8 12 5 14 13 11 27 14 5 19 15 3 8 16 6 16 17 2 7 18 0 0 19 0 5 20 2 0 21 0 0 22 0 0 23 1 0 Mar 31 00 1 0 01 1 2 02 0 0 03 1 0 04 0 1 05 1 0 06 5 11 07 5 16 08 17 27 09 5 16 10 10 22 11 49 66 12 5 16 13 4 12 14 3 9 15 4 11 16 1 4 17 2 5 18 1 1 19 1 0 20 0 1 21 0 0 22 0 0 23 1 1 Apr 01 00 0 0 01 2 1 02 1 0 03 0 0 04 0 0 05 0 0 06 3 2 07 2 9 08 19 40 09 5 7 10 1 6 11 7 13 12 13 19 13 7 12 14 3 7 15 1 3 16 1 7 17 0 0 18 1 3 19 1 2 20 0 0 21 0 0 22 1 0 23 0 0 Apr 02 00 0 0 01 1 1 02 1 0 03 0 0 04 0 0 05 0 0 06 7 18 07 2 6 08 17 20 09 2 12 10 4 9 11 2 6 12 3 5 13 3 4 14 3 6 15 0 1 16 2 4 17 0 0 18 1 1 19 0 0 20 0 0 21 0 1 22 1 0 23 0 0 Apr 03 00 0 0 01 1 1 02 1 0 03 0 0 04 0 0 05 0 0 06 1 0 07 0 0 08 3 4 09 2 3 10 1 2 11 0 1 12 0 0 13 1 0 14 1 2 15 1 0 16 0 0 17 1 2 18 2 4 19 1 0 20 0 0 21 0 0 22 0 0 23 1 0 Apr 04 00 0 0 01 2 1 02 0 0 03 1 0 04 0 0 05 0 0 06 0 1 07 2 0 08 1 0 09 0 0 10 0 0 11 1 0 12 1 1 13 0 0 14 0 0 15 0 0 16 2 0 17 0 0 18 0 0 19 0 0 20 1 0 21 0 0 22 0 1 23 0 0 - 26.32 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
- 465 Total read queries
- 132,181 Total write queries
Queries by database
Key values
- zemm_monitoring Main database
- 130,640 Requests
- 3d16h22m36s (zemm_monitoring)
- Main time consuming database
Database Request type Count Duration zemm_monitoring Total 130,640 3d16h22m36s cte 342 17m52s ddl 130,247 3d16h3m54s select 49 48s288ms tcl 2 1s129ms zemm_produktiv_7 Total 1,671 32m7s copy from 8 18s286ms copy to 16 44s171ms cte 29 1m46s ddl 1,414 18m54s others 166 1m28s select 21 6m11s zemm_produktiv_8 Total 518 13m5s copy to 76 2m39s cte 33 59s584ms ddl 7 3s809ms select 395 9m14s update 7 7s355ms Queries by user
Key values
- labanimal Main user
- 1,081,510 Requests
User Request type Count Duration deploy Total 289 41m56s cte 8 2m36s ddl 161 16m13s others 90 5m57s select 18 12m7s labanimal Total 1,081,510 31d4h42m14s copy from 36 4m11s copy to 258 12m11s cte 5,927 6h36m17s ddl 1,069,876 30d20h11m35s others 832 14m23s select 4,474 1h21m38s tcl 13 10s398ms update 51 54s820ms postgres Total 266 6m3s copy to 266 6m3s Duration by user
Key values
- 31d4h42m14s (labanimal) Main time consuming user
User Request type Count Duration deploy Total 289 41m56s cte 8 2m36s ddl 161 16m13s others 90 5m57s select 18 12m7s labanimal Total 1,081,510 31d4h42m14s copy from 36 4m11s copy to 258 12m11s cte 5,927 6h36m17s ddl 1,069,876 30d20h11m35s others 832 14m23s select 4,474 1h21m38s tcl 13 10s398ms update 51 54s820ms postgres Total 266 6m3s copy to 266 6m3s Queries by host
Key values
- unknown Main host
- 1,081,455 Requests
- 31d4h35m19s (unknown)
- Main time consuming host
Host Request type Count Duration 127.0.0.1 Total 2 6s311ms ddl 2 6s311ms 81.169.238.237 Total 53 6m48s select 2 5m53s update 51 54s820ms [local] Total 555 48m copy to 266 6m3s cte 8 2m36s ddl 161 16m13s others 90 5m57s select 18 12m7s unknown Total 1,081,455 31d4h35m19s copy from 36 4m11s copy to 258 12m11s cte 5,927 6h36m17s ddl 1,069,874 30d20h11m29s others 832 14m23s select 4,472 1h15m45s tcl 13 10s398ms Queries by application
Key values
- unknown Main application
- 130,648 Requests
- 3d16h22m43s (unknown)
- Main time consuming application
Application Request type Count Duration _desktop_index.php_command_tasks_subcommand_select_tasks_zemm_p Total 2 2s865ms select 2 2s865ms _desktop_index.php_m_action_cages_3Am_cage_card_row_7390_7390_r Total 2 1s101ms cte 2 1s101ms _desktop_index.php_view_animal_name_on_view_animal_id_on_specie Total 2 1s558ms select 2 1s558ms _desktop_index.php_view_animal_name_on_view_animal_id_on_view_b Total 4 2s781ms select 4 2s781ms _desktop_index.php_zemm_produktiv_7_localhost_5432 Total 37 37s393ms cte 26 29s320ms select 11 8s72ms _desktop_index.php_zemm_produktiv_8_localhost_5432 Total 409 7m1s cte 30 57s413ms select 379 6m4s expire_tasks:zemm_produktiv_8@h2940066.stratoserver.net:5432 Total 7 7s355ms update 7 7s355ms pg_dump Total 92 3m23s copy to 92 3m23s pg_restore Total 1,576 16m33s copy from 8 18s286ms ddl 1,393 14m35s others 164 1m26s psql Total 49 14m18s cte 4 1m18s ddl 28 4m23s others 2 1s624ms select 9 6m3s strainscron:zemm_produktiv_8@h2940066.stratoserver.net:5432 Total 1 2m56s select 1 2m56s unknown Total 130,648 3d16h22m43s cte 342 17m52s ddl 130,247 3d16h3m54s select 57 54s905ms tcl 2 1s129ms Number of cancelled queries
Key values
- 1 per second Cancelled query Peak
- 2026-04-02 10:32:30 Date
Number of cancelled queries (5 minutes period)
NO DATASET
Queries generating the most cancellation (N)
Rank Count Query 1 1 with recent_users as ( select distinct on (lt."user") lt."user" as user_id, max(lt.timestamp) over (partition by lt."user") as last_seen from login_tracker lt join users u on u.id = lt."user" where lt.timestamp >= now() - interval ? and coalesce(u.deleted, false) = false order by lt."user", max(lt.timestamp) over (partition by lt."user") desc ), top_users as ( select user_id, last_seen from recent_users order by last_seen desc limit ? ) select tu.user_id, to_char(tu.last_seen, ?) as last_seen, min(u.role) as role, count(*) filter (where a.comments ilike ? and animal_readable (a.id, tu.user_id)) as readable_contains, count(*) filter (where a.comments like ? and animal_readable (a.id, tu.user_id)) as readable_bracket from top_users tu join users u on u.id = tu.user_id join animals a on true group by tu.user_id, tu.last_seen order by tu.last_seen desc; -
Top Queries
Histogram of query times
Key values
- 544 1000-10000ms duration
Slowest individual queries
Rank Duration Query 1 2m56s SELECT str.name AS Linie, str.comments AS Eigentuemer, ( SELECT COUNT(a.animal_id) FROM animals_search_mview a WHERE a.alive = 't' AND a.deleted = 'f' AND a.strain = str.name AND a.outgoing_date IS NULL AND a.death_date IS NULL) AS tiere_lebend, ( SELECT MAX(a.death_date) FROM animals_search_mview a WHERE a.deleted = 'f' AND a.strain = str.name) AS zuletzt_gestorbenes_tier, ( SELECT MAX(a.outgoing_date) FROM animals_search_mview a WHERE a.alive = 't' AND a.deleted = 'f' AND a.strain = str.name) AS zuletzt_lebend_verlassenes_Tier FROM strains str WHERE str.deleted = '0' AND str.active = '1' GROUP BY str.name, str.comments;[ Date: 2026-04-01 23:02:57 - Database: zemm_produktiv_8 - User: labanimal - Remote: 81.169.238.237 - Application: strainscron:zemm_produktiv_8@h2940066.stratoserver.net:5432 ]
2 2m56s CREATE SCHEMA IF NOT EXISTS observability;[ Date: 2026-04-01 23:03:01 - Database: zemm_monitoring - User: labanimal ]
3 2m56s 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-04-01 23:03:01 - Database: zemm_monitoring - User: labanimal ]
4 2m56s CREATE INDEX IF NOT EXISTS idx_metrics_timeseries_bucket ON observability.metrics_timeseries (bucket_start);[ Date: 2026-04-01 23:03:01 - Database: zemm_monitoring - User: labanimal ]
5 2m56s CREATE INDEX IF NOT EXISTS idx_metrics_timeseries_metric ON observability.metrics_timeseries (metric_name);[ Date: 2026-04-01 23:03:01 - Database: zemm_monitoring - User: labanimal ]
6 2m56s 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-04-01 23:03:01 - Database: zemm_monitoring - User: labanimal ]
7 2m56s CREATE INDEX IF NOT EXISTS idx_app_events_tenant ON observability.app_events (tenant_key, occurred_at DESC);[ Date: 2026-04-01 23:03:01 - Database: zemm_monitoring - User: labanimal ]
8 2m56s CREATE INDEX IF NOT EXISTS idx_app_events_type ON observability.app_events (event_type);[ Date: 2026-04-01 23:03:01 - Database: zemm_monitoring - User: labanimal ]
9 2m56s 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-04-01 23:03:01 - Database: zemm_monitoring - User: labanimal ]
10 2m56s CREATE INDEX IF NOT EXISTS idx_db_top_queries_tenant ON observability.db_top_queries (tenant_key, collected_at DESC);[ Date: 2026-04-01 23:03:01 - Database: zemm_monitoring - User: labanimal ]
11 2m56s 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-04-01 23:03:01 - Database: zemm_monitoring - User: labanimal ]
12 2m56s 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-04-01 23:03:01 - Database: zemm_monitoring - User: labanimal ]
13 2m56s 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-04-01 23:03:01 - Database: zemm_monitoring - User: labanimal ]
14 2m56s 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-04-01 23:03:01 - Database: zemm_monitoring - User: labanimal ]
15 2m56s CREATE SCHEMA IF NOT EXISTS observability;[ Date: 2026-04-01 23:04:01 - Database: zemm_monitoring - User: labanimal ]
16 2m56s 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-04-01 23:04:01 - Database: zemm_monitoring - User: labanimal ]
17 2m56s CREATE INDEX IF NOT EXISTS idx_metrics_timeseries_bucket ON observability.metrics_timeseries (bucket_start);[ Date: 2026-04-01 23:04:01 - Database: zemm_monitoring - User: labanimal ]
18 2m56s CREATE INDEX IF NOT EXISTS idx_metrics_timeseries_metric ON observability.metrics_timeseries (metric_name);[ Date: 2026-04-01 23:04:01 - Database: zemm_monitoring - User: labanimal ]
19 2m56s 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-04-01 23:04:01 - Database: zemm_monitoring - User: labanimal ]
20 2m56s CREATE INDEX IF NOT EXISTS idx_app_events_tenant ON observability.app_events (tenant_key, occurred_at DESC);[ Date: 2026-04-01 23:04:01 - Database: zemm_monitoring - User: labanimal ]
Time consuming queries (N)
Rank Total duration Times executed Min duration Max duration Avg duration Query 1 6h46m27s 10,019 508ms 2m56s 2s434ms create index if not exists idx_metrics_timeseries_metric on observability.metrics_timeseries (metric_name);Times Reported Time consuming queries #1
Day Hour Count Duration Avg duration Mar 29 00 60 0ms 0ms 01 60 37s149ms 619ms 04 60 1m16s 1s281ms 05 60 1m16s 1s281ms 06 60 1m16s 1s281ms 07 60 1m16s 1s281ms 08 60 1m16s 1s281ms 09 60 1m16s 1s281ms 10 60 1m16s 1s281ms 11 60 1m16s 1s281ms 12 60 1m16s 1s281ms 13 60 1m16s 1s281ms 14 60 45s854ms 764ms 15 60 41s759ms 695ms 16 60 41s759ms 695ms 17 60 41s759ms 695ms 18 60 41s759ms 695ms 19 60 41s759ms 695ms 20 60 41s759ms 695ms 21 60 45s329ms 755ms 22 60 40s125ms 668ms 23 60 35s338ms 588ms 00 60 38s720ms 645ms Mar 30 01 60 1m26s 1s434ms 02 60 28s358ms 472ms 03 60 58s672ms 977ms 04 60 58s672ms 977ms 05 60 58s672ms 977ms 06 60 58s672ms 977ms 07 60 58s672ms 977ms 08 60 49s561ms 826ms 09 60 1m40s 1s676ms 10 60 2m 2s2ms 11 60 39s318ms 655ms 12 60 38s836ms 647ms 13 60 41s162ms 686ms 14 60 1m2s 1s47ms 15 60 2m17s 2s288ms 16 60 41s821ms 697ms 17 60 36s198ms 603ms 18 60 4m3s 4s61ms 19 60 7m51s 7s857ms 20 60 1m43s 1s717ms 21 60 49s437ms 823ms 22 60 49s339ms 822ms 23 60 49s339ms 822ms 00 60 51s491ms 858ms Mar 31 01 60 0ms 0ms 02 60 32s747ms 545ms 03 60 1m7s 1s129ms 04 60 1m7s 1s129ms 05 60 1m7s 1s129ms 06 60 1m7s 1s129ms 07 60 1m7s 1s129ms 08 60 1m7s 1s129ms 09 60 1m 1s9ms 10 60 1m 1s10ms 11 60 38s794ms 646ms 12 60 2m1s 2s28ms 13 60 35s485ms 591ms 14 60 37s774ms 629ms 15 60 1m21s 1s364ms 16 60 1m16s 1s275ms 17 60 1m21s 1s355ms 18 60 1m6s 1s104ms 19 60 49s253ms 820ms 20 60 50s319ms 838ms 21 60 50s134ms 835ms 22 60 48s735ms 812ms 23 60 48s735ms 812ms 00 60 48s188ms 803ms Apr 01 01 60 0ms 0ms 02 60 28s345ms 472ms 03 60 58s645ms 977ms 04 60 58s645ms 977ms 05 60 58s645ms 977ms 06 60 51s621ms 860ms 07 60 43s594ms 726ms 08 60 49s114ms 818ms 09 60 46s748ms 779ms 10 60 36s117ms 601ms 11 60 38s366ms 639ms 12 60 42s239ms 703ms 13 60 57s755ms 962ms 14 60 41s664ms 694ms 15 60 54s716ms 911ms 16 60 44s519ms 741ms 17 60 39s362ms 656ms 18 60 39s148ms 652ms 19 60 39s949ms 665ms 20 60 50s172ms 836ms 21 60 53s17ms 883ms 22 60 56s42ms 934ms 23 60 48s60ms 801ms 00 60 2h36m11s 2m36s Apr 02 01 60 0ms 0ms 02 60 29s646ms 494ms 03 60 1m1s 1s22ms 04 60 1m1s 1s22ms 05 60 1m1s 1s22ms 06 60 1m1s 1s22ms 07 60 51s81ms 851ms 08 60 2m17s 2s289ms 09 60 1m18s 1s313ms 10 60 43s182ms 719ms 11 60 40m43s 40s727ms 12 60 24m40s 24s683ms 13 60 48s109ms 801ms 14 60 1m12s 1s210ms 15 60 52s729ms 878ms 16 60 44s765ms 746ms 17 60 44s765ms 746ms 18 60 44s765ms 746ms 19 60 44s765ms 746ms 20 60 44s765ms 746ms 21 60 44s765ms 746ms 22 60 44s765ms 746ms 23 60 44s765ms 746ms 00 60 47s184ms 786ms Apr 03 01 60 0ms 0ms 02 60 26s747ms 445ms 03 60 55s340ms 922ms 04 60 55s340ms 922ms 05 60 55s340ms 922ms 06 60 55s340ms 922ms 07 60 55s340ms 922ms 08 60 55s340ms 922ms 09 60 55s385ms 923ms 10 60 1m9s 1s162ms 11 60 1m38s 1s635ms 12 60 1m38s 1s635ms 13 60 1m38s 1s635ms 14 60 1m38s 1s635ms 15 60 1m38s 1s635ms 16 60 1m38s 1s635ms 17 60 1m38s 1s635ms 18 60 1m20s 1s345ms 19 60 40s450ms 674ms 20 60 40s526ms 675ms 21 60 40s526ms 675ms 22 60 40s526ms 675ms 23 60 40s526ms 675ms 00 60 43s238ms 720ms Apr 04 01 60 0ms 0ms 02 60 30s307ms 505ms 03 60 1m2s 1s45ms 04 60 1m2s 1s45ms 05 60 1m2s 1s45ms 06 60 1m2s 1s45ms 07 60 1m2s 1s45ms 08 60 47s763ms 796ms 09 60 32s820ms 547ms 10 60 32s820ms 547ms 11 60 34s314ms 571ms 12 60 34s727ms 578ms 13 60 3m8s 3s139ms 14 60 2m53s 2s897ms 15 60 2m58s 2s981ms 16 60 2m57s 2s957ms 17 60 2m40s 2s680ms 18 60 2m54s 2s902ms 19 60 2m57s 2s955ms 20 60 2m54s 2s908ms 21 60 2m59s 2s989ms 22 59 3m6s 3s162ms 23 60 2m56s 2s943ms 00 60 2m48s 2s806ms [ User: labanimal - Total duration: 6h46m27s - Times executed: 9442 ]
-
CREATE INDEX IF NOT EXISTS idx_metrics_timeseries_metric ON observability.metrics_timeseries (metric_name);
Date: 2026-04-01 23:55:01 Duration: 2m56s Database: zemm_monitoring User: labanimal Log file: /var/log/postgresql/postgresql-2026-04-01_000000.csv
-
CREATE INDEX IF NOT EXISTS idx_metrics_timeseries_metric ON observability.metrics_timeseries (metric_name);
Date: 2026-04-02 10:33:01 Duration: 1m23s Database: zemm_monitoring User: labanimal Log file: /var/log/postgresql/postgresql-2026-04-02_000000.csv
-
CREATE INDEX IF NOT EXISTS idx_metrics_timeseries_metric ON observability.metrics_timeseries (metric_name);
Date: 2026-04-02 11:17:01 Duration: 1m20s Database: zemm_monitoring User: labanimal Log file: /var/log/postgresql/postgresql-2026-04-02_000000.csv
2 6h46m27s 10,019 508ms 2m56s 2s434ms create index if not exists idx_app_events_tenant on observability.app_events (tenant_key, occurred_at desc);Times Reported Time consuming queries #2
Day Hour Count Duration Avg duration Mar 29 00 60 0ms 0ms 01 60 37s149ms 619ms 04 60 1m16s 1s281ms 05 60 1m16s 1s281ms 06 60 1m16s 1s281ms 07 60 1m16s 1s281ms 08 60 1m16s 1s281ms 09 60 1m16s 1s281ms 10 60 1m16s 1s281ms 11 60 1m16s 1s281ms 12 60 1m16s 1s281ms 13 60 1m16s 1s281ms 14 60 45s854ms 764ms 15 60 41s759ms 695ms 16 60 41s759ms 695ms 17 60 41s759ms 695ms 18 60 41s759ms 695ms 19 60 41s759ms 695ms 20 60 41s759ms 695ms 21 60 45s329ms 755ms 22 60 40s125ms 668ms 23 60 35s338ms 588ms 00 60 38s720ms 645ms Mar 30 01 60 1m26s 1s434ms 02 60 28s358ms 472ms 03 60 58s672ms 977ms 04 60 58s672ms 977ms 05 60 58s672ms 977ms 06 60 58s672ms 977ms 07 60 58s672ms 977ms 08 60 49s561ms 826ms 09 60 1m40s 1s676ms 10 60 2m 2s2ms 11 60 39s318ms 655ms 12 60 38s836ms 647ms 13 60 41s162ms 686ms 14 60 1m2s 1s47ms 15 60 2m17s 2s288ms 16 60 41s821ms 697ms 17 60 36s198ms 603ms 18 60 4m3s 4s61ms 19 60 7m51s 7s857ms 20 60 1m43s 1s717ms 21 60 49s437ms 823ms 22 60 49s339ms 822ms 23 60 49s339ms 822ms 00 60 51s491ms 858ms Mar 31 01 60 0ms 0ms 02 60 32s747ms 545ms 03 60 1m7s 1s129ms 04 60 1m7s 1s129ms 05 60 1m7s 1s129ms 06 60 1m7s 1s129ms 07 60 1m7s 1s129ms 08 60 1m7s 1s129ms 09 60 1m 1s9ms 10 60 1m 1s10ms 11 60 38s794ms 646ms 12 60 2m1s 2s28ms 13 60 35s485ms 591ms 14 60 37s774ms 629ms 15 60 1m21s 1s364ms 16 60 1m16s 1s275ms 17 60 1m21s 1s355ms 18 60 1m6s 1s104ms 19 60 49s253ms 820ms 20 60 50s319ms 838ms 21 60 50s134ms 835ms 22 60 48s735ms 812ms 23 60 48s735ms 812ms 00 60 48s188ms 803ms Apr 01 01 60 0ms 0ms 02 60 28s345ms 472ms 03 60 58s645ms 977ms 04 60 58s645ms 977ms 05 60 58s645ms 977ms 06 60 51s621ms 860ms 07 60 43s594ms 726ms 08 60 49s114ms 818ms 09 60 46s748ms 779ms 10 60 36s117ms 601ms 11 60 38s366ms 639ms 12 60 42s239ms 703ms 13 60 57s755ms 962ms 14 60 41s664ms 694ms 15 60 54s716ms 911ms 16 60 44s519ms 741ms 17 60 39s362ms 656ms 18 60 39s148ms 652ms 19 60 39s949ms 665ms 20 60 50s172ms 836ms 21 60 53s17ms 883ms 22 60 56s42ms 934ms 23 60 48s60ms 801ms 00 60 2h36m11s 2m36s Apr 02 01 60 0ms 0ms 02 60 29s646ms 494ms 03 60 1m1s 1s22ms 04 60 1m1s 1s22ms 05 60 1m1s 1s22ms 06 60 1m1s 1s22ms 07 60 51s81ms 851ms 08 60 2m17s 2s289ms 09 60 1m18s 1s313ms 10 60 43s182ms 719ms 11 60 40m43s 40s727ms 12 60 24m40s 24s683ms 13 60 48s109ms 801ms 14 60 1m12s 1s210ms 15 60 52s729ms 878ms 16 60 44s765ms 746ms 17 60 44s765ms 746ms 18 60 44s765ms 746ms 19 60 44s765ms 746ms 20 60 44s765ms 746ms 21 60 44s765ms 746ms 22 60 44s765ms 746ms 23 60 44s765ms 746ms 00 60 47s184ms 786ms Apr 03 01 60 0ms 0ms 02 60 26s747ms 445ms 03 60 55s340ms 922ms 04 60 55s340ms 922ms 05 60 55s340ms 922ms 06 60 55s340ms 922ms 07 60 55s340ms 922ms 08 60 55s340ms 922ms 09 60 55s385ms 923ms 10 60 1m9s 1s162ms 11 60 1m38s 1s635ms 12 60 1m38s 1s635ms 13 60 1m38s 1s635ms 14 60 1m38s 1s635ms 15 60 1m38s 1s635ms 16 60 1m38s 1s635ms 17 60 1m38s 1s635ms 18 60 1m20s 1s345ms 19 60 40s450ms 674ms 20 60 40s526ms 675ms 21 60 40s526ms 675ms 22 60 40s526ms 675ms 23 60 40s526ms 675ms 00 60 43s238ms 720ms Apr 04 01 60 0ms 0ms 02 60 30s307ms 505ms 03 60 1m2s 1s45ms 04 60 1m2s 1s45ms 05 60 1m2s 1s45ms 06 60 1m2s 1s45ms 07 60 1m2s 1s45ms 08 60 47s763ms 796ms 09 60 32s820ms 547ms 10 60 32s820ms 547ms 11 60 34s314ms 571ms 12 60 34s727ms 578ms 13 60 3m8s 3s139ms 14 60 2m53s 2s897ms 15 60 2m58s 2s981ms 16 60 2m57s 2s957ms 17 60 2m40s 2s680ms 18 60 2m54s 2s902ms 19 60 2m57s 2s955ms 20 60 2m54s 2s908ms 21 60 2m59s 2s989ms 22 59 3m6s 3s162ms 23 60 2m56s 2s943ms 00 60 2m48s 2s806ms [ User: labanimal - Total duration: 6h46m27s - Times executed: 9442 ]
-
CREATE INDEX IF NOT EXISTS idx_app_events_tenant ON observability.app_events (tenant_key, occurred_at DESC);
Date: 2026-04-01 23:55:01 Duration: 2m56s Database: zemm_monitoring User: labanimal Log file: /var/log/postgresql/postgresql-2026-04-01_000000.csv
-
CREATE INDEX IF NOT EXISTS idx_app_events_tenant ON observability.app_events (tenant_key, occurred_at DESC);
Date: 2026-04-02 10:33:01 Duration: 1m23s Database: zemm_monitoring User: labanimal Log file: /var/log/postgresql/postgresql-2026-04-02_000000.csv
-
CREATE INDEX IF NOT EXISTS idx_app_events_tenant ON observability.app_events (tenant_key, occurred_at DESC);
Date: 2026-04-02 11:17:01 Duration: 1m20s Database: zemm_monitoring User: labanimal Log file: /var/log/postgresql/postgresql-2026-04-02_000000.csv
3 6h46m27s 10,019 508ms 2m56s 2s434ms create schema if not exists observability;Times Reported Time consuming queries #3
Day Hour Count Duration Avg duration Mar 29 00 60 0ms 0ms 01 60 37s149ms 619ms 04 60 1m16s 1s281ms 05 60 1m16s 1s281ms 06 60 1m16s 1s281ms 07 60 1m16s 1s281ms 08 60 1m16s 1s281ms 09 60 1m16s 1s281ms 10 60 1m16s 1s281ms 11 60 1m16s 1s281ms 12 60 1m16s 1s281ms 13 60 1m16s 1s281ms 14 60 45s854ms 764ms 15 60 41s759ms 695ms 16 60 41s759ms 695ms 17 60 41s759ms 695ms 18 60 41s759ms 695ms 19 60 41s759ms 695ms 20 60 41s759ms 695ms 21 60 45s329ms 755ms 22 60 40s125ms 668ms 23 60 35s338ms 588ms 00 60 38s720ms 645ms Mar 30 01 60 1m26s 1s434ms 02 60 28s358ms 472ms 03 60 58s672ms 977ms 04 60 58s672ms 977ms 05 60 58s672ms 977ms 06 60 58s672ms 977ms 07 60 58s672ms 977ms 08 60 49s561ms 826ms 09 60 1m40s 1s676ms 10 60 2m 2s2ms 11 60 39s318ms 655ms 12 60 38s836ms 647ms 13 60 41s162ms 686ms 14 60 1m2s 1s47ms 15 60 2m17s 2s288ms 16 60 41s821ms 697ms 17 60 36s198ms 603ms 18 60 4m3s 4s61ms 19 60 7m51s 7s857ms 20 60 1m43s 1s717ms 21 60 49s437ms 823ms 22 60 49s339ms 822ms 23 60 49s339ms 822ms 00 60 51s491ms 858ms Mar 31 01 60 0ms 0ms 02 60 32s747ms 545ms 03 60 1m7s 1s129ms 04 60 1m7s 1s129ms 05 60 1m7s 1s129ms 06 60 1m7s 1s129ms 07 60 1m7s 1s129ms 08 60 1m7s 1s129ms 09 60 1m 1s9ms 10 60 1m 1s10ms 11 60 38s794ms 646ms 12 60 2m1s 2s28ms 13 60 35s485ms 591ms 14 60 37s774ms 629ms 15 60 1m21s 1s364ms 16 60 1m16s 1s275ms 17 60 1m21s 1s355ms 18 60 1m6s 1s104ms 19 60 49s253ms 820ms 20 60 50s319ms 838ms 21 60 50s134ms 835ms 22 60 48s735ms 812ms 23 60 48s735ms 812ms 00 60 48s188ms 803ms Apr 01 01 60 0ms 0ms 02 60 28s345ms 472ms 03 60 58s645ms 977ms 04 60 58s645ms 977ms 05 60 58s645ms 977ms 06 60 51s621ms 860ms 07 60 43s594ms 726ms 08 60 49s114ms 818ms 09 60 46s748ms 779ms 10 60 36s117ms 601ms 11 60 38s366ms 639ms 12 60 42s239ms 703ms 13 60 57s755ms 962ms 14 60 41s664ms 694ms 15 60 54s716ms 911ms 16 60 44s519ms 741ms 17 60 39s362ms 656ms 18 60 39s148ms 652ms 19 60 39s949ms 665ms 20 60 50s172ms 836ms 21 60 53s17ms 883ms 22 60 56s42ms 934ms 23 60 48s60ms 801ms 00 60 2h36m11s 2m36s Apr 02 01 60 0ms 0ms 02 60 29s646ms 494ms 03 60 1m1s 1s22ms 04 60 1m1s 1s22ms 05 60 1m1s 1s22ms 06 60 1m1s 1s22ms 07 60 51s81ms 851ms 08 60 2m17s 2s289ms 09 60 1m18s 1s313ms 10 60 43s182ms 719ms 11 60 40m43s 40s727ms 12 60 24m40s 24s683ms 13 60 48s109ms 801ms 14 60 1m12s 1s210ms 15 60 52s729ms 878ms 16 60 44s765ms 746ms 17 60 44s765ms 746ms 18 60 44s765ms 746ms 19 60 44s765ms 746ms 20 60 44s765ms 746ms 21 60 44s765ms 746ms 22 60 44s765ms 746ms 23 60 44s765ms 746ms 00 60 47s184ms 786ms Apr 03 01 60 0ms 0ms 02 60 26s747ms 445ms 03 60 55s340ms 922ms 04 60 55s340ms 922ms 05 60 55s340ms 922ms 06 60 55s340ms 922ms 07 60 55s340ms 922ms 08 60 55s340ms 922ms 09 60 55s385ms 923ms 10 60 1m9s 1s162ms 11 60 1m38s 1s635ms 12 60 1m38s 1s635ms 13 60 1m38s 1s635ms 14 60 1m38s 1s635ms 15 60 1m38s 1s635ms 16 60 1m38s 1s635ms 17 60 1m38s 1s635ms 18 60 1m20s 1s345ms 19 60 40s450ms 674ms 20 60 40s526ms 675ms 21 60 40s526ms 675ms 22 60 40s526ms 675ms 23 60 40s526ms 675ms 00 60 43s238ms 720ms Apr 04 01 60 0ms 0ms 02 60 30s307ms 505ms 03 60 1m2s 1s45ms 04 60 1m2s 1s45ms 05 60 1m2s 1s45ms 06 60 1m2s 1s45ms 07 60 1m2s 1s45ms 08 60 47s763ms 796ms 09 60 32s820ms 547ms 10 60 32s820ms 547ms 11 60 34s314ms 571ms 12 60 34s727ms 578ms 13 60 3m8s 3s139ms 14 60 2m53s 2s897ms 15 60 2m58s 2s981ms 16 60 2m57s 2s957ms 17 60 2m40s 2s680ms 18 60 2m54s 2s902ms 19 60 2m57s 2s955ms 20 60 2m54s 2s908ms 21 60 2m59s 2s989ms 22 59 3m6s 3s162ms 23 60 2m56s 2s943ms 00 60 2m48s 2s806ms [ User: labanimal - Total duration: 6h46m27s - Times executed: 9442 ]
-
CREATE SCHEMA IF NOT EXISTS observability;
Date: 2026-04-01 23:55:01 Duration: 2m56s Database: zemm_monitoring User: labanimal Log file: /var/log/postgresql/postgresql-2026-04-01_000000.csv
-
CREATE SCHEMA IF NOT EXISTS observability;
Date: 2026-04-02 10:33:01 Duration: 1m23s Database: zemm_monitoring User: labanimal Log file: /var/log/postgresql/postgresql-2026-04-02_000000.csv
-
CREATE SCHEMA IF NOT EXISTS observability;
Date: 2026-04-02 11:17:01 Duration: 1m20s Database: zemm_monitoring User: labanimal Log file: /var/log/postgresql/postgresql-2026-04-02_000000.csv
4 6h46m27s 10,019 508ms 2m56s 2s434ms 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 #4
Day Hour Count Duration Avg duration Mar 29 00 60 0ms 0ms 01 60 37s149ms 619ms 04 60 1m16s 1s281ms 05 60 1m16s 1s281ms 06 60 1m16s 1s281ms 07 60 1m16s 1s281ms 08 60 1m16s 1s281ms 09 60 1m16s 1s281ms 10 60 1m16s 1s281ms 11 60 1m16s 1s281ms 12 60 1m16s 1s281ms 13 60 1m16s 1s281ms 14 60 45s854ms 764ms 15 60 41s759ms 695ms 16 60 41s759ms 695ms 17 60 41s759ms 695ms 18 60 41s759ms 695ms 19 60 41s759ms 695ms 20 60 41s759ms 695ms 21 60 45s329ms 755ms 22 60 40s125ms 668ms 23 60 35s338ms 588ms 00 60 38s720ms 645ms Mar 30 01 60 1m26s 1s434ms 02 60 28s358ms 472ms 03 60 58s672ms 977ms 04 60 58s672ms 977ms 05 60 58s672ms 977ms 06 60 58s672ms 977ms 07 60 58s672ms 977ms 08 60 49s561ms 826ms 09 60 1m40s 1s676ms 10 60 2m 2s2ms 11 60 39s318ms 655ms 12 60 38s836ms 647ms 13 60 41s162ms 686ms 14 60 1m2s 1s47ms 15 60 2m17s 2s288ms 16 60 41s821ms 697ms 17 60 36s198ms 603ms 18 60 4m3s 4s61ms 19 60 7m51s 7s857ms 20 60 1m43s 1s717ms 21 60 49s437ms 823ms 22 60 49s339ms 822ms 23 60 49s339ms 822ms 00 60 51s491ms 858ms Mar 31 01 60 0ms 0ms 02 60 32s747ms 545ms 03 60 1m7s 1s129ms 04 60 1m7s 1s129ms 05 60 1m7s 1s129ms 06 60 1m7s 1s129ms 07 60 1m7s 1s129ms 08 60 1m7s 1s129ms 09 60 1m 1s9ms 10 60 1m 1s10ms 11 60 38s794ms 646ms 12 60 2m1s 2s28ms 13 60 35s485ms 591ms 14 60 37s774ms 629ms 15 60 1m21s 1s364ms 16 60 1m16s 1s275ms 17 60 1m21s 1s355ms 18 60 1m6s 1s104ms 19 60 49s253ms 820ms 20 60 50s319ms 838ms 21 60 50s134ms 835ms 22 60 48s735ms 812ms 23 60 48s735ms 812ms 00 60 48s188ms 803ms Apr 01 01 60 0ms 0ms 02 60 28s345ms 472ms 03 60 58s645ms 977ms 04 60 58s645ms 977ms 05 60 58s645ms 977ms 06 60 51s621ms 860ms 07 60 43s594ms 726ms 08 60 49s114ms 818ms 09 60 46s748ms 779ms 10 60 36s117ms 601ms 11 60 38s366ms 639ms 12 60 42s239ms 703ms 13 60 57s755ms 962ms 14 60 41s664ms 694ms 15 60 54s716ms 911ms 16 60 44s519ms 741ms 17 60 39s362ms 656ms 18 60 39s148ms 652ms 19 60 39s949ms 665ms 20 60 50s172ms 836ms 21 60 53s17ms 883ms 22 60 56s42ms 934ms 23 60 48s60ms 801ms 00 60 2h36m11s 2m36s Apr 02 01 60 0ms 0ms 02 60 29s646ms 494ms 03 60 1m1s 1s22ms 04 60 1m1s 1s22ms 05 60 1m1s 1s22ms 06 60 1m1s 1s22ms 07 60 51s81ms 851ms 08 60 2m17s 2s289ms 09 60 1m18s 1s313ms 10 60 43s182ms 719ms 11 60 40m43s 40s727ms 12 60 24m40s 24s683ms 13 60 48s109ms 801ms 14 60 1m12s 1s210ms 15 60 52s729ms 878ms 16 60 44s765ms 746ms 17 60 44s765ms 746ms 18 60 44s765ms 746ms 19 60 44s765ms 746ms 20 60 44s765ms 746ms 21 60 44s765ms 746ms 22 60 44s765ms 746ms 23 60 44s765ms 746ms 00 60 47s184ms 786ms Apr 03 01 60 0ms 0ms 02 60 26s747ms 445ms 03 60 55s340ms 922ms 04 60 55s340ms 922ms 05 60 55s340ms 922ms 06 60 55s340ms 922ms 07 60 55s340ms 922ms 08 60 55s340ms 922ms 09 60 55s385ms 923ms 10 60 1m9s 1s162ms 11 60 1m38s 1s635ms 12 60 1m38s 1s635ms 13 60 1m38s 1s635ms 14 60 1m38s 1s635ms 15 60 1m38s 1s635ms 16 60 1m38s 1s635ms 17 60 1m38s 1s635ms 18 60 1m20s 1s345ms 19 60 40s450ms 674ms 20 60 40s526ms 675ms 21 60 40s526ms 675ms 22 60 40s526ms 675ms 23 60 40s526ms 675ms 00 60 43s238ms 720ms Apr 04 01 60 0ms 0ms 02 60 30s307ms 505ms 03 60 1m2s 1s45ms 04 60 1m2s 1s45ms 05 60 1m2s 1s45ms 06 60 1m2s 1s45ms 07 60 1m2s 1s45ms 08 60 47s763ms 796ms 09 60 32s820ms 547ms 10 60 32s820ms 547ms 11 60 34s314ms 571ms 12 60 34s727ms 578ms 13 60 3m8s 3s139ms 14 60 2m53s 2s897ms 15 60 2m58s 2s981ms 16 60 2m57s 2s957ms 17 60 2m40s 2s680ms 18 60 2m54s 2s902ms 19 60 2m57s 2s955ms 20 60 2m54s 2s908ms 21 60 2m59s 2s989ms 22 59 3m6s 3s162ms 23 60 2m56s 2s943ms 00 60 2m48s 2s806ms [ User: labanimal - Total duration: 6h46m27s - Times executed: 9442 ]
-
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-04-01 23:55:01 Duration: 2m56s Database: zemm_monitoring User: labanimal Log file: /var/log/postgresql/postgresql-2026-04-01_000000.csv
-
CREATE TABLE IF NOT EXISTS observability.app_events ( id bigserial PRIMARY KEY, tenant_key text NOT NULL, event_type text NOT NULL, severity text NOT NULL, message text NOT NULL, payload jsonb, occurred_at timestamptz NOT NULL DEFAULT NOW(), created_at timestamptz NOT NULL DEFAULT NOW() );
Date: 2026-04-02 10:33:01 Duration: 1m23s Database: zemm_monitoring User: labanimal Log file: /var/log/postgresql/postgresql-2026-04-02_000000.csv
-
CREATE TABLE IF NOT EXISTS observability.app_events ( id bigserial PRIMARY KEY, tenant_key text NOT NULL, event_type text NOT NULL, severity text NOT NULL, message text NOT NULL, payload jsonb, occurred_at timestamptz NOT NULL DEFAULT NOW(), created_at timestamptz NOT NULL DEFAULT NOW() );
Date: 2026-04-02 11:17:01 Duration: 1m20s Database: zemm_monitoring User: labanimal Log file: /var/log/postgresql/postgresql-2026-04-02_000000.csv
5 6h46m27s 10,019 508ms 2m56s 2s434ms create table if not exists observability.phpfpm_counters ( id bigserial primary key, payload jsonb not null, collected_at timestamptz not null default now() );Times Reported Time consuming queries #5
Day Hour Count Duration Avg duration Mar 29 00 60 0ms 0ms 01 60 37s149ms 619ms 04 60 1m16s 1s281ms 05 60 1m16s 1s281ms 06 60 1m16s 1s281ms 07 60 1m16s 1s281ms 08 60 1m16s 1s281ms 09 60 1m16s 1s281ms 10 60 1m16s 1s281ms 11 60 1m16s 1s281ms 12 60 1m16s 1s281ms 13 60 1m16s 1s281ms 14 60 45s854ms 764ms 15 60 41s759ms 695ms 16 60 41s759ms 695ms 17 60 41s759ms 695ms 18 60 41s759ms 695ms 19 60 41s759ms 695ms 20 60 41s759ms 695ms 21 60 45s329ms 755ms 22 60 40s125ms 668ms 23 60 35s338ms 588ms 00 60 38s720ms 645ms Mar 30 01 60 1m26s 1s434ms 02 60 28s358ms 472ms 03 60 58s672ms 977ms 04 60 58s672ms 977ms 05 60 58s672ms 977ms 06 60 58s672ms 977ms 07 60 58s672ms 977ms 08 60 49s561ms 826ms 09 60 1m40s 1s676ms 10 60 2m 2s2ms 11 60 39s318ms 655ms 12 60 38s836ms 647ms 13 60 41s162ms 686ms 14 60 1m2s 1s47ms 15 60 2m17s 2s288ms 16 60 41s821ms 697ms 17 60 36s198ms 603ms 18 60 4m3s 4s61ms 19 60 7m51s 7s857ms 20 60 1m43s 1s717ms 21 60 49s437ms 823ms 22 60 49s339ms 822ms 23 60 49s339ms 822ms 00 60 51s491ms 858ms Mar 31 01 60 0ms 0ms 02 60 32s747ms 545ms 03 60 1m7s 1s129ms 04 60 1m7s 1s129ms 05 60 1m7s 1s129ms 06 60 1m7s 1s129ms 07 60 1m7s 1s129ms 08 60 1m7s 1s129ms 09 60 1m 1s9ms 10 60 1m 1s10ms 11 60 38s794ms 646ms 12 60 2m1s 2s28ms 13 60 35s485ms 591ms 14 60 37s774ms 629ms 15 60 1m21s 1s364ms 16 60 1m16s 1s275ms 17 60 1m21s 1s355ms 18 60 1m6s 1s104ms 19 60 49s253ms 820ms 20 60 50s319ms 838ms 21 60 50s134ms 835ms 22 60 48s735ms 812ms 23 60 48s735ms 812ms 00 60 48s188ms 803ms Apr 01 01 60 0ms 0ms 02 60 28s345ms 472ms 03 60 58s645ms 977ms 04 60 58s645ms 977ms 05 60 58s645ms 977ms 06 60 51s621ms 860ms 07 60 43s594ms 726ms 08 60 49s114ms 818ms 09 60 46s748ms 779ms 10 60 36s117ms 601ms 11 60 38s366ms 639ms 12 60 42s239ms 703ms 13 60 57s755ms 962ms 14 60 41s664ms 694ms 15 60 54s716ms 911ms 16 60 44s519ms 741ms 17 60 39s362ms 656ms 18 60 39s148ms 652ms 19 60 39s949ms 665ms 20 60 50s172ms 836ms 21 60 53s17ms 883ms 22 60 56s42ms 934ms 23 60 48s60ms 801ms 00 60 2h36m11s 2m36s Apr 02 01 60 0ms 0ms 02 60 29s646ms 494ms 03 60 1m1s 1s22ms 04 60 1m1s 1s22ms 05 60 1m1s 1s22ms 06 60 1m1s 1s22ms 07 60 51s81ms 851ms 08 60 2m17s 2s289ms 09 60 1m18s 1s313ms 10 60 43s182ms 719ms 11 60 40m43s 40s727ms 12 60 24m40s 24s683ms 13 60 48s109ms 801ms 14 60 1m12s 1s210ms 15 60 52s729ms 878ms 16 60 44s765ms 746ms 17 60 44s765ms 746ms 18 60 44s765ms 746ms 19 60 44s765ms 746ms 20 60 44s765ms 746ms 21 60 44s765ms 746ms 22 60 44s765ms 746ms 23 60 44s765ms 746ms 00 60 47s184ms 786ms Apr 03 01 60 0ms 0ms 02 60 26s747ms 445ms 03 60 55s340ms 922ms 04 60 55s340ms 922ms 05 60 55s340ms 922ms 06 60 55s340ms 922ms 07 60 55s340ms 922ms 08 60 55s340ms 922ms 09 60 55s385ms 923ms 10 60 1m9s 1s162ms 11 60 1m38s 1s635ms 12 60 1m38s 1s635ms 13 60 1m38s 1s635ms 14 60 1m38s 1s635ms 15 60 1m38s 1s635ms 16 60 1m38s 1s635ms 17 60 1m38s 1s635ms 18 60 1m20s 1s345ms 19 60 40s450ms 674ms 20 60 40s526ms 675ms 21 60 40s526ms 675ms 22 60 40s526ms 675ms 23 60 40s526ms 675ms 00 60 43s238ms 720ms Apr 04 01 60 0ms 0ms 02 60 30s307ms 505ms 03 60 1m2s 1s45ms 04 60 1m2s 1s45ms 05 60 1m2s 1s45ms 06 60 1m2s 1s45ms 07 60 1m2s 1s45ms 08 60 47s763ms 796ms 09 60 32s820ms 547ms 10 60 32s820ms 547ms 11 60 34s314ms 571ms 12 60 34s727ms 578ms 13 60 3m8s 3s139ms 14 60 2m53s 2s897ms 15 60 2m58s 2s981ms 16 60 2m57s 2s957ms 17 60 2m40s 2s680ms 18 60 2m54s 2s902ms 19 60 2m57s 2s955ms 20 60 2m54s 2s908ms 21 60 2m59s 2s989ms 22 59 3m6s 3s162ms 23 60 2m56s 2s943ms 00 60 2m48s 2s806ms [ User: labanimal - Total duration: 6h46m27s - Times executed: 9442 ]
-
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-04-01 23:55:01 Duration: 2m56s Database: zemm_monitoring User: labanimal Log file: /var/log/postgresql/postgresql-2026-04-01_000000.csv
-
CREATE TABLE IF NOT EXISTS observability.phpfpm_counters ( id bigserial PRIMARY KEY, payload jsonb NOT NULL, collected_at timestamptz NOT NULL DEFAULT NOW() );
Date: 2026-04-02 10:33:01 Duration: 1m23s Database: zemm_monitoring User: labanimal Log file: /var/log/postgresql/postgresql-2026-04-02_000000.csv
-
CREATE TABLE IF NOT EXISTS observability.phpfpm_counters ( id bigserial PRIMARY KEY, payload jsonb NOT NULL, collected_at timestamptz NOT NULL DEFAULT NOW() );
Date: 2026-04-02 11:17:01 Duration: 1m20s Database: zemm_monitoring User: labanimal Log file: /var/log/postgresql/postgresql-2026-04-02_000000.csv
6 6h46m27s 10,019 508ms 2m56s 2s434ms create index if not exists idx_db_top_queries_tenant on observability.db_top_queries (tenant_key, collected_at desc);Times Reported Time consuming queries #6
Day Hour Count Duration Avg duration Mar 29 00 60 0ms 0ms 01 60 37s149ms 619ms 04 60 1m16s 1s281ms 05 60 1m16s 1s281ms 06 60 1m16s 1s281ms 07 60 1m16s 1s281ms 08 60 1m16s 1s281ms 09 60 1m16s 1s281ms 10 60 1m16s 1s281ms 11 60 1m16s 1s281ms 12 60 1m16s 1s281ms 13 60 1m16s 1s281ms 14 60 45s854ms 764ms 15 60 41s759ms 695ms 16 60 41s759ms 695ms 17 60 41s759ms 695ms 18 60 41s759ms 695ms 19 60 41s759ms 695ms 20 60 41s759ms 695ms 21 60 45s329ms 755ms 22 60 40s125ms 668ms 23 60 35s338ms 588ms 00 60 38s720ms 645ms Mar 30 01 60 1m26s 1s434ms 02 60 28s358ms 472ms 03 60 58s672ms 977ms 04 60 58s672ms 977ms 05 60 58s672ms 977ms 06 60 58s672ms 977ms 07 60 58s672ms 977ms 08 60 49s561ms 826ms 09 60 1m40s 1s676ms 10 60 2m 2s2ms 11 60 39s318ms 655ms 12 60 38s836ms 647ms 13 60 41s162ms 686ms 14 60 1m2s 1s47ms 15 60 2m17s 2s288ms 16 60 41s821ms 697ms 17 60 36s198ms 603ms 18 60 4m3s 4s61ms 19 60 7m51s 7s857ms 20 60 1m43s 1s717ms 21 60 49s437ms 823ms 22 60 49s339ms 822ms 23 60 49s339ms 822ms 00 60 51s491ms 858ms Mar 31 01 60 0ms 0ms 02 60 32s747ms 545ms 03 60 1m7s 1s129ms 04 60 1m7s 1s129ms 05 60 1m7s 1s129ms 06 60 1m7s 1s129ms 07 60 1m7s 1s129ms 08 60 1m7s 1s129ms 09 60 1m 1s9ms 10 60 1m 1s10ms 11 60 38s794ms 646ms 12 60 2m1s 2s28ms 13 60 35s485ms 591ms 14 60 37s774ms 629ms 15 60 1m21s 1s364ms 16 60 1m16s 1s275ms 17 60 1m21s 1s355ms 18 60 1m6s 1s104ms 19 60 49s253ms 820ms 20 60 50s319ms 838ms 21 60 50s134ms 835ms 22 60 48s735ms 812ms 23 60 48s735ms 812ms 00 60 48s188ms 803ms Apr 01 01 60 0ms 0ms 02 60 28s345ms 472ms 03 60 58s645ms 977ms 04 60 58s645ms 977ms 05 60 58s645ms 977ms 06 60 51s621ms 860ms 07 60 43s594ms 726ms 08 60 49s114ms 818ms 09 60 46s748ms 779ms 10 60 36s117ms 601ms 11 60 38s366ms 639ms 12 60 42s239ms 703ms 13 60 57s755ms 962ms 14 60 41s664ms 694ms 15 60 54s716ms 911ms 16 60 44s519ms 741ms 17 60 39s362ms 656ms 18 60 39s148ms 652ms 19 60 39s949ms 665ms 20 60 50s172ms 836ms 21 60 53s17ms 883ms 22 60 56s42ms 934ms 23 60 48s60ms 801ms 00 60 2h36m11s 2m36s Apr 02 01 60 0ms 0ms 02 60 29s646ms 494ms 03 60 1m1s 1s22ms 04 60 1m1s 1s22ms 05 60 1m1s 1s22ms 06 60 1m1s 1s22ms 07 60 51s81ms 851ms 08 60 2m17s 2s289ms 09 60 1m18s 1s313ms 10 60 43s182ms 719ms 11 60 40m43s 40s727ms 12 60 24m40s 24s683ms 13 60 48s109ms 801ms 14 60 1m12s 1s210ms 15 60 52s729ms 878ms 16 60 44s765ms 746ms 17 60 44s765ms 746ms 18 60 44s765ms 746ms 19 60 44s765ms 746ms 20 60 44s765ms 746ms 21 60 44s765ms 746ms 22 60 44s765ms 746ms 23 60 44s765ms 746ms 00 60 47s184ms 786ms Apr 03 01 60 0ms 0ms 02 60 26s747ms 445ms 03 60 55s340ms 922ms 04 60 55s340ms 922ms 05 60 55s340ms 922ms 06 60 55s340ms 922ms 07 60 55s340ms 922ms 08 60 55s340ms 922ms 09 60 55s385ms 923ms 10 60 1m9s 1s162ms 11 60 1m38s 1s635ms 12 60 1m38s 1s635ms 13 60 1m38s 1s635ms 14 60 1m38s 1s635ms 15 60 1m38s 1s635ms 16 60 1m38s 1s635ms 17 60 1m38s 1s635ms 18 60 1m20s 1s345ms 19 60 40s450ms 674ms 20 60 40s526ms 675ms 21 60 40s526ms 675ms 22 60 40s526ms 675ms 23 60 40s526ms 675ms 00 60 43s238ms 720ms Apr 04 01 60 0ms 0ms 02 60 30s307ms 505ms 03 60 1m2s 1s45ms 04 60 1m2s 1s45ms 05 60 1m2s 1s45ms 06 60 1m2s 1s45ms 07 60 1m2s 1s45ms 08 60 47s763ms 796ms 09 60 32s820ms 547ms 10 60 32s820ms 547ms 11 60 34s314ms 571ms 12 60 34s727ms 578ms 13 60 3m8s 3s139ms 14 60 2m53s 2s897ms 15 60 2m58s 2s981ms 16 60 2m57s 2s957ms 17 60 2m40s 2s680ms 18 60 2m54s 2s902ms 19 60 2m57s 2s955ms 20 60 2m54s 2s908ms 21 60 2m59s 2s989ms 22 59 3m6s 3s162ms 23 60 2m56s 2s943ms 00 60 2m48s 2s806ms [ User: labanimal - Total duration: 6h46m27s - Times executed: 9442 ]
-
CREATE INDEX IF NOT EXISTS idx_db_top_queries_tenant ON observability.db_top_queries (tenant_key, collected_at DESC);
Date: 2026-04-01 23:55:01 Duration: 2m56s Database: zemm_monitoring User: labanimal Log file: /var/log/postgresql/postgresql-2026-04-01_000000.csv
-
CREATE INDEX IF NOT EXISTS idx_db_top_queries_tenant ON observability.db_top_queries (tenant_key, collected_at DESC);
Date: 2026-04-02 10:33:01 Duration: 1m23s Database: zemm_monitoring User: labanimal Log file: /var/log/postgresql/postgresql-2026-04-02_000000.csv
-
CREATE INDEX IF NOT EXISTS idx_db_top_queries_tenant ON observability.db_top_queries (tenant_key, collected_at DESC);
Date: 2026-04-02 11:17:01 Duration: 1m20s Database: zemm_monitoring User: labanimal Log file: /var/log/postgresql/postgresql-2026-04-02_000000.csv
7 6h46m27s 10,019 508ms 2m56s 2s434ms create index if not exists idx_metrics_timeseries_bucket on observability.metrics_timeseries (bucket_start);Times Reported Time consuming queries #7
Day Hour Count Duration Avg duration Mar 29 00 60 0ms 0ms 01 60 37s149ms 619ms 04 60 1m16s 1s281ms 05 60 1m16s 1s281ms 06 60 1m16s 1s281ms 07 60 1m16s 1s281ms 08 60 1m16s 1s281ms 09 60 1m16s 1s281ms 10 60 1m16s 1s281ms 11 60 1m16s 1s281ms 12 60 1m16s 1s281ms 13 60 1m16s 1s281ms 14 60 45s854ms 764ms 15 60 41s759ms 695ms 16 60 41s759ms 695ms 17 60 41s759ms 695ms 18 60 41s759ms 695ms 19 60 41s759ms 695ms 20 60 41s759ms 695ms 21 60 45s329ms 755ms 22 60 40s125ms 668ms 23 60 35s338ms 588ms 00 60 38s720ms 645ms Mar 30 01 60 1m26s 1s434ms 02 60 28s358ms 472ms 03 60 58s672ms 977ms 04 60 58s672ms 977ms 05 60 58s672ms 977ms 06 60 58s672ms 977ms 07 60 58s672ms 977ms 08 60 49s561ms 826ms 09 60 1m40s 1s676ms 10 60 2m 2s2ms 11 60 39s318ms 655ms 12 60 38s836ms 647ms 13 60 41s162ms 686ms 14 60 1m2s 1s47ms 15 60 2m17s 2s288ms 16 60 41s821ms 697ms 17 60 36s198ms 603ms 18 60 4m3s 4s61ms 19 60 7m51s 7s857ms 20 60 1m43s 1s717ms 21 60 49s437ms 823ms 22 60 49s339ms 822ms 23 60 49s339ms 822ms 00 60 51s491ms 858ms Mar 31 01 60 0ms 0ms 02 60 32s747ms 545ms 03 60 1m7s 1s129ms 04 60 1m7s 1s129ms 05 60 1m7s 1s129ms 06 60 1m7s 1s129ms 07 60 1m7s 1s129ms 08 60 1m7s 1s129ms 09 60 1m 1s9ms 10 60 1m 1s10ms 11 60 38s794ms 646ms 12 60 2m1s 2s28ms 13 60 35s485ms 591ms 14 60 37s774ms 629ms 15 60 1m21s 1s364ms 16 60 1m16s 1s275ms 17 60 1m21s 1s355ms 18 60 1m6s 1s104ms 19 60 49s253ms 820ms 20 60 50s319ms 838ms 21 60 50s134ms 835ms 22 60 48s735ms 812ms 23 60 48s735ms 812ms 00 60 48s188ms 803ms Apr 01 01 60 0ms 0ms 02 60 28s345ms 472ms 03 60 58s645ms 977ms 04 60 58s645ms 977ms 05 60 58s645ms 977ms 06 60 51s621ms 860ms 07 60 43s594ms 726ms 08 60 49s114ms 818ms 09 60 46s748ms 779ms 10 60 36s117ms 601ms 11 60 38s366ms 639ms 12 60 42s239ms 703ms 13 60 57s755ms 962ms 14 60 41s664ms 694ms 15 60 54s716ms 911ms 16 60 44s519ms 741ms 17 60 39s362ms 656ms 18 60 39s148ms 652ms 19 60 39s949ms 665ms 20 60 50s172ms 836ms 21 60 53s17ms 883ms 22 60 56s42ms 934ms 23 60 48s60ms 801ms 00 60 2h36m11s 2m36s Apr 02 01 60 0ms 0ms 02 60 29s646ms 494ms 03 60 1m1s 1s22ms 04 60 1m1s 1s22ms 05 60 1m1s 1s22ms 06 60 1m1s 1s22ms 07 60 51s81ms 851ms 08 60 2m17s 2s289ms 09 60 1m18s 1s313ms 10 60 43s182ms 719ms 11 60 40m43s 40s727ms 12 60 24m40s 24s683ms 13 60 48s109ms 801ms 14 60 1m12s 1s210ms 15 60 52s729ms 878ms 16 60 44s765ms 746ms 17 60 44s765ms 746ms 18 60 44s765ms 746ms 19 60 44s765ms 746ms 20 60 44s765ms 746ms 21 60 44s765ms 746ms 22 60 44s765ms 746ms 23 60 44s765ms 746ms 00 60 47s184ms 786ms Apr 03 01 60 0ms 0ms 02 60 26s747ms 445ms 03 60 55s340ms 922ms 04 60 55s340ms 922ms 05 60 55s340ms 922ms 06 60 55s340ms 922ms 07 60 55s340ms 922ms 08 60 55s340ms 922ms 09 60 55s385ms 923ms 10 60 1m9s 1s162ms 11 60 1m38s 1s635ms 12 60 1m38s 1s635ms 13 60 1m38s 1s635ms 14 60 1m38s 1s635ms 15 60 1m38s 1s635ms 16 60 1m38s 1s635ms 17 60 1m38s 1s635ms 18 60 1m20s 1s345ms 19 60 40s450ms 674ms 20 60 40s526ms 675ms 21 60 40s526ms 675ms 22 60 40s526ms 675ms 23 60 40s526ms 675ms 00 60 43s238ms 720ms Apr 04 01 60 0ms 0ms 02 60 30s307ms 505ms 03 60 1m2s 1s45ms 04 60 1m2s 1s45ms 05 60 1m2s 1s45ms 06 60 1m2s 1s45ms 07 60 1m2s 1s45ms 08 60 47s763ms 796ms 09 60 32s820ms 547ms 10 60 32s820ms 547ms 11 60 34s314ms 571ms 12 60 34s727ms 578ms 13 60 3m8s 3s139ms 14 60 2m53s 2s897ms 15 60 2m58s 2s981ms 16 60 2m57s 2s957ms 17 60 2m40s 2s680ms 18 60 2m54s 2s902ms 19 60 2m57s 2s955ms 20 60 2m54s 2s908ms 21 60 2m59s 2s989ms 22 59 3m6s 3s162ms 23 60 2m56s 2s943ms 00 60 2m48s 2s806ms [ User: labanimal - Total duration: 6h46m27s - Times executed: 9442 ]
-
CREATE INDEX IF NOT EXISTS idx_metrics_timeseries_bucket ON observability.metrics_timeseries (bucket_start);
Date: 2026-04-01 23:55:01 Duration: 2m56s Database: zemm_monitoring User: labanimal Log file: /var/log/postgresql/postgresql-2026-04-01_000000.csv
-
CREATE INDEX IF NOT EXISTS idx_metrics_timeseries_bucket ON observability.metrics_timeseries (bucket_start);
Date: 2026-04-02 10:33:01 Duration: 1m23s Database: zemm_monitoring User: labanimal Log file: /var/log/postgresql/postgresql-2026-04-02_000000.csv
-
CREATE INDEX IF NOT EXISTS idx_metrics_timeseries_bucket ON observability.metrics_timeseries (bucket_start);
Date: 2026-04-02 11:17:01 Duration: 1m20s Database: zemm_monitoring User: labanimal Log file: /var/log/postgresql/postgresql-2026-04-02_000000.csv
8 6h46m27s 10,019 508ms 2m56s 2s434ms create table if not exists observability.uptime_checks ( id bigserial primary key, endpoint text not null, status text not null, latency_ms double precision, checked_at timestamptz not null default now() );Times Reported Time consuming queries #8
Day Hour Count Duration Avg duration Mar 29 00 60 0ms 0ms 01 60 37s149ms 619ms 04 60 1m16s 1s281ms 05 60 1m16s 1s281ms 06 60 1m16s 1s281ms 07 60 1m16s 1s281ms 08 60 1m16s 1s281ms 09 60 1m16s 1s281ms 10 60 1m16s 1s281ms 11 60 1m16s 1s281ms 12 60 1m16s 1s281ms 13 60 1m16s 1s281ms 14 60 45s854ms 764ms 15 60 41s759ms 695ms 16 60 41s759ms 695ms 17 60 41s759ms 695ms 18 60 41s759ms 695ms 19 60 41s759ms 695ms 20 60 41s759ms 695ms 21 60 45s329ms 755ms 22 60 40s125ms 668ms 23 60 35s338ms 588ms 00 60 38s720ms 645ms Mar 30 01 60 1m26s 1s434ms 02 60 28s358ms 472ms 03 60 58s672ms 977ms 04 60 58s672ms 977ms 05 60 58s672ms 977ms 06 60 58s672ms 977ms 07 60 58s672ms 977ms 08 60 49s561ms 826ms 09 60 1m40s 1s676ms 10 60 2m 2s2ms 11 60 39s318ms 655ms 12 60 38s836ms 647ms 13 60 41s162ms 686ms 14 60 1m2s 1s47ms 15 60 2m17s 2s288ms 16 60 41s821ms 697ms 17 60 36s198ms 603ms 18 60 4m3s 4s61ms 19 60 7m51s 7s857ms 20 60 1m43s 1s717ms 21 60 49s437ms 823ms 22 60 49s339ms 822ms 23 60 49s339ms 822ms 00 60 51s491ms 858ms Mar 31 01 60 0ms 0ms 02 60 32s747ms 545ms 03 60 1m7s 1s129ms 04 60 1m7s 1s129ms 05 60 1m7s 1s129ms 06 60 1m7s 1s129ms 07 60 1m7s 1s129ms 08 60 1m7s 1s129ms 09 60 1m 1s9ms 10 60 1m 1s10ms 11 60 38s794ms 646ms 12 60 2m1s 2s28ms 13 60 35s485ms 591ms 14 60 37s774ms 629ms 15 60 1m21s 1s364ms 16 60 1m16s 1s275ms 17 60 1m21s 1s355ms 18 60 1m6s 1s104ms 19 60 49s253ms 820ms 20 60 50s319ms 838ms 21 60 50s134ms 835ms 22 60 48s735ms 812ms 23 60 48s735ms 812ms 00 60 48s188ms 803ms Apr 01 01 60 0ms 0ms 02 60 28s345ms 472ms 03 60 58s645ms 977ms 04 60 58s645ms 977ms 05 60 58s645ms 977ms 06 60 51s621ms 860ms 07 60 43s594ms 726ms 08 60 49s114ms 818ms 09 60 46s748ms 779ms 10 60 36s117ms 601ms 11 60 38s366ms 639ms 12 60 42s239ms 703ms 13 60 57s755ms 962ms 14 60 41s664ms 694ms 15 60 54s716ms 911ms 16 60 44s519ms 741ms 17 60 39s362ms 656ms 18 60 39s148ms 652ms 19 60 39s949ms 665ms 20 60 50s172ms 836ms 21 60 53s17ms 883ms 22 60 56s42ms 934ms 23 60 48s60ms 801ms 00 60 2h36m11s 2m36s Apr 02 01 60 0ms 0ms 02 60 29s646ms 494ms 03 60 1m1s 1s22ms 04 60 1m1s 1s22ms 05 60 1m1s 1s22ms 06 60 1m1s 1s22ms 07 60 51s81ms 851ms 08 60 2m17s 2s289ms 09 60 1m18s 1s313ms 10 60 43s182ms 719ms 11 60 40m43s 40s727ms 12 60 24m40s 24s683ms 13 60 48s109ms 801ms 14 60 1m12s 1s210ms 15 60 52s729ms 878ms 16 60 44s765ms 746ms 17 60 44s765ms 746ms 18 60 44s765ms 746ms 19 60 44s765ms 746ms 20 60 44s765ms 746ms 21 60 44s765ms 746ms 22 60 44s765ms 746ms 23 60 44s765ms 746ms 00 60 47s184ms 786ms Apr 03 01 60 0ms 0ms 02 60 26s747ms 445ms 03 60 55s340ms 922ms 04 60 55s340ms 922ms 05 60 55s340ms 922ms 06 60 55s340ms 922ms 07 60 55s340ms 922ms 08 60 55s340ms 922ms 09 60 55s385ms 923ms 10 60 1m9s 1s162ms 11 60 1m38s 1s635ms 12 60 1m38s 1s635ms 13 60 1m38s 1s635ms 14 60 1m38s 1s635ms 15 60 1m38s 1s635ms 16 60 1m38s 1s635ms 17 60 1m38s 1s635ms 18 60 1m20s 1s345ms 19 60 40s450ms 674ms 20 60 40s526ms 675ms 21 60 40s526ms 675ms 22 60 40s526ms 675ms 23 60 40s526ms 675ms 00 60 43s238ms 720ms Apr 04 01 60 0ms 0ms 02 60 30s307ms 505ms 03 60 1m2s 1s45ms 04 60 1m2s 1s45ms 05 60 1m2s 1s45ms 06 60 1m2s 1s45ms 07 60 1m2s 1s45ms 08 60 47s763ms 796ms 09 60 32s820ms 547ms 10 60 32s820ms 547ms 11 60 34s314ms 571ms 12 60 34s727ms 578ms 13 60 3m8s 3s139ms 14 60 2m53s 2s897ms 15 60 2m58s 2s981ms 16 60 2m57s 2s957ms 17 60 2m40s 2s680ms 18 60 2m54s 2s902ms 19 60 2m57s 2s955ms 20 60 2m54s 2s908ms 21 60 2m59s 2s989ms 22 59 3m6s 3s162ms 23 60 2m56s 2s943ms 00 60 2m48s 2s806ms [ User: labanimal - Total duration: 6h46m27s - Times executed: 9442 ]
-
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-04-01 23:55:01 Duration: 2m56s Database: zemm_monitoring User: labanimal Log file: /var/log/postgresql/postgresql-2026-04-01_000000.csv
-
CREATE TABLE IF NOT EXISTS observability.uptime_checks ( id bigserial PRIMARY KEY, endpoint text NOT NULL, status text NOT NULL, latency_ms double precision, checked_at timestamptz NOT NULL DEFAULT NOW() );
Date: 2026-04-02 10:33:01 Duration: 1m23s Database: zemm_monitoring User: labanimal Log file: /var/log/postgresql/postgresql-2026-04-02_000000.csv
-
CREATE TABLE IF NOT EXISTS observability.uptime_checks ( id bigserial PRIMARY KEY, endpoint text NOT NULL, status text NOT NULL, latency_ms double precision, checked_at timestamptz NOT NULL DEFAULT NOW() );
Date: 2026-04-02 11:17:01 Duration: 1m20s Database: zemm_monitoring User: labanimal Log file: /var/log/postgresql/postgresql-2026-04-02_000000.csv
9 6h46m27s 10,019 508ms 2m56s 2s434ms 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 #9
Day Hour Count Duration Avg duration Mar 29 00 60 0ms 0ms 01 60 37s149ms 619ms 04 60 1m16s 1s281ms 05 60 1m16s 1s281ms 06 60 1m16s 1s281ms 07 60 1m16s 1s281ms 08 60 1m16s 1s281ms 09 60 1m16s 1s281ms 10 60 1m16s 1s281ms 11 60 1m16s 1s281ms 12 60 1m16s 1s281ms 13 60 1m16s 1s281ms 14 60 45s854ms 764ms 15 60 41s759ms 695ms 16 60 41s759ms 695ms 17 60 41s759ms 695ms 18 60 41s759ms 695ms 19 60 41s759ms 695ms 20 60 41s759ms 695ms 21 60 45s329ms 755ms 22 60 40s125ms 668ms 23 60 35s338ms 588ms 00 60 38s720ms 645ms Mar 30 01 60 1m26s 1s434ms 02 60 28s358ms 472ms 03 60 58s672ms 977ms 04 60 58s672ms 977ms 05 60 58s672ms 977ms 06 60 58s672ms 977ms 07 60 58s672ms 977ms 08 60 49s561ms 826ms 09 60 1m40s 1s676ms 10 60 2m 2s2ms 11 60 39s318ms 655ms 12 60 38s836ms 647ms 13 60 41s162ms 686ms 14 60 1m2s 1s47ms 15 60 2m17s 2s288ms 16 60 41s821ms 697ms 17 60 36s198ms 603ms 18 60 4m3s 4s61ms 19 60 7m51s 7s857ms 20 60 1m43s 1s717ms 21 60 49s437ms 823ms 22 60 49s339ms 822ms 23 60 49s339ms 822ms 00 60 51s491ms 858ms Mar 31 01 60 0ms 0ms 02 60 32s747ms 545ms 03 60 1m7s 1s129ms 04 60 1m7s 1s129ms 05 60 1m7s 1s129ms 06 60 1m7s 1s129ms 07 60 1m7s 1s129ms 08 60 1m7s 1s129ms 09 60 1m 1s9ms 10 60 1m 1s10ms 11 60 38s794ms 646ms 12 60 2m1s 2s28ms 13 60 35s485ms 591ms 14 60 37s774ms 629ms 15 60 1m21s 1s364ms 16 60 1m16s 1s275ms 17 60 1m21s 1s355ms 18 60 1m6s 1s104ms 19 60 49s253ms 820ms 20 60 50s319ms 838ms 21 60 50s134ms 835ms 22 60 48s735ms 812ms 23 60 48s735ms 812ms 00 60 48s188ms 803ms Apr 01 01 60 0ms 0ms 02 60 28s345ms 472ms 03 60 58s645ms 977ms 04 60 58s645ms 977ms 05 60 58s645ms 977ms 06 60 51s621ms 860ms 07 60 43s594ms 726ms 08 60 49s114ms 818ms 09 60 46s748ms 779ms 10 60 36s117ms 601ms 11 60 38s366ms 639ms 12 60 42s239ms 703ms 13 60 57s755ms 962ms 14 60 41s664ms 694ms 15 60 54s716ms 911ms 16 60 44s519ms 741ms 17 60 39s362ms 656ms 18 60 39s148ms 652ms 19 60 39s949ms 665ms 20 60 50s172ms 836ms 21 60 53s17ms 883ms 22 60 56s42ms 934ms 23 60 48s60ms 801ms 00 60 2h36m11s 2m36s Apr 02 01 60 0ms 0ms 02 60 29s646ms 494ms 03 60 1m1s 1s22ms 04 60 1m1s 1s22ms 05 60 1m1s 1s22ms 06 60 1m1s 1s22ms 07 60 51s81ms 851ms 08 60 2m17s 2s289ms 09 60 1m18s 1s313ms 10 60 43s182ms 719ms 11 60 40m43s 40s727ms 12 60 24m40s 24s683ms 13 60 48s109ms 801ms 14 60 1m12s 1s210ms 15 60 52s729ms 878ms 16 60 44s765ms 746ms 17 60 44s765ms 746ms 18 60 44s765ms 746ms 19 60 44s765ms 746ms 20 60 44s765ms 746ms 21 60 44s765ms 746ms 22 60 44s765ms 746ms 23 60 44s765ms 746ms 00 60 47s184ms 786ms Apr 03 01 60 0ms 0ms 02 60 26s747ms 445ms 03 60 55s340ms 922ms 04 60 55s340ms 922ms 05 60 55s340ms 922ms 06 60 55s340ms 922ms 07 60 55s340ms 922ms 08 60 55s340ms 922ms 09 60 55s385ms 923ms 10 60 1m9s 1s162ms 11 60 1m38s 1s635ms 12 60 1m38s 1s635ms 13 60 1m38s 1s635ms 14 60 1m38s 1s635ms 15 60 1m38s 1s635ms 16 60 1m38s 1s635ms 17 60 1m38s 1s635ms 18 60 1m20s 1s345ms 19 60 40s450ms 674ms 20 60 40s526ms 675ms 21 60 40s526ms 675ms 22 60 40s526ms 675ms 23 60 40s526ms 675ms 00 60 43s238ms 720ms Apr 04 01 60 0ms 0ms 02 60 30s307ms 505ms 03 60 1m2s 1s45ms 04 60 1m2s 1s45ms 05 60 1m2s 1s45ms 06 60 1m2s 1s45ms 07 60 1m2s 1s45ms 08 60 47s763ms 796ms 09 60 32s820ms 547ms 10 60 32s820ms 547ms 11 60 34s314ms 571ms 12 60 34s727ms 578ms 13 60 3m8s 3s139ms 14 60 2m53s 2s897ms 15 60 2m58s 2s981ms 16 60 2m57s 2s957ms 17 60 2m40s 2s680ms 18 60 2m54s 2s902ms 19 60 2m57s 2s955ms 20 60 2m54s 2s908ms 21 60 2m59s 2s989ms 22 59 3m6s 3s162ms 23 60 2m56s 2s943ms 00 60 2m48s 2s806ms [ User: labanimal - Total duration: 6h46m27s - Times executed: 9442 ]
-
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-04-01 23:55:01 Duration: 2m56s Database: zemm_monitoring User: labanimal Log file: /var/log/postgresql/postgresql-2026-04-01_000000.csv
-
CREATE TABLE IF NOT EXISTS observability.nginx_counters ( id bigserial PRIMARY KEY, payload jsonb NOT NULL, collected_at timestamptz NOT NULL DEFAULT NOW() );
Date: 2026-04-02 10:33:01 Duration: 1m23s Database: zemm_monitoring User: labanimal Log file: /var/log/postgresql/postgresql-2026-04-02_000000.csv
-
CREATE TABLE IF NOT EXISTS observability.nginx_counters ( id bigserial PRIMARY KEY, payload jsonb NOT NULL, collected_at timestamptz NOT NULL DEFAULT NOW() );
Date: 2026-04-02 11:17:01 Duration: 1m20s Database: zemm_monitoring User: labanimal Log file: /var/log/postgresql/postgresql-2026-04-02_000000.csv
10 6h46m27s 10,019 508ms 2m56s 2s434ms create table if not exists observability.metrics_timeseries ( id bigserial primary key, tenant_key text not null, metric_name text not null, bucket_start timestamptz not null, bucket_width_seconds integer not null default ?, sum_value double precision not null default ?, count_value bigint not null default ?, histogram jsonb, created_at timestamptz not null default now(), updated_at timestamptz not null default now(), unique (tenant_key, metric_name, bucket_start, bucket_width_seconds) );Times Reported Time consuming queries #10
Day Hour Count Duration Avg duration Mar 29 00 60 0ms 0ms 01 60 37s149ms 619ms 04 60 1m16s 1s281ms 05 60 1m16s 1s281ms 06 60 1m16s 1s281ms 07 60 1m16s 1s281ms 08 60 1m16s 1s281ms 09 60 1m16s 1s281ms 10 60 1m16s 1s281ms 11 60 1m16s 1s281ms 12 60 1m16s 1s281ms 13 60 1m16s 1s281ms 14 60 45s854ms 764ms 15 60 41s759ms 695ms 16 60 41s759ms 695ms 17 60 41s759ms 695ms 18 60 41s759ms 695ms 19 60 41s759ms 695ms 20 60 41s759ms 695ms 21 60 45s329ms 755ms 22 60 40s125ms 668ms 23 60 35s338ms 588ms 00 60 38s720ms 645ms Mar 30 01 60 1m26s 1s434ms 02 60 28s358ms 472ms 03 60 58s672ms 977ms 04 60 58s672ms 977ms 05 60 58s672ms 977ms 06 60 58s672ms 977ms 07 60 58s672ms 977ms 08 60 49s561ms 826ms 09 60 1m40s 1s676ms 10 60 2m 2s2ms 11 60 39s318ms 655ms 12 60 38s836ms 647ms 13 60 41s162ms 686ms 14 60 1m2s 1s47ms 15 60 2m17s 2s288ms 16 60 41s821ms 697ms 17 60 36s198ms 603ms 18 60 4m3s 4s61ms 19 60 7m51s 7s857ms 20 60 1m43s 1s717ms 21 60 49s437ms 823ms 22 60 49s339ms 822ms 23 60 49s339ms 822ms 00 60 51s491ms 858ms Mar 31 01 60 0ms 0ms 02 60 32s747ms 545ms 03 60 1m7s 1s129ms 04 60 1m7s 1s129ms 05 60 1m7s 1s129ms 06 60 1m7s 1s129ms 07 60 1m7s 1s129ms 08 60 1m7s 1s129ms 09 60 1m 1s9ms 10 60 1m 1s10ms 11 60 38s794ms 646ms 12 60 2m1s 2s28ms 13 60 35s485ms 591ms 14 60 37s774ms 629ms 15 60 1m21s 1s364ms 16 60 1m16s 1s275ms 17 60 1m21s 1s355ms 18 60 1m6s 1s104ms 19 60 49s253ms 820ms 20 60 50s319ms 838ms 21 60 50s134ms 835ms 22 60 48s735ms 812ms 23 60 48s735ms 812ms 00 60 48s188ms 803ms Apr 01 01 60 0ms 0ms 02 60 28s345ms 472ms 03 60 58s645ms 977ms 04 60 58s645ms 977ms 05 60 58s645ms 977ms 06 60 51s621ms 860ms 07 60 43s594ms 726ms 08 60 49s114ms 818ms 09 60 46s748ms 779ms 10 60 36s117ms 601ms 11 60 38s366ms 639ms 12 60 42s239ms 703ms 13 60 57s755ms 962ms 14 60 41s664ms 694ms 15 60 54s716ms 911ms 16 60 44s519ms 741ms 17 60 39s362ms 656ms 18 60 39s148ms 652ms 19 60 39s949ms 665ms 20 60 50s172ms 836ms 21 60 53s17ms 883ms 22 60 56s42ms 934ms 23 60 48s60ms 801ms 00 60 2h36m11s 2m36s Apr 02 01 60 0ms 0ms 02 60 29s646ms 494ms 03 60 1m1s 1s22ms 04 60 1m1s 1s22ms 05 60 1m1s 1s22ms 06 60 1m1s 1s22ms 07 60 51s81ms 851ms 08 60 2m17s 2s289ms 09 60 1m18s 1s313ms 10 60 43s182ms 719ms 11 60 40m43s 40s727ms 12 60 24m40s 24s683ms 13 60 48s109ms 801ms 14 60 1m12s 1s210ms 15 60 52s729ms 878ms 16 60 44s765ms 746ms 17 60 44s765ms 746ms 18 60 44s765ms 746ms 19 60 44s765ms 746ms 20 60 44s765ms 746ms 21 60 44s765ms 746ms 22 60 44s765ms 746ms 23 60 44s765ms 746ms 00 60 47s184ms 786ms Apr 03 01 60 0ms 0ms 02 60 26s747ms 445ms 03 60 55s340ms 922ms 04 60 55s340ms 922ms 05 60 55s340ms 922ms 06 60 55s340ms 922ms 07 60 55s340ms 922ms 08 60 55s340ms 922ms 09 60 55s385ms 923ms 10 60 1m9s 1s162ms 11 60 1m38s 1s635ms 12 60 1m38s 1s635ms 13 60 1m38s 1s635ms 14 60 1m38s 1s635ms 15 60 1m38s 1s635ms 16 60 1m38s 1s635ms 17 60 1m38s 1s635ms 18 60 1m20s 1s345ms 19 60 40s450ms 674ms 20 60 40s526ms 675ms 21 60 40s526ms 675ms 22 60 40s526ms 675ms 23 60 40s526ms 675ms 00 60 43s238ms 720ms Apr 04 01 60 0ms 0ms 02 60 30s307ms 505ms 03 60 1m2s 1s45ms 04 60 1m2s 1s45ms 05 60 1m2s 1s45ms 06 60 1m2s 1s45ms 07 60 1m2s 1s45ms 08 60 47s763ms 796ms 09 60 32s820ms 547ms 10 60 32s820ms 547ms 11 60 34s314ms 571ms 12 60 34s727ms 578ms 13 60 3m8s 3s139ms 14 60 2m53s 2s897ms 15 60 2m58s 2s981ms 16 60 2m57s 2s957ms 17 60 2m40s 2s680ms 18 60 2m54s 2s902ms 19 60 2m57s 2s955ms 20 60 2m54s 2s908ms 21 60 2m59s 2s989ms 22 59 3m6s 3s162ms 23 60 2m56s 2s943ms 00 60 2m48s 2s806ms [ User: labanimal - Total duration: 6h46m27s - Times executed: 9442 ]
-
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-04-01 23:55:01 Duration: 2m56s Database: zemm_monitoring User: labanimal Log file: /var/log/postgresql/postgresql-2026-04-01_000000.csv
-
CREATE TABLE IF NOT EXISTS observability.metrics_timeseries ( id bigserial PRIMARY KEY, tenant_key text NOT NULL, metric_name text NOT NULL, bucket_start timestamptz NOT NULL, bucket_width_seconds integer NOT NULL DEFAULT 60, sum_value double precision NOT NULL DEFAULT 0, count_value bigint NOT NULL DEFAULT 0, histogram jsonb, created_at timestamptz NOT NULL DEFAULT NOW(), updated_at timestamptz NOT NULL DEFAULT NOW(), UNIQUE (tenant_key, metric_name, bucket_start, bucket_width_seconds) );
Date: 2026-04-02 10:33:01 Duration: 1m23s Database: zemm_monitoring User: labanimal Log file: /var/log/postgresql/postgresql-2026-04-02_000000.csv
-
CREATE TABLE IF NOT EXISTS observability.metrics_timeseries ( id bigserial PRIMARY KEY, tenant_key text NOT NULL, metric_name text NOT NULL, bucket_start timestamptz NOT NULL, bucket_width_seconds integer NOT NULL DEFAULT 60, sum_value double precision NOT NULL DEFAULT 0, count_value bigint NOT NULL DEFAULT 0, histogram jsonb, created_at timestamptz NOT NULL DEFAULT NOW(), updated_at timestamptz NOT NULL DEFAULT NOW(), UNIQUE (tenant_key, metric_name, bucket_start, bucket_width_seconds) );
Date: 2026-04-02 11:17:01 Duration: 1m20s Database: zemm_monitoring User: labanimal Log file: /var/log/postgresql/postgresql-2026-04-02_000000.csv
11 6h46m27s 10,019 508ms 2m56s 2s434ms 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 #11
Day Hour Count Duration Avg duration Mar 29 00 60 0ms 0ms 01 60 37s149ms 619ms 04 60 1m16s 1s281ms 05 60 1m16s 1s281ms 06 60 1m16s 1s281ms 07 60 1m16s 1s281ms 08 60 1m16s 1s281ms 09 60 1m16s 1s281ms 10 60 1m16s 1s281ms 11 60 1m16s 1s281ms 12 60 1m16s 1s281ms 13 60 1m16s 1s281ms 14 60 45s854ms 764ms 15 60 41s759ms 695ms 16 60 41s759ms 695ms 17 60 41s759ms 695ms 18 60 41s759ms 695ms 19 60 41s759ms 695ms 20 60 41s759ms 695ms 21 60 45s329ms 755ms 22 60 40s125ms 668ms 23 60 35s338ms 588ms 00 60 38s720ms 645ms Mar 30 01 60 1m26s 1s434ms 02 60 28s358ms 472ms 03 60 58s672ms 977ms 04 60 58s672ms 977ms 05 60 58s672ms 977ms 06 60 58s672ms 977ms 07 60 58s672ms 977ms 08 60 49s561ms 826ms 09 60 1m40s 1s676ms 10 60 2m 2s2ms 11 60 39s318ms 655ms 12 60 38s836ms 647ms 13 60 41s162ms 686ms 14 60 1m2s 1s47ms 15 60 2m17s 2s288ms 16 60 41s821ms 697ms 17 60 36s198ms 603ms 18 60 4m3s 4s61ms 19 60 7m51s 7s857ms 20 60 1m43s 1s717ms 21 60 49s437ms 823ms 22 60 49s339ms 822ms 23 60 49s339ms 822ms 00 60 51s491ms 858ms Mar 31 01 60 0ms 0ms 02 60 32s747ms 545ms 03 60 1m7s 1s129ms 04 60 1m7s 1s129ms 05 60 1m7s 1s129ms 06 60 1m7s 1s129ms 07 60 1m7s 1s129ms 08 60 1m7s 1s129ms 09 60 1m 1s9ms 10 60 1m 1s10ms 11 60 38s794ms 646ms 12 60 2m1s 2s28ms 13 60 35s485ms 591ms 14 60 37s774ms 629ms 15 60 1m21s 1s364ms 16 60 1m16s 1s275ms 17 60 1m21s 1s355ms 18 60 1m6s 1s104ms 19 60 49s253ms 820ms 20 60 50s319ms 838ms 21 60 50s134ms 835ms 22 60 48s735ms 812ms 23 60 48s735ms 812ms 00 60 48s188ms 803ms Apr 01 01 60 0ms 0ms 02 60 28s345ms 472ms 03 60 58s645ms 977ms 04 60 58s645ms 977ms 05 60 58s645ms 977ms 06 60 51s621ms 860ms 07 60 43s594ms 726ms 08 60 49s114ms 818ms 09 60 46s748ms 779ms 10 60 36s117ms 601ms 11 60 38s366ms 639ms 12 60 42s239ms 703ms 13 60 57s755ms 962ms 14 60 41s664ms 694ms 15 60 54s716ms 911ms 16 60 44s519ms 741ms 17 60 39s362ms 656ms 18 60 39s148ms 652ms 19 60 39s949ms 665ms 20 60 50s172ms 836ms 21 60 53s17ms 883ms 22 60 56s42ms 934ms 23 60 48s60ms 801ms 00 60 2h36m11s 2m36s Apr 02 01 60 0ms 0ms 02 60 29s646ms 494ms 03 60 1m1s 1s22ms 04 60 1m1s 1s22ms 05 60 1m1s 1s22ms 06 60 1m1s 1s22ms 07 60 51s81ms 851ms 08 60 2m17s 2s289ms 09 60 1m18s 1s313ms 10 60 43s182ms 719ms 11 60 40m43s 40s727ms 12 60 24m40s 24s683ms 13 60 48s109ms 801ms 14 60 1m12s 1s210ms 15 60 52s729ms 878ms 16 60 44s765ms 746ms 17 60 44s765ms 746ms 18 60 44s765ms 746ms 19 60 44s765ms 746ms 20 60 44s765ms 746ms 21 60 44s765ms 746ms 22 60 44s765ms 746ms 23 60 44s765ms 746ms 00 60 47s184ms 786ms Apr 03 01 60 0ms 0ms 02 60 26s747ms 445ms 03 60 55s340ms 922ms 04 60 55s340ms 922ms 05 60 55s340ms 922ms 06 60 55s340ms 922ms 07 60 55s340ms 922ms 08 60 55s340ms 922ms 09 60 55s385ms 923ms 10 60 1m9s 1s162ms 11 60 1m38s 1s635ms 12 60 1m38s 1s635ms 13 60 1m38s 1s635ms 14 60 1m38s 1s635ms 15 60 1m38s 1s635ms 16 60 1m38s 1s635ms 17 60 1m38s 1s635ms 18 60 1m20s 1s345ms 19 60 40s450ms 674ms 20 60 40s526ms 675ms 21 60 40s526ms 675ms 22 60 40s526ms 675ms 23 60 40s526ms 675ms 00 60 43s238ms 720ms Apr 04 01 60 0ms 0ms 02 60 30s307ms 505ms 03 60 1m2s 1s45ms 04 60 1m2s 1s45ms 05 60 1m2s 1s45ms 06 60 1m2s 1s45ms 07 60 1m2s 1s45ms 08 60 47s763ms 796ms 09 60 32s820ms 547ms 10 60 32s820ms 547ms 11 60 34s314ms 571ms 12 60 34s727ms 578ms 13 60 3m8s 3s139ms 14 60 2m53s 2s897ms 15 60 2m58s 2s981ms 16 60 2m57s 2s957ms 17 60 2m40s 2s680ms 18 60 2m54s 2s902ms 19 60 2m57s 2s955ms 20 60 2m54s 2s908ms 21 60 2m59s 2s989ms 22 59 3m6s 3s162ms 23 60 2m56s 2s943ms 00 60 2m48s 2s806ms [ User: labanimal - Total duration: 6h46m27s - Times executed: 9442 ]
-
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-04-01 23:55:01 Duration: 2m56s Database: zemm_monitoring User: labanimal Log file: /var/log/postgresql/postgresql-2026-04-01_000000.csv
-
CREATE TABLE IF NOT EXISTS observability.system_metrics ( id bigserial PRIMARY KEY, payload jsonb NOT NULL, collected_at timestamptz NOT NULL DEFAULT NOW() );
Date: 2026-04-02 10:33:01 Duration: 1m23s Database: zemm_monitoring User: labanimal Log file: /var/log/postgresql/postgresql-2026-04-02_000000.csv
-
CREATE TABLE IF NOT EXISTS observability.system_metrics ( id bigserial PRIMARY KEY, payload jsonb NOT NULL, collected_at timestamptz NOT NULL DEFAULT NOW() );
Date: 2026-04-02 11:17:01 Duration: 1m20s Database: zemm_monitoring User: labanimal Log file: /var/log/postgresql/postgresql-2026-04-02_000000.csv
12 6h46m27s 10,019 508ms 2m56s 2s434ms create index if not exists idx_app_events_type on observability.app_events (event_type);Times Reported Time consuming queries #12
Day Hour Count Duration Avg duration Mar 29 00 60 0ms 0ms 01 60 37s149ms 619ms 04 60 1m16s 1s281ms 05 60 1m16s 1s281ms 06 60 1m16s 1s281ms 07 60 1m16s 1s281ms 08 60 1m16s 1s281ms 09 60 1m16s 1s281ms 10 60 1m16s 1s281ms 11 60 1m16s 1s281ms 12 60 1m16s 1s281ms 13 60 1m16s 1s281ms 14 60 45s854ms 764ms 15 60 41s759ms 695ms 16 60 41s759ms 695ms 17 60 41s759ms 695ms 18 60 41s759ms 695ms 19 60 41s759ms 695ms 20 60 41s759ms 695ms 21 60 45s329ms 755ms 22 60 40s125ms 668ms 23 60 35s338ms 588ms 00 60 38s720ms 645ms Mar 30 01 60 1m26s 1s434ms 02 60 28s358ms 472ms 03 60 58s672ms 977ms 04 60 58s672ms 977ms 05 60 58s672ms 977ms 06 60 58s672ms 977ms 07 60 58s672ms 977ms 08 60 49s561ms 826ms 09 60 1m40s 1s676ms 10 60 2m 2s2ms 11 60 39s318ms 655ms 12 60 38s836ms 647ms 13 60 41s162ms 686ms 14 60 1m2s 1s47ms 15 60 2m17s 2s288ms 16 60 41s821ms 697ms 17 60 36s198ms 603ms 18 60 4m3s 4s61ms 19 60 7m51s 7s857ms 20 60 1m43s 1s717ms 21 60 49s437ms 823ms 22 60 49s339ms 822ms 23 60 49s339ms 822ms 00 60 51s491ms 858ms Mar 31 01 60 0ms 0ms 02 60 32s747ms 545ms 03 60 1m7s 1s129ms 04 60 1m7s 1s129ms 05 60 1m7s 1s129ms 06 60 1m7s 1s129ms 07 60 1m7s 1s129ms 08 60 1m7s 1s129ms 09 60 1m 1s9ms 10 60 1m 1s10ms 11 60 38s794ms 646ms 12 60 2m1s 2s28ms 13 60 35s485ms 591ms 14 60 37s774ms 629ms 15 60 1m21s 1s364ms 16 60 1m16s 1s275ms 17 60 1m21s 1s355ms 18 60 1m6s 1s104ms 19 60 49s253ms 820ms 20 60 50s319ms 838ms 21 60 50s134ms 835ms 22 60 48s735ms 812ms 23 60 48s735ms 812ms 00 60 48s188ms 803ms Apr 01 01 60 0ms 0ms 02 60 28s345ms 472ms 03 60 58s645ms 977ms 04 60 58s645ms 977ms 05 60 58s645ms 977ms 06 60 51s621ms 860ms 07 60 43s594ms 726ms 08 60 49s114ms 818ms 09 60 46s748ms 779ms 10 60 36s117ms 601ms 11 60 38s366ms 639ms 12 60 42s239ms 703ms 13 60 57s755ms 962ms 14 60 41s664ms 694ms 15 60 54s716ms 911ms 16 60 44s519ms 741ms 17 60 39s362ms 656ms 18 60 39s148ms 652ms 19 60 39s949ms 665ms 20 60 50s172ms 836ms 21 60 53s17ms 883ms 22 60 56s42ms 934ms 23 60 48s60ms 801ms 00 60 2h36m11s 2m36s Apr 02 01 60 0ms 0ms 02 60 29s646ms 494ms 03 60 1m1s 1s22ms 04 60 1m1s 1s22ms 05 60 1m1s 1s22ms 06 60 1m1s 1s22ms 07 60 51s81ms 851ms 08 60 2m17s 2s289ms 09 60 1m18s 1s313ms 10 60 43s182ms 719ms 11 60 40m43s 40s727ms 12 60 24m40s 24s683ms 13 60 48s109ms 801ms 14 60 1m12s 1s210ms 15 60 52s729ms 878ms 16 60 44s765ms 746ms 17 60 44s765ms 746ms 18 60 44s765ms 746ms 19 60 44s765ms 746ms 20 60 44s765ms 746ms 21 60 44s765ms 746ms 22 60 44s765ms 746ms 23 60 44s765ms 746ms 00 60 47s184ms 786ms Apr 03 01 60 0ms 0ms 02 60 26s747ms 445ms 03 60 55s340ms 922ms 04 60 55s340ms 922ms 05 60 55s340ms 922ms 06 60 55s340ms 922ms 07 60 55s340ms 922ms 08 60 55s340ms 922ms 09 60 55s385ms 923ms 10 60 1m9s 1s162ms 11 60 1m38s 1s635ms 12 60 1m38s 1s635ms 13 60 1m38s 1s635ms 14 60 1m38s 1s635ms 15 60 1m38s 1s635ms 16 60 1m38s 1s635ms 17 60 1m38s 1s635ms 18 60 1m20s 1s345ms 19 60 40s450ms 674ms 20 60 40s526ms 675ms 21 60 40s526ms 675ms 22 60 40s526ms 675ms 23 60 40s526ms 675ms 00 60 43s238ms 720ms Apr 04 01 60 0ms 0ms 02 60 30s307ms 505ms 03 60 1m2s 1s45ms 04 60 1m2s 1s45ms 05 60 1m2s 1s45ms 06 60 1m2s 1s45ms 07 60 1m2s 1s45ms 08 60 47s763ms 796ms 09 60 32s820ms 547ms 10 60 32s820ms 547ms 11 60 34s314ms 571ms 12 60 34s727ms 578ms 13 60 3m8s 3s139ms 14 60 2m53s 2s897ms 15 60 2m58s 2s981ms 16 60 2m57s 2s957ms 17 60 2m40s 2s680ms 18 60 2m54s 2s902ms 19 60 2m57s 2s955ms 20 60 2m54s 2s908ms 21 60 2m59s 2s989ms 22 59 3m6s 3s162ms 23 60 2m56s 2s943ms 00 60 2m48s 2s806ms [ User: labanimal - Total duration: 6h46m27s - Times executed: 9442 ]
-
CREATE INDEX IF NOT EXISTS idx_app_events_type ON observability.app_events (event_type);
Date: 2026-04-01 23:55:01 Duration: 2m56s Database: zemm_monitoring User: labanimal Log file: /var/log/postgresql/postgresql-2026-04-01_000000.csv
-
CREATE INDEX IF NOT EXISTS idx_app_events_type ON observability.app_events (event_type);
Date: 2026-04-02 10:33:01 Duration: 1m23s Database: zemm_monitoring User: labanimal Log file: /var/log/postgresql/postgresql-2026-04-02_000000.csv
-
CREATE INDEX IF NOT EXISTS idx_app_events_type ON observability.app_events (event_type);
Date: 2026-04-02 11:17:01 Duration: 1m20s Database: zemm_monitoring User: labanimal Log file: /var/log/postgresql/postgresql-2026-04-02_000000.csv
13 6h46m27s 10,019 508ms 2m56s 2s434ms 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 #13
Day Hour Count Duration Avg duration Mar 29 00 60 0ms 0ms 01 60 37s149ms 619ms 04 60 1m16s 1s281ms 05 60 1m16s 1s281ms 06 60 1m16s 1s281ms 07 60 1m16s 1s281ms 08 60 1m16s 1s281ms 09 60 1m16s 1s281ms 10 60 1m16s 1s281ms 11 60 1m16s 1s281ms 12 60 1m16s 1s281ms 13 60 1m16s 1s281ms 14 60 45s854ms 764ms 15 60 41s759ms 695ms 16 60 41s759ms 695ms 17 60 41s759ms 695ms 18 60 41s759ms 695ms 19 60 41s759ms 695ms 20 60 41s759ms 695ms 21 60 45s329ms 755ms 22 60 40s125ms 668ms 23 60 35s338ms 588ms 00 60 38s720ms 645ms Mar 30 01 60 1m26s 1s434ms 02 60 28s358ms 472ms 03 60 58s672ms 977ms 04 60 58s672ms 977ms 05 60 58s672ms 977ms 06 60 58s672ms 977ms 07 60 58s672ms 977ms 08 60 49s561ms 826ms 09 60 1m40s 1s676ms 10 60 2m 2s2ms 11 60 39s318ms 655ms 12 60 38s836ms 647ms 13 60 41s162ms 686ms 14 60 1m2s 1s47ms 15 60 2m17s 2s288ms 16 60 41s821ms 697ms 17 60 36s198ms 603ms 18 60 4m3s 4s61ms 19 60 7m51s 7s857ms 20 60 1m43s 1s717ms 21 60 49s437ms 823ms 22 60 49s339ms 822ms 23 60 49s339ms 822ms 00 60 51s491ms 858ms Mar 31 01 60 0ms 0ms 02 60 32s747ms 545ms 03 60 1m7s 1s129ms 04 60 1m7s 1s129ms 05 60 1m7s 1s129ms 06 60 1m7s 1s129ms 07 60 1m7s 1s129ms 08 60 1m7s 1s129ms 09 60 1m 1s9ms 10 60 1m 1s10ms 11 60 38s794ms 646ms 12 60 2m1s 2s28ms 13 60 35s485ms 591ms 14 60 37s774ms 629ms 15 60 1m21s 1s364ms 16 60 1m16s 1s275ms 17 60 1m21s 1s355ms 18 60 1m6s 1s104ms 19 60 49s253ms 820ms 20 60 50s319ms 838ms 21 60 50s134ms 835ms 22 60 48s735ms 812ms 23 60 48s735ms 812ms 00 60 48s188ms 803ms Apr 01 01 60 0ms 0ms 02 60 28s345ms 472ms 03 60 58s645ms 977ms 04 60 58s645ms 977ms 05 60 58s645ms 977ms 06 60 51s621ms 860ms 07 60 43s594ms 726ms 08 60 49s114ms 818ms 09 60 46s748ms 779ms 10 60 36s117ms 601ms 11 60 38s366ms 639ms 12 60 42s239ms 703ms 13 60 57s755ms 962ms 14 60 41s664ms 694ms 15 60 54s716ms 911ms 16 60 44s519ms 741ms 17 60 39s362ms 656ms 18 60 39s148ms 652ms 19 60 39s949ms 665ms 20 60 50s172ms 836ms 21 60 53s17ms 883ms 22 60 56s42ms 934ms 23 60 48s60ms 801ms 00 60 2h36m11s 2m36s Apr 02 01 60 0ms 0ms 02 60 29s646ms 494ms 03 60 1m1s 1s22ms 04 60 1m1s 1s22ms 05 60 1m1s 1s22ms 06 60 1m1s 1s22ms 07 60 51s81ms 851ms 08 60 2m17s 2s289ms 09 60 1m18s 1s313ms 10 60 43s182ms 719ms 11 60 40m43s 40s727ms 12 60 24m40s 24s683ms 13 60 48s109ms 801ms 14 60 1m12s 1s210ms 15 60 52s729ms 878ms 16 60 44s765ms 746ms 17 60 44s765ms 746ms 18 60 44s765ms 746ms 19 60 44s765ms 746ms 20 60 44s765ms 746ms 21 60 44s765ms 746ms 22 60 44s765ms 746ms 23 60 44s765ms 746ms 00 60 47s184ms 786ms Apr 03 01 60 0ms 0ms 02 60 26s747ms 445ms 03 60 55s340ms 922ms 04 60 55s340ms 922ms 05 60 55s340ms 922ms 06 60 55s340ms 922ms 07 60 55s340ms 922ms 08 60 55s340ms 922ms 09 60 55s385ms 923ms 10 60 1m9s 1s162ms 11 60 1m38s 1s635ms 12 60 1m38s 1s635ms 13 60 1m38s 1s635ms 14 60 1m38s 1s635ms 15 60 1m38s 1s635ms 16 60 1m38s 1s635ms 17 60 1m38s 1s635ms 18 60 1m20s 1s345ms 19 60 40s450ms 674ms 20 60 40s526ms 675ms 21 60 40s526ms 675ms 22 60 40s526ms 675ms 23 60 40s526ms 675ms 00 60 43s238ms 720ms Apr 04 01 60 0ms 0ms 02 60 30s307ms 505ms 03 60 1m2s 1s45ms 04 60 1m2s 1s45ms 05 60 1m2s 1s45ms 06 60 1m2s 1s45ms 07 60 1m2s 1s45ms 08 60 47s763ms 796ms 09 60 32s820ms 547ms 10 60 32s820ms 547ms 11 60 34s314ms 571ms 12 60 34s727ms 578ms 13 60 3m8s 3s139ms 14 60 2m53s 2s897ms 15 60 2m58s 2s981ms 16 60 2m57s 2s957ms 17 60 2m40s 2s680ms 18 60 2m54s 2s902ms 19 60 2m57s 2s955ms 20 60 2m54s 2s908ms 21 60 2m59s 2s989ms 22 59 3m6s 3s162ms 23 60 2m56s 2s943ms 00 60 2m48s 2s806ms [ User: labanimal - Total duration: 6h46m27s - Times executed: 9442 ]
-
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-04-01 23:55:01 Duration: 2m56s Database: zemm_monitoring User: labanimal Log file: /var/log/postgresql/postgresql-2026-04-01_000000.csv
-
CREATE TABLE IF NOT EXISTS observability.db_top_queries ( id bigserial PRIMARY KEY, tenant_key text NOT NULL, fingerprint text, query text, mean_time_ms double precision, total_time_ms double precision, calls bigint, rows_returned bigint, collected_at timestamptz NOT NULL DEFAULT NOW() );
Date: 2026-04-02 10:33:01 Duration: 1m23s Database: zemm_monitoring User: labanimal Log file: /var/log/postgresql/postgresql-2026-04-02_000000.csv
-
CREATE TABLE IF NOT EXISTS observability.db_top_queries ( id bigserial PRIMARY KEY, tenant_key text NOT NULL, fingerprint text, query text, mean_time_ms double precision, total_time_ms double precision, calls bigint, rows_returned bigint, collected_at timestamptz NOT NULL DEFAULT NOW() );
Date: 2026-04-02 11:17:01 Duration: 1m20s Database: zemm_monitoring User: labanimal Log file: /var/log/postgresql/postgresql-2026-04-02_000000.csv
14 17m16s 307 2s650ms 21s942ms 3s376ms with start_snap as ( select distinct on (tenant_key, fingerprint) tenant_key, fingerprint, total_time_ms, calls, rows_returned, collected_at from observability.db_top_queries where tenant_key in (...) and collected_at <= ? order by tenant_key, fingerprint, collected_at desc ), fallback_start as ( select distinct on (tenant_key, fingerprint) tenant_key, fingerprint, total_time_ms, calls, rows_returned, collected_at from observability.db_top_queries where tenant_key in (...) and collected_at between ? and ? order by tenant_key, fingerprint, collected_at asc ), end_snap as ( select distinct on (tenant_key, fingerprint) tenant_key, fingerprint, query, total_time_ms, calls, rows_returned, collected_at from observability.db_top_queries where tenant_key in (...) and collected_at between ? and ? order by tenant_key, fingerprint, collected_at desc ), deltas as ( select e.tenant_key, e.fingerprint, e.query, e.collected_at as last_seen, greatest (coalesce(e.total_time_ms, ?) - coalesce(s.total_time_ms, fs.total_time_ms, ?), ?) as total_time_ms, greatest (coalesce(e.calls, ?) - coalesce(s.calls, fs.calls, ?), ?) as calls, greatest (coalesce(e.rows_returned, ?) - coalesce(s.rows_returned, fs.rows_returned, ?), ?) as rows_returned from end_snap e left join start_snap s on s.tenant_key = e.tenant_key and s.fingerprint = e.fingerprint left join fallback_start fs on fs.tenant_key = e.tenant_key and fs.fingerprint = e.fingerprint and s.tenant_key is null ) select fingerprint, max(query) as query, max(last_seen) as last_seen, sum(total_time_ms) as total_time_ms, sum(calls) as calls, sum(rows_returned) as rows_returned, case when sum(calls) > ? then sum(total_time_ms) / sum(calls) else ? end as mean_time_ms, array_agg(distinct tenant_key order by tenant_key) as tenant_keys from deltas where total_time_ms > ? or calls > ? group by fingerprint order by total_time_ms desc, calls desc limit ? offset ?;Times Reported Time consuming queries #14
Day Hour Count Duration Avg duration Apr 04 13 71 5m41s 4s807ms 14 29 1m26s 2s984ms 15 25 1m14s 2s967ms 16 24 1m9s 2s893ms 17 24 1m7s 2s817ms 18 24 1m8s 2s852ms 19 28 1m20s 2s882ms 20 25 1m11s 2s845ms 21 24 1m9s 2s894ms 22 26 1m26s 3s338ms 23 7 20s939ms 2s991ms [ User: labanimal - Total duration: 17m16s - Times executed: 307 ]
-
WITH start_snap AS ( SELECT DISTINCT ON (tenant_key, fingerprint) tenant_key, fingerprint, total_time_ms, calls, rows_returned, collected_at FROM observability.db_top_queries WHERE tenant_key IN ('prod', 'test', 'dev') AND collected_at <= '2026-04-04 11:27:03+02' ORDER BY tenant_key, fingerprint, collected_at DESC ), fallback_start AS ( SELECT DISTINCT ON (tenant_key, fingerprint) tenant_key, fingerprint, total_time_ms, calls, rows_returned, collected_at FROM observability.db_top_queries WHERE tenant_key IN ('prod', 'test', 'dev') AND collected_at BETWEEN '2026-04-04 11:27:03+02' AND '2026-04-04 12:27:03+02' ORDER BY tenant_key, fingerprint, collected_at ASC ), end_snap AS ( SELECT DISTINCT ON (tenant_key, fingerprint) tenant_key, fingerprint, query, total_time_ms, calls, rows_returned, collected_at FROM observability.db_top_queries WHERE tenant_key IN ('prod', 'test', 'dev') AND collected_at BETWEEN '2026-04-04 11:27:03+02' AND '2026-04-04 12:27:03+02' ORDER BY tenant_key, fingerprint, collected_at DESC ), deltas AS ( SELECT e.tenant_key, e.fingerprint, e.query, e.collected_at AS last_seen, GREATEST (COALESCE(e.total_time_ms, 0) - COALESCE(s.total_time_ms, fs.total_time_ms, 0), 0) AS total_time_ms, GREATEST (COALESCE(e.calls, 0) - COALESCE(s.calls, fs.calls, 0), 0) AS calls, GREATEST (COALESCE(e.rows_returned, 0) - COALESCE(s.rows_returned, fs.rows_returned, 0), 0) AS rows_returned FROM end_snap e LEFT JOIN start_snap s ON s.tenant_key = e.tenant_key AND s.fingerprint = e.fingerprint LEFT JOIN fallback_start fs ON fs.tenant_key = e.tenant_key AND fs.fingerprint = e.fingerprint AND s.tenant_key IS NULL ) SELECT fingerprint, MAX(query) AS query, MAX(last_seen) AS last_seen, SUM(total_time_ms) AS total_time_ms, SUM(calls) AS calls, SUM(rows_returned) AS rows_returned, CASE WHEN SUM(calls) > 0 THEN SUM(total_time_ms) / SUM(calls) ELSE 0 END AS mean_time_ms, array_agg(DISTINCT tenant_key ORDER BY tenant_key) AS tenant_keys FROM deltas WHERE total_time_ms > 0 OR calls > 0 GROUP BY fingerprint ORDER BY total_time_ms DESC, calls DESC LIMIT '5' OFFSET '0';
Date: 2026-04-04 12:27:25 Duration: 21s942ms Database: zemm_monitoring User: labanimal Bind query: yes Log file: /var/log/postgresql/postgresql-2026-04-04_000000.csv
-
WITH start_snap AS ( SELECT DISTINCT ON (tenant_key, fingerprint) tenant_key, fingerprint, total_time_ms, calls, rows_returned, collected_at FROM observability.db_top_queries WHERE tenant_key IN ('prod', 'test', 'dev') AND collected_at <= '2026-04-04 11:11:04+02' ORDER BY tenant_key, fingerprint, collected_at DESC ), fallback_start AS ( SELECT DISTINCT ON (tenant_key, fingerprint) tenant_key, fingerprint, total_time_ms, calls, rows_returned, collected_at FROM observability.db_top_queries WHERE tenant_key IN ('prod', 'test', 'dev') AND collected_at BETWEEN '2026-04-04 11:11:04+02' AND '2026-04-04 12:11:04+02' ORDER BY tenant_key, fingerprint, collected_at ASC ), end_snap AS ( SELECT DISTINCT ON (tenant_key, fingerprint) tenant_key, fingerprint, query, total_time_ms, calls, rows_returned, collected_at FROM observability.db_top_queries WHERE tenant_key IN ('prod', 'test', 'dev') AND collected_at BETWEEN '2026-04-04 11:11:04+02' AND '2026-04-04 12:11:04+02' ORDER BY tenant_key, fingerprint, collected_at DESC ), deltas AS ( SELECT e.tenant_key, e.fingerprint, e.query, e.collected_at AS last_seen, GREATEST (COALESCE(e.total_time_ms, 0) - COALESCE(s.total_time_ms, fs.total_time_ms, 0), 0) AS total_time_ms, GREATEST (COALESCE(e.calls, 0) - COALESCE(s.calls, fs.calls, 0), 0) AS calls, GREATEST (COALESCE(e.rows_returned, 0) - COALESCE(s.rows_returned, fs.rows_returned, 0), 0) AS rows_returned FROM end_snap e LEFT JOIN start_snap s ON s.tenant_key = e.tenant_key AND s.fingerprint = e.fingerprint LEFT JOIN fallback_start fs ON fs.tenant_key = e.tenant_key AND fs.fingerprint = e.fingerprint AND s.tenant_key IS NULL ) SELECT fingerprint, MAX(query) AS query, MAX(last_seen) AS last_seen, SUM(total_time_ms) AS total_time_ms, SUM(calls) AS calls, SUM(rows_returned) AS rows_returned, CASE WHEN SUM(calls) > 0 THEN SUM(total_time_ms) / SUM(calls) ELSE 0 END AS mean_time_ms, array_agg(DISTINCT tenant_key ORDER BY tenant_key) AS tenant_keys FROM deltas WHERE total_time_ms > 0 OR calls > 0 GROUP BY fingerprint ORDER BY total_time_ms DESC, calls DESC LIMIT '5' OFFSET '0';
Date: 2026-04-04 12:11:23 Duration: 19s619ms Database: zemm_monitoring User: labanimal Bind query: yes Log file: /var/log/postgresql/postgresql-2026-04-04_000000.csv
-
WITH start_snap AS ( SELECT DISTINCT ON (tenant_key, fingerprint) tenant_key, fingerprint, total_time_ms, calls, rows_returned, collected_at FROM observability.db_top_queries WHERE tenant_key IN ('prod', 'test', 'dev') AND collected_at <= '2026-03-28 12:26:44+01' ORDER BY tenant_key, fingerprint, collected_at DESC ), fallback_start AS ( SELECT DISTINCT ON (tenant_key, fingerprint) tenant_key, fingerprint, total_time_ms, calls, rows_returned, collected_at FROM observability.db_top_queries WHERE tenant_key IN ('prod', 'test', 'dev') AND collected_at BETWEEN '2026-03-28 12:26:44+01' AND '2026-04-04 12:26:44+02' ORDER BY tenant_key, fingerprint, collected_at ASC ), end_snap AS ( SELECT DISTINCT ON (tenant_key, fingerprint) tenant_key, fingerprint, query, total_time_ms, calls, rows_returned, collected_at FROM observability.db_top_queries WHERE tenant_key IN ('prod', 'test', 'dev') AND collected_at BETWEEN '2026-03-28 12:26:44+01' AND '2026-04-04 12:26:44+02' ORDER BY tenant_key, fingerprint, collected_at DESC ), deltas AS ( SELECT e.tenant_key, e.fingerprint, e.query, e.collected_at AS last_seen, GREATEST (COALESCE(e.total_time_ms, 0) - COALESCE(s.total_time_ms, fs.total_time_ms, 0), 0) AS total_time_ms, GREATEST (COALESCE(e.calls, 0) - COALESCE(s.calls, fs.calls, 0), 0) AS calls, GREATEST (COALESCE(e.rows_returned, 0) - COALESCE(s.rows_returned, fs.rows_returned, 0), 0) AS rows_returned FROM end_snap e LEFT JOIN start_snap s ON s.tenant_key = e.tenant_key AND s.fingerprint = e.fingerprint LEFT JOIN fallback_start fs ON fs.tenant_key = e.tenant_key AND fs.fingerprint = e.fingerprint AND s.tenant_key IS NULL ) SELECT fingerprint, MAX(query) AS query, MAX(last_seen) AS last_seen, SUM(total_time_ms) AS total_time_ms, SUM(calls) AS calls, SUM(rows_returned) AS rows_returned, CASE WHEN SUM(calls) > 0 THEN SUM(total_time_ms) / SUM(calls) ELSE 0 END AS mean_time_ms, array_agg(DISTINCT tenant_key ORDER BY tenant_key) AS tenant_keys FROM deltas WHERE total_time_ms > 0 OR calls > 0 GROUP BY fingerprint ORDER BY total_time_ms DESC, calls DESC LIMIT '5' OFFSET '0';
Date: 2026-04-04 12:27:00 Duration: 16s158ms Database: zemm_monitoring User: labanimal Bind query: yes Log file: /var/log/postgresql/postgresql-2026-04-04_000000.csv
15 2m56s 1 2m56s 2m56s 2m56s select str.name as linie, str.comments as eigentuemer, ( select count(a.animal_id) from animals_search_mview a where a.alive = ? and a.deleted = ? and a.strain = str.name and a.outgoing_date is null and a.death_date is null) as tiere_lebend, ( select max(a.death_date) from animals_search_mview a where a.deleted = ? and a.strain = str.name) as zuletzt_gestorbenes_tier, ( select max(a.outgoing_date) from animals_search_mview a where a.alive = ? and a.deleted = ? and a.strain = str.name) as zuletzt_lebend_verlassenes_tier from strains str where str.deleted = ? and str.active = ? group by str.name, str.comments;Times Reported Time consuming queries #15
Day Hour Count Duration Avg duration Apr 01 00 1 2m56s 2m56s [ User: labanimal - Total duration: 2m56s - Times executed: 1 ]
[ Application: strainscron:zemm_produktiv_8@h2940066.stratoserver.net:5432 - Total duration: 2m56s - Times executed: 1 ]
-
SELECT str.name AS Linie, str.comments AS Eigentuemer, ( SELECT COUNT(a.animal_id) FROM animals_search_mview a WHERE a.alive = 't' AND a.deleted = 'f' AND a.strain = str.name AND a.outgoing_date IS NULL AND a.death_date IS NULL) AS tiere_lebend, ( SELECT MAX(a.death_date) FROM animals_search_mview a WHERE a.deleted = 'f' AND a.strain = str.name) AS zuletzt_gestorbenes_tier, ( SELECT MAX(a.outgoing_date) FROM animals_search_mview a WHERE a.alive = 't' AND a.deleted = 'f' AND a.strain = str.name) AS zuletzt_lebend_verlassenes_Tier FROM strains str WHERE str.deleted = '0' AND str.active = '1' GROUP BY str.name, str.comments;
Date: 2026-04-01 23:02:57 Duration: 2m56s Database: zemm_produktiv_8 User: labanimal Remote: 81.169.238.237 Application: strainscron:zemm_produktiv_8@h2940066.stratoserver.net:5432 Log file: /var/log/postgresql/postgresql-2026-04-01_000000.csv
16 2m44s 2 1m20s 1m23s 1m22s select count(*) filter (where comments like ? and animal_readable (id, ?)) as u10100134_ui_contains, count(*) filter (where comments like ? and animal_readable (id, ?)) as u10100134_ui_bracket, count(*) filter (where comments like ? and animal_readable (id, ?)) as u10100205_ui_contains, count(*) filter (where comments like ? and animal_readable (id, ?)) as u10100205_ui_bracket from animals;Times Reported Time consuming queries #16
Day Hour Count Duration Avg duration Apr 02 11 2 2m44s 1m22s [ User: deploy - Total duration: 2m44s - Times executed: 2 ]
[ Application: psql - Total duration: 2m44s - Times executed: 2 ]
-
SELECT count(*) FILTER (WHERE comments LIKE '%[DZHI-IMPORT-v1 row%' AND animal_readable (id, 10100134)) AS u10100134_ui_contains, count(*) FILTER (WHERE comments LIKE '[%' AND animal_readable (id, 10100134)) AS u10100134_ui_bracket, count(*) FILTER (WHERE comments LIKE '%[DZHI-IMPORT-v1 row%' AND animal_readable (id, 10100205)) AS u10100205_ui_contains, count(*) FILTER (WHERE comments LIKE '[%' AND animal_readable (id, 10100205)) AS u10100205_ui_bracket FROM animals;
Date: 2026-04-02 10:32:11 Duration: 1m23s Database: zemm_produktiv_7 User: deploy Remote: [local] Application: psql Log file: /var/log/postgresql/postgresql-2026-04-02_000000.csv
-
SELECT count(*) FILTER (WHERE comments LIKE '%[DZHI-IMPORT-v1 row%' AND animal_readable (id, 10100134)) AS u10100134_ui_contains, count(*) FILTER (WHERE comments LIKE '[%' AND animal_readable (id, 10100134)) AS u10100134_ui_bracket, count(*) FILTER (WHERE comments LIKE '%[DZHI-IMPORT-v1 row%' AND animal_readable (id, 10100205)) AS u10100205_ui_contains, count(*) FILTER (WHERE comments LIKE '[%' AND animal_readable (id, 10100205)) AS u10100205_ui_bracket FROM animals;
Date: 2026-04-02 10:33:07 Duration: 1m20s Database: zemm_produktiv_7 User: deploy Remote: [local] Application: psql Log file: /var/log/postgresql/postgresql-2026-04-02_000000.csv
17 2m6s 6 564ms 25s401ms 21s65ms create temp table _dzhi_permission_fix ( row_num integer primary key, workgroup_name text not null, tourist_group integer not null );Times Reported Time consuming queries #17
Day Hour Count Duration Avg duration Apr 02 08 6 2m6s 21s65ms [ User: deploy - Total duration: 2m6s - Times executed: 6 ]
[ Application: psql - Total duration: 2m6s - Times executed: 6 ]
-
CREATE TEMP TABLE _dzhi_permission_fix ( row_num integer PRIMARY KEY, workgroup_name text NOT NULL, tourist_group integer NOT NULL );
Date: 2026-04-02 07:29:41 Duration: 25s401ms Database: zemm_produktiv_7 User: deploy Remote: [local] Application: psql Log file: /var/log/postgresql/postgresql-2026-04-02_000000.csv
-
CREATE TEMP TABLE _dzhi_permission_fix ( row_num integer PRIMARY KEY, workgroup_name text NOT NULL, tourist_group integer NOT NULL );
Date: 2026-04-02 07:30:26 Duration: 25s306ms Database: zemm_produktiv_7 User: deploy Remote: [local] Application: psql Log file: /var/log/postgresql/postgresql-2026-04-02_000000.csv
-
CREATE TEMP TABLE _dzhi_permission_fix ( row_num integer PRIMARY KEY, workgroup_name text NOT NULL, tourist_group integer NOT NULL );
Date: 2026-04-02 07:28:08 Duration: 25s110ms Database: zemm_produktiv_7 User: deploy Remote: [local] Application: psql Log file: /var/log/postgresql/postgresql-2026-04-02_000000.csv
18 2m6s 6 564ms 25s401ms 21s65ms create temp table _dzhi_fix_animals as select f.row_num, f.workgroup_name, f.tourist_group, a.id as animal_id, a.owner, a.editor, a.tourist, a."animalID" from _dzhi_permission_fix f join animals a on a.deleted = false and a.comments like (? || f.row_num::text || ?);Times Reported Time consuming queries #18
Day Hour Count Duration Avg duration Apr 02 08 6 2m6s 21s65ms [ User: deploy - Total duration: 2m6s - Times executed: 6 ]
[ Application: psql - Total duration: 2m6s - Times executed: 6 ]
-
CREATE TEMP TABLE _dzhi_fix_animals AS SELECT f.row_num, f.workgroup_name, f.tourist_group, a.id AS animal_id, a.owner, a.editor, a.tourist, a."animalID" FROM _dzhi_permission_fix f JOIN animals a ON a.deleted = false AND a.comments LIKE ('%[DZHI-IMPORT-v1 row=' || f.row_num::text || ']%');
Date: 2026-04-02 07:29:41 Duration: 25s401ms Database: zemm_produktiv_7 User: deploy Remote: [local] Application: psql Log file: /var/log/postgresql/postgresql-2026-04-02_000000.csv
-
CREATE TEMP TABLE _dzhi_fix_animals AS SELECT f.row_num, f.workgroup_name, f.tourist_group, a.id AS animal_id, a.owner, a.editor, a.tourist, a."animalID" FROM _dzhi_permission_fix f JOIN animals a ON a.deleted = false AND a.comments LIKE ('%[DZHI-IMPORT-v1 row=' || f.row_num::text || ']%');
Date: 2026-04-02 07:30:26 Duration: 25s306ms Database: zemm_produktiv_7 User: deploy Remote: [local] Application: psql Log file: /var/log/postgresql/postgresql-2026-04-02_000000.csv
-
CREATE TEMP TABLE _dzhi_fix_animals AS SELECT f.row_num, f.workgroup_name, f.tourist_group, a.id AS animal_id, a.owner, a.editor, a.tourist, a."animalID" FROM _dzhi_permission_fix f JOIN animals a ON a.deleted = false AND a.comments LIKE ('%[DZHI-IMPORT-v1 row=' || f.row_num::text || ']%');
Date: 2026-04-02 07:28:08 Duration: 25s110ms Database: zemm_produktiv_7 User: deploy Remote: [local] Application: psql Log file: /var/log/postgresql/postgresql-2026-04-02_000000.csv
19 1m8s 1 1m8s 1m8s 1m8s select count(*) filter (where animal_readable (a.id, ?)) as readable_any, count(*) filter (where a.comments ilike ? and animal_readable (a.id, ?)) as readable_dzhi_contains, count(*) filter (where a.comments like ? and animal_readable (a.id, ?)) as readable_dzhi_bracket from animals a;Times Reported Time consuming queries #19
Day Hour Count Duration Avg duration Apr 02 11 1 1m8s 1m8s [ User: deploy - Total duration: 1m8s - Times executed: 1 ]
[ Application: psql - Total duration: 1m8s - Times executed: 1 ]
-
SELECT count(*) FILTER (WHERE animal_readable (a.id, 10100134)) AS readable_any, count(*) FILTER (WHERE a.comments ILIKE '%DZHI-IMPORT-v1 row%' AND animal_readable (a.id, 10100134)) AS readable_dzhi_contains, count(*) FILTER (WHERE a.comments LIKE '[%' AND animal_readable (a.id, 10100134)) AS readable_dzhi_bracket FROM animals a;
Date: 2026-04-02 10:27:20 Duration: 1m8s Database: zemm_produktiv_7 User: deploy Remote: [local] Application: psql Log file: /var/log/postgresql/postgresql-2026-04-02_000000.csv
20 1m7s 1 1m7s 1m7s 1m7s with recent_users as ( select distinct on (lt."user") lt."user" as user_id, max(lt.timestamp) over (partition by lt."user") as last_seen from login_tracker lt join users u on u.id = lt."user" where lt.timestamp >= now() - interval ? and coalesce(u.deleted, false) = false order by lt."user", max(lt.timestamp) over (partition by lt."user") desc ), top_users as ( select user_id, last_seen from recent_users order by last_seen desc limit ? ) select tu.user_id, to_char(tu.last_seen, ?) as last_seen, count(*) filter (where a.comments ilike ? and user_is_tgm (a.owner, tu.user_id) or false) as dummy from top_users tu cross join lateral ( select ?) s join animals a on true group by tu.user_id, tu.last_seen order by tu.last_seen desc;Times Reported Time consuming queries #20
Day Hour Count Duration Avg duration Apr 02 11 1 1m7s 1m7s [ User: deploy - Total duration: 1m7s - Times executed: 1 ]
[ Application: psql - Total duration: 1m7s - Times executed: 1 ]
-
WITH recent_users AS ( SELECT DISTINCT ON (lt."user") lt."user" AS user_id, max(lt.timestamp) OVER (PARTITION BY lt."user") AS last_seen FROM login_tracker lt JOIN users u ON u.id = lt."user" WHERE lt.timestamp >= now() - interval '90 days' AND COALESCE(u.deleted, false) = false ORDER BY lt."user", max(lt.timestamp) OVER (PARTITION BY lt."user") DESC ), top_users AS ( SELECT user_id, last_seen FROM recent_users ORDER BY last_seen DESC LIMIT 12 ) SELECT tu.user_id, to_char(tu.last_seen, 'YYYY-MM-DD HH24:MI') AS last_seen, count(*) FILTER (WHERE a.comments ILIKE '%DZHI-IMPORT-v1 row%' AND user_is_tgm (a.owner, tu.user_id) OR false) AS dummy FROM top_users tu CROSS JOIN LATERAL ( SELECT 1) s JOIN animals a ON true GROUP BY tu.user_id, tu.last_seen ORDER BY tu.last_seen DESC;
Date: 2026-04-02 10:25:34 Duration: 1m7s Database: zemm_produktiv_7 User: deploy Remote: [local] Application: psql Log file: /var/log/postgresql/postgresql-2026-04-02_000000.csv
Most frequent queries (N)
Rank Times executed Total duration Min duration Max duration Avg duration Query 1 10,019 6h46m27s 508ms 2m56s 2s434ms create index if not exists idx_metrics_timeseries_metric on observability.metrics_timeseries (metric_name);Times Reported Time consuming queries #1
Day Hour Count Duration Avg duration Mar 29 00 60 0ms 0ms 01 60 37s149ms 619ms 04 60 1m16s 1s281ms 05 60 1m16s 1s281ms 06 60 1m16s 1s281ms 07 60 1m16s 1s281ms 08 60 1m16s 1s281ms 09 60 1m16s 1s281ms 10 60 1m16s 1s281ms 11 60 1m16s 1s281ms 12 60 1m16s 1s281ms 13 60 1m16s 1s281ms 14 60 45s854ms 764ms 15 60 41s759ms 695ms 16 60 41s759ms 695ms 17 60 41s759ms 695ms 18 60 41s759ms 695ms 19 60 41s759ms 695ms 20 60 41s759ms 695ms 21 60 45s329ms 755ms 22 60 40s125ms 668ms 23 60 35s338ms 588ms 00 60 38s720ms 645ms Mar 30 01 60 1m26s 1s434ms 02 60 28s358ms 472ms 03 60 58s672ms 977ms 04 60 58s672ms 977ms 05 60 58s672ms 977ms 06 60 58s672ms 977ms 07 60 58s672ms 977ms 08 60 49s561ms 826ms 09 60 1m40s 1s676ms 10 60 2m 2s2ms 11 60 39s318ms 655ms 12 60 38s836ms 647ms 13 60 41s162ms 686ms 14 60 1m2s 1s47ms 15 60 2m17s 2s288ms 16 60 41s821ms 697ms 17 60 36s198ms 603ms 18 60 4m3s 4s61ms 19 60 7m51s 7s857ms 20 60 1m43s 1s717ms 21 60 49s437ms 823ms 22 60 49s339ms 822ms 23 60 49s339ms 822ms 00 60 51s491ms 858ms Mar 31 01 60 0ms 0ms 02 60 32s747ms 545ms 03 60 1m7s 1s129ms 04 60 1m7s 1s129ms 05 60 1m7s 1s129ms 06 60 1m7s 1s129ms 07 60 1m7s 1s129ms 08 60 1m7s 1s129ms 09 60 1m 1s9ms 10 60 1m 1s10ms 11 60 38s794ms 646ms 12 60 2m1s 2s28ms 13 60 35s485ms 591ms 14 60 37s774ms 629ms 15 60 1m21s 1s364ms 16 60 1m16s 1s275ms 17 60 1m21s 1s355ms 18 60 1m6s 1s104ms 19 60 49s253ms 820ms 20 60 50s319ms 838ms 21 60 50s134ms 835ms 22 60 48s735ms 812ms 23 60 48s735ms 812ms 00 60 48s188ms 803ms Apr 01 01 60 0ms 0ms 02 60 28s345ms 472ms 03 60 58s645ms 977ms 04 60 58s645ms 977ms 05 60 58s645ms 977ms 06 60 51s621ms 860ms 07 60 43s594ms 726ms 08 60 49s114ms 818ms 09 60 46s748ms 779ms 10 60 36s117ms 601ms 11 60 38s366ms 639ms 12 60 42s239ms 703ms 13 60 57s755ms 962ms 14 60 41s664ms 694ms 15 60 54s716ms 911ms 16 60 44s519ms 741ms 17 60 39s362ms 656ms 18 60 39s148ms 652ms 19 60 39s949ms 665ms 20 60 50s172ms 836ms 21 60 53s17ms 883ms 22 60 56s42ms 934ms 23 60 48s60ms 801ms 00 60 2h36m11s 2m36s Apr 02 01 60 0ms 0ms 02 60 29s646ms 494ms 03 60 1m1s 1s22ms 04 60 1m1s 1s22ms 05 60 1m1s 1s22ms 06 60 1m1s 1s22ms 07 60 51s81ms 851ms 08 60 2m17s 2s289ms 09 60 1m18s 1s313ms 10 60 43s182ms 719ms 11 60 40m43s 40s727ms 12 60 24m40s 24s683ms 13 60 48s109ms 801ms 14 60 1m12s 1s210ms 15 60 52s729ms 878ms 16 60 44s765ms 746ms 17 60 44s765ms 746ms 18 60 44s765ms 746ms 19 60 44s765ms 746ms 20 60 44s765ms 746ms 21 60 44s765ms 746ms 22 60 44s765ms 746ms 23 60 44s765ms 746ms 00 60 47s184ms 786ms Apr 03 01 60 0ms 0ms 02 60 26s747ms 445ms 03 60 55s340ms 922ms 04 60 55s340ms 922ms 05 60 55s340ms 922ms 06 60 55s340ms 922ms 07 60 55s340ms 922ms 08 60 55s340ms 922ms 09 60 55s385ms 923ms 10 60 1m9s 1s162ms 11 60 1m38s 1s635ms 12 60 1m38s 1s635ms 13 60 1m38s 1s635ms 14 60 1m38s 1s635ms 15 60 1m38s 1s635ms 16 60 1m38s 1s635ms 17 60 1m38s 1s635ms 18 60 1m20s 1s345ms 19 60 40s450ms 674ms 20 60 40s526ms 675ms 21 60 40s526ms 675ms 22 60 40s526ms 675ms 23 60 40s526ms 675ms 00 60 43s238ms 720ms Apr 04 01 60 0ms 0ms 02 60 30s307ms 505ms 03 60 1m2s 1s45ms 04 60 1m2s 1s45ms 05 60 1m2s 1s45ms 06 60 1m2s 1s45ms 07 60 1m2s 1s45ms 08 60 47s763ms 796ms 09 60 32s820ms 547ms 10 60 32s820ms 547ms 11 60 34s314ms 571ms 12 60 34s727ms 578ms 13 60 3m8s 3s139ms 14 60 2m53s 2s897ms 15 60 2m58s 2s981ms 16 60 2m57s 2s957ms 17 60 2m40s 2s680ms 18 60 2m54s 2s902ms 19 60 2m57s 2s955ms 20 60 2m54s 2s908ms 21 60 2m59s 2s989ms 22 59 3m6s 3s162ms 23 60 2m56s 2s943ms 00 60 2m48s 2s806ms [ User: labanimal - Total duration: 6h46m27s - Times executed: 9442 ]
-
CREATE INDEX IF NOT EXISTS idx_metrics_timeseries_metric ON observability.metrics_timeseries (metric_name);
Date: 2026-04-01 23:55:01 Duration: 2m56s Database: zemm_monitoring User: labanimal Log file: /var/log/postgresql/postgresql-2026-04-01_000000.csv
-
CREATE INDEX IF NOT EXISTS idx_metrics_timeseries_metric ON observability.metrics_timeseries (metric_name);
Date: 2026-04-02 10:33:01 Duration: 1m23s Database: zemm_monitoring User: labanimal Log file: /var/log/postgresql/postgresql-2026-04-02_000000.csv
-
CREATE INDEX IF NOT EXISTS idx_metrics_timeseries_metric ON observability.metrics_timeseries (metric_name);
Date: 2026-04-02 11:17:01 Duration: 1m20s Database: zemm_monitoring User: labanimal Log file: /var/log/postgresql/postgresql-2026-04-02_000000.csv
2 10,019 6h46m27s 508ms 2m56s 2s434ms create index if not exists idx_app_events_tenant on observability.app_events (tenant_key, occurred_at desc);Times Reported Time consuming queries #2
Day Hour Count Duration Avg duration Mar 29 00 60 0ms 0ms 01 60 37s149ms 619ms 04 60 1m16s 1s281ms 05 60 1m16s 1s281ms 06 60 1m16s 1s281ms 07 60 1m16s 1s281ms 08 60 1m16s 1s281ms 09 60 1m16s 1s281ms 10 60 1m16s 1s281ms 11 60 1m16s 1s281ms 12 60 1m16s 1s281ms 13 60 1m16s 1s281ms 14 60 45s854ms 764ms 15 60 41s759ms 695ms 16 60 41s759ms 695ms 17 60 41s759ms 695ms 18 60 41s759ms 695ms 19 60 41s759ms 695ms 20 60 41s759ms 695ms 21 60 45s329ms 755ms 22 60 40s125ms 668ms 23 60 35s338ms 588ms 00 60 38s720ms 645ms Mar 30 01 60 1m26s 1s434ms 02 60 28s358ms 472ms 03 60 58s672ms 977ms 04 60 58s672ms 977ms 05 60 58s672ms 977ms 06 60 58s672ms 977ms 07 60 58s672ms 977ms 08 60 49s561ms 826ms 09 60 1m40s 1s676ms 10 60 2m 2s2ms 11 60 39s318ms 655ms 12 60 38s836ms 647ms 13 60 41s162ms 686ms 14 60 1m2s 1s47ms 15 60 2m17s 2s288ms 16 60 41s821ms 697ms 17 60 36s198ms 603ms 18 60 4m3s 4s61ms 19 60 7m51s 7s857ms 20 60 1m43s 1s717ms 21 60 49s437ms 823ms 22 60 49s339ms 822ms 23 60 49s339ms 822ms 00 60 51s491ms 858ms Mar 31 01 60 0ms 0ms 02 60 32s747ms 545ms 03 60 1m7s 1s129ms 04 60 1m7s 1s129ms 05 60 1m7s 1s129ms 06 60 1m7s 1s129ms 07 60 1m7s 1s129ms 08 60 1m7s 1s129ms 09 60 1m 1s9ms 10 60 1m 1s10ms 11 60 38s794ms 646ms 12 60 2m1s 2s28ms 13 60 35s485ms 591ms 14 60 37s774ms 629ms 15 60 1m21s 1s364ms 16 60 1m16s 1s275ms 17 60 1m21s 1s355ms 18 60 1m6s 1s104ms 19 60 49s253ms 820ms 20 60 50s319ms 838ms 21 60 50s134ms 835ms 22 60 48s735ms 812ms 23 60 48s735ms 812ms 00 60 48s188ms 803ms Apr 01 01 60 0ms 0ms 02 60 28s345ms 472ms 03 60 58s645ms 977ms 04 60 58s645ms 977ms 05 60 58s645ms 977ms 06 60 51s621ms 860ms 07 60 43s594ms 726ms 08 60 49s114ms 818ms 09 60 46s748ms 779ms 10 60 36s117ms 601ms 11 60 38s366ms 639ms 12 60 42s239ms 703ms 13 60 57s755ms 962ms 14 60 41s664ms 694ms 15 60 54s716ms 911ms 16 60 44s519ms 741ms 17 60 39s362ms 656ms 18 60 39s148ms 652ms 19 60 39s949ms 665ms 20 60 50s172ms 836ms 21 60 53s17ms 883ms 22 60 56s42ms 934ms 23 60 48s60ms 801ms 00 60 2h36m11s 2m36s Apr 02 01 60 0ms 0ms 02 60 29s646ms 494ms 03 60 1m1s 1s22ms 04 60 1m1s 1s22ms 05 60 1m1s 1s22ms 06 60 1m1s 1s22ms 07 60 51s81ms 851ms 08 60 2m17s 2s289ms 09 60 1m18s 1s313ms 10 60 43s182ms 719ms 11 60 40m43s 40s727ms 12 60 24m40s 24s683ms 13 60 48s109ms 801ms 14 60 1m12s 1s210ms 15 60 52s729ms 878ms 16 60 44s765ms 746ms 17 60 44s765ms 746ms 18 60 44s765ms 746ms 19 60 44s765ms 746ms 20 60 44s765ms 746ms 21 60 44s765ms 746ms 22 60 44s765ms 746ms 23 60 44s765ms 746ms 00 60 47s184ms 786ms Apr 03 01 60 0ms 0ms 02 60 26s747ms 445ms 03 60 55s340ms 922ms 04 60 55s340ms 922ms 05 60 55s340ms 922ms 06 60 55s340ms 922ms 07 60 55s340ms 922ms 08 60 55s340ms 922ms 09 60 55s385ms 923ms 10 60 1m9s 1s162ms 11 60 1m38s 1s635ms 12 60 1m38s 1s635ms 13 60 1m38s 1s635ms 14 60 1m38s 1s635ms 15 60 1m38s 1s635ms 16 60 1m38s 1s635ms 17 60 1m38s 1s635ms 18 60 1m20s 1s345ms 19 60 40s450ms 674ms 20 60 40s526ms 675ms 21 60 40s526ms 675ms 22 60 40s526ms 675ms 23 60 40s526ms 675ms 00 60 43s238ms 720ms Apr 04 01 60 0ms 0ms 02 60 30s307ms 505ms 03 60 1m2s 1s45ms 04 60 1m2s 1s45ms 05 60 1m2s 1s45ms 06 60 1m2s 1s45ms 07 60 1m2s 1s45ms 08 60 47s763ms 796ms 09 60 32s820ms 547ms 10 60 32s820ms 547ms 11 60 34s314ms 571ms 12 60 34s727ms 578ms 13 60 3m8s 3s139ms 14 60 2m53s 2s897ms 15 60 2m58s 2s981ms 16 60 2m57s 2s957ms 17 60 2m40s 2s680ms 18 60 2m54s 2s902ms 19 60 2m57s 2s955ms 20 60 2m54s 2s908ms 21 60 2m59s 2s989ms 22 59 3m6s 3s162ms 23 60 2m56s 2s943ms 00 60 2m48s 2s806ms [ User: labanimal - Total duration: 6h46m27s - Times executed: 9442 ]
-
CREATE INDEX IF NOT EXISTS idx_app_events_tenant ON observability.app_events (tenant_key, occurred_at DESC);
Date: 2026-04-01 23:55:01 Duration: 2m56s Database: zemm_monitoring User: labanimal Log file: /var/log/postgresql/postgresql-2026-04-01_000000.csv
-
CREATE INDEX IF NOT EXISTS idx_app_events_tenant ON observability.app_events (tenant_key, occurred_at DESC);
Date: 2026-04-02 10:33:01 Duration: 1m23s Database: zemm_monitoring User: labanimal Log file: /var/log/postgresql/postgresql-2026-04-02_000000.csv
-
CREATE INDEX IF NOT EXISTS idx_app_events_tenant ON observability.app_events (tenant_key, occurred_at DESC);
Date: 2026-04-02 11:17:01 Duration: 1m20s Database: zemm_monitoring User: labanimal Log file: /var/log/postgresql/postgresql-2026-04-02_000000.csv
3 10,019 6h46m27s 508ms 2m56s 2s434ms create schema if not exists observability;Times Reported Time consuming queries #3
Day Hour Count Duration Avg duration Mar 29 00 60 0ms 0ms 01 60 37s149ms 619ms 04 60 1m16s 1s281ms 05 60 1m16s 1s281ms 06 60 1m16s 1s281ms 07 60 1m16s 1s281ms 08 60 1m16s 1s281ms 09 60 1m16s 1s281ms 10 60 1m16s 1s281ms 11 60 1m16s 1s281ms 12 60 1m16s 1s281ms 13 60 1m16s 1s281ms 14 60 45s854ms 764ms 15 60 41s759ms 695ms 16 60 41s759ms 695ms 17 60 41s759ms 695ms 18 60 41s759ms 695ms 19 60 41s759ms 695ms 20 60 41s759ms 695ms 21 60 45s329ms 755ms 22 60 40s125ms 668ms 23 60 35s338ms 588ms 00 60 38s720ms 645ms Mar 30 01 60 1m26s 1s434ms 02 60 28s358ms 472ms 03 60 58s672ms 977ms 04 60 58s672ms 977ms 05 60 58s672ms 977ms 06 60 58s672ms 977ms 07 60 58s672ms 977ms 08 60 49s561ms 826ms 09 60 1m40s 1s676ms 10 60 2m 2s2ms 11 60 39s318ms 655ms 12 60 38s836ms 647ms 13 60 41s162ms 686ms 14 60 1m2s 1s47ms 15 60 2m17s 2s288ms 16 60 41s821ms 697ms 17 60 36s198ms 603ms 18 60 4m3s 4s61ms 19 60 7m51s 7s857ms 20 60 1m43s 1s717ms 21 60 49s437ms 823ms 22 60 49s339ms 822ms 23 60 49s339ms 822ms 00 60 51s491ms 858ms Mar 31 01 60 0ms 0ms 02 60 32s747ms 545ms 03 60 1m7s 1s129ms 04 60 1m7s 1s129ms 05 60 1m7s 1s129ms 06 60 1m7s 1s129ms 07 60 1m7s 1s129ms 08 60 1m7s 1s129ms 09 60 1m 1s9ms 10 60 1m 1s10ms 11 60 38s794ms 646ms 12 60 2m1s 2s28ms 13 60 35s485ms 591ms 14 60 37s774ms 629ms 15 60 1m21s 1s364ms 16 60 1m16s 1s275ms 17 60 1m21s 1s355ms 18 60 1m6s 1s104ms 19 60 49s253ms 820ms 20 60 50s319ms 838ms 21 60 50s134ms 835ms 22 60 48s735ms 812ms 23 60 48s735ms 812ms 00 60 48s188ms 803ms Apr 01 01 60 0ms 0ms 02 60 28s345ms 472ms 03 60 58s645ms 977ms 04 60 58s645ms 977ms 05 60 58s645ms 977ms 06 60 51s621ms 860ms 07 60 43s594ms 726ms 08 60 49s114ms 818ms 09 60 46s748ms 779ms 10 60 36s117ms 601ms 11 60 38s366ms 639ms 12 60 42s239ms 703ms 13 60 57s755ms 962ms 14 60 41s664ms 694ms 15 60 54s716ms 911ms 16 60 44s519ms 741ms 17 60 39s362ms 656ms 18 60 39s148ms 652ms 19 60 39s949ms 665ms 20 60 50s172ms 836ms 21 60 53s17ms 883ms 22 60 56s42ms 934ms 23 60 48s60ms 801ms 00 60 2h36m11s 2m36s Apr 02 01 60 0ms 0ms 02 60 29s646ms 494ms 03 60 1m1s 1s22ms 04 60 1m1s 1s22ms 05 60 1m1s 1s22ms 06 60 1m1s 1s22ms 07 60 51s81ms 851ms 08 60 2m17s 2s289ms 09 60 1m18s 1s313ms 10 60 43s182ms 719ms 11 60 40m43s 40s727ms 12 60 24m40s 24s683ms 13 60 48s109ms 801ms 14 60 1m12s 1s210ms 15 60 52s729ms 878ms 16 60 44s765ms 746ms 17 60 44s765ms 746ms 18 60 44s765ms 746ms 19 60 44s765ms 746ms 20 60 44s765ms 746ms 21 60 44s765ms 746ms 22 60 44s765ms 746ms 23 60 44s765ms 746ms 00 60 47s184ms 786ms Apr 03 01 60 0ms 0ms 02 60 26s747ms 445ms 03 60 55s340ms 922ms 04 60 55s340ms 922ms 05 60 55s340ms 922ms 06 60 55s340ms 922ms 07 60 55s340ms 922ms 08 60 55s340ms 922ms 09 60 55s385ms 923ms 10 60 1m9s 1s162ms 11 60 1m38s 1s635ms 12 60 1m38s 1s635ms 13 60 1m38s 1s635ms 14 60 1m38s 1s635ms 15 60 1m38s 1s635ms 16 60 1m38s 1s635ms 17 60 1m38s 1s635ms 18 60 1m20s 1s345ms 19 60 40s450ms 674ms 20 60 40s526ms 675ms 21 60 40s526ms 675ms 22 60 40s526ms 675ms 23 60 40s526ms 675ms 00 60 43s238ms 720ms Apr 04 01 60 0ms 0ms 02 60 30s307ms 505ms 03 60 1m2s 1s45ms 04 60 1m2s 1s45ms 05 60 1m2s 1s45ms 06 60 1m2s 1s45ms 07 60 1m2s 1s45ms 08 60 47s763ms 796ms 09 60 32s820ms 547ms 10 60 32s820ms 547ms 11 60 34s314ms 571ms 12 60 34s727ms 578ms 13 60 3m8s 3s139ms 14 60 2m53s 2s897ms 15 60 2m58s 2s981ms 16 60 2m57s 2s957ms 17 60 2m40s 2s680ms 18 60 2m54s 2s902ms 19 60 2m57s 2s955ms 20 60 2m54s 2s908ms 21 60 2m59s 2s989ms 22 59 3m6s 3s162ms 23 60 2m56s 2s943ms 00 60 2m48s 2s806ms [ User: labanimal - Total duration: 6h46m27s - Times executed: 9442 ]
-
CREATE SCHEMA IF NOT EXISTS observability;
Date: 2026-04-01 23:55:01 Duration: 2m56s Database: zemm_monitoring User: labanimal Log file: /var/log/postgresql/postgresql-2026-04-01_000000.csv
-
CREATE SCHEMA IF NOT EXISTS observability;
Date: 2026-04-02 10:33:01 Duration: 1m23s Database: zemm_monitoring User: labanimal Log file: /var/log/postgresql/postgresql-2026-04-02_000000.csv
-
CREATE SCHEMA IF NOT EXISTS observability;
Date: 2026-04-02 11:17:01 Duration: 1m20s Database: zemm_monitoring User: labanimal Log file: /var/log/postgresql/postgresql-2026-04-02_000000.csv
4 10,019 6h46m27s 508ms 2m56s 2s434ms 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 #4
Day Hour Count Duration Avg duration Mar 29 00 60 0ms 0ms 01 60 37s149ms 619ms 04 60 1m16s 1s281ms 05 60 1m16s 1s281ms 06 60 1m16s 1s281ms 07 60 1m16s 1s281ms 08 60 1m16s 1s281ms 09 60 1m16s 1s281ms 10 60 1m16s 1s281ms 11 60 1m16s 1s281ms 12 60 1m16s 1s281ms 13 60 1m16s 1s281ms 14 60 45s854ms 764ms 15 60 41s759ms 695ms 16 60 41s759ms 695ms 17 60 41s759ms 695ms 18 60 41s759ms 695ms 19 60 41s759ms 695ms 20 60 41s759ms 695ms 21 60 45s329ms 755ms 22 60 40s125ms 668ms 23 60 35s338ms 588ms 00 60 38s720ms 645ms Mar 30 01 60 1m26s 1s434ms 02 60 28s358ms 472ms 03 60 58s672ms 977ms 04 60 58s672ms 977ms 05 60 58s672ms 977ms 06 60 58s672ms 977ms 07 60 58s672ms 977ms 08 60 49s561ms 826ms 09 60 1m40s 1s676ms 10 60 2m 2s2ms 11 60 39s318ms 655ms 12 60 38s836ms 647ms 13 60 41s162ms 686ms 14 60 1m2s 1s47ms 15 60 2m17s 2s288ms 16 60 41s821ms 697ms 17 60 36s198ms 603ms 18 60 4m3s 4s61ms 19 60 7m51s 7s857ms 20 60 1m43s 1s717ms 21 60 49s437ms 823ms 22 60 49s339ms 822ms 23 60 49s339ms 822ms 00 60 51s491ms 858ms Mar 31 01 60 0ms 0ms 02 60 32s747ms 545ms 03 60 1m7s 1s129ms 04 60 1m7s 1s129ms 05 60 1m7s 1s129ms 06 60 1m7s 1s129ms 07 60 1m7s 1s129ms 08 60 1m7s 1s129ms 09 60 1m 1s9ms 10 60 1m 1s10ms 11 60 38s794ms 646ms 12 60 2m1s 2s28ms 13 60 35s485ms 591ms 14 60 37s774ms 629ms 15 60 1m21s 1s364ms 16 60 1m16s 1s275ms 17 60 1m21s 1s355ms 18 60 1m6s 1s104ms 19 60 49s253ms 820ms 20 60 50s319ms 838ms 21 60 50s134ms 835ms 22 60 48s735ms 812ms 23 60 48s735ms 812ms 00 60 48s188ms 803ms Apr 01 01 60 0ms 0ms 02 60 28s345ms 472ms 03 60 58s645ms 977ms 04 60 58s645ms 977ms 05 60 58s645ms 977ms 06 60 51s621ms 860ms 07 60 43s594ms 726ms 08 60 49s114ms 818ms 09 60 46s748ms 779ms 10 60 36s117ms 601ms 11 60 38s366ms 639ms 12 60 42s239ms 703ms 13 60 57s755ms 962ms 14 60 41s664ms 694ms 15 60 54s716ms 911ms 16 60 44s519ms 741ms 17 60 39s362ms 656ms 18 60 39s148ms 652ms 19 60 39s949ms 665ms 20 60 50s172ms 836ms 21 60 53s17ms 883ms 22 60 56s42ms 934ms 23 60 48s60ms 801ms 00 60 2h36m11s 2m36s Apr 02 01 60 0ms 0ms 02 60 29s646ms 494ms 03 60 1m1s 1s22ms 04 60 1m1s 1s22ms 05 60 1m1s 1s22ms 06 60 1m1s 1s22ms 07 60 51s81ms 851ms 08 60 2m17s 2s289ms 09 60 1m18s 1s313ms 10 60 43s182ms 719ms 11 60 40m43s 40s727ms 12 60 24m40s 24s683ms 13 60 48s109ms 801ms 14 60 1m12s 1s210ms 15 60 52s729ms 878ms 16 60 44s765ms 746ms 17 60 44s765ms 746ms 18 60 44s765ms 746ms 19 60 44s765ms 746ms 20 60 44s765ms 746ms 21 60 44s765ms 746ms 22 60 44s765ms 746ms 23 60 44s765ms 746ms 00 60 47s184ms 786ms Apr 03 01 60 0ms 0ms 02 60 26s747ms 445ms 03 60 55s340ms 922ms 04 60 55s340ms 922ms 05 60 55s340ms 922ms 06 60 55s340ms 922ms 07 60 55s340ms 922ms 08 60 55s340ms 922ms 09 60 55s385ms 923ms 10 60 1m9s 1s162ms 11 60 1m38s 1s635ms 12 60 1m38s 1s635ms 13 60 1m38s 1s635ms 14 60 1m38s 1s635ms 15 60 1m38s 1s635ms 16 60 1m38s 1s635ms 17 60 1m38s 1s635ms 18 60 1m20s 1s345ms 19 60 40s450ms 674ms 20 60 40s526ms 675ms 21 60 40s526ms 675ms 22 60 40s526ms 675ms 23 60 40s526ms 675ms 00 60 43s238ms 720ms Apr 04 01 60 0ms 0ms 02 60 30s307ms 505ms 03 60 1m2s 1s45ms 04 60 1m2s 1s45ms 05 60 1m2s 1s45ms 06 60 1m2s 1s45ms 07 60 1m2s 1s45ms 08 60 47s763ms 796ms 09 60 32s820ms 547ms 10 60 32s820ms 547ms 11 60 34s314ms 571ms 12 60 34s727ms 578ms 13 60 3m8s 3s139ms 14 60 2m53s 2s897ms 15 60 2m58s 2s981ms 16 60 2m57s 2s957ms 17 60 2m40s 2s680ms 18 60 2m54s 2s902ms 19 60 2m57s 2s955ms 20 60 2m54s 2s908ms 21 60 2m59s 2s989ms 22 59 3m6s 3s162ms 23 60 2m56s 2s943ms 00 60 2m48s 2s806ms [ User: labanimal - Total duration: 6h46m27s - Times executed: 9442 ]
-
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-04-01 23:55:01 Duration: 2m56s Database: zemm_monitoring User: labanimal Log file: /var/log/postgresql/postgresql-2026-04-01_000000.csv
-
CREATE TABLE IF NOT EXISTS observability.app_events ( id bigserial PRIMARY KEY, tenant_key text NOT NULL, event_type text NOT NULL, severity text NOT NULL, message text NOT NULL, payload jsonb, occurred_at timestamptz NOT NULL DEFAULT NOW(), created_at timestamptz NOT NULL DEFAULT NOW() );
Date: 2026-04-02 10:33:01 Duration: 1m23s Database: zemm_monitoring User: labanimal Log file: /var/log/postgresql/postgresql-2026-04-02_000000.csv
-
CREATE TABLE IF NOT EXISTS observability.app_events ( id bigserial PRIMARY KEY, tenant_key text NOT NULL, event_type text NOT NULL, severity text NOT NULL, message text NOT NULL, payload jsonb, occurred_at timestamptz NOT NULL DEFAULT NOW(), created_at timestamptz NOT NULL DEFAULT NOW() );
Date: 2026-04-02 11:17:01 Duration: 1m20s Database: zemm_monitoring User: labanimal Log file: /var/log/postgresql/postgresql-2026-04-02_000000.csv
5 10,019 6h46m27s 508ms 2m56s 2s434ms create table if not exists observability.phpfpm_counters ( id bigserial primary key, payload jsonb not null, collected_at timestamptz not null default now() );Times Reported Time consuming queries #5
Day Hour Count Duration Avg duration Mar 29 00 60 0ms 0ms 01 60 37s149ms 619ms 04 60 1m16s 1s281ms 05 60 1m16s 1s281ms 06 60 1m16s 1s281ms 07 60 1m16s 1s281ms 08 60 1m16s 1s281ms 09 60 1m16s 1s281ms 10 60 1m16s 1s281ms 11 60 1m16s 1s281ms 12 60 1m16s 1s281ms 13 60 1m16s 1s281ms 14 60 45s854ms 764ms 15 60 41s759ms 695ms 16 60 41s759ms 695ms 17 60 41s759ms 695ms 18 60 41s759ms 695ms 19 60 41s759ms 695ms 20 60 41s759ms 695ms 21 60 45s329ms 755ms 22 60 40s125ms 668ms 23 60 35s338ms 588ms 00 60 38s720ms 645ms Mar 30 01 60 1m26s 1s434ms 02 60 28s358ms 472ms 03 60 58s672ms 977ms 04 60 58s672ms 977ms 05 60 58s672ms 977ms 06 60 58s672ms 977ms 07 60 58s672ms 977ms 08 60 49s561ms 826ms 09 60 1m40s 1s676ms 10 60 2m 2s2ms 11 60 39s318ms 655ms 12 60 38s836ms 647ms 13 60 41s162ms 686ms 14 60 1m2s 1s47ms 15 60 2m17s 2s288ms 16 60 41s821ms 697ms 17 60 36s198ms 603ms 18 60 4m3s 4s61ms 19 60 7m51s 7s857ms 20 60 1m43s 1s717ms 21 60 49s437ms 823ms 22 60 49s339ms 822ms 23 60 49s339ms 822ms 00 60 51s491ms 858ms Mar 31 01 60 0ms 0ms 02 60 32s747ms 545ms 03 60 1m7s 1s129ms 04 60 1m7s 1s129ms 05 60 1m7s 1s129ms 06 60 1m7s 1s129ms 07 60 1m7s 1s129ms 08 60 1m7s 1s129ms 09 60 1m 1s9ms 10 60 1m 1s10ms 11 60 38s794ms 646ms 12 60 2m1s 2s28ms 13 60 35s485ms 591ms 14 60 37s774ms 629ms 15 60 1m21s 1s364ms 16 60 1m16s 1s275ms 17 60 1m21s 1s355ms 18 60 1m6s 1s104ms 19 60 49s253ms 820ms 20 60 50s319ms 838ms 21 60 50s134ms 835ms 22 60 48s735ms 812ms 23 60 48s735ms 812ms 00 60 48s188ms 803ms Apr 01 01 60 0ms 0ms 02 60 28s345ms 472ms 03 60 58s645ms 977ms 04 60 58s645ms 977ms 05 60 58s645ms 977ms 06 60 51s621ms 860ms 07 60 43s594ms 726ms 08 60 49s114ms 818ms 09 60 46s748ms 779ms 10 60 36s117ms 601ms 11 60 38s366ms 639ms 12 60 42s239ms 703ms 13 60 57s755ms 962ms 14 60 41s664ms 694ms 15 60 54s716ms 911ms 16 60 44s519ms 741ms 17 60 39s362ms 656ms 18 60 39s148ms 652ms 19 60 39s949ms 665ms 20 60 50s172ms 836ms 21 60 53s17ms 883ms 22 60 56s42ms 934ms 23 60 48s60ms 801ms 00 60 2h36m11s 2m36s Apr 02 01 60 0ms 0ms 02 60 29s646ms 494ms 03 60 1m1s 1s22ms 04 60 1m1s 1s22ms 05 60 1m1s 1s22ms 06 60 1m1s 1s22ms 07 60 51s81ms 851ms 08 60 2m17s 2s289ms 09 60 1m18s 1s313ms 10 60 43s182ms 719ms 11 60 40m43s 40s727ms 12 60 24m40s 24s683ms 13 60 48s109ms 801ms 14 60 1m12s 1s210ms 15 60 52s729ms 878ms 16 60 44s765ms 746ms 17 60 44s765ms 746ms 18 60 44s765ms 746ms 19 60 44s765ms 746ms 20 60 44s765ms 746ms 21 60 44s765ms 746ms 22 60 44s765ms 746ms 23 60 44s765ms 746ms 00 60 47s184ms 786ms Apr 03 01 60 0ms 0ms 02 60 26s747ms 445ms 03 60 55s340ms 922ms 04 60 55s340ms 922ms 05 60 55s340ms 922ms 06 60 55s340ms 922ms 07 60 55s340ms 922ms 08 60 55s340ms 922ms 09 60 55s385ms 923ms 10 60 1m9s 1s162ms 11 60 1m38s 1s635ms 12 60 1m38s 1s635ms 13 60 1m38s 1s635ms 14 60 1m38s 1s635ms 15 60 1m38s 1s635ms 16 60 1m38s 1s635ms 17 60 1m38s 1s635ms 18 60 1m20s 1s345ms 19 60 40s450ms 674ms 20 60 40s526ms 675ms 21 60 40s526ms 675ms 22 60 40s526ms 675ms 23 60 40s526ms 675ms 00 60 43s238ms 720ms Apr 04 01 60 0ms 0ms 02 60 30s307ms 505ms 03 60 1m2s 1s45ms 04 60 1m2s 1s45ms 05 60 1m2s 1s45ms 06 60 1m2s 1s45ms 07 60 1m2s 1s45ms 08 60 47s763ms 796ms 09 60 32s820ms 547ms 10 60 32s820ms 547ms 11 60 34s314ms 571ms 12 60 34s727ms 578ms 13 60 3m8s 3s139ms 14 60 2m53s 2s897ms 15 60 2m58s 2s981ms 16 60 2m57s 2s957ms 17 60 2m40s 2s680ms 18 60 2m54s 2s902ms 19 60 2m57s 2s955ms 20 60 2m54s 2s908ms 21 60 2m59s 2s989ms 22 59 3m6s 3s162ms 23 60 2m56s 2s943ms 00 60 2m48s 2s806ms [ User: labanimal - Total duration: 6h46m27s - Times executed: 9442 ]
-
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-04-01 23:55:01 Duration: 2m56s Database: zemm_monitoring User: labanimal Log file: /var/log/postgresql/postgresql-2026-04-01_000000.csv
-
CREATE TABLE IF NOT EXISTS observability.phpfpm_counters ( id bigserial PRIMARY KEY, payload jsonb NOT NULL, collected_at timestamptz NOT NULL DEFAULT NOW() );
Date: 2026-04-02 10:33:01 Duration: 1m23s Database: zemm_monitoring User: labanimal Log file: /var/log/postgresql/postgresql-2026-04-02_000000.csv
-
CREATE TABLE IF NOT EXISTS observability.phpfpm_counters ( id bigserial PRIMARY KEY, payload jsonb NOT NULL, collected_at timestamptz NOT NULL DEFAULT NOW() );
Date: 2026-04-02 11:17:01 Duration: 1m20s Database: zemm_monitoring User: labanimal Log file: /var/log/postgresql/postgresql-2026-04-02_000000.csv
6 10,019 6h46m27s 508ms 2m56s 2s434ms create index if not exists idx_db_top_queries_tenant on observability.db_top_queries (tenant_key, collected_at desc);Times Reported Time consuming queries #6
Day Hour Count Duration Avg duration Mar 29 00 60 0ms 0ms 01 60 37s149ms 619ms 04 60 1m16s 1s281ms 05 60 1m16s 1s281ms 06 60 1m16s 1s281ms 07 60 1m16s 1s281ms 08 60 1m16s 1s281ms 09 60 1m16s 1s281ms 10 60 1m16s 1s281ms 11 60 1m16s 1s281ms 12 60 1m16s 1s281ms 13 60 1m16s 1s281ms 14 60 45s854ms 764ms 15 60 41s759ms 695ms 16 60 41s759ms 695ms 17 60 41s759ms 695ms 18 60 41s759ms 695ms 19 60 41s759ms 695ms 20 60 41s759ms 695ms 21 60 45s329ms 755ms 22 60 40s125ms 668ms 23 60 35s338ms 588ms 00 60 38s720ms 645ms Mar 30 01 60 1m26s 1s434ms 02 60 28s358ms 472ms 03 60 58s672ms 977ms 04 60 58s672ms 977ms 05 60 58s672ms 977ms 06 60 58s672ms 977ms 07 60 58s672ms 977ms 08 60 49s561ms 826ms 09 60 1m40s 1s676ms 10 60 2m 2s2ms 11 60 39s318ms 655ms 12 60 38s836ms 647ms 13 60 41s162ms 686ms 14 60 1m2s 1s47ms 15 60 2m17s 2s288ms 16 60 41s821ms 697ms 17 60 36s198ms 603ms 18 60 4m3s 4s61ms 19 60 7m51s 7s857ms 20 60 1m43s 1s717ms 21 60 49s437ms 823ms 22 60 49s339ms 822ms 23 60 49s339ms 822ms 00 60 51s491ms 858ms Mar 31 01 60 0ms 0ms 02 60 32s747ms 545ms 03 60 1m7s 1s129ms 04 60 1m7s 1s129ms 05 60 1m7s 1s129ms 06 60 1m7s 1s129ms 07 60 1m7s 1s129ms 08 60 1m7s 1s129ms 09 60 1m 1s9ms 10 60 1m 1s10ms 11 60 38s794ms 646ms 12 60 2m1s 2s28ms 13 60 35s485ms 591ms 14 60 37s774ms 629ms 15 60 1m21s 1s364ms 16 60 1m16s 1s275ms 17 60 1m21s 1s355ms 18 60 1m6s 1s104ms 19 60 49s253ms 820ms 20 60 50s319ms 838ms 21 60 50s134ms 835ms 22 60 48s735ms 812ms 23 60 48s735ms 812ms 00 60 48s188ms 803ms Apr 01 01 60 0ms 0ms 02 60 28s345ms 472ms 03 60 58s645ms 977ms 04 60 58s645ms 977ms 05 60 58s645ms 977ms 06 60 51s621ms 860ms 07 60 43s594ms 726ms 08 60 49s114ms 818ms 09 60 46s748ms 779ms 10 60 36s117ms 601ms 11 60 38s366ms 639ms 12 60 42s239ms 703ms 13 60 57s755ms 962ms 14 60 41s664ms 694ms 15 60 54s716ms 911ms 16 60 44s519ms 741ms 17 60 39s362ms 656ms 18 60 39s148ms 652ms 19 60 39s949ms 665ms 20 60 50s172ms 836ms 21 60 53s17ms 883ms 22 60 56s42ms 934ms 23 60 48s60ms 801ms 00 60 2h36m11s 2m36s Apr 02 01 60 0ms 0ms 02 60 29s646ms 494ms 03 60 1m1s 1s22ms 04 60 1m1s 1s22ms 05 60 1m1s 1s22ms 06 60 1m1s 1s22ms 07 60 51s81ms 851ms 08 60 2m17s 2s289ms 09 60 1m18s 1s313ms 10 60 43s182ms 719ms 11 60 40m43s 40s727ms 12 60 24m40s 24s683ms 13 60 48s109ms 801ms 14 60 1m12s 1s210ms 15 60 52s729ms 878ms 16 60 44s765ms 746ms 17 60 44s765ms 746ms 18 60 44s765ms 746ms 19 60 44s765ms 746ms 20 60 44s765ms 746ms 21 60 44s765ms 746ms 22 60 44s765ms 746ms 23 60 44s765ms 746ms 00 60 47s184ms 786ms Apr 03 01 60 0ms 0ms 02 60 26s747ms 445ms 03 60 55s340ms 922ms 04 60 55s340ms 922ms 05 60 55s340ms 922ms 06 60 55s340ms 922ms 07 60 55s340ms 922ms 08 60 55s340ms 922ms 09 60 55s385ms 923ms 10 60 1m9s 1s162ms 11 60 1m38s 1s635ms 12 60 1m38s 1s635ms 13 60 1m38s 1s635ms 14 60 1m38s 1s635ms 15 60 1m38s 1s635ms 16 60 1m38s 1s635ms 17 60 1m38s 1s635ms 18 60 1m20s 1s345ms 19 60 40s450ms 674ms 20 60 40s526ms 675ms 21 60 40s526ms 675ms 22 60 40s526ms 675ms 23 60 40s526ms 675ms 00 60 43s238ms 720ms Apr 04 01 60 0ms 0ms 02 60 30s307ms 505ms 03 60 1m2s 1s45ms 04 60 1m2s 1s45ms 05 60 1m2s 1s45ms 06 60 1m2s 1s45ms 07 60 1m2s 1s45ms 08 60 47s763ms 796ms 09 60 32s820ms 547ms 10 60 32s820ms 547ms 11 60 34s314ms 571ms 12 60 34s727ms 578ms 13 60 3m8s 3s139ms 14 60 2m53s 2s897ms 15 60 2m58s 2s981ms 16 60 2m57s 2s957ms 17 60 2m40s 2s680ms 18 60 2m54s 2s902ms 19 60 2m57s 2s955ms 20 60 2m54s 2s908ms 21 60 2m59s 2s989ms 22 59 3m6s 3s162ms 23 60 2m56s 2s943ms 00 60 2m48s 2s806ms [ User: labanimal - Total duration: 6h46m27s - Times executed: 9442 ]
-
CREATE INDEX IF NOT EXISTS idx_db_top_queries_tenant ON observability.db_top_queries (tenant_key, collected_at DESC);
Date: 2026-04-01 23:55:01 Duration: 2m56s Database: zemm_monitoring User: labanimal Log file: /var/log/postgresql/postgresql-2026-04-01_000000.csv
-
CREATE INDEX IF NOT EXISTS idx_db_top_queries_tenant ON observability.db_top_queries (tenant_key, collected_at DESC);
Date: 2026-04-02 10:33:01 Duration: 1m23s Database: zemm_monitoring User: labanimal Log file: /var/log/postgresql/postgresql-2026-04-02_000000.csv
-
CREATE INDEX IF NOT EXISTS idx_db_top_queries_tenant ON observability.db_top_queries (tenant_key, collected_at DESC);
Date: 2026-04-02 11:17:01 Duration: 1m20s Database: zemm_monitoring User: labanimal Log file: /var/log/postgresql/postgresql-2026-04-02_000000.csv
7 10,019 6h46m27s 508ms 2m56s 2s434ms create index if not exists idx_metrics_timeseries_bucket on observability.metrics_timeseries (bucket_start);Times Reported Time consuming queries #7
Day Hour Count Duration Avg duration Mar 29 00 60 0ms 0ms 01 60 37s149ms 619ms 04 60 1m16s 1s281ms 05 60 1m16s 1s281ms 06 60 1m16s 1s281ms 07 60 1m16s 1s281ms 08 60 1m16s 1s281ms 09 60 1m16s 1s281ms 10 60 1m16s 1s281ms 11 60 1m16s 1s281ms 12 60 1m16s 1s281ms 13 60 1m16s 1s281ms 14 60 45s854ms 764ms 15 60 41s759ms 695ms 16 60 41s759ms 695ms 17 60 41s759ms 695ms 18 60 41s759ms 695ms 19 60 41s759ms 695ms 20 60 41s759ms 695ms 21 60 45s329ms 755ms 22 60 40s125ms 668ms 23 60 35s338ms 588ms 00 60 38s720ms 645ms Mar 30 01 60 1m26s 1s434ms 02 60 28s358ms 472ms 03 60 58s672ms 977ms 04 60 58s672ms 977ms 05 60 58s672ms 977ms 06 60 58s672ms 977ms 07 60 58s672ms 977ms 08 60 49s561ms 826ms 09 60 1m40s 1s676ms 10 60 2m 2s2ms 11 60 39s318ms 655ms 12 60 38s836ms 647ms 13 60 41s162ms 686ms 14 60 1m2s 1s47ms 15 60 2m17s 2s288ms 16 60 41s821ms 697ms 17 60 36s198ms 603ms 18 60 4m3s 4s61ms 19 60 7m51s 7s857ms 20 60 1m43s 1s717ms 21 60 49s437ms 823ms 22 60 49s339ms 822ms 23 60 49s339ms 822ms 00 60 51s491ms 858ms Mar 31 01 60 0ms 0ms 02 60 32s747ms 545ms 03 60 1m7s 1s129ms 04 60 1m7s 1s129ms 05 60 1m7s 1s129ms 06 60 1m7s 1s129ms 07 60 1m7s 1s129ms 08 60 1m7s 1s129ms 09 60 1m 1s9ms 10 60 1m 1s10ms 11 60 38s794ms 646ms 12 60 2m1s 2s28ms 13 60 35s485ms 591ms 14 60 37s774ms 629ms 15 60 1m21s 1s364ms 16 60 1m16s 1s275ms 17 60 1m21s 1s355ms 18 60 1m6s 1s104ms 19 60 49s253ms 820ms 20 60 50s319ms 838ms 21 60 50s134ms 835ms 22 60 48s735ms 812ms 23 60 48s735ms 812ms 00 60 48s188ms 803ms Apr 01 01 60 0ms 0ms 02 60 28s345ms 472ms 03 60 58s645ms 977ms 04 60 58s645ms 977ms 05 60 58s645ms 977ms 06 60 51s621ms 860ms 07 60 43s594ms 726ms 08 60 49s114ms 818ms 09 60 46s748ms 779ms 10 60 36s117ms 601ms 11 60 38s366ms 639ms 12 60 42s239ms 703ms 13 60 57s755ms 962ms 14 60 41s664ms 694ms 15 60 54s716ms 911ms 16 60 44s519ms 741ms 17 60 39s362ms 656ms 18 60 39s148ms 652ms 19 60 39s949ms 665ms 20 60 50s172ms 836ms 21 60 53s17ms 883ms 22 60 56s42ms 934ms 23 60 48s60ms 801ms 00 60 2h36m11s 2m36s Apr 02 01 60 0ms 0ms 02 60 29s646ms 494ms 03 60 1m1s 1s22ms 04 60 1m1s 1s22ms 05 60 1m1s 1s22ms 06 60 1m1s 1s22ms 07 60 51s81ms 851ms 08 60 2m17s 2s289ms 09 60 1m18s 1s313ms 10 60 43s182ms 719ms 11 60 40m43s 40s727ms 12 60 24m40s 24s683ms 13 60 48s109ms 801ms 14 60 1m12s 1s210ms 15 60 52s729ms 878ms 16 60 44s765ms 746ms 17 60 44s765ms 746ms 18 60 44s765ms 746ms 19 60 44s765ms 746ms 20 60 44s765ms 746ms 21 60 44s765ms 746ms 22 60 44s765ms 746ms 23 60 44s765ms 746ms 00 60 47s184ms 786ms Apr 03 01 60 0ms 0ms 02 60 26s747ms 445ms 03 60 55s340ms 922ms 04 60 55s340ms 922ms 05 60 55s340ms 922ms 06 60 55s340ms 922ms 07 60 55s340ms 922ms 08 60 55s340ms 922ms 09 60 55s385ms 923ms 10 60 1m9s 1s162ms 11 60 1m38s 1s635ms 12 60 1m38s 1s635ms 13 60 1m38s 1s635ms 14 60 1m38s 1s635ms 15 60 1m38s 1s635ms 16 60 1m38s 1s635ms 17 60 1m38s 1s635ms 18 60 1m20s 1s345ms 19 60 40s450ms 674ms 20 60 40s526ms 675ms 21 60 40s526ms 675ms 22 60 40s526ms 675ms 23 60 40s526ms 675ms 00 60 43s238ms 720ms Apr 04 01 60 0ms 0ms 02 60 30s307ms 505ms 03 60 1m2s 1s45ms 04 60 1m2s 1s45ms 05 60 1m2s 1s45ms 06 60 1m2s 1s45ms 07 60 1m2s 1s45ms 08 60 47s763ms 796ms 09 60 32s820ms 547ms 10 60 32s820ms 547ms 11 60 34s314ms 571ms 12 60 34s727ms 578ms 13 60 3m8s 3s139ms 14 60 2m53s 2s897ms 15 60 2m58s 2s981ms 16 60 2m57s 2s957ms 17 60 2m40s 2s680ms 18 60 2m54s 2s902ms 19 60 2m57s 2s955ms 20 60 2m54s 2s908ms 21 60 2m59s 2s989ms 22 59 3m6s 3s162ms 23 60 2m56s 2s943ms 00 60 2m48s 2s806ms [ User: labanimal - Total duration: 6h46m27s - Times executed: 9442 ]
-
CREATE INDEX IF NOT EXISTS idx_metrics_timeseries_bucket ON observability.metrics_timeseries (bucket_start);
Date: 2026-04-01 23:55:01 Duration: 2m56s Database: zemm_monitoring User: labanimal Log file: /var/log/postgresql/postgresql-2026-04-01_000000.csv
-
CREATE INDEX IF NOT EXISTS idx_metrics_timeseries_bucket ON observability.metrics_timeseries (bucket_start);
Date: 2026-04-02 10:33:01 Duration: 1m23s Database: zemm_monitoring User: labanimal Log file: /var/log/postgresql/postgresql-2026-04-02_000000.csv
-
CREATE INDEX IF NOT EXISTS idx_metrics_timeseries_bucket ON observability.metrics_timeseries (bucket_start);
Date: 2026-04-02 11:17:01 Duration: 1m20s Database: zemm_monitoring User: labanimal Log file: /var/log/postgresql/postgresql-2026-04-02_000000.csv
8 10,019 6h46m27s 508ms 2m56s 2s434ms create table if not exists observability.uptime_checks ( id bigserial primary key, endpoint text not null, status text not null, latency_ms double precision, checked_at timestamptz not null default now() );Times Reported Time consuming queries #8
Day Hour Count Duration Avg duration Mar 29 00 60 0ms 0ms 01 60 37s149ms 619ms 04 60 1m16s 1s281ms 05 60 1m16s 1s281ms 06 60 1m16s 1s281ms 07 60 1m16s 1s281ms 08 60 1m16s 1s281ms 09 60 1m16s 1s281ms 10 60 1m16s 1s281ms 11 60 1m16s 1s281ms 12 60 1m16s 1s281ms 13 60 1m16s 1s281ms 14 60 45s854ms 764ms 15 60 41s759ms 695ms 16 60 41s759ms 695ms 17 60 41s759ms 695ms 18 60 41s759ms 695ms 19 60 41s759ms 695ms 20 60 41s759ms 695ms 21 60 45s329ms 755ms 22 60 40s125ms 668ms 23 60 35s338ms 588ms 00 60 38s720ms 645ms Mar 30 01 60 1m26s 1s434ms 02 60 28s358ms 472ms 03 60 58s672ms 977ms 04 60 58s672ms 977ms 05 60 58s672ms 977ms 06 60 58s672ms 977ms 07 60 58s672ms 977ms 08 60 49s561ms 826ms 09 60 1m40s 1s676ms 10 60 2m 2s2ms 11 60 39s318ms 655ms 12 60 38s836ms 647ms 13 60 41s162ms 686ms 14 60 1m2s 1s47ms 15 60 2m17s 2s288ms 16 60 41s821ms 697ms 17 60 36s198ms 603ms 18 60 4m3s 4s61ms 19 60 7m51s 7s857ms 20 60 1m43s 1s717ms 21 60 49s437ms 823ms 22 60 49s339ms 822ms 23 60 49s339ms 822ms 00 60 51s491ms 858ms Mar 31 01 60 0ms 0ms 02 60 32s747ms 545ms 03 60 1m7s 1s129ms 04 60 1m7s 1s129ms 05 60 1m7s 1s129ms 06 60 1m7s 1s129ms 07 60 1m7s 1s129ms 08 60 1m7s 1s129ms 09 60 1m 1s9ms 10 60 1m 1s10ms 11 60 38s794ms 646ms 12 60 2m1s 2s28ms 13 60 35s485ms 591ms 14 60 37s774ms 629ms 15 60 1m21s 1s364ms 16 60 1m16s 1s275ms 17 60 1m21s 1s355ms 18 60 1m6s 1s104ms 19 60 49s253ms 820ms 20 60 50s319ms 838ms 21 60 50s134ms 835ms 22 60 48s735ms 812ms 23 60 48s735ms 812ms 00 60 48s188ms 803ms Apr 01 01 60 0ms 0ms 02 60 28s345ms 472ms 03 60 58s645ms 977ms 04 60 58s645ms 977ms 05 60 58s645ms 977ms 06 60 51s621ms 860ms 07 60 43s594ms 726ms 08 60 49s114ms 818ms 09 60 46s748ms 779ms 10 60 36s117ms 601ms 11 60 38s366ms 639ms 12 60 42s239ms 703ms 13 60 57s755ms 962ms 14 60 41s664ms 694ms 15 60 54s716ms 911ms 16 60 44s519ms 741ms 17 60 39s362ms 656ms 18 60 39s148ms 652ms 19 60 39s949ms 665ms 20 60 50s172ms 836ms 21 60 53s17ms 883ms 22 60 56s42ms 934ms 23 60 48s60ms 801ms 00 60 2h36m11s 2m36s Apr 02 01 60 0ms 0ms 02 60 29s646ms 494ms 03 60 1m1s 1s22ms 04 60 1m1s 1s22ms 05 60 1m1s 1s22ms 06 60 1m1s 1s22ms 07 60 51s81ms 851ms 08 60 2m17s 2s289ms 09 60 1m18s 1s313ms 10 60 43s182ms 719ms 11 60 40m43s 40s727ms 12 60 24m40s 24s683ms 13 60 48s109ms 801ms 14 60 1m12s 1s210ms 15 60 52s729ms 878ms 16 60 44s765ms 746ms 17 60 44s765ms 746ms 18 60 44s765ms 746ms 19 60 44s765ms 746ms 20 60 44s765ms 746ms 21 60 44s765ms 746ms 22 60 44s765ms 746ms 23 60 44s765ms 746ms 00 60 47s184ms 786ms Apr 03 01 60 0ms 0ms 02 60 26s747ms 445ms 03 60 55s340ms 922ms 04 60 55s340ms 922ms 05 60 55s340ms 922ms 06 60 55s340ms 922ms 07 60 55s340ms 922ms 08 60 55s340ms 922ms 09 60 55s385ms 923ms 10 60 1m9s 1s162ms 11 60 1m38s 1s635ms 12 60 1m38s 1s635ms 13 60 1m38s 1s635ms 14 60 1m38s 1s635ms 15 60 1m38s 1s635ms 16 60 1m38s 1s635ms 17 60 1m38s 1s635ms 18 60 1m20s 1s345ms 19 60 40s450ms 674ms 20 60 40s526ms 675ms 21 60 40s526ms 675ms 22 60 40s526ms 675ms 23 60 40s526ms 675ms 00 60 43s238ms 720ms Apr 04 01 60 0ms 0ms 02 60 30s307ms 505ms 03 60 1m2s 1s45ms 04 60 1m2s 1s45ms 05 60 1m2s 1s45ms 06 60 1m2s 1s45ms 07 60 1m2s 1s45ms 08 60 47s763ms 796ms 09 60 32s820ms 547ms 10 60 32s820ms 547ms 11 60 34s314ms 571ms 12 60 34s727ms 578ms 13 60 3m8s 3s139ms 14 60 2m53s 2s897ms 15 60 2m58s 2s981ms 16 60 2m57s 2s957ms 17 60 2m40s 2s680ms 18 60 2m54s 2s902ms 19 60 2m57s 2s955ms 20 60 2m54s 2s908ms 21 60 2m59s 2s989ms 22 59 3m6s 3s162ms 23 60 2m56s 2s943ms 00 60 2m48s 2s806ms [ User: labanimal - Total duration: 6h46m27s - Times executed: 9442 ]
-
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-04-01 23:55:01 Duration: 2m56s Database: zemm_monitoring User: labanimal Log file: /var/log/postgresql/postgresql-2026-04-01_000000.csv
-
CREATE TABLE IF NOT EXISTS observability.uptime_checks ( id bigserial PRIMARY KEY, endpoint text NOT NULL, status text NOT NULL, latency_ms double precision, checked_at timestamptz NOT NULL DEFAULT NOW() );
Date: 2026-04-02 10:33:01 Duration: 1m23s Database: zemm_monitoring User: labanimal Log file: /var/log/postgresql/postgresql-2026-04-02_000000.csv
-
CREATE TABLE IF NOT EXISTS observability.uptime_checks ( id bigserial PRIMARY KEY, endpoint text NOT NULL, status text NOT NULL, latency_ms double precision, checked_at timestamptz NOT NULL DEFAULT NOW() );
Date: 2026-04-02 11:17:01 Duration: 1m20s Database: zemm_monitoring User: labanimal Log file: /var/log/postgresql/postgresql-2026-04-02_000000.csv
9 10,019 6h46m27s 508ms 2m56s 2s434ms 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 #9
Day Hour Count Duration Avg duration Mar 29 00 60 0ms 0ms 01 60 37s149ms 619ms 04 60 1m16s 1s281ms 05 60 1m16s 1s281ms 06 60 1m16s 1s281ms 07 60 1m16s 1s281ms 08 60 1m16s 1s281ms 09 60 1m16s 1s281ms 10 60 1m16s 1s281ms 11 60 1m16s 1s281ms 12 60 1m16s 1s281ms 13 60 1m16s 1s281ms 14 60 45s854ms 764ms 15 60 41s759ms 695ms 16 60 41s759ms 695ms 17 60 41s759ms 695ms 18 60 41s759ms 695ms 19 60 41s759ms 695ms 20 60 41s759ms 695ms 21 60 45s329ms 755ms 22 60 40s125ms 668ms 23 60 35s338ms 588ms 00 60 38s720ms 645ms Mar 30 01 60 1m26s 1s434ms 02 60 28s358ms 472ms 03 60 58s672ms 977ms 04 60 58s672ms 977ms 05 60 58s672ms 977ms 06 60 58s672ms 977ms 07 60 58s672ms 977ms 08 60 49s561ms 826ms 09 60 1m40s 1s676ms 10 60 2m 2s2ms 11 60 39s318ms 655ms 12 60 38s836ms 647ms 13 60 41s162ms 686ms 14 60 1m2s 1s47ms 15 60 2m17s 2s288ms 16 60 41s821ms 697ms 17 60 36s198ms 603ms 18 60 4m3s 4s61ms 19 60 7m51s 7s857ms 20 60 1m43s 1s717ms 21 60 49s437ms 823ms 22 60 49s339ms 822ms 23 60 49s339ms 822ms 00 60 51s491ms 858ms Mar 31 01 60 0ms 0ms 02 60 32s747ms 545ms 03 60 1m7s 1s129ms 04 60 1m7s 1s129ms 05 60 1m7s 1s129ms 06 60 1m7s 1s129ms 07 60 1m7s 1s129ms 08 60 1m7s 1s129ms 09 60 1m 1s9ms 10 60 1m 1s10ms 11 60 38s794ms 646ms 12 60 2m1s 2s28ms 13 60 35s485ms 591ms 14 60 37s774ms 629ms 15 60 1m21s 1s364ms 16 60 1m16s 1s275ms 17 60 1m21s 1s355ms 18 60 1m6s 1s104ms 19 60 49s253ms 820ms 20 60 50s319ms 838ms 21 60 50s134ms 835ms 22 60 48s735ms 812ms 23 60 48s735ms 812ms 00 60 48s188ms 803ms Apr 01 01 60 0ms 0ms 02 60 28s345ms 472ms 03 60 58s645ms 977ms 04 60 58s645ms 977ms 05 60 58s645ms 977ms 06 60 51s621ms 860ms 07 60 43s594ms 726ms 08 60 49s114ms 818ms 09 60 46s748ms 779ms 10 60 36s117ms 601ms 11 60 38s366ms 639ms 12 60 42s239ms 703ms 13 60 57s755ms 962ms 14 60 41s664ms 694ms 15 60 54s716ms 911ms 16 60 44s519ms 741ms 17 60 39s362ms 656ms 18 60 39s148ms 652ms 19 60 39s949ms 665ms 20 60 50s172ms 836ms 21 60 53s17ms 883ms 22 60 56s42ms 934ms 23 60 48s60ms 801ms 00 60 2h36m11s 2m36s Apr 02 01 60 0ms 0ms 02 60 29s646ms 494ms 03 60 1m1s 1s22ms 04 60 1m1s 1s22ms 05 60 1m1s 1s22ms 06 60 1m1s 1s22ms 07 60 51s81ms 851ms 08 60 2m17s 2s289ms 09 60 1m18s 1s313ms 10 60 43s182ms 719ms 11 60 40m43s 40s727ms 12 60 24m40s 24s683ms 13 60 48s109ms 801ms 14 60 1m12s 1s210ms 15 60 52s729ms 878ms 16 60 44s765ms 746ms 17 60 44s765ms 746ms 18 60 44s765ms 746ms 19 60 44s765ms 746ms 20 60 44s765ms 746ms 21 60 44s765ms 746ms 22 60 44s765ms 746ms 23 60 44s765ms 746ms 00 60 47s184ms 786ms Apr 03 01 60 0ms 0ms 02 60 26s747ms 445ms 03 60 55s340ms 922ms 04 60 55s340ms 922ms 05 60 55s340ms 922ms 06 60 55s340ms 922ms 07 60 55s340ms 922ms 08 60 55s340ms 922ms 09 60 55s385ms 923ms 10 60 1m9s 1s162ms 11 60 1m38s 1s635ms 12 60 1m38s 1s635ms 13 60 1m38s 1s635ms 14 60 1m38s 1s635ms 15 60 1m38s 1s635ms 16 60 1m38s 1s635ms 17 60 1m38s 1s635ms 18 60 1m20s 1s345ms 19 60 40s450ms 674ms 20 60 40s526ms 675ms 21 60 40s526ms 675ms 22 60 40s526ms 675ms 23 60 40s526ms 675ms 00 60 43s238ms 720ms Apr 04 01 60 0ms 0ms 02 60 30s307ms 505ms 03 60 1m2s 1s45ms 04 60 1m2s 1s45ms 05 60 1m2s 1s45ms 06 60 1m2s 1s45ms 07 60 1m2s 1s45ms 08 60 47s763ms 796ms 09 60 32s820ms 547ms 10 60 32s820ms 547ms 11 60 34s314ms 571ms 12 60 34s727ms 578ms 13 60 3m8s 3s139ms 14 60 2m53s 2s897ms 15 60 2m58s 2s981ms 16 60 2m57s 2s957ms 17 60 2m40s 2s680ms 18 60 2m54s 2s902ms 19 60 2m57s 2s955ms 20 60 2m54s 2s908ms 21 60 2m59s 2s989ms 22 59 3m6s 3s162ms 23 60 2m56s 2s943ms 00 60 2m48s 2s806ms [ User: labanimal - Total duration: 6h46m27s - Times executed: 9442 ]
-
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-04-01 23:55:01 Duration: 2m56s Database: zemm_monitoring User: labanimal Log file: /var/log/postgresql/postgresql-2026-04-01_000000.csv
-
CREATE TABLE IF NOT EXISTS observability.nginx_counters ( id bigserial PRIMARY KEY, payload jsonb NOT NULL, collected_at timestamptz NOT NULL DEFAULT NOW() );
Date: 2026-04-02 10:33:01 Duration: 1m23s Database: zemm_monitoring User: labanimal Log file: /var/log/postgresql/postgresql-2026-04-02_000000.csv
-
CREATE TABLE IF NOT EXISTS observability.nginx_counters ( id bigserial PRIMARY KEY, payload jsonb NOT NULL, collected_at timestamptz NOT NULL DEFAULT NOW() );
Date: 2026-04-02 11:17:01 Duration: 1m20s Database: zemm_monitoring User: labanimal Log file: /var/log/postgresql/postgresql-2026-04-02_000000.csv
10 10,019 6h46m27s 508ms 2m56s 2s434ms create table if not exists observability.metrics_timeseries ( id bigserial primary key, tenant_key text not null, metric_name text not null, bucket_start timestamptz not null, bucket_width_seconds integer not null default ?, sum_value double precision not null default ?, count_value bigint not null default ?, histogram jsonb, created_at timestamptz not null default now(), updated_at timestamptz not null default now(), unique (tenant_key, metric_name, bucket_start, bucket_width_seconds) );Times Reported Time consuming queries #10
Day Hour Count Duration Avg duration Mar 29 00 60 0ms 0ms 01 60 37s149ms 619ms 04 60 1m16s 1s281ms 05 60 1m16s 1s281ms 06 60 1m16s 1s281ms 07 60 1m16s 1s281ms 08 60 1m16s 1s281ms 09 60 1m16s 1s281ms 10 60 1m16s 1s281ms 11 60 1m16s 1s281ms 12 60 1m16s 1s281ms 13 60 1m16s 1s281ms 14 60 45s854ms 764ms 15 60 41s759ms 695ms 16 60 41s759ms 695ms 17 60 41s759ms 695ms 18 60 41s759ms 695ms 19 60 41s759ms 695ms 20 60 41s759ms 695ms 21 60 45s329ms 755ms 22 60 40s125ms 668ms 23 60 35s338ms 588ms 00 60 38s720ms 645ms Mar 30 01 60 1m26s 1s434ms 02 60 28s358ms 472ms 03 60 58s672ms 977ms 04 60 58s672ms 977ms 05 60 58s672ms 977ms 06 60 58s672ms 977ms 07 60 58s672ms 977ms 08 60 49s561ms 826ms 09 60 1m40s 1s676ms 10 60 2m 2s2ms 11 60 39s318ms 655ms 12 60 38s836ms 647ms 13 60 41s162ms 686ms 14 60 1m2s 1s47ms 15 60 2m17s 2s288ms 16 60 41s821ms 697ms 17 60 36s198ms 603ms 18 60 4m3s 4s61ms 19 60 7m51s 7s857ms 20 60 1m43s 1s717ms 21 60 49s437ms 823ms 22 60 49s339ms 822ms 23 60 49s339ms 822ms 00 60 51s491ms 858ms Mar 31 01 60 0ms 0ms 02 60 32s747ms 545ms 03 60 1m7s 1s129ms 04 60 1m7s 1s129ms 05 60 1m7s 1s129ms 06 60 1m7s 1s129ms 07 60 1m7s 1s129ms 08 60 1m7s 1s129ms 09 60 1m 1s9ms 10 60 1m 1s10ms 11 60 38s794ms 646ms 12 60 2m1s 2s28ms 13 60 35s485ms 591ms 14 60 37s774ms 629ms 15 60 1m21s 1s364ms 16 60 1m16s 1s275ms 17 60 1m21s 1s355ms 18 60 1m6s 1s104ms 19 60 49s253ms 820ms 20 60 50s319ms 838ms 21 60 50s134ms 835ms 22 60 48s735ms 812ms 23 60 48s735ms 812ms 00 60 48s188ms 803ms Apr 01 01 60 0ms 0ms 02 60 28s345ms 472ms 03 60 58s645ms 977ms 04 60 58s645ms 977ms 05 60 58s645ms 977ms 06 60 51s621ms 860ms 07 60 43s594ms 726ms 08 60 49s114ms 818ms 09 60 46s748ms 779ms 10 60 36s117ms 601ms 11 60 38s366ms 639ms 12 60 42s239ms 703ms 13 60 57s755ms 962ms 14 60 41s664ms 694ms 15 60 54s716ms 911ms 16 60 44s519ms 741ms 17 60 39s362ms 656ms 18 60 39s148ms 652ms 19 60 39s949ms 665ms 20 60 50s172ms 836ms 21 60 53s17ms 883ms 22 60 56s42ms 934ms 23 60 48s60ms 801ms 00 60 2h36m11s 2m36s Apr 02 01 60 0ms 0ms 02 60 29s646ms 494ms 03 60 1m1s 1s22ms 04 60 1m1s 1s22ms 05 60 1m1s 1s22ms 06 60 1m1s 1s22ms 07 60 51s81ms 851ms 08 60 2m17s 2s289ms 09 60 1m18s 1s313ms 10 60 43s182ms 719ms 11 60 40m43s 40s727ms 12 60 24m40s 24s683ms 13 60 48s109ms 801ms 14 60 1m12s 1s210ms 15 60 52s729ms 878ms 16 60 44s765ms 746ms 17 60 44s765ms 746ms 18 60 44s765ms 746ms 19 60 44s765ms 746ms 20 60 44s765ms 746ms 21 60 44s765ms 746ms 22 60 44s765ms 746ms 23 60 44s765ms 746ms 00 60 47s184ms 786ms Apr 03 01 60 0ms 0ms 02 60 26s747ms 445ms 03 60 55s340ms 922ms 04 60 55s340ms 922ms 05 60 55s340ms 922ms 06 60 55s340ms 922ms 07 60 55s340ms 922ms 08 60 55s340ms 922ms 09 60 55s385ms 923ms 10 60 1m9s 1s162ms 11 60 1m38s 1s635ms 12 60 1m38s 1s635ms 13 60 1m38s 1s635ms 14 60 1m38s 1s635ms 15 60 1m38s 1s635ms 16 60 1m38s 1s635ms 17 60 1m38s 1s635ms 18 60 1m20s 1s345ms 19 60 40s450ms 674ms 20 60 40s526ms 675ms 21 60 40s526ms 675ms 22 60 40s526ms 675ms 23 60 40s526ms 675ms 00 60 43s238ms 720ms Apr 04 01 60 0ms 0ms 02 60 30s307ms 505ms 03 60 1m2s 1s45ms 04 60 1m2s 1s45ms 05 60 1m2s 1s45ms 06 60 1m2s 1s45ms 07 60 1m2s 1s45ms 08 60 47s763ms 796ms 09 60 32s820ms 547ms 10 60 32s820ms 547ms 11 60 34s314ms 571ms 12 60 34s727ms 578ms 13 60 3m8s 3s139ms 14 60 2m53s 2s897ms 15 60 2m58s 2s981ms 16 60 2m57s 2s957ms 17 60 2m40s 2s680ms 18 60 2m54s 2s902ms 19 60 2m57s 2s955ms 20 60 2m54s 2s908ms 21 60 2m59s 2s989ms 22 59 3m6s 3s162ms 23 60 2m56s 2s943ms 00 60 2m48s 2s806ms [ User: labanimal - Total duration: 6h46m27s - Times executed: 9442 ]
-
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-04-01 23:55:01 Duration: 2m56s Database: zemm_monitoring User: labanimal Log file: /var/log/postgresql/postgresql-2026-04-01_000000.csv
-
CREATE TABLE IF NOT EXISTS observability.metrics_timeseries ( id bigserial PRIMARY KEY, tenant_key text NOT NULL, metric_name text NOT NULL, bucket_start timestamptz NOT NULL, bucket_width_seconds integer NOT NULL DEFAULT 60, sum_value double precision NOT NULL DEFAULT 0, count_value bigint NOT NULL DEFAULT 0, histogram jsonb, created_at timestamptz NOT NULL DEFAULT NOW(), updated_at timestamptz NOT NULL DEFAULT NOW(), UNIQUE (tenant_key, metric_name, bucket_start, bucket_width_seconds) );
Date: 2026-04-02 10:33:01 Duration: 1m23s Database: zemm_monitoring User: labanimal Log file: /var/log/postgresql/postgresql-2026-04-02_000000.csv
-
CREATE TABLE IF NOT EXISTS observability.metrics_timeseries ( id bigserial PRIMARY KEY, tenant_key text NOT NULL, metric_name text NOT NULL, bucket_start timestamptz NOT NULL, bucket_width_seconds integer NOT NULL DEFAULT 60, sum_value double precision NOT NULL DEFAULT 0, count_value bigint NOT NULL DEFAULT 0, histogram jsonb, created_at timestamptz NOT NULL DEFAULT NOW(), updated_at timestamptz NOT NULL DEFAULT NOW(), UNIQUE (tenant_key, metric_name, bucket_start, bucket_width_seconds) );
Date: 2026-04-02 11:17:01 Duration: 1m20s Database: zemm_monitoring User: labanimal Log file: /var/log/postgresql/postgresql-2026-04-02_000000.csv
11 10,019 6h46m27s 508ms 2m56s 2s434ms 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 #11
Day Hour Count Duration Avg duration Mar 29 00 60 0ms 0ms 01 60 37s149ms 619ms 04 60 1m16s 1s281ms 05 60 1m16s 1s281ms 06 60 1m16s 1s281ms 07 60 1m16s 1s281ms 08 60 1m16s 1s281ms 09 60 1m16s 1s281ms 10 60 1m16s 1s281ms 11 60 1m16s 1s281ms 12 60 1m16s 1s281ms 13 60 1m16s 1s281ms 14 60 45s854ms 764ms 15 60 41s759ms 695ms 16 60 41s759ms 695ms 17 60 41s759ms 695ms 18 60 41s759ms 695ms 19 60 41s759ms 695ms 20 60 41s759ms 695ms 21 60 45s329ms 755ms 22 60 40s125ms 668ms 23 60 35s338ms 588ms 00 60 38s720ms 645ms Mar 30 01 60 1m26s 1s434ms 02 60 28s358ms 472ms 03 60 58s672ms 977ms 04 60 58s672ms 977ms 05 60 58s672ms 977ms 06 60 58s672ms 977ms 07 60 58s672ms 977ms 08 60 49s561ms 826ms 09 60 1m40s 1s676ms 10 60 2m 2s2ms 11 60 39s318ms 655ms 12 60 38s836ms 647ms 13 60 41s162ms 686ms 14 60 1m2s 1s47ms 15 60 2m17s 2s288ms 16 60 41s821ms 697ms 17 60 36s198ms 603ms 18 60 4m3s 4s61ms 19 60 7m51s 7s857ms 20 60 1m43s 1s717ms 21 60 49s437ms 823ms 22 60 49s339ms 822ms 23 60 49s339ms 822ms 00 60 51s491ms 858ms Mar 31 01 60 0ms 0ms 02 60 32s747ms 545ms 03 60 1m7s 1s129ms 04 60 1m7s 1s129ms 05 60 1m7s 1s129ms 06 60 1m7s 1s129ms 07 60 1m7s 1s129ms 08 60 1m7s 1s129ms 09 60 1m 1s9ms 10 60 1m 1s10ms 11 60 38s794ms 646ms 12 60 2m1s 2s28ms 13 60 35s485ms 591ms 14 60 37s774ms 629ms 15 60 1m21s 1s364ms 16 60 1m16s 1s275ms 17 60 1m21s 1s355ms 18 60 1m6s 1s104ms 19 60 49s253ms 820ms 20 60 50s319ms 838ms 21 60 50s134ms 835ms 22 60 48s735ms 812ms 23 60 48s735ms 812ms 00 60 48s188ms 803ms Apr 01 01 60 0ms 0ms 02 60 28s345ms 472ms 03 60 58s645ms 977ms 04 60 58s645ms 977ms 05 60 58s645ms 977ms 06 60 51s621ms 860ms 07 60 43s594ms 726ms 08 60 49s114ms 818ms 09 60 46s748ms 779ms 10 60 36s117ms 601ms 11 60 38s366ms 639ms 12 60 42s239ms 703ms 13 60 57s755ms 962ms 14 60 41s664ms 694ms 15 60 54s716ms 911ms 16 60 44s519ms 741ms 17 60 39s362ms 656ms 18 60 39s148ms 652ms 19 60 39s949ms 665ms 20 60 50s172ms 836ms 21 60 53s17ms 883ms 22 60 56s42ms 934ms 23 60 48s60ms 801ms 00 60 2h36m11s 2m36s Apr 02 01 60 0ms 0ms 02 60 29s646ms 494ms 03 60 1m1s 1s22ms 04 60 1m1s 1s22ms 05 60 1m1s 1s22ms 06 60 1m1s 1s22ms 07 60 51s81ms 851ms 08 60 2m17s 2s289ms 09 60 1m18s 1s313ms 10 60 43s182ms 719ms 11 60 40m43s 40s727ms 12 60 24m40s 24s683ms 13 60 48s109ms 801ms 14 60 1m12s 1s210ms 15 60 52s729ms 878ms 16 60 44s765ms 746ms 17 60 44s765ms 746ms 18 60 44s765ms 746ms 19 60 44s765ms 746ms 20 60 44s765ms 746ms 21 60 44s765ms 746ms 22 60 44s765ms 746ms 23 60 44s765ms 746ms 00 60 47s184ms 786ms Apr 03 01 60 0ms 0ms 02 60 26s747ms 445ms 03 60 55s340ms 922ms 04 60 55s340ms 922ms 05 60 55s340ms 922ms 06 60 55s340ms 922ms 07 60 55s340ms 922ms 08 60 55s340ms 922ms 09 60 55s385ms 923ms 10 60 1m9s 1s162ms 11 60 1m38s 1s635ms 12 60 1m38s 1s635ms 13 60 1m38s 1s635ms 14 60 1m38s 1s635ms 15 60 1m38s 1s635ms 16 60 1m38s 1s635ms 17 60 1m38s 1s635ms 18 60 1m20s 1s345ms 19 60 40s450ms 674ms 20 60 40s526ms 675ms 21 60 40s526ms 675ms 22 60 40s526ms 675ms 23 60 40s526ms 675ms 00 60 43s238ms 720ms Apr 04 01 60 0ms 0ms 02 60 30s307ms 505ms 03 60 1m2s 1s45ms 04 60 1m2s 1s45ms 05 60 1m2s 1s45ms 06 60 1m2s 1s45ms 07 60 1m2s 1s45ms 08 60 47s763ms 796ms 09 60 32s820ms 547ms 10 60 32s820ms 547ms 11 60 34s314ms 571ms 12 60 34s727ms 578ms 13 60 3m8s 3s139ms 14 60 2m53s 2s897ms 15 60 2m58s 2s981ms 16 60 2m57s 2s957ms 17 60 2m40s 2s680ms 18 60 2m54s 2s902ms 19 60 2m57s 2s955ms 20 60 2m54s 2s908ms 21 60 2m59s 2s989ms 22 59 3m6s 3s162ms 23 60 2m56s 2s943ms 00 60 2m48s 2s806ms [ User: labanimal - Total duration: 6h46m27s - Times executed: 9442 ]
-
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-04-01 23:55:01 Duration: 2m56s Database: zemm_monitoring User: labanimal Log file: /var/log/postgresql/postgresql-2026-04-01_000000.csv
-
CREATE TABLE IF NOT EXISTS observability.system_metrics ( id bigserial PRIMARY KEY, payload jsonb NOT NULL, collected_at timestamptz NOT NULL DEFAULT NOW() );
Date: 2026-04-02 10:33:01 Duration: 1m23s Database: zemm_monitoring User: labanimal Log file: /var/log/postgresql/postgresql-2026-04-02_000000.csv
-
CREATE TABLE IF NOT EXISTS observability.system_metrics ( id bigserial PRIMARY KEY, payload jsonb NOT NULL, collected_at timestamptz NOT NULL DEFAULT NOW() );
Date: 2026-04-02 11:17:01 Duration: 1m20s Database: zemm_monitoring User: labanimal Log file: /var/log/postgresql/postgresql-2026-04-02_000000.csv
12 10,019 6h46m27s 508ms 2m56s 2s434ms create index if not exists idx_app_events_type on observability.app_events (event_type);Times Reported Time consuming queries #12
Day Hour Count Duration Avg duration Mar 29 00 60 0ms 0ms 01 60 37s149ms 619ms 04 60 1m16s 1s281ms 05 60 1m16s 1s281ms 06 60 1m16s 1s281ms 07 60 1m16s 1s281ms 08 60 1m16s 1s281ms 09 60 1m16s 1s281ms 10 60 1m16s 1s281ms 11 60 1m16s 1s281ms 12 60 1m16s 1s281ms 13 60 1m16s 1s281ms 14 60 45s854ms 764ms 15 60 41s759ms 695ms 16 60 41s759ms 695ms 17 60 41s759ms 695ms 18 60 41s759ms 695ms 19 60 41s759ms 695ms 20 60 41s759ms 695ms 21 60 45s329ms 755ms 22 60 40s125ms 668ms 23 60 35s338ms 588ms 00 60 38s720ms 645ms Mar 30 01 60 1m26s 1s434ms 02 60 28s358ms 472ms 03 60 58s672ms 977ms 04 60 58s672ms 977ms 05 60 58s672ms 977ms 06 60 58s672ms 977ms 07 60 58s672ms 977ms 08 60 49s561ms 826ms 09 60 1m40s 1s676ms 10 60 2m 2s2ms 11 60 39s318ms 655ms 12 60 38s836ms 647ms 13 60 41s162ms 686ms 14 60 1m2s 1s47ms 15 60 2m17s 2s288ms 16 60 41s821ms 697ms 17 60 36s198ms 603ms 18 60 4m3s 4s61ms 19 60 7m51s 7s857ms 20 60 1m43s 1s717ms 21 60 49s437ms 823ms 22 60 49s339ms 822ms 23 60 49s339ms 822ms 00 60 51s491ms 858ms Mar 31 01 60 0ms 0ms 02 60 32s747ms 545ms 03 60 1m7s 1s129ms 04 60 1m7s 1s129ms 05 60 1m7s 1s129ms 06 60 1m7s 1s129ms 07 60 1m7s 1s129ms 08 60 1m7s 1s129ms 09 60 1m 1s9ms 10 60 1m 1s10ms 11 60 38s794ms 646ms 12 60 2m1s 2s28ms 13 60 35s485ms 591ms 14 60 37s774ms 629ms 15 60 1m21s 1s364ms 16 60 1m16s 1s275ms 17 60 1m21s 1s355ms 18 60 1m6s 1s104ms 19 60 49s253ms 820ms 20 60 50s319ms 838ms 21 60 50s134ms 835ms 22 60 48s735ms 812ms 23 60 48s735ms 812ms 00 60 48s188ms 803ms Apr 01 01 60 0ms 0ms 02 60 28s345ms 472ms 03 60 58s645ms 977ms 04 60 58s645ms 977ms 05 60 58s645ms 977ms 06 60 51s621ms 860ms 07 60 43s594ms 726ms 08 60 49s114ms 818ms 09 60 46s748ms 779ms 10 60 36s117ms 601ms 11 60 38s366ms 639ms 12 60 42s239ms 703ms 13 60 57s755ms 962ms 14 60 41s664ms 694ms 15 60 54s716ms 911ms 16 60 44s519ms 741ms 17 60 39s362ms 656ms 18 60 39s148ms 652ms 19 60 39s949ms 665ms 20 60 50s172ms 836ms 21 60 53s17ms 883ms 22 60 56s42ms 934ms 23 60 48s60ms 801ms 00 60 2h36m11s 2m36s Apr 02 01 60 0ms 0ms 02 60 29s646ms 494ms 03 60 1m1s 1s22ms 04 60 1m1s 1s22ms 05 60 1m1s 1s22ms 06 60 1m1s 1s22ms 07 60 51s81ms 851ms 08 60 2m17s 2s289ms 09 60 1m18s 1s313ms 10 60 43s182ms 719ms 11 60 40m43s 40s727ms 12 60 24m40s 24s683ms 13 60 48s109ms 801ms 14 60 1m12s 1s210ms 15 60 52s729ms 878ms 16 60 44s765ms 746ms 17 60 44s765ms 746ms 18 60 44s765ms 746ms 19 60 44s765ms 746ms 20 60 44s765ms 746ms 21 60 44s765ms 746ms 22 60 44s765ms 746ms 23 60 44s765ms 746ms 00 60 47s184ms 786ms Apr 03 01 60 0ms 0ms 02 60 26s747ms 445ms 03 60 55s340ms 922ms 04 60 55s340ms 922ms 05 60 55s340ms 922ms 06 60 55s340ms 922ms 07 60 55s340ms 922ms 08 60 55s340ms 922ms 09 60 55s385ms 923ms 10 60 1m9s 1s162ms 11 60 1m38s 1s635ms 12 60 1m38s 1s635ms 13 60 1m38s 1s635ms 14 60 1m38s 1s635ms 15 60 1m38s 1s635ms 16 60 1m38s 1s635ms 17 60 1m38s 1s635ms 18 60 1m20s 1s345ms 19 60 40s450ms 674ms 20 60 40s526ms 675ms 21 60 40s526ms 675ms 22 60 40s526ms 675ms 23 60 40s526ms 675ms 00 60 43s238ms 720ms Apr 04 01 60 0ms 0ms 02 60 30s307ms 505ms 03 60 1m2s 1s45ms 04 60 1m2s 1s45ms 05 60 1m2s 1s45ms 06 60 1m2s 1s45ms 07 60 1m2s 1s45ms 08 60 47s763ms 796ms 09 60 32s820ms 547ms 10 60 32s820ms 547ms 11 60 34s314ms 571ms 12 60 34s727ms 578ms 13 60 3m8s 3s139ms 14 60 2m53s 2s897ms 15 60 2m58s 2s981ms 16 60 2m57s 2s957ms 17 60 2m40s 2s680ms 18 60 2m54s 2s902ms 19 60 2m57s 2s955ms 20 60 2m54s 2s908ms 21 60 2m59s 2s989ms 22 59 3m6s 3s162ms 23 60 2m56s 2s943ms 00 60 2m48s 2s806ms [ User: labanimal - Total duration: 6h46m27s - Times executed: 9442 ]
-
CREATE INDEX IF NOT EXISTS idx_app_events_type ON observability.app_events (event_type);
Date: 2026-04-01 23:55:01 Duration: 2m56s Database: zemm_monitoring User: labanimal Log file: /var/log/postgresql/postgresql-2026-04-01_000000.csv
-
CREATE INDEX IF NOT EXISTS idx_app_events_type ON observability.app_events (event_type);
Date: 2026-04-02 10:33:01 Duration: 1m23s Database: zemm_monitoring User: labanimal Log file: /var/log/postgresql/postgresql-2026-04-02_000000.csv
-
CREATE INDEX IF NOT EXISTS idx_app_events_type ON observability.app_events (event_type);
Date: 2026-04-02 11:17:01 Duration: 1m20s Database: zemm_monitoring User: labanimal Log file: /var/log/postgresql/postgresql-2026-04-02_000000.csv
13 10,019 6h46m27s 508ms 2m56s 2s434ms 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 #13
Day Hour Count Duration Avg duration Mar 29 00 60 0ms 0ms 01 60 37s149ms 619ms 04 60 1m16s 1s281ms 05 60 1m16s 1s281ms 06 60 1m16s 1s281ms 07 60 1m16s 1s281ms 08 60 1m16s 1s281ms 09 60 1m16s 1s281ms 10 60 1m16s 1s281ms 11 60 1m16s 1s281ms 12 60 1m16s 1s281ms 13 60 1m16s 1s281ms 14 60 45s854ms 764ms 15 60 41s759ms 695ms 16 60 41s759ms 695ms 17 60 41s759ms 695ms 18 60 41s759ms 695ms 19 60 41s759ms 695ms 20 60 41s759ms 695ms 21 60 45s329ms 755ms 22 60 40s125ms 668ms 23 60 35s338ms 588ms 00 60 38s720ms 645ms Mar 30 01 60 1m26s 1s434ms 02 60 28s358ms 472ms 03 60 58s672ms 977ms 04 60 58s672ms 977ms 05 60 58s672ms 977ms 06 60 58s672ms 977ms 07 60 58s672ms 977ms 08 60 49s561ms 826ms 09 60 1m40s 1s676ms 10 60 2m 2s2ms 11 60 39s318ms 655ms 12 60 38s836ms 647ms 13 60 41s162ms 686ms 14 60 1m2s 1s47ms 15 60 2m17s 2s288ms 16 60 41s821ms 697ms 17 60 36s198ms 603ms 18 60 4m3s 4s61ms 19 60 7m51s 7s857ms 20 60 1m43s 1s717ms 21 60 49s437ms 823ms 22 60 49s339ms 822ms 23 60 49s339ms 822ms 00 60 51s491ms 858ms Mar 31 01 60 0ms 0ms 02 60 32s747ms 545ms 03 60 1m7s 1s129ms 04 60 1m7s 1s129ms 05 60 1m7s 1s129ms 06 60 1m7s 1s129ms 07 60 1m7s 1s129ms 08 60 1m7s 1s129ms 09 60 1m 1s9ms 10 60 1m 1s10ms 11 60 38s794ms 646ms 12 60 2m1s 2s28ms 13 60 35s485ms 591ms 14 60 37s774ms 629ms 15 60 1m21s 1s364ms 16 60 1m16s 1s275ms 17 60 1m21s 1s355ms 18 60 1m6s 1s104ms 19 60 49s253ms 820ms 20 60 50s319ms 838ms 21 60 50s134ms 835ms 22 60 48s735ms 812ms 23 60 48s735ms 812ms 00 60 48s188ms 803ms Apr 01 01 60 0ms 0ms 02 60 28s345ms 472ms 03 60 58s645ms 977ms 04 60 58s645ms 977ms 05 60 58s645ms 977ms 06 60 51s621ms 860ms 07 60 43s594ms 726ms 08 60 49s114ms 818ms 09 60 46s748ms 779ms 10 60 36s117ms 601ms 11 60 38s366ms 639ms 12 60 42s239ms 703ms 13 60 57s755ms 962ms 14 60 41s664ms 694ms 15 60 54s716ms 911ms 16 60 44s519ms 741ms 17 60 39s362ms 656ms 18 60 39s148ms 652ms 19 60 39s949ms 665ms 20 60 50s172ms 836ms 21 60 53s17ms 883ms 22 60 56s42ms 934ms 23 60 48s60ms 801ms 00 60 2h36m11s 2m36s Apr 02 01 60 0ms 0ms 02 60 29s646ms 494ms 03 60 1m1s 1s22ms 04 60 1m1s 1s22ms 05 60 1m1s 1s22ms 06 60 1m1s 1s22ms 07 60 51s81ms 851ms 08 60 2m17s 2s289ms 09 60 1m18s 1s313ms 10 60 43s182ms 719ms 11 60 40m43s 40s727ms 12 60 24m40s 24s683ms 13 60 48s109ms 801ms 14 60 1m12s 1s210ms 15 60 52s729ms 878ms 16 60 44s765ms 746ms 17 60 44s765ms 746ms 18 60 44s765ms 746ms 19 60 44s765ms 746ms 20 60 44s765ms 746ms 21 60 44s765ms 746ms 22 60 44s765ms 746ms 23 60 44s765ms 746ms 00 60 47s184ms 786ms Apr 03 01 60 0ms 0ms 02 60 26s747ms 445ms 03 60 55s340ms 922ms 04 60 55s340ms 922ms 05 60 55s340ms 922ms 06 60 55s340ms 922ms 07 60 55s340ms 922ms 08 60 55s340ms 922ms 09 60 55s385ms 923ms 10 60 1m9s 1s162ms 11 60 1m38s 1s635ms 12 60 1m38s 1s635ms 13 60 1m38s 1s635ms 14 60 1m38s 1s635ms 15 60 1m38s 1s635ms 16 60 1m38s 1s635ms 17 60 1m38s 1s635ms 18 60 1m20s 1s345ms 19 60 40s450ms 674ms 20 60 40s526ms 675ms 21 60 40s526ms 675ms 22 60 40s526ms 675ms 23 60 40s526ms 675ms 00 60 43s238ms 720ms Apr 04 01 60 0ms 0ms 02 60 30s307ms 505ms 03 60 1m2s 1s45ms 04 60 1m2s 1s45ms 05 60 1m2s 1s45ms 06 60 1m2s 1s45ms 07 60 1m2s 1s45ms 08 60 47s763ms 796ms 09 60 32s820ms 547ms 10 60 32s820ms 547ms 11 60 34s314ms 571ms 12 60 34s727ms 578ms 13 60 3m8s 3s139ms 14 60 2m53s 2s897ms 15 60 2m58s 2s981ms 16 60 2m57s 2s957ms 17 60 2m40s 2s680ms 18 60 2m54s 2s902ms 19 60 2m57s 2s955ms 20 60 2m54s 2s908ms 21 60 2m59s 2s989ms 22 59 3m6s 3s162ms 23 60 2m56s 2s943ms 00 60 2m48s 2s806ms [ User: labanimal - Total duration: 6h46m27s - Times executed: 9442 ]
-
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-04-01 23:55:01 Duration: 2m56s Database: zemm_monitoring User: labanimal Log file: /var/log/postgresql/postgresql-2026-04-01_000000.csv
-
CREATE TABLE IF NOT EXISTS observability.db_top_queries ( id bigserial PRIMARY KEY, tenant_key text NOT NULL, fingerprint text, query text, mean_time_ms double precision, total_time_ms double precision, calls bigint, rows_returned bigint, collected_at timestamptz NOT NULL DEFAULT NOW() );
Date: 2026-04-02 10:33:01 Duration: 1m23s Database: zemm_monitoring User: labanimal Log file: /var/log/postgresql/postgresql-2026-04-02_000000.csv
-
CREATE TABLE IF NOT EXISTS observability.db_top_queries ( id bigserial PRIMARY KEY, tenant_key text NOT NULL, fingerprint text, query text, mean_time_ms double precision, total_time_ms double precision, calls bigint, rows_returned bigint, collected_at timestamptz NOT NULL DEFAULT NOW() );
Date: 2026-04-02 11:17:01 Duration: 1m20s Database: zemm_monitoring User: labanimal Log file: /var/log/postgresql/postgresql-2026-04-02_000000.csv
14 307 17m16s 2s650ms 21s942ms 3s376ms with start_snap as ( select distinct on (tenant_key, fingerprint) tenant_key, fingerprint, total_time_ms, calls, rows_returned, collected_at from observability.db_top_queries where tenant_key in (...) and collected_at <= ? order by tenant_key, fingerprint, collected_at desc ), fallback_start as ( select distinct on (tenant_key, fingerprint) tenant_key, fingerprint, total_time_ms, calls, rows_returned, collected_at from observability.db_top_queries where tenant_key in (...) and collected_at between ? and ? order by tenant_key, fingerprint, collected_at asc ), end_snap as ( select distinct on (tenant_key, fingerprint) tenant_key, fingerprint, query, total_time_ms, calls, rows_returned, collected_at from observability.db_top_queries where tenant_key in (...) and collected_at between ? and ? order by tenant_key, fingerprint, collected_at desc ), deltas as ( select e.tenant_key, e.fingerprint, e.query, e.collected_at as last_seen, greatest (coalesce(e.total_time_ms, ?) - coalesce(s.total_time_ms, fs.total_time_ms, ?), ?) as total_time_ms, greatest (coalesce(e.calls, ?) - coalesce(s.calls, fs.calls, ?), ?) as calls, greatest (coalesce(e.rows_returned, ?) - coalesce(s.rows_returned, fs.rows_returned, ?), ?) as rows_returned from end_snap e left join start_snap s on s.tenant_key = e.tenant_key and s.fingerprint = e.fingerprint left join fallback_start fs on fs.tenant_key = e.tenant_key and fs.fingerprint = e.fingerprint and s.tenant_key is null ) select fingerprint, max(query) as query, max(last_seen) as last_seen, sum(total_time_ms) as total_time_ms, sum(calls) as calls, sum(rows_returned) as rows_returned, case when sum(calls) > ? then sum(total_time_ms) / sum(calls) else ? end as mean_time_ms, array_agg(distinct tenant_key order by tenant_key) as tenant_keys from deltas where total_time_ms > ? or calls > ? group by fingerprint order by total_time_ms desc, calls desc limit ? offset ?;Times Reported Time consuming queries #14
Day Hour Count Duration Avg duration Apr 04 13 71 5m41s 4s807ms 14 29 1m26s 2s984ms 15 25 1m14s 2s967ms 16 24 1m9s 2s893ms 17 24 1m7s 2s817ms 18 24 1m8s 2s852ms 19 28 1m20s 2s882ms 20 25 1m11s 2s845ms 21 24 1m9s 2s894ms 22 26 1m26s 3s338ms 23 7 20s939ms 2s991ms [ User: labanimal - Total duration: 17m16s - Times executed: 307 ]
-
WITH start_snap AS ( SELECT DISTINCT ON (tenant_key, fingerprint) tenant_key, fingerprint, total_time_ms, calls, rows_returned, collected_at FROM observability.db_top_queries WHERE tenant_key IN ('prod', 'test', 'dev') AND collected_at <= '2026-04-04 11:27:03+02' ORDER BY tenant_key, fingerprint, collected_at DESC ), fallback_start AS ( SELECT DISTINCT ON (tenant_key, fingerprint) tenant_key, fingerprint, total_time_ms, calls, rows_returned, collected_at FROM observability.db_top_queries WHERE tenant_key IN ('prod', 'test', 'dev') AND collected_at BETWEEN '2026-04-04 11:27:03+02' AND '2026-04-04 12:27:03+02' ORDER BY tenant_key, fingerprint, collected_at ASC ), end_snap AS ( SELECT DISTINCT ON (tenant_key, fingerprint) tenant_key, fingerprint, query, total_time_ms, calls, rows_returned, collected_at FROM observability.db_top_queries WHERE tenant_key IN ('prod', 'test', 'dev') AND collected_at BETWEEN '2026-04-04 11:27:03+02' AND '2026-04-04 12:27:03+02' ORDER BY tenant_key, fingerprint, collected_at DESC ), deltas AS ( SELECT e.tenant_key, e.fingerprint, e.query, e.collected_at AS last_seen, GREATEST (COALESCE(e.total_time_ms, 0) - COALESCE(s.total_time_ms, fs.total_time_ms, 0), 0) AS total_time_ms, GREATEST (COALESCE(e.calls, 0) - COALESCE(s.calls, fs.calls, 0), 0) AS calls, GREATEST (COALESCE(e.rows_returned, 0) - COALESCE(s.rows_returned, fs.rows_returned, 0), 0) AS rows_returned FROM end_snap e LEFT JOIN start_snap s ON s.tenant_key = e.tenant_key AND s.fingerprint = e.fingerprint LEFT JOIN fallback_start fs ON fs.tenant_key = e.tenant_key AND fs.fingerprint = e.fingerprint AND s.tenant_key IS NULL ) SELECT fingerprint, MAX(query) AS query, MAX(last_seen) AS last_seen, SUM(total_time_ms) AS total_time_ms, SUM(calls) AS calls, SUM(rows_returned) AS rows_returned, CASE WHEN SUM(calls) > 0 THEN SUM(total_time_ms) / SUM(calls) ELSE 0 END AS mean_time_ms, array_agg(DISTINCT tenant_key ORDER BY tenant_key) AS tenant_keys FROM deltas WHERE total_time_ms > 0 OR calls > 0 GROUP BY fingerprint ORDER BY total_time_ms DESC, calls DESC LIMIT '5' OFFSET '0';
Date: 2026-04-04 12:27:25 Duration: 21s942ms Database: zemm_monitoring User: labanimal Bind query: yes Log file: /var/log/postgresql/postgresql-2026-04-04_000000.csv
-
WITH start_snap AS ( SELECT DISTINCT ON (tenant_key, fingerprint) tenant_key, fingerprint, total_time_ms, calls, rows_returned, collected_at FROM observability.db_top_queries WHERE tenant_key IN ('prod', 'test', 'dev') AND collected_at <= '2026-04-04 11:11:04+02' ORDER BY tenant_key, fingerprint, collected_at DESC ), fallback_start AS ( SELECT DISTINCT ON (tenant_key, fingerprint) tenant_key, fingerprint, total_time_ms, calls, rows_returned, collected_at FROM observability.db_top_queries WHERE tenant_key IN ('prod', 'test', 'dev') AND collected_at BETWEEN '2026-04-04 11:11:04+02' AND '2026-04-04 12:11:04+02' ORDER BY tenant_key, fingerprint, collected_at ASC ), end_snap AS ( SELECT DISTINCT ON (tenant_key, fingerprint) tenant_key, fingerprint, query, total_time_ms, calls, rows_returned, collected_at FROM observability.db_top_queries WHERE tenant_key IN ('prod', 'test', 'dev') AND collected_at BETWEEN '2026-04-04 11:11:04+02' AND '2026-04-04 12:11:04+02' ORDER BY tenant_key, fingerprint, collected_at DESC ), deltas AS ( SELECT e.tenant_key, e.fingerprint, e.query, e.collected_at AS last_seen, GREATEST (COALESCE(e.total_time_ms, 0) - COALESCE(s.total_time_ms, fs.total_time_ms, 0), 0) AS total_time_ms, GREATEST (COALESCE(e.calls, 0) - COALESCE(s.calls, fs.calls, 0), 0) AS calls, GREATEST (COALESCE(e.rows_returned, 0) - COALESCE(s.rows_returned, fs.rows_returned, 0), 0) AS rows_returned FROM end_snap e LEFT JOIN start_snap s ON s.tenant_key = e.tenant_key AND s.fingerprint = e.fingerprint LEFT JOIN fallback_start fs ON fs.tenant_key = e.tenant_key AND fs.fingerprint = e.fingerprint AND s.tenant_key IS NULL ) SELECT fingerprint, MAX(query) AS query, MAX(last_seen) AS last_seen, SUM(total_time_ms) AS total_time_ms, SUM(calls) AS calls, SUM(rows_returned) AS rows_returned, CASE WHEN SUM(calls) > 0 THEN SUM(total_time_ms) / SUM(calls) ELSE 0 END AS mean_time_ms, array_agg(DISTINCT tenant_key ORDER BY tenant_key) AS tenant_keys FROM deltas WHERE total_time_ms > 0 OR calls > 0 GROUP BY fingerprint ORDER BY total_time_ms DESC, calls DESC LIMIT '5' OFFSET '0';
Date: 2026-04-04 12:11:23 Duration: 19s619ms Database: zemm_monitoring User: labanimal Bind query: yes Log file: /var/log/postgresql/postgresql-2026-04-04_000000.csv
-
WITH start_snap AS ( SELECT DISTINCT ON (tenant_key, fingerprint) tenant_key, fingerprint, total_time_ms, calls, rows_returned, collected_at FROM observability.db_top_queries WHERE tenant_key IN ('prod', 'test', 'dev') AND collected_at <= '2026-03-28 12:26:44+01' ORDER BY tenant_key, fingerprint, collected_at DESC ), fallback_start AS ( SELECT DISTINCT ON (tenant_key, fingerprint) tenant_key, fingerprint, total_time_ms, calls, rows_returned, collected_at FROM observability.db_top_queries WHERE tenant_key IN ('prod', 'test', 'dev') AND collected_at BETWEEN '2026-03-28 12:26:44+01' AND '2026-04-04 12:26:44+02' ORDER BY tenant_key, fingerprint, collected_at ASC ), end_snap AS ( SELECT DISTINCT ON (tenant_key, fingerprint) tenant_key, fingerprint, query, total_time_ms, calls, rows_returned, collected_at FROM observability.db_top_queries WHERE tenant_key IN ('prod', 'test', 'dev') AND collected_at BETWEEN '2026-03-28 12:26:44+01' AND '2026-04-04 12:26:44+02' ORDER BY tenant_key, fingerprint, collected_at DESC ), deltas AS ( SELECT e.tenant_key, e.fingerprint, e.query, e.collected_at AS last_seen, GREATEST (COALESCE(e.total_time_ms, 0) - COALESCE(s.total_time_ms, fs.total_time_ms, 0), 0) AS total_time_ms, GREATEST (COALESCE(e.calls, 0) - COALESCE(s.calls, fs.calls, 0), 0) AS calls, GREATEST (COALESCE(e.rows_returned, 0) - COALESCE(s.rows_returned, fs.rows_returned, 0), 0) AS rows_returned FROM end_snap e LEFT JOIN start_snap s ON s.tenant_key = e.tenant_key AND s.fingerprint = e.fingerprint LEFT JOIN fallback_start fs ON fs.tenant_key = e.tenant_key AND fs.fingerprint = e.fingerprint AND s.tenant_key IS NULL ) SELECT fingerprint, MAX(query) AS query, MAX(last_seen) AS last_seen, SUM(total_time_ms) AS total_time_ms, SUM(calls) AS calls, SUM(rows_returned) AS rows_returned, CASE WHEN SUM(calls) > 0 THEN SUM(total_time_ms) / SUM(calls) ELSE 0 END AS mean_time_ms, array_agg(DISTINCT tenant_key ORDER BY tenant_key) AS tenant_keys FROM deltas WHERE total_time_ms > 0 OR calls > 0 GROUP BY fingerprint ORDER BY total_time_ms DESC, calls DESC LIMIT '5' OFFSET '0';
Date: 2026-04-04 12:27:00 Duration: 16s158ms Database: zemm_monitoring User: labanimal Bind query: yes Log file: /var/log/postgresql/postgresql-2026-04-04_000000.csv
15 90 1m5s 695ms 1s929ms 732ms 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 #15
Day Hour Count Duration Avg duration Mar 30 08 1 723ms 723ms 10 1 705ms 705ms 11 2 1s407ms 703ms 12 3 2s152ms 717ms 13 4 2s939ms 734ms 16 3 2s92ms 697ms 17 7 4s959ms 708ms 18 14 9s960ms 711ms 20 2 1s417ms 708ms Mar 31 10 2 1s427ms 713ms 11 2 1s427ms 713ms 12 2 1s420ms 710ms 13 2 1s406ms 703ms 15 2 1s426ms 713ms 16 2 1s407ms 703ms 00 1 727ms 727ms Apr 01 06 2 1s465ms 732ms 11 2 1s421ms 710ms 13 2 1s431ms 715ms 16 6 4s338ms 723ms 18 4 2s882ms 720ms Apr 02 10 2 1s432ms 716ms 12 1 714ms 714ms 13 1 722ms 722ms Apr 03 18 16 11s795ms 737ms 19 2 1s456ms 728ms Apr 04 17 2 2s695ms 1s347ms [ User: labanimal - Total duration: 1m5s - Times executed: 90 ]
[ Application: _desktop_index.php_zemm_produktiv_8_localhost_5432 - Total duration: 1m2s - Times executed: 85 ]
[ Application: _desktop_index.php_zemm_produktiv_7_localhost_5432 - Total duration: 2s193ms - Times executed: 3 ]
[ Application: _desktop_index.php_view_animal_name_on_view_animal_id_on_view_b - Total duration: 1s453ms - 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, 10100187) AS is_owner, user_is_tgm (animals_search_mview.editor, 10100187) AS is_editor, user_is_tgm (animals_search_mview.tourist, 10100187) 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-04-04 16:06:10 Duration: 1s929ms Database: zemm_produktiv_8 User: labanimal Application: _desktop_index.php_zemm_produktiv_8_localhost_5432 Bind query: yes Log file: /var/log/postgresql/postgresql-2026-04-04_000000.csv
-
SELECT COUNT(DISTINCT animal_id) AS "count" FROM ( SELECT animals_search_mview.*, b.unbreeding_date, a.id as animal, user_is_tgm (animals_search_mview.owner, 14) AS is_owner, user_is_tgm (animals_search_mview.editor, 14) AS is_editor, user_is_tgm (animals_search_mview.tourist, 14) 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-30 12:42:53 Duration: 766ms Database: zemm_produktiv_8 User: labanimal Application: _desktop_index.php_zemm_produktiv_8_localhost_5432 Log file: /var/log/postgresql/postgresql-2026-03-30_010000.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, 10100187) AS is_owner, user_is_tgm (animals_search_mview.editor, 10100187) AS is_editor, user_is_tgm (animals_search_mview.tourist, 10100187) 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-04-04 16:08:12 Duration: 765ms Database: zemm_produktiv_8 User: labanimal Application: _desktop_index.php_zemm_produktiv_8_localhost_5432 Bind query: yes Log file: /var/log/postgresql/postgresql-2026-04-04_000000.csv
16 90 59s559ms 633ms 738ms 661ms 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 #16
Day Hour Count Duration Avg duration Mar 30 08 1 663ms 663ms 10 1 660ms 660ms 11 2 1s289ms 644ms 12 3 1s960ms 653ms 13 4 2s823ms 705ms 16 3 1s915ms 638ms 17 7 4s560ms 651ms 18 14 9s113ms 650ms 20 2 1s301ms 650ms Mar 31 10 2 1s296ms 648ms 11 2 1s305ms 652ms 12 2 1s304ms 652ms 13 2 1s295ms 647ms 15 2 1s295ms 647ms 16 2 1s295ms 647ms 00 1 714ms 714ms Apr 01 06 2 1s450ms 725ms 11 2 1s286ms 643ms 13 2 1s302ms 651ms 16 6 3s953ms 658ms 18 4 2s626ms 656ms Apr 02 10 2 1s302ms 651ms 12 1 656ms 656ms 13 1 661ms 661ms Apr 03 18 16 10s780ms 673ms 19 2 1s348ms 674ms Apr 04 17 2 1s395ms 697ms [ User: labanimal - Total duration: 59s559ms - Times executed: 90 ]
[ Application: _desktop_index.php_zemm_produktiv_8_localhost_5432 - Total duration: 56s67ms - Times executed: 85 ]
[ Application: _desktop_index.php_zemm_produktiv_7_localhost_5432 - Total duration: 2s164ms - Times executed: 3 ]
[ Application: _desktop_index.php_view_animal_name_on_view_animal_id_on_view_b - Total duration: 1s327ms - Times executed: 2 ]
-
SELECT DISTINCT * FROM ( SELECT animals_search_mview.*, b.unbreeding_date, fates.loc AS fate_name, user_is_tgm (animals_search_mview.owner, 14) AS is_owner, user_is_tgm (animals_search_mview.editor, 14) AS is_editor, user_is_tgm (animals_search_mview.tourist, 14) 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-30 12:42:53 Duration: 738ms Database: zemm_produktiv_8 User: labanimal Application: _desktop_index.php_zemm_produktiv_8_localhost_5432 Log file: /var/log/postgresql/postgresql-2026-03-30_010000.csv
-
SELECT DISTINCT * FROM ( SELECT animals_search_mview.*, b.unbreeding_date, fates.loc AS fate_name, user_is_tgm (animals_search_mview.owner, 14) AS is_owner, user_is_tgm (animals_search_mview.editor, 14) AS is_editor, user_is_tgm (animals_search_mview.tourist, 14) 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-30 12:42:55 Duration: 737ms Database: zemm_produktiv_8 User: labanimal Application: _desktop_index.php_zemm_produktiv_8_localhost_5432 Log file: /var/log/postgresql/postgresql-2026-03-30_010000.csv
-
SELECT DISTINCT * FROM ( SELECT animals_search_mview.*, b.unbreeding_date, fates.loc AS fate_name, user_is_tgm (animals_search_mview.owner, 8) AS is_owner, user_is_tgm (animals_search_mview.editor, 8) AS is_editor, user_is_tgm (animals_search_mview.tourist, 8) 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-04-01 05:31:37 Duration: 726ms Database: zemm_produktiv_7 User: labanimal Application: _desktop_index.php_zemm_produktiv_7_localhost_5432 Log file: /var/log/postgresql/postgresql-2026-04-01_000000.csv
17 27 31s609ms 792ms 8s463ms 1s170ms 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 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 29 21 1 8s463ms 8s463ms 22 1 825ms 825ms Mar 30 14 1 2s288ms 2s288ms 20 3 2s474ms 824ms 21 2 1s632ms 816ms Mar 31 18 3 2s614ms 871ms 19 5 4s39ms 807ms 21 1 812ms 812ms Apr 01 08 1 823ms 823ms 14 1 798ms 798ms 19 1 798ms 798ms 20 1 846ms 846ms 21 1 1s163ms 1s163ms 22 1 801ms 801ms Apr 04 13 2 1s592ms 796ms 14 1 795ms 795ms 15 1 838ms 838ms [ User: labanimal - Total duration: 31s609ms - Times executed: 27 ]
[ Application: _desktop_index.php_zemm_produktiv_7_localhost_5432 - Total duration: 29s320ms - Times executed: 26 ]
[ Application: _desktop_index.php_zemm_produktiv_8_localhost_5432 - Total duration: 2s288ms - Times executed: 1 ]
-
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, 1) THEN TRUE WHEN user_is_tgm (dam.editor, 1) THEN TRUE WHEN user_is_tgm (dam.tourist, 1) 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, 1) THEN TRUE WHEN user_is_tgm (sire.editor, 1) THEN TRUE WHEN user_is_tgm (sire.tourist, 1) 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 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-29 20:56:27 Duration: 8s463ms Database: zemm_produktiv_7 User: labanimal Application: _desktop_index.php_zemm_produktiv_7_localhost_5432 Log file: /var/log/postgresql/postgresql-2026-03-29_000000.csv
-
WITH damdam AS ( SELECT breedingid, string_agg(cast(dam as text), ';') AS dam FROM breedingsdams INNER JOIN ( SELECT id, owner, editor, tourist, "animalID", name, "dummy_strain_info", generation, "dummy_line_info", "dummy_backcross_info" FROM animals) AS dam ON dam.id = breedingsdams.dam AND CASE WHEN user_is_tgm (dam.owner, 10100003) THEN TRUE WHEN user_is_tgm (dam.editor, 10100003) THEN TRUE WHEN user_is_tgm (dam.tourist, 10100003) 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, 10100003) THEN TRUE WHEN user_is_tgm (sire.editor, 10100003) THEN TRUE WHEN user_is_tgm (sire.tourist, 10100003) 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 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-30 13:47:38 Duration: 2s288ms Database: zemm_produktiv_8 User: labanimal Application: _desktop_index.php_zemm_produktiv_8_localhost_5432 Log file: /var/log/postgresql/postgresql-2026-03-30_010000.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, 1) THEN TRUE WHEN user_is_tgm (dam.editor, 1) THEN TRUE WHEN user_is_tgm (dam.tourist, 1) 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, 1) THEN TRUE WHEN user_is_tgm (sire.editor, 1) THEN TRUE WHEN user_is_tgm (sire.tourist, 1) 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 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-04-01 20:52:34 Duration: 1s163ms Database: zemm_produktiv_7 User: labanimal Application: _desktop_index.php_zemm_produktiv_7_localhost_5432 Log file: /var/log/postgresql/postgresql-2026-04-01_000000.csv
18 22 26s30ms 541ms 2s294ms 1s183ms select tenant_key, event_type, severity, message, payload, occurred_at from observability.app_events where tenant_key in (...) and occurred_at >= ? and severity in (...) and (lower(message) like ? or lower(message) like ? or lower(message) like ? or lower(message) like ? or lower(message) like ? or lower(message) like ? or lower(message) like ? or lower(message) like ? or lower(message) like ? or lower(message) like ? or lower(coalesce(payload ->> ?, ?)) <> ? or lower(coalesce(payload ->> ?, ?)) in (...)) order by occurred_at desc limit ?;Times Reported Time consuming queries #18
Day Hour Count Duration Avg duration Apr 04 13 18 20s749ms 1s152ms 14 2 2s580ms 1s290ms 15 2 2s699ms 1s349ms [ User: labanimal - Total duration: 26s30ms - Times executed: 22 ]
-
SELECT tenant_key, event_type, severity, message, payload, occurred_at FROM observability.app_events WHERE tenant_key IN ('prod') AND occurred_at >= '2026-03-28 11:27:35+01' AND severity IN ('critical', 'error', 'warning') AND (lower(message) LIKE '%deadlock%' OR lower(message) LIKE '%duplicate key%' OR lower(message) LIKE '%unique constraint%' OR lower(message) LIKE '%foreign key%' OR lower(message) LIKE '%not-null constraint%' OR lower(message) LIKE '%check constraint%' OR lower(message) LIKE '%integrity constraint%' OR lower(message) LIKE '%referential integrity%' OR lower(message) LIKE '%lock wait:%' OR lower(message) LIKE '%sqlstate%' OR lower(COALESCE(payload ->> 'sqlstate', '')) <> '' OR lower(COALESCE(payload ->> 'code', '')) IN ('23505', '23503', '23502', '40p01')) ORDER BY occurred_at DESC LIMIT '100';
Date: 2026-04-04 12:27:37 Duration: 2s294ms Database: zemm_monitoring User: labanimal Bind query: yes Log file: /var/log/postgresql/postgresql-2026-04-04_000000.csv
-
SELECT tenant_key, event_type, severity, message, payload, occurred_at FROM observability.app_events WHERE tenant_key IN ('prod') AND occurred_at >= '2026-03-28 11:26:41+01' AND severity IN ('critical', 'error', 'warning') AND (lower(message) LIKE '%deadlock%' OR lower(message) LIKE '%duplicate key%' OR lower(message) LIKE '%unique constraint%' OR lower(message) LIKE '%foreign key%' OR lower(message) LIKE '%not-null constraint%' OR lower(message) LIKE '%check constraint%' OR lower(message) LIKE '%integrity constraint%' OR lower(message) LIKE '%referential integrity%' OR lower(message) LIKE '%lock wait:%' OR lower(message) LIKE '%sqlstate%' OR lower(COALESCE(payload ->> 'sqlstate', '')) <> '' OR lower(COALESCE(payload ->> 'code', '')) IN ('23505', '23503', '23502', '40p01')) ORDER BY occurred_at DESC LIMIT '100';
Date: 2026-04-04 12:26:43 Duration: 2s129ms Database: zemm_monitoring User: labanimal Bind query: yes Log file: /var/log/postgresql/postgresql-2026-04-04_000000.csv
-
SELECT tenant_key, event_type, severity, message, payload, occurred_at FROM observability.app_events WHERE tenant_key IN ('prod') AND occurred_at >= '2026-03-28 11:28:30+01' AND severity IN ('critical', 'error', 'warning') AND (lower(message) LIKE '%deadlock%' OR lower(message) LIKE '%duplicate key%' OR lower(message) LIKE '%unique constraint%' OR lower(message) LIKE '%foreign key%' OR lower(message) LIKE '%not-null constraint%' OR lower(message) LIKE '%check constraint%' OR lower(message) LIKE '%integrity constraint%' OR lower(message) LIKE '%referential integrity%' OR lower(message) LIKE '%lock wait:%' OR lower(message) LIKE '%sqlstate%' OR lower(COALESCE(payload ->> 'sqlstate', '')) <> '' OR lower(COALESCE(payload ->> 'code', '')) IN ('23505', '23503', '23502', '40p01')) ORDER BY occurred_at DESC LIMIT '100';
Date: 2026-04-04 12:28:32 Duration: 1s682ms Database: zemm_monitoring User: labanimal Bind query: yes Log file: /var/log/postgresql/postgresql-2026-04-04_000000.csv
19 19 17s412ms 772ms 1s38ms 916ms 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 29 21 1 1s38ms 1s38ms 22 2 1s870ms 935ms Mar 31 09 4 3s531ms 882ms Apr 01 09 4 3s743ms 935ms 10 1 982ms 982ms 13 2 1s756ms 878ms Apr 02 09 4 3s560ms 890ms Apr 03 09 1 928ms 928ms [ User: labanimal - Total duration: 17s412ms - Times executed: 19 ]
[ Application: _desktop_index.php_zemm_produktiv_8_localhost_5432 - Total duration: 17s412ms - Times executed: 19 ]
-
SELECT p_update_breedings (456, NULL, 16033, '2026-03-27'::date, NULL, '10294343'::text, '10296206'::text, NULL) AS id;
Date: 2026-03-29 20:44:20 Duration: 1s38ms Database: zemm_produktiv_8 User: labanimal Application: _desktop_index.php_zemm_produktiv_8_localhost_5432 Log file: /var/log/postgresql/postgresql-2026-03-29_000000.csv
-
SELECT p_update_breedings (270, NULL, 16076, '2026-04-01'::date, NULL, '10294322'::text, '10290943'::text, NULL) AS id;
Date: 2026-04-01 08:22:14 Duration: 1s30ms Database: zemm_produktiv_8 User: labanimal Application: _desktop_index.php_zemm_produktiv_8_localhost_5432 Log file: /var/log/postgresql/postgresql-2026-04-01_000000.csv
-
SELECT p_update_breedings (142, NULL, 6985, '2026-04-02'::date, NULL, '10292285'::text, '10289652'::text, NULL) AS id;
Date: 2026-04-02 08:22:31 Duration: 1s Database: zemm_produktiv_8 User: labanimal Application: _desktop_index.php_zemm_produktiv_8_localhost_5432 Log file: /var/log/postgresql/postgresql-2026-04-02_000000.csv
20 17 19s230ms 783ms 2s127ms 1s131ms with normalised as ( select id, tenant_key, event_type, severity, message, payload, occurred_at, regexp_replace(regexp_replace(message, ?, ?, ?), ?, ?, ?) as fingerprint from observability.app_events where tenant_key in (...) and occurred_at between ? and ? and severity in (...) and not (event_type = ? and (lower(coalesce(message, ?)) = ? or (lower(coalesce(payload ->> ?, ?)) = ? and lower(coalesce(payload ->> ?, ?)) = ?)))) select fingerprint, count(*) as occurrence_count, count(distinct coalesce(payload ->> ?, payload ->> ?, ?)) as affected_users, max(severity) as max_severity, min(occurred_at) as first_seen, max(occurred_at) as last_seen, (array_agg(message order by occurred_at desc))[?] as sample_message, (array_agg(distinct event_type))[?] as event_type, (array_agg(payload ->> ? order by occurred_at desc))[?] as source_file, (array_agg(payload ->> ? order by occurred_at desc))[?] as source_line, (array_agg(payload ->> ? order by occurred_at desc))[?] as sample_request, (array_agg(id order by occurred_at desc))[?] as latest_event_id from normalised group by fingerprint order by occurrence_count desc, last_seen desc limit ?;Times Reported Time consuming queries #20
Day Hour Count Duration Avg duration Mar 30 18 2 2s258ms 1s129ms Apr 04 13 13 14s782ms 1s137ms 14 1 1s22ms 1s22ms 15 1 1s166ms 1s166ms [ User: labanimal - Total duration: 19s230ms - Times executed: 17 ]
-
WITH normalised AS ( SELECT id, tenant_key, event_type, severity, message, payload, occurred_at, regexp_replace(regexp_replace(message, '\d+', '#', 'g'), '/[^ :]+/', '.../', 'g') AS fingerprint FROM observability.app_events WHERE tenant_key IN ('prod', 'test') AND occurred_at BETWEEN '2026-03-28 12:27:37+01' AND '2026-04-04 12:27:37+02' AND severity IN ('error', 'warning') AND NOT (event_type = 'db_error' AND (lower(COALESCE(message, '')) = 'lock wait: client / clientread' OR ( lower(COALESCE(payload->>'wait_event_type', '')) = 'client' AND lower(COALESCE(payload ->> 'wait_event', '')) = 'clientread')))) SELECT fingerprint, COUNT(*) AS occurrence_count, COUNT(DISTINCT COALESCE(payload ->> 'user', payload ->> 'username', 'unbekannt')) AS affected_users, MAX(severity) AS max_severity, MIN(occurred_at) AS first_seen, MAX(occurred_at) AS last_seen, (array_agg(message ORDER BY occurred_at DESC))[1] AS sample_message, (array_agg(DISTINCT event_type))[1] AS event_type, (array_agg(payload ->> 'file' ORDER BY occurred_at DESC))[1] AS source_file, (array_agg(payload ->> 'line' ORDER BY occurred_at DESC))[1] AS source_line, (array_agg(payload ->> 'request' ORDER BY occurred_at DESC))[1] AS sample_request, (array_agg(id ORDER BY occurred_at DESC))[1] AS latest_event_id FROM normalised GROUP BY fingerprint ORDER BY occurrence_count DESC, last_seen DESC LIMIT '30';
Date: 2026-04-04 12:27:39 Duration: 2s127ms Database: zemm_monitoring User: labanimal Bind query: yes Log file: /var/log/postgresql/postgresql-2026-04-04_000000.csv
-
WITH normalised AS ( SELECT id, tenant_key, event_type, severity, message, payload, occurred_at, regexp_replace(regexp_replace(message, '\d+', '#', 'g'), '/[^ :]+/', '.../', 'g') AS fingerprint FROM observability.app_events WHERE tenant_key IN ('prod') AND occurred_at BETWEEN '2026-03-28 12:27:35+01' AND '2026-04-04 12:27:35+02' AND severity IN ('error', 'warning') AND NOT (event_type = 'db_error' AND (lower(COALESCE(message, '')) = 'lock wait: client / clientread' OR ( lower(COALESCE(payload->>'wait_event_type', '')) = 'client' AND lower(COALESCE(payload ->> 'wait_event', '')) = 'clientread')))) SELECT fingerprint, COUNT(*) AS occurrence_count, COUNT(DISTINCT COALESCE(payload ->> 'user', payload ->> 'username', 'unbekannt')) AS affected_users, MAX(severity) AS max_severity, MIN(occurred_at) AS first_seen, MAX(occurred_at) AS last_seen, (array_agg(message ORDER BY occurred_at DESC))[1] AS sample_message, (array_agg(DISTINCT event_type))[1] AS event_type, (array_agg(payload ->> 'file' ORDER BY occurred_at DESC))[1] AS source_file, (array_agg(payload ->> 'line' ORDER BY occurred_at DESC))[1] AS source_line, (array_agg(payload ->> 'request' ORDER BY occurred_at DESC))[1] AS sample_request, (array_agg(id ORDER BY occurred_at DESC))[1] AS latest_event_id FROM normalised GROUP BY fingerprint ORDER BY occurrence_count DESC, last_seen DESC LIMIT '30';
Date: 2026-04-04 12:27:37 Duration: 2s37ms Database: zemm_monitoring User: labanimal Bind query: yes Log file: /var/log/postgresql/postgresql-2026-04-04_000000.csv
-
WITH normalised AS ( SELECT id, tenant_key, event_type, severity, message, payload, occurred_at, regexp_replace(regexp_replace(message, '\d+', '#', 'g'), '/[^ :]+/', '.../', 'g') AS fingerprint FROM observability.app_events WHERE tenant_key IN ('prod') AND occurred_at BETWEEN '2026-03-28 12:26:41+01' AND '2026-04-04 12:26:41+02' AND severity IN ('error', 'warning') AND NOT (event_type = 'db_error' AND (lower(COALESCE(message, '')) = 'lock wait: client / clientread' OR ( lower(COALESCE(payload->>'wait_event_type', '')) = 'client' AND lower(COALESCE(payload ->> 'wait_event', '')) = 'clientread')))) SELECT fingerprint, COUNT(*) AS occurrence_count, COUNT(DISTINCT COALESCE(payload ->> 'user', payload ->> 'username', 'unbekannt')) AS affected_users, MAX(severity) AS max_severity, MIN(occurred_at) AS first_seen, MAX(occurred_at) AS last_seen, (array_agg(message ORDER BY occurred_at DESC))[1] AS sample_message, (array_agg(DISTINCT event_type))[1] AS event_type, (array_agg(payload ->> 'file' ORDER BY occurred_at DESC))[1] AS source_file, (array_agg(payload ->> 'line' ORDER BY occurred_at DESC))[1] AS source_line, (array_agg(payload ->> 'request' ORDER BY occurred_at DESC))[1] AS sample_request, (array_agg(id ORDER BY occurred_at DESC))[1] AS latest_event_id FROM normalised GROUP BY fingerprint ORDER BY occurrence_count DESC, last_seen DESC LIMIT '30';
Date: 2026-04-04 12:26:43 Duration: 1s727ms Database: zemm_monitoring User: labanimal Bind query: yes Log file: /var/log/postgresql/postgresql-2026-04-04_000000.csv
Normalized slowest queries (N)
Rank Min duration Max duration Avg duration Times executed Total duration Query 1 2m56s 2m56s 2m56s 1 2m56s select str.name as linie, str.comments as eigentuemer, ( select count(a.animal_id) from animals_search_mview a where a.alive = ? and a.deleted = ? and a.strain = str.name and a.outgoing_date is null and a.death_date is null) as tiere_lebend, ( select max(a.death_date) from animals_search_mview a where a.deleted = ? and a.strain = str.name) as zuletzt_gestorbenes_tier, ( select max(a.outgoing_date) from animals_search_mview a where a.alive = ? and a.deleted = ? and a.strain = str.name) as zuletzt_lebend_verlassenes_tier from strains str where str.deleted = ? and str.active = ? group by str.name, str.comments;Times Reported Time consuming queries #1
Day Hour Count Duration Avg duration Apr 01 00 1 2m56s 2m56s [ User: labanimal - Total duration: 2m56s - Times executed: 1 ]
[ Application: strainscron:zemm_produktiv_8@h2940066.stratoserver.net:5432 - Total duration: 2m56s - Times executed: 1 ]
-
SELECT str.name AS Linie, str.comments AS Eigentuemer, ( SELECT COUNT(a.animal_id) FROM animals_search_mview a WHERE a.alive = 't' AND a.deleted = 'f' AND a.strain = str.name AND a.outgoing_date IS NULL AND a.death_date IS NULL) AS tiere_lebend, ( SELECT MAX(a.death_date) FROM animals_search_mview a WHERE a.deleted = 'f' AND a.strain = str.name) AS zuletzt_gestorbenes_tier, ( SELECT MAX(a.outgoing_date) FROM animals_search_mview a WHERE a.alive = 't' AND a.deleted = 'f' AND a.strain = str.name) AS zuletzt_lebend_verlassenes_Tier FROM strains str WHERE str.deleted = '0' AND str.active = '1' GROUP BY str.name, str.comments;
Date: 2026-04-01 23:02:57 Duration: 2m56s Database: zemm_produktiv_8 User: labanimal Remote: 81.169.238.237 Application: strainscron:zemm_produktiv_8@h2940066.stratoserver.net:5432 Log file: /var/log/postgresql/postgresql-2026-04-01_000000.csv
2 1m20s 1m23s 1m22s 2 2m44s select count(*) filter (where comments like ? and animal_readable (id, ?)) as u10100134_ui_contains, count(*) filter (where comments like ? and animal_readable (id, ?)) as u10100134_ui_bracket, count(*) filter (where comments like ? and animal_readable (id, ?)) as u10100205_ui_contains, count(*) filter (where comments like ? and animal_readable (id, ?)) as u10100205_ui_bracket from animals;Times Reported Time consuming queries #2
Day Hour Count Duration Avg duration Apr 02 11 2 2m44s 1m22s [ User: deploy - Total duration: 2m44s - Times executed: 2 ]
[ Application: psql - Total duration: 2m44s - Times executed: 2 ]
-
SELECT count(*) FILTER (WHERE comments LIKE '%[DZHI-IMPORT-v1 row%' AND animal_readable (id, 10100134)) AS u10100134_ui_contains, count(*) FILTER (WHERE comments LIKE '[%' AND animal_readable (id, 10100134)) AS u10100134_ui_bracket, count(*) FILTER (WHERE comments LIKE '%[DZHI-IMPORT-v1 row%' AND animal_readable (id, 10100205)) AS u10100205_ui_contains, count(*) FILTER (WHERE comments LIKE '[%' AND animal_readable (id, 10100205)) AS u10100205_ui_bracket FROM animals;
Date: 2026-04-02 10:32:11 Duration: 1m23s Database: zemm_produktiv_7 User: deploy Remote: [local] Application: psql Log file: /var/log/postgresql/postgresql-2026-04-02_000000.csv
-
SELECT count(*) FILTER (WHERE comments LIKE '%[DZHI-IMPORT-v1 row%' AND animal_readable (id, 10100134)) AS u10100134_ui_contains, count(*) FILTER (WHERE comments LIKE '[%' AND animal_readable (id, 10100134)) AS u10100134_ui_bracket, count(*) FILTER (WHERE comments LIKE '%[DZHI-IMPORT-v1 row%' AND animal_readable (id, 10100205)) AS u10100205_ui_contains, count(*) FILTER (WHERE comments LIKE '[%' AND animal_readable (id, 10100205)) AS u10100205_ui_bracket FROM animals;
Date: 2026-04-02 10:33:07 Duration: 1m20s Database: zemm_produktiv_7 User: deploy Remote: [local] Application: psql Log file: /var/log/postgresql/postgresql-2026-04-02_000000.csv
3 1m8s 1m8s 1m8s 1 1m8s select count(*) filter (where animal_readable (a.id, ?)) as readable_any, count(*) filter (where a.comments ilike ? and animal_readable (a.id, ?)) as readable_dzhi_contains, count(*) filter (where a.comments like ? and animal_readable (a.id, ?)) as readable_dzhi_bracket from animals a;Times Reported Time consuming queries #3
Day Hour Count Duration Avg duration Apr 02 11 1 1m8s 1m8s [ User: deploy - Total duration: 1m8s - Times executed: 1 ]
[ Application: psql - Total duration: 1m8s - Times executed: 1 ]
-
SELECT count(*) FILTER (WHERE animal_readable (a.id, 10100134)) AS readable_any, count(*) FILTER (WHERE a.comments ILIKE '%DZHI-IMPORT-v1 row%' AND animal_readable (a.id, 10100134)) AS readable_dzhi_contains, count(*) FILTER (WHERE a.comments LIKE '[%' AND animal_readable (a.id, 10100134)) AS readable_dzhi_bracket FROM animals a;
Date: 2026-04-02 10:27:20 Duration: 1m8s Database: zemm_produktiv_7 User: deploy Remote: [local] Application: psql Log file: /var/log/postgresql/postgresql-2026-04-02_000000.csv
4 1m7s 1m7s 1m7s 1 1m7s with recent_users as ( select distinct on (lt."user") lt."user" as user_id, max(lt.timestamp) over (partition by lt."user") as last_seen from login_tracker lt join users u on u.id = lt."user" where lt.timestamp >= now() - interval ? and coalesce(u.deleted, false) = false order by lt."user", max(lt.timestamp) over (partition by lt."user") desc ), top_users as ( select user_id, last_seen from recent_users order by last_seen desc limit ? ) select tu.user_id, to_char(tu.last_seen, ?) as last_seen, count(*) filter (where a.comments ilike ? and user_is_tgm (a.owner, tu.user_id) or false) as dummy from top_users tu cross join lateral ( select ?) s join animals a on true group by tu.user_id, tu.last_seen order by tu.last_seen desc;Times Reported Time consuming queries #4
Day Hour Count Duration Avg duration Apr 02 11 1 1m7s 1m7s [ User: deploy - Total duration: 1m7s - Times executed: 1 ]
[ Application: psql - Total duration: 1m7s - Times executed: 1 ]
-
WITH recent_users AS ( SELECT DISTINCT ON (lt."user") lt."user" AS user_id, max(lt.timestamp) OVER (PARTITION BY lt."user") AS last_seen FROM login_tracker lt JOIN users u ON u.id = lt."user" WHERE lt.timestamp >= now() - interval '90 days' AND COALESCE(u.deleted, false) = false ORDER BY lt."user", max(lt.timestamp) OVER (PARTITION BY lt."user") DESC ), top_users AS ( SELECT user_id, last_seen FROM recent_users ORDER BY last_seen DESC LIMIT 12 ) SELECT tu.user_id, to_char(tu.last_seen, 'YYYY-MM-DD HH24:MI') AS last_seen, count(*) FILTER (WHERE a.comments ILIKE '%DZHI-IMPORT-v1 row%' AND user_is_tgm (a.owner, tu.user_id) OR false) AS dummy FROM top_users tu CROSS JOIN LATERAL ( SELECT 1) s JOIN animals a ON true GROUP BY tu.user_id, tu.last_seen ORDER BY tu.last_seen DESC;
Date: 2026-04-02 10:25:34 Duration: 1m7s Database: zemm_produktiv_7 User: deploy Remote: [local] Application: psql Log file: /var/log/postgresql/postgresql-2026-04-02_000000.csv
5 564ms 25s401ms 21s65ms 6 2m6s create temp table _dzhi_permission_fix ( row_num integer primary key, workgroup_name text not null, tourist_group integer not null );Times Reported Time consuming queries #5
Day Hour Count Duration Avg duration Apr 02 08 6 2m6s 21s65ms [ User: deploy - Total duration: 2m6s - Times executed: 6 ]
[ Application: psql - Total duration: 2m6s - Times executed: 6 ]
-
CREATE TEMP TABLE _dzhi_permission_fix ( row_num integer PRIMARY KEY, workgroup_name text NOT NULL, tourist_group integer NOT NULL );
Date: 2026-04-02 07:29:41 Duration: 25s401ms Database: zemm_produktiv_7 User: deploy Remote: [local] Application: psql Log file: /var/log/postgresql/postgresql-2026-04-02_000000.csv
-
CREATE TEMP TABLE _dzhi_permission_fix ( row_num integer PRIMARY KEY, workgroup_name text NOT NULL, tourist_group integer NOT NULL );
Date: 2026-04-02 07:30:26 Duration: 25s306ms Database: zemm_produktiv_7 User: deploy Remote: [local] Application: psql Log file: /var/log/postgresql/postgresql-2026-04-02_000000.csv
-
CREATE TEMP TABLE _dzhi_permission_fix ( row_num integer PRIMARY KEY, workgroup_name text NOT NULL, tourist_group integer NOT NULL );
Date: 2026-04-02 07:28:08 Duration: 25s110ms Database: zemm_produktiv_7 User: deploy Remote: [local] Application: psql Log file: /var/log/postgresql/postgresql-2026-04-02_000000.csv
6 564ms 25s401ms 21s65ms 6 2m6s create temp table _dzhi_fix_animals as select f.row_num, f.workgroup_name, f.tourist_group, a.id as animal_id, a.owner, a.editor, a.tourist, a."animalID" from _dzhi_permission_fix f join animals a on a.deleted = false and a.comments like (? || f.row_num::text || ?);Times Reported Time consuming queries #6
Day Hour Count Duration Avg duration Apr 02 08 6 2m6s 21s65ms [ User: deploy - Total duration: 2m6s - Times executed: 6 ]
[ Application: psql - Total duration: 2m6s - Times executed: 6 ]
-
CREATE TEMP TABLE _dzhi_fix_animals AS SELECT f.row_num, f.workgroup_name, f.tourist_group, a.id AS animal_id, a.owner, a.editor, a.tourist, a."animalID" FROM _dzhi_permission_fix f JOIN animals a ON a.deleted = false AND a.comments LIKE ('%[DZHI-IMPORT-v1 row=' || f.row_num::text || ']%');
Date: 2026-04-02 07:29:41 Duration: 25s401ms Database: zemm_produktiv_7 User: deploy Remote: [local] Application: psql Log file: /var/log/postgresql/postgresql-2026-04-02_000000.csv
-
CREATE TEMP TABLE _dzhi_fix_animals AS SELECT f.row_num, f.workgroup_name, f.tourist_group, a.id AS animal_id, a.owner, a.editor, a.tourist, a."animalID" FROM _dzhi_permission_fix f JOIN animals a ON a.deleted = false AND a.comments LIKE ('%[DZHI-IMPORT-v1 row=' || f.row_num::text || ']%');
Date: 2026-04-02 07:30:26 Duration: 25s306ms Database: zemm_produktiv_7 User: deploy Remote: [local] Application: psql Log file: /var/log/postgresql/postgresql-2026-04-02_000000.csv
-
CREATE TEMP TABLE _dzhi_fix_animals AS SELECT f.row_num, f.workgroup_name, f.tourist_group, a.id AS animal_id, a.owner, a.editor, a.tourist, a."animalID" FROM _dzhi_permission_fix f JOIN animals a ON a.deleted = false AND a.comments LIKE ('%[DZHI-IMPORT-v1 row=' || f.row_num::text || ']%');
Date: 2026-04-02 07:28:08 Duration: 25s110ms Database: zemm_produktiv_7 User: deploy Remote: [local] Application: psql Log file: /var/log/postgresql/postgresql-2026-04-02_000000.csv
7 2s650ms 21s942ms 3s376ms 307 17m16s with start_snap as ( select distinct on (tenant_key, fingerprint) tenant_key, fingerprint, total_time_ms, calls, rows_returned, collected_at from observability.db_top_queries where tenant_key in (...) and collected_at <= ? order by tenant_key, fingerprint, collected_at desc ), fallback_start as ( select distinct on (tenant_key, fingerprint) tenant_key, fingerprint, total_time_ms, calls, rows_returned, collected_at from observability.db_top_queries where tenant_key in (...) and collected_at between ? and ? order by tenant_key, fingerprint, collected_at asc ), end_snap as ( select distinct on (tenant_key, fingerprint) tenant_key, fingerprint, query, total_time_ms, calls, rows_returned, collected_at from observability.db_top_queries where tenant_key in (...) and collected_at between ? and ? order by tenant_key, fingerprint, collected_at desc ), deltas as ( select e.tenant_key, e.fingerprint, e.query, e.collected_at as last_seen, greatest (coalesce(e.total_time_ms, ?) - coalesce(s.total_time_ms, fs.total_time_ms, ?), ?) as total_time_ms, greatest (coalesce(e.calls, ?) - coalesce(s.calls, fs.calls, ?), ?) as calls, greatest (coalesce(e.rows_returned, ?) - coalesce(s.rows_returned, fs.rows_returned, ?), ?) as rows_returned from end_snap e left join start_snap s on s.tenant_key = e.tenant_key and s.fingerprint = e.fingerprint left join fallback_start fs on fs.tenant_key = e.tenant_key and fs.fingerprint = e.fingerprint and s.tenant_key is null ) select fingerprint, max(query) as query, max(last_seen) as last_seen, sum(total_time_ms) as total_time_ms, sum(calls) as calls, sum(rows_returned) as rows_returned, case when sum(calls) > ? then sum(total_time_ms) / sum(calls) else ? end as mean_time_ms, array_agg(distinct tenant_key order by tenant_key) as tenant_keys from deltas where total_time_ms > ? or calls > ? group by fingerprint order by total_time_ms desc, calls desc limit ? offset ?;Times Reported Time consuming queries #7
Day Hour Count Duration Avg duration Apr 04 13 71 5m41s 4s807ms 14 29 1m26s 2s984ms 15 25 1m14s 2s967ms 16 24 1m9s 2s893ms 17 24 1m7s 2s817ms 18 24 1m8s 2s852ms 19 28 1m20s 2s882ms 20 25 1m11s 2s845ms 21 24 1m9s 2s894ms 22 26 1m26s 3s338ms 23 7 20s939ms 2s991ms [ User: labanimal - Total duration: 17m16s - Times executed: 307 ]
-
WITH start_snap AS ( SELECT DISTINCT ON (tenant_key, fingerprint) tenant_key, fingerprint, total_time_ms, calls, rows_returned, collected_at FROM observability.db_top_queries WHERE tenant_key IN ('prod', 'test', 'dev') AND collected_at <= '2026-04-04 11:27:03+02' ORDER BY tenant_key, fingerprint, collected_at DESC ), fallback_start AS ( SELECT DISTINCT ON (tenant_key, fingerprint) tenant_key, fingerprint, total_time_ms, calls, rows_returned, collected_at FROM observability.db_top_queries WHERE tenant_key IN ('prod', 'test', 'dev') AND collected_at BETWEEN '2026-04-04 11:27:03+02' AND '2026-04-04 12:27:03+02' ORDER BY tenant_key, fingerprint, collected_at ASC ), end_snap AS ( SELECT DISTINCT ON (tenant_key, fingerprint) tenant_key, fingerprint, query, total_time_ms, calls, rows_returned, collected_at FROM observability.db_top_queries WHERE tenant_key IN ('prod', 'test', 'dev') AND collected_at BETWEEN '2026-04-04 11:27:03+02' AND '2026-04-04 12:27:03+02' ORDER BY tenant_key, fingerprint, collected_at DESC ), deltas AS ( SELECT e.tenant_key, e.fingerprint, e.query, e.collected_at AS last_seen, GREATEST (COALESCE(e.total_time_ms, 0) - COALESCE(s.total_time_ms, fs.total_time_ms, 0), 0) AS total_time_ms, GREATEST (COALESCE(e.calls, 0) - COALESCE(s.calls, fs.calls, 0), 0) AS calls, GREATEST (COALESCE(e.rows_returned, 0) - COALESCE(s.rows_returned, fs.rows_returned, 0), 0) AS rows_returned FROM end_snap e LEFT JOIN start_snap s ON s.tenant_key = e.tenant_key AND s.fingerprint = e.fingerprint LEFT JOIN fallback_start fs ON fs.tenant_key = e.tenant_key AND fs.fingerprint = e.fingerprint AND s.tenant_key IS NULL ) SELECT fingerprint, MAX(query) AS query, MAX(last_seen) AS last_seen, SUM(total_time_ms) AS total_time_ms, SUM(calls) AS calls, SUM(rows_returned) AS rows_returned, CASE WHEN SUM(calls) > 0 THEN SUM(total_time_ms) / SUM(calls) ELSE 0 END AS mean_time_ms, array_agg(DISTINCT tenant_key ORDER BY tenant_key) AS tenant_keys FROM deltas WHERE total_time_ms > 0 OR calls > 0 GROUP BY fingerprint ORDER BY total_time_ms DESC, calls DESC LIMIT '5' OFFSET '0';
Date: 2026-04-04 12:27:25 Duration: 21s942ms Database: zemm_monitoring User: labanimal Bind query: yes Log file: /var/log/postgresql/postgresql-2026-04-04_000000.csv
-
WITH start_snap AS ( SELECT DISTINCT ON (tenant_key, fingerprint) tenant_key, fingerprint, total_time_ms, calls, rows_returned, collected_at FROM observability.db_top_queries WHERE tenant_key IN ('prod', 'test', 'dev') AND collected_at <= '2026-04-04 11:11:04+02' ORDER BY tenant_key, fingerprint, collected_at DESC ), fallback_start AS ( SELECT DISTINCT ON (tenant_key, fingerprint) tenant_key, fingerprint, total_time_ms, calls, rows_returned, collected_at FROM observability.db_top_queries WHERE tenant_key IN ('prod', 'test', 'dev') AND collected_at BETWEEN '2026-04-04 11:11:04+02' AND '2026-04-04 12:11:04+02' ORDER BY tenant_key, fingerprint, collected_at ASC ), end_snap AS ( SELECT DISTINCT ON (tenant_key, fingerprint) tenant_key, fingerprint, query, total_time_ms, calls, rows_returned, collected_at FROM observability.db_top_queries WHERE tenant_key IN ('prod', 'test', 'dev') AND collected_at BETWEEN '2026-04-04 11:11:04+02' AND '2026-04-04 12:11:04+02' ORDER BY tenant_key, fingerprint, collected_at DESC ), deltas AS ( SELECT e.tenant_key, e.fingerprint, e.query, e.collected_at AS last_seen, GREATEST (COALESCE(e.total_time_ms, 0) - COALESCE(s.total_time_ms, fs.total_time_ms, 0), 0) AS total_time_ms, GREATEST (COALESCE(e.calls, 0) - COALESCE(s.calls, fs.calls, 0), 0) AS calls, GREATEST (COALESCE(e.rows_returned, 0) - COALESCE(s.rows_returned, fs.rows_returned, 0), 0) AS rows_returned FROM end_snap e LEFT JOIN start_snap s ON s.tenant_key = e.tenant_key AND s.fingerprint = e.fingerprint LEFT JOIN fallback_start fs ON fs.tenant_key = e.tenant_key AND fs.fingerprint = e.fingerprint AND s.tenant_key IS NULL ) SELECT fingerprint, MAX(query) AS query, MAX(last_seen) AS last_seen, SUM(total_time_ms) AS total_time_ms, SUM(calls) AS calls, SUM(rows_returned) AS rows_returned, CASE WHEN SUM(calls) > 0 THEN SUM(total_time_ms) / SUM(calls) ELSE 0 END AS mean_time_ms, array_agg(DISTINCT tenant_key ORDER BY tenant_key) AS tenant_keys FROM deltas WHERE total_time_ms > 0 OR calls > 0 GROUP BY fingerprint ORDER BY total_time_ms DESC, calls DESC LIMIT '5' OFFSET '0';
Date: 2026-04-04 12:11:23 Duration: 19s619ms Database: zemm_monitoring User: labanimal Bind query: yes Log file: /var/log/postgresql/postgresql-2026-04-04_000000.csv
-
WITH start_snap AS ( SELECT DISTINCT ON (tenant_key, fingerprint) tenant_key, fingerprint, total_time_ms, calls, rows_returned, collected_at FROM observability.db_top_queries WHERE tenant_key IN ('prod', 'test', 'dev') AND collected_at <= '2026-03-28 12:26:44+01' ORDER BY tenant_key, fingerprint, collected_at DESC ), fallback_start AS ( SELECT DISTINCT ON (tenant_key, fingerprint) tenant_key, fingerprint, total_time_ms, calls, rows_returned, collected_at FROM observability.db_top_queries WHERE tenant_key IN ('prod', 'test', 'dev') AND collected_at BETWEEN '2026-03-28 12:26:44+01' AND '2026-04-04 12:26:44+02' ORDER BY tenant_key, fingerprint, collected_at ASC ), end_snap AS ( SELECT DISTINCT ON (tenant_key, fingerprint) tenant_key, fingerprint, query, total_time_ms, calls, rows_returned, collected_at FROM observability.db_top_queries WHERE tenant_key IN ('prod', 'test', 'dev') AND collected_at BETWEEN '2026-03-28 12:26:44+01' AND '2026-04-04 12:26:44+02' ORDER BY tenant_key, fingerprint, collected_at DESC ), deltas AS ( SELECT e.tenant_key, e.fingerprint, e.query, e.collected_at AS last_seen, GREATEST (COALESCE(e.total_time_ms, 0) - COALESCE(s.total_time_ms, fs.total_time_ms, 0), 0) AS total_time_ms, GREATEST (COALESCE(e.calls, 0) - COALESCE(s.calls, fs.calls, 0), 0) AS calls, GREATEST (COALESCE(e.rows_returned, 0) - COALESCE(s.rows_returned, fs.rows_returned, 0), 0) AS rows_returned FROM end_snap e LEFT JOIN start_snap s ON s.tenant_key = e.tenant_key AND s.fingerprint = e.fingerprint LEFT JOIN fallback_start fs ON fs.tenant_key = e.tenant_key AND fs.fingerprint = e.fingerprint AND s.tenant_key IS NULL ) SELECT fingerprint, MAX(query) AS query, MAX(last_seen) AS last_seen, SUM(total_time_ms) AS total_time_ms, SUM(calls) AS calls, SUM(rows_returned) AS rows_returned, CASE WHEN SUM(calls) > 0 THEN SUM(total_time_ms) / SUM(calls) ELSE 0 END AS mean_time_ms, array_agg(DISTINCT tenant_key ORDER BY tenant_key) AS tenant_keys FROM deltas WHERE total_time_ms > 0 OR calls > 0 GROUP BY fingerprint ORDER BY total_time_ms DESC, calls DESC LIMIT '5' OFFSET '0';
Date: 2026-04-04 12:27:00 Duration: 16s158ms Database: zemm_monitoring User: labanimal Bind query: yes Log file: /var/log/postgresql/postgresql-2026-04-04_000000.csv
8 508ms 2m56s 2s434ms 10,019 6h46m27s create index if not exists idx_metrics_timeseries_metric on observability.metrics_timeseries (metric_name);Times Reported Time consuming queries #8
Day Hour Count Duration Avg duration Mar 29 00 60 0ms 0ms 01 60 37s149ms 619ms 04 60 1m16s 1s281ms 05 60 1m16s 1s281ms 06 60 1m16s 1s281ms 07 60 1m16s 1s281ms 08 60 1m16s 1s281ms 09 60 1m16s 1s281ms 10 60 1m16s 1s281ms 11 60 1m16s 1s281ms 12 60 1m16s 1s281ms 13 60 1m16s 1s281ms 14 60 45s854ms 764ms 15 60 41s759ms 695ms 16 60 41s759ms 695ms 17 60 41s759ms 695ms 18 60 41s759ms 695ms 19 60 41s759ms 695ms 20 60 41s759ms 695ms 21 60 45s329ms 755ms 22 60 40s125ms 668ms 23 60 35s338ms 588ms 00 60 38s720ms 645ms Mar 30 01 60 1m26s 1s434ms 02 60 28s358ms 472ms 03 60 58s672ms 977ms 04 60 58s672ms 977ms 05 60 58s672ms 977ms 06 60 58s672ms 977ms 07 60 58s672ms 977ms 08 60 49s561ms 826ms 09 60 1m40s 1s676ms 10 60 2m 2s2ms 11 60 39s318ms 655ms 12 60 38s836ms 647ms 13 60 41s162ms 686ms 14 60 1m2s 1s47ms 15 60 2m17s 2s288ms 16 60 41s821ms 697ms 17 60 36s198ms 603ms 18 60 4m3s 4s61ms 19 60 7m51s 7s857ms 20 60 1m43s 1s717ms 21 60 49s437ms 823ms 22 60 49s339ms 822ms 23 60 49s339ms 822ms 00 60 51s491ms 858ms Mar 31 01 60 0ms 0ms 02 60 32s747ms 545ms 03 60 1m7s 1s129ms 04 60 1m7s 1s129ms 05 60 1m7s 1s129ms 06 60 1m7s 1s129ms 07 60 1m7s 1s129ms 08 60 1m7s 1s129ms 09 60 1m 1s9ms 10 60 1m 1s10ms 11 60 38s794ms 646ms 12 60 2m1s 2s28ms 13 60 35s485ms 591ms 14 60 37s774ms 629ms 15 60 1m21s 1s364ms 16 60 1m16s 1s275ms 17 60 1m21s 1s355ms 18 60 1m6s 1s104ms 19 60 49s253ms 820ms 20 60 50s319ms 838ms 21 60 50s134ms 835ms 22 60 48s735ms 812ms 23 60 48s735ms 812ms 00 60 48s188ms 803ms Apr 01 01 60 0ms 0ms 02 60 28s345ms 472ms 03 60 58s645ms 977ms 04 60 58s645ms 977ms 05 60 58s645ms 977ms 06 60 51s621ms 860ms 07 60 43s594ms 726ms 08 60 49s114ms 818ms 09 60 46s748ms 779ms 10 60 36s117ms 601ms 11 60 38s366ms 639ms 12 60 42s239ms 703ms 13 60 57s755ms 962ms 14 60 41s664ms 694ms 15 60 54s716ms 911ms 16 60 44s519ms 741ms 17 60 39s362ms 656ms 18 60 39s148ms 652ms 19 60 39s949ms 665ms 20 60 50s172ms 836ms 21 60 53s17ms 883ms 22 60 56s42ms 934ms 23 60 48s60ms 801ms 00 60 2h36m11s 2m36s Apr 02 01 60 0ms 0ms 02 60 29s646ms 494ms 03 60 1m1s 1s22ms 04 60 1m1s 1s22ms 05 60 1m1s 1s22ms 06 60 1m1s 1s22ms 07 60 51s81ms 851ms 08 60 2m17s 2s289ms 09 60 1m18s 1s313ms 10 60 43s182ms 719ms 11 60 40m43s 40s727ms 12 60 24m40s 24s683ms 13 60 48s109ms 801ms 14 60 1m12s 1s210ms 15 60 52s729ms 878ms 16 60 44s765ms 746ms 17 60 44s765ms 746ms 18 60 44s765ms 746ms 19 60 44s765ms 746ms 20 60 44s765ms 746ms 21 60 44s765ms 746ms 22 60 44s765ms 746ms 23 60 44s765ms 746ms 00 60 47s184ms 786ms Apr 03 01 60 0ms 0ms 02 60 26s747ms 445ms 03 60 55s340ms 922ms 04 60 55s340ms 922ms 05 60 55s340ms 922ms 06 60 55s340ms 922ms 07 60 55s340ms 922ms 08 60 55s340ms 922ms 09 60 55s385ms 923ms 10 60 1m9s 1s162ms 11 60 1m38s 1s635ms 12 60 1m38s 1s635ms 13 60 1m38s 1s635ms 14 60 1m38s 1s635ms 15 60 1m38s 1s635ms 16 60 1m38s 1s635ms 17 60 1m38s 1s635ms 18 60 1m20s 1s345ms 19 60 40s450ms 674ms 20 60 40s526ms 675ms 21 60 40s526ms 675ms 22 60 40s526ms 675ms 23 60 40s526ms 675ms 00 60 43s238ms 720ms Apr 04 01 60 0ms 0ms 02 60 30s307ms 505ms 03 60 1m2s 1s45ms 04 60 1m2s 1s45ms 05 60 1m2s 1s45ms 06 60 1m2s 1s45ms 07 60 1m2s 1s45ms 08 60 47s763ms 796ms 09 60 32s820ms 547ms 10 60 32s820ms 547ms 11 60 34s314ms 571ms 12 60 34s727ms 578ms 13 60 3m8s 3s139ms 14 60 2m53s 2s897ms 15 60 2m58s 2s981ms 16 60 2m57s 2s957ms 17 60 2m40s 2s680ms 18 60 2m54s 2s902ms 19 60 2m57s 2s955ms 20 60 2m54s 2s908ms 21 60 2m59s 2s989ms 22 59 3m6s 3s162ms 23 60 2m56s 2s943ms 00 60 2m48s 2s806ms [ User: labanimal - Total duration: 6h46m27s - Times executed: 9442 ]
-
CREATE INDEX IF NOT EXISTS idx_metrics_timeseries_metric ON observability.metrics_timeseries (metric_name);
Date: 2026-04-01 23:55:01 Duration: 2m56s Database: zemm_monitoring User: labanimal Log file: /var/log/postgresql/postgresql-2026-04-01_000000.csv
-
CREATE INDEX IF NOT EXISTS idx_metrics_timeseries_metric ON observability.metrics_timeseries (metric_name);
Date: 2026-04-02 10:33:01 Duration: 1m23s Database: zemm_monitoring User: labanimal Log file: /var/log/postgresql/postgresql-2026-04-02_000000.csv
-
CREATE INDEX IF NOT EXISTS idx_metrics_timeseries_metric ON observability.metrics_timeseries (metric_name);
Date: 2026-04-02 11:17:01 Duration: 1m20s Database: zemm_monitoring User: labanimal Log file: /var/log/postgresql/postgresql-2026-04-02_000000.csv
9 508ms 2m56s 2s434ms 10,019 6h46m27s 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 29 00 60 0ms 0ms 01 60 37s149ms 619ms 04 60 1m16s 1s281ms 05 60 1m16s 1s281ms 06 60 1m16s 1s281ms 07 60 1m16s 1s281ms 08 60 1m16s 1s281ms 09 60 1m16s 1s281ms 10 60 1m16s 1s281ms 11 60 1m16s 1s281ms 12 60 1m16s 1s281ms 13 60 1m16s 1s281ms 14 60 45s854ms 764ms 15 60 41s759ms 695ms 16 60 41s759ms 695ms 17 60 41s759ms 695ms 18 60 41s759ms 695ms 19 60 41s759ms 695ms 20 60 41s759ms 695ms 21 60 45s329ms 755ms 22 60 40s125ms 668ms 23 60 35s338ms 588ms 00 60 38s720ms 645ms Mar 30 01 60 1m26s 1s434ms 02 60 28s358ms 472ms 03 60 58s672ms 977ms 04 60 58s672ms 977ms 05 60 58s672ms 977ms 06 60 58s672ms 977ms 07 60 58s672ms 977ms 08 60 49s561ms 826ms 09 60 1m40s 1s676ms 10 60 2m 2s2ms 11 60 39s318ms 655ms 12 60 38s836ms 647ms 13 60 41s162ms 686ms 14 60 1m2s 1s47ms 15 60 2m17s 2s288ms 16 60 41s821ms 697ms 17 60 36s198ms 603ms 18 60 4m3s 4s61ms 19 60 7m51s 7s857ms 20 60 1m43s 1s717ms 21 60 49s437ms 823ms 22 60 49s339ms 822ms 23 60 49s339ms 822ms 00 60 51s491ms 858ms Mar 31 01 60 0ms 0ms 02 60 32s747ms 545ms 03 60 1m7s 1s129ms 04 60 1m7s 1s129ms 05 60 1m7s 1s129ms 06 60 1m7s 1s129ms 07 60 1m7s 1s129ms 08 60 1m7s 1s129ms 09 60 1m 1s9ms 10 60 1m 1s10ms 11 60 38s794ms 646ms 12 60 2m1s 2s28ms 13 60 35s485ms 591ms 14 60 37s774ms 629ms 15 60 1m21s 1s364ms 16 60 1m16s 1s275ms 17 60 1m21s 1s355ms 18 60 1m6s 1s104ms 19 60 49s253ms 820ms 20 60 50s319ms 838ms 21 60 50s134ms 835ms 22 60 48s735ms 812ms 23 60 48s735ms 812ms 00 60 48s188ms 803ms Apr 01 01 60 0ms 0ms 02 60 28s345ms 472ms 03 60 58s645ms 977ms 04 60 58s645ms 977ms 05 60 58s645ms 977ms 06 60 51s621ms 860ms 07 60 43s594ms 726ms 08 60 49s114ms 818ms 09 60 46s748ms 779ms 10 60 36s117ms 601ms 11 60 38s366ms 639ms 12 60 42s239ms 703ms 13 60 57s755ms 962ms 14 60 41s664ms 694ms 15 60 54s716ms 911ms 16 60 44s519ms 741ms 17 60 39s362ms 656ms 18 60 39s148ms 652ms 19 60 39s949ms 665ms 20 60 50s172ms 836ms 21 60 53s17ms 883ms 22 60 56s42ms 934ms 23 60 48s60ms 801ms 00 60 2h36m11s 2m36s Apr 02 01 60 0ms 0ms 02 60 29s646ms 494ms 03 60 1m1s 1s22ms 04 60 1m1s 1s22ms 05 60 1m1s 1s22ms 06 60 1m1s 1s22ms 07 60 51s81ms 851ms 08 60 2m17s 2s289ms 09 60 1m18s 1s313ms 10 60 43s182ms 719ms 11 60 40m43s 40s727ms 12 60 24m40s 24s683ms 13 60 48s109ms 801ms 14 60 1m12s 1s210ms 15 60 52s729ms 878ms 16 60 44s765ms 746ms 17 60 44s765ms 746ms 18 60 44s765ms 746ms 19 60 44s765ms 746ms 20 60 44s765ms 746ms 21 60 44s765ms 746ms 22 60 44s765ms 746ms 23 60 44s765ms 746ms 00 60 47s184ms 786ms Apr 03 01 60 0ms 0ms 02 60 26s747ms 445ms 03 60 55s340ms 922ms 04 60 55s340ms 922ms 05 60 55s340ms 922ms 06 60 55s340ms 922ms 07 60 55s340ms 922ms 08 60 55s340ms 922ms 09 60 55s385ms 923ms 10 60 1m9s 1s162ms 11 60 1m38s 1s635ms 12 60 1m38s 1s635ms 13 60 1m38s 1s635ms 14 60 1m38s 1s635ms 15 60 1m38s 1s635ms 16 60 1m38s 1s635ms 17 60 1m38s 1s635ms 18 60 1m20s 1s345ms 19 60 40s450ms 674ms 20 60 40s526ms 675ms 21 60 40s526ms 675ms 22 60 40s526ms 675ms 23 60 40s526ms 675ms 00 60 43s238ms 720ms Apr 04 01 60 0ms 0ms 02 60 30s307ms 505ms 03 60 1m2s 1s45ms 04 60 1m2s 1s45ms 05 60 1m2s 1s45ms 06 60 1m2s 1s45ms 07 60 1m2s 1s45ms 08 60 47s763ms 796ms 09 60 32s820ms 547ms 10 60 32s820ms 547ms 11 60 34s314ms 571ms 12 60 34s727ms 578ms 13 60 3m8s 3s139ms 14 60 2m53s 2s897ms 15 60 2m58s 2s981ms 16 60 2m57s 2s957ms 17 60 2m40s 2s680ms 18 60 2m54s 2s902ms 19 60 2m57s 2s955ms 20 60 2m54s 2s908ms 21 60 2m59s 2s989ms 22 59 3m6s 3s162ms 23 60 2m56s 2s943ms 00 60 2m48s 2s806ms [ User: labanimal - Total duration: 6h46m27s - Times executed: 9442 ]
-
CREATE INDEX IF NOT EXISTS idx_app_events_tenant ON observability.app_events (tenant_key, occurred_at DESC);
Date: 2026-04-01 23:55:01 Duration: 2m56s Database: zemm_monitoring User: labanimal Log file: /var/log/postgresql/postgresql-2026-04-01_000000.csv
-
CREATE INDEX IF NOT EXISTS idx_app_events_tenant ON observability.app_events (tenant_key, occurred_at DESC);
Date: 2026-04-02 10:33:01 Duration: 1m23s Database: zemm_monitoring User: labanimal Log file: /var/log/postgresql/postgresql-2026-04-02_000000.csv
-
CREATE INDEX IF NOT EXISTS idx_app_events_tenant ON observability.app_events (tenant_key, occurred_at DESC);
Date: 2026-04-02 11:17:01 Duration: 1m20s Database: zemm_monitoring User: labanimal Log file: /var/log/postgresql/postgresql-2026-04-02_000000.csv
10 508ms 2m56s 2s434ms 10,019 6h46m27s create schema if not exists observability;Times Reported Time consuming queries #10
Day Hour Count Duration Avg duration Mar 29 00 60 0ms 0ms 01 60 37s149ms 619ms 04 60 1m16s 1s281ms 05 60 1m16s 1s281ms 06 60 1m16s 1s281ms 07 60 1m16s 1s281ms 08 60 1m16s 1s281ms 09 60 1m16s 1s281ms 10 60 1m16s 1s281ms 11 60 1m16s 1s281ms 12 60 1m16s 1s281ms 13 60 1m16s 1s281ms 14 60 45s854ms 764ms 15 60 41s759ms 695ms 16 60 41s759ms 695ms 17 60 41s759ms 695ms 18 60 41s759ms 695ms 19 60 41s759ms 695ms 20 60 41s759ms 695ms 21 60 45s329ms 755ms 22 60 40s125ms 668ms 23 60 35s338ms 588ms 00 60 38s720ms 645ms Mar 30 01 60 1m26s 1s434ms 02 60 28s358ms 472ms 03 60 58s672ms 977ms 04 60 58s672ms 977ms 05 60 58s672ms 977ms 06 60 58s672ms 977ms 07 60 58s672ms 977ms 08 60 49s561ms 826ms 09 60 1m40s 1s676ms 10 60 2m 2s2ms 11 60 39s318ms 655ms 12 60 38s836ms 647ms 13 60 41s162ms 686ms 14 60 1m2s 1s47ms 15 60 2m17s 2s288ms 16 60 41s821ms 697ms 17 60 36s198ms 603ms 18 60 4m3s 4s61ms 19 60 7m51s 7s857ms 20 60 1m43s 1s717ms 21 60 49s437ms 823ms 22 60 49s339ms 822ms 23 60 49s339ms 822ms 00 60 51s491ms 858ms Mar 31 01 60 0ms 0ms 02 60 32s747ms 545ms 03 60 1m7s 1s129ms 04 60 1m7s 1s129ms 05 60 1m7s 1s129ms 06 60 1m7s 1s129ms 07 60 1m7s 1s129ms 08 60 1m7s 1s129ms 09 60 1m 1s9ms 10 60 1m 1s10ms 11 60 38s794ms 646ms 12 60 2m1s 2s28ms 13 60 35s485ms 591ms 14 60 37s774ms 629ms 15 60 1m21s 1s364ms 16 60 1m16s 1s275ms 17 60 1m21s 1s355ms 18 60 1m6s 1s104ms 19 60 49s253ms 820ms 20 60 50s319ms 838ms 21 60 50s134ms 835ms 22 60 48s735ms 812ms 23 60 48s735ms 812ms 00 60 48s188ms 803ms Apr 01 01 60 0ms 0ms 02 60 28s345ms 472ms 03 60 58s645ms 977ms 04 60 58s645ms 977ms 05 60 58s645ms 977ms 06 60 51s621ms 860ms 07 60 43s594ms 726ms 08 60 49s114ms 818ms 09 60 46s748ms 779ms 10 60 36s117ms 601ms 11 60 38s366ms 639ms 12 60 42s239ms 703ms 13 60 57s755ms 962ms 14 60 41s664ms 694ms 15 60 54s716ms 911ms 16 60 44s519ms 741ms 17 60 39s362ms 656ms 18 60 39s148ms 652ms 19 60 39s949ms 665ms 20 60 50s172ms 836ms 21 60 53s17ms 883ms 22 60 56s42ms 934ms 23 60 48s60ms 801ms 00 60 2h36m11s 2m36s Apr 02 01 60 0ms 0ms 02 60 29s646ms 494ms 03 60 1m1s 1s22ms 04 60 1m1s 1s22ms 05 60 1m1s 1s22ms 06 60 1m1s 1s22ms 07 60 51s81ms 851ms 08 60 2m17s 2s289ms 09 60 1m18s 1s313ms 10 60 43s182ms 719ms 11 60 40m43s 40s727ms 12 60 24m40s 24s683ms 13 60 48s109ms 801ms 14 60 1m12s 1s210ms 15 60 52s729ms 878ms 16 60 44s765ms 746ms 17 60 44s765ms 746ms 18 60 44s765ms 746ms 19 60 44s765ms 746ms 20 60 44s765ms 746ms 21 60 44s765ms 746ms 22 60 44s765ms 746ms 23 60 44s765ms 746ms 00 60 47s184ms 786ms Apr 03 01 60 0ms 0ms 02 60 26s747ms 445ms 03 60 55s340ms 922ms 04 60 55s340ms 922ms 05 60 55s340ms 922ms 06 60 55s340ms 922ms 07 60 55s340ms 922ms 08 60 55s340ms 922ms 09 60 55s385ms 923ms 10 60 1m9s 1s162ms 11 60 1m38s 1s635ms 12 60 1m38s 1s635ms 13 60 1m38s 1s635ms 14 60 1m38s 1s635ms 15 60 1m38s 1s635ms 16 60 1m38s 1s635ms 17 60 1m38s 1s635ms 18 60 1m20s 1s345ms 19 60 40s450ms 674ms 20 60 40s526ms 675ms 21 60 40s526ms 675ms 22 60 40s526ms 675ms 23 60 40s526ms 675ms 00 60 43s238ms 720ms Apr 04 01 60 0ms 0ms 02 60 30s307ms 505ms 03 60 1m2s 1s45ms 04 60 1m2s 1s45ms 05 60 1m2s 1s45ms 06 60 1m2s 1s45ms 07 60 1m2s 1s45ms 08 60 47s763ms 796ms 09 60 32s820ms 547ms 10 60 32s820ms 547ms 11 60 34s314ms 571ms 12 60 34s727ms 578ms 13 60 3m8s 3s139ms 14 60 2m53s 2s897ms 15 60 2m58s 2s981ms 16 60 2m57s 2s957ms 17 60 2m40s 2s680ms 18 60 2m54s 2s902ms 19 60 2m57s 2s955ms 20 60 2m54s 2s908ms 21 60 2m59s 2s989ms 22 59 3m6s 3s162ms 23 60 2m56s 2s943ms 00 60 2m48s 2s806ms [ User: labanimal - Total duration: 6h46m27s - Times executed: 9442 ]
-
CREATE SCHEMA IF NOT EXISTS observability;
Date: 2026-04-01 23:55:01 Duration: 2m56s Database: zemm_monitoring User: labanimal Log file: /var/log/postgresql/postgresql-2026-04-01_000000.csv
-
CREATE SCHEMA IF NOT EXISTS observability;
Date: 2026-04-02 10:33:01 Duration: 1m23s Database: zemm_monitoring User: labanimal Log file: /var/log/postgresql/postgresql-2026-04-02_000000.csv
-
CREATE SCHEMA IF NOT EXISTS observability;
Date: 2026-04-02 11:17:01 Duration: 1m20s Database: zemm_monitoring User: labanimal Log file: /var/log/postgresql/postgresql-2026-04-02_000000.csv
11 508ms 2m56s 2s434ms 10,019 6h46m27s create table if not exists observability.app_events ( id bigserial primary key, tenant_key text not null, event_type text not null, severity text not null, message text not null, payload jsonb, occurred_at timestamptz not null default now(), created_at timestamptz not null default now() );Times Reported Time consuming queries #11
Day Hour Count Duration Avg duration Mar 29 00 60 0ms 0ms 01 60 37s149ms 619ms 04 60 1m16s 1s281ms 05 60 1m16s 1s281ms 06 60 1m16s 1s281ms 07 60 1m16s 1s281ms 08 60 1m16s 1s281ms 09 60 1m16s 1s281ms 10 60 1m16s 1s281ms 11 60 1m16s 1s281ms 12 60 1m16s 1s281ms 13 60 1m16s 1s281ms 14 60 45s854ms 764ms 15 60 41s759ms 695ms 16 60 41s759ms 695ms 17 60 41s759ms 695ms 18 60 41s759ms 695ms 19 60 41s759ms 695ms 20 60 41s759ms 695ms 21 60 45s329ms 755ms 22 60 40s125ms 668ms 23 60 35s338ms 588ms 00 60 38s720ms 645ms Mar 30 01 60 1m26s 1s434ms 02 60 28s358ms 472ms 03 60 58s672ms 977ms 04 60 58s672ms 977ms 05 60 58s672ms 977ms 06 60 58s672ms 977ms 07 60 58s672ms 977ms 08 60 49s561ms 826ms 09 60 1m40s 1s676ms 10 60 2m 2s2ms 11 60 39s318ms 655ms 12 60 38s836ms 647ms 13 60 41s162ms 686ms 14 60 1m2s 1s47ms 15 60 2m17s 2s288ms 16 60 41s821ms 697ms 17 60 36s198ms 603ms 18 60 4m3s 4s61ms 19 60 7m51s 7s857ms 20 60 1m43s 1s717ms 21 60 49s437ms 823ms 22 60 49s339ms 822ms 23 60 49s339ms 822ms 00 60 51s491ms 858ms Mar 31 01 60 0ms 0ms 02 60 32s747ms 545ms 03 60 1m7s 1s129ms 04 60 1m7s 1s129ms 05 60 1m7s 1s129ms 06 60 1m7s 1s129ms 07 60 1m7s 1s129ms 08 60 1m7s 1s129ms 09 60 1m 1s9ms 10 60 1m 1s10ms 11 60 38s794ms 646ms 12 60 2m1s 2s28ms 13 60 35s485ms 591ms 14 60 37s774ms 629ms 15 60 1m21s 1s364ms 16 60 1m16s 1s275ms 17 60 1m21s 1s355ms 18 60 1m6s 1s104ms 19 60 49s253ms 820ms 20 60 50s319ms 838ms 21 60 50s134ms 835ms 22 60 48s735ms 812ms 23 60 48s735ms 812ms 00 60 48s188ms 803ms Apr 01 01 60 0ms 0ms 02 60 28s345ms 472ms 03 60 58s645ms 977ms 04 60 58s645ms 977ms 05 60 58s645ms 977ms 06 60 51s621ms 860ms 07 60 43s594ms 726ms 08 60 49s114ms 818ms 09 60 46s748ms 779ms 10 60 36s117ms 601ms 11 60 38s366ms 639ms 12 60 42s239ms 703ms 13 60 57s755ms 962ms 14 60 41s664ms 694ms 15 60 54s716ms 911ms 16 60 44s519ms 741ms 17 60 39s362ms 656ms 18 60 39s148ms 652ms 19 60 39s949ms 665ms 20 60 50s172ms 836ms 21 60 53s17ms 883ms 22 60 56s42ms 934ms 23 60 48s60ms 801ms 00 60 2h36m11s 2m36s Apr 02 01 60 0ms 0ms 02 60 29s646ms 494ms 03 60 1m1s 1s22ms 04 60 1m1s 1s22ms 05 60 1m1s 1s22ms 06 60 1m1s 1s22ms 07 60 51s81ms 851ms 08 60 2m17s 2s289ms 09 60 1m18s 1s313ms 10 60 43s182ms 719ms 11 60 40m43s 40s727ms 12 60 24m40s 24s683ms 13 60 48s109ms 801ms 14 60 1m12s 1s210ms 15 60 52s729ms 878ms 16 60 44s765ms 746ms 17 60 44s765ms 746ms 18 60 44s765ms 746ms 19 60 44s765ms 746ms 20 60 44s765ms 746ms 21 60 44s765ms 746ms 22 60 44s765ms 746ms 23 60 44s765ms 746ms 00 60 47s184ms 786ms Apr 03 01 60 0ms 0ms 02 60 26s747ms 445ms 03 60 55s340ms 922ms 04 60 55s340ms 922ms 05 60 55s340ms 922ms 06 60 55s340ms 922ms 07 60 55s340ms 922ms 08 60 55s340ms 922ms 09 60 55s385ms 923ms 10 60 1m9s 1s162ms 11 60 1m38s 1s635ms 12 60 1m38s 1s635ms 13 60 1m38s 1s635ms 14 60 1m38s 1s635ms 15 60 1m38s 1s635ms 16 60 1m38s 1s635ms 17 60 1m38s 1s635ms 18 60 1m20s 1s345ms 19 60 40s450ms 674ms 20 60 40s526ms 675ms 21 60 40s526ms 675ms 22 60 40s526ms 675ms 23 60 40s526ms 675ms 00 60 43s238ms 720ms Apr 04 01 60 0ms 0ms 02 60 30s307ms 505ms 03 60 1m2s 1s45ms 04 60 1m2s 1s45ms 05 60 1m2s 1s45ms 06 60 1m2s 1s45ms 07 60 1m2s 1s45ms 08 60 47s763ms 796ms 09 60 32s820ms 547ms 10 60 32s820ms 547ms 11 60 34s314ms 571ms 12 60 34s727ms 578ms 13 60 3m8s 3s139ms 14 60 2m53s 2s897ms 15 60 2m58s 2s981ms 16 60 2m57s 2s957ms 17 60 2m40s 2s680ms 18 60 2m54s 2s902ms 19 60 2m57s 2s955ms 20 60 2m54s 2s908ms 21 60 2m59s 2s989ms 22 59 3m6s 3s162ms 23 60 2m56s 2s943ms 00 60 2m48s 2s806ms [ User: labanimal - Total duration: 6h46m27s - Times executed: 9442 ]
-
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-04-01 23:55:01 Duration: 2m56s Database: zemm_monitoring User: labanimal Log file: /var/log/postgresql/postgresql-2026-04-01_000000.csv
-
CREATE TABLE IF NOT EXISTS observability.app_events ( id bigserial PRIMARY KEY, tenant_key text NOT NULL, event_type text NOT NULL, severity text NOT NULL, message text NOT NULL, payload jsonb, occurred_at timestamptz NOT NULL DEFAULT NOW(), created_at timestamptz NOT NULL DEFAULT NOW() );
Date: 2026-04-02 10:33:01 Duration: 1m23s Database: zemm_monitoring User: labanimal Log file: /var/log/postgresql/postgresql-2026-04-02_000000.csv
-
CREATE TABLE IF NOT EXISTS observability.app_events ( id bigserial PRIMARY KEY, tenant_key text NOT NULL, event_type text NOT NULL, severity text NOT NULL, message text NOT NULL, payload jsonb, occurred_at timestamptz NOT NULL DEFAULT NOW(), created_at timestamptz NOT NULL DEFAULT NOW() );
Date: 2026-04-02 11:17:01 Duration: 1m20s Database: zemm_monitoring User: labanimal Log file: /var/log/postgresql/postgresql-2026-04-02_000000.csv
12 508ms 2m56s 2s434ms 10,019 6h46m27s 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 #12
Day Hour Count Duration Avg duration Mar 29 00 60 0ms 0ms 01 60 37s149ms 619ms 04 60 1m16s 1s281ms 05 60 1m16s 1s281ms 06 60 1m16s 1s281ms 07 60 1m16s 1s281ms 08 60 1m16s 1s281ms 09 60 1m16s 1s281ms 10 60 1m16s 1s281ms 11 60 1m16s 1s281ms 12 60 1m16s 1s281ms 13 60 1m16s 1s281ms 14 60 45s854ms 764ms 15 60 41s759ms 695ms 16 60 41s759ms 695ms 17 60 41s759ms 695ms 18 60 41s759ms 695ms 19 60 41s759ms 695ms 20 60 41s759ms 695ms 21 60 45s329ms 755ms 22 60 40s125ms 668ms 23 60 35s338ms 588ms 00 60 38s720ms 645ms Mar 30 01 60 1m26s 1s434ms 02 60 28s358ms 472ms 03 60 58s672ms 977ms 04 60 58s672ms 977ms 05 60 58s672ms 977ms 06 60 58s672ms 977ms 07 60 58s672ms 977ms 08 60 49s561ms 826ms 09 60 1m40s 1s676ms 10 60 2m 2s2ms 11 60 39s318ms 655ms 12 60 38s836ms 647ms 13 60 41s162ms 686ms 14 60 1m2s 1s47ms 15 60 2m17s 2s288ms 16 60 41s821ms 697ms 17 60 36s198ms 603ms 18 60 4m3s 4s61ms 19 60 7m51s 7s857ms 20 60 1m43s 1s717ms 21 60 49s437ms 823ms 22 60 49s339ms 822ms 23 60 49s339ms 822ms 00 60 51s491ms 858ms Mar 31 01 60 0ms 0ms 02 60 32s747ms 545ms 03 60 1m7s 1s129ms 04 60 1m7s 1s129ms 05 60 1m7s 1s129ms 06 60 1m7s 1s129ms 07 60 1m7s 1s129ms 08 60 1m7s 1s129ms 09 60 1m 1s9ms 10 60 1m 1s10ms 11 60 38s794ms 646ms 12 60 2m1s 2s28ms 13 60 35s485ms 591ms 14 60 37s774ms 629ms 15 60 1m21s 1s364ms 16 60 1m16s 1s275ms 17 60 1m21s 1s355ms 18 60 1m6s 1s104ms 19 60 49s253ms 820ms 20 60 50s319ms 838ms 21 60 50s134ms 835ms 22 60 48s735ms 812ms 23 60 48s735ms 812ms 00 60 48s188ms 803ms Apr 01 01 60 0ms 0ms 02 60 28s345ms 472ms 03 60 58s645ms 977ms 04 60 58s645ms 977ms 05 60 58s645ms 977ms 06 60 51s621ms 860ms 07 60 43s594ms 726ms 08 60 49s114ms 818ms 09 60 46s748ms 779ms 10 60 36s117ms 601ms 11 60 38s366ms 639ms 12 60 42s239ms 703ms 13 60 57s755ms 962ms 14 60 41s664ms 694ms 15 60 54s716ms 911ms 16 60 44s519ms 741ms 17 60 39s362ms 656ms 18 60 39s148ms 652ms 19 60 39s949ms 665ms 20 60 50s172ms 836ms 21 60 53s17ms 883ms 22 60 56s42ms 934ms 23 60 48s60ms 801ms 00 60 2h36m11s 2m36s Apr 02 01 60 0ms 0ms 02 60 29s646ms 494ms 03 60 1m1s 1s22ms 04 60 1m1s 1s22ms 05 60 1m1s 1s22ms 06 60 1m1s 1s22ms 07 60 51s81ms 851ms 08 60 2m17s 2s289ms 09 60 1m18s 1s313ms 10 60 43s182ms 719ms 11 60 40m43s 40s727ms 12 60 24m40s 24s683ms 13 60 48s109ms 801ms 14 60 1m12s 1s210ms 15 60 52s729ms 878ms 16 60 44s765ms 746ms 17 60 44s765ms 746ms 18 60 44s765ms 746ms 19 60 44s765ms 746ms 20 60 44s765ms 746ms 21 60 44s765ms 746ms 22 60 44s765ms 746ms 23 60 44s765ms 746ms 00 60 47s184ms 786ms Apr 03 01 60 0ms 0ms 02 60 26s747ms 445ms 03 60 55s340ms 922ms 04 60 55s340ms 922ms 05 60 55s340ms 922ms 06 60 55s340ms 922ms 07 60 55s340ms 922ms 08 60 55s340ms 922ms 09 60 55s385ms 923ms 10 60 1m9s 1s162ms 11 60 1m38s 1s635ms 12 60 1m38s 1s635ms 13 60 1m38s 1s635ms 14 60 1m38s 1s635ms 15 60 1m38s 1s635ms 16 60 1m38s 1s635ms 17 60 1m38s 1s635ms 18 60 1m20s 1s345ms 19 60 40s450ms 674ms 20 60 40s526ms 675ms 21 60 40s526ms 675ms 22 60 40s526ms 675ms 23 60 40s526ms 675ms 00 60 43s238ms 720ms Apr 04 01 60 0ms 0ms 02 60 30s307ms 505ms 03 60 1m2s 1s45ms 04 60 1m2s 1s45ms 05 60 1m2s 1s45ms 06 60 1m2s 1s45ms 07 60 1m2s 1s45ms 08 60 47s763ms 796ms 09 60 32s820ms 547ms 10 60 32s820ms 547ms 11 60 34s314ms 571ms 12 60 34s727ms 578ms 13 60 3m8s 3s139ms 14 60 2m53s 2s897ms 15 60 2m58s 2s981ms 16 60 2m57s 2s957ms 17 60 2m40s 2s680ms 18 60 2m54s 2s902ms 19 60 2m57s 2s955ms 20 60 2m54s 2s908ms 21 60 2m59s 2s989ms 22 59 3m6s 3s162ms 23 60 2m56s 2s943ms 00 60 2m48s 2s806ms [ User: labanimal - Total duration: 6h46m27s - Times executed: 9442 ]
-
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-04-01 23:55:01 Duration: 2m56s Database: zemm_monitoring User: labanimal Log file: /var/log/postgresql/postgresql-2026-04-01_000000.csv
-
CREATE TABLE IF NOT EXISTS observability.phpfpm_counters ( id bigserial PRIMARY KEY, payload jsonb NOT NULL, collected_at timestamptz NOT NULL DEFAULT NOW() );
Date: 2026-04-02 10:33:01 Duration: 1m23s Database: zemm_monitoring User: labanimal Log file: /var/log/postgresql/postgresql-2026-04-02_000000.csv
-
CREATE TABLE IF NOT EXISTS observability.phpfpm_counters ( id bigserial PRIMARY KEY, payload jsonb NOT NULL, collected_at timestamptz NOT NULL DEFAULT NOW() );
Date: 2026-04-02 11:17:01 Duration: 1m20s Database: zemm_monitoring User: labanimal Log file: /var/log/postgresql/postgresql-2026-04-02_000000.csv
13 508ms 2m56s 2s434ms 10,019 6h46m27s 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 29 00 60 0ms 0ms 01 60 37s149ms 619ms 04 60 1m16s 1s281ms 05 60 1m16s 1s281ms 06 60 1m16s 1s281ms 07 60 1m16s 1s281ms 08 60 1m16s 1s281ms 09 60 1m16s 1s281ms 10 60 1m16s 1s281ms 11 60 1m16s 1s281ms 12 60 1m16s 1s281ms 13 60 1m16s 1s281ms 14 60 45s854ms 764ms 15 60 41s759ms 695ms 16 60 41s759ms 695ms 17 60 41s759ms 695ms 18 60 41s759ms 695ms 19 60 41s759ms 695ms 20 60 41s759ms 695ms 21 60 45s329ms 755ms 22 60 40s125ms 668ms 23 60 35s338ms 588ms 00 60 38s720ms 645ms Mar 30 01 60 1m26s 1s434ms 02 60 28s358ms 472ms 03 60 58s672ms 977ms 04 60 58s672ms 977ms 05 60 58s672ms 977ms 06 60 58s672ms 977ms 07 60 58s672ms 977ms 08 60 49s561ms 826ms 09 60 1m40s 1s676ms 10 60 2m 2s2ms 11 60 39s318ms 655ms 12 60 38s836ms 647ms 13 60 41s162ms 686ms 14 60 1m2s 1s47ms 15 60 2m17s 2s288ms 16 60 41s821ms 697ms 17 60 36s198ms 603ms 18 60 4m3s 4s61ms 19 60 7m51s 7s857ms 20 60 1m43s 1s717ms 21 60 49s437ms 823ms 22 60 49s339ms 822ms 23 60 49s339ms 822ms 00 60 51s491ms 858ms Mar 31 01 60 0ms 0ms 02 60 32s747ms 545ms 03 60 1m7s 1s129ms 04 60 1m7s 1s129ms 05 60 1m7s 1s129ms 06 60 1m7s 1s129ms 07 60 1m7s 1s129ms 08 60 1m7s 1s129ms 09 60 1m 1s9ms 10 60 1m 1s10ms 11 60 38s794ms 646ms 12 60 2m1s 2s28ms 13 60 35s485ms 591ms 14 60 37s774ms 629ms 15 60 1m21s 1s364ms 16 60 1m16s 1s275ms 17 60 1m21s 1s355ms 18 60 1m6s 1s104ms 19 60 49s253ms 820ms 20 60 50s319ms 838ms 21 60 50s134ms 835ms 22 60 48s735ms 812ms 23 60 48s735ms 812ms 00 60 48s188ms 803ms Apr 01 01 60 0ms 0ms 02 60 28s345ms 472ms 03 60 58s645ms 977ms 04 60 58s645ms 977ms 05 60 58s645ms 977ms 06 60 51s621ms 860ms 07 60 43s594ms 726ms 08 60 49s114ms 818ms 09 60 46s748ms 779ms 10 60 36s117ms 601ms 11 60 38s366ms 639ms 12 60 42s239ms 703ms 13 60 57s755ms 962ms 14 60 41s664ms 694ms 15 60 54s716ms 911ms 16 60 44s519ms 741ms 17 60 39s362ms 656ms 18 60 39s148ms 652ms 19 60 39s949ms 665ms 20 60 50s172ms 836ms 21 60 53s17ms 883ms 22 60 56s42ms 934ms 23 60 48s60ms 801ms 00 60 2h36m11s 2m36s Apr 02 01 60 0ms 0ms 02 60 29s646ms 494ms 03 60 1m1s 1s22ms 04 60 1m1s 1s22ms 05 60 1m1s 1s22ms 06 60 1m1s 1s22ms 07 60 51s81ms 851ms 08 60 2m17s 2s289ms 09 60 1m18s 1s313ms 10 60 43s182ms 719ms 11 60 40m43s 40s727ms 12 60 24m40s 24s683ms 13 60 48s109ms 801ms 14 60 1m12s 1s210ms 15 60 52s729ms 878ms 16 60 44s765ms 746ms 17 60 44s765ms 746ms 18 60 44s765ms 746ms 19 60 44s765ms 746ms 20 60 44s765ms 746ms 21 60 44s765ms 746ms 22 60 44s765ms 746ms 23 60 44s765ms 746ms 00 60 47s184ms 786ms Apr 03 01 60 0ms 0ms 02 60 26s747ms 445ms 03 60 55s340ms 922ms 04 60 55s340ms 922ms 05 60 55s340ms 922ms 06 60 55s340ms 922ms 07 60 55s340ms 922ms 08 60 55s340ms 922ms 09 60 55s385ms 923ms 10 60 1m9s 1s162ms 11 60 1m38s 1s635ms 12 60 1m38s 1s635ms 13 60 1m38s 1s635ms 14 60 1m38s 1s635ms 15 60 1m38s 1s635ms 16 60 1m38s 1s635ms 17 60 1m38s 1s635ms 18 60 1m20s 1s345ms 19 60 40s450ms 674ms 20 60 40s526ms 675ms 21 60 40s526ms 675ms 22 60 40s526ms 675ms 23 60 40s526ms 675ms 00 60 43s238ms 720ms Apr 04 01 60 0ms 0ms 02 60 30s307ms 505ms 03 60 1m2s 1s45ms 04 60 1m2s 1s45ms 05 60 1m2s 1s45ms 06 60 1m2s 1s45ms 07 60 1m2s 1s45ms 08 60 47s763ms 796ms 09 60 32s820ms 547ms 10 60 32s820ms 547ms 11 60 34s314ms 571ms 12 60 34s727ms 578ms 13 60 3m8s 3s139ms 14 60 2m53s 2s897ms 15 60 2m58s 2s981ms 16 60 2m57s 2s957ms 17 60 2m40s 2s680ms 18 60 2m54s 2s902ms 19 60 2m57s 2s955ms 20 60 2m54s 2s908ms 21 60 2m59s 2s989ms 22 59 3m6s 3s162ms 23 60 2m56s 2s943ms 00 60 2m48s 2s806ms [ User: labanimal - Total duration: 6h46m27s - Times executed: 9442 ]
-
CREATE INDEX IF NOT EXISTS idx_db_top_queries_tenant ON observability.db_top_queries (tenant_key, collected_at DESC);
Date: 2026-04-01 23:55:01 Duration: 2m56s Database: zemm_monitoring User: labanimal Log file: /var/log/postgresql/postgresql-2026-04-01_000000.csv
-
CREATE INDEX IF NOT EXISTS idx_db_top_queries_tenant ON observability.db_top_queries (tenant_key, collected_at DESC);
Date: 2026-04-02 10:33:01 Duration: 1m23s Database: zemm_monitoring User: labanimal Log file: /var/log/postgresql/postgresql-2026-04-02_000000.csv
-
CREATE INDEX IF NOT EXISTS idx_db_top_queries_tenant ON observability.db_top_queries (tenant_key, collected_at DESC);
Date: 2026-04-02 11:17:01 Duration: 1m20s Database: zemm_monitoring User: labanimal Log file: /var/log/postgresql/postgresql-2026-04-02_000000.csv
14 508ms 2m56s 2s434ms 10,019 6h46m27s create index if not exists idx_metrics_timeseries_bucket on observability.metrics_timeseries (bucket_start);Times Reported Time consuming queries #14
Day Hour Count Duration Avg duration Mar 29 00 60 0ms 0ms 01 60 37s149ms 619ms 04 60 1m16s 1s281ms 05 60 1m16s 1s281ms 06 60 1m16s 1s281ms 07 60 1m16s 1s281ms 08 60 1m16s 1s281ms 09 60 1m16s 1s281ms 10 60 1m16s 1s281ms 11 60 1m16s 1s281ms 12 60 1m16s 1s281ms 13 60 1m16s 1s281ms 14 60 45s854ms 764ms 15 60 41s759ms 695ms 16 60 41s759ms 695ms 17 60 41s759ms 695ms 18 60 41s759ms 695ms 19 60 41s759ms 695ms 20 60 41s759ms 695ms 21 60 45s329ms 755ms 22 60 40s125ms 668ms 23 60 35s338ms 588ms 00 60 38s720ms 645ms Mar 30 01 60 1m26s 1s434ms 02 60 28s358ms 472ms 03 60 58s672ms 977ms 04 60 58s672ms 977ms 05 60 58s672ms 977ms 06 60 58s672ms 977ms 07 60 58s672ms 977ms 08 60 49s561ms 826ms 09 60 1m40s 1s676ms 10 60 2m 2s2ms 11 60 39s318ms 655ms 12 60 38s836ms 647ms 13 60 41s162ms 686ms 14 60 1m2s 1s47ms 15 60 2m17s 2s288ms 16 60 41s821ms 697ms 17 60 36s198ms 603ms 18 60 4m3s 4s61ms 19 60 7m51s 7s857ms 20 60 1m43s 1s717ms 21 60 49s437ms 823ms 22 60 49s339ms 822ms 23 60 49s339ms 822ms 00 60 51s491ms 858ms Mar 31 01 60 0ms 0ms 02 60 32s747ms 545ms 03 60 1m7s 1s129ms 04 60 1m7s 1s129ms 05 60 1m7s 1s129ms 06 60 1m7s 1s129ms 07 60 1m7s 1s129ms 08 60 1m7s 1s129ms 09 60 1m 1s9ms 10 60 1m 1s10ms 11 60 38s794ms 646ms 12 60 2m1s 2s28ms 13 60 35s485ms 591ms 14 60 37s774ms 629ms 15 60 1m21s 1s364ms 16 60 1m16s 1s275ms 17 60 1m21s 1s355ms 18 60 1m6s 1s104ms 19 60 49s253ms 820ms 20 60 50s319ms 838ms 21 60 50s134ms 835ms 22 60 48s735ms 812ms 23 60 48s735ms 812ms 00 60 48s188ms 803ms Apr 01 01 60 0ms 0ms 02 60 28s345ms 472ms 03 60 58s645ms 977ms 04 60 58s645ms 977ms 05 60 58s645ms 977ms 06 60 51s621ms 860ms 07 60 43s594ms 726ms 08 60 49s114ms 818ms 09 60 46s748ms 779ms 10 60 36s117ms 601ms 11 60 38s366ms 639ms 12 60 42s239ms 703ms 13 60 57s755ms 962ms 14 60 41s664ms 694ms 15 60 54s716ms 911ms 16 60 44s519ms 741ms 17 60 39s362ms 656ms 18 60 39s148ms 652ms 19 60 39s949ms 665ms 20 60 50s172ms 836ms 21 60 53s17ms 883ms 22 60 56s42ms 934ms 23 60 48s60ms 801ms 00 60 2h36m11s 2m36s Apr 02 01 60 0ms 0ms 02 60 29s646ms 494ms 03 60 1m1s 1s22ms 04 60 1m1s 1s22ms 05 60 1m1s 1s22ms 06 60 1m1s 1s22ms 07 60 51s81ms 851ms 08 60 2m17s 2s289ms 09 60 1m18s 1s313ms 10 60 43s182ms 719ms 11 60 40m43s 40s727ms 12 60 24m40s 24s683ms 13 60 48s109ms 801ms 14 60 1m12s 1s210ms 15 60 52s729ms 878ms 16 60 44s765ms 746ms 17 60 44s765ms 746ms 18 60 44s765ms 746ms 19 60 44s765ms 746ms 20 60 44s765ms 746ms 21 60 44s765ms 746ms 22 60 44s765ms 746ms 23 60 44s765ms 746ms 00 60 47s184ms 786ms Apr 03 01 60 0ms 0ms 02 60 26s747ms 445ms 03 60 55s340ms 922ms 04 60 55s340ms 922ms 05 60 55s340ms 922ms 06 60 55s340ms 922ms 07 60 55s340ms 922ms 08 60 55s340ms 922ms 09 60 55s385ms 923ms 10 60 1m9s 1s162ms 11 60 1m38s 1s635ms 12 60 1m38s 1s635ms 13 60 1m38s 1s635ms 14 60 1m38s 1s635ms 15 60 1m38s 1s635ms 16 60 1m38s 1s635ms 17 60 1m38s 1s635ms 18 60 1m20s 1s345ms 19 60 40s450ms 674ms 20 60 40s526ms 675ms 21 60 40s526ms 675ms 22 60 40s526ms 675ms 23 60 40s526ms 675ms 00 60 43s238ms 720ms Apr 04 01 60 0ms 0ms 02 60 30s307ms 505ms 03 60 1m2s 1s45ms 04 60 1m2s 1s45ms 05 60 1m2s 1s45ms 06 60 1m2s 1s45ms 07 60 1m2s 1s45ms 08 60 47s763ms 796ms 09 60 32s820ms 547ms 10 60 32s820ms 547ms 11 60 34s314ms 571ms 12 60 34s727ms 578ms 13 60 3m8s 3s139ms 14 60 2m53s 2s897ms 15 60 2m58s 2s981ms 16 60 2m57s 2s957ms 17 60 2m40s 2s680ms 18 60 2m54s 2s902ms 19 60 2m57s 2s955ms 20 60 2m54s 2s908ms 21 60 2m59s 2s989ms 22 59 3m6s 3s162ms 23 60 2m56s 2s943ms 00 60 2m48s 2s806ms [ User: labanimal - Total duration: 6h46m27s - Times executed: 9442 ]
-
CREATE INDEX IF NOT EXISTS idx_metrics_timeseries_bucket ON observability.metrics_timeseries (bucket_start);
Date: 2026-04-01 23:55:01 Duration: 2m56s Database: zemm_monitoring User: labanimal Log file: /var/log/postgresql/postgresql-2026-04-01_000000.csv
-
CREATE INDEX IF NOT EXISTS idx_metrics_timeseries_bucket ON observability.metrics_timeseries (bucket_start);
Date: 2026-04-02 10:33:01 Duration: 1m23s Database: zemm_monitoring User: labanimal Log file: /var/log/postgresql/postgresql-2026-04-02_000000.csv
-
CREATE INDEX IF NOT EXISTS idx_metrics_timeseries_bucket ON observability.metrics_timeseries (bucket_start);
Date: 2026-04-02 11:17:01 Duration: 1m20s Database: zemm_monitoring User: labanimal Log file: /var/log/postgresql/postgresql-2026-04-02_000000.csv
15 508ms 2m56s 2s434ms 10,019 6h46m27s 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 #15
Day Hour Count Duration Avg duration Mar 29 00 60 0ms 0ms 01 60 37s149ms 619ms 04 60 1m16s 1s281ms 05 60 1m16s 1s281ms 06 60 1m16s 1s281ms 07 60 1m16s 1s281ms 08 60 1m16s 1s281ms 09 60 1m16s 1s281ms 10 60 1m16s 1s281ms 11 60 1m16s 1s281ms 12 60 1m16s 1s281ms 13 60 1m16s 1s281ms 14 60 45s854ms 764ms 15 60 41s759ms 695ms 16 60 41s759ms 695ms 17 60 41s759ms 695ms 18 60 41s759ms 695ms 19 60 41s759ms 695ms 20 60 41s759ms 695ms 21 60 45s329ms 755ms 22 60 40s125ms 668ms 23 60 35s338ms 588ms 00 60 38s720ms 645ms Mar 30 01 60 1m26s 1s434ms 02 60 28s358ms 472ms 03 60 58s672ms 977ms 04 60 58s672ms 977ms 05 60 58s672ms 977ms 06 60 58s672ms 977ms 07 60 58s672ms 977ms 08 60 49s561ms 826ms 09 60 1m40s 1s676ms 10 60 2m 2s2ms 11 60 39s318ms 655ms 12 60 38s836ms 647ms 13 60 41s162ms 686ms 14 60 1m2s 1s47ms 15 60 2m17s 2s288ms 16 60 41s821ms 697ms 17 60 36s198ms 603ms 18 60 4m3s 4s61ms 19 60 7m51s 7s857ms 20 60 1m43s 1s717ms 21 60 49s437ms 823ms 22 60 49s339ms 822ms 23 60 49s339ms 822ms 00 60 51s491ms 858ms Mar 31 01 60 0ms 0ms 02 60 32s747ms 545ms 03 60 1m7s 1s129ms 04 60 1m7s 1s129ms 05 60 1m7s 1s129ms 06 60 1m7s 1s129ms 07 60 1m7s 1s129ms 08 60 1m7s 1s129ms 09 60 1m 1s9ms 10 60 1m 1s10ms 11 60 38s794ms 646ms 12 60 2m1s 2s28ms 13 60 35s485ms 591ms 14 60 37s774ms 629ms 15 60 1m21s 1s364ms 16 60 1m16s 1s275ms 17 60 1m21s 1s355ms 18 60 1m6s 1s104ms 19 60 49s253ms 820ms 20 60 50s319ms 838ms 21 60 50s134ms 835ms 22 60 48s735ms 812ms 23 60 48s735ms 812ms 00 60 48s188ms 803ms Apr 01 01 60 0ms 0ms 02 60 28s345ms 472ms 03 60 58s645ms 977ms 04 60 58s645ms 977ms 05 60 58s645ms 977ms 06 60 51s621ms 860ms 07 60 43s594ms 726ms 08 60 49s114ms 818ms 09 60 46s748ms 779ms 10 60 36s117ms 601ms 11 60 38s366ms 639ms 12 60 42s239ms 703ms 13 60 57s755ms 962ms 14 60 41s664ms 694ms 15 60 54s716ms 911ms 16 60 44s519ms 741ms 17 60 39s362ms 656ms 18 60 39s148ms 652ms 19 60 39s949ms 665ms 20 60 50s172ms 836ms 21 60 53s17ms 883ms 22 60 56s42ms 934ms 23 60 48s60ms 801ms 00 60 2h36m11s 2m36s Apr 02 01 60 0ms 0ms 02 60 29s646ms 494ms 03 60 1m1s 1s22ms 04 60 1m1s 1s22ms 05 60 1m1s 1s22ms 06 60 1m1s 1s22ms 07 60 51s81ms 851ms 08 60 2m17s 2s289ms 09 60 1m18s 1s313ms 10 60 43s182ms 719ms 11 60 40m43s 40s727ms 12 60 24m40s 24s683ms 13 60 48s109ms 801ms 14 60 1m12s 1s210ms 15 60 52s729ms 878ms 16 60 44s765ms 746ms 17 60 44s765ms 746ms 18 60 44s765ms 746ms 19 60 44s765ms 746ms 20 60 44s765ms 746ms 21 60 44s765ms 746ms 22 60 44s765ms 746ms 23 60 44s765ms 746ms 00 60 47s184ms 786ms Apr 03 01 60 0ms 0ms 02 60 26s747ms 445ms 03 60 55s340ms 922ms 04 60 55s340ms 922ms 05 60 55s340ms 922ms 06 60 55s340ms 922ms 07 60 55s340ms 922ms 08 60 55s340ms 922ms 09 60 55s385ms 923ms 10 60 1m9s 1s162ms 11 60 1m38s 1s635ms 12 60 1m38s 1s635ms 13 60 1m38s 1s635ms 14 60 1m38s 1s635ms 15 60 1m38s 1s635ms 16 60 1m38s 1s635ms 17 60 1m38s 1s635ms 18 60 1m20s 1s345ms 19 60 40s450ms 674ms 20 60 40s526ms 675ms 21 60 40s526ms 675ms 22 60 40s526ms 675ms 23 60 40s526ms 675ms 00 60 43s238ms 720ms Apr 04 01 60 0ms 0ms 02 60 30s307ms 505ms 03 60 1m2s 1s45ms 04 60 1m2s 1s45ms 05 60 1m2s 1s45ms 06 60 1m2s 1s45ms 07 60 1m2s 1s45ms 08 60 47s763ms 796ms 09 60 32s820ms 547ms 10 60 32s820ms 547ms 11 60 34s314ms 571ms 12 60 34s727ms 578ms 13 60 3m8s 3s139ms 14 60 2m53s 2s897ms 15 60 2m58s 2s981ms 16 60 2m57s 2s957ms 17 60 2m40s 2s680ms 18 60 2m54s 2s902ms 19 60 2m57s 2s955ms 20 60 2m54s 2s908ms 21 60 2m59s 2s989ms 22 59 3m6s 3s162ms 23 60 2m56s 2s943ms 00 60 2m48s 2s806ms [ User: labanimal - Total duration: 6h46m27s - Times executed: 9442 ]
-
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-04-01 23:55:01 Duration: 2m56s Database: zemm_monitoring User: labanimal Log file: /var/log/postgresql/postgresql-2026-04-01_000000.csv
-
CREATE TABLE IF NOT EXISTS observability.uptime_checks ( id bigserial PRIMARY KEY, endpoint text NOT NULL, status text NOT NULL, latency_ms double precision, checked_at timestamptz NOT NULL DEFAULT NOW() );
Date: 2026-04-02 10:33:01 Duration: 1m23s Database: zemm_monitoring User: labanimal Log file: /var/log/postgresql/postgresql-2026-04-02_000000.csv
-
CREATE TABLE IF NOT EXISTS observability.uptime_checks ( id bigserial PRIMARY KEY, endpoint text NOT NULL, status text NOT NULL, latency_ms double precision, checked_at timestamptz NOT NULL DEFAULT NOW() );
Date: 2026-04-02 11:17:01 Duration: 1m20s Database: zemm_monitoring User: labanimal Log file: /var/log/postgresql/postgresql-2026-04-02_000000.csv
16 508ms 2m56s 2s434ms 10,019 6h46m27s 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 #16
Day Hour Count Duration Avg duration Mar 29 00 60 0ms 0ms 01 60 37s149ms 619ms 04 60 1m16s 1s281ms 05 60 1m16s 1s281ms 06 60 1m16s 1s281ms 07 60 1m16s 1s281ms 08 60 1m16s 1s281ms 09 60 1m16s 1s281ms 10 60 1m16s 1s281ms 11 60 1m16s 1s281ms 12 60 1m16s 1s281ms 13 60 1m16s 1s281ms 14 60 45s854ms 764ms 15 60 41s759ms 695ms 16 60 41s759ms 695ms 17 60 41s759ms 695ms 18 60 41s759ms 695ms 19 60 41s759ms 695ms 20 60 41s759ms 695ms 21 60 45s329ms 755ms 22 60 40s125ms 668ms 23 60 35s338ms 588ms 00 60 38s720ms 645ms Mar 30 01 60 1m26s 1s434ms 02 60 28s358ms 472ms 03 60 58s672ms 977ms 04 60 58s672ms 977ms 05 60 58s672ms 977ms 06 60 58s672ms 977ms 07 60 58s672ms 977ms 08 60 49s561ms 826ms 09 60 1m40s 1s676ms 10 60 2m 2s2ms 11 60 39s318ms 655ms 12 60 38s836ms 647ms 13 60 41s162ms 686ms 14 60 1m2s 1s47ms 15 60 2m17s 2s288ms 16 60 41s821ms 697ms 17 60 36s198ms 603ms 18 60 4m3s 4s61ms 19 60 7m51s 7s857ms 20 60 1m43s 1s717ms 21 60 49s437ms 823ms 22 60 49s339ms 822ms 23 60 49s339ms 822ms 00 60 51s491ms 858ms Mar 31 01 60 0ms 0ms 02 60 32s747ms 545ms 03 60 1m7s 1s129ms 04 60 1m7s 1s129ms 05 60 1m7s 1s129ms 06 60 1m7s 1s129ms 07 60 1m7s 1s129ms 08 60 1m7s 1s129ms 09 60 1m 1s9ms 10 60 1m 1s10ms 11 60 38s794ms 646ms 12 60 2m1s 2s28ms 13 60 35s485ms 591ms 14 60 37s774ms 629ms 15 60 1m21s 1s364ms 16 60 1m16s 1s275ms 17 60 1m21s 1s355ms 18 60 1m6s 1s104ms 19 60 49s253ms 820ms 20 60 50s319ms 838ms 21 60 50s134ms 835ms 22 60 48s735ms 812ms 23 60 48s735ms 812ms 00 60 48s188ms 803ms Apr 01 01 60 0ms 0ms 02 60 28s345ms 472ms 03 60 58s645ms 977ms 04 60 58s645ms 977ms 05 60 58s645ms 977ms 06 60 51s621ms 860ms 07 60 43s594ms 726ms 08 60 49s114ms 818ms 09 60 46s748ms 779ms 10 60 36s117ms 601ms 11 60 38s366ms 639ms 12 60 42s239ms 703ms 13 60 57s755ms 962ms 14 60 41s664ms 694ms 15 60 54s716ms 911ms 16 60 44s519ms 741ms 17 60 39s362ms 656ms 18 60 39s148ms 652ms 19 60 39s949ms 665ms 20 60 50s172ms 836ms 21 60 53s17ms 883ms 22 60 56s42ms 934ms 23 60 48s60ms 801ms 00 60 2h36m11s 2m36s Apr 02 01 60 0ms 0ms 02 60 29s646ms 494ms 03 60 1m1s 1s22ms 04 60 1m1s 1s22ms 05 60 1m1s 1s22ms 06 60 1m1s 1s22ms 07 60 51s81ms 851ms 08 60 2m17s 2s289ms 09 60 1m18s 1s313ms 10 60 43s182ms 719ms 11 60 40m43s 40s727ms 12 60 24m40s 24s683ms 13 60 48s109ms 801ms 14 60 1m12s 1s210ms 15 60 52s729ms 878ms 16 60 44s765ms 746ms 17 60 44s765ms 746ms 18 60 44s765ms 746ms 19 60 44s765ms 746ms 20 60 44s765ms 746ms 21 60 44s765ms 746ms 22 60 44s765ms 746ms 23 60 44s765ms 746ms 00 60 47s184ms 786ms Apr 03 01 60 0ms 0ms 02 60 26s747ms 445ms 03 60 55s340ms 922ms 04 60 55s340ms 922ms 05 60 55s340ms 922ms 06 60 55s340ms 922ms 07 60 55s340ms 922ms 08 60 55s340ms 922ms 09 60 55s385ms 923ms 10 60 1m9s 1s162ms 11 60 1m38s 1s635ms 12 60 1m38s 1s635ms 13 60 1m38s 1s635ms 14 60 1m38s 1s635ms 15 60 1m38s 1s635ms 16 60 1m38s 1s635ms 17 60 1m38s 1s635ms 18 60 1m20s 1s345ms 19 60 40s450ms 674ms 20 60 40s526ms 675ms 21 60 40s526ms 675ms 22 60 40s526ms 675ms 23 60 40s526ms 675ms 00 60 43s238ms 720ms Apr 04 01 60 0ms 0ms 02 60 30s307ms 505ms 03 60 1m2s 1s45ms 04 60 1m2s 1s45ms 05 60 1m2s 1s45ms 06 60 1m2s 1s45ms 07 60 1m2s 1s45ms 08 60 47s763ms 796ms 09 60 32s820ms 547ms 10 60 32s820ms 547ms 11 60 34s314ms 571ms 12 60 34s727ms 578ms 13 60 3m8s 3s139ms 14 60 2m53s 2s897ms 15 60 2m58s 2s981ms 16 60 2m57s 2s957ms 17 60 2m40s 2s680ms 18 60 2m54s 2s902ms 19 60 2m57s 2s955ms 20 60 2m54s 2s908ms 21 60 2m59s 2s989ms 22 59 3m6s 3s162ms 23 60 2m56s 2s943ms 00 60 2m48s 2s806ms [ User: labanimal - Total duration: 6h46m27s - Times executed: 9442 ]
-
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-04-01 23:55:01 Duration: 2m56s Database: zemm_monitoring User: labanimal Log file: /var/log/postgresql/postgresql-2026-04-01_000000.csv
-
CREATE TABLE IF NOT EXISTS observability.nginx_counters ( id bigserial PRIMARY KEY, payload jsonb NOT NULL, collected_at timestamptz NOT NULL DEFAULT NOW() );
Date: 2026-04-02 10:33:01 Duration: 1m23s Database: zemm_monitoring User: labanimal Log file: /var/log/postgresql/postgresql-2026-04-02_000000.csv
-
CREATE TABLE IF NOT EXISTS observability.nginx_counters ( id bigserial PRIMARY KEY, payload jsonb NOT NULL, collected_at timestamptz NOT NULL DEFAULT NOW() );
Date: 2026-04-02 11:17:01 Duration: 1m20s Database: zemm_monitoring User: labanimal Log file: /var/log/postgresql/postgresql-2026-04-02_000000.csv
17 508ms 2m56s 2s434ms 10,019 6h46m27s 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 #17
Day Hour Count Duration Avg duration Mar 29 00 60 0ms 0ms 01 60 37s149ms 619ms 04 60 1m16s 1s281ms 05 60 1m16s 1s281ms 06 60 1m16s 1s281ms 07 60 1m16s 1s281ms 08 60 1m16s 1s281ms 09 60 1m16s 1s281ms 10 60 1m16s 1s281ms 11 60 1m16s 1s281ms 12 60 1m16s 1s281ms 13 60 1m16s 1s281ms 14 60 45s854ms 764ms 15 60 41s759ms 695ms 16 60 41s759ms 695ms 17 60 41s759ms 695ms 18 60 41s759ms 695ms 19 60 41s759ms 695ms 20 60 41s759ms 695ms 21 60 45s329ms 755ms 22 60 40s125ms 668ms 23 60 35s338ms 588ms 00 60 38s720ms 645ms Mar 30 01 60 1m26s 1s434ms 02 60 28s358ms 472ms 03 60 58s672ms 977ms 04 60 58s672ms 977ms 05 60 58s672ms 977ms 06 60 58s672ms 977ms 07 60 58s672ms 977ms 08 60 49s561ms 826ms 09 60 1m40s 1s676ms 10 60 2m 2s2ms 11 60 39s318ms 655ms 12 60 38s836ms 647ms 13 60 41s162ms 686ms 14 60 1m2s 1s47ms 15 60 2m17s 2s288ms 16 60 41s821ms 697ms 17 60 36s198ms 603ms 18 60 4m3s 4s61ms 19 60 7m51s 7s857ms 20 60 1m43s 1s717ms 21 60 49s437ms 823ms 22 60 49s339ms 822ms 23 60 49s339ms 822ms 00 60 51s491ms 858ms Mar 31 01 60 0ms 0ms 02 60 32s747ms 545ms 03 60 1m7s 1s129ms 04 60 1m7s 1s129ms 05 60 1m7s 1s129ms 06 60 1m7s 1s129ms 07 60 1m7s 1s129ms 08 60 1m7s 1s129ms 09 60 1m 1s9ms 10 60 1m 1s10ms 11 60 38s794ms 646ms 12 60 2m1s 2s28ms 13 60 35s485ms 591ms 14 60 37s774ms 629ms 15 60 1m21s 1s364ms 16 60 1m16s 1s275ms 17 60 1m21s 1s355ms 18 60 1m6s 1s104ms 19 60 49s253ms 820ms 20 60 50s319ms 838ms 21 60 50s134ms 835ms 22 60 48s735ms 812ms 23 60 48s735ms 812ms 00 60 48s188ms 803ms Apr 01 01 60 0ms 0ms 02 60 28s345ms 472ms 03 60 58s645ms 977ms 04 60 58s645ms 977ms 05 60 58s645ms 977ms 06 60 51s621ms 860ms 07 60 43s594ms 726ms 08 60 49s114ms 818ms 09 60 46s748ms 779ms 10 60 36s117ms 601ms 11 60 38s366ms 639ms 12 60 42s239ms 703ms 13 60 57s755ms 962ms 14 60 41s664ms 694ms 15 60 54s716ms 911ms 16 60 44s519ms 741ms 17 60 39s362ms 656ms 18 60 39s148ms 652ms 19 60 39s949ms 665ms 20 60 50s172ms 836ms 21 60 53s17ms 883ms 22 60 56s42ms 934ms 23 60 48s60ms 801ms 00 60 2h36m11s 2m36s Apr 02 01 60 0ms 0ms 02 60 29s646ms 494ms 03 60 1m1s 1s22ms 04 60 1m1s 1s22ms 05 60 1m1s 1s22ms 06 60 1m1s 1s22ms 07 60 51s81ms 851ms 08 60 2m17s 2s289ms 09 60 1m18s 1s313ms 10 60 43s182ms 719ms 11 60 40m43s 40s727ms 12 60 24m40s 24s683ms 13 60 48s109ms 801ms 14 60 1m12s 1s210ms 15 60 52s729ms 878ms 16 60 44s765ms 746ms 17 60 44s765ms 746ms 18 60 44s765ms 746ms 19 60 44s765ms 746ms 20 60 44s765ms 746ms 21 60 44s765ms 746ms 22 60 44s765ms 746ms 23 60 44s765ms 746ms 00 60 47s184ms 786ms Apr 03 01 60 0ms 0ms 02 60 26s747ms 445ms 03 60 55s340ms 922ms 04 60 55s340ms 922ms 05 60 55s340ms 922ms 06 60 55s340ms 922ms 07 60 55s340ms 922ms 08 60 55s340ms 922ms 09 60 55s385ms 923ms 10 60 1m9s 1s162ms 11 60 1m38s 1s635ms 12 60 1m38s 1s635ms 13 60 1m38s 1s635ms 14 60 1m38s 1s635ms 15 60 1m38s 1s635ms 16 60 1m38s 1s635ms 17 60 1m38s 1s635ms 18 60 1m20s 1s345ms 19 60 40s450ms 674ms 20 60 40s526ms 675ms 21 60 40s526ms 675ms 22 60 40s526ms 675ms 23 60 40s526ms 675ms 00 60 43s238ms 720ms Apr 04 01 60 0ms 0ms 02 60 30s307ms 505ms 03 60 1m2s 1s45ms 04 60 1m2s 1s45ms 05 60 1m2s 1s45ms 06 60 1m2s 1s45ms 07 60 1m2s 1s45ms 08 60 47s763ms 796ms 09 60 32s820ms 547ms 10 60 32s820ms 547ms 11 60 34s314ms 571ms 12 60 34s727ms 578ms 13 60 3m8s 3s139ms 14 60 2m53s 2s897ms 15 60 2m58s 2s981ms 16 60 2m57s 2s957ms 17 60 2m40s 2s680ms 18 60 2m54s 2s902ms 19 60 2m57s 2s955ms 20 60 2m54s 2s908ms 21 60 2m59s 2s989ms 22 59 3m6s 3s162ms 23 60 2m56s 2s943ms 00 60 2m48s 2s806ms [ User: labanimal - Total duration: 6h46m27s - Times executed: 9442 ]
-
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-04-01 23:55:01 Duration: 2m56s Database: zemm_monitoring User: labanimal Log file: /var/log/postgresql/postgresql-2026-04-01_000000.csv
-
CREATE TABLE IF NOT EXISTS observability.metrics_timeseries ( id bigserial PRIMARY KEY, tenant_key text NOT NULL, metric_name text NOT NULL, bucket_start timestamptz NOT NULL, bucket_width_seconds integer NOT NULL DEFAULT 60, sum_value double precision NOT NULL DEFAULT 0, count_value bigint NOT NULL DEFAULT 0, histogram jsonb, created_at timestamptz NOT NULL DEFAULT NOW(), updated_at timestamptz NOT NULL DEFAULT NOW(), UNIQUE (tenant_key, metric_name, bucket_start, bucket_width_seconds) );
Date: 2026-04-02 10:33:01 Duration: 1m23s Database: zemm_monitoring User: labanimal Log file: /var/log/postgresql/postgresql-2026-04-02_000000.csv
-
CREATE TABLE IF NOT EXISTS observability.metrics_timeseries ( id bigserial PRIMARY KEY, tenant_key text NOT NULL, metric_name text NOT NULL, bucket_start timestamptz NOT NULL, bucket_width_seconds integer NOT NULL DEFAULT 60, sum_value double precision NOT NULL DEFAULT 0, count_value bigint NOT NULL DEFAULT 0, histogram jsonb, created_at timestamptz NOT NULL DEFAULT NOW(), updated_at timestamptz NOT NULL DEFAULT NOW(), UNIQUE (tenant_key, metric_name, bucket_start, bucket_width_seconds) );
Date: 2026-04-02 11:17:01 Duration: 1m20s Database: zemm_monitoring User: labanimal Log file: /var/log/postgresql/postgresql-2026-04-02_000000.csv
18 508ms 2m56s 2s434ms 10,019 6h46m27s 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 #18
Day Hour Count Duration Avg duration Mar 29 00 60 0ms 0ms 01 60 37s149ms 619ms 04 60 1m16s 1s281ms 05 60 1m16s 1s281ms 06 60 1m16s 1s281ms 07 60 1m16s 1s281ms 08 60 1m16s 1s281ms 09 60 1m16s 1s281ms 10 60 1m16s 1s281ms 11 60 1m16s 1s281ms 12 60 1m16s 1s281ms 13 60 1m16s 1s281ms 14 60 45s854ms 764ms 15 60 41s759ms 695ms 16 60 41s759ms 695ms 17 60 41s759ms 695ms 18 60 41s759ms 695ms 19 60 41s759ms 695ms 20 60 41s759ms 695ms 21 60 45s329ms 755ms 22 60 40s125ms 668ms 23 60 35s338ms 588ms 00 60 38s720ms 645ms Mar 30 01 60 1m26s 1s434ms 02 60 28s358ms 472ms 03 60 58s672ms 977ms 04 60 58s672ms 977ms 05 60 58s672ms 977ms 06 60 58s672ms 977ms 07 60 58s672ms 977ms 08 60 49s561ms 826ms 09 60 1m40s 1s676ms 10 60 2m 2s2ms 11 60 39s318ms 655ms 12 60 38s836ms 647ms 13 60 41s162ms 686ms 14 60 1m2s 1s47ms 15 60 2m17s 2s288ms 16 60 41s821ms 697ms 17 60 36s198ms 603ms 18 60 4m3s 4s61ms 19 60 7m51s 7s857ms 20 60 1m43s 1s717ms 21 60 49s437ms 823ms 22 60 49s339ms 822ms 23 60 49s339ms 822ms 00 60 51s491ms 858ms Mar 31 01 60 0ms 0ms 02 60 32s747ms 545ms 03 60 1m7s 1s129ms 04 60 1m7s 1s129ms 05 60 1m7s 1s129ms 06 60 1m7s 1s129ms 07 60 1m7s 1s129ms 08 60 1m7s 1s129ms 09 60 1m 1s9ms 10 60 1m 1s10ms 11 60 38s794ms 646ms 12 60 2m1s 2s28ms 13 60 35s485ms 591ms 14 60 37s774ms 629ms 15 60 1m21s 1s364ms 16 60 1m16s 1s275ms 17 60 1m21s 1s355ms 18 60 1m6s 1s104ms 19 60 49s253ms 820ms 20 60 50s319ms 838ms 21 60 50s134ms 835ms 22 60 48s735ms 812ms 23 60 48s735ms 812ms 00 60 48s188ms 803ms Apr 01 01 60 0ms 0ms 02 60 28s345ms 472ms 03 60 58s645ms 977ms 04 60 58s645ms 977ms 05 60 58s645ms 977ms 06 60 51s621ms 860ms 07 60 43s594ms 726ms 08 60 49s114ms 818ms 09 60 46s748ms 779ms 10 60 36s117ms 601ms 11 60 38s366ms 639ms 12 60 42s239ms 703ms 13 60 57s755ms 962ms 14 60 41s664ms 694ms 15 60 54s716ms 911ms 16 60 44s519ms 741ms 17 60 39s362ms 656ms 18 60 39s148ms 652ms 19 60 39s949ms 665ms 20 60 50s172ms 836ms 21 60 53s17ms 883ms 22 60 56s42ms 934ms 23 60 48s60ms 801ms 00 60 2h36m11s 2m36s Apr 02 01 60 0ms 0ms 02 60 29s646ms 494ms 03 60 1m1s 1s22ms 04 60 1m1s 1s22ms 05 60 1m1s 1s22ms 06 60 1m1s 1s22ms 07 60 51s81ms 851ms 08 60 2m17s 2s289ms 09 60 1m18s 1s313ms 10 60 43s182ms 719ms 11 60 40m43s 40s727ms 12 60 24m40s 24s683ms 13 60 48s109ms 801ms 14 60 1m12s 1s210ms 15 60 52s729ms 878ms 16 60 44s765ms 746ms 17 60 44s765ms 746ms 18 60 44s765ms 746ms 19 60 44s765ms 746ms 20 60 44s765ms 746ms 21 60 44s765ms 746ms 22 60 44s765ms 746ms 23 60 44s765ms 746ms 00 60 47s184ms 786ms Apr 03 01 60 0ms 0ms 02 60 26s747ms 445ms 03 60 55s340ms 922ms 04 60 55s340ms 922ms 05 60 55s340ms 922ms 06 60 55s340ms 922ms 07 60 55s340ms 922ms 08 60 55s340ms 922ms 09 60 55s385ms 923ms 10 60 1m9s 1s162ms 11 60 1m38s 1s635ms 12 60 1m38s 1s635ms 13 60 1m38s 1s635ms 14 60 1m38s 1s635ms 15 60 1m38s 1s635ms 16 60 1m38s 1s635ms 17 60 1m38s 1s635ms 18 60 1m20s 1s345ms 19 60 40s450ms 674ms 20 60 40s526ms 675ms 21 60 40s526ms 675ms 22 60 40s526ms 675ms 23 60 40s526ms 675ms 00 60 43s238ms 720ms Apr 04 01 60 0ms 0ms 02 60 30s307ms 505ms 03 60 1m2s 1s45ms 04 60 1m2s 1s45ms 05 60 1m2s 1s45ms 06 60 1m2s 1s45ms 07 60 1m2s 1s45ms 08 60 47s763ms 796ms 09 60 32s820ms 547ms 10 60 32s820ms 547ms 11 60 34s314ms 571ms 12 60 34s727ms 578ms 13 60 3m8s 3s139ms 14 60 2m53s 2s897ms 15 60 2m58s 2s981ms 16 60 2m57s 2s957ms 17 60 2m40s 2s680ms 18 60 2m54s 2s902ms 19 60 2m57s 2s955ms 20 60 2m54s 2s908ms 21 60 2m59s 2s989ms 22 59 3m6s 3s162ms 23 60 2m56s 2s943ms 00 60 2m48s 2s806ms [ User: labanimal - Total duration: 6h46m27s - Times executed: 9442 ]
-
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-04-01 23:55:01 Duration: 2m56s Database: zemm_monitoring User: labanimal Log file: /var/log/postgresql/postgresql-2026-04-01_000000.csv
-
CREATE TABLE IF NOT EXISTS observability.system_metrics ( id bigserial PRIMARY KEY, payload jsonb NOT NULL, collected_at timestamptz NOT NULL DEFAULT NOW() );
Date: 2026-04-02 10:33:01 Duration: 1m23s Database: zemm_monitoring User: labanimal Log file: /var/log/postgresql/postgresql-2026-04-02_000000.csv
-
CREATE TABLE IF NOT EXISTS observability.system_metrics ( id bigserial PRIMARY KEY, payload jsonb NOT NULL, collected_at timestamptz NOT NULL DEFAULT NOW() );
Date: 2026-04-02 11:17:01 Duration: 1m20s Database: zemm_monitoring User: labanimal Log file: /var/log/postgresql/postgresql-2026-04-02_000000.csv
19 508ms 2m56s 2s434ms 10,019 6h46m27s create index if not exists idx_app_events_type on observability.app_events (event_type);Times Reported Time consuming queries #19
Day Hour Count Duration Avg duration Mar 29 00 60 0ms 0ms 01 60 37s149ms 619ms 04 60 1m16s 1s281ms 05 60 1m16s 1s281ms 06 60 1m16s 1s281ms 07 60 1m16s 1s281ms 08 60 1m16s 1s281ms 09 60 1m16s 1s281ms 10 60 1m16s 1s281ms 11 60 1m16s 1s281ms 12 60 1m16s 1s281ms 13 60 1m16s 1s281ms 14 60 45s854ms 764ms 15 60 41s759ms 695ms 16 60 41s759ms 695ms 17 60 41s759ms 695ms 18 60 41s759ms 695ms 19 60 41s759ms 695ms 20 60 41s759ms 695ms 21 60 45s329ms 755ms 22 60 40s125ms 668ms 23 60 35s338ms 588ms 00 60 38s720ms 645ms Mar 30 01 60 1m26s 1s434ms 02 60 28s358ms 472ms 03 60 58s672ms 977ms 04 60 58s672ms 977ms 05 60 58s672ms 977ms 06 60 58s672ms 977ms 07 60 58s672ms 977ms 08 60 49s561ms 826ms 09 60 1m40s 1s676ms 10 60 2m 2s2ms 11 60 39s318ms 655ms 12 60 38s836ms 647ms 13 60 41s162ms 686ms 14 60 1m2s 1s47ms 15 60 2m17s 2s288ms 16 60 41s821ms 697ms 17 60 36s198ms 603ms 18 60 4m3s 4s61ms 19 60 7m51s 7s857ms 20 60 1m43s 1s717ms 21 60 49s437ms 823ms 22 60 49s339ms 822ms 23 60 49s339ms 822ms 00 60 51s491ms 858ms Mar 31 01 60 0ms 0ms 02 60 32s747ms 545ms 03 60 1m7s 1s129ms 04 60 1m7s 1s129ms 05 60 1m7s 1s129ms 06 60 1m7s 1s129ms 07 60 1m7s 1s129ms 08 60 1m7s 1s129ms 09 60 1m 1s9ms 10 60 1m 1s10ms 11 60 38s794ms 646ms 12 60 2m1s 2s28ms 13 60 35s485ms 591ms 14 60 37s774ms 629ms 15 60 1m21s 1s364ms 16 60 1m16s 1s275ms 17 60 1m21s 1s355ms 18 60 1m6s 1s104ms 19 60 49s253ms 820ms 20 60 50s319ms 838ms 21 60 50s134ms 835ms 22 60 48s735ms 812ms 23 60 48s735ms 812ms 00 60 48s188ms 803ms Apr 01 01 60 0ms 0ms 02 60 28s345ms 472ms 03 60 58s645ms 977ms 04 60 58s645ms 977ms 05 60 58s645ms 977ms 06 60 51s621ms 860ms 07 60 43s594ms 726ms 08 60 49s114ms 818ms 09 60 46s748ms 779ms 10 60 36s117ms 601ms 11 60 38s366ms 639ms 12 60 42s239ms 703ms 13 60 57s755ms 962ms 14 60 41s664ms 694ms 15 60 54s716ms 911ms 16 60 44s519ms 741ms 17 60 39s362ms 656ms 18 60 39s148ms 652ms 19 60 39s949ms 665ms 20 60 50s172ms 836ms 21 60 53s17ms 883ms 22 60 56s42ms 934ms 23 60 48s60ms 801ms 00 60 2h36m11s 2m36s Apr 02 01 60 0ms 0ms 02 60 29s646ms 494ms 03 60 1m1s 1s22ms 04 60 1m1s 1s22ms 05 60 1m1s 1s22ms 06 60 1m1s 1s22ms 07 60 51s81ms 851ms 08 60 2m17s 2s289ms 09 60 1m18s 1s313ms 10 60 43s182ms 719ms 11 60 40m43s 40s727ms 12 60 24m40s 24s683ms 13 60 48s109ms 801ms 14 60 1m12s 1s210ms 15 60 52s729ms 878ms 16 60 44s765ms 746ms 17 60 44s765ms 746ms 18 60 44s765ms 746ms 19 60 44s765ms 746ms 20 60 44s765ms 746ms 21 60 44s765ms 746ms 22 60 44s765ms 746ms 23 60 44s765ms 746ms 00 60 47s184ms 786ms Apr 03 01 60 0ms 0ms 02 60 26s747ms 445ms 03 60 55s340ms 922ms 04 60 55s340ms 922ms 05 60 55s340ms 922ms 06 60 55s340ms 922ms 07 60 55s340ms 922ms 08 60 55s340ms 922ms 09 60 55s385ms 923ms 10 60 1m9s 1s162ms 11 60 1m38s 1s635ms 12 60 1m38s 1s635ms 13 60 1m38s 1s635ms 14 60 1m38s 1s635ms 15 60 1m38s 1s635ms 16 60 1m38s 1s635ms 17 60 1m38s 1s635ms 18 60 1m20s 1s345ms 19 60 40s450ms 674ms 20 60 40s526ms 675ms 21 60 40s526ms 675ms 22 60 40s526ms 675ms 23 60 40s526ms 675ms 00 60 43s238ms 720ms Apr 04 01 60 0ms 0ms 02 60 30s307ms 505ms 03 60 1m2s 1s45ms 04 60 1m2s 1s45ms 05 60 1m2s 1s45ms 06 60 1m2s 1s45ms 07 60 1m2s 1s45ms 08 60 47s763ms 796ms 09 60 32s820ms 547ms 10 60 32s820ms 547ms 11 60 34s314ms 571ms 12 60 34s727ms 578ms 13 60 3m8s 3s139ms 14 60 2m53s 2s897ms 15 60 2m58s 2s981ms 16 60 2m57s 2s957ms 17 60 2m40s 2s680ms 18 60 2m54s 2s902ms 19 60 2m57s 2s955ms 20 60 2m54s 2s908ms 21 60 2m59s 2s989ms 22 59 3m6s 3s162ms 23 60 2m56s 2s943ms 00 60 2m48s 2s806ms [ User: labanimal - Total duration: 6h46m27s - Times executed: 9442 ]
-
CREATE INDEX IF NOT EXISTS idx_app_events_type ON observability.app_events (event_type);
Date: 2026-04-01 23:55:01 Duration: 2m56s Database: zemm_monitoring User: labanimal Log file: /var/log/postgresql/postgresql-2026-04-01_000000.csv
-
CREATE INDEX IF NOT EXISTS idx_app_events_type ON observability.app_events (event_type);
Date: 2026-04-02 10:33:01 Duration: 1m23s Database: zemm_monitoring User: labanimal Log file: /var/log/postgresql/postgresql-2026-04-02_000000.csv
-
CREATE INDEX IF NOT EXISTS idx_app_events_type ON observability.app_events (event_type);
Date: 2026-04-02 11:17:01 Duration: 1m20s Database: zemm_monitoring User: labanimal Log file: /var/log/postgresql/postgresql-2026-04-02_000000.csv
20 508ms 2m56s 2s434ms 10,019 6h46m27s 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 #20
Day Hour Count Duration Avg duration Mar 29 00 60 0ms 0ms 01 60 37s149ms 619ms 04 60 1m16s 1s281ms 05 60 1m16s 1s281ms 06 60 1m16s 1s281ms 07 60 1m16s 1s281ms 08 60 1m16s 1s281ms 09 60 1m16s 1s281ms 10 60 1m16s 1s281ms 11 60 1m16s 1s281ms 12 60 1m16s 1s281ms 13 60 1m16s 1s281ms 14 60 45s854ms 764ms 15 60 41s759ms 695ms 16 60 41s759ms 695ms 17 60 41s759ms 695ms 18 60 41s759ms 695ms 19 60 41s759ms 695ms 20 60 41s759ms 695ms 21 60 45s329ms 755ms 22 60 40s125ms 668ms 23 60 35s338ms 588ms 00 60 38s720ms 645ms Mar 30 01 60 1m26s 1s434ms 02 60 28s358ms 472ms 03 60 58s672ms 977ms 04 60 58s672ms 977ms 05 60 58s672ms 977ms 06 60 58s672ms 977ms 07 60 58s672ms 977ms 08 60 49s561ms 826ms 09 60 1m40s 1s676ms 10 60 2m 2s2ms 11 60 39s318ms 655ms 12 60 38s836ms 647ms 13 60 41s162ms 686ms 14 60 1m2s 1s47ms 15 60 2m17s 2s288ms 16 60 41s821ms 697ms 17 60 36s198ms 603ms 18 60 4m3s 4s61ms 19 60 7m51s 7s857ms 20 60 1m43s 1s717ms 21 60 49s437ms 823ms 22 60 49s339ms 822ms 23 60 49s339ms 822ms 00 60 51s491ms 858ms Mar 31 01 60 0ms 0ms 02 60 32s747ms 545ms 03 60 1m7s 1s129ms 04 60 1m7s 1s129ms 05 60 1m7s 1s129ms 06 60 1m7s 1s129ms 07 60 1m7s 1s129ms 08 60 1m7s 1s129ms 09 60 1m 1s9ms 10 60 1m 1s10ms 11 60 38s794ms 646ms 12 60 2m1s 2s28ms 13 60 35s485ms 591ms 14 60 37s774ms 629ms 15 60 1m21s 1s364ms 16 60 1m16s 1s275ms 17 60 1m21s 1s355ms 18 60 1m6s 1s104ms 19 60 49s253ms 820ms 20 60 50s319ms 838ms 21 60 50s134ms 835ms 22 60 48s735ms 812ms 23 60 48s735ms 812ms 00 60 48s188ms 803ms Apr 01 01 60 0ms 0ms 02 60 28s345ms 472ms 03 60 58s645ms 977ms 04 60 58s645ms 977ms 05 60 58s645ms 977ms 06 60 51s621ms 860ms 07 60 43s594ms 726ms 08 60 49s114ms 818ms 09 60 46s748ms 779ms 10 60 36s117ms 601ms 11 60 38s366ms 639ms 12 60 42s239ms 703ms 13 60 57s755ms 962ms 14 60 41s664ms 694ms 15 60 54s716ms 911ms 16 60 44s519ms 741ms 17 60 39s362ms 656ms 18 60 39s148ms 652ms 19 60 39s949ms 665ms 20 60 50s172ms 836ms 21 60 53s17ms 883ms 22 60 56s42ms 934ms 23 60 48s60ms 801ms 00 60 2h36m11s 2m36s Apr 02 01 60 0ms 0ms 02 60 29s646ms 494ms 03 60 1m1s 1s22ms 04 60 1m1s 1s22ms 05 60 1m1s 1s22ms 06 60 1m1s 1s22ms 07 60 51s81ms 851ms 08 60 2m17s 2s289ms 09 60 1m18s 1s313ms 10 60 43s182ms 719ms 11 60 40m43s 40s727ms 12 60 24m40s 24s683ms 13 60 48s109ms 801ms 14 60 1m12s 1s210ms 15 60 52s729ms 878ms 16 60 44s765ms 746ms 17 60 44s765ms 746ms 18 60 44s765ms 746ms 19 60 44s765ms 746ms 20 60 44s765ms 746ms 21 60 44s765ms 746ms 22 60 44s765ms 746ms 23 60 44s765ms 746ms 00 60 47s184ms 786ms Apr 03 01 60 0ms 0ms 02 60 26s747ms 445ms 03 60 55s340ms 922ms 04 60 55s340ms 922ms 05 60 55s340ms 922ms 06 60 55s340ms 922ms 07 60 55s340ms 922ms 08 60 55s340ms 922ms 09 60 55s385ms 923ms 10 60 1m9s 1s162ms 11 60 1m38s 1s635ms 12 60 1m38s 1s635ms 13 60 1m38s 1s635ms 14 60 1m38s 1s635ms 15 60 1m38s 1s635ms 16 60 1m38s 1s635ms 17 60 1m38s 1s635ms 18 60 1m20s 1s345ms 19 60 40s450ms 674ms 20 60 40s526ms 675ms 21 60 40s526ms 675ms 22 60 40s526ms 675ms 23 60 40s526ms 675ms 00 60 43s238ms 720ms Apr 04 01 60 0ms 0ms 02 60 30s307ms 505ms 03 60 1m2s 1s45ms 04 60 1m2s 1s45ms 05 60 1m2s 1s45ms 06 60 1m2s 1s45ms 07 60 1m2s 1s45ms 08 60 47s763ms 796ms 09 60 32s820ms 547ms 10 60 32s820ms 547ms 11 60 34s314ms 571ms 12 60 34s727ms 578ms 13 60 3m8s 3s139ms 14 60 2m53s 2s897ms 15 60 2m58s 2s981ms 16 60 2m57s 2s957ms 17 60 2m40s 2s680ms 18 60 2m54s 2s902ms 19 60 2m57s 2s955ms 20 60 2m54s 2s908ms 21 60 2m59s 2s989ms 22 59 3m6s 3s162ms 23 60 2m56s 2s943ms 00 60 2m48s 2s806ms [ User: labanimal - Total duration: 6h46m27s - Times executed: 9442 ]
-
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-04-01 23:55:01 Duration: 2m56s Database: zemm_monitoring User: labanimal Log file: /var/log/postgresql/postgresql-2026-04-01_000000.csv
-
CREATE TABLE IF NOT EXISTS observability.db_top_queries ( id bigserial PRIMARY KEY, tenant_key text NOT NULL, fingerprint text, query text, mean_time_ms double precision, total_time_ms double precision, calls bigint, rows_returned bigint, collected_at timestamptz NOT NULL DEFAULT NOW() );
Date: 2026-04-02 10:33:01 Duration: 1m23s Database: zemm_monitoring User: labanimal Log file: /var/log/postgresql/postgresql-2026-04-02_000000.csv
-
CREATE TABLE IF NOT EXISTS observability.db_top_queries ( id bigserial PRIMARY KEY, tenant_key text NOT NULL, fingerprint text, query text, mean_time_ms double precision, total_time_ms double precision, calls bigint, rows_returned bigint, collected_at timestamptz NOT NULL DEFAULT NOW() );
Date: 2026-04-02 11:17:01 Duration: 1m20s Database: zemm_monitoring User: labanimal Log file: /var/log/postgresql/postgresql-2026-04-02_000000.csv
Time consuming prepare
Rank Total duration Times executed Min duration Max duration Avg duration Query NO DATASET
Time consuming bind
Rank Total duration Times executed Min duration Max duration Avg duration Query NO DATASET
-
Events
Log levels
Key values
- 662,337 Event entries
- (EVENTLOG entries are formaly LOG level entries that are not queries)
Events distribution (except queries)
Key values
- 0 PANIC entries
- 437 FATAL entries
- 36 ERROR entries
- 0 WARNING entries
- 619 EVENTLOG entries
Most Frequent Errors/Events
Key values
- 525 Max number of times the same event was reported
- 1,092 Total events found
Rank Times reported Error 1 525 FATAL: database "..." does not exist
Times Reported Most Frequent Error / Event #1
Day Hour Count Mar 29 00 1 10 2 21 3 Mar 30 11 2 18 4 20 6 21 12 22 10 23 8 00 12 Mar 31 01 12 04 2 08 2 12 24 21 6 22 14 23 13 00 44 Apr 01 01 8 03 2 04 1 06 55 08 7 09 44 10 7 11 8 12 17 21 3 Apr 02 02 4 04 2 06 1 07 5 08 13 09 25 12 91 13 18 18 1 Apr 03 02 4 16 10 Apr 04 03 2 05 5 13 10 00 5 - FATAL: database "deploy" does not exist
- FATAL: database "monitoring" does not exist
- FATAL: database "monitoring" does not exist
Date: 2026-03-29 00:02:24 Database: deploy Application: psql User: deploy Remote: [local] Log file: /var/log/postgresql/postgresql-2026-03-29_000000.csv
Date: 2026-03-29 09:17:14 Database: monitoring Application: User: labanimal Remote: Log file: /var/log/postgresql/postgresql-2026-03-29_000000.csv
Date: 2026-03-29 09:17:14 Database: monitoring Application: User: labanimal Remote: Log file: /var/log/postgresql/postgresql-2026-03-29_000000.csv
2 483 ERROR: current transaction is aborted, commands ignored until end of transaction block
Times Reported Most Frequent Error / Event #2
Day Hour Count Mar 31 00 483 - ERROR: current transaction is aborted, commands ignored until end of transaction block
- ERROR: current transaction is aborted, commands ignored until end of transaction block
- ERROR: current transaction is aborted, commands ignored until end of transaction block
Statement: SELECT p_update_genes(1, (SELECT animal_id FROM _dzhi_import_ids WHERE row_num=3), NULL, 'ZF:TL1-myl7-eGFP', NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL);
Date: 2026-03-31 23:03:33 Database: zemm_produktiv_7 Application: psql User: deploy Remote: [local] Log file: /var/log/postgresql/postgresql-2026-03-31_000000.csv
Statement: SELECT p_update_genes(1, (SELECT animal_id FROM _dzhi_import_ids WHERE row_num=4), NULL, 'ZF:TL1', NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL);
Date: 2026-03-31 23:03:33 Database: zemm_produktiv_7 Application: psql User: deploy Remote: [local] Log file: /var/log/postgresql/postgresql-2026-03-31_000000.csv
Statement: SELECT p_update_genes(1, (SELECT animal_id FROM _dzhi_import_ids WHERE row_num=5), NULL, 'ZF:TL1-myl7-eGFP', NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL);
Date: 2026-03-31 23:03:33 Database: zemm_produktiv_7 Application: psql User: deploy Remote: [local] Log file: /var/log/postgresql/postgresql-2026-03-31_000000.csv
3 25 ERROR: column "..." does not exist
Times Reported Most Frequent Error / Event #3
Day Hour Count Mar 29 23 2 Mar 31 01 3 18 1 20 3 23 4 00 3 Apr 01 12 3 Apr 02 08 3 09 3 - ERROR: column "created_on" does not exist
- ERROR: column t.description does not exist
- ERROR: column "name" does not exist
Statement: copy ( select id as attachment_id, taskid, file_name, file_upload, created_on, created_by from taskattachment where file_upload in ( select file_upload from taskattachment where coalesce(file_upload,'') <> '' ) order by id desc limit 20 ) to stdout with csv header
Date: 2026-03-29 22:53:17 Database: zemm_produktiv_8 Application: psql User: deploy Remote: [local] Log file: /var/log/postgresql/postgresql-2026-03-29_000000.csv
Statement: copy ( select a.id as attachment_id, a.taskid, a.file_name, a.file_upload, t.time_issued, regexp_replace(coalesce(t.description,''), E'[\r\n\t]+', ' ', 'g') as task_description from taskattachment a left join tasks t on t.id = a.taskid where a.id in (1975,3161,3162,3163,3164,3165,3166,3167,3168,3170,3172,3173,3174,3176,10108333,10108334,10108335,10108336,10108337,10108338,10108339,10108341,10108342,10108343,10108344,10108345,10108347,10108348,10108350,10108351,10108352,10108353,10108354,10108355) order by a.id ) to stdout with csv header
Date: 2026-03-29 22:53:34 Database: zemm_produktiv_8 Application: psql User: deploy Remote: [local] Log file: /var/log/postgresql/postgresql-2026-03-29_000000.csv
Statement: SELECT id, name FROM public.species ORDER BY id;
Date: 2026-03-31 00:06:33 Database: zemm_produktiv_7 Application: psql User: deploy Remote: [local] Log file: /var/log/postgresql/postgresql-2026-03-31_000000.csv
4 16 ERROR: duplicate key value violates unique constraint "..."
Times Reported Most Frequent Error / Event #4
Day Hour Count Mar 31 10 1 Apr 04 08 1 11 1 13 1 14 3 15 1 16 1 17 3 18 2 19 1 20 1 - ERROR: duplicate key value violates unique constraint "metrics_timeseries_tenant_key_metric_name_bucket_start_buck_key"
- ERROR: duplicate key value violates unique constraint "metrics_timeseries_tenant_key_metric_name_bucket_start_buck_key"
- ERROR: duplicate key value violates unique constraint "metrics_timeseries_tenant_key_metric_name_bucket_start_buck_key"
Detail: Key (tenant_key, metric_name, bucket_start, bucket_width_seconds)=(prod, http_requests_total, 2026-03-31 09:35:00+02, 60) already exists.
Statement: INSERT INTO observability.metrics_timeseries (tenant_key, metric_name, bucket_start, bucket_width_seconds, sum_value, count_value, histogram) VALUES ($1, $2, $3, $4, $5, $6, $7)Date: 2026-03-31 09:35:03 Database: zemm_monitoring Application: User: labanimal Remote: Log file: /var/log/postgresql/postgresql-2026-03-31_000000.csv
Detail: Key (tenant_key, metric_name, bucket_start, bucket_width_seconds)=(prod, http_requests_total, 2026-04-04 07:29:00+02, 60) already exists.
Statement: INSERT INTO observability.metrics_timeseries (tenant_key, metric_name, bucket_start, bucket_width_seconds, sum_value, count_value, histogram) VALUES ($1, $2, $3, $4, $5, $6, $7)Date: 2026-04-04 07:29:15 Database: zemm_monitoring Application: User: labanimal Remote: Log file: /var/log/postgresql/postgresql-2026-04-04_000000.csv
Detail: Key (tenant_key, metric_name, bucket_start, bucket_width_seconds)=(prod, http_requests_total, 2026-04-04 10:12:00+02, 60) already exists.
Statement: INSERT INTO observability.metrics_timeseries (tenant_key, metric_name, bucket_start, bucket_width_seconds, sum_value, count_value, histogram) VALUES ($1, $2, $3, $4, $5, $6, $7)Date: 2026-04-04 10:12:33 Database: zemm_monitoring Application: User: labanimal Remote: Log file: /var/log/postgresql/postgresql-2026-04-04_000000.csv
5 8 LOG: could not receive data from client: Connection reset by peer
Times Reported Most Frequent Error / Event #5
Day Hour Count Mar 31 16 1 20 1 21 2 Apr 04 13 4 - LOG: could not receive data from client: Connection reset by peer
- LOG: could not receive data from client: Connection reset by peer
- LOG: could not receive data from client: Connection reset by peer
Date: 2026-03-31 15:12:23 Database: zemm_produktiv_7 Application: DBeaver 22.2.4 - Main 'zemm_produktiv_7' User: labanimal Remote: 94.31.109.76 Log file: /var/log/postgresql/postgresql-2026-03-31_000000.csv
Date: 2026-03-31 19:45:21 Database: zemm_produktiv_7 Application: psql User: labanimal Remote: Log file: /var/log/postgresql/postgresql-2026-03-31_000000.csv
Date: 2026-03-31 20:30:46 Database: zemm_produktiv_7 Application: DBeaver 24.3.2 - Main 'zemm_produktiv_7' User: labanimal Remote: 94.31.109.76 Log file: /var/log/postgresql/postgresql-2026-03-31_000000.csv
6 4 ERROR: missing FROM-clause entry for table "..."
Times Reported Most Frequent Error / Event #6
Day Hour Count Mar 29 00 4 - ERROR: missing FROM-clause entry for table "public"
- ERROR: missing FROM-clause entry for table "public"
- ERROR: missing FROM-clause entry for table "public"
Statement: select to_regclass(public.documents), to_regclass(public.taskattachment)
Date: 2026-03-29 00:03:06 Database: zemm_produktiv_7 Application: psql User: deploy Remote: [local] Log file: /var/log/postgresql/postgresql-2026-03-29_000000.csv
Statement: select to_regclass(public.documents), to_regclass(public.taskattachment)
Date: 2026-03-29 00:03:06 Database: zemm_produktiv_8 Application: psql User: deploy Remote: [local] Log file: /var/log/postgresql/postgresql-2026-03-29_000000.csv
Statement: select to_regclass(public.documents), to_regclass(public.taskattachment)
Date: 2026-03-29 00:03:15 Database: zemm_produktiv_8 Application: psql User: deploy Remote: [local] Log file: /var/log/postgresql/postgresql-2026-03-29_000000.csv
7 4 ERROR: invalid regular expression: brackets [] not balanced
Times Reported Most Frequent Error / Event #7
Day Hour Count Apr 02 09 4 - ERROR: invalid regular expression: brackets [] not balanced
- ERROR: invalid regular expression: brackets [] not balanced
- ERROR: invalid regular expression: brackets [] not balanced
Statement: SELECT count(*) FILTER (WHERE comments ILIKE '%DZHI-IMPORT-v1 row%' AND comments ~ '^[^[]+\[DZHI-IMPORT-v1 row') AS prefixed_before_bracket, count(*) FILTER (WHERE comments ILIKE '%DZHI-IMPORT-v1 row%' AND comments ~ E'\n\[DZHI-IMPORT-v1 row') AS newline_before_bracket, count(*) FILTER (WHERE comments ILIKE '%DZHI-IMPORT-v1 row%' AND comments NOT LIKE '[DZHI-IMPORT-v1 row%') AS missing_82 FROM animals;
Date: 2026-04-02 08:19:46 Database: zemm_produktiv_8 Application: psql User: deploy Remote: [local] Log file: /var/log/postgresql/postgresql-2026-04-02_000000.csv
Statement: SELECT count(*) FILTER (WHERE comments ILIKE '%DZHI-IMPORT-v1 row%' AND comments ~ '^[^[]+\[DZHI-IMPORT-v1 row') AS prefixed_before_bracket, count(*) FILTER (WHERE comments ILIKE '%DZHI-IMPORT-v1 row%' AND comments ~ E'\n\[DZHI-IMPORT-v1 row') AS newline_before_bracket, count(*) FILTER (WHERE comments ILIKE '%DZHI-IMPORT-v1 row%' AND comments NOT LIKE '[DZHI-IMPORT-v1 row%') AS missing_82 FROM animals;
Date: 2026-04-02 08:19:46 Log file: /var/log/postgresql/postgresql-2026-04-02_000000.csv
Statement: SELECT count(*) FILTER (WHERE comments ILIKE '%DZHI-IMPORT-v1 row%' AND comments ~ '^[^[]+\[DZHI-IMPORT-v1 row') AS prefixed_before_bracket, count(*) FILTER (WHERE comments ILIKE '%DZHI-IMPORT-v1 row%' AND comments ~ E'\n\[DZHI-IMPORT-v1 row') AS newline_before_bracket, count(*) FILTER (WHERE comments ILIKE '%DZHI-IMPORT-v1 row%' AND comments NOT LIKE '[DZHI-IMPORT-v1 row%') AS missing_82 FROM animals;
Date: 2026-04-02 08:19:46 Log file: /var/log/postgresql/postgresql-2026-04-02_000000.csv
8 4 ERROR: relation "..." does not exist
Times Reported Most Frequent Error / Event #8
Day Hour Count Mar 31 01 1 Apr 02 11 1 Apr 04 22 2 - ERROR: relation "wb" does not exist
- ERROR: relation "logintracker" does not exist
- ERROR: relation "bucardo.bucardo_config" does not exist
Statement: SELECT 'unmatched' AS section, w.cage_name, NULL, NULL FROM wb w LEFT JOIN public.cages c ON c."cageName" = w.cage_name WHERE c.id IS NULL ORDER BY w.cage_name;
Date: 2026-03-31 00:07:54 Database: zemm_produktiv_7 Application: psql User: deploy Remote: [local] Log file: /var/log/postgresql/postgresql-2026-03-31_000000.csv
Statement: SELECT DISTINCT lt.user, u.username, u.role, max(lt.timestamp) AS last_seen FROM logintracker lt JOIN users u ON u.id = lt.user WHERE lt.timestamp >= now() - interval '90 days' AND COALESCE(u.deleted, false) = false GROUP BY lt.user, u.username, u.role ORDER BY last_seen DESC LIMIT 20;
Date: 2026-04-02 10:23:32 Database: zemm_produktiv_7 Application: psql User: deploy Remote: [local] Log file: /var/log/postgresql/postgresql-2026-04-02_000000.csv
Statement: SELECT setting FROM bucardo.bucardo_config WHERE LOWER(name) = $1
Date: 2026-04-04 21:46:41 Database: bucardo Application: User: bucardo Remote: Log file: /var/log/postgresql/postgresql-2026-04-04_214636.csv
9 3 ERROR: date/time field value out of range: "..."
Times Reported Most Frequent Error / Event #9
Day Hour Count Mar 31 12 1 16 2 - ERROR: date/time field value out of range: "2026-04-31"
- ERROR: date/time field value out of range: "2026/000/1476"
- ERROR: date/time field value out of range: "2026/000/1476"
Statement: SELECT p_update_animals(457, '10302269', NULL, NULL, NULL, false,NULL, NULL, false, NULL, '2026-04-31', NULL, 4, 'R46', 9628, NULL, false,NULL,NULL,NULL, NULL,NULL,NULL,0);
Date: 2026-03-31 11:28:05 Database: zemm_produktiv_8 Application: _desktop_index.php_zemm_produktiv_8_localhost_5432 User: labanimal Remote: Log file: /var/log/postgresql/postgresql-2026-03-31_000000.csv
Hint: Perhaps you need a different "DateStyle" setting.
Statement: SELECT tk.id, tk.name, tk.active, tk.task_status, tk.done, tk.prio_agent, tk.deadline, tk.link, STRING_AGG(DISTINCT issuer_user."fullName", ';') AS issued_by, tk.time_issued, STRING_AGG(DISTINCT agent_user."fullName" ,';')AS completed_by, tk.time_completed FROM tasks tk INNER JOIN "targetgroupMembers" issuer ON issuer.targetgroup = tk.owner INNER JOIN (SELECT "targetgroupMembers".targetgroup, users.* FROM "targetgroupMembers" INNER JOIN users ON users.id = "targetgroupMembers"."user") issuer_user ON issuer_user.targetgroup = tk.owner LEFT JOIN "targetgroupMembers" agent ON agent.targetgroup = tk.agent LEFT JOIN (SELECT "targetgroupMembers".targetgroup, users.* FROM "targetgroupMembers" INNER JOIN users ON users.id = "targetgroupMembers"."user") agent_user ON agent_user.targetgroup = tk.agent WHERE (user_is_tgm(tk.owner, 10100194) OR user_is_tgm(tk.agent, 10100194)) AND tk.task_status LIKE '%' AND tk.time_issued >= '2026/000/1476' GROUP BY tk.idDate: 2026-03-31 15:25:52 Database: zemm_produktiv_8 Application: _desktop_index.php_zemm_produktiv_8_localhost_5432 User: labanimal Remote: Log file: /var/log/postgresql/postgresql-2026-03-31_000000.csv
Hint: Perhaps you need a different "DateStyle" setting.
Statement: SELECT tk.id, tk.name, tk.active, tk.task_status, tk.done, tk.prio_agent, tk.deadline, tk.link, STRING_AGG(DISTINCT issuer_user."fullName", ';') AS issued_by, tk.time_issued, STRING_AGG(DISTINCT agent_user."fullName" ,';')AS completed_by, tk.time_completed FROM tasks tk INNER JOIN "targetgroupMembers" issuer ON issuer.targetgroup = tk.owner INNER JOIN (SELECT "targetgroupMembers".targetgroup, users.* FROM "targetgroupMembers" INNER JOIN users ON users.id = "targetgroupMembers"."user") issuer_user ON issuer_user.targetgroup = tk.owner LEFT JOIN "targetgroupMembers" agent ON agent.targetgroup = tk.agent LEFT JOIN (SELECT "targetgroupMembers".targetgroup, users.* FROM "targetgroupMembers" INNER JOIN users ON users.id = "targetgroupMembers"."user") agent_user ON agent_user.targetgroup = tk.agent WHERE (user_is_tgm(tk.owner, 10100194) OR user_is_tgm(tk.agent, 10100194)) AND tk.name LIKE '2026/000/1476' AND tk.task_status LIKE '%' AND tk.time_issued >= '2026/000/1476' GROUP BY tk.idDate: 2026-03-31 15:26:33 Database: zemm_produktiv_8 Application: _desktop_index.php_zemm_produktiv_8_localhost_5432 User: labanimal Remote: Log file: /var/log/postgresql/postgresql-2026-03-31_000000.csv
10 3 ERROR: syntax error at or near "..."
Times Reported Most Frequent Error / Event #10
Day Hour Count Apr 01 09 1 Apr 02 14 1 Apr 03 10 1 - ERROR: syntax error at or near ")"
- ERROR: syntax error at or near "BEGIN"
- ERROR: syntax error at or near ")"
Statement: UPDATE breedings SET id = id, unbreeding_date = '2026-04-01'::DATE WHERE id IN ();
Date: 2026-04-01 08:21:34 Database: zemm_produktiv_8 Application: _desktop_index.php_zemm_produktiv_8_localhost_5432 User: labanimal Remote: Log file: /var/log/postgresql/postgresql-2026-04-01_000000.csv
Statement: DO BEGIN;
Date: 2026-04-02 13:52:52 Database: zemm_produktiv_8 Application: psql User: deploy Remote: [local] Log file: /var/log/postgresql/postgresql-2026-04-02_000000.csv
Statement: UPDATE breedings SET id = id, unbreeding_date = '2026-04-03'::DATE WHERE id IN ();
Date: 2026-04-03 09:41:12 Database: zemm_produktiv_8 Application: _desktop_index.php_zemm_produktiv_8_localhost_5432 User: labanimal Remote: Log file: /var/log/postgresql/postgresql-2026-04-03_000000.csv
11 2 FATAL: password authentication failed for user "..."
Times Reported Most Frequent Error / Event #11
Day Hour Count Mar 31 23 2 - FATAL: password authentication failed for user "deploy"
- FATAL: password authentication failed for user "deploy"
Detail: User "deploy" has no password assigned. Connection matched file "/etc/postgresql/18/main/pg_hba.conf" line 27: "host all all ::1/128 scram-sha-256"
Date: 2026-03-31 22:19:23 Database: zp7 Application: User: deploy Remote: ::1 Log file: /var/log/postgresql/postgresql-2026-03-31_000000.csv
Detail: User "deploy" has no password assigned. Connection matched file "/etc/postgresql/18/main/pg_hba.conf" line 27: "host all all ::1/128 scram-sha-256"
Date: 2026-03-31 22:19:23 Database: zp7 Application: User: deploy Remote: ::1 Log file: /var/log/postgresql/postgresql-2026-03-31_000000.csv
12 2 ERROR: column "..." is of type bigint but expression is of type text
Times Reported Most Frequent Error / Event #12
Day Hour Count Apr 02 08 2 - ERROR: column "user" is of type bigint but expression is of type text
- ERROR: column "user" is of type bigint but expression is of type text
Hint: You will need to rewrite or cast the expression.
Statement: INSERT INTO "targetgroupMembers" (targetgroup, "user", "group") SELECT owner, NULL, 1 FROM _dzhi_fix_animals UNION ALL SELECT editor, NULL, 9 FROM _dzhi_fix_animals UNION ALL SELECT editor, NULL, 10 FROM _dzhi_fix_animals UNION ALL SELECT editor, NULL, 11 FROM _dzhi_fix_animals UNION ALL SELECT tourist, NULL, tourist_group FROM _dzhi_fix_animals;Date: 2026-04-02 07:26:29 Database: zemm_produktiv_7 Application: psql User: deploy Remote: [local] Log file: /var/log/postgresql/postgresql-2026-04-02_000000.csv
Hint: You will need to rewrite or cast the expression.
Statement: INSERT INTO "targetgroupMembers" (targetgroup, "user", "group") SELECT owner, NULL, 1 FROM _dzhi_fix_animals UNION ALL SELECT editor, NULL, 9 FROM _dzhi_fix_animals UNION ALL SELECT editor, NULL, 10 FROM _dzhi_fix_animals UNION ALL SELECT editor, NULL, 11 FROM _dzhi_fix_animals UNION ALL SELECT tourist, NULL, tourist_group FROM _dzhi_fix_animals;Date: 2026-04-02 07:27:27 Database: zemm_produktiv_7 Application: psql User: deploy Remote: [local] Log file: /var/log/postgresql/postgresql-2026-04-02_000000.csv
13 2 FATAL: Peer authentication failed for user "..."
Times Reported Most Frequent Error / Event #13
Day Hour Count Mar 29 00 1 Mar 31 02 1 - FATAL: Peer authentication failed for user "datname"
- FATAL: Peer authentication failed for user "ok"
Detail: Connection matched file "/etc/postgresql/18/main/pg_hba.conf" line 18: "local all all peer"
Date: 2026-03-29 00:02:39 Database: postgres Application: User: datname Remote: [local] Log file: /var/log/postgresql/postgresql-2026-03-29_000000.csv
Detail: Connection matched file "/etc/postgresql/18/main/pg_hba.conf" line 18: "local all all peer"
Date: 2026-03-31 01:00:53 Database: zemm_produktiv_7 Application: User: ok Remote: [local] Log file: /var/log/postgresql/postgresql-2026-03-31_000000.csv
14 2 ERROR: "..." is not a materialized view
Times Reported Most Frequent Error / Event #14
Day Hour Count Mar 31 00 2 - ERROR: "animals_search_mview" is not a materialized view
- ERROR: "cages_search_mview" is not a materialized view
Statement: REFRESH MATERIALIZED VIEW animals_search_mview;
Date: 2026-03-31 23:03:33 Database: zemm_produktiv_7 Application: psql User: deploy Remote: [local] Log file: /var/log/postgresql/postgresql-2026-03-31_000000.csv
Statement: REFRESH MATERIALIZED VIEW cages_search_mview;
Date: 2026-03-31 23:03:33 Database: zemm_produktiv_7 Application: psql User: deploy Remote: [local] Log file: /var/log/postgresql/postgresql-2026-03-31_000000.csv
15 2 LOG: could not receive data from client: Connection timed out
Times Reported Most Frequent Error / Event #15
Day Hour Count Mar 31 18 2 - LOG: could not receive data from client: Connection timed out
- LOG: could not receive data from client: Connection timed out
Date: 2026-03-31 17:25:27 Database: zemm_produktiv_8 Application: DBeaver 24.3.2 - Main 'zemm_produktiv_8' User: labanimal Remote: 94.31.109.76 Log file: /var/log/postgresql/postgresql-2026-03-31_000000.csv
Date: 2026-03-31 17:26:03 Database: zemm_produktiv_7 Application: DBeaver 24.3.2 - Main 'zemm_produktiv_7' User: labanimal Remote: 94.31.109.76 Log file: /var/log/postgresql/postgresql-2026-03-31_000000.csv
16 1 ERROR: invalid regular expression: parentheses () not balanced
Times Reported Most Frequent Error / Event #16
Day Hour Count Apr 01 11 1 - ERROR: invalid regular expression: parentheses () not balanced
Statement: SELECT COUNT(DISTINCT substring(comments from '\\[DZHI-IMPORT-v1 row=([0-9]+)\\]')) FROM animals WHERE deleted = false AND comments LIKE '%[DZHI-IMPORT-v1 row=%';
Date: 2026-04-01 10:03:06 Database: zemm_produktiv_8 Application: psql User: deploy Remote: [local] Log file: /var/log/postgresql/postgresql-2026-04-01_000000.csv
17 1 LOG: database system was shut down at ...
Times Reported Most Frequent Error / Event #17
Day Hour Count Apr 04 22 1 - LOG: database system was shut down at 2026-04-04 21:45:09 CEST
Date: 2026-04-04 21:46:36 Log file: /var/log/postgresql/postgresql-2026-04-04_214636.csv
18 1 ERROR: function p_update_genes(...) does not exist
Times Reported Most Frequent Error / Event #18
Day Hour Count Mar 31 00 1 - ERROR: function p_update_genes(integer, bigint, unknown, unknown, unknown, unknown, unknown, unknown, unknown, unknown, unknown, unknown, unknown, unknown, unknown, unknown) does not exist
Hint: No function matches the given name and argument types. You might need to add explicit type casts.
Statement: SELECT p_update_genes(1, (SELECT animal_id FROM _dzhi_import_ids WHERE row_num=2), NULL, 'ZF:TL1-myl7-eGFP', NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL);Date: 2026-03-31 23:03:33 Database: zemm_produktiv_7 Application: psql User: deploy Remote: [local] Log file: /var/log/postgresql/postgresql-2026-03-31_000000.csv
19 1 ERROR: aggregate functions are not allowed in GROUP BY
Times Reported Most Frequent Error / Event #19
Day Hour Count Mar 31 00 1 - ERROR: aggregate functions are not allowed in GROUP BY
Statement: SELECT animal, COUNT(*) as cnt FROM cost_history WHERE animal BETWEEN 10302842 AND 10303317 GROUP BY cnt ORDER BY cnt
Date: 2026-03-31 23:12:36 Database: zemm_produktiv_7 Application: psql User: deploy Remote: [local] Log file: /var/log/postgresql/postgresql-2026-03-31_000000.csv
20 1 ERROR: invalid UNION/INTERSECT/EXCEPT ORDER BY clause
Times Reported Most Frequent Error / Event #20
Day Hour Count Apr 02 09 1 - ERROR: invalid UNION/INTERSECT/EXCEPT ORDER BY clause
Detail: Only result column names can be used, not expressions or functions.
Hint: Add the expression/function to every SELECT, or move the UNION into a FROM clause.
Statement: SELECT 'all_476' AS bucket, a.deleted, a.alive, a.fate, f.loc, count(*) FROM animals a LEFT JOIN fates f ON f.id = a.fate WHERE a.comments ILIKE '%DZHI-IMPORT-v1 row%' GROUP BY bucket, a.deleted, a.alive, a.fate, f.loc UNION ALL SELECT 'missing_82' AS bucket, a.deleted, a.alive, a.fate, f.loc, count(*) FROM animals a LEFT JOIN fates f ON f.id = a.fate WHERE a.comments ILIKE '%DZHI-IMPORT-v1 row%' AND a.comments NOT LIKE '[DZHI-IMPORT-v1 row%' GROUP BY bucket, a.deleted, a.alive, a.fate, f.loc ORDER BY bucket, count(*) DESC, fate;Date: 2026-04-02 08:19:25 Database: zemm_produktiv_8 Application: psql User: deploy Remote: [local] Log file: /var/log/postgresql/postgresql-2026-04-02_000000.csv
21 1 ERROR: UNION types bigint and text cannot be matched
Times Reported Most Frequent Error / Event #21
Day Hour Count Mar 31 23 1 - ERROR: UNION types bigint and text cannot be matched
Statement: SELECT 'GROUP', g.id, g.name FROM groups g WHERE g.name ILIKE ANY(ARRAY['Ag Gerull','Ag Hofmann','Ag Maack','Ag Ramos','AG Rohde','Ag Rhode']) AND g.deleted=false UNION ALL SELECT 'USER', u.id::text, u."fullName" FROM users u WHERE u."fullName" ILIKE ANY(ARRAY['%Gerull%','%Hofmann, U%','%Maack%','%Ramos%','%Rohde%','%Rhode%']) AND u.deleted=false ORDER BY 1,3;
Date: 2026-03-31 22:43:37 Database: zemm_produktiv_7 Application: psql User: deploy Remote: [local] Log file: /var/log/postgresql/postgresql-2026-03-31_000000.csv
22 1 ERROR: canceling statement due to statement timeout
Times Reported Most Frequent Error / Event #22
Day Hour Count Apr 02 11 1 - ERROR: canceling statement due to statement timeout
Context: SQL statement "SELECT COUNT("targetgroupMembers".id) FROM "targetgroupMembers" LEFT JOIN "groupMembers" ON "groupMembers"."group" = "targetgroupMembers"."group" WHERE "targetgroupMembers"."targetgroup" = tgID AND ("targetgroupMembers"."user" = userID OR "groupMembers"."user" = userID)" PL/pgSQL function user_is_tgm(bigint,bigint) line 6 at SQL statement PL/pgSQL function animal_readable(bigint,bigint) line 33 at IF
Statement: WITH recent_users AS ( SELECT DISTINCT ON (lt."user") lt."user" AS user_id, max(lt.timestamp) OVER (PARTITION BY lt."user") AS last_seen FROM login_tracker lt JOIN users u ON u.id = lt."user" WHERE lt.timestamp >= now() - interval '90 days' AND COALESCE(u.deleted,false)=false ORDER BY lt."user", max(lt.timestamp) OVER (PARTITION BY lt."user") DESC ), top_users AS ( SELECT user_id, last_seen FROM recent_users ORDER BY last_seen DESC LIMIT 12 ) SELECT tu.user_id, to_char(tu.last_seen, 'YYYY-MM-DD HH24:MI') AS last_seen, min(u.role) AS role, count(*) FILTER (WHERE a.comments ILIKE '%DZHI-IMPORT-v1 row%' AND animal_readable(a.id, tu.user_id)) AS readable_contains, count(*) FILTER (WHERE a.comments LIKE '[%' AND animal_readable(a.id, tu.user_id)) AS readable_bracket FROM top_users tu JOIN users u ON u.id = tu.user_id JOIN animals a ON true GROUP BY tu.user_id, tu.last_seen ORDER BY tu.last_seen DESC;Date: 2026-04-02 10:32:30 Database: zemm_produktiv_7 Application: psql User: deploy Remote: [local] Log file: /var/log/postgresql/postgresql-2026-04-02_000000.csv