-
Global information
- Generated on Mon Jun 15 06:05:07 2026
- Log file: /var/log/postgresql/postgresql-2026-05-13_000000.csv, ..., /var/log/postgresql/postgresql-2026-06-15_000000.csv
- Parsed 248,614 log entries in 5m6s
- Log start from 2026-05-24 00:00:01 to 2026-05-24 23:59:03
-
Overview
Global Stats
- 24 Number of unique normalized queries
- 24,627 Number of queries
- 5d2m19s Total query duration
- 2026-05-24 00:00:01 First query
- 2026-05-24 23:59:01 Last query
- 18 queries/s at 2026-05-24 16:42:01 Query peak
- 5d2m19s Total query duration
- 0ms Prepare/parse total duration
- 0ms Bind total duration
- 5d2m19s Execute total duration
- 1 Number of events
- 1 Number of unique normalized events
- 1 Max number of times the same event was reported
- 0 Number of cancellation
- 7 Total number of automatic vacuums
- 2 Total number of automatic analyzes
- 79 Number temporary file
- 179.05 MiB Max size of temporary file
- 179.05 MiB Average size of temporary file
- 21,676 Total number of sessions
- 7 sessions at 2026-05-24 05:34:14 Session peak
- 4h17m56s Total duration of sessions
- 714ms Average duration of sessions
- 1 Average queries per session
- 19s936ms Average queries duration per session
- 0ms Average idle time per session
- 21,676 Total number of connections
- 34 connections/s at 2026-05-24 10:06:03 Connection peak
- 2 Total number of databases
SQL Traffic
Key values
- 18 queries/s Query Peak
- 2026-05-24 16:42:01 Date
SELECT Traffic
Key values
- 0 queries/s Query Peak
- Date
INSERT/UPDATE/DELETE Traffic
Key values
- 18 queries/s Query Peak
- 2026-05-24 16:42:01 Date
Queries duration
Key values
- 5d2m19s Total query duration
Prepared queries ratio
Key values
- 0.00 Ratio of bind vs prepare
- 0.00 % Ratio between prepared and "usual" statements
General Activity
↑ Back to the top of the General Activity tableDay Hour Count Min duration Max duration Avg duration Latency Percentile(90) Latency Percentile(95) Latency Percentile(99) May 24 00 1,026 0ms 19s73ms 18s358ms 5m24s 5m42s 5m43s 01 1,027 1s21ms 19s201ms 18s136ms 5m26s 5m42s 5m43s 02 1,026 18s856ms 19s297ms 19s94ms 5m39s 5m45s 5m47s 03 1,026 18s891ms 19s390ms 19s113ms 5m40s 5m44s 5m48s 04 1,026 18s891ms 19s67ms 18s965ms 5m40s 5m41s 5m43s 05 1,025 18s947ms 19s131ms 19s28ms 5m25s 5m41s 5m44s 06 1,026 18s893ms 19s373ms 19s93ms 5m41s 5m43s 5m48s 07 1,026 18s829ms 19s169ms 19s4ms 5m38s 5m41s 5m44s 08 1,026 18s492ms 19s15ms 18s607ms 5m33s 5m35s 5m41s 09 1,026 18s497ms 18s795ms 18s632ms 5m33s 5m35s 5m37s 10 1,026 18s455ms 18s795ms 18s577ms 5m32s 5m33s 5m38s 11 1,026 18s462ms 18s655ms 18s565ms 5m32s 5m34s 5m35s 12 1,025 18s308ms 18s808ms 18s532ms 5m19s 5m33s 5m38s 13 1,027 16s63ms 18s629ms 17s356ms 5m16s 5m33s 5m35s 14 1,026 16s104ms 16s234ms 16s173ms 4m49s 4m51s 4m52s 15 1,025 15s989ms 16s194ms 16s113ms 4m35s 4m50s 4m51s 16 1,026 16s33ms 16s239ms 16s118ms 4m48s 4m50s 4m52s 17 1,026 15s961ms 16s134ms 16s69ms 4m47s 4m49s 4m50s 18 1,026 16s13ms 16s245ms 16s109ms 4m48s 4m50s 4m52s 19 1,026 16s13ms 16s326ms 16s117ms 4m48s 4m50s 4m51s 20 1,026 16s21ms 16s326ms 16s133ms 4m48s 4m50s 4m53s 21 1,025 15s979ms 16s117ms 16s47ms 4m34s 4m48s 4m50s 22 1,026 16s35ms 16s178ms 16s125ms 4m48s 4m50s 4m50s 23 1,031 552ms 16s178ms 15s74ms 4m47s 4m50s 4m51s Day Hour SELECT COPY TO Average Duration Latency Percentile(90) Latency Percentile(95) Latency Percentile(99) May 24 00 0 0 0ms 0ms 0ms 0ms 01 0 0 0ms 0ms 0ms 0ms 02 0 0 0ms 0ms 0ms 0ms 03 0 0 0ms 0ms 0ms 0ms 04 0 0 0ms 0ms 0ms 0ms 05 0 0 0ms 0ms 0ms 0ms 06 0 0 0ms 0ms 0ms 0ms 07 0 0 0ms 0ms 0ms 0ms 08 0 0 0ms 0ms 0ms 0ms 09 0 0 0ms 0ms 0ms 0ms 10 0 0 0ms 0ms 0ms 0ms 11 0 0 0ms 0ms 0ms 0ms 12 0 0 0ms 0ms 0ms 0ms 13 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 0 0 0ms 0ms 0ms 0ms 18 0 0 0ms 0ms 0ms 0ms 19 0 0 0ms 0ms 0ms 0ms 20 0 0 0ms 0ms 0ms 0ms 21 0 0 0ms 0ms 0ms 0ms 22 0 0 0ms 0ms 0ms 0ms 23 0 5 1s314ms 0ms 0ms 0ms Day Hour INSERT UPDATE DELETE COPY FROM Average Duration Latency Percentile(90) Latency Percentile(95) Latency Percentile(99) May 24 00 0 0 0 0 0ms 0ms 0ms 0ms 01 0 1 0 0 1s21ms 0ms 0ms 0ms 02 0 0 0 0 0ms 0ms 0ms 0ms 03 0 0 0 0 0ms 0ms 0ms 0ms 04 0 0 0 0 0ms 0ms 0ms 0ms 05 0 0 0 0 0ms 0ms 0ms 0ms 06 0 0 0 0 0ms 0ms 0ms 0ms 07 0 0 0 0 0ms 0ms 0ms 0ms 08 0 0 0 0 0ms 0ms 0ms 0ms 09 0 0 0 0 0ms 0ms 0ms 0ms 10 0 0 0 0 0ms 0ms 0ms 0ms 11 0 0 0 0 0ms 0ms 0ms 0ms 12 0 0 0 0 0ms 0ms 0ms 0ms 13 0 0 0 0 0ms 0ms 0ms 0ms 14 0 0 0 0 0ms 0ms 0ms 0ms 15 0 0 0 0 0ms 0ms 0ms 0ms 16 0 0 0 0 0ms 0ms 0ms 0ms 17 0 0 0 0 0ms 0ms 0ms 0ms 18 0 0 0 0 0ms 0ms 0ms 0ms 19 0 0 0 0 0ms 0ms 0ms 0ms 20 0 0 0 0 0ms 0ms 0ms 0ms 21 0 0 0 0 0ms 0ms 0ms 0ms 22 0 0 0 0 0ms 0ms 0ms 0ms 23 0 0 0 0 0ms 0ms 0ms 0ms Day Hour Prepare Bind Bind/Prepare Percentage of prepare May 24 00 0 6 6.00 0.00% 01 0 6 6.00 0.00% 02 0 6 6.00 0.00% 03 0 6 6.00 0.00% 04 0 6 6.00 0.00% 05 0 5 5.00 0.00% 06 0 6 6.00 0.00% 07 0 6 6.00 0.00% 08 0 6 6.00 0.00% 09 0 6 6.00 0.00% 10 0 6 6.00 0.00% 11 0 6 6.00 0.00% 12 0 5 5.00 0.00% 13 0 7 7.00 0.00% 14 0 6 6.00 0.00% 15 0 5 5.00 0.00% 16 0 6 6.00 0.00% 17 0 6 6.00 0.00% 18 0 6 6.00 0.00% 19 0 6 6.00 0.00% 20 0 6 6.00 0.00% 21 0 5 5.00 0.00% 22 0 6 6.00 0.00% 23 0 6 6.00 0.00% Day Hour Count Average / Second May 24 00 911 0.25/s 01 912 0.25/s 02 879 0.24/s 03 909 0.25/s 04 915 0.25/s 05 878 0.24/s 06 916 0.25/s 07 912 0.25/s 08 909 0.25/s 09 893 0.25/s 10 909 0.25/s 11 920 0.26/s 12 881 0.24/s 13 933 0.26/s 14 900 0.25/s 15 893 0.25/s 16 946 0.26/s 17 916 0.25/s 18 871 0.24/s 19 900 0.25/s 20 903 0.25/s 21 897 0.25/s 22 870 0.24/s 23 903 0.25/s Day Hour Count Average Duration Average idle time May 24 00 911 1s68ms 0ms 01 912 1s75ms 0ms 02 879 1s50ms 0ms 03 909 1s94ms 0ms 04 915 1s97ms 0ms 05 878 1s58ms 0ms 06 916 1s101ms 0ms 07 912 1s54ms 0ms 08 908 949ms 0ms 09 894 1s157ms 0ms 10 909 932ms 0ms 11 920 872ms 0ms 12 881 801ms 0ms 13 933 580ms 0ms 14 900 325ms 0ms 15 893 303ms 0ms 16 946 313ms 0ms 17 916 321ms 0ms 18 871 331ms 0ms 19 900 326ms 0ms 20 903 327ms 0ms 21 896 309ms 0ms 22 871 332ms 0ms 23 903 337ms 0ms -
Connections
Established Connections
Key values
- 34 connections Connection Peak
- 2026-05-24 10:06:03 Date
Connections per database
Key values
- zemm_monitoring Main Database
- 21,676 connections Total
Connections per user
Key values
- labanimal Main User
- 21,676 connections Total
-
Sessions
Simultaneous sessions
Key values
- 7 sessions Session Peak
- 2026-05-24 05:34:14 Date
Histogram of session times
Key values
- 19,243 0-500ms duration
Sessions per database
Key values
- zemm_monitoring Main Database
- 21,676 sessions Total
Sessions per user
Key values
- labanimal Main User
- 21,676 sessions Total
Sessions per host
Key values
- ::1 Main Host
- 21,676 sessions Total
Sessions per application
Key values
- Main Application
- 21,676 sessions Total
Application Count Total Duration Average Duration 20,166 4h16m59s 764ms _desktop__zemm_produktiv_8_localhost_5432 1 53ms 53ms _desktop_index.php_command_login_subcommand_init_zemm_dev_local 7 195ms 27ms _desktop_index.php_command_login_subcommand_init_zemm_produktiv 1,460 41s764ms 28ms _desktop_index.php_command_login_subcommand_init_zemm_test_loca 3 89ms 29ms _desktop_index.php_command_reports_subcommand_animals_per_user_ 1 111ms 111ms _desktop_index.php_zemm_produktiv_8_localhost_5432 11 709ms 64ms bounces:zemm_produktiv_8@h2940066.stratoserver.net:5432 1 67ms 67ms expire_tasks:zemm_produktiv_8@h2940066.stratoserver.net:5432 1 1s48ms 1s48ms pg_dump 1 10s702ms 10s702ms taskscron:zemm_produktiv_8@h2940066.stratoserver.net:5432 24 2s541ms 105ms -
Checkpoints / Restartpoints
Checkpoints Buffers
Key values
- 19,421 buffers Checkpoint Peak
- 2026-05-24 01:37:12 Date
- 269.656 seconds Highest write time
- 0.014 seconds Sync time
Checkpoints Wal files
Key values
- 6 files Wal files usage Peak
- 2026-05-24 01:37:12 Date
Checkpoints distance
Key values
- 197.97 Mo Distance Peak
- 2026-05-24 01:37:12 Date
Checkpoints Activity
↑ Back to the top of the Checkpoint Activity tableDay Hour Written buffers Write time Sync time Total time May 24 00 7,833 783.888s 0.099s 784.048s 01 26,607 989.323s 0.095s 989.479s 02 7,864 786.66s 0.098s 786.814s 03 7,890 789.81s 0.1s 789.97s 04 7,865 787.294s 0.103s 787.451s 05 8,174 818.043s 0.1s 818.202s 06 7,539 754.636s 0.097s 754.794s 07 7,851 785.832s 0.1s 785.991s 08 8,146 815.361s 0.097s 815.518s 09 8,376 838.567s 0.102s 838.727s 10 8,148 815.656s 0.104s 815.818s 11 7,310 731.405s 0.102s 731.562s 12 7,991 800.099s 0.101s 800.262s 13 7,848 785.777s 0.103s 785.941s 14 7,739 774.5s 0.104s 774.662s 15 7,708 771.549s 0.106s 771.721s 16 7,923 793.431s 0.107s 793.594s 17 7,838 784.314s 0.1s 784.466s 18 8,259 826.642s 0.114s 826.814s 19 7,424 742.899s 0.105s 743.061s 20 7,978 798.626s 0.099s 798.786s 21 8,856 886.566s 0.104s 886.728s 22 8,798 879.922s 0.113s 880.09s 23 7,038 704.33s 0.091s 704.478s Day Hour Added Removed Recycled Synced files Longest sync Average sync May 24 00 0 0 2 534 0.001s 0.012s 01 0 0 8 516 0.001s 0.011s 02 0 0 1 518 0.001s 0.012s 03 0 0 2 523 0.002s 0.012s 04 0 0 2 538 0.003s 0.012s 05 0 0 1 538 0.002s 0.012s 06 0 0 2 528 0.001s 0.012s 07 0 0 2 534 0.001s 0.012s 08 0 0 1 527 0.001s 0.012s 09 0 0 2 526 0.003s 0.012s 10 0 0 2 542 0.003s 0.012s 11 0 0 1 535 0.002s 0.012s 12 0 0 2 534 0.002s 0.012s 13 0 0 1 526 0.002s 0.012s 14 0 0 2 532 0.002s 0.012s 15 0 0 2 537 0.003s 0.012s 16 0 0 1 549 0.003s 0.012s 17 0 0 2 534 0.001s 0.012s 18 0 0 1 543 0.003s 0.012s 19 0 0 2 504 0.003s 0.012s 20 0 0 2 520 0.002s 0.012s 21 0 0 2 538 0.003s 0.012s 22 0 0 1 534 0.004s 0.012s 23 0 0 2 477 0.002s 0.011s Day Hour Count Avg time (sec) May 24 00 0 0s 01 0 0s 02 0 0s 03 0 0s 04 0 0s 05 0 0s 06 0 0s 07 0 0s 08 0 0s 09 0 0s 10 0 0s 11 0 0s 12 0 0s 13 0 0s 14 0 0s 15 0 0s 16 0 0s 17 0 0s 18 0 0s 19 0 0s 20 0 0s 21 0 0s 22 0 0s 23 0 0s Day Hour Mean distance Mean estimate May 24 00 2,218.75 kB 2,750.50 kB 01 11,480.18 kB 39,422.64 kB 02 2,203.50 kB 37,322.00 kB 03 2,208.42 kB 12,199.50 kB 04 2,205.17 kB 5,015.58 kB 05 2,326.67 kB 3,176.58 kB 06 2,161.92 kB 2,768.17 kB 07 2,202.17 kB 2,787.92 kB 08 2,286.33 kB 2,942.75 kB 09 2,324.67 kB 3,001.67 kB 10 2,277.92 kB 2,855.08 kB 11 2,065.25 kB 2,912.67 kB 12 2,219.00 kB 2,952.00 kB 13 2,208.83 kB 2,744.33 kB 14 2,177.42 kB 2,704.42 kB 15 2,132.00 kB 2,977.83 kB 16 2,216.08 kB 3,091.92 kB 17 2,204.75 kB 2,994.50 kB 18 2,345.08 kB 2,935.83 kB 19 2,167.83 kB 2,882.08 kB 20 2,261.17 kB 3,005.00 kB 21 2,454.33 kB 3,257.17 kB 22 2,475.42 kB 3,262.17 kB 23 2,216.36 kB 2,987.55 kB -
Temporary Files
Size of temporary files
Key values
- 179.05 MiB Temp Files size Peak
- 2026-05-24 13:00:55 Date
Number of temporary files
Key values
- 1 per second Temp Files Peak
- 2026-05-24 12:19:58 Date
Temporary Files Activity
↑ Back to the top of the Temporary Files Activity tableDay Hour Count Total size Average size May 24 00 6 1.05 GiB 179.05 MiB 01 6 1.05 GiB 179.05 MiB 02 6 1.05 GiB 179.05 MiB 03 6 1.05 GiB 179.05 MiB 04 6 1.05 GiB 179.05 MiB 05 5 895.25 MiB 179.05 MiB 06 6 1.05 GiB 179.04 MiB 07 6 1.05 GiB 179.05 MiB 08 6 1.05 GiB 179.05 MiB 09 6 1.05 GiB 179.05 MiB 10 6 1.05 GiB 179.05 MiB 11 6 1.05 GiB 179.05 MiB 12 5 895.25 MiB 179.05 MiB 13 3 537.16 MiB 179.05 MiB 14 0 0 0 15 0 0 0 16 0 0 0 17 0 0 0 18 0 0 0 19 0 0 0 20 0 0 0 21 0 0 0 22 0 0 0 23 0 0 0 -
Vacuums
Vacuums / Analyzes Distribution
Key values
- 0.62 sec Highest CPU-cost vacuum
Table public.tasks
Database zemm_produktiv_8 - 2026-05-24 01:30:20 Date
- 0 sec Highest CPU-cost analyze
Table
Database zemm_produktiv_8 - Date
Average Autovacuum Duration
Key values
- 0.62 sec Highest CPU-cost vacuum
Table public.tasks
Database zemm_produktiv_8 - 2026-05-24 01:30:20 Date
Analyzes per table
Key values
- observability.metrics_timeseries (1) Main table analyzed (database zemm_monitoring)
- 2 analyzes Total
Vacuums per table
Key values
- pg_toast.pg_toast_67431 (4) Main table vacuumed on database zemm_monitoring
- 7 vacuums Total
Index Buffer usage Skipped WAL usage Frozen Table Vacuums scans hits misses dirtied pins frozen records full page bytes pages tuples zemm_monitoring.pg_toast.pg_toast_67431 4 0 0 0 0 0 0 4,680 1,574 3,577,200 1,551 9,306 zemm_monitoring.pg_toast.pg_toast_181881 2 0 0 0 0 0 0 613 210 1,042,284 201 1,011 zemm_produktiv_8.public.tasks 1 1 0 0 0 0 0 48,754 8 3,499,384 0 0 Total 7 1 0 0 0 0 0 54,047 1,792 8,118,868 1,752 10,317 Vacuum throughput per table
Key values
- public.tasks (0.62) Max CPU elapsed for vacuum on database zemm_produktiv_8
- public.tasks (0.702 ms) Max I/O read time for vacuum on database zemm_produktiv_8
- unknown (0 ms) Max I/O write time for vacuum on database zemm_produktiv_8
Tuples removed per table
Key values
- public.tasks (54665) Main table with removed tuples on database zemm_produktiv_8
- 54665 tuples Total removed
Pages removed per table
Key values
- unknown (0) Main table with removed pages on database unknown
- 0 pages Total removed
Autovacuum Activity
↑ Back to the top of the Autovacuum Activity tableDay Hour VACUUMs ANALYZEs May 24 00 0 0 01 1 1 02 1 0 03 0 0 04 0 0 05 0 0 06 0 0 07 0 0 08 1 0 09 1 0 10 0 1 11 0 0 12 0 0 13 0 0 14 0 0 15 1 0 16 0 0 17 0 0 18 1 0 19 0 0 20 0 0 21 0 0 22 1 0 23 0 0 - 0.62 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
- 0 Total read queries
- 24,627 Total write queries
Queries by database
Key values
- zemm_monitoring Main database
- 24,621 Requests
- 5d2m11s (zemm_monitoring)
- Main time consuming database
Queries by user
Key values
- monitoring_admin Main user
- 295,409 Requests
User Request type Count Duration labanimal Total 1,036 26m36s copy to 8 22s808ms cte 172 4m5s select 844 21m54s update 12 13s256ms monitoring_admin Total 295,409 15d3h58m39s cte 835 2h17m35s ddl 293,722 15d1h28m49s select 847 12m10s postgres Total 63 1m29s copy to 63 1m29s Duration by user
Key values
- 15d3h58m39s (monitoring_admin) Main time consuming user
User Request type Count Duration labanimal Total 1,036 26m36s copy to 8 22s808ms cte 172 4m5s select 844 21m54s update 12 13s256ms monitoring_admin Total 295,409 15d3h58m39s cte 835 2h17m35s ddl 293,722 15d1h28m49s select 847 12m10s postgres Total 63 1m29s copy to 63 1m29s Queries by host
Key values
- unknown Main host
- 296,433 Requests
- 15d4h25m3s (unknown)
- Main time consuming host
Queries by application
Key values
- unknown Main application
- 24,621 Requests
- 5d2m11s (unknown)
- Main time consuming application
Number of cancelled queries
Key values
- 0 per second Cancelled query Peak
- 2026-05-24 20:58:22 Date
Number of cancelled queries (5 minutes period)
NO DATASET
-
Top Queries
Histogram of query times
Key values
- 141 > 10000ms duration
Slowest individual queries
Rank Duration Query 1 19s390ms WITH start_snap AS ( SELECT DISTINCT ON (tenant_key, fingerprint) tenant_key, fingerprint, total_time_ms, calls, rows_returned, collected_at FROM observability.db_top_queries WHERE tenant_key IN ('prod', 'live') AND collected_at >= '2026-05-19 03:25:54+02' AND collected_at <= '2026-05-21 03:25:54+02' ORDER BY tenant_key, fingerprint, collected_at DESC ), fallback_start AS ( SELECT DISTINCT ON (tenant_key, fingerprint) tenant_key, fingerprint, total_time_ms, calls, rows_returned, collected_at FROM observability.db_top_queries WHERE tenant_key IN ('prod', 'live') AND collected_at BETWEEN '2026-05-21 03:25:54+02' AND '2026-05-24 03:25:54+02' ORDER BY tenant_key, fingerprint, collected_at ASC ), end_snap AS ( SELECT DISTINCT ON (tenant_key, fingerprint) tenant_key, fingerprint, query, total_time_ms, calls, rows_returned, collected_at FROM observability.db_top_queries WHERE tenant_key IN ('prod', 'live') AND collected_at BETWEEN '2026-05-21 03:25:54+02' AND '2026-05-24 03:25:54+02' ORDER BY tenant_key, fingerprint, collected_at DESC ), deltas AS ( SELECT e.tenant_key, e.fingerprint, e.query, e.collected_at AS last_seen, GREATEST (COALESCE(e.total_time_ms, 0) - COALESCE(s.total_time_ms, fs.total_time_ms, 0), 0) AS total_time_ms, GREATEST (COALESCE(e.calls, 0) - COALESCE(s.calls, fs.calls, 0), 0) AS calls, GREATEST (COALESCE(e.rows_returned, 0) - COALESCE(s.rows_returned, fs.rows_returned, 0), 0) AS rows_returned FROM end_snap e LEFT JOIN start_snap s ON s.tenant_key = e.tenant_key AND s.fingerprint = e.fingerprint LEFT JOIN fallback_start fs ON fs.tenant_key = e.tenant_key AND fs.fingerprint = e.fingerprint AND s.tenant_key IS NULL ) SELECT fingerprint, MAX(query) AS query, MAX(last_seen) AS last_seen, SUM(total_time_ms) AS total_time_ms, SUM(calls) AS calls, SUM(rows_returned) AS rows_returned, CASE WHEN SUM(calls) > 0 THEN SUM(total_time_ms) / SUM(calls) ELSE 0 END AS mean_time_ms, array_agg(DISTINCT tenant_key ORDER BY tenant_key) AS tenant_keys FROM deltas WHERE total_time_ms > 0 OR calls > 0 GROUP BY fingerprint ORDER BY total_time_ms DESC, calls DESC LIMIT '20' OFFSET '0';[ Date: 2026-05-24 03:26:13 - Database: zemm_monitoring - User: monitoring_admin - Bind query: yes ]
2 19s390ms CREATE SCHEMA IF NOT EXISTS observability;[ Date: 2026-05-24 03:27:01 - Database: zemm_monitoring - User: monitoring_admin - Bind query: yes ]
3 19s390ms CREATE TABLE IF NOT EXISTS observability.metrics_timeseries ( id bigserial PRIMARY KEY, tenant_key text NOT NULL, metric_name text NOT NULL, bucket_start timestamptz NOT NULL, bucket_width_seconds integer NOT NULL DEFAULT 60, sum_value double precision NOT NULL DEFAULT 0, count_value bigint NOT NULL DEFAULT 0, histogram jsonb, created_at timestamptz NOT NULL DEFAULT NOW(), updated_at timestamptz NOT NULL DEFAULT NOW(), UNIQUE (tenant_key, metric_name, bucket_start, bucket_width_seconds) );[ Date: 2026-05-24 03:27:01 - Database: zemm_monitoring - User: monitoring_admin - Bind query: yes ]
4 19s390ms CREATE INDEX IF NOT EXISTS idx_metrics_timeseries_bucket ON observability.metrics_timeseries (bucket_start);[ Date: 2026-05-24 03:27:01 - Database: zemm_monitoring - User: monitoring_admin - Bind query: yes ]
5 19s390ms CREATE INDEX IF NOT EXISTS idx_metrics_timeseries_metric ON observability.metrics_timeseries (metric_name);[ Date: 2026-05-24 03:27:01 - Database: zemm_monitoring - User: monitoring_admin - Bind query: yes ]
6 19s390ms CREATE TABLE IF NOT EXISTS observability.app_events ( id bigserial PRIMARY KEY, tenant_key text NOT NULL, event_type text NOT NULL, severity text NOT NULL, message text NOT NULL, payload jsonb, occurred_at timestamptz NOT NULL DEFAULT NOW(), created_at timestamptz NOT NULL DEFAULT NOW() );[ Date: 2026-05-24 03:27:01 - Database: zemm_monitoring - User: monitoring_admin - Bind query: yes ]
7 19s390ms CREATE INDEX IF NOT EXISTS idx_app_events_tenant ON observability.app_events (tenant_key, occurred_at DESC);[ Date: 2026-05-24 03:27:01 - Database: zemm_monitoring - User: monitoring_admin - Bind query: yes ]
8 19s390ms CREATE INDEX IF NOT EXISTS idx_app_events_type ON observability.app_events (event_type);[ Date: 2026-05-24 03:27:01 - Database: zemm_monitoring - User: monitoring_admin - Bind query: yes ]
9 19s390ms CREATE TABLE IF NOT EXISTS observability.db_top_queries ( id bigserial PRIMARY KEY, tenant_key text NOT NULL, fingerprint text, query text, mean_time_ms double precision, total_time_ms double precision, calls bigint, rows_returned bigint, collected_at timestamptz NOT NULL DEFAULT NOW() );[ Date: 2026-05-24 03:27:01 - Database: zemm_monitoring - User: monitoring_admin - Bind query: yes ]
10 19s390ms CREATE INDEX IF NOT EXISTS idx_db_top_queries_tenant ON observability.db_top_queries (tenant_key, collected_at DESC);[ Date: 2026-05-24 03:27:01 - Database: zemm_monitoring - User: monitoring_admin - Bind query: yes ]
11 19s390ms CREATE TABLE IF NOT EXISTS observability.nginx_counters ( id bigserial PRIMARY KEY, payload jsonb NOT NULL, collected_at timestamptz NOT NULL DEFAULT NOW() );[ Date: 2026-05-24 03:27:01 - Database: zemm_monitoring - User: monitoring_admin - Bind query: yes ]
12 19s390ms CREATE TABLE IF NOT EXISTS observability.phpfpm_counters ( id bigserial PRIMARY KEY, payload jsonb NOT NULL, collected_at timestamptz NOT NULL DEFAULT NOW() );[ Date: 2026-05-24 03:27:01 - Database: zemm_monitoring - User: monitoring_admin - Bind query: yes ]
13 19s390ms CREATE TABLE IF NOT EXISTS observability.system_metrics ( id bigserial PRIMARY KEY, payload jsonb NOT NULL, collected_at timestamptz NOT NULL DEFAULT NOW() );[ Date: 2026-05-24 03:27:01 - Database: zemm_monitoring - User: monitoring_admin - Bind query: yes ]
14 19s390ms CREATE TABLE IF NOT EXISTS observability.uptime_checks ( id bigserial PRIMARY KEY, endpoint text NOT NULL, status text NOT NULL, latency_ms double precision, checked_at timestamptz NOT NULL DEFAULT NOW() );[ Date: 2026-05-24 03:27:01 - Database: zemm_monitoring - User: monitoring_admin - Bind query: yes ]
15 19s390ms ALTER TABLE observability.uptime_checks ADD COLUMN IF NOT EXISTS label text;[ Date: 2026-05-24 03:27:01 - Database: zemm_monitoring - User: monitoring_admin - Bind query: yes ]
16 19s390ms ALTER TABLE observability.uptime_checks ADD COLUMN IF NOT EXISTS payload jsonb;[ Date: 2026-05-24 03:27:01 - Database: zemm_monitoring - User: monitoring_admin - Bind query: yes ]
17 19s390ms CREATE INDEX IF NOT EXISTS idx_uptime_checks_endpoint ON observability.uptime_checks (endpoint, checked_at DESC);[ Date: 2026-05-24 03:27:01 - Database: zemm_monitoring - User: monitoring_admin - Bind query: yes ]
18 19s390ms CREATE INDEX IF NOT EXISTS idx_uptime_checks_key ON observability.uptime_checks (check_key, checked_at DESC);[ Date: 2026-05-24 03:27:01 - Database: zemm_monitoring - User: monitoring_admin - Bind query: yes ]
19 19s390ms CREATE SCHEMA IF NOT EXISTS observability;[ Date: 2026-05-24 03:28:01 - Database: zemm_monitoring - User: monitoring_admin - Bind query: yes ]
20 19s390ms CREATE TABLE IF NOT EXISTS observability.metrics_timeseries ( id bigserial PRIMARY KEY, tenant_key text NOT NULL, metric_name text NOT NULL, bucket_start timestamptz NOT NULL, bucket_width_seconds integer NOT NULL DEFAULT 60, sum_value double precision NOT NULL DEFAULT 0, count_value bigint NOT NULL DEFAULT 0, histogram jsonb, created_at timestamptz NOT NULL DEFAULT NOW(), updated_at timestamptz NOT NULL DEFAULT NOW(), UNIQUE (tenant_key, metric_name, bucket_start, bucket_width_seconds) );[ Date: 2026-05-24 03:28:01 - Database: zemm_monitoring - User: monitoring_admin - Bind query: yes ]
Time consuming queries (N)
Rank Total duration Times executed Min duration Max duration Avg duration Query 1 7h1m13s 1,440 1s21ms 19s390ms 17s550ms 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 #1
Day Hour Count Duration Avg duration May 24 01 60 18m21s 18s354ms 02 60 18m8s 18s147ms 03 60 19m5s 19s94ms 04 60 19m6s 19s113ms 05 60 18m57s 18s965ms 06 60 19m1s 19s28ms 07 60 19m5s 19s93ms 08 60 19m 19s4ms 09 60 18m36s 18s607ms 10 60 18m37s 18s631ms 11 60 18m34s 18s577ms 12 60 18m33s 18s565ms 13 60 18m31s 18s532ms 14 60 17m21s 17s357ms 15 60 16m10s 16s173ms 16 60 16m6s 16s113ms 17 60 16m7s 16s118ms 18 60 16m4s 16s69ms 19 60 16m6s 16s109ms 20 60 16m7s 16s117ms 21 60 16m8s 16s134ms 22 60 16m2s 16s47ms 23 60 16m7s 16s125ms 00 60 15m8s 15s136ms [ User: monitoring_admin - Total duration: 7h1m13s - Times executed: 1438 ]
-
CREATE INDEX IF NOT EXISTS idx_db_top_queries_tenant ON observability.db_top_queries (tenant_key, collected_at DESC);
Date: 2026-05-24 03:36:01 Duration: 19s390ms Database: zemm_monitoring User: monitoring_admin Bind query: yes Log file: /var/log/postgresql/postgresql-2026-05-24_000000.csv
-
CREATE INDEX IF NOT EXISTS idx_db_top_queries_tenant ON observability.db_top_queries (tenant_key, collected_at DESC);
Date: 2026-05-24 06:10:01 Duration: 19s373ms Database: zemm_monitoring User: monitoring_admin Bind query: yes Log file: /var/log/postgresql/postgresql-2026-05-24_000000.csv
-
CREATE INDEX IF NOT EXISTS idx_db_top_queries_tenant ON observability.db_top_queries (tenant_key, collected_at DESC);
Date: 2026-05-24 02:45:01 Duration: 19s297ms Database: zemm_monitoring User: monitoring_admin Bind query: yes Log file: /var/log/postgresql/postgresql-2026-05-24_000000.csv
2 7h1m13s 1,440 1s21ms 19s390ms 17s550ms create index if not exists idx_uptime_checks_endpoint on observability.uptime_checks (endpoint, checked_at desc);Times Reported Time consuming queries #2
Day Hour Count Duration Avg duration May 24 01 60 18m21s 18s354ms 02 60 18m8s 18s147ms 03 60 19m5s 19s94ms 04 60 19m6s 19s113ms 05 60 18m57s 18s965ms 06 60 19m1s 19s28ms 07 60 19m5s 19s93ms 08 60 19m 19s4ms 09 60 18m36s 18s607ms 10 60 18m37s 18s631ms 11 60 18m34s 18s577ms 12 60 18m33s 18s565ms 13 60 18m31s 18s532ms 14 60 17m21s 17s357ms 15 60 16m10s 16s173ms 16 60 16m6s 16s113ms 17 60 16m7s 16s118ms 18 60 16m4s 16s69ms 19 60 16m6s 16s109ms 20 60 16m7s 16s117ms 21 60 16m8s 16s134ms 22 60 16m2s 16s47ms 23 60 16m7s 16s125ms 00 60 15m8s 15s136ms [ User: monitoring_admin - Total duration: 7h1m13s - Times executed: 1438 ]
-
CREATE INDEX IF NOT EXISTS idx_uptime_checks_endpoint ON observability.uptime_checks (endpoint, checked_at DESC);
Date: 2026-05-24 03:36:01 Duration: 19s390ms Database: zemm_monitoring User: monitoring_admin Bind query: yes Log file: /var/log/postgresql/postgresql-2026-05-24_000000.csv
-
CREATE INDEX IF NOT EXISTS idx_uptime_checks_endpoint ON observability.uptime_checks (endpoint, checked_at DESC);
Date: 2026-05-24 06:10:01 Duration: 19s373ms Database: zemm_monitoring User: monitoring_admin Bind query: yes Log file: /var/log/postgresql/postgresql-2026-05-24_000000.csv
-
CREATE INDEX IF NOT EXISTS idx_uptime_checks_endpoint ON observability.uptime_checks (endpoint, checked_at DESC);
Date: 2026-05-24 02:45:01 Duration: 19s297ms Database: zemm_monitoring User: monitoring_admin Bind query: yes Log file: /var/log/postgresql/postgresql-2026-05-24_000000.csv
3 7h1m13s 1,440 1s21ms 19s390ms 17s550ms 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 #3
Day Hour Count Duration Avg duration May 24 01 60 18m21s 18s354ms 02 60 18m8s 18s147ms 03 60 19m5s 19s94ms 04 60 19m6s 19s113ms 05 60 18m57s 18s965ms 06 60 19m1s 19s28ms 07 60 19m5s 19s93ms 08 60 19m 19s4ms 09 60 18m36s 18s607ms 10 60 18m37s 18s631ms 11 60 18m34s 18s577ms 12 60 18m33s 18s565ms 13 60 18m31s 18s532ms 14 60 17m21s 17s357ms 15 60 16m10s 16s173ms 16 60 16m6s 16s113ms 17 60 16m7s 16s118ms 18 60 16m4s 16s69ms 19 60 16m6s 16s109ms 20 60 16m7s 16s117ms 21 60 16m8s 16s134ms 22 60 16m2s 16s47ms 23 60 16m7s 16s125ms 00 60 15m8s 15s136ms [ User: monitoring_admin - Total duration: 7h1m13s - Times executed: 1438 ]
-
CREATE TABLE IF NOT EXISTS observability.app_events ( id bigserial PRIMARY KEY, tenant_key text NOT NULL, event_type text NOT NULL, severity text NOT NULL, message text NOT NULL, payload jsonb, occurred_at timestamptz NOT NULL DEFAULT NOW(), created_at timestamptz NOT NULL DEFAULT NOW() );
Date: 2026-05-24 03:36:01 Duration: 19s390ms Database: zemm_monitoring User: monitoring_admin Bind query: yes Log file: /var/log/postgresql/postgresql-2026-05-24_000000.csv
-
CREATE TABLE IF NOT EXISTS observability.app_events ( id bigserial PRIMARY KEY, tenant_key text NOT NULL, event_type text NOT NULL, severity text NOT NULL, message text NOT NULL, payload jsonb, occurred_at timestamptz NOT NULL DEFAULT NOW(), created_at timestamptz NOT NULL DEFAULT NOW() );
Date: 2026-05-24 06:10:01 Duration: 19s373ms Database: zemm_monitoring User: monitoring_admin Bind query: yes Log file: /var/log/postgresql/postgresql-2026-05-24_000000.csv
-
CREATE TABLE IF NOT EXISTS observability.app_events ( id bigserial PRIMARY KEY, tenant_key text NOT NULL, event_type text NOT NULL, severity text NOT NULL, message text NOT NULL, payload jsonb, occurred_at timestamptz NOT NULL DEFAULT NOW(), created_at timestamptz NOT NULL DEFAULT NOW() );
Date: 2026-05-24 02:45:01 Duration: 19s297ms Database: zemm_monitoring User: monitoring_admin Bind query: yes Log file: /var/log/postgresql/postgresql-2026-05-24_000000.csv
4 7h1m13s 1,440 1s21ms 19s390ms 17s550ms create index if not exists idx_app_events_tenant on observability.app_events (tenant_key, occurred_at desc);Times Reported Time consuming queries #4
Day Hour Count Duration Avg duration May 24 01 60 18m21s 18s354ms 02 60 18m8s 18s147ms 03 60 19m5s 19s94ms 04 60 19m6s 19s113ms 05 60 18m57s 18s965ms 06 60 19m1s 19s28ms 07 60 19m5s 19s93ms 08 60 19m 19s4ms 09 60 18m36s 18s607ms 10 60 18m37s 18s631ms 11 60 18m34s 18s577ms 12 60 18m33s 18s565ms 13 60 18m31s 18s532ms 14 60 17m21s 17s357ms 15 60 16m10s 16s173ms 16 60 16m6s 16s113ms 17 60 16m7s 16s118ms 18 60 16m4s 16s69ms 19 60 16m6s 16s109ms 20 60 16m7s 16s117ms 21 60 16m8s 16s134ms 22 60 16m2s 16s47ms 23 60 16m7s 16s125ms 00 60 15m8s 15s136ms [ User: monitoring_admin - Total duration: 7h1m13s - Times executed: 1438 ]
-
CREATE INDEX IF NOT EXISTS idx_app_events_tenant ON observability.app_events (tenant_key, occurred_at DESC);
Date: 2026-05-24 03:36:01 Duration: 19s390ms Database: zemm_monitoring User: monitoring_admin Bind query: yes Log file: /var/log/postgresql/postgresql-2026-05-24_000000.csv
-
CREATE INDEX IF NOT EXISTS idx_app_events_tenant ON observability.app_events (tenant_key, occurred_at DESC);
Date: 2026-05-24 06:10:01 Duration: 19s373ms Database: zemm_monitoring User: monitoring_admin Bind query: yes Log file: /var/log/postgresql/postgresql-2026-05-24_000000.csv
-
CREATE INDEX IF NOT EXISTS idx_app_events_tenant ON observability.app_events (tenant_key, occurred_at DESC);
Date: 2026-05-24 02:45:01 Duration: 19s297ms Database: zemm_monitoring User: monitoring_admin Bind query: yes Log file: /var/log/postgresql/postgresql-2026-05-24_000000.csv
5 7h1m13s 1,440 1s21ms 19s390ms 17s550ms create index if not exists idx_uptime_checks_key on observability.uptime_checks (check_key, checked_at desc);Times Reported Time consuming queries #5
Day Hour Count Duration Avg duration May 24 01 60 18m21s 18s354ms 02 60 18m8s 18s147ms 03 60 19m5s 19s94ms 04 60 19m6s 19s113ms 05 60 18m57s 18s965ms 06 60 19m1s 19s28ms 07 60 19m5s 19s93ms 08 60 19m 19s4ms 09 60 18m36s 18s607ms 10 60 18m37s 18s631ms 11 60 18m34s 18s577ms 12 60 18m33s 18s565ms 13 60 18m31s 18s532ms 14 60 17m21s 17s357ms 15 60 16m10s 16s173ms 16 60 16m6s 16s113ms 17 60 16m7s 16s118ms 18 60 16m4s 16s69ms 19 60 16m6s 16s109ms 20 60 16m7s 16s117ms 21 60 16m8s 16s134ms 22 60 16m2s 16s47ms 23 60 16m7s 16s125ms 00 60 15m8s 15s136ms [ User: monitoring_admin - Total duration: 7h1m13s - Times executed: 1438 ]
-
CREATE INDEX IF NOT EXISTS idx_uptime_checks_key ON observability.uptime_checks (check_key, checked_at DESC);
Date: 2026-05-24 03:36:01 Duration: 19s390ms Database: zemm_monitoring User: monitoring_admin Bind query: yes Log file: /var/log/postgresql/postgresql-2026-05-24_000000.csv
-
CREATE INDEX IF NOT EXISTS idx_uptime_checks_key ON observability.uptime_checks (check_key, checked_at DESC);
Date: 2026-05-24 06:10:01 Duration: 19s373ms Database: zemm_monitoring User: monitoring_admin Bind query: yes Log file: /var/log/postgresql/postgresql-2026-05-24_000000.csv
-
CREATE INDEX IF NOT EXISTS idx_uptime_checks_key ON observability.uptime_checks (check_key, checked_at DESC);
Date: 2026-05-24 02:45:01 Duration: 19s297ms Database: zemm_monitoring User: monitoring_admin Bind query: yes Log file: /var/log/postgresql/postgresql-2026-05-24_000000.csv
6 7h1m13s 1,440 1s21ms 19s390ms 17s550ms create schema if not exists observability;Times Reported Time consuming queries #6
Day Hour Count Duration Avg duration May 24 01 60 18m21s 18s354ms 02 60 18m8s 18s147ms 03 60 19m5s 19s94ms 04 60 19m6s 19s113ms 05 60 18m57s 18s965ms 06 60 19m1s 19s28ms 07 60 19m5s 19s93ms 08 60 19m 19s4ms 09 60 18m36s 18s607ms 10 60 18m37s 18s631ms 11 60 18m34s 18s577ms 12 60 18m33s 18s565ms 13 60 18m31s 18s532ms 14 60 17m21s 17s357ms 15 60 16m10s 16s173ms 16 60 16m6s 16s113ms 17 60 16m7s 16s118ms 18 60 16m4s 16s69ms 19 60 16m6s 16s109ms 20 60 16m7s 16s117ms 21 60 16m8s 16s134ms 22 60 16m2s 16s47ms 23 60 16m7s 16s125ms 00 60 15m8s 15s136ms [ User: monitoring_admin - Total duration: 7h1m13s - Times executed: 1438 ]
-
CREATE SCHEMA IF NOT EXISTS observability;
Date: 2026-05-24 03:36:01 Duration: 19s390ms Database: zemm_monitoring User: monitoring_admin Bind query: yes Log file: /var/log/postgresql/postgresql-2026-05-24_000000.csv
-
CREATE SCHEMA IF NOT EXISTS observability;
Date: 2026-05-24 06:10:01 Duration: 19s373ms Database: zemm_monitoring User: monitoring_admin Bind query: yes Log file: /var/log/postgresql/postgresql-2026-05-24_000000.csv
-
CREATE SCHEMA IF NOT EXISTS observability;
Date: 2026-05-24 02:45:01 Duration: 19s297ms Database: zemm_monitoring User: monitoring_admin Bind query: yes Log file: /var/log/postgresql/postgresql-2026-05-24_000000.csv
7 7h1m13s 1,440 1s21ms 19s390ms 17s550ms create table if not exists observability.metrics_timeseries ( id bigserial primary key, tenant_key text not null, metric_name text not null, bucket_start timestamptz not null, bucket_width_seconds integer not null default ?, sum_value double precision not null default ?, count_value bigint not null default ?, histogram jsonb, created_at timestamptz not null default now(), updated_at timestamptz not null default now(), unique (tenant_key, metric_name, bucket_start, bucket_width_seconds) );Times Reported Time consuming queries #7
Day Hour Count Duration Avg duration May 24 01 60 18m21s 18s354ms 02 60 18m8s 18s147ms 03 60 19m5s 19s94ms 04 60 19m6s 19s113ms 05 60 18m57s 18s965ms 06 60 19m1s 19s28ms 07 60 19m5s 19s93ms 08 60 19m 19s4ms 09 60 18m36s 18s607ms 10 60 18m37s 18s631ms 11 60 18m34s 18s577ms 12 60 18m33s 18s565ms 13 60 18m31s 18s532ms 14 60 17m21s 17s357ms 15 60 16m10s 16s173ms 16 60 16m6s 16s113ms 17 60 16m7s 16s118ms 18 60 16m4s 16s69ms 19 60 16m6s 16s109ms 20 60 16m7s 16s117ms 21 60 16m8s 16s134ms 22 60 16m2s 16s47ms 23 60 16m7s 16s125ms 00 60 15m8s 15s136ms [ User: monitoring_admin - Total duration: 7h1m13s - Times executed: 1438 ]
-
CREATE TABLE IF NOT EXISTS observability.metrics_timeseries ( id bigserial PRIMARY KEY, tenant_key text NOT NULL, metric_name text NOT NULL, bucket_start timestamptz NOT NULL, bucket_width_seconds integer NOT NULL DEFAULT 60, sum_value double precision NOT NULL DEFAULT 0, count_value bigint NOT NULL DEFAULT 0, histogram jsonb, created_at timestamptz NOT NULL DEFAULT NOW(), updated_at timestamptz NOT NULL DEFAULT NOW(), UNIQUE (tenant_key, metric_name, bucket_start, bucket_width_seconds) );
Date: 2026-05-24 03:36:01 Duration: 19s390ms Database: zemm_monitoring User: monitoring_admin Bind query: yes Log file: /var/log/postgresql/postgresql-2026-05-24_000000.csv
-
CREATE TABLE IF NOT EXISTS observability.metrics_timeseries ( id bigserial PRIMARY KEY, tenant_key text NOT NULL, metric_name text NOT NULL, bucket_start timestamptz NOT NULL, bucket_width_seconds integer NOT NULL DEFAULT 60, sum_value double precision NOT NULL DEFAULT 0, count_value bigint NOT NULL DEFAULT 0, histogram jsonb, created_at timestamptz NOT NULL DEFAULT NOW(), updated_at timestamptz NOT NULL DEFAULT NOW(), UNIQUE (tenant_key, metric_name, bucket_start, bucket_width_seconds) );
Date: 2026-05-24 06:10:01 Duration: 19s373ms Database: zemm_monitoring User: monitoring_admin Bind query: yes Log file: /var/log/postgresql/postgresql-2026-05-24_000000.csv
-
CREATE TABLE IF NOT EXISTS observability.metrics_timeseries ( id bigserial PRIMARY KEY, tenant_key text NOT NULL, metric_name text NOT NULL, bucket_start timestamptz NOT NULL, bucket_width_seconds integer NOT NULL DEFAULT 60, sum_value double precision NOT NULL DEFAULT 0, count_value bigint NOT NULL DEFAULT 0, histogram jsonb, created_at timestamptz NOT NULL DEFAULT NOW(), updated_at timestamptz NOT NULL DEFAULT NOW(), UNIQUE (tenant_key, metric_name, bucket_start, bucket_width_seconds) );
Date: 2026-05-24 02:45:01 Duration: 19s297ms Database: zemm_monitoring User: monitoring_admin Bind query: yes Log file: /var/log/postgresql/postgresql-2026-05-24_000000.csv
8 7h1m13s 1,440 1s21ms 19s390ms 17s550ms alter table observability.uptime_checks add column if not exists label text;Times Reported Time consuming queries #8
Day Hour Count Duration Avg duration May 24 01 60 18m21s 18s354ms 02 60 18m8s 18s147ms 03 60 19m5s 19s94ms 04 60 19m6s 19s113ms 05 60 18m57s 18s965ms 06 60 19m1s 19s28ms 07 60 19m5s 19s93ms 08 60 19m 19s4ms 09 60 18m36s 18s607ms 10 60 18m37s 18s631ms 11 60 18m34s 18s577ms 12 60 18m33s 18s565ms 13 60 18m31s 18s532ms 14 60 17m21s 17s357ms 15 60 16m10s 16s173ms 16 60 16m6s 16s113ms 17 60 16m7s 16s118ms 18 60 16m4s 16s69ms 19 60 16m6s 16s109ms 20 60 16m7s 16s117ms 21 60 16m8s 16s134ms 22 60 16m2s 16s47ms 23 60 16m7s 16s125ms 00 60 15m8s 15s136ms [ User: monitoring_admin - Total duration: 7h1m13s - Times executed: 1438 ]
-
ALTER TABLE observability.uptime_checks ADD COLUMN IF NOT EXISTS label text;
Date: 2026-05-24 03:36:01 Duration: 19s390ms Database: zemm_monitoring User: monitoring_admin Bind query: yes Log file: /var/log/postgresql/postgresql-2026-05-24_000000.csv
-
ALTER TABLE observability.uptime_checks ADD COLUMN IF NOT EXISTS label text;
Date: 2026-05-24 06:10:01 Duration: 19s373ms Database: zemm_monitoring User: monitoring_admin Bind query: yes Log file: /var/log/postgresql/postgresql-2026-05-24_000000.csv
-
ALTER TABLE observability.uptime_checks ADD COLUMN IF NOT EXISTS label text;
Date: 2026-05-24 02:45:01 Duration: 19s297ms Database: zemm_monitoring User: monitoring_admin Bind query: yes Log file: /var/log/postgresql/postgresql-2026-05-24_000000.csv
9 7h1m13s 1,440 1s21ms 19s390ms 17s550ms create table if not exists observability.phpfpm_counters ( id bigserial primary key, payload jsonb not null, collected_at timestamptz not null default now() );Times Reported Time consuming queries #9
Day Hour Count Duration Avg duration May 24 01 60 18m21s 18s354ms 02 60 18m8s 18s147ms 03 60 19m5s 19s94ms 04 60 19m6s 19s113ms 05 60 18m57s 18s965ms 06 60 19m1s 19s28ms 07 60 19m5s 19s93ms 08 60 19m 19s4ms 09 60 18m36s 18s607ms 10 60 18m37s 18s631ms 11 60 18m34s 18s577ms 12 60 18m33s 18s565ms 13 60 18m31s 18s532ms 14 60 17m21s 17s357ms 15 60 16m10s 16s173ms 16 60 16m6s 16s113ms 17 60 16m7s 16s118ms 18 60 16m4s 16s69ms 19 60 16m6s 16s109ms 20 60 16m7s 16s117ms 21 60 16m8s 16s134ms 22 60 16m2s 16s47ms 23 60 16m7s 16s125ms 00 60 15m8s 15s136ms [ User: monitoring_admin - Total duration: 7h1m13s - Times executed: 1438 ]
-
CREATE TABLE IF NOT EXISTS observability.phpfpm_counters ( id bigserial PRIMARY KEY, payload jsonb NOT NULL, collected_at timestamptz NOT NULL DEFAULT NOW() );
Date: 2026-05-24 03:36:01 Duration: 19s390ms Database: zemm_monitoring User: monitoring_admin Bind query: yes Log file: /var/log/postgresql/postgresql-2026-05-24_000000.csv
-
CREATE TABLE IF NOT EXISTS observability.phpfpm_counters ( id bigserial PRIMARY KEY, payload jsonb NOT NULL, collected_at timestamptz NOT NULL DEFAULT NOW() );
Date: 2026-05-24 06:10:01 Duration: 19s373ms Database: zemm_monitoring User: monitoring_admin Bind query: yes Log file: /var/log/postgresql/postgresql-2026-05-24_000000.csv
-
CREATE TABLE IF NOT EXISTS observability.phpfpm_counters ( id bigserial PRIMARY KEY, payload jsonb NOT NULL, collected_at timestamptz NOT NULL DEFAULT NOW() );
Date: 2026-05-24 02:45:01 Duration: 19s297ms Database: zemm_monitoring User: monitoring_admin Bind query: yes Log file: /var/log/postgresql/postgresql-2026-05-24_000000.csv
10 7h1m13s 1,440 1s21ms 19s390ms 17s550ms create index if not exists idx_app_events_type on observability.app_events (event_type);Times Reported Time consuming queries #10
Day Hour Count Duration Avg duration May 24 01 60 18m21s 18s354ms 02 60 18m8s 18s147ms 03 60 19m5s 19s94ms 04 60 19m6s 19s113ms 05 60 18m57s 18s965ms 06 60 19m1s 19s28ms 07 60 19m5s 19s93ms 08 60 19m 19s4ms 09 60 18m36s 18s607ms 10 60 18m37s 18s631ms 11 60 18m34s 18s577ms 12 60 18m33s 18s565ms 13 60 18m31s 18s532ms 14 60 17m21s 17s357ms 15 60 16m10s 16s173ms 16 60 16m6s 16s113ms 17 60 16m7s 16s118ms 18 60 16m4s 16s69ms 19 60 16m6s 16s109ms 20 60 16m7s 16s117ms 21 60 16m8s 16s134ms 22 60 16m2s 16s47ms 23 60 16m7s 16s125ms 00 60 15m8s 15s136ms [ User: monitoring_admin - Total duration: 7h1m13s - Times executed: 1438 ]
-
CREATE INDEX IF NOT EXISTS idx_app_events_type ON observability.app_events (event_type);
Date: 2026-05-24 03:36:01 Duration: 19s390ms Database: zemm_monitoring User: monitoring_admin Bind query: yes Log file: /var/log/postgresql/postgresql-2026-05-24_000000.csv
-
CREATE INDEX IF NOT EXISTS idx_app_events_type ON observability.app_events (event_type);
Date: 2026-05-24 06:10:01 Duration: 19s373ms Database: zemm_monitoring User: monitoring_admin Bind query: yes Log file: /var/log/postgresql/postgresql-2026-05-24_000000.csv
-
CREATE INDEX IF NOT EXISTS idx_app_events_type ON observability.app_events (event_type);
Date: 2026-05-24 02:45:01 Duration: 19s297ms Database: zemm_monitoring User: monitoring_admin Bind query: yes Log file: /var/log/postgresql/postgresql-2026-05-24_000000.csv
11 7h1m13s 1,440 1s21ms 19s390ms 17s550ms create table if not exists observability.nginx_counters ( id bigserial primary key, payload jsonb not null, collected_at timestamptz not null default now() );Times Reported Time consuming queries #11
Day Hour Count Duration Avg duration May 24 01 60 18m21s 18s354ms 02 60 18m8s 18s147ms 03 60 19m5s 19s94ms 04 60 19m6s 19s113ms 05 60 18m57s 18s965ms 06 60 19m1s 19s28ms 07 60 19m5s 19s93ms 08 60 19m 19s4ms 09 60 18m36s 18s607ms 10 60 18m37s 18s631ms 11 60 18m34s 18s577ms 12 60 18m33s 18s565ms 13 60 18m31s 18s532ms 14 60 17m21s 17s357ms 15 60 16m10s 16s173ms 16 60 16m6s 16s113ms 17 60 16m7s 16s118ms 18 60 16m4s 16s69ms 19 60 16m6s 16s109ms 20 60 16m7s 16s117ms 21 60 16m8s 16s134ms 22 60 16m2s 16s47ms 23 60 16m7s 16s125ms 00 60 15m8s 15s136ms [ User: monitoring_admin - Total duration: 7h1m13s - Times executed: 1438 ]
-
CREATE TABLE IF NOT EXISTS observability.nginx_counters ( id bigserial PRIMARY KEY, payload jsonb NOT NULL, collected_at timestamptz NOT NULL DEFAULT NOW() );
Date: 2026-05-24 03:36:01 Duration: 19s390ms Database: zemm_monitoring User: monitoring_admin Bind query: yes Log file: /var/log/postgresql/postgresql-2026-05-24_000000.csv
-
CREATE TABLE IF NOT EXISTS observability.nginx_counters ( id bigserial PRIMARY KEY, payload jsonb NOT NULL, collected_at timestamptz NOT NULL DEFAULT NOW() );
Date: 2026-05-24 06:10:01 Duration: 19s373ms Database: zemm_monitoring User: monitoring_admin Bind query: yes Log file: /var/log/postgresql/postgresql-2026-05-24_000000.csv
-
CREATE TABLE IF NOT EXISTS observability.nginx_counters ( id bigserial PRIMARY KEY, payload jsonb NOT NULL, collected_at timestamptz NOT NULL DEFAULT NOW() );
Date: 2026-05-24 02:45:01 Duration: 19s297ms Database: zemm_monitoring User: monitoring_admin Bind query: yes Log file: /var/log/postgresql/postgresql-2026-05-24_000000.csv
12 7h1m13s 1,440 1s21ms 19s390ms 17s550ms create index if not exists idx_metrics_timeseries_bucket on observability.metrics_timeseries (bucket_start);Times Reported Time consuming queries #12
Day Hour Count Duration Avg duration May 24 01 60 18m21s 18s354ms 02 60 18m8s 18s147ms 03 60 19m5s 19s94ms 04 60 19m6s 19s113ms 05 60 18m57s 18s965ms 06 60 19m1s 19s28ms 07 60 19m5s 19s93ms 08 60 19m 19s4ms 09 60 18m36s 18s607ms 10 60 18m37s 18s631ms 11 60 18m34s 18s577ms 12 60 18m33s 18s565ms 13 60 18m31s 18s532ms 14 60 17m21s 17s357ms 15 60 16m10s 16s173ms 16 60 16m6s 16s113ms 17 60 16m7s 16s118ms 18 60 16m4s 16s69ms 19 60 16m6s 16s109ms 20 60 16m7s 16s117ms 21 60 16m8s 16s134ms 22 60 16m2s 16s47ms 23 60 16m7s 16s125ms 00 60 15m8s 15s136ms [ User: monitoring_admin - Total duration: 7h1m13s - Times executed: 1438 ]
-
CREATE INDEX IF NOT EXISTS idx_metrics_timeseries_bucket ON observability.metrics_timeseries (bucket_start);
Date: 2026-05-24 03:36:01 Duration: 19s390ms Database: zemm_monitoring User: monitoring_admin Bind query: yes Log file: /var/log/postgresql/postgresql-2026-05-24_000000.csv
-
CREATE INDEX IF NOT EXISTS idx_metrics_timeseries_bucket ON observability.metrics_timeseries (bucket_start);
Date: 2026-05-24 06:10:01 Duration: 19s373ms Database: zemm_monitoring User: monitoring_admin Bind query: yes Log file: /var/log/postgresql/postgresql-2026-05-24_000000.csv
-
CREATE INDEX IF NOT EXISTS idx_metrics_timeseries_bucket ON observability.metrics_timeseries (bucket_start);
Date: 2026-05-24 02:45:01 Duration: 19s297ms Database: zemm_monitoring User: monitoring_admin Bind query: yes Log file: /var/log/postgresql/postgresql-2026-05-24_000000.csv
13 7h1m13s 1,440 1s21ms 19s390ms 17s550ms create index if not exists idx_metrics_timeseries_metric on observability.metrics_timeseries (metric_name);Times Reported Time consuming queries #13
Day Hour Count Duration Avg duration May 24 01 60 18m21s 18s354ms 02 60 18m8s 18s147ms 03 60 19m5s 19s94ms 04 60 19m6s 19s113ms 05 60 18m57s 18s965ms 06 60 19m1s 19s28ms 07 60 19m5s 19s93ms 08 60 19m 19s4ms 09 60 18m36s 18s607ms 10 60 18m37s 18s631ms 11 60 18m34s 18s577ms 12 60 18m33s 18s565ms 13 60 18m31s 18s532ms 14 60 17m21s 17s357ms 15 60 16m10s 16s173ms 16 60 16m6s 16s113ms 17 60 16m7s 16s118ms 18 60 16m4s 16s69ms 19 60 16m6s 16s109ms 20 60 16m7s 16s117ms 21 60 16m8s 16s134ms 22 60 16m2s 16s47ms 23 60 16m7s 16s125ms 00 60 15m8s 15s136ms [ User: monitoring_admin - Total duration: 7h1m13s - Times executed: 1438 ]
-
CREATE INDEX IF NOT EXISTS idx_metrics_timeseries_metric ON observability.metrics_timeseries (metric_name);
Date: 2026-05-24 03:36:01 Duration: 19s390ms Database: zemm_monitoring User: monitoring_admin Bind query: yes Log file: /var/log/postgresql/postgresql-2026-05-24_000000.csv
-
CREATE INDEX IF NOT EXISTS idx_metrics_timeseries_metric ON observability.metrics_timeseries (metric_name);
Date: 2026-05-24 06:10:01 Duration: 19s373ms Database: zemm_monitoring User: monitoring_admin Bind query: yes Log file: /var/log/postgresql/postgresql-2026-05-24_000000.csv
-
CREATE INDEX IF NOT EXISTS idx_metrics_timeseries_metric ON observability.metrics_timeseries (metric_name);
Date: 2026-05-24 02:45:01 Duration: 19s297ms Database: zemm_monitoring User: monitoring_admin Bind query: yes Log file: /var/log/postgresql/postgresql-2026-05-24_000000.csv
14 7h1m13s 1,440 1s21ms 19s390ms 17s550ms alter table observability.uptime_checks add column if not exists payload jsonb;Times Reported Time consuming queries #14
Day Hour Count Duration Avg duration May 24 01 60 18m21s 18s354ms 02 60 18m8s 18s147ms 03 60 19m5s 19s94ms 04 60 19m6s 19s113ms 05 60 18m57s 18s965ms 06 60 19m1s 19s28ms 07 60 19m5s 19s93ms 08 60 19m 19s4ms 09 60 18m36s 18s607ms 10 60 18m37s 18s631ms 11 60 18m34s 18s577ms 12 60 18m33s 18s565ms 13 60 18m31s 18s532ms 14 60 17m21s 17s357ms 15 60 16m10s 16s173ms 16 60 16m6s 16s113ms 17 60 16m7s 16s118ms 18 60 16m4s 16s69ms 19 60 16m6s 16s109ms 20 60 16m7s 16s117ms 21 60 16m8s 16s134ms 22 60 16m2s 16s47ms 23 60 16m7s 16s125ms 00 60 15m8s 15s136ms [ User: monitoring_admin - Total duration: 7h1m13s - Times executed: 1438 ]
-
ALTER TABLE observability.uptime_checks ADD COLUMN IF NOT EXISTS payload jsonb;
Date: 2026-05-24 03:36:01 Duration: 19s390ms Database: zemm_monitoring User: monitoring_admin Bind query: yes Log file: /var/log/postgresql/postgresql-2026-05-24_000000.csv
-
ALTER TABLE observability.uptime_checks ADD COLUMN IF NOT EXISTS payload jsonb;
Date: 2026-05-24 06:10:01 Duration: 19s373ms Database: zemm_monitoring User: monitoring_admin Bind query: yes Log file: /var/log/postgresql/postgresql-2026-05-24_000000.csv
-
ALTER TABLE observability.uptime_checks ADD COLUMN IF NOT EXISTS payload jsonb;
Date: 2026-05-24 02:45:01 Duration: 19s297ms Database: zemm_monitoring User: monitoring_admin Bind query: yes Log file: /var/log/postgresql/postgresql-2026-05-24_000000.csv
15 7h1m13s 1,440 1s21ms 19s390ms 17s550ms 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 #15
Day Hour Count Duration Avg duration May 24 01 60 18m21s 18s354ms 02 60 18m8s 18s147ms 03 60 19m5s 19s94ms 04 60 19m6s 19s113ms 05 60 18m57s 18s965ms 06 60 19m1s 19s28ms 07 60 19m5s 19s93ms 08 60 19m 19s4ms 09 60 18m36s 18s607ms 10 60 18m37s 18s631ms 11 60 18m34s 18s577ms 12 60 18m33s 18s565ms 13 60 18m31s 18s532ms 14 60 17m21s 17s357ms 15 60 16m10s 16s173ms 16 60 16m6s 16s113ms 17 60 16m7s 16s118ms 18 60 16m4s 16s69ms 19 60 16m6s 16s109ms 20 60 16m7s 16s117ms 21 60 16m8s 16s134ms 22 60 16m2s 16s47ms 23 60 16m7s 16s125ms 00 60 15m8s 15s136ms [ User: monitoring_admin - Total duration: 7h1m13s - Times executed: 1438 ]
-
CREATE TABLE IF NOT EXISTS observability.system_metrics ( id bigserial PRIMARY KEY, payload jsonb NOT NULL, collected_at timestamptz NOT NULL DEFAULT NOW() );
Date: 2026-05-24 03:36:01 Duration: 19s390ms Database: zemm_monitoring User: monitoring_admin Bind query: yes Log file: /var/log/postgresql/postgresql-2026-05-24_000000.csv
-
CREATE TABLE IF NOT EXISTS observability.system_metrics ( id bigserial PRIMARY KEY, payload jsonb NOT NULL, collected_at timestamptz NOT NULL DEFAULT NOW() );
Date: 2026-05-24 06:10:01 Duration: 19s373ms Database: zemm_monitoring User: monitoring_admin Bind query: yes Log file: /var/log/postgresql/postgresql-2026-05-24_000000.csv
-
CREATE TABLE IF NOT EXISTS observability.system_metrics ( id bigserial PRIMARY KEY, payload jsonb NOT NULL, collected_at timestamptz NOT NULL DEFAULT NOW() );
Date: 2026-05-24 02:45:01 Duration: 19s297ms Database: zemm_monitoring User: monitoring_admin Bind query: yes Log file: /var/log/postgresql/postgresql-2026-05-24_000000.csv
16 7h1m13s 1,440 1s21ms 19s390ms 17s550ms 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 #16
Day Hour Count Duration Avg duration May 24 01 60 18m21s 18s354ms 02 60 18m8s 18s147ms 03 60 19m5s 19s94ms 04 60 19m6s 19s113ms 05 60 18m57s 18s965ms 06 60 19m1s 19s28ms 07 60 19m5s 19s93ms 08 60 19m 19s4ms 09 60 18m36s 18s607ms 10 60 18m37s 18s631ms 11 60 18m34s 18s577ms 12 60 18m33s 18s565ms 13 60 18m31s 18s532ms 14 60 17m21s 17s357ms 15 60 16m10s 16s173ms 16 60 16m6s 16s113ms 17 60 16m7s 16s118ms 18 60 16m4s 16s69ms 19 60 16m6s 16s109ms 20 60 16m7s 16s117ms 21 60 16m8s 16s134ms 22 60 16m2s 16s47ms 23 60 16m7s 16s125ms 00 60 15m8s 15s136ms [ User: monitoring_admin - Total duration: 7h1m13s - Times executed: 1438 ]
-
CREATE TABLE IF NOT EXISTS observability.db_top_queries ( id bigserial PRIMARY KEY, tenant_key text NOT NULL, fingerprint text, query text, mean_time_ms double precision, total_time_ms double precision, calls bigint, rows_returned bigint, collected_at timestamptz NOT NULL DEFAULT NOW() );
Date: 2026-05-24 03:36:01 Duration: 19s390ms Database: zemm_monitoring User: monitoring_admin Bind query: yes Log file: /var/log/postgresql/postgresql-2026-05-24_000000.csv
-
CREATE TABLE IF NOT EXISTS observability.db_top_queries ( id bigserial PRIMARY KEY, tenant_key text NOT NULL, fingerprint text, query text, mean_time_ms double precision, total_time_ms double precision, calls bigint, rows_returned bigint, collected_at timestamptz NOT NULL DEFAULT NOW() );
Date: 2026-05-24 06:10:01 Duration: 19s373ms Database: zemm_monitoring User: monitoring_admin Bind query: yes Log file: /var/log/postgresql/postgresql-2026-05-24_000000.csv
-
CREATE TABLE IF NOT EXISTS observability.db_top_queries ( id bigserial PRIMARY KEY, tenant_key text NOT NULL, fingerprint text, query text, mean_time_ms double precision, total_time_ms double precision, calls bigint, rows_returned bigint, collected_at timestamptz NOT NULL DEFAULT NOW() );
Date: 2026-05-24 02:45:01 Duration: 19s297ms Database: zemm_monitoring User: monitoring_admin Bind query: yes Log file: /var/log/postgresql/postgresql-2026-05-24_000000.csv
17 7h1m13s 1,440 1s21ms 19s390ms 17s550ms 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 #17
Day Hour Count Duration Avg duration May 24 01 60 18m21s 18s354ms 02 60 18m8s 18s147ms 03 60 19m5s 19s94ms 04 60 19m6s 19s113ms 05 60 18m57s 18s965ms 06 60 19m1s 19s28ms 07 60 19m5s 19s93ms 08 60 19m 19s4ms 09 60 18m36s 18s607ms 10 60 18m37s 18s631ms 11 60 18m34s 18s577ms 12 60 18m33s 18s565ms 13 60 18m31s 18s532ms 14 60 17m21s 17s357ms 15 60 16m10s 16s173ms 16 60 16m6s 16s113ms 17 60 16m7s 16s118ms 18 60 16m4s 16s69ms 19 60 16m6s 16s109ms 20 60 16m7s 16s117ms 21 60 16m8s 16s134ms 22 60 16m2s 16s47ms 23 60 16m7s 16s125ms 00 60 15m8s 15s136ms [ User: monitoring_admin - Total duration: 7h1m13s - Times executed: 1438 ]
-
CREATE TABLE IF NOT EXISTS observability.uptime_checks ( id bigserial PRIMARY KEY, endpoint text NOT NULL, status text NOT NULL, latency_ms double precision, checked_at timestamptz NOT NULL DEFAULT NOW() );
Date: 2026-05-24 03:36:01 Duration: 19s390ms Database: zemm_monitoring User: monitoring_admin Bind query: yes Log file: /var/log/postgresql/postgresql-2026-05-24_000000.csv
-
CREATE TABLE IF NOT EXISTS observability.uptime_checks ( id bigserial PRIMARY KEY, endpoint text NOT NULL, status text NOT NULL, latency_ms double precision, checked_at timestamptz NOT NULL DEFAULT NOW() );
Date: 2026-05-24 06:10:01 Duration: 19s373ms Database: zemm_monitoring User: monitoring_admin Bind query: yes Log file: /var/log/postgresql/postgresql-2026-05-24_000000.csv
-
CREATE TABLE IF NOT EXISTS observability.uptime_checks ( id bigserial PRIMARY KEY, endpoint text NOT NULL, status text NOT NULL, latency_ms double precision, checked_at timestamptz NOT NULL DEFAULT NOW() );
Date: 2026-05-24 02:45:01 Duration: 19s297ms Database: zemm_monitoring User: monitoring_admin Bind query: yes Log file: /var/log/postgresql/postgresql-2026-05-24_000000.csv
18 41m28s 141 15s958ms 19s390ms 17s648ms with start_snap as ( select distinct on (tenant_key, fingerprint) tenant_key, fingerprint, total_time_ms, calls, rows_returned, collected_at from observability.db_top_queries where tenant_key in (...) and collected_at >= ? and collected_at <= ? order by tenant_key, fingerprint, collected_at desc ), fallback_start as ( select distinct on (tenant_key, fingerprint) tenant_key, fingerprint, total_time_ms, calls, rows_returned, collected_at from observability.db_top_queries where tenant_key in (...) and collected_at between ? and ? order by tenant_key, fingerprint, collected_at asc ), end_snap as ( select distinct on (tenant_key, fingerprint) tenant_key, fingerprint, query, total_time_ms, calls, rows_returned, collected_at from observability.db_top_queries where tenant_key in (...) and collected_at between ? and ? order by tenant_key, fingerprint, collected_at desc ), deltas as ( select e.tenant_key, e.fingerprint, e.query, e.collected_at as last_seen, greatest (coalesce(e.total_time_ms, ?) - coalesce(s.total_time_ms, fs.total_time_ms, ?), ?) as total_time_ms, greatest (coalesce(e.calls, ?) - coalesce(s.calls, fs.calls, ?), ?) as calls, greatest (coalesce(e.rows_returned, ?) - coalesce(s.rows_returned, fs.rows_returned, ?), ?) as rows_returned from end_snap e left join start_snap s on s.tenant_key = e.tenant_key and s.fingerprint = e.fingerprint left join fallback_start fs on fs.tenant_key = e.tenant_key and fs.fingerprint = e.fingerprint and s.tenant_key is null ) select fingerprint, max(query) as query, max(last_seen) as last_seen, sum(total_time_ms) as total_time_ms, sum(calls) as calls, sum(rows_returned) as rows_returned, case when sum(calls) > ? then sum(total_time_ms) / sum(calls) else ? end as mean_time_ms, array_agg(distinct tenant_key order by tenant_key) as tenant_keys from deltas where total_time_ms > ? or calls > ? group by fingerprint order by total_time_ms desc, calls desc limit ? offset ?;Times Reported Time consuming queries #18
Day Hour Count Duration Avg duration May 24 01 6 1m53s 18s983ms 02 6 1m54s 19s71ms 03 6 1m54s 19s73ms 04 6 1m54s 19s100ms 05 6 1m53s 18s972ms 06 5 1m35s 19s44ms 07 6 1m54s 19s89ms 08 6 1m54s 19s13ms 09 6 1m51s 18s593ms 10 6 1m51s 18s642ms 11 6 1m51s 18s563ms 12 6 1m51s 18s548ms 13 5 1m32s 18s533ms 14 7 2m 17s157ms 15 6 1m37s 16s168ms 16 5 1m20s 16s101ms 17 6 1m36s 16s118ms 18 6 1m36s 16s67ms 19 6 1m36s 16s103ms 20 6 1m36s 16s155ms 21 6 1m36s 16s96ms 22 5 1m20s 16s46ms 23 6 1m36s 16s127ms 00 6 1m36s 16s118ms [ User: monitoring_admin - Total duration: 41m28s - Times executed: 141 ]
-
WITH start_snap AS ( SELECT DISTINCT ON (tenant_key, fingerprint) tenant_key, fingerprint, total_time_ms, calls, rows_returned, collected_at FROM observability.db_top_queries WHERE tenant_key IN ('prod', 'live') AND collected_at >= '2026-05-19 03:25:54+02' AND collected_at <= '2026-05-21 03:25:54+02' ORDER BY tenant_key, fingerprint, collected_at DESC ), fallback_start AS ( SELECT DISTINCT ON (tenant_key, fingerprint) tenant_key, fingerprint, total_time_ms, calls, rows_returned, collected_at FROM observability.db_top_queries WHERE tenant_key IN ('prod', 'live') AND collected_at BETWEEN '2026-05-21 03:25:54+02' AND '2026-05-24 03:25:54+02' ORDER BY tenant_key, fingerprint, collected_at ASC ), end_snap AS ( SELECT DISTINCT ON (tenant_key, fingerprint) tenant_key, fingerprint, query, total_time_ms, calls, rows_returned, collected_at FROM observability.db_top_queries WHERE tenant_key IN ('prod', 'live') AND collected_at BETWEEN '2026-05-21 03:25:54+02' AND '2026-05-24 03:25:54+02' ORDER BY tenant_key, fingerprint, collected_at DESC ), deltas AS ( SELECT e.tenant_key, e.fingerprint, e.query, e.collected_at AS last_seen, GREATEST (COALESCE(e.total_time_ms, 0) - COALESCE(s.total_time_ms, fs.total_time_ms, 0), 0) AS total_time_ms, GREATEST (COALESCE(e.calls, 0) - COALESCE(s.calls, fs.calls, 0), 0) AS calls, GREATEST (COALESCE(e.rows_returned, 0) - COALESCE(s.rows_returned, fs.rows_returned, 0), 0) AS rows_returned FROM end_snap e LEFT JOIN start_snap s ON s.tenant_key = e.tenant_key AND s.fingerprint = e.fingerprint LEFT JOIN fallback_start fs ON fs.tenant_key = e.tenant_key AND fs.fingerprint = e.fingerprint AND s.tenant_key IS NULL ) SELECT fingerprint, MAX(query) AS query, MAX(last_seen) AS last_seen, SUM(total_time_ms) AS total_time_ms, SUM(calls) AS calls, SUM(rows_returned) AS rows_returned, CASE WHEN SUM(calls) > 0 THEN SUM(total_time_ms) / SUM(calls) ELSE 0 END AS mean_time_ms, array_agg(DISTINCT tenant_key ORDER BY tenant_key) AS tenant_keys FROM deltas WHERE total_time_ms > 0 OR calls > 0 GROUP BY fingerprint ORDER BY total_time_ms DESC, calls DESC LIMIT '20' OFFSET '0';
Date: 2026-05-24 03:26:13 Duration: 19s390ms Database: zemm_monitoring User: monitoring_admin Bind query: yes Log file: /var/log/postgresql/postgresql-2026-05-24_000000.csv
-
WITH start_snap AS ( SELECT DISTINCT ON (tenant_key, fingerprint) tenant_key, fingerprint, total_time_ms, calls, rows_returned, collected_at FROM observability.db_top_queries WHERE tenant_key IN ('prod', 'live') AND collected_at >= '2026-05-19 06:00:01+02' AND collected_at <= '2026-05-21 06:00:01+02' ORDER BY tenant_key, fingerprint, collected_at DESC ), fallback_start AS ( SELECT DISTINCT ON (tenant_key, fingerprint) tenant_key, fingerprint, total_time_ms, calls, rows_returned, collected_at FROM observability.db_top_queries WHERE tenant_key IN ('prod', 'live') AND collected_at BETWEEN '2026-05-21 06:00:01+02' AND '2026-05-24 06:00:01+02' ORDER BY tenant_key, fingerprint, collected_at ASC ), end_snap AS ( SELECT DISTINCT ON (tenant_key, fingerprint) tenant_key, fingerprint, query, total_time_ms, calls, rows_returned, collected_at FROM observability.db_top_queries WHERE tenant_key IN ('prod', 'live') AND collected_at BETWEEN '2026-05-21 06:00:01+02' AND '2026-05-24 06:00:01+02' ORDER BY tenant_key, fingerprint, collected_at DESC ), deltas AS ( SELECT e.tenant_key, e.fingerprint, e.query, e.collected_at AS last_seen, GREATEST (COALESCE(e.total_time_ms, 0) - COALESCE(s.total_time_ms, fs.total_time_ms, 0), 0) AS total_time_ms, GREATEST (COALESCE(e.calls, 0) - COALESCE(s.calls, fs.calls, 0), 0) AS calls, GREATEST (COALESCE(e.rows_returned, 0) - COALESCE(s.rows_returned, fs.rows_returned, 0), 0) AS rows_returned FROM end_snap e LEFT JOIN start_snap s ON s.tenant_key = e.tenant_key AND s.fingerprint = e.fingerprint LEFT JOIN fallback_start fs ON fs.tenant_key = e.tenant_key AND fs.fingerprint = e.fingerprint AND s.tenant_key IS NULL ) SELECT fingerprint, MAX(query) AS query, MAX(last_seen) AS last_seen, SUM(total_time_ms) AS total_time_ms, SUM(calls) AS calls, SUM(rows_returned) AS rows_returned, CASE WHEN SUM(calls) > 0 THEN SUM(total_time_ms) / SUM(calls) ELSE 0 END AS mean_time_ms, array_agg(DISTINCT tenant_key ORDER BY tenant_key) AS tenant_keys FROM deltas WHERE total_time_ms > 0 OR calls > 0 GROUP BY fingerprint ORDER BY total_time_ms DESC, calls DESC LIMIT '20' OFFSET '0';
Date: 2026-05-24 06:00:20 Duration: 19s373ms Database: zemm_monitoring User: monitoring_admin Bind query: yes Log file: /var/log/postgresql/postgresql-2026-05-24_000000.csv
-
WITH start_snap AS ( SELECT DISTINCT ON (tenant_key, fingerprint) tenant_key, fingerprint, total_time_ms, calls, rows_returned, collected_at FROM observability.db_top_queries WHERE tenant_key IN ('prod', 'live') AND collected_at >= '2026-05-19 02:34:47+02' AND collected_at <= '2026-05-21 02:34:47+02' ORDER BY tenant_key, fingerprint, collected_at DESC ), fallback_start AS ( SELECT DISTINCT ON (tenant_key, fingerprint) tenant_key, fingerprint, total_time_ms, calls, rows_returned, collected_at FROM observability.db_top_queries WHERE tenant_key IN ('prod', 'live') AND collected_at BETWEEN '2026-05-21 02:34:47+02' AND '2026-05-24 02:34:47+02' ORDER BY tenant_key, fingerprint, collected_at ASC ), end_snap AS ( SELECT DISTINCT ON (tenant_key, fingerprint) tenant_key, fingerprint, query, total_time_ms, calls, rows_returned, collected_at FROM observability.db_top_queries WHERE tenant_key IN ('prod', 'live') AND collected_at BETWEEN '2026-05-21 02:34:47+02' AND '2026-05-24 02:34:47+02' ORDER BY tenant_key, fingerprint, collected_at DESC ), deltas AS ( SELECT e.tenant_key, e.fingerprint, e.query, e.collected_at AS last_seen, GREATEST (COALESCE(e.total_time_ms, 0) - COALESCE(s.total_time_ms, fs.total_time_ms, 0), 0) AS total_time_ms, GREATEST (COALESCE(e.calls, 0) - COALESCE(s.calls, fs.calls, 0), 0) AS calls, GREATEST (COALESCE(e.rows_returned, 0) - COALESCE(s.rows_returned, fs.rows_returned, 0), 0) AS rows_returned FROM end_snap e LEFT JOIN start_snap s ON s.tenant_key = e.tenant_key AND s.fingerprint = e.fingerprint LEFT JOIN fallback_start fs ON fs.tenant_key = e.tenant_key AND fs.fingerprint = e.fingerprint AND s.tenant_key IS NULL ) SELECT fingerprint, MAX(query) AS query, MAX(last_seen) AS last_seen, SUM(total_time_ms) AS total_time_ms, SUM(calls) AS calls, SUM(rows_returned) AS rows_returned, CASE WHEN SUM(calls) > 0 THEN SUM(total_time_ms) / SUM(calls) ELSE 0 END AS mean_time_ms, array_agg(DISTINCT tenant_key ORDER BY tenant_key) AS tenant_keys FROM deltas WHERE total_time_ms > 0 OR calls > 0 GROUP BY fingerprint ORDER BY total_time_ms DESC, calls DESC LIMIT '20' OFFSET '0';
Date: 2026-05-24 02:35:06 Duration: 19s297ms Database: zemm_monitoring User: monitoring_admin Bind query: yes Log file: /var/log/postgresql/postgresql-2026-05-24_000000.csv
19 2s52ms 1 2s52ms 2s52ms 2s52ms copy public.diary (id, "animalID", date, "entrybyID", "cageID", weight, temperature, "fDeprivation", "wDeprivation", "sDeprivation", "feedingClass", health, comments, "breedingInfo", deleted, "inOutDate", "inOutFlag", text, sdesc, treatment, tailcut_id, tailcut_result, file_name, file_content, file_type, upload_name, old_gene_type, old_gene_info, old_gene2_type, old_gene2_info, old_gene3_info, old_gene3_type, old_gene4_info, old_gene4_type, old_gene5_info, old_gene5_type) to stdout;Times Reported Time consuming queries #19
Day Hour Count Duration Avg duration May 24 00 1 2s52ms 2s52ms [ User: postgres - Total duration: 2s52ms - Times executed: 1 ]
[ Application: pg_dump - Total duration: 2s52ms - Times executed: 1 ]
-
COPY public.diary (id, "animalID", date, "entrybyID", "cageID", weight, temperature, "fDeprivation", "wDeprivation", "sDeprivation", "feedingClass", health, comments, "breedingInfo", deleted, "inOutDate", "inOutFlag", text, sdesc, treatment, tailcut_id, tailcut_result, file_name, file_content, file_type, upload_name, old_gene_type, old_gene_info, old_gene2_type, old_gene2_info, old_gene3_info, old_gene3_type, old_gene4_info, old_gene4_type, old_gene5_info, old_gene5_type) TO stdout;
Date: 2026-05-24 23:55:12 Duration: 2s52ms Database: zemm_produktiv_8 User: postgres Remote: [local] Application: pg_dump Bind query: yes Log file: /var/log/postgresql/postgresql-2026-05-24_000000.csv
20 1s389ms 1 1s389ms 1s389ms 1s389ms copy public."targetgroupMembers" (id, targetgroup, "user", "group") to stdout;Times Reported Time consuming queries #20
Day Hour Count Duration Avg duration May 24 00 1 1s389ms 1s389ms [ User: postgres - Total duration: 1s389ms - Times executed: 1 ]
[ Application: pg_dump - Total duration: 1s389ms - Times executed: 1 ]
-
COPY public."targetgroupMembers" (id, targetgroup, "user", "group") TO stdout;
Date: 2026-05-24 23:55:14 Duration: 1s389ms Database: zemm_produktiv_8 User: postgres Remote: [local] Application: pg_dump Bind query: yes Log file: /var/log/postgresql/postgresql-2026-05-24_000000.csv
Most frequent queries (N)
Rank Times executed Total duration Min duration Max duration Avg duration Query 1 1,440 7h1m13s 1s21ms 19s390ms 17s550ms 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 #1
Day Hour Count Duration Avg duration May 24 01 60 18m21s 18s354ms 02 60 18m8s 18s147ms 03 60 19m5s 19s94ms 04 60 19m6s 19s113ms 05 60 18m57s 18s965ms 06 60 19m1s 19s28ms 07 60 19m5s 19s93ms 08 60 19m 19s4ms 09 60 18m36s 18s607ms 10 60 18m37s 18s631ms 11 60 18m34s 18s577ms 12 60 18m33s 18s565ms 13 60 18m31s 18s532ms 14 60 17m21s 17s357ms 15 60 16m10s 16s173ms 16 60 16m6s 16s113ms 17 60 16m7s 16s118ms 18 60 16m4s 16s69ms 19 60 16m6s 16s109ms 20 60 16m7s 16s117ms 21 60 16m8s 16s134ms 22 60 16m2s 16s47ms 23 60 16m7s 16s125ms 00 60 15m8s 15s136ms [ User: monitoring_admin - Total duration: 7h1m13s - Times executed: 1438 ]
-
CREATE INDEX IF NOT EXISTS idx_db_top_queries_tenant ON observability.db_top_queries (tenant_key, collected_at DESC);
Date: 2026-05-24 03:36:01 Duration: 19s390ms Database: zemm_monitoring User: monitoring_admin Bind query: yes Log file: /var/log/postgresql/postgresql-2026-05-24_000000.csv
-
CREATE INDEX IF NOT EXISTS idx_db_top_queries_tenant ON observability.db_top_queries (tenant_key, collected_at DESC);
Date: 2026-05-24 06:10:01 Duration: 19s373ms Database: zemm_monitoring User: monitoring_admin Bind query: yes Log file: /var/log/postgresql/postgresql-2026-05-24_000000.csv
-
CREATE INDEX IF NOT EXISTS idx_db_top_queries_tenant ON observability.db_top_queries (tenant_key, collected_at DESC);
Date: 2026-05-24 02:45:01 Duration: 19s297ms Database: zemm_monitoring User: monitoring_admin Bind query: yes Log file: /var/log/postgresql/postgresql-2026-05-24_000000.csv
2 1,440 7h1m13s 1s21ms 19s390ms 17s550ms create index if not exists idx_uptime_checks_endpoint on observability.uptime_checks (endpoint, checked_at desc);Times Reported Time consuming queries #2
Day Hour Count Duration Avg duration May 24 01 60 18m21s 18s354ms 02 60 18m8s 18s147ms 03 60 19m5s 19s94ms 04 60 19m6s 19s113ms 05 60 18m57s 18s965ms 06 60 19m1s 19s28ms 07 60 19m5s 19s93ms 08 60 19m 19s4ms 09 60 18m36s 18s607ms 10 60 18m37s 18s631ms 11 60 18m34s 18s577ms 12 60 18m33s 18s565ms 13 60 18m31s 18s532ms 14 60 17m21s 17s357ms 15 60 16m10s 16s173ms 16 60 16m6s 16s113ms 17 60 16m7s 16s118ms 18 60 16m4s 16s69ms 19 60 16m6s 16s109ms 20 60 16m7s 16s117ms 21 60 16m8s 16s134ms 22 60 16m2s 16s47ms 23 60 16m7s 16s125ms 00 60 15m8s 15s136ms [ User: monitoring_admin - Total duration: 7h1m13s - Times executed: 1438 ]
-
CREATE INDEX IF NOT EXISTS idx_uptime_checks_endpoint ON observability.uptime_checks (endpoint, checked_at DESC);
Date: 2026-05-24 03:36:01 Duration: 19s390ms Database: zemm_monitoring User: monitoring_admin Bind query: yes Log file: /var/log/postgresql/postgresql-2026-05-24_000000.csv
-
CREATE INDEX IF NOT EXISTS idx_uptime_checks_endpoint ON observability.uptime_checks (endpoint, checked_at DESC);
Date: 2026-05-24 06:10:01 Duration: 19s373ms Database: zemm_monitoring User: monitoring_admin Bind query: yes Log file: /var/log/postgresql/postgresql-2026-05-24_000000.csv
-
CREATE INDEX IF NOT EXISTS idx_uptime_checks_endpoint ON observability.uptime_checks (endpoint, checked_at DESC);
Date: 2026-05-24 02:45:01 Duration: 19s297ms Database: zemm_monitoring User: monitoring_admin Bind query: yes Log file: /var/log/postgresql/postgresql-2026-05-24_000000.csv
3 1,440 7h1m13s 1s21ms 19s390ms 17s550ms 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 #3
Day Hour Count Duration Avg duration May 24 01 60 18m21s 18s354ms 02 60 18m8s 18s147ms 03 60 19m5s 19s94ms 04 60 19m6s 19s113ms 05 60 18m57s 18s965ms 06 60 19m1s 19s28ms 07 60 19m5s 19s93ms 08 60 19m 19s4ms 09 60 18m36s 18s607ms 10 60 18m37s 18s631ms 11 60 18m34s 18s577ms 12 60 18m33s 18s565ms 13 60 18m31s 18s532ms 14 60 17m21s 17s357ms 15 60 16m10s 16s173ms 16 60 16m6s 16s113ms 17 60 16m7s 16s118ms 18 60 16m4s 16s69ms 19 60 16m6s 16s109ms 20 60 16m7s 16s117ms 21 60 16m8s 16s134ms 22 60 16m2s 16s47ms 23 60 16m7s 16s125ms 00 60 15m8s 15s136ms [ User: monitoring_admin - Total duration: 7h1m13s - Times executed: 1438 ]
-
CREATE TABLE IF NOT EXISTS observability.app_events ( id bigserial PRIMARY KEY, tenant_key text NOT NULL, event_type text NOT NULL, severity text NOT NULL, message text NOT NULL, payload jsonb, occurred_at timestamptz NOT NULL DEFAULT NOW(), created_at timestamptz NOT NULL DEFAULT NOW() );
Date: 2026-05-24 03:36:01 Duration: 19s390ms Database: zemm_monitoring User: monitoring_admin Bind query: yes Log file: /var/log/postgresql/postgresql-2026-05-24_000000.csv
-
CREATE TABLE IF NOT EXISTS observability.app_events ( id bigserial PRIMARY KEY, tenant_key text NOT NULL, event_type text NOT NULL, severity text NOT NULL, message text NOT NULL, payload jsonb, occurred_at timestamptz NOT NULL DEFAULT NOW(), created_at timestamptz NOT NULL DEFAULT NOW() );
Date: 2026-05-24 06:10:01 Duration: 19s373ms Database: zemm_monitoring User: monitoring_admin Bind query: yes Log file: /var/log/postgresql/postgresql-2026-05-24_000000.csv
-
CREATE TABLE IF NOT EXISTS observability.app_events ( id bigserial PRIMARY KEY, tenant_key text NOT NULL, event_type text NOT NULL, severity text NOT NULL, message text NOT NULL, payload jsonb, occurred_at timestamptz NOT NULL DEFAULT NOW(), created_at timestamptz NOT NULL DEFAULT NOW() );
Date: 2026-05-24 02:45:01 Duration: 19s297ms Database: zemm_monitoring User: monitoring_admin Bind query: yes Log file: /var/log/postgresql/postgresql-2026-05-24_000000.csv
4 1,440 7h1m13s 1s21ms 19s390ms 17s550ms create index if not exists idx_app_events_tenant on observability.app_events (tenant_key, occurred_at desc);Times Reported Time consuming queries #4
Day Hour Count Duration Avg duration May 24 01 60 18m21s 18s354ms 02 60 18m8s 18s147ms 03 60 19m5s 19s94ms 04 60 19m6s 19s113ms 05 60 18m57s 18s965ms 06 60 19m1s 19s28ms 07 60 19m5s 19s93ms 08 60 19m 19s4ms 09 60 18m36s 18s607ms 10 60 18m37s 18s631ms 11 60 18m34s 18s577ms 12 60 18m33s 18s565ms 13 60 18m31s 18s532ms 14 60 17m21s 17s357ms 15 60 16m10s 16s173ms 16 60 16m6s 16s113ms 17 60 16m7s 16s118ms 18 60 16m4s 16s69ms 19 60 16m6s 16s109ms 20 60 16m7s 16s117ms 21 60 16m8s 16s134ms 22 60 16m2s 16s47ms 23 60 16m7s 16s125ms 00 60 15m8s 15s136ms [ User: monitoring_admin - Total duration: 7h1m13s - Times executed: 1438 ]
-
CREATE INDEX IF NOT EXISTS idx_app_events_tenant ON observability.app_events (tenant_key, occurred_at DESC);
Date: 2026-05-24 03:36:01 Duration: 19s390ms Database: zemm_monitoring User: monitoring_admin Bind query: yes Log file: /var/log/postgresql/postgresql-2026-05-24_000000.csv
-
CREATE INDEX IF NOT EXISTS idx_app_events_tenant ON observability.app_events (tenant_key, occurred_at DESC);
Date: 2026-05-24 06:10:01 Duration: 19s373ms Database: zemm_monitoring User: monitoring_admin Bind query: yes Log file: /var/log/postgresql/postgresql-2026-05-24_000000.csv
-
CREATE INDEX IF NOT EXISTS idx_app_events_tenant ON observability.app_events (tenant_key, occurred_at DESC);
Date: 2026-05-24 02:45:01 Duration: 19s297ms Database: zemm_monitoring User: monitoring_admin Bind query: yes Log file: /var/log/postgresql/postgresql-2026-05-24_000000.csv
5 1,440 7h1m13s 1s21ms 19s390ms 17s550ms create index if not exists idx_uptime_checks_key on observability.uptime_checks (check_key, checked_at desc);Times Reported Time consuming queries #5
Day Hour Count Duration Avg duration May 24 01 60 18m21s 18s354ms 02 60 18m8s 18s147ms 03 60 19m5s 19s94ms 04 60 19m6s 19s113ms 05 60 18m57s 18s965ms 06 60 19m1s 19s28ms 07 60 19m5s 19s93ms 08 60 19m 19s4ms 09 60 18m36s 18s607ms 10 60 18m37s 18s631ms 11 60 18m34s 18s577ms 12 60 18m33s 18s565ms 13 60 18m31s 18s532ms 14 60 17m21s 17s357ms 15 60 16m10s 16s173ms 16 60 16m6s 16s113ms 17 60 16m7s 16s118ms 18 60 16m4s 16s69ms 19 60 16m6s 16s109ms 20 60 16m7s 16s117ms 21 60 16m8s 16s134ms 22 60 16m2s 16s47ms 23 60 16m7s 16s125ms 00 60 15m8s 15s136ms [ User: monitoring_admin - Total duration: 7h1m13s - Times executed: 1438 ]
-
CREATE INDEX IF NOT EXISTS idx_uptime_checks_key ON observability.uptime_checks (check_key, checked_at DESC);
Date: 2026-05-24 03:36:01 Duration: 19s390ms Database: zemm_monitoring User: monitoring_admin Bind query: yes Log file: /var/log/postgresql/postgresql-2026-05-24_000000.csv
-
CREATE INDEX IF NOT EXISTS idx_uptime_checks_key ON observability.uptime_checks (check_key, checked_at DESC);
Date: 2026-05-24 06:10:01 Duration: 19s373ms Database: zemm_monitoring User: monitoring_admin Bind query: yes Log file: /var/log/postgresql/postgresql-2026-05-24_000000.csv
-
CREATE INDEX IF NOT EXISTS idx_uptime_checks_key ON observability.uptime_checks (check_key, checked_at DESC);
Date: 2026-05-24 02:45:01 Duration: 19s297ms Database: zemm_monitoring User: monitoring_admin Bind query: yes Log file: /var/log/postgresql/postgresql-2026-05-24_000000.csv
6 1,440 7h1m13s 1s21ms 19s390ms 17s550ms create schema if not exists observability;Times Reported Time consuming queries #6
Day Hour Count Duration Avg duration May 24 01 60 18m21s 18s354ms 02 60 18m8s 18s147ms 03 60 19m5s 19s94ms 04 60 19m6s 19s113ms 05 60 18m57s 18s965ms 06 60 19m1s 19s28ms 07 60 19m5s 19s93ms 08 60 19m 19s4ms 09 60 18m36s 18s607ms 10 60 18m37s 18s631ms 11 60 18m34s 18s577ms 12 60 18m33s 18s565ms 13 60 18m31s 18s532ms 14 60 17m21s 17s357ms 15 60 16m10s 16s173ms 16 60 16m6s 16s113ms 17 60 16m7s 16s118ms 18 60 16m4s 16s69ms 19 60 16m6s 16s109ms 20 60 16m7s 16s117ms 21 60 16m8s 16s134ms 22 60 16m2s 16s47ms 23 60 16m7s 16s125ms 00 60 15m8s 15s136ms [ User: monitoring_admin - Total duration: 7h1m13s - Times executed: 1438 ]
-
CREATE SCHEMA IF NOT EXISTS observability;
Date: 2026-05-24 03:36:01 Duration: 19s390ms Database: zemm_monitoring User: monitoring_admin Bind query: yes Log file: /var/log/postgresql/postgresql-2026-05-24_000000.csv
-
CREATE SCHEMA IF NOT EXISTS observability;
Date: 2026-05-24 06:10:01 Duration: 19s373ms Database: zemm_monitoring User: monitoring_admin Bind query: yes Log file: /var/log/postgresql/postgresql-2026-05-24_000000.csv
-
CREATE SCHEMA IF NOT EXISTS observability;
Date: 2026-05-24 02:45:01 Duration: 19s297ms Database: zemm_monitoring User: monitoring_admin Bind query: yes Log file: /var/log/postgresql/postgresql-2026-05-24_000000.csv
7 1,440 7h1m13s 1s21ms 19s390ms 17s550ms create table if not exists observability.metrics_timeseries ( id bigserial primary key, tenant_key text not null, metric_name text not null, bucket_start timestamptz not null, bucket_width_seconds integer not null default ?, sum_value double precision not null default ?, count_value bigint not null default ?, histogram jsonb, created_at timestamptz not null default now(), updated_at timestamptz not null default now(), unique (tenant_key, metric_name, bucket_start, bucket_width_seconds) );Times Reported Time consuming queries #7
Day Hour Count Duration Avg duration May 24 01 60 18m21s 18s354ms 02 60 18m8s 18s147ms 03 60 19m5s 19s94ms 04 60 19m6s 19s113ms 05 60 18m57s 18s965ms 06 60 19m1s 19s28ms 07 60 19m5s 19s93ms 08 60 19m 19s4ms 09 60 18m36s 18s607ms 10 60 18m37s 18s631ms 11 60 18m34s 18s577ms 12 60 18m33s 18s565ms 13 60 18m31s 18s532ms 14 60 17m21s 17s357ms 15 60 16m10s 16s173ms 16 60 16m6s 16s113ms 17 60 16m7s 16s118ms 18 60 16m4s 16s69ms 19 60 16m6s 16s109ms 20 60 16m7s 16s117ms 21 60 16m8s 16s134ms 22 60 16m2s 16s47ms 23 60 16m7s 16s125ms 00 60 15m8s 15s136ms [ User: monitoring_admin - Total duration: 7h1m13s - Times executed: 1438 ]
-
CREATE TABLE IF NOT EXISTS observability.metrics_timeseries ( id bigserial PRIMARY KEY, tenant_key text NOT NULL, metric_name text NOT NULL, bucket_start timestamptz NOT NULL, bucket_width_seconds integer NOT NULL DEFAULT 60, sum_value double precision NOT NULL DEFAULT 0, count_value bigint NOT NULL DEFAULT 0, histogram jsonb, created_at timestamptz NOT NULL DEFAULT NOW(), updated_at timestamptz NOT NULL DEFAULT NOW(), UNIQUE (tenant_key, metric_name, bucket_start, bucket_width_seconds) );
Date: 2026-05-24 03:36:01 Duration: 19s390ms Database: zemm_monitoring User: monitoring_admin Bind query: yes Log file: /var/log/postgresql/postgresql-2026-05-24_000000.csv
-
CREATE TABLE IF NOT EXISTS observability.metrics_timeseries ( id bigserial PRIMARY KEY, tenant_key text NOT NULL, metric_name text NOT NULL, bucket_start timestamptz NOT NULL, bucket_width_seconds integer NOT NULL DEFAULT 60, sum_value double precision NOT NULL DEFAULT 0, count_value bigint NOT NULL DEFAULT 0, histogram jsonb, created_at timestamptz NOT NULL DEFAULT NOW(), updated_at timestamptz NOT NULL DEFAULT NOW(), UNIQUE (tenant_key, metric_name, bucket_start, bucket_width_seconds) );
Date: 2026-05-24 06:10:01 Duration: 19s373ms Database: zemm_monitoring User: monitoring_admin Bind query: yes Log file: /var/log/postgresql/postgresql-2026-05-24_000000.csv
-
CREATE TABLE IF NOT EXISTS observability.metrics_timeseries ( id bigserial PRIMARY KEY, tenant_key text NOT NULL, metric_name text NOT NULL, bucket_start timestamptz NOT NULL, bucket_width_seconds integer NOT NULL DEFAULT 60, sum_value double precision NOT NULL DEFAULT 0, count_value bigint NOT NULL DEFAULT 0, histogram jsonb, created_at timestamptz NOT NULL DEFAULT NOW(), updated_at timestamptz NOT NULL DEFAULT NOW(), UNIQUE (tenant_key, metric_name, bucket_start, bucket_width_seconds) );
Date: 2026-05-24 02:45:01 Duration: 19s297ms Database: zemm_monitoring User: monitoring_admin Bind query: yes Log file: /var/log/postgresql/postgresql-2026-05-24_000000.csv
8 1,440 7h1m13s 1s21ms 19s390ms 17s550ms alter table observability.uptime_checks add column if not exists label text;Times Reported Time consuming queries #8
Day Hour Count Duration Avg duration May 24 01 60 18m21s 18s354ms 02 60 18m8s 18s147ms 03 60 19m5s 19s94ms 04 60 19m6s 19s113ms 05 60 18m57s 18s965ms 06 60 19m1s 19s28ms 07 60 19m5s 19s93ms 08 60 19m 19s4ms 09 60 18m36s 18s607ms 10 60 18m37s 18s631ms 11 60 18m34s 18s577ms 12 60 18m33s 18s565ms 13 60 18m31s 18s532ms 14 60 17m21s 17s357ms 15 60 16m10s 16s173ms 16 60 16m6s 16s113ms 17 60 16m7s 16s118ms 18 60 16m4s 16s69ms 19 60 16m6s 16s109ms 20 60 16m7s 16s117ms 21 60 16m8s 16s134ms 22 60 16m2s 16s47ms 23 60 16m7s 16s125ms 00 60 15m8s 15s136ms [ User: monitoring_admin - Total duration: 7h1m13s - Times executed: 1438 ]
-
ALTER TABLE observability.uptime_checks ADD COLUMN IF NOT EXISTS label text;
Date: 2026-05-24 03:36:01 Duration: 19s390ms Database: zemm_monitoring User: monitoring_admin Bind query: yes Log file: /var/log/postgresql/postgresql-2026-05-24_000000.csv
-
ALTER TABLE observability.uptime_checks ADD COLUMN IF NOT EXISTS label text;
Date: 2026-05-24 06:10:01 Duration: 19s373ms Database: zemm_monitoring User: monitoring_admin Bind query: yes Log file: /var/log/postgresql/postgresql-2026-05-24_000000.csv
-
ALTER TABLE observability.uptime_checks ADD COLUMN IF NOT EXISTS label text;
Date: 2026-05-24 02:45:01 Duration: 19s297ms Database: zemm_monitoring User: monitoring_admin Bind query: yes Log file: /var/log/postgresql/postgresql-2026-05-24_000000.csv
9 1,440 7h1m13s 1s21ms 19s390ms 17s550ms create table if not exists observability.phpfpm_counters ( id bigserial primary key, payload jsonb not null, collected_at timestamptz not null default now() );Times Reported Time consuming queries #9
Day Hour Count Duration Avg duration May 24 01 60 18m21s 18s354ms 02 60 18m8s 18s147ms 03 60 19m5s 19s94ms 04 60 19m6s 19s113ms 05 60 18m57s 18s965ms 06 60 19m1s 19s28ms 07 60 19m5s 19s93ms 08 60 19m 19s4ms 09 60 18m36s 18s607ms 10 60 18m37s 18s631ms 11 60 18m34s 18s577ms 12 60 18m33s 18s565ms 13 60 18m31s 18s532ms 14 60 17m21s 17s357ms 15 60 16m10s 16s173ms 16 60 16m6s 16s113ms 17 60 16m7s 16s118ms 18 60 16m4s 16s69ms 19 60 16m6s 16s109ms 20 60 16m7s 16s117ms 21 60 16m8s 16s134ms 22 60 16m2s 16s47ms 23 60 16m7s 16s125ms 00 60 15m8s 15s136ms [ User: monitoring_admin - Total duration: 7h1m13s - Times executed: 1438 ]
-
CREATE TABLE IF NOT EXISTS observability.phpfpm_counters ( id bigserial PRIMARY KEY, payload jsonb NOT NULL, collected_at timestamptz NOT NULL DEFAULT NOW() );
Date: 2026-05-24 03:36:01 Duration: 19s390ms Database: zemm_monitoring User: monitoring_admin Bind query: yes Log file: /var/log/postgresql/postgresql-2026-05-24_000000.csv
-
CREATE TABLE IF NOT EXISTS observability.phpfpm_counters ( id bigserial PRIMARY KEY, payload jsonb NOT NULL, collected_at timestamptz NOT NULL DEFAULT NOW() );
Date: 2026-05-24 06:10:01 Duration: 19s373ms Database: zemm_monitoring User: monitoring_admin Bind query: yes Log file: /var/log/postgresql/postgresql-2026-05-24_000000.csv
-
CREATE TABLE IF NOT EXISTS observability.phpfpm_counters ( id bigserial PRIMARY KEY, payload jsonb NOT NULL, collected_at timestamptz NOT NULL DEFAULT NOW() );
Date: 2026-05-24 02:45:01 Duration: 19s297ms Database: zemm_monitoring User: monitoring_admin Bind query: yes Log file: /var/log/postgresql/postgresql-2026-05-24_000000.csv
10 1,440 7h1m13s 1s21ms 19s390ms 17s550ms create index if not exists idx_app_events_type on observability.app_events (event_type);Times Reported Time consuming queries #10
Day Hour Count Duration Avg duration May 24 01 60 18m21s 18s354ms 02 60 18m8s 18s147ms 03 60 19m5s 19s94ms 04 60 19m6s 19s113ms 05 60 18m57s 18s965ms 06 60 19m1s 19s28ms 07 60 19m5s 19s93ms 08 60 19m 19s4ms 09 60 18m36s 18s607ms 10 60 18m37s 18s631ms 11 60 18m34s 18s577ms 12 60 18m33s 18s565ms 13 60 18m31s 18s532ms 14 60 17m21s 17s357ms 15 60 16m10s 16s173ms 16 60 16m6s 16s113ms 17 60 16m7s 16s118ms 18 60 16m4s 16s69ms 19 60 16m6s 16s109ms 20 60 16m7s 16s117ms 21 60 16m8s 16s134ms 22 60 16m2s 16s47ms 23 60 16m7s 16s125ms 00 60 15m8s 15s136ms [ User: monitoring_admin - Total duration: 7h1m13s - Times executed: 1438 ]
-
CREATE INDEX IF NOT EXISTS idx_app_events_type ON observability.app_events (event_type);
Date: 2026-05-24 03:36:01 Duration: 19s390ms Database: zemm_monitoring User: monitoring_admin Bind query: yes Log file: /var/log/postgresql/postgresql-2026-05-24_000000.csv
-
CREATE INDEX IF NOT EXISTS idx_app_events_type ON observability.app_events (event_type);
Date: 2026-05-24 06:10:01 Duration: 19s373ms Database: zemm_monitoring User: monitoring_admin Bind query: yes Log file: /var/log/postgresql/postgresql-2026-05-24_000000.csv
-
CREATE INDEX IF NOT EXISTS idx_app_events_type ON observability.app_events (event_type);
Date: 2026-05-24 02:45:01 Duration: 19s297ms Database: zemm_monitoring User: monitoring_admin Bind query: yes Log file: /var/log/postgresql/postgresql-2026-05-24_000000.csv
11 1,440 7h1m13s 1s21ms 19s390ms 17s550ms create table if not exists observability.nginx_counters ( id bigserial primary key, payload jsonb not null, collected_at timestamptz not null default now() );Times Reported Time consuming queries #11
Day Hour Count Duration Avg duration May 24 01 60 18m21s 18s354ms 02 60 18m8s 18s147ms 03 60 19m5s 19s94ms 04 60 19m6s 19s113ms 05 60 18m57s 18s965ms 06 60 19m1s 19s28ms 07 60 19m5s 19s93ms 08 60 19m 19s4ms 09 60 18m36s 18s607ms 10 60 18m37s 18s631ms 11 60 18m34s 18s577ms 12 60 18m33s 18s565ms 13 60 18m31s 18s532ms 14 60 17m21s 17s357ms 15 60 16m10s 16s173ms 16 60 16m6s 16s113ms 17 60 16m7s 16s118ms 18 60 16m4s 16s69ms 19 60 16m6s 16s109ms 20 60 16m7s 16s117ms 21 60 16m8s 16s134ms 22 60 16m2s 16s47ms 23 60 16m7s 16s125ms 00 60 15m8s 15s136ms [ User: monitoring_admin - Total duration: 7h1m13s - Times executed: 1438 ]
-
CREATE TABLE IF NOT EXISTS observability.nginx_counters ( id bigserial PRIMARY KEY, payload jsonb NOT NULL, collected_at timestamptz NOT NULL DEFAULT NOW() );
Date: 2026-05-24 03:36:01 Duration: 19s390ms Database: zemm_monitoring User: monitoring_admin Bind query: yes Log file: /var/log/postgresql/postgresql-2026-05-24_000000.csv
-
CREATE TABLE IF NOT EXISTS observability.nginx_counters ( id bigserial PRIMARY KEY, payload jsonb NOT NULL, collected_at timestamptz NOT NULL DEFAULT NOW() );
Date: 2026-05-24 06:10:01 Duration: 19s373ms Database: zemm_monitoring User: monitoring_admin Bind query: yes Log file: /var/log/postgresql/postgresql-2026-05-24_000000.csv
-
CREATE TABLE IF NOT EXISTS observability.nginx_counters ( id bigserial PRIMARY KEY, payload jsonb NOT NULL, collected_at timestamptz NOT NULL DEFAULT NOW() );
Date: 2026-05-24 02:45:01 Duration: 19s297ms Database: zemm_monitoring User: monitoring_admin Bind query: yes Log file: /var/log/postgresql/postgresql-2026-05-24_000000.csv
12 1,440 7h1m13s 1s21ms 19s390ms 17s550ms create index if not exists idx_metrics_timeseries_bucket on observability.metrics_timeseries (bucket_start);Times Reported Time consuming queries #12
Day Hour Count Duration Avg duration May 24 01 60 18m21s 18s354ms 02 60 18m8s 18s147ms 03 60 19m5s 19s94ms 04 60 19m6s 19s113ms 05 60 18m57s 18s965ms 06 60 19m1s 19s28ms 07 60 19m5s 19s93ms 08 60 19m 19s4ms 09 60 18m36s 18s607ms 10 60 18m37s 18s631ms 11 60 18m34s 18s577ms 12 60 18m33s 18s565ms 13 60 18m31s 18s532ms 14 60 17m21s 17s357ms 15 60 16m10s 16s173ms 16 60 16m6s 16s113ms 17 60 16m7s 16s118ms 18 60 16m4s 16s69ms 19 60 16m6s 16s109ms 20 60 16m7s 16s117ms 21 60 16m8s 16s134ms 22 60 16m2s 16s47ms 23 60 16m7s 16s125ms 00 60 15m8s 15s136ms [ User: monitoring_admin - Total duration: 7h1m13s - Times executed: 1438 ]
-
CREATE INDEX IF NOT EXISTS idx_metrics_timeseries_bucket ON observability.metrics_timeseries (bucket_start);
Date: 2026-05-24 03:36:01 Duration: 19s390ms Database: zemm_monitoring User: monitoring_admin Bind query: yes Log file: /var/log/postgresql/postgresql-2026-05-24_000000.csv
-
CREATE INDEX IF NOT EXISTS idx_metrics_timeseries_bucket ON observability.metrics_timeseries (bucket_start);
Date: 2026-05-24 06:10:01 Duration: 19s373ms Database: zemm_monitoring User: monitoring_admin Bind query: yes Log file: /var/log/postgresql/postgresql-2026-05-24_000000.csv
-
CREATE INDEX IF NOT EXISTS idx_metrics_timeseries_bucket ON observability.metrics_timeseries (bucket_start);
Date: 2026-05-24 02:45:01 Duration: 19s297ms Database: zemm_monitoring User: monitoring_admin Bind query: yes Log file: /var/log/postgresql/postgresql-2026-05-24_000000.csv
13 1,440 7h1m13s 1s21ms 19s390ms 17s550ms create index if not exists idx_metrics_timeseries_metric on observability.metrics_timeseries (metric_name);Times Reported Time consuming queries #13
Day Hour Count Duration Avg duration May 24 01 60 18m21s 18s354ms 02 60 18m8s 18s147ms 03 60 19m5s 19s94ms 04 60 19m6s 19s113ms 05 60 18m57s 18s965ms 06 60 19m1s 19s28ms 07 60 19m5s 19s93ms 08 60 19m 19s4ms 09 60 18m36s 18s607ms 10 60 18m37s 18s631ms 11 60 18m34s 18s577ms 12 60 18m33s 18s565ms 13 60 18m31s 18s532ms 14 60 17m21s 17s357ms 15 60 16m10s 16s173ms 16 60 16m6s 16s113ms 17 60 16m7s 16s118ms 18 60 16m4s 16s69ms 19 60 16m6s 16s109ms 20 60 16m7s 16s117ms 21 60 16m8s 16s134ms 22 60 16m2s 16s47ms 23 60 16m7s 16s125ms 00 60 15m8s 15s136ms [ User: monitoring_admin - Total duration: 7h1m13s - Times executed: 1438 ]
-
CREATE INDEX IF NOT EXISTS idx_metrics_timeseries_metric ON observability.metrics_timeseries (metric_name);
Date: 2026-05-24 03:36:01 Duration: 19s390ms Database: zemm_monitoring User: monitoring_admin Bind query: yes Log file: /var/log/postgresql/postgresql-2026-05-24_000000.csv
-
CREATE INDEX IF NOT EXISTS idx_metrics_timeseries_metric ON observability.metrics_timeseries (metric_name);
Date: 2026-05-24 06:10:01 Duration: 19s373ms Database: zemm_monitoring User: monitoring_admin Bind query: yes Log file: /var/log/postgresql/postgresql-2026-05-24_000000.csv
-
CREATE INDEX IF NOT EXISTS idx_metrics_timeseries_metric ON observability.metrics_timeseries (metric_name);
Date: 2026-05-24 02:45:01 Duration: 19s297ms Database: zemm_monitoring User: monitoring_admin Bind query: yes Log file: /var/log/postgresql/postgresql-2026-05-24_000000.csv
14 1,440 7h1m13s 1s21ms 19s390ms 17s550ms alter table observability.uptime_checks add column if not exists payload jsonb;Times Reported Time consuming queries #14
Day Hour Count Duration Avg duration May 24 01 60 18m21s 18s354ms 02 60 18m8s 18s147ms 03 60 19m5s 19s94ms 04 60 19m6s 19s113ms 05 60 18m57s 18s965ms 06 60 19m1s 19s28ms 07 60 19m5s 19s93ms 08 60 19m 19s4ms 09 60 18m36s 18s607ms 10 60 18m37s 18s631ms 11 60 18m34s 18s577ms 12 60 18m33s 18s565ms 13 60 18m31s 18s532ms 14 60 17m21s 17s357ms 15 60 16m10s 16s173ms 16 60 16m6s 16s113ms 17 60 16m7s 16s118ms 18 60 16m4s 16s69ms 19 60 16m6s 16s109ms 20 60 16m7s 16s117ms 21 60 16m8s 16s134ms 22 60 16m2s 16s47ms 23 60 16m7s 16s125ms 00 60 15m8s 15s136ms [ User: monitoring_admin - Total duration: 7h1m13s - Times executed: 1438 ]
-
ALTER TABLE observability.uptime_checks ADD COLUMN IF NOT EXISTS payload jsonb;
Date: 2026-05-24 03:36:01 Duration: 19s390ms Database: zemm_monitoring User: monitoring_admin Bind query: yes Log file: /var/log/postgresql/postgresql-2026-05-24_000000.csv
-
ALTER TABLE observability.uptime_checks ADD COLUMN IF NOT EXISTS payload jsonb;
Date: 2026-05-24 06:10:01 Duration: 19s373ms Database: zemm_monitoring User: monitoring_admin Bind query: yes Log file: /var/log/postgresql/postgresql-2026-05-24_000000.csv
-
ALTER TABLE observability.uptime_checks ADD COLUMN IF NOT EXISTS payload jsonb;
Date: 2026-05-24 02:45:01 Duration: 19s297ms Database: zemm_monitoring User: monitoring_admin Bind query: yes Log file: /var/log/postgresql/postgresql-2026-05-24_000000.csv
15 1,440 7h1m13s 1s21ms 19s390ms 17s550ms 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 #15
Day Hour Count Duration Avg duration May 24 01 60 18m21s 18s354ms 02 60 18m8s 18s147ms 03 60 19m5s 19s94ms 04 60 19m6s 19s113ms 05 60 18m57s 18s965ms 06 60 19m1s 19s28ms 07 60 19m5s 19s93ms 08 60 19m 19s4ms 09 60 18m36s 18s607ms 10 60 18m37s 18s631ms 11 60 18m34s 18s577ms 12 60 18m33s 18s565ms 13 60 18m31s 18s532ms 14 60 17m21s 17s357ms 15 60 16m10s 16s173ms 16 60 16m6s 16s113ms 17 60 16m7s 16s118ms 18 60 16m4s 16s69ms 19 60 16m6s 16s109ms 20 60 16m7s 16s117ms 21 60 16m8s 16s134ms 22 60 16m2s 16s47ms 23 60 16m7s 16s125ms 00 60 15m8s 15s136ms [ User: monitoring_admin - Total duration: 7h1m13s - Times executed: 1438 ]
-
CREATE TABLE IF NOT EXISTS observability.system_metrics ( id bigserial PRIMARY KEY, payload jsonb NOT NULL, collected_at timestamptz NOT NULL DEFAULT NOW() );
Date: 2026-05-24 03:36:01 Duration: 19s390ms Database: zemm_monitoring User: monitoring_admin Bind query: yes Log file: /var/log/postgresql/postgresql-2026-05-24_000000.csv
-
CREATE TABLE IF NOT EXISTS observability.system_metrics ( id bigserial PRIMARY KEY, payload jsonb NOT NULL, collected_at timestamptz NOT NULL DEFAULT NOW() );
Date: 2026-05-24 06:10:01 Duration: 19s373ms Database: zemm_monitoring User: monitoring_admin Bind query: yes Log file: /var/log/postgresql/postgresql-2026-05-24_000000.csv
-
CREATE TABLE IF NOT EXISTS observability.system_metrics ( id bigserial PRIMARY KEY, payload jsonb NOT NULL, collected_at timestamptz NOT NULL DEFAULT NOW() );
Date: 2026-05-24 02:45:01 Duration: 19s297ms Database: zemm_monitoring User: monitoring_admin Bind query: yes Log file: /var/log/postgresql/postgresql-2026-05-24_000000.csv
16 1,440 7h1m13s 1s21ms 19s390ms 17s550ms 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 #16
Day Hour Count Duration Avg duration May 24 01 60 18m21s 18s354ms 02 60 18m8s 18s147ms 03 60 19m5s 19s94ms 04 60 19m6s 19s113ms 05 60 18m57s 18s965ms 06 60 19m1s 19s28ms 07 60 19m5s 19s93ms 08 60 19m 19s4ms 09 60 18m36s 18s607ms 10 60 18m37s 18s631ms 11 60 18m34s 18s577ms 12 60 18m33s 18s565ms 13 60 18m31s 18s532ms 14 60 17m21s 17s357ms 15 60 16m10s 16s173ms 16 60 16m6s 16s113ms 17 60 16m7s 16s118ms 18 60 16m4s 16s69ms 19 60 16m6s 16s109ms 20 60 16m7s 16s117ms 21 60 16m8s 16s134ms 22 60 16m2s 16s47ms 23 60 16m7s 16s125ms 00 60 15m8s 15s136ms [ User: monitoring_admin - Total duration: 7h1m13s - Times executed: 1438 ]
-
CREATE TABLE IF NOT EXISTS observability.db_top_queries ( id bigserial PRIMARY KEY, tenant_key text NOT NULL, fingerprint text, query text, mean_time_ms double precision, total_time_ms double precision, calls bigint, rows_returned bigint, collected_at timestamptz NOT NULL DEFAULT NOW() );
Date: 2026-05-24 03:36:01 Duration: 19s390ms Database: zemm_monitoring User: monitoring_admin Bind query: yes Log file: /var/log/postgresql/postgresql-2026-05-24_000000.csv
-
CREATE TABLE IF NOT EXISTS observability.db_top_queries ( id bigserial PRIMARY KEY, tenant_key text NOT NULL, fingerprint text, query text, mean_time_ms double precision, total_time_ms double precision, calls bigint, rows_returned bigint, collected_at timestamptz NOT NULL DEFAULT NOW() );
Date: 2026-05-24 06:10:01 Duration: 19s373ms Database: zemm_monitoring User: monitoring_admin Bind query: yes Log file: /var/log/postgresql/postgresql-2026-05-24_000000.csv
-
CREATE TABLE IF NOT EXISTS observability.db_top_queries ( id bigserial PRIMARY KEY, tenant_key text NOT NULL, fingerprint text, query text, mean_time_ms double precision, total_time_ms double precision, calls bigint, rows_returned bigint, collected_at timestamptz NOT NULL DEFAULT NOW() );
Date: 2026-05-24 02:45:01 Duration: 19s297ms Database: zemm_monitoring User: monitoring_admin Bind query: yes Log file: /var/log/postgresql/postgresql-2026-05-24_000000.csv
17 1,440 7h1m13s 1s21ms 19s390ms 17s550ms 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 #17
Day Hour Count Duration Avg duration May 24 01 60 18m21s 18s354ms 02 60 18m8s 18s147ms 03 60 19m5s 19s94ms 04 60 19m6s 19s113ms 05 60 18m57s 18s965ms 06 60 19m1s 19s28ms 07 60 19m5s 19s93ms 08 60 19m 19s4ms 09 60 18m36s 18s607ms 10 60 18m37s 18s631ms 11 60 18m34s 18s577ms 12 60 18m33s 18s565ms 13 60 18m31s 18s532ms 14 60 17m21s 17s357ms 15 60 16m10s 16s173ms 16 60 16m6s 16s113ms 17 60 16m7s 16s118ms 18 60 16m4s 16s69ms 19 60 16m6s 16s109ms 20 60 16m7s 16s117ms 21 60 16m8s 16s134ms 22 60 16m2s 16s47ms 23 60 16m7s 16s125ms 00 60 15m8s 15s136ms [ User: monitoring_admin - Total duration: 7h1m13s - Times executed: 1438 ]
-
CREATE TABLE IF NOT EXISTS observability.uptime_checks ( id bigserial PRIMARY KEY, endpoint text NOT NULL, status text NOT NULL, latency_ms double precision, checked_at timestamptz NOT NULL DEFAULT NOW() );
Date: 2026-05-24 03:36:01 Duration: 19s390ms Database: zemm_monitoring User: monitoring_admin Bind query: yes Log file: /var/log/postgresql/postgresql-2026-05-24_000000.csv
-
CREATE TABLE IF NOT EXISTS observability.uptime_checks ( id bigserial PRIMARY KEY, endpoint text NOT NULL, status text NOT NULL, latency_ms double precision, checked_at timestamptz NOT NULL DEFAULT NOW() );
Date: 2026-05-24 06:10:01 Duration: 19s373ms Database: zemm_monitoring User: monitoring_admin Bind query: yes Log file: /var/log/postgresql/postgresql-2026-05-24_000000.csv
-
CREATE TABLE IF NOT EXISTS observability.uptime_checks ( id bigserial PRIMARY KEY, endpoint text NOT NULL, status text NOT NULL, latency_ms double precision, checked_at timestamptz NOT NULL DEFAULT NOW() );
Date: 2026-05-24 02:45:01 Duration: 19s297ms Database: zemm_monitoring User: monitoring_admin Bind query: yes Log file: /var/log/postgresql/postgresql-2026-05-24_000000.csv
18 141 41m28s 15s958ms 19s390ms 17s648ms with start_snap as ( select distinct on (tenant_key, fingerprint) tenant_key, fingerprint, total_time_ms, calls, rows_returned, collected_at from observability.db_top_queries where tenant_key in (...) and collected_at >= ? and collected_at <= ? order by tenant_key, fingerprint, collected_at desc ), fallback_start as ( select distinct on (tenant_key, fingerprint) tenant_key, fingerprint, total_time_ms, calls, rows_returned, collected_at from observability.db_top_queries where tenant_key in (...) and collected_at between ? and ? order by tenant_key, fingerprint, collected_at asc ), end_snap as ( select distinct on (tenant_key, fingerprint) tenant_key, fingerprint, query, total_time_ms, calls, rows_returned, collected_at from observability.db_top_queries where tenant_key in (...) and collected_at between ? and ? order by tenant_key, fingerprint, collected_at desc ), deltas as ( select e.tenant_key, e.fingerprint, e.query, e.collected_at as last_seen, greatest (coalesce(e.total_time_ms, ?) - coalesce(s.total_time_ms, fs.total_time_ms, ?), ?) as total_time_ms, greatest (coalesce(e.calls, ?) - coalesce(s.calls, fs.calls, ?), ?) as calls, greatest (coalesce(e.rows_returned, ?) - coalesce(s.rows_returned, fs.rows_returned, ?), ?) as rows_returned from end_snap e left join start_snap s on s.tenant_key = e.tenant_key and s.fingerprint = e.fingerprint left join fallback_start fs on fs.tenant_key = e.tenant_key and fs.fingerprint = e.fingerprint and s.tenant_key is null ) select fingerprint, max(query) as query, max(last_seen) as last_seen, sum(total_time_ms) as total_time_ms, sum(calls) as calls, sum(rows_returned) as rows_returned, case when sum(calls) > ? then sum(total_time_ms) / sum(calls) else ? end as mean_time_ms, array_agg(distinct tenant_key order by tenant_key) as tenant_keys from deltas where total_time_ms > ? or calls > ? group by fingerprint order by total_time_ms desc, calls desc limit ? offset ?;Times Reported Time consuming queries #18
Day Hour Count Duration Avg duration May 24 01 6 1m53s 18s983ms 02 6 1m54s 19s71ms 03 6 1m54s 19s73ms 04 6 1m54s 19s100ms 05 6 1m53s 18s972ms 06 5 1m35s 19s44ms 07 6 1m54s 19s89ms 08 6 1m54s 19s13ms 09 6 1m51s 18s593ms 10 6 1m51s 18s642ms 11 6 1m51s 18s563ms 12 6 1m51s 18s548ms 13 5 1m32s 18s533ms 14 7 2m 17s157ms 15 6 1m37s 16s168ms 16 5 1m20s 16s101ms 17 6 1m36s 16s118ms 18 6 1m36s 16s67ms 19 6 1m36s 16s103ms 20 6 1m36s 16s155ms 21 6 1m36s 16s96ms 22 5 1m20s 16s46ms 23 6 1m36s 16s127ms 00 6 1m36s 16s118ms [ User: monitoring_admin - Total duration: 41m28s - Times executed: 141 ]
-
WITH start_snap AS ( SELECT DISTINCT ON (tenant_key, fingerprint) tenant_key, fingerprint, total_time_ms, calls, rows_returned, collected_at FROM observability.db_top_queries WHERE tenant_key IN ('prod', 'live') AND collected_at >= '2026-05-19 03:25:54+02' AND collected_at <= '2026-05-21 03:25:54+02' ORDER BY tenant_key, fingerprint, collected_at DESC ), fallback_start AS ( SELECT DISTINCT ON (tenant_key, fingerprint) tenant_key, fingerprint, total_time_ms, calls, rows_returned, collected_at FROM observability.db_top_queries WHERE tenant_key IN ('prod', 'live') AND collected_at BETWEEN '2026-05-21 03:25:54+02' AND '2026-05-24 03:25:54+02' ORDER BY tenant_key, fingerprint, collected_at ASC ), end_snap AS ( SELECT DISTINCT ON (tenant_key, fingerprint) tenant_key, fingerprint, query, total_time_ms, calls, rows_returned, collected_at FROM observability.db_top_queries WHERE tenant_key IN ('prod', 'live') AND collected_at BETWEEN '2026-05-21 03:25:54+02' AND '2026-05-24 03:25:54+02' ORDER BY tenant_key, fingerprint, collected_at DESC ), deltas AS ( SELECT e.tenant_key, e.fingerprint, e.query, e.collected_at AS last_seen, GREATEST (COALESCE(e.total_time_ms, 0) - COALESCE(s.total_time_ms, fs.total_time_ms, 0), 0) AS total_time_ms, GREATEST (COALESCE(e.calls, 0) - COALESCE(s.calls, fs.calls, 0), 0) AS calls, GREATEST (COALESCE(e.rows_returned, 0) - COALESCE(s.rows_returned, fs.rows_returned, 0), 0) AS rows_returned FROM end_snap e LEFT JOIN start_snap s ON s.tenant_key = e.tenant_key AND s.fingerprint = e.fingerprint LEFT JOIN fallback_start fs ON fs.tenant_key = e.tenant_key AND fs.fingerprint = e.fingerprint AND s.tenant_key IS NULL ) SELECT fingerprint, MAX(query) AS query, MAX(last_seen) AS last_seen, SUM(total_time_ms) AS total_time_ms, SUM(calls) AS calls, SUM(rows_returned) AS rows_returned, CASE WHEN SUM(calls) > 0 THEN SUM(total_time_ms) / SUM(calls) ELSE 0 END AS mean_time_ms, array_agg(DISTINCT tenant_key ORDER BY tenant_key) AS tenant_keys FROM deltas WHERE total_time_ms > 0 OR calls > 0 GROUP BY fingerprint ORDER BY total_time_ms DESC, calls DESC LIMIT '20' OFFSET '0';
Date: 2026-05-24 03:26:13 Duration: 19s390ms Database: zemm_monitoring User: monitoring_admin Bind query: yes Log file: /var/log/postgresql/postgresql-2026-05-24_000000.csv
-
WITH start_snap AS ( SELECT DISTINCT ON (tenant_key, fingerprint) tenant_key, fingerprint, total_time_ms, calls, rows_returned, collected_at FROM observability.db_top_queries WHERE tenant_key IN ('prod', 'live') AND collected_at >= '2026-05-19 06:00:01+02' AND collected_at <= '2026-05-21 06:00:01+02' ORDER BY tenant_key, fingerprint, collected_at DESC ), fallback_start AS ( SELECT DISTINCT ON (tenant_key, fingerprint) tenant_key, fingerprint, total_time_ms, calls, rows_returned, collected_at FROM observability.db_top_queries WHERE tenant_key IN ('prod', 'live') AND collected_at BETWEEN '2026-05-21 06:00:01+02' AND '2026-05-24 06:00:01+02' ORDER BY tenant_key, fingerprint, collected_at ASC ), end_snap AS ( SELECT DISTINCT ON (tenant_key, fingerprint) tenant_key, fingerprint, query, total_time_ms, calls, rows_returned, collected_at FROM observability.db_top_queries WHERE tenant_key IN ('prod', 'live') AND collected_at BETWEEN '2026-05-21 06:00:01+02' AND '2026-05-24 06:00:01+02' ORDER BY tenant_key, fingerprint, collected_at DESC ), deltas AS ( SELECT e.tenant_key, e.fingerprint, e.query, e.collected_at AS last_seen, GREATEST (COALESCE(e.total_time_ms, 0) - COALESCE(s.total_time_ms, fs.total_time_ms, 0), 0) AS total_time_ms, GREATEST (COALESCE(e.calls, 0) - COALESCE(s.calls, fs.calls, 0), 0) AS calls, GREATEST (COALESCE(e.rows_returned, 0) - COALESCE(s.rows_returned, fs.rows_returned, 0), 0) AS rows_returned FROM end_snap e LEFT JOIN start_snap s ON s.tenant_key = e.tenant_key AND s.fingerprint = e.fingerprint LEFT JOIN fallback_start fs ON fs.tenant_key = e.tenant_key AND fs.fingerprint = e.fingerprint AND s.tenant_key IS NULL ) SELECT fingerprint, MAX(query) AS query, MAX(last_seen) AS last_seen, SUM(total_time_ms) AS total_time_ms, SUM(calls) AS calls, SUM(rows_returned) AS rows_returned, CASE WHEN SUM(calls) > 0 THEN SUM(total_time_ms) / SUM(calls) ELSE 0 END AS mean_time_ms, array_agg(DISTINCT tenant_key ORDER BY tenant_key) AS tenant_keys FROM deltas WHERE total_time_ms > 0 OR calls > 0 GROUP BY fingerprint ORDER BY total_time_ms DESC, calls DESC LIMIT '20' OFFSET '0';
Date: 2026-05-24 06:00:20 Duration: 19s373ms Database: zemm_monitoring User: monitoring_admin Bind query: yes Log file: /var/log/postgresql/postgresql-2026-05-24_000000.csv
-
WITH start_snap AS ( SELECT DISTINCT ON (tenant_key, fingerprint) tenant_key, fingerprint, total_time_ms, calls, rows_returned, collected_at FROM observability.db_top_queries WHERE tenant_key IN ('prod', 'live') AND collected_at >= '2026-05-19 02:34:47+02' AND collected_at <= '2026-05-21 02:34:47+02' ORDER BY tenant_key, fingerprint, collected_at DESC ), fallback_start AS ( SELECT DISTINCT ON (tenant_key, fingerprint) tenant_key, fingerprint, total_time_ms, calls, rows_returned, collected_at FROM observability.db_top_queries WHERE tenant_key IN ('prod', 'live') AND collected_at BETWEEN '2026-05-21 02:34:47+02' AND '2026-05-24 02:34:47+02' ORDER BY tenant_key, fingerprint, collected_at ASC ), end_snap AS ( SELECT DISTINCT ON (tenant_key, fingerprint) tenant_key, fingerprint, query, total_time_ms, calls, rows_returned, collected_at FROM observability.db_top_queries WHERE tenant_key IN ('prod', 'live') AND collected_at BETWEEN '2026-05-21 02:34:47+02' AND '2026-05-24 02:34:47+02' ORDER BY tenant_key, fingerprint, collected_at DESC ), deltas AS ( SELECT e.tenant_key, e.fingerprint, e.query, e.collected_at AS last_seen, GREATEST (COALESCE(e.total_time_ms, 0) - COALESCE(s.total_time_ms, fs.total_time_ms, 0), 0) AS total_time_ms, GREATEST (COALESCE(e.calls, 0) - COALESCE(s.calls, fs.calls, 0), 0) AS calls, GREATEST (COALESCE(e.rows_returned, 0) - COALESCE(s.rows_returned, fs.rows_returned, 0), 0) AS rows_returned FROM end_snap e LEFT JOIN start_snap s ON s.tenant_key = e.tenant_key AND s.fingerprint = e.fingerprint LEFT JOIN fallback_start fs ON fs.tenant_key = e.tenant_key AND fs.fingerprint = e.fingerprint AND s.tenant_key IS NULL ) SELECT fingerprint, MAX(query) AS query, MAX(last_seen) AS last_seen, SUM(total_time_ms) AS total_time_ms, SUM(calls) AS calls, SUM(rows_returned) AS rows_returned, CASE WHEN SUM(calls) > 0 THEN SUM(total_time_ms) / SUM(calls) ELSE 0 END AS mean_time_ms, array_agg(DISTINCT tenant_key ORDER BY tenant_key) AS tenant_keys FROM deltas WHERE total_time_ms > 0 OR calls > 0 GROUP BY fingerprint ORDER BY total_time_ms DESC, calls DESC LIMIT '20' OFFSET '0';
Date: 2026-05-24 02:35:06 Duration: 19s297ms Database: zemm_monitoring User: monitoring_admin Bind query: yes Log file: /var/log/postgresql/postgresql-2026-05-24_000000.csv
19 1 2s52ms 2s52ms 2s52ms 2s52ms copy public.diary (id, "animalID", date, "entrybyID", "cageID", weight, temperature, "fDeprivation", "wDeprivation", "sDeprivation", "feedingClass", health, comments, "breedingInfo", deleted, "inOutDate", "inOutFlag", text, sdesc, treatment, tailcut_id, tailcut_result, file_name, file_content, file_type, upload_name, old_gene_type, old_gene_info, old_gene2_type, old_gene2_info, old_gene3_info, old_gene3_type, old_gene4_info, old_gene4_type, old_gene5_info, old_gene5_type) to stdout;Times Reported Time consuming queries #19
Day Hour Count Duration Avg duration May 24 00 1 2s52ms 2s52ms [ User: postgres - Total duration: 2s52ms - Times executed: 1 ]
[ Application: pg_dump - Total duration: 2s52ms - Times executed: 1 ]
-
COPY public.diary (id, "animalID", date, "entrybyID", "cageID", weight, temperature, "fDeprivation", "wDeprivation", "sDeprivation", "feedingClass", health, comments, "breedingInfo", deleted, "inOutDate", "inOutFlag", text, sdesc, treatment, tailcut_id, tailcut_result, file_name, file_content, file_type, upload_name, old_gene_type, old_gene_info, old_gene2_type, old_gene2_info, old_gene3_info, old_gene3_type, old_gene4_info, old_gene4_type, old_gene5_info, old_gene5_type) TO stdout;
Date: 2026-05-24 23:55:12 Duration: 2s52ms Database: zemm_produktiv_8 User: postgres Remote: [local] Application: pg_dump Bind query: yes Log file: /var/log/postgresql/postgresql-2026-05-24_000000.csv
20 1 1s389ms 1s389ms 1s389ms 1s389ms copy public."targetgroupMembers" (id, targetgroup, "user", "group") to stdout;Times Reported Time consuming queries #20
Day Hour Count Duration Avg duration May 24 00 1 1s389ms 1s389ms [ User: postgres - Total duration: 1s389ms - Times executed: 1 ]
[ Application: pg_dump - Total duration: 1s389ms - Times executed: 1 ]
-
COPY public."targetgroupMembers" (id, targetgroup, "user", "group") TO stdout;
Date: 2026-05-24 23:55:14 Duration: 1s389ms Database: zemm_produktiv_8 User: postgres Remote: [local] Application: pg_dump Bind query: yes Log file: /var/log/postgresql/postgresql-2026-05-24_000000.csv
Normalized slowest queries (N)
Rank Min duration Max duration Avg duration Times executed Total duration Query 1 15s958ms 19s390ms 17s648ms 141 41m28s with start_snap as ( select distinct on (tenant_key, fingerprint) tenant_key, fingerprint, total_time_ms, calls, rows_returned, collected_at from observability.db_top_queries where tenant_key in (...) and collected_at >= ? and collected_at <= ? order by tenant_key, fingerprint, collected_at desc ), fallback_start as ( select distinct on (tenant_key, fingerprint) tenant_key, fingerprint, total_time_ms, calls, rows_returned, collected_at from observability.db_top_queries where tenant_key in (...) and collected_at between ? and ? order by tenant_key, fingerprint, collected_at asc ), end_snap as ( select distinct on (tenant_key, fingerprint) tenant_key, fingerprint, query, total_time_ms, calls, rows_returned, collected_at from observability.db_top_queries where tenant_key in (...) and collected_at between ? and ? order by tenant_key, fingerprint, collected_at desc ), deltas as ( select e.tenant_key, e.fingerprint, e.query, e.collected_at as last_seen, greatest (coalesce(e.total_time_ms, ?) - coalesce(s.total_time_ms, fs.total_time_ms, ?), ?) as total_time_ms, greatest (coalesce(e.calls, ?) - coalesce(s.calls, fs.calls, ?), ?) as calls, greatest (coalesce(e.rows_returned, ?) - coalesce(s.rows_returned, fs.rows_returned, ?), ?) as rows_returned from end_snap e left join start_snap s on s.tenant_key = e.tenant_key and s.fingerprint = e.fingerprint left join fallback_start fs on fs.tenant_key = e.tenant_key and fs.fingerprint = e.fingerprint and s.tenant_key is null ) select fingerprint, max(query) as query, max(last_seen) as last_seen, sum(total_time_ms) as total_time_ms, sum(calls) as calls, sum(rows_returned) as rows_returned, case when sum(calls) > ? then sum(total_time_ms) / sum(calls) else ? end as mean_time_ms, array_agg(distinct tenant_key order by tenant_key) as tenant_keys from deltas where total_time_ms > ? or calls > ? group by fingerprint order by total_time_ms desc, calls desc limit ? offset ?;Times Reported Time consuming queries #1
Day Hour Count Duration Avg duration May 24 01 6 1m53s 18s983ms 02 6 1m54s 19s71ms 03 6 1m54s 19s73ms 04 6 1m54s 19s100ms 05 6 1m53s 18s972ms 06 5 1m35s 19s44ms 07 6 1m54s 19s89ms 08 6 1m54s 19s13ms 09 6 1m51s 18s593ms 10 6 1m51s 18s642ms 11 6 1m51s 18s563ms 12 6 1m51s 18s548ms 13 5 1m32s 18s533ms 14 7 2m 17s157ms 15 6 1m37s 16s168ms 16 5 1m20s 16s101ms 17 6 1m36s 16s118ms 18 6 1m36s 16s67ms 19 6 1m36s 16s103ms 20 6 1m36s 16s155ms 21 6 1m36s 16s96ms 22 5 1m20s 16s46ms 23 6 1m36s 16s127ms 00 6 1m36s 16s118ms [ User: monitoring_admin - Total duration: 41m28s - Times executed: 141 ]
-
WITH start_snap AS ( SELECT DISTINCT ON (tenant_key, fingerprint) tenant_key, fingerprint, total_time_ms, calls, rows_returned, collected_at FROM observability.db_top_queries WHERE tenant_key IN ('prod', 'live') AND collected_at >= '2026-05-19 03:25:54+02' AND collected_at <= '2026-05-21 03:25:54+02' ORDER BY tenant_key, fingerprint, collected_at DESC ), fallback_start AS ( SELECT DISTINCT ON (tenant_key, fingerprint) tenant_key, fingerprint, total_time_ms, calls, rows_returned, collected_at FROM observability.db_top_queries WHERE tenant_key IN ('prod', 'live') AND collected_at BETWEEN '2026-05-21 03:25:54+02' AND '2026-05-24 03:25:54+02' ORDER BY tenant_key, fingerprint, collected_at ASC ), end_snap AS ( SELECT DISTINCT ON (tenant_key, fingerprint) tenant_key, fingerprint, query, total_time_ms, calls, rows_returned, collected_at FROM observability.db_top_queries WHERE tenant_key IN ('prod', 'live') AND collected_at BETWEEN '2026-05-21 03:25:54+02' AND '2026-05-24 03:25:54+02' ORDER BY tenant_key, fingerprint, collected_at DESC ), deltas AS ( SELECT e.tenant_key, e.fingerprint, e.query, e.collected_at AS last_seen, GREATEST (COALESCE(e.total_time_ms, 0) - COALESCE(s.total_time_ms, fs.total_time_ms, 0), 0) AS total_time_ms, GREATEST (COALESCE(e.calls, 0) - COALESCE(s.calls, fs.calls, 0), 0) AS calls, GREATEST (COALESCE(e.rows_returned, 0) - COALESCE(s.rows_returned, fs.rows_returned, 0), 0) AS rows_returned FROM end_snap e LEFT JOIN start_snap s ON s.tenant_key = e.tenant_key AND s.fingerprint = e.fingerprint LEFT JOIN fallback_start fs ON fs.tenant_key = e.tenant_key AND fs.fingerprint = e.fingerprint AND s.tenant_key IS NULL ) SELECT fingerprint, MAX(query) AS query, MAX(last_seen) AS last_seen, SUM(total_time_ms) AS total_time_ms, SUM(calls) AS calls, SUM(rows_returned) AS rows_returned, CASE WHEN SUM(calls) > 0 THEN SUM(total_time_ms) / SUM(calls) ELSE 0 END AS mean_time_ms, array_agg(DISTINCT tenant_key ORDER BY tenant_key) AS tenant_keys FROM deltas WHERE total_time_ms > 0 OR calls > 0 GROUP BY fingerprint ORDER BY total_time_ms DESC, calls DESC LIMIT '20' OFFSET '0';
Date: 2026-05-24 03:26:13 Duration: 19s390ms Database: zemm_monitoring User: monitoring_admin Bind query: yes Log file: /var/log/postgresql/postgresql-2026-05-24_000000.csv
-
WITH start_snap AS ( SELECT DISTINCT ON (tenant_key, fingerprint) tenant_key, fingerprint, total_time_ms, calls, rows_returned, collected_at FROM observability.db_top_queries WHERE tenant_key IN ('prod', 'live') AND collected_at >= '2026-05-19 06:00:01+02' AND collected_at <= '2026-05-21 06:00:01+02' ORDER BY tenant_key, fingerprint, collected_at DESC ), fallback_start AS ( SELECT DISTINCT ON (tenant_key, fingerprint) tenant_key, fingerprint, total_time_ms, calls, rows_returned, collected_at FROM observability.db_top_queries WHERE tenant_key IN ('prod', 'live') AND collected_at BETWEEN '2026-05-21 06:00:01+02' AND '2026-05-24 06:00:01+02' ORDER BY tenant_key, fingerprint, collected_at ASC ), end_snap AS ( SELECT DISTINCT ON (tenant_key, fingerprint) tenant_key, fingerprint, query, total_time_ms, calls, rows_returned, collected_at FROM observability.db_top_queries WHERE tenant_key IN ('prod', 'live') AND collected_at BETWEEN '2026-05-21 06:00:01+02' AND '2026-05-24 06:00:01+02' ORDER BY tenant_key, fingerprint, collected_at DESC ), deltas AS ( SELECT e.tenant_key, e.fingerprint, e.query, e.collected_at AS last_seen, GREATEST (COALESCE(e.total_time_ms, 0) - COALESCE(s.total_time_ms, fs.total_time_ms, 0), 0) AS total_time_ms, GREATEST (COALESCE(e.calls, 0) - COALESCE(s.calls, fs.calls, 0), 0) AS calls, GREATEST (COALESCE(e.rows_returned, 0) - COALESCE(s.rows_returned, fs.rows_returned, 0), 0) AS rows_returned FROM end_snap e LEFT JOIN start_snap s ON s.tenant_key = e.tenant_key AND s.fingerprint = e.fingerprint LEFT JOIN fallback_start fs ON fs.tenant_key = e.tenant_key AND fs.fingerprint = e.fingerprint AND s.tenant_key IS NULL ) SELECT fingerprint, MAX(query) AS query, MAX(last_seen) AS last_seen, SUM(total_time_ms) AS total_time_ms, SUM(calls) AS calls, SUM(rows_returned) AS rows_returned, CASE WHEN SUM(calls) > 0 THEN SUM(total_time_ms) / SUM(calls) ELSE 0 END AS mean_time_ms, array_agg(DISTINCT tenant_key ORDER BY tenant_key) AS tenant_keys FROM deltas WHERE total_time_ms > 0 OR calls > 0 GROUP BY fingerprint ORDER BY total_time_ms DESC, calls DESC LIMIT '20' OFFSET '0';
Date: 2026-05-24 06:00:20 Duration: 19s373ms Database: zemm_monitoring User: monitoring_admin Bind query: yes Log file: /var/log/postgresql/postgresql-2026-05-24_000000.csv
-
WITH start_snap AS ( SELECT DISTINCT ON (tenant_key, fingerprint) tenant_key, fingerprint, total_time_ms, calls, rows_returned, collected_at FROM observability.db_top_queries WHERE tenant_key IN ('prod', 'live') AND collected_at >= '2026-05-19 02:34:47+02' AND collected_at <= '2026-05-21 02:34:47+02' ORDER BY tenant_key, fingerprint, collected_at DESC ), fallback_start AS ( SELECT DISTINCT ON (tenant_key, fingerprint) tenant_key, fingerprint, total_time_ms, calls, rows_returned, collected_at FROM observability.db_top_queries WHERE tenant_key IN ('prod', 'live') AND collected_at BETWEEN '2026-05-21 02:34:47+02' AND '2026-05-24 02:34:47+02' ORDER BY tenant_key, fingerprint, collected_at ASC ), end_snap AS ( SELECT DISTINCT ON (tenant_key, fingerprint) tenant_key, fingerprint, query, total_time_ms, calls, rows_returned, collected_at FROM observability.db_top_queries WHERE tenant_key IN ('prod', 'live') AND collected_at BETWEEN '2026-05-21 02:34:47+02' AND '2026-05-24 02:34:47+02' ORDER BY tenant_key, fingerprint, collected_at DESC ), deltas AS ( SELECT e.tenant_key, e.fingerprint, e.query, e.collected_at AS last_seen, GREATEST (COALESCE(e.total_time_ms, 0) - COALESCE(s.total_time_ms, fs.total_time_ms, 0), 0) AS total_time_ms, GREATEST (COALESCE(e.calls, 0) - COALESCE(s.calls, fs.calls, 0), 0) AS calls, GREATEST (COALESCE(e.rows_returned, 0) - COALESCE(s.rows_returned, fs.rows_returned, 0), 0) AS rows_returned FROM end_snap e LEFT JOIN start_snap s ON s.tenant_key = e.tenant_key AND s.fingerprint = e.fingerprint LEFT JOIN fallback_start fs ON fs.tenant_key = e.tenant_key AND fs.fingerprint = e.fingerprint AND s.tenant_key IS NULL ) SELECT fingerprint, MAX(query) AS query, MAX(last_seen) AS last_seen, SUM(total_time_ms) AS total_time_ms, SUM(calls) AS calls, SUM(rows_returned) AS rows_returned, CASE WHEN SUM(calls) > 0 THEN SUM(total_time_ms) / SUM(calls) ELSE 0 END AS mean_time_ms, array_agg(DISTINCT tenant_key ORDER BY tenant_key) AS tenant_keys FROM deltas WHERE total_time_ms > 0 OR calls > 0 GROUP BY fingerprint ORDER BY total_time_ms DESC, calls DESC LIMIT '20' OFFSET '0';
Date: 2026-05-24 02:35:06 Duration: 19s297ms Database: zemm_monitoring User: monitoring_admin Bind query: yes Log file: /var/log/postgresql/postgresql-2026-05-24_000000.csv
2 1s21ms 19s390ms 17s550ms 1,440 7h1m13s 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 #2
Day Hour Count Duration Avg duration May 24 01 60 18m21s 18s354ms 02 60 18m8s 18s147ms 03 60 19m5s 19s94ms 04 60 19m6s 19s113ms 05 60 18m57s 18s965ms 06 60 19m1s 19s28ms 07 60 19m5s 19s93ms 08 60 19m 19s4ms 09 60 18m36s 18s607ms 10 60 18m37s 18s631ms 11 60 18m34s 18s577ms 12 60 18m33s 18s565ms 13 60 18m31s 18s532ms 14 60 17m21s 17s357ms 15 60 16m10s 16s173ms 16 60 16m6s 16s113ms 17 60 16m7s 16s118ms 18 60 16m4s 16s69ms 19 60 16m6s 16s109ms 20 60 16m7s 16s117ms 21 60 16m8s 16s134ms 22 60 16m2s 16s47ms 23 60 16m7s 16s125ms 00 60 15m8s 15s136ms [ User: monitoring_admin - Total duration: 7h1m13s - Times executed: 1438 ]
-
CREATE INDEX IF NOT EXISTS idx_db_top_queries_tenant ON observability.db_top_queries (tenant_key, collected_at DESC);
Date: 2026-05-24 03:36:01 Duration: 19s390ms Database: zemm_monitoring User: monitoring_admin Bind query: yes Log file: /var/log/postgresql/postgresql-2026-05-24_000000.csv
-
CREATE INDEX IF NOT EXISTS idx_db_top_queries_tenant ON observability.db_top_queries (tenant_key, collected_at DESC);
Date: 2026-05-24 06:10:01 Duration: 19s373ms Database: zemm_monitoring User: monitoring_admin Bind query: yes Log file: /var/log/postgresql/postgresql-2026-05-24_000000.csv
-
CREATE INDEX IF NOT EXISTS idx_db_top_queries_tenant ON observability.db_top_queries (tenant_key, collected_at DESC);
Date: 2026-05-24 02:45:01 Duration: 19s297ms Database: zemm_monitoring User: monitoring_admin Bind query: yes Log file: /var/log/postgresql/postgresql-2026-05-24_000000.csv
3 1s21ms 19s390ms 17s550ms 1,440 7h1m13s create index if not exists idx_uptime_checks_endpoint on observability.uptime_checks (endpoint, checked_at desc);Times Reported Time consuming queries #3
Day Hour Count Duration Avg duration May 24 01 60 18m21s 18s354ms 02 60 18m8s 18s147ms 03 60 19m5s 19s94ms 04 60 19m6s 19s113ms 05 60 18m57s 18s965ms 06 60 19m1s 19s28ms 07 60 19m5s 19s93ms 08 60 19m 19s4ms 09 60 18m36s 18s607ms 10 60 18m37s 18s631ms 11 60 18m34s 18s577ms 12 60 18m33s 18s565ms 13 60 18m31s 18s532ms 14 60 17m21s 17s357ms 15 60 16m10s 16s173ms 16 60 16m6s 16s113ms 17 60 16m7s 16s118ms 18 60 16m4s 16s69ms 19 60 16m6s 16s109ms 20 60 16m7s 16s117ms 21 60 16m8s 16s134ms 22 60 16m2s 16s47ms 23 60 16m7s 16s125ms 00 60 15m8s 15s136ms [ User: monitoring_admin - Total duration: 7h1m13s - Times executed: 1438 ]
-
CREATE INDEX IF NOT EXISTS idx_uptime_checks_endpoint ON observability.uptime_checks (endpoint, checked_at DESC);
Date: 2026-05-24 03:36:01 Duration: 19s390ms Database: zemm_monitoring User: monitoring_admin Bind query: yes Log file: /var/log/postgresql/postgresql-2026-05-24_000000.csv
-
CREATE INDEX IF NOT EXISTS idx_uptime_checks_endpoint ON observability.uptime_checks (endpoint, checked_at DESC);
Date: 2026-05-24 06:10:01 Duration: 19s373ms Database: zemm_monitoring User: monitoring_admin Bind query: yes Log file: /var/log/postgresql/postgresql-2026-05-24_000000.csv
-
CREATE INDEX IF NOT EXISTS idx_uptime_checks_endpoint ON observability.uptime_checks (endpoint, checked_at DESC);
Date: 2026-05-24 02:45:01 Duration: 19s297ms Database: zemm_monitoring User: monitoring_admin Bind query: yes Log file: /var/log/postgresql/postgresql-2026-05-24_000000.csv
4 1s21ms 19s390ms 17s550ms 1,440 7h1m13s 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 May 24 01 60 18m21s 18s354ms 02 60 18m8s 18s147ms 03 60 19m5s 19s94ms 04 60 19m6s 19s113ms 05 60 18m57s 18s965ms 06 60 19m1s 19s28ms 07 60 19m5s 19s93ms 08 60 19m 19s4ms 09 60 18m36s 18s607ms 10 60 18m37s 18s631ms 11 60 18m34s 18s577ms 12 60 18m33s 18s565ms 13 60 18m31s 18s532ms 14 60 17m21s 17s357ms 15 60 16m10s 16s173ms 16 60 16m6s 16s113ms 17 60 16m7s 16s118ms 18 60 16m4s 16s69ms 19 60 16m6s 16s109ms 20 60 16m7s 16s117ms 21 60 16m8s 16s134ms 22 60 16m2s 16s47ms 23 60 16m7s 16s125ms 00 60 15m8s 15s136ms [ User: monitoring_admin - Total duration: 7h1m13s - Times executed: 1438 ]
-
CREATE TABLE IF NOT EXISTS observability.app_events ( id bigserial PRIMARY KEY, tenant_key text NOT NULL, event_type text NOT NULL, severity text NOT NULL, message text NOT NULL, payload jsonb, occurred_at timestamptz NOT NULL DEFAULT NOW(), created_at timestamptz NOT NULL DEFAULT NOW() );
Date: 2026-05-24 03:36:01 Duration: 19s390ms Database: zemm_monitoring User: monitoring_admin Bind query: yes Log file: /var/log/postgresql/postgresql-2026-05-24_000000.csv
-
CREATE TABLE IF NOT EXISTS observability.app_events ( id bigserial PRIMARY KEY, tenant_key text NOT NULL, event_type text NOT NULL, severity text NOT NULL, message text NOT NULL, payload jsonb, occurred_at timestamptz NOT NULL DEFAULT NOW(), created_at timestamptz NOT NULL DEFAULT NOW() );
Date: 2026-05-24 06:10:01 Duration: 19s373ms Database: zemm_monitoring User: monitoring_admin Bind query: yes Log file: /var/log/postgresql/postgresql-2026-05-24_000000.csv
-
CREATE TABLE IF NOT EXISTS observability.app_events ( id bigserial PRIMARY KEY, tenant_key text NOT NULL, event_type text NOT NULL, severity text NOT NULL, message text NOT NULL, payload jsonb, occurred_at timestamptz NOT NULL DEFAULT NOW(), created_at timestamptz NOT NULL DEFAULT NOW() );
Date: 2026-05-24 02:45:01 Duration: 19s297ms Database: zemm_monitoring User: monitoring_admin Bind query: yes Log file: /var/log/postgresql/postgresql-2026-05-24_000000.csv
5 1s21ms 19s390ms 17s550ms 1,440 7h1m13s create index if not exists idx_app_events_tenant on observability.app_events (tenant_key, occurred_at desc);Times Reported Time consuming queries #5
Day Hour Count Duration Avg duration May 24 01 60 18m21s 18s354ms 02 60 18m8s 18s147ms 03 60 19m5s 19s94ms 04 60 19m6s 19s113ms 05 60 18m57s 18s965ms 06 60 19m1s 19s28ms 07 60 19m5s 19s93ms 08 60 19m 19s4ms 09 60 18m36s 18s607ms 10 60 18m37s 18s631ms 11 60 18m34s 18s577ms 12 60 18m33s 18s565ms 13 60 18m31s 18s532ms 14 60 17m21s 17s357ms 15 60 16m10s 16s173ms 16 60 16m6s 16s113ms 17 60 16m7s 16s118ms 18 60 16m4s 16s69ms 19 60 16m6s 16s109ms 20 60 16m7s 16s117ms 21 60 16m8s 16s134ms 22 60 16m2s 16s47ms 23 60 16m7s 16s125ms 00 60 15m8s 15s136ms [ User: monitoring_admin - Total duration: 7h1m13s - Times executed: 1438 ]
-
CREATE INDEX IF NOT EXISTS idx_app_events_tenant ON observability.app_events (tenant_key, occurred_at DESC);
Date: 2026-05-24 03:36:01 Duration: 19s390ms Database: zemm_monitoring User: monitoring_admin Bind query: yes Log file: /var/log/postgresql/postgresql-2026-05-24_000000.csv
-
CREATE INDEX IF NOT EXISTS idx_app_events_tenant ON observability.app_events (tenant_key, occurred_at DESC);
Date: 2026-05-24 06:10:01 Duration: 19s373ms Database: zemm_monitoring User: monitoring_admin Bind query: yes Log file: /var/log/postgresql/postgresql-2026-05-24_000000.csv
-
CREATE INDEX IF NOT EXISTS idx_app_events_tenant ON observability.app_events (tenant_key, occurred_at DESC);
Date: 2026-05-24 02:45:01 Duration: 19s297ms Database: zemm_monitoring User: monitoring_admin Bind query: yes Log file: /var/log/postgresql/postgresql-2026-05-24_000000.csv
6 1s21ms 19s390ms 17s550ms 1,440 7h1m13s create index if not exists idx_uptime_checks_key on observability.uptime_checks (check_key, checked_at desc);Times Reported Time consuming queries #6
Day Hour Count Duration Avg duration May 24 01 60 18m21s 18s354ms 02 60 18m8s 18s147ms 03 60 19m5s 19s94ms 04 60 19m6s 19s113ms 05 60 18m57s 18s965ms 06 60 19m1s 19s28ms 07 60 19m5s 19s93ms 08 60 19m 19s4ms 09 60 18m36s 18s607ms 10 60 18m37s 18s631ms 11 60 18m34s 18s577ms 12 60 18m33s 18s565ms 13 60 18m31s 18s532ms 14 60 17m21s 17s357ms 15 60 16m10s 16s173ms 16 60 16m6s 16s113ms 17 60 16m7s 16s118ms 18 60 16m4s 16s69ms 19 60 16m6s 16s109ms 20 60 16m7s 16s117ms 21 60 16m8s 16s134ms 22 60 16m2s 16s47ms 23 60 16m7s 16s125ms 00 60 15m8s 15s136ms [ User: monitoring_admin - Total duration: 7h1m13s - Times executed: 1438 ]
-
CREATE INDEX IF NOT EXISTS idx_uptime_checks_key ON observability.uptime_checks (check_key, checked_at DESC);
Date: 2026-05-24 03:36:01 Duration: 19s390ms Database: zemm_monitoring User: monitoring_admin Bind query: yes Log file: /var/log/postgresql/postgresql-2026-05-24_000000.csv
-
CREATE INDEX IF NOT EXISTS idx_uptime_checks_key ON observability.uptime_checks (check_key, checked_at DESC);
Date: 2026-05-24 06:10:01 Duration: 19s373ms Database: zemm_monitoring User: monitoring_admin Bind query: yes Log file: /var/log/postgresql/postgresql-2026-05-24_000000.csv
-
CREATE INDEX IF NOT EXISTS idx_uptime_checks_key ON observability.uptime_checks (check_key, checked_at DESC);
Date: 2026-05-24 02:45:01 Duration: 19s297ms Database: zemm_monitoring User: monitoring_admin Bind query: yes Log file: /var/log/postgresql/postgresql-2026-05-24_000000.csv
7 1s21ms 19s390ms 17s550ms 1,440 7h1m13s create schema if not exists observability;Times Reported Time consuming queries #7
Day Hour Count Duration Avg duration May 24 01 60 18m21s 18s354ms 02 60 18m8s 18s147ms 03 60 19m5s 19s94ms 04 60 19m6s 19s113ms 05 60 18m57s 18s965ms 06 60 19m1s 19s28ms 07 60 19m5s 19s93ms 08 60 19m 19s4ms 09 60 18m36s 18s607ms 10 60 18m37s 18s631ms 11 60 18m34s 18s577ms 12 60 18m33s 18s565ms 13 60 18m31s 18s532ms 14 60 17m21s 17s357ms 15 60 16m10s 16s173ms 16 60 16m6s 16s113ms 17 60 16m7s 16s118ms 18 60 16m4s 16s69ms 19 60 16m6s 16s109ms 20 60 16m7s 16s117ms 21 60 16m8s 16s134ms 22 60 16m2s 16s47ms 23 60 16m7s 16s125ms 00 60 15m8s 15s136ms [ User: monitoring_admin - Total duration: 7h1m13s - Times executed: 1438 ]
-
CREATE SCHEMA IF NOT EXISTS observability;
Date: 2026-05-24 03:36:01 Duration: 19s390ms Database: zemm_monitoring User: monitoring_admin Bind query: yes Log file: /var/log/postgresql/postgresql-2026-05-24_000000.csv
-
CREATE SCHEMA IF NOT EXISTS observability;
Date: 2026-05-24 06:10:01 Duration: 19s373ms Database: zemm_monitoring User: monitoring_admin Bind query: yes Log file: /var/log/postgresql/postgresql-2026-05-24_000000.csv
-
CREATE SCHEMA IF NOT EXISTS observability;
Date: 2026-05-24 02:45:01 Duration: 19s297ms Database: zemm_monitoring User: monitoring_admin Bind query: yes Log file: /var/log/postgresql/postgresql-2026-05-24_000000.csv
8 1s21ms 19s390ms 17s550ms 1,440 7h1m13s create table if not exists observability.metrics_timeseries ( id bigserial primary key, tenant_key text not null, metric_name text not null, bucket_start timestamptz not null, bucket_width_seconds integer not null default ?, sum_value double precision not null default ?, count_value bigint not null default ?, histogram jsonb, created_at timestamptz not null default now(), updated_at timestamptz not null default now(), unique (tenant_key, metric_name, bucket_start, bucket_width_seconds) );Times Reported Time consuming queries #8
Day Hour Count Duration Avg duration May 24 01 60 18m21s 18s354ms 02 60 18m8s 18s147ms 03 60 19m5s 19s94ms 04 60 19m6s 19s113ms 05 60 18m57s 18s965ms 06 60 19m1s 19s28ms 07 60 19m5s 19s93ms 08 60 19m 19s4ms 09 60 18m36s 18s607ms 10 60 18m37s 18s631ms 11 60 18m34s 18s577ms 12 60 18m33s 18s565ms 13 60 18m31s 18s532ms 14 60 17m21s 17s357ms 15 60 16m10s 16s173ms 16 60 16m6s 16s113ms 17 60 16m7s 16s118ms 18 60 16m4s 16s69ms 19 60 16m6s 16s109ms 20 60 16m7s 16s117ms 21 60 16m8s 16s134ms 22 60 16m2s 16s47ms 23 60 16m7s 16s125ms 00 60 15m8s 15s136ms [ User: monitoring_admin - Total duration: 7h1m13s - Times executed: 1438 ]
-
CREATE TABLE IF NOT EXISTS observability.metrics_timeseries ( id bigserial PRIMARY KEY, tenant_key text NOT NULL, metric_name text NOT NULL, bucket_start timestamptz NOT NULL, bucket_width_seconds integer NOT NULL DEFAULT 60, sum_value double precision NOT NULL DEFAULT 0, count_value bigint NOT NULL DEFAULT 0, histogram jsonb, created_at timestamptz NOT NULL DEFAULT NOW(), updated_at timestamptz NOT NULL DEFAULT NOW(), UNIQUE (tenant_key, metric_name, bucket_start, bucket_width_seconds) );
Date: 2026-05-24 03:36:01 Duration: 19s390ms Database: zemm_monitoring User: monitoring_admin Bind query: yes Log file: /var/log/postgresql/postgresql-2026-05-24_000000.csv
-
CREATE TABLE IF NOT EXISTS observability.metrics_timeseries ( id bigserial PRIMARY KEY, tenant_key text NOT NULL, metric_name text NOT NULL, bucket_start timestamptz NOT NULL, bucket_width_seconds integer NOT NULL DEFAULT 60, sum_value double precision NOT NULL DEFAULT 0, count_value bigint NOT NULL DEFAULT 0, histogram jsonb, created_at timestamptz NOT NULL DEFAULT NOW(), updated_at timestamptz NOT NULL DEFAULT NOW(), UNIQUE (tenant_key, metric_name, bucket_start, bucket_width_seconds) );
Date: 2026-05-24 06:10:01 Duration: 19s373ms Database: zemm_monitoring User: monitoring_admin Bind query: yes Log file: /var/log/postgresql/postgresql-2026-05-24_000000.csv
-
CREATE TABLE IF NOT EXISTS observability.metrics_timeseries ( id bigserial PRIMARY KEY, tenant_key text NOT NULL, metric_name text NOT NULL, bucket_start timestamptz NOT NULL, bucket_width_seconds integer NOT NULL DEFAULT 60, sum_value double precision NOT NULL DEFAULT 0, count_value bigint NOT NULL DEFAULT 0, histogram jsonb, created_at timestamptz NOT NULL DEFAULT NOW(), updated_at timestamptz NOT NULL DEFAULT NOW(), UNIQUE (tenant_key, metric_name, bucket_start, bucket_width_seconds) );
Date: 2026-05-24 02:45:01 Duration: 19s297ms Database: zemm_monitoring User: monitoring_admin Bind query: yes Log file: /var/log/postgresql/postgresql-2026-05-24_000000.csv
9 1s21ms 19s390ms 17s550ms 1,440 7h1m13s alter table observability.uptime_checks add column if not exists label text;Times Reported Time consuming queries #9
Day Hour Count Duration Avg duration May 24 01 60 18m21s 18s354ms 02 60 18m8s 18s147ms 03 60 19m5s 19s94ms 04 60 19m6s 19s113ms 05 60 18m57s 18s965ms 06 60 19m1s 19s28ms 07 60 19m5s 19s93ms 08 60 19m 19s4ms 09 60 18m36s 18s607ms 10 60 18m37s 18s631ms 11 60 18m34s 18s577ms 12 60 18m33s 18s565ms 13 60 18m31s 18s532ms 14 60 17m21s 17s357ms 15 60 16m10s 16s173ms 16 60 16m6s 16s113ms 17 60 16m7s 16s118ms 18 60 16m4s 16s69ms 19 60 16m6s 16s109ms 20 60 16m7s 16s117ms 21 60 16m8s 16s134ms 22 60 16m2s 16s47ms 23 60 16m7s 16s125ms 00 60 15m8s 15s136ms [ User: monitoring_admin - Total duration: 7h1m13s - Times executed: 1438 ]
-
ALTER TABLE observability.uptime_checks ADD COLUMN IF NOT EXISTS label text;
Date: 2026-05-24 03:36:01 Duration: 19s390ms Database: zemm_monitoring User: monitoring_admin Bind query: yes Log file: /var/log/postgresql/postgresql-2026-05-24_000000.csv
-
ALTER TABLE observability.uptime_checks ADD COLUMN IF NOT EXISTS label text;
Date: 2026-05-24 06:10:01 Duration: 19s373ms Database: zemm_monitoring User: monitoring_admin Bind query: yes Log file: /var/log/postgresql/postgresql-2026-05-24_000000.csv
-
ALTER TABLE observability.uptime_checks ADD COLUMN IF NOT EXISTS label text;
Date: 2026-05-24 02:45:01 Duration: 19s297ms Database: zemm_monitoring User: monitoring_admin Bind query: yes Log file: /var/log/postgresql/postgresql-2026-05-24_000000.csv
10 1s21ms 19s390ms 17s550ms 1,440 7h1m13s 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 #10
Day Hour Count Duration Avg duration May 24 01 60 18m21s 18s354ms 02 60 18m8s 18s147ms 03 60 19m5s 19s94ms 04 60 19m6s 19s113ms 05 60 18m57s 18s965ms 06 60 19m1s 19s28ms 07 60 19m5s 19s93ms 08 60 19m 19s4ms 09 60 18m36s 18s607ms 10 60 18m37s 18s631ms 11 60 18m34s 18s577ms 12 60 18m33s 18s565ms 13 60 18m31s 18s532ms 14 60 17m21s 17s357ms 15 60 16m10s 16s173ms 16 60 16m6s 16s113ms 17 60 16m7s 16s118ms 18 60 16m4s 16s69ms 19 60 16m6s 16s109ms 20 60 16m7s 16s117ms 21 60 16m8s 16s134ms 22 60 16m2s 16s47ms 23 60 16m7s 16s125ms 00 60 15m8s 15s136ms [ User: monitoring_admin - Total duration: 7h1m13s - Times executed: 1438 ]
-
CREATE TABLE IF NOT EXISTS observability.phpfpm_counters ( id bigserial PRIMARY KEY, payload jsonb NOT NULL, collected_at timestamptz NOT NULL DEFAULT NOW() );
Date: 2026-05-24 03:36:01 Duration: 19s390ms Database: zemm_monitoring User: monitoring_admin Bind query: yes Log file: /var/log/postgresql/postgresql-2026-05-24_000000.csv
-
CREATE TABLE IF NOT EXISTS observability.phpfpm_counters ( id bigserial PRIMARY KEY, payload jsonb NOT NULL, collected_at timestamptz NOT NULL DEFAULT NOW() );
Date: 2026-05-24 06:10:01 Duration: 19s373ms Database: zemm_monitoring User: monitoring_admin Bind query: yes Log file: /var/log/postgresql/postgresql-2026-05-24_000000.csv
-
CREATE TABLE IF NOT EXISTS observability.phpfpm_counters ( id bigserial PRIMARY KEY, payload jsonb NOT NULL, collected_at timestamptz NOT NULL DEFAULT NOW() );
Date: 2026-05-24 02:45:01 Duration: 19s297ms Database: zemm_monitoring User: monitoring_admin Bind query: yes Log file: /var/log/postgresql/postgresql-2026-05-24_000000.csv
11 1s21ms 19s390ms 17s550ms 1,440 7h1m13s create index if not exists idx_app_events_type on observability.app_events (event_type);Times Reported Time consuming queries #11
Day Hour Count Duration Avg duration May 24 01 60 18m21s 18s354ms 02 60 18m8s 18s147ms 03 60 19m5s 19s94ms 04 60 19m6s 19s113ms 05 60 18m57s 18s965ms 06 60 19m1s 19s28ms 07 60 19m5s 19s93ms 08 60 19m 19s4ms 09 60 18m36s 18s607ms 10 60 18m37s 18s631ms 11 60 18m34s 18s577ms 12 60 18m33s 18s565ms 13 60 18m31s 18s532ms 14 60 17m21s 17s357ms 15 60 16m10s 16s173ms 16 60 16m6s 16s113ms 17 60 16m7s 16s118ms 18 60 16m4s 16s69ms 19 60 16m6s 16s109ms 20 60 16m7s 16s117ms 21 60 16m8s 16s134ms 22 60 16m2s 16s47ms 23 60 16m7s 16s125ms 00 60 15m8s 15s136ms [ User: monitoring_admin - Total duration: 7h1m13s - Times executed: 1438 ]
-
CREATE INDEX IF NOT EXISTS idx_app_events_type ON observability.app_events (event_type);
Date: 2026-05-24 03:36:01 Duration: 19s390ms Database: zemm_monitoring User: monitoring_admin Bind query: yes Log file: /var/log/postgresql/postgresql-2026-05-24_000000.csv
-
CREATE INDEX IF NOT EXISTS idx_app_events_type ON observability.app_events (event_type);
Date: 2026-05-24 06:10:01 Duration: 19s373ms Database: zemm_monitoring User: monitoring_admin Bind query: yes Log file: /var/log/postgresql/postgresql-2026-05-24_000000.csv
-
CREATE INDEX IF NOT EXISTS idx_app_events_type ON observability.app_events (event_type);
Date: 2026-05-24 02:45:01 Duration: 19s297ms Database: zemm_monitoring User: monitoring_admin Bind query: yes Log file: /var/log/postgresql/postgresql-2026-05-24_000000.csv
12 1s21ms 19s390ms 17s550ms 1,440 7h1m13s 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 #12
Day Hour Count Duration Avg duration May 24 01 60 18m21s 18s354ms 02 60 18m8s 18s147ms 03 60 19m5s 19s94ms 04 60 19m6s 19s113ms 05 60 18m57s 18s965ms 06 60 19m1s 19s28ms 07 60 19m5s 19s93ms 08 60 19m 19s4ms 09 60 18m36s 18s607ms 10 60 18m37s 18s631ms 11 60 18m34s 18s577ms 12 60 18m33s 18s565ms 13 60 18m31s 18s532ms 14 60 17m21s 17s357ms 15 60 16m10s 16s173ms 16 60 16m6s 16s113ms 17 60 16m7s 16s118ms 18 60 16m4s 16s69ms 19 60 16m6s 16s109ms 20 60 16m7s 16s117ms 21 60 16m8s 16s134ms 22 60 16m2s 16s47ms 23 60 16m7s 16s125ms 00 60 15m8s 15s136ms [ User: monitoring_admin - Total duration: 7h1m13s - Times executed: 1438 ]
-
CREATE TABLE IF NOT EXISTS observability.nginx_counters ( id bigserial PRIMARY KEY, payload jsonb NOT NULL, collected_at timestamptz NOT NULL DEFAULT NOW() );
Date: 2026-05-24 03:36:01 Duration: 19s390ms Database: zemm_monitoring User: monitoring_admin Bind query: yes Log file: /var/log/postgresql/postgresql-2026-05-24_000000.csv
-
CREATE TABLE IF NOT EXISTS observability.nginx_counters ( id bigserial PRIMARY KEY, payload jsonb NOT NULL, collected_at timestamptz NOT NULL DEFAULT NOW() );
Date: 2026-05-24 06:10:01 Duration: 19s373ms Database: zemm_monitoring User: monitoring_admin Bind query: yes Log file: /var/log/postgresql/postgresql-2026-05-24_000000.csv
-
CREATE TABLE IF NOT EXISTS observability.nginx_counters ( id bigserial PRIMARY KEY, payload jsonb NOT NULL, collected_at timestamptz NOT NULL DEFAULT NOW() );
Date: 2026-05-24 02:45:01 Duration: 19s297ms Database: zemm_monitoring User: monitoring_admin Bind query: yes Log file: /var/log/postgresql/postgresql-2026-05-24_000000.csv
13 1s21ms 19s390ms 17s550ms 1,440 7h1m13s create index if not exists idx_metrics_timeseries_bucket on observability.metrics_timeseries (bucket_start);Times Reported Time consuming queries #13
Day Hour Count Duration Avg duration May 24 01 60 18m21s 18s354ms 02 60 18m8s 18s147ms 03 60 19m5s 19s94ms 04 60 19m6s 19s113ms 05 60 18m57s 18s965ms 06 60 19m1s 19s28ms 07 60 19m5s 19s93ms 08 60 19m 19s4ms 09 60 18m36s 18s607ms 10 60 18m37s 18s631ms 11 60 18m34s 18s577ms 12 60 18m33s 18s565ms 13 60 18m31s 18s532ms 14 60 17m21s 17s357ms 15 60 16m10s 16s173ms 16 60 16m6s 16s113ms 17 60 16m7s 16s118ms 18 60 16m4s 16s69ms 19 60 16m6s 16s109ms 20 60 16m7s 16s117ms 21 60 16m8s 16s134ms 22 60 16m2s 16s47ms 23 60 16m7s 16s125ms 00 60 15m8s 15s136ms [ User: monitoring_admin - Total duration: 7h1m13s - Times executed: 1438 ]
-
CREATE INDEX IF NOT EXISTS idx_metrics_timeseries_bucket ON observability.metrics_timeseries (bucket_start);
Date: 2026-05-24 03:36:01 Duration: 19s390ms Database: zemm_monitoring User: monitoring_admin Bind query: yes Log file: /var/log/postgresql/postgresql-2026-05-24_000000.csv
-
CREATE INDEX IF NOT EXISTS idx_metrics_timeseries_bucket ON observability.metrics_timeseries (bucket_start);
Date: 2026-05-24 06:10:01 Duration: 19s373ms Database: zemm_monitoring User: monitoring_admin Bind query: yes Log file: /var/log/postgresql/postgresql-2026-05-24_000000.csv
-
CREATE INDEX IF NOT EXISTS idx_metrics_timeseries_bucket ON observability.metrics_timeseries (bucket_start);
Date: 2026-05-24 02:45:01 Duration: 19s297ms Database: zemm_monitoring User: monitoring_admin Bind query: yes Log file: /var/log/postgresql/postgresql-2026-05-24_000000.csv
14 1s21ms 19s390ms 17s550ms 1,440 7h1m13s create index if not exists idx_metrics_timeseries_metric on observability.metrics_timeseries (metric_name);Times Reported Time consuming queries #14
Day Hour Count Duration Avg duration May 24 01 60 18m21s 18s354ms 02 60 18m8s 18s147ms 03 60 19m5s 19s94ms 04 60 19m6s 19s113ms 05 60 18m57s 18s965ms 06 60 19m1s 19s28ms 07 60 19m5s 19s93ms 08 60 19m 19s4ms 09 60 18m36s 18s607ms 10 60 18m37s 18s631ms 11 60 18m34s 18s577ms 12 60 18m33s 18s565ms 13 60 18m31s 18s532ms 14 60 17m21s 17s357ms 15 60 16m10s 16s173ms 16 60 16m6s 16s113ms 17 60 16m7s 16s118ms 18 60 16m4s 16s69ms 19 60 16m6s 16s109ms 20 60 16m7s 16s117ms 21 60 16m8s 16s134ms 22 60 16m2s 16s47ms 23 60 16m7s 16s125ms 00 60 15m8s 15s136ms [ User: monitoring_admin - Total duration: 7h1m13s - Times executed: 1438 ]
-
CREATE INDEX IF NOT EXISTS idx_metrics_timeseries_metric ON observability.metrics_timeseries (metric_name);
Date: 2026-05-24 03:36:01 Duration: 19s390ms Database: zemm_monitoring User: monitoring_admin Bind query: yes Log file: /var/log/postgresql/postgresql-2026-05-24_000000.csv
-
CREATE INDEX IF NOT EXISTS idx_metrics_timeseries_metric ON observability.metrics_timeseries (metric_name);
Date: 2026-05-24 06:10:01 Duration: 19s373ms Database: zemm_monitoring User: monitoring_admin Bind query: yes Log file: /var/log/postgresql/postgresql-2026-05-24_000000.csv
-
CREATE INDEX IF NOT EXISTS idx_metrics_timeseries_metric ON observability.metrics_timeseries (metric_name);
Date: 2026-05-24 02:45:01 Duration: 19s297ms Database: zemm_monitoring User: monitoring_admin Bind query: yes Log file: /var/log/postgresql/postgresql-2026-05-24_000000.csv
15 1s21ms 19s390ms 17s550ms 1,440 7h1m13s alter table observability.uptime_checks add column if not exists payload jsonb;Times Reported Time consuming queries #15
Day Hour Count Duration Avg duration May 24 01 60 18m21s 18s354ms 02 60 18m8s 18s147ms 03 60 19m5s 19s94ms 04 60 19m6s 19s113ms 05 60 18m57s 18s965ms 06 60 19m1s 19s28ms 07 60 19m5s 19s93ms 08 60 19m 19s4ms 09 60 18m36s 18s607ms 10 60 18m37s 18s631ms 11 60 18m34s 18s577ms 12 60 18m33s 18s565ms 13 60 18m31s 18s532ms 14 60 17m21s 17s357ms 15 60 16m10s 16s173ms 16 60 16m6s 16s113ms 17 60 16m7s 16s118ms 18 60 16m4s 16s69ms 19 60 16m6s 16s109ms 20 60 16m7s 16s117ms 21 60 16m8s 16s134ms 22 60 16m2s 16s47ms 23 60 16m7s 16s125ms 00 60 15m8s 15s136ms [ User: monitoring_admin - Total duration: 7h1m13s - Times executed: 1438 ]
-
ALTER TABLE observability.uptime_checks ADD COLUMN IF NOT EXISTS payload jsonb;
Date: 2026-05-24 03:36:01 Duration: 19s390ms Database: zemm_monitoring User: monitoring_admin Bind query: yes Log file: /var/log/postgresql/postgresql-2026-05-24_000000.csv
-
ALTER TABLE observability.uptime_checks ADD COLUMN IF NOT EXISTS payload jsonb;
Date: 2026-05-24 06:10:01 Duration: 19s373ms Database: zemm_monitoring User: monitoring_admin Bind query: yes Log file: /var/log/postgresql/postgresql-2026-05-24_000000.csv
-
ALTER TABLE observability.uptime_checks ADD COLUMN IF NOT EXISTS payload jsonb;
Date: 2026-05-24 02:45:01 Duration: 19s297ms Database: zemm_monitoring User: monitoring_admin Bind query: yes Log file: /var/log/postgresql/postgresql-2026-05-24_000000.csv
16 1s21ms 19s390ms 17s550ms 1,440 7h1m13s create table if not exists observability.system_metrics ( id bigserial primary key, payload jsonb not null, collected_at timestamptz not null default now() );Times Reported Time consuming queries #16
Day Hour Count Duration Avg duration May 24 01 60 18m21s 18s354ms 02 60 18m8s 18s147ms 03 60 19m5s 19s94ms 04 60 19m6s 19s113ms 05 60 18m57s 18s965ms 06 60 19m1s 19s28ms 07 60 19m5s 19s93ms 08 60 19m 19s4ms 09 60 18m36s 18s607ms 10 60 18m37s 18s631ms 11 60 18m34s 18s577ms 12 60 18m33s 18s565ms 13 60 18m31s 18s532ms 14 60 17m21s 17s357ms 15 60 16m10s 16s173ms 16 60 16m6s 16s113ms 17 60 16m7s 16s118ms 18 60 16m4s 16s69ms 19 60 16m6s 16s109ms 20 60 16m7s 16s117ms 21 60 16m8s 16s134ms 22 60 16m2s 16s47ms 23 60 16m7s 16s125ms 00 60 15m8s 15s136ms [ User: monitoring_admin - Total duration: 7h1m13s - Times executed: 1438 ]
-
CREATE TABLE IF NOT EXISTS observability.system_metrics ( id bigserial PRIMARY KEY, payload jsonb NOT NULL, collected_at timestamptz NOT NULL DEFAULT NOW() );
Date: 2026-05-24 03:36:01 Duration: 19s390ms Database: zemm_monitoring User: monitoring_admin Bind query: yes Log file: /var/log/postgresql/postgresql-2026-05-24_000000.csv
-
CREATE TABLE IF NOT EXISTS observability.system_metrics ( id bigserial PRIMARY KEY, payload jsonb NOT NULL, collected_at timestamptz NOT NULL DEFAULT NOW() );
Date: 2026-05-24 06:10:01 Duration: 19s373ms Database: zemm_monitoring User: monitoring_admin Bind query: yes Log file: /var/log/postgresql/postgresql-2026-05-24_000000.csv
-
CREATE TABLE IF NOT EXISTS observability.system_metrics ( id bigserial PRIMARY KEY, payload jsonb NOT NULL, collected_at timestamptz NOT NULL DEFAULT NOW() );
Date: 2026-05-24 02:45:01 Duration: 19s297ms Database: zemm_monitoring User: monitoring_admin Bind query: yes Log file: /var/log/postgresql/postgresql-2026-05-24_000000.csv
17 1s21ms 19s390ms 17s550ms 1,440 7h1m13s 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 #17
Day Hour Count Duration Avg duration May 24 01 60 18m21s 18s354ms 02 60 18m8s 18s147ms 03 60 19m5s 19s94ms 04 60 19m6s 19s113ms 05 60 18m57s 18s965ms 06 60 19m1s 19s28ms 07 60 19m5s 19s93ms 08 60 19m 19s4ms 09 60 18m36s 18s607ms 10 60 18m37s 18s631ms 11 60 18m34s 18s577ms 12 60 18m33s 18s565ms 13 60 18m31s 18s532ms 14 60 17m21s 17s357ms 15 60 16m10s 16s173ms 16 60 16m6s 16s113ms 17 60 16m7s 16s118ms 18 60 16m4s 16s69ms 19 60 16m6s 16s109ms 20 60 16m7s 16s117ms 21 60 16m8s 16s134ms 22 60 16m2s 16s47ms 23 60 16m7s 16s125ms 00 60 15m8s 15s136ms [ User: monitoring_admin - Total duration: 7h1m13s - Times executed: 1438 ]
-
CREATE TABLE IF NOT EXISTS observability.db_top_queries ( id bigserial PRIMARY KEY, tenant_key text NOT NULL, fingerprint text, query text, mean_time_ms double precision, total_time_ms double precision, calls bigint, rows_returned bigint, collected_at timestamptz NOT NULL DEFAULT NOW() );
Date: 2026-05-24 03:36:01 Duration: 19s390ms Database: zemm_monitoring User: monitoring_admin Bind query: yes Log file: /var/log/postgresql/postgresql-2026-05-24_000000.csv
-
CREATE TABLE IF NOT EXISTS observability.db_top_queries ( id bigserial PRIMARY KEY, tenant_key text NOT NULL, fingerprint text, query text, mean_time_ms double precision, total_time_ms double precision, calls bigint, rows_returned bigint, collected_at timestamptz NOT NULL DEFAULT NOW() );
Date: 2026-05-24 06:10:01 Duration: 19s373ms Database: zemm_monitoring User: monitoring_admin Bind query: yes Log file: /var/log/postgresql/postgresql-2026-05-24_000000.csv
-
CREATE TABLE IF NOT EXISTS observability.db_top_queries ( id bigserial PRIMARY KEY, tenant_key text NOT NULL, fingerprint text, query text, mean_time_ms double precision, total_time_ms double precision, calls bigint, rows_returned bigint, collected_at timestamptz NOT NULL DEFAULT NOW() );
Date: 2026-05-24 02:45:01 Duration: 19s297ms Database: zemm_monitoring User: monitoring_admin Bind query: yes Log file: /var/log/postgresql/postgresql-2026-05-24_000000.csv
18 1s21ms 19s390ms 17s550ms 1,440 7h1m13s 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 #18
Day Hour Count Duration Avg duration May 24 01 60 18m21s 18s354ms 02 60 18m8s 18s147ms 03 60 19m5s 19s94ms 04 60 19m6s 19s113ms 05 60 18m57s 18s965ms 06 60 19m1s 19s28ms 07 60 19m5s 19s93ms 08 60 19m 19s4ms 09 60 18m36s 18s607ms 10 60 18m37s 18s631ms 11 60 18m34s 18s577ms 12 60 18m33s 18s565ms 13 60 18m31s 18s532ms 14 60 17m21s 17s357ms 15 60 16m10s 16s173ms 16 60 16m6s 16s113ms 17 60 16m7s 16s118ms 18 60 16m4s 16s69ms 19 60 16m6s 16s109ms 20 60 16m7s 16s117ms 21 60 16m8s 16s134ms 22 60 16m2s 16s47ms 23 60 16m7s 16s125ms 00 60 15m8s 15s136ms [ User: monitoring_admin - Total duration: 7h1m13s - Times executed: 1438 ]
-
CREATE TABLE IF NOT EXISTS observability.uptime_checks ( id bigserial PRIMARY KEY, endpoint text NOT NULL, status text NOT NULL, latency_ms double precision, checked_at timestamptz NOT NULL DEFAULT NOW() );
Date: 2026-05-24 03:36:01 Duration: 19s390ms Database: zemm_monitoring User: monitoring_admin Bind query: yes Log file: /var/log/postgresql/postgresql-2026-05-24_000000.csv
-
CREATE TABLE IF NOT EXISTS observability.uptime_checks ( id bigserial PRIMARY KEY, endpoint text NOT NULL, status text NOT NULL, latency_ms double precision, checked_at timestamptz NOT NULL DEFAULT NOW() );
Date: 2026-05-24 06:10:01 Duration: 19s373ms Database: zemm_monitoring User: monitoring_admin Bind query: yes Log file: /var/log/postgresql/postgresql-2026-05-24_000000.csv
-
CREATE TABLE IF NOT EXISTS observability.uptime_checks ( id bigserial PRIMARY KEY, endpoint text NOT NULL, status text NOT NULL, latency_ms double precision, checked_at timestamptz NOT NULL DEFAULT NOW() );
Date: 2026-05-24 02:45:01 Duration: 19s297ms Database: zemm_monitoring User: monitoring_admin Bind query: yes Log file: /var/log/postgresql/postgresql-2026-05-24_000000.csv
19 2s52ms 2s52ms 2s52ms 1 2s52ms copy public.diary (id, "animalID", date, "entrybyID", "cageID", weight, temperature, "fDeprivation", "wDeprivation", "sDeprivation", "feedingClass", health, comments, "breedingInfo", deleted, "inOutDate", "inOutFlag", text, sdesc, treatment, tailcut_id, tailcut_result, file_name, file_content, file_type, upload_name, old_gene_type, old_gene_info, old_gene2_type, old_gene2_info, old_gene3_info, old_gene3_type, old_gene4_info, old_gene4_type, old_gene5_info, old_gene5_type) to stdout;Times Reported Time consuming queries #19
Day Hour Count Duration Avg duration May 24 00 1 2s52ms 2s52ms [ User: postgres - Total duration: 2s52ms - Times executed: 1 ]
[ Application: pg_dump - Total duration: 2s52ms - Times executed: 1 ]
-
COPY public.diary (id, "animalID", date, "entrybyID", "cageID", weight, temperature, "fDeprivation", "wDeprivation", "sDeprivation", "feedingClass", health, comments, "breedingInfo", deleted, "inOutDate", "inOutFlag", text, sdesc, treatment, tailcut_id, tailcut_result, file_name, file_content, file_type, upload_name, old_gene_type, old_gene_info, old_gene2_type, old_gene2_info, old_gene3_info, old_gene3_type, old_gene4_info, old_gene4_type, old_gene5_info, old_gene5_type) TO stdout;
Date: 2026-05-24 23:55:12 Duration: 2s52ms Database: zemm_produktiv_8 User: postgres Remote: [local] Application: pg_dump Bind query: yes Log file: /var/log/postgresql/postgresql-2026-05-24_000000.csv
20 1s389ms 1s389ms 1s389ms 1 1s389ms copy public."targetgroupMembers" (id, targetgroup, "user", "group") to stdout;Times Reported Time consuming queries #20
Day Hour Count Duration Avg duration May 24 00 1 1s389ms 1s389ms [ User: postgres - Total duration: 1s389ms - Times executed: 1 ]
[ Application: pg_dump - Total duration: 1s389ms - Times executed: 1 ]
-
COPY public."targetgroupMembers" (id, targetgroup, "user", "group") TO stdout;
Date: 2026-05-24 23:55:14 Duration: 1s389ms Database: zemm_produktiv_8 User: postgres Remote: [local] Application: pg_dump Bind query: yes Log file: /var/log/postgresql/postgresql-2026-05-24_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
- 111,993 Event entries
- (EVENTLOG entries are formaly LOG level entries that are not queries)
Events distribution (except queries)
Key values
- 0 PANIC entries
- 0 FATAL entries
- 1 ERROR entries
- 0 WARNING entries
- 0 EVENTLOG entries
Most Frequent Errors/Events
Key values
- 1 Max number of times the same event was reported
- 1 Total events found
Rank Times reported Error 1 1 ERROR: duplicate key value violates unique constraint "..."
Times Reported Most Frequent Error / Event #1
Day Hour Count May 24 01 1 - ERROR: duplicate key value violates unique constraint "metrics_timeseries_tenant_key_metric_name_bucket_start_buck_key"
Detail: Key (tenant_key, metric_name, bucket_start, bucket_width_seconds)=(live, http_requests_total, 2026-05-24 00:11:00+02, 60) already exists.
Statement: INSERT INTO observability.metrics_timeseries (tenant_key, metric_name, bucket_start, bucket_width_seconds, sum_value, count_value, histogram) VALUES ($1, $2, $3, $4, $5, $6, $7)Date: 2026-05-24 00:11:01 Database: zemm_monitoring Application: User: labanimal Remote: Log file: /var/log/postgresql/postgresql-2026-05-24_000000.csv