-
Global information
- Generated on Mon Jun 15 06:05:44 2026
- Log file: /var/log/postgresql/postgresql-2026-05-13_000000.csv, ..., /var/log/postgresql/postgresql-2026-06-15_000000.csv
- Parsed 180,226 log entries in 5m43s
- Log start from 2026-06-07 00:00:01 to 2026-06-07 23:59:23
-
Overview
Global Stats
- 25 Number of unique normalized queries
- 24,492 Number of queries
- 6h27m42s Total query duration
- 2026-06-07 00:00:01 First query
- 2026-06-07 23:59:01 Last query
- 17 queries/s at 2026-06-07 20:29:01 Query peak
- 6h27m42s Total query duration
- 0ms Prepare/parse total duration
- 0ms Bind total duration
- 6h27m42s Execute total duration
- 0 Number of events
- 0 Number of unique normalized events
- 0 Max number of times the same event was reported
- 0 Number of cancellation
- 5 Total number of automatic vacuums
- 2 Total number of automatic analyzes
- 0 Number temporary file
- 0 Max size of temporary file
- 0.00 B Average size of temporary file
- 13,198 Total number of sessions
- 2 sessions at 2026-06-07 15:35:02 Session peak
- 53m14s Total duration of sessions
- 242ms Average duration of sessions
- 1 Average queries per session
- 1s762ms Average queries duration per session
- 0ms Average idle time per session
- 13,198 Total number of connections
- 9 connections/s at 2026-06-07 12:42:06 Connection peak
- 2 Total number of databases
SQL Traffic
Key values
- 17 queries/s Query Peak
- 2026-06-07 20:29:01 Date
SELECT Traffic
Key values
- 2 queries/s Query Peak
- 2026-06-07 17:54:31 Date
INSERT/UPDATE/DELETE Traffic
Key values
- 17 queries/s Query Peak
- 2026-06-07 20:29:01 Date
Queries duration
Key values
- 6h27m42s Total query duration
Prepared queries ratio
Key values
- 0.00 Ratio of bind vs prepare
- 0.00 % Ratio between prepared and "usual" statements
General Activity
↑ Back to the top of the General Activity tableDay Hour Count Min duration Max duration Avg duration Latency Percentile(90) Latency Percentile(95) Latency Percentile(99) Jun 07 00 1,020 0ms 0ms 0ms 0ms 0ms 0ms 01 1,021 0ms 1s394ms 674ms 23s703ms 23s703ms 23s703ms 02 1,020 1s394ms 1s394ms 1s394ms 23s703ms 23s703ms 23s703ms 03 1,020 1s394ms 1s394ms 1s394ms 23s703ms 23s703ms 23s703ms 04 1,020 1s394ms 1s394ms 1s394ms 23s703ms 23s703ms 23s703ms 05 1,020 1s394ms 1s394ms 1s394ms 23s703ms 23s703ms 23s703ms 06 1,020 1s394ms 1s394ms 1s394ms 23s703ms 23s703ms 23s703ms 07 1,020 1s394ms 1s394ms 1s394ms 23s703ms 23s703ms 23s703ms 08 1,020 1s394ms 1s394ms 1s394ms 23s703ms 23s703ms 23s703ms 09 1,020 1s394ms 1s394ms 1s394ms 23s703ms 23s703ms 23s703ms 10 1,020 1s394ms 1s394ms 1s394ms 23s703ms 23s703ms 23s703ms 11 1,022 709ms 1s394ms 1s51ms 23s703ms 23s703ms 25s169ms 12 1,020 709ms 709ms 709ms 12s59ms 12s59ms 12s59ms 13 1,020 709ms 709ms 709ms 12s59ms 12s59ms 12s59ms 14 1,020 709ms 709ms 709ms 12s59ms 12s59ms 12s59ms 15 1,020 709ms 709ms 709ms 12s59ms 12s59ms 12s59ms 16 1,020 709ms 709ms 709ms 12s59ms 12s59ms 12s59ms 17 1,024 695ms 772ms 708ms 12s59ms 12s59ms 14s993ms 18 1,020 702ms 702ms 702ms 11s948ms 11s948ms 11s948ms 19 1,020 702ms 702ms 702ms 11s948ms 11s948ms 11s948ms 20 1,020 702ms 702ms 702ms 11s948ms 11s948ms 11s948ms 21 1,020 702ms 702ms 702ms 11s948ms 11s948ms 11s948ms 22 1,020 702ms 702ms 702ms 11s948ms 11s948ms 11s948ms 23 1,025 556ms 2s20ms 751ms 11s948ms 23s766ms 23s766ms Day Hour SELECT COPY TO Average Duration Latency Percentile(90) Latency Percentile(95) Latency Percentile(99) Jun 07 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 2 0 732ms 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 4 0 733ms 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 1s296ms 0ms 0ms 0ms Day Hour INSERT UPDATE DELETE COPY FROM Average Duration Latency Percentile(90) Latency Percentile(95) Latency Percentile(99) Jun 07 00 0 0 0 0 0ms 0ms 0ms 0ms 01 0 1 0 0 1s394ms 0ms 0ms 0ms 02 0 0 0 0 0ms 0ms 0ms 0ms 03 0 0 0 0 0ms 0ms 0ms 0ms 04 0 0 0 0 0ms 0ms 0ms 0ms 05 0 0 0 0 0ms 0ms 0ms 0ms 06 0 0 0 0 0ms 0ms 0ms 0ms 07 0 0 0 0 0ms 0ms 0ms 0ms 08 0 0 0 0 0ms 0ms 0ms 0ms 09 0 0 0 0 0ms 0ms 0ms 0ms 10 0 0 0 0 0ms 0ms 0ms 0ms 11 0 0 0 0 0ms 0ms 0ms 0ms 12 0 0 0 0 0ms 0ms 0ms 0ms 13 0 0 0 0 0ms 0ms 0ms 0ms 14 0 0 0 0 0ms 0ms 0ms 0ms 15 0 0 0 0 0ms 0ms 0ms 0ms 16 0 0 0 0 0ms 0ms 0ms 0ms 17 0 0 0 0 0ms 0ms 0ms 0ms 18 0 0 0 0 0ms 0ms 0ms 0ms 19 0 0 0 0 0ms 0ms 0ms 0ms 20 0 0 0 0 0ms 0ms 0ms 0ms 21 0 0 0 0 0ms 0ms 0ms 0ms 22 0 0 0 0 0ms 0ms 0ms 0ms 23 0 0 0 0 0ms 0ms 0ms 0ms Day Hour Prepare Bind Bind/Prepare Percentage of prepare Jun 07 00 0 0 0.00 0.00% 01 0 0 0.00 0.00% 02 0 0 0.00 0.00% 03 0 0 0.00 0.00% 04 0 0 0.00 0.00% 05 0 0 0.00 0.00% 06 0 0 0.00 0.00% 07 0 0 0.00 0.00% 08 0 0 0.00 0.00% 09 0 0 0.00 0.00% 10 0 0 0.00 0.00% 11 0 0 0.00 0.00% 12 0 0 0.00 0.00% 13 0 0 0.00 0.00% 14 0 0 0.00 0.00% 15 0 0 0.00 0.00% 16 0 0 0.00 0.00% 17 0 0 0.00 0.00% 18 0 0 0.00 0.00% 19 0 0 0.00 0.00% 20 0 0 0.00 0.00% 21 0 0 0.00 0.00% 22 0 0 0.00 0.00% 23 0 0 0.00 0.00% Day Hour Count Average / Second Jun 07 00 543 0.15/s 01 552 0.15/s 02 543 0.15/s 03 548 0.15/s 04 543 0.15/s 05 548 0.15/s 06 549 0.15/s 07 546 0.15/s 08 579 0.16/s 09 543 0.15/s 10 561 0.16/s 11 564 0.16/s 12 552 0.15/s 13 547 0.15/s 14 546 0.15/s 15 543 0.15/s 16 543 0.15/s 17 565 0.16/s 18 543 0.15/s 19 552 0.15/s 20 545 0.15/s 21 545 0.15/s 22 543 0.15/s 23 555 0.15/s Day Hour Count Average Duration Average idle time Jun 07 00 543 241ms 241ms 01 552 238ms 0ms 02 543 241ms 0ms 03 548 239ms 0ms 04 543 258ms 0ms 05 548 241ms 0ms 06 549 242ms 0ms 07 546 241ms 0ms 08 579 229ms 0ms 09 543 242ms 0ms 10 561 236ms 0ms 11 564 239ms 0ms 12 552 238ms 0ms 13 547 242ms 0ms 14 546 240ms 0ms 15 543 241ms 0ms 16 543 238ms 0ms 17 565 243ms 0ms 18 543 243ms 0ms 19 552 239ms 0ms 20 545 240ms 0ms 21 545 241ms 0ms 22 543 250ms 0ms 23 555 256ms 0ms -
Connections
Established Connections
Key values
- 9 connections Connection Peak
- 2026-06-07 12:42:06 Date
Connections per database
Key values
- zemm_monitoring Main Database
- 13,198 connections Total
Connections per user
Key values
- labanimal Main User
- 13,198 connections Total
-
Sessions
Simultaneous sessions
Key values
- 2 sessions Session Peak
- 2026-06-07 15:35:02 Date
Histogram of session times
Key values
- 11,750 0-500ms duration
Sessions per database
Key values
- zemm_monitoring Main Database
- 13,198 sessions Total
Sessions per user
Key values
- labanimal Main User
- 13,198 sessions Total
Sessions per host
Key values
- ::1 Main Host
- 13,198 sessions Total
Sessions per application
Key values
- Main Application
- 13,198 sessions Total
Application Count Total Duration Average Duration 11,684 52m10s 267ms _desktop_index.php_command_login_subcommand_init_zemm_dev_local 3 75ms 25ms _desktop_index.php_command_login_subcommand_init_zemm_produktiv 1,463 43s144ms 29ms _desktop_index.php_command_login_subcommand_init_zemm_test_loca 2 59ms 29ms _desktop_index.php_command_tasks_subcommand_init_zemm_produktiv 2 143ms 71ms _desktop_index.php_zemm_produktiv_8_localhost_5432 17 5s780ms 340ms bounces:zemm_produktiv_8@h2940066.stratoserver.net:5432 1 73ms 73ms expire_tasks:zemm_produktiv_8@h2940066.stratoserver.net:5432 1 1s418ms 1s418ms pg_dump 1 11s101ms 11s101ms taskscron:zemm_produktiv_8@h2940066.stratoserver.net:5432 24 2s451ms 102ms -
Checkpoints / Restartpoints
Checkpoints Buffers
Key values
- 19,912 buffers Checkpoint Peak
- 2026-06-07 01:38:33 Date
- 269.681 seconds Highest write time
- 0.209 seconds Sync time
Checkpoints Wal files
Key values
- 7 files Wal files usage Peak
- 2026-06-07 01:38:33 Date
Checkpoints distance
Key values
- 207.02 Mo Distance Peak
- 2026-06-07 01:38:33 Date
Checkpoints Activity
↑ Back to the top of the Checkpoint Activity tableDay Hour Written buffers Write time Sync time Total time Jun 07 00 8,483 848.727s 0.1s 848.882s 01 28,000 1,078.734s 0.102s 1,078.897s 02 8,282 829.286s 0.102s 829.444s 03 8,267 827.312s 0.099s 827.467s 04 7,947 796.406s 0.451s 797.087s 05 8,539 854.199s 0.096s 854.349s 06 8,650 866.037s 0.101s 866.193s 07 8,448 844.997s 0.1s 845.148s 08 7,922 792.913s 0.105s 793.077s 09 8,684 869.148s 0.1s 869.306s 10 11,742 1,092.62s 0.103s 1,092.78s 11 8,227 822.879s 0.099s 823.04s 12 7,750 775.682s 0.099s 775.836s 13 10,415 1,025.991s 0.1s 1,026.146s 14 8,506 851.107s 0.098s 851.262s 15 8,920 892.27s 0.097s 892.429s 16 8,206 821.325s 0.096s 821.476s 17 7,624 763.269s 0.098s 763.428s 18 8,626 863.307s 0.102s 863.467s 19 8,274 828.498s 0.099s 828.654s 20 8,344 834.77s 0.098s 834.929s 21 8,750 875.64s 0.099s 875.795s 22 8,458 846.811s 0.097s 846.96s 23 9,043 905.325s 0.11s 905.491s Day Hour Added Removed Recycled Synced files Longest sync Average sync Jun 07 00 0 0 2 544 0.002s 0.012s 01 0 0 8 555 0.002s 0.012s 02 0 0 2 547 0.002s 0.012s 03 0 0 2 532 0.002s 0.012s 04 0 0 1 531 0.017s 0.019s 05 0 0 2 520 0.001s 0.012s 06 0 0 2 529 0.004s 0.012s 07 0 0 2 550 0.001s 0.012s 08 0 0 1 576 0.002s 0.012s 09 0 0 2 541 0.002s 0.012s 10 0 0 2 529 0.002s 0.012s 11 0 0 2 537 0.002s 0.012s 12 0 0 2 528 0.002s 0.012s 13 0 0 2 528 0.001s 0.012s 14 0 0 1 525 0.002s 0.012s 15 0 0 2 528 0.001s 0.012s 16 0 0 2 537 0.001s 0.012s 17 0 0 2 536 0.001s 0.012s 18 0 0 1 540 0.001s 0.012s 19 0 0 2 527 0.002s 0.012s 20 0 0 2 526 0.002s 0.012s 21 0 0 2 531 0.001s 0.012s 22 0 0 1 536 0.001s 0.012s 23 0 0 2 555 0.003s 0.012s Day Hour Count Avg time (sec) Jun 07 00 0 0s 01 0 0s 02 0 0s 03 0 0s 04 0 0s 05 0 0s 06 0 0s 07 0 0s 08 0 0s 09 0 0s 10 0 0s 11 0 0s 12 0 0s 13 0 0s 14 0 0s 15 0 0s 16 0 0s 17 0 0s 18 0 0s 19 0 0s 20 0 0s 21 0 0s 22 0 0s 23 0 0s Day Hour Mean distance Mean estimate Jun 07 00 2,309.58 kB 2,894.83 kB 01 11,065.25 kB 38,059.00 kB 02 2,373.58 kB 38,918.25 kB 03 2,380.50 kB 12,680.50 kB 04 2,297.42 kB 5,281.58 kB 05 2,457.92 kB 3,277.58 kB 06 2,470.00 kB 2,989.42 kB 07 2,405.08 kB 2,807.50 kB 08 2,285.25 kB 2,854.67 kB 09 2,423.17 kB 3,221.58 kB 10 2,798.58 kB 4,456.75 kB 11 2,352.17 kB 3,245.58 kB 12 2,252.25 kB 2,817.67 kB 13 2,845.83 kB 5,845.25 kB 14 2,398.67 kB 3,366.25 kB 15 2,481.00 kB 3,252.42 kB 16 2,412.42 kB 2,818.08 kB 17 2,214.50 kB 2,980.83 kB 18 2,457.67 kB 3,022.25 kB 19 2,430.42 kB 2,925.33 kB 20 2,410.50 kB 2,847.42 kB 21 2,390.00 kB 3,224.25 kB 22 2,346.00 kB 3,007.75 kB 23 2,479.75 kB 2,993.75 kB -
Temporary Files
Size of temporary files
Key values
- 0 Temp Files size Peak
- Date
Size of temporary files (5 minutes period)
NO DATASET
Number of temporary files
Key values
- 0 per second Temp Files Peak
- Date
Number of temporary files (5 minutes period)
NO DATASET
Temporary Files Activity
↑ Back to the top of the Temporary Files Activity tableDay Hour Count Total size Average size Jun 07 00 0 0 0 01 0 0 0 02 0 0 0 03 0 0 0 04 0 0 0 05 0 0 0 06 0 0 0 07 0 0 0 08 0 0 0 09 0 0 0 10 0 0 0 11 0 0 0 12 0 0 0 13 0 0 0 14 0 0 0 15 0 0 0 16 0 0 0 17 0 0 0 18 0 0 0 19 0 0 0 20 0 0 0 21 0 0 0 22 0 0 0 23 0 0 0 -
Vacuums
Vacuums / Analyzes Distribution
Key values
- 0.96 sec Highest CPU-cost vacuum
Table pg_toast.pg_toast_67431
Database zemm_monitoring - 2026-06-07 10:04:29 Date
- 0 sec Highest CPU-cost analyze
Table
Database zemm_monitoring - Date
Average Autovacuum Duration
Key values
- 0.96 sec Highest CPU-cost vacuum
Table pg_toast.pg_toast_67431
Database zemm_monitoring - 2026-06-07 10:04:29 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 (3) Main table vacuumed on database zemm_monitoring
- 5 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 3 1 0 0 0 0 0 12,459 4,897 6,614,311 1,313 7,878 zemm_produktiv_8.public.tasks 1 1 0 0 0 0 0 49,679 23 3,610,874 0 0 zemm_monitoring.pg_toast.pg_toast_2619 1 1 0 0 0 0 0 106 28 146,827 7 21 Total 5 3 0 0 0 0 0 62,244 4,948 10,372,012 1,320 7,899 Vacuum throughput per table
Key values
- pg_toast.pg_toast_67431 (1.27) Max CPU elapsed for vacuum on database zemm_monitoring
- pg_toast.pg_toast_67431 (2.267 ms) Max I/O read time for vacuum on database zemm_monitoring
- pg_toast.pg_toast_67431 (4.483 ms) Max I/O write time for vacuum on database zemm_monitoring
Tuples removed per table
Key values
- public.tasks (54936) Main table with removed tuples on database zemm_produktiv_8
- 62924 tuples Total removed
Pages removed per table
Key values
- pg_toast.pg_toast_2619 (3) Main table with removed pages on database zemm_monitoring
- 3 pages Total removed
Autovacuum Activity
↑ Back to the top of the Autovacuum Activity tableDay Hour VACUUMs ANALYZEs Jun 07 00 0 0 01 1 1 02 0 0 03 0 0 04 0 0 05 0 0 06 0 0 07 0 0 08 0 0 09 0 0 10 1 0 11 0 0 12 1 1 13 0 0 14 0 0 15 1 0 16 0 0 17 0 0 18 0 0 19 0 0 20 0 0 21 1 0 22 0 0 23 0 0 - 0.96 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
- 6 Total read queries
- 24,486 Total write queries
Queries by database
Key values
- zemm_monitoring Main database
- 24,480 Requests
- 6h27m30s (zemm_monitoring)
- Main time consuming database
Queries by user
Key values
- monitoring_admin Main user
- 639,138 Requests
User Request type Count Duration labanimal Total 2,053 45m4s copy to 8 22s808ms cte 338 7m28s select 1,681 36m45s update 26 28s479ms monitoring_admin Total 639,138 35d2h15m4s cte 1,885 4h22m12s ddl 636,391 34d21h40m27s delete 1 603ms select 853 12m16s postgres Total 139 3m7s copy to 139 3m7s Duration by user
Key values
- 35d2h15m4s (monitoring_admin) Main time consuming user
User Request type Count Duration labanimal Total 2,053 45m4s copy to 8 22s808ms cte 338 7m28s select 1,681 36m45s update 26 28s479ms monitoring_admin Total 639,138 35d2h15m4s cte 1,885 4h22m12s ddl 636,391 34d21h40m27s delete 1 603ms select 853 12m16s postgres Total 139 3m7s copy to 139 3m7s Queries by host
Key values
- unknown Main host
- 641,165 Requests
- 35d2h59m40s (unknown)
- Main time consuming host
Queries by application
Key values
- unknown Main application
- 24,480 Requests
- 6h27m30s (unknown)
- Main time consuming application
Number of cancelled queries
Key values
- 0 per second Cancelled query Peak
- 2026-06-07 07:38:03 Date
Number of cancelled queries (5 minutes period)
NO DATASET
-
Top Queries
Histogram of query times
Key values
- 7 500-1000ms duration
Slowest individual queries
Rank Duration Query 1 2s20ms COPY public.diary (id, "animalID", date, "entrybyID", "cageID", weight, temperature, "fDeprivation", "wDeprivation", "sDeprivation", "feedingClass", health, comments, "breedingInfo", deleted, "inOutDate", "inOutFlag", text, sdesc, treatment, tailcut_id, tailcut_result, file_name, file_content, file_type, upload_name, old_gene_type, old_gene_info, old_gene2_type, old_gene2_info, old_gene3_info, old_gene3_type, old_gene4_info, old_gene4_type, old_gene5_info, old_gene5_type) TO stdout;[ Date: 2026-06-07 23:55:17 - Database: zemm_produktiv_8 - User: postgres - Remote: [local] - Application: pg_dump ]
2 1s398ms COPY public."targetgroupMembers" (id, targetgroup, "user", "group") TO stdout;[ Date: 2026-06-07 23:55:19 - Database: zemm_produktiv_8 - User: postgres - Remote: [local] - Application: pg_dump ]
3 1s398ms CREATE SCHEMA IF NOT EXISTS observability;[ Date: 2026-06-07 23:56:01 - Database: zemm_monitoring - User: monitoring_admin ]
4 1s398ms CREATE TABLE IF NOT EXISTS observability.metrics_timeseries ( id bigserial PRIMARY KEY, tenant_key text NOT NULL, metric_name text NOT NULL, bucket_start timestamptz NOT NULL, bucket_width_seconds integer NOT NULL DEFAULT 60, sum_value double precision NOT NULL DEFAULT 0, count_value bigint NOT NULL DEFAULT 0, histogram jsonb, created_at timestamptz NOT NULL DEFAULT NOW(), updated_at timestamptz NOT NULL DEFAULT NOW(), UNIQUE (tenant_key, metric_name, bucket_start, bucket_width_seconds) );[ Date: 2026-06-07 23:56:01 - Database: zemm_monitoring - User: monitoring_admin ]
5 1s398ms CREATE INDEX IF NOT EXISTS idx_metrics_timeseries_bucket ON observability.metrics_timeseries (bucket_start);[ Date: 2026-06-07 23:56:01 - Database: zemm_monitoring - User: monitoring_admin ]
6 1s398ms CREATE INDEX IF NOT EXISTS idx_metrics_timeseries_metric ON observability.metrics_timeseries (metric_name);[ Date: 2026-06-07 23:56:01 - Database: zemm_monitoring - User: monitoring_admin ]
7 1s398ms CREATE TABLE IF NOT EXISTS observability.app_events ( id bigserial PRIMARY KEY, tenant_key text NOT NULL, event_type text NOT NULL, severity text NOT NULL, message text NOT NULL, payload jsonb, occurred_at timestamptz NOT NULL DEFAULT NOW(), created_at timestamptz NOT NULL DEFAULT NOW() );[ Date: 2026-06-07 23:56:01 - Database: zemm_monitoring - User: monitoring_admin ]
8 1s398ms CREATE INDEX IF NOT EXISTS idx_app_events_tenant ON observability.app_events (tenant_key, occurred_at DESC);[ Date: 2026-06-07 23:56:01 - Database: zemm_monitoring - User: monitoring_admin ]
9 1s398ms CREATE INDEX IF NOT EXISTS idx_app_events_type ON observability.app_events (event_type);[ Date: 2026-06-07 23:56:01 - Database: zemm_monitoring - User: monitoring_admin ]
10 1s398ms CREATE TABLE IF NOT EXISTS observability.db_top_queries ( id bigserial PRIMARY KEY, tenant_key text NOT NULL, fingerprint text, query text, mean_time_ms double precision, total_time_ms double precision, calls bigint, rows_returned bigint, collected_at timestamptz NOT NULL DEFAULT NOW() );[ Date: 2026-06-07 23:56:01 - Database: zemm_monitoring - User: monitoring_admin ]
11 1s398ms CREATE INDEX IF NOT EXISTS idx_db_top_queries_tenant ON observability.db_top_queries (tenant_key, collected_at DESC);[ Date: 2026-06-07 23:56:01 - Database: zemm_monitoring - User: monitoring_admin ]
12 1s398ms CREATE TABLE IF NOT EXISTS observability.nginx_counters ( id bigserial PRIMARY KEY, payload jsonb NOT NULL, collected_at timestamptz NOT NULL DEFAULT NOW() );[ Date: 2026-06-07 23:56:01 - Database: zemm_monitoring - User: monitoring_admin ]
13 1s398ms CREATE TABLE IF NOT EXISTS observability.phpfpm_counters ( id bigserial PRIMARY KEY, payload jsonb NOT NULL, collected_at timestamptz NOT NULL DEFAULT NOW() );[ Date: 2026-06-07 23:56:01 - Database: zemm_monitoring - User: monitoring_admin ]
14 1s398ms CREATE TABLE IF NOT EXISTS observability.system_metrics ( id bigserial PRIMARY KEY, payload jsonb NOT NULL, collected_at timestamptz NOT NULL DEFAULT NOW() );[ Date: 2026-06-07 23:56:01 - Database: zemm_monitoring - User: monitoring_admin ]
15 1s398ms CREATE TABLE IF NOT EXISTS observability.uptime_checks ( id bigserial PRIMARY KEY, endpoint text NOT NULL, status text NOT NULL, latency_ms double precision, checked_at timestamptz NOT NULL DEFAULT NOW() );[ Date: 2026-06-07 23:56:01 - Database: zemm_monitoring - User: monitoring_admin ]
16 1s398ms ALTER TABLE observability.uptime_checks ADD COLUMN IF NOT EXISTS label text;[ Date: 2026-06-07 23:56:01 - Database: zemm_monitoring - User: monitoring_admin ]
17 1s398ms ALTER TABLE observability.uptime_checks ADD COLUMN IF NOT EXISTS payload jsonb;[ Date: 2026-06-07 23:56:01 - Database: zemm_monitoring - User: monitoring_admin ]
18 1s398ms CREATE INDEX IF NOT EXISTS idx_uptime_checks_endpoint ON observability.uptime_checks (endpoint, checked_at DESC);[ Date: 2026-06-07 23:56:01 - Database: zemm_monitoring - User: monitoring_admin ]
19 1s398ms CREATE INDEX IF NOT EXISTS idx_uptime_checks_key ON observability.uptime_checks (check_key, checked_at DESC);[ Date: 2026-06-07 23:56:01 - Database: zemm_monitoring - User: monitoring_admin ]
20 1s398ms CREATE SCHEMA IF NOT EXISTS observability;[ Date: 2026-06-07 23:57:01 - Database: zemm_monitoring - User: monitoring_admin ]
Time consuming queries (N)
Rank Total duration Times executed Min duration Max duration Avg duration Query 1 22m47s 1,440 702ms 1s398ms 949ms create index if not exists idx_app_events_tenant on observability.app_events (tenant_key, occurred_at desc);Times Reported Time consuming queries #1
Day Hour Count Duration Avg duration Jun 07 01 60 0ms 0ms 02 60 40s436ms 673ms 03 60 1m23s 1s394ms 04 60 1m23s 1s394ms 05 60 1m23s 1s394ms 06 60 1m23s 1s394ms 07 60 1m23s 1s394ms 08 60 1m23s 1s394ms 09 60 1m23s 1s394ms 10 60 1m23s 1s394ms 11 60 1m23s 1s394ms 12 60 1m3s 1s51ms 13 60 42s563ms 709ms 14 60 42s563ms 709ms 15 60 42s563ms 709ms 16 60 42s563ms 709ms 17 60 42s563ms 709ms 18 60 42s530ms 708ms 19 60 42s172ms 702ms 20 60 42s172ms 702ms 21 60 42s172ms 702ms 22 60 42s172ms 702ms 23 60 42s172ms 702ms 00 60 44s953ms 749ms [ User: monitoring_admin - Total duration: 22m47s - Times executed: 1349 ]
-
CREATE INDEX IF NOT EXISTS idx_app_events_tenant ON observability.app_events (tenant_key, occurred_at DESC);
Date: 2026-06-07 23:59:01 Duration: 1s398ms Database: zemm_monitoring User: monitoring_admin Log file: /var/log/postgresql/postgresql-2026-06-07_000000.csv
-
CREATE INDEX IF NOT EXISTS idx_app_events_tenant ON observability.app_events (tenant_key, occurred_at DESC);
Date: 2026-06-07 11:29:01 Duration: 1s394ms Database: zemm_monitoring User: monitoring_admin Log file: /var/log/postgresql/postgresql-2026-06-07_000000.csv
-
CREATE INDEX IF NOT EXISTS idx_app_events_tenant ON observability.app_events (tenant_key, occurred_at DESC);
Date: 2026-06-07 17:54:02 Duration: 709ms Database: zemm_monitoring User: monitoring_admin Log file: /var/log/postgresql/postgresql-2026-06-07_000000.csv
2 22m47s 1,440 702ms 1s398ms 949ms 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 Jun 07 01 60 0ms 0ms 02 60 40s436ms 673ms 03 60 1m23s 1s394ms 04 60 1m23s 1s394ms 05 60 1m23s 1s394ms 06 60 1m23s 1s394ms 07 60 1m23s 1s394ms 08 60 1m23s 1s394ms 09 60 1m23s 1s394ms 10 60 1m23s 1s394ms 11 60 1m23s 1s394ms 12 60 1m3s 1s51ms 13 60 42s563ms 709ms 14 60 42s563ms 709ms 15 60 42s563ms 709ms 16 60 42s563ms 709ms 17 60 42s563ms 709ms 18 60 42s530ms 708ms 19 60 42s172ms 702ms 20 60 42s172ms 702ms 21 60 42s172ms 702ms 22 60 42s172ms 702ms 23 60 42s172ms 702ms 00 60 44s953ms 749ms [ User: monitoring_admin - Total duration: 22m47s - Times executed: 1349 ]
-
CREATE INDEX IF NOT EXISTS idx_uptime_checks_endpoint ON observability.uptime_checks (endpoint, checked_at DESC);
Date: 2026-06-07 23:59:01 Duration: 1s398ms Database: zemm_monitoring User: monitoring_admin Log file: /var/log/postgresql/postgresql-2026-06-07_000000.csv
-
CREATE INDEX IF NOT EXISTS idx_uptime_checks_endpoint ON observability.uptime_checks (endpoint, checked_at DESC);
Date: 2026-06-07 11:29:01 Duration: 1s394ms Database: zemm_monitoring User: monitoring_admin Log file: /var/log/postgresql/postgresql-2026-06-07_000000.csv
-
CREATE INDEX IF NOT EXISTS idx_uptime_checks_endpoint ON observability.uptime_checks (endpoint, checked_at DESC);
Date: 2026-06-07 17:54:02 Duration: 709ms Database: zemm_monitoring User: monitoring_admin Log file: /var/log/postgresql/postgresql-2026-06-07_000000.csv
3 22m47s 1,440 702ms 1s398ms 949ms 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 Jun 07 01 60 0ms 0ms 02 60 40s436ms 673ms 03 60 1m23s 1s394ms 04 60 1m23s 1s394ms 05 60 1m23s 1s394ms 06 60 1m23s 1s394ms 07 60 1m23s 1s394ms 08 60 1m23s 1s394ms 09 60 1m23s 1s394ms 10 60 1m23s 1s394ms 11 60 1m23s 1s394ms 12 60 1m3s 1s51ms 13 60 42s563ms 709ms 14 60 42s563ms 709ms 15 60 42s563ms 709ms 16 60 42s563ms 709ms 17 60 42s563ms 709ms 18 60 42s530ms 708ms 19 60 42s172ms 702ms 20 60 42s172ms 702ms 21 60 42s172ms 702ms 22 60 42s172ms 702ms 23 60 42s172ms 702ms 00 60 44s953ms 749ms [ User: monitoring_admin - Total duration: 22m47s - Times executed: 1349 ]
-
CREATE TABLE IF NOT EXISTS observability.app_events ( id bigserial PRIMARY KEY, tenant_key text NOT NULL, event_type text NOT NULL, severity text NOT NULL, message text NOT NULL, payload jsonb, occurred_at timestamptz NOT NULL DEFAULT NOW(), created_at timestamptz NOT NULL DEFAULT NOW() );
Date: 2026-06-07 23:59:01 Duration: 1s398ms Database: zemm_monitoring User: monitoring_admin Log file: /var/log/postgresql/postgresql-2026-06-07_000000.csv
-
CREATE TABLE IF NOT EXISTS observability.app_events ( id bigserial PRIMARY KEY, tenant_key text NOT NULL, event_type text NOT NULL, severity text NOT NULL, message text NOT NULL, payload jsonb, occurred_at timestamptz NOT NULL DEFAULT NOW(), created_at timestamptz NOT NULL DEFAULT NOW() );
Date: 2026-06-07 11:29:01 Duration: 1s394ms Database: zemm_monitoring User: monitoring_admin Log file: /var/log/postgresql/postgresql-2026-06-07_000000.csv
-
CREATE TABLE IF NOT EXISTS observability.app_events ( id bigserial PRIMARY KEY, tenant_key text NOT NULL, event_type text NOT NULL, severity text NOT NULL, message text NOT NULL, payload jsonb, occurred_at timestamptz NOT NULL DEFAULT NOW(), created_at timestamptz NOT NULL DEFAULT NOW() );
Date: 2026-06-07 17:54:02 Duration: 709ms Database: zemm_monitoring User: monitoring_admin Log file: /var/log/postgresql/postgresql-2026-06-07_000000.csv
4 22m47s 1,440 702ms 1s398ms 949ms 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 #4
Day Hour Count Duration Avg duration Jun 07 01 60 0ms 0ms 02 60 40s436ms 673ms 03 60 1m23s 1s394ms 04 60 1m23s 1s394ms 05 60 1m23s 1s394ms 06 60 1m23s 1s394ms 07 60 1m23s 1s394ms 08 60 1m23s 1s394ms 09 60 1m23s 1s394ms 10 60 1m23s 1s394ms 11 60 1m23s 1s394ms 12 60 1m3s 1s51ms 13 60 42s563ms 709ms 14 60 42s563ms 709ms 15 60 42s563ms 709ms 16 60 42s563ms 709ms 17 60 42s563ms 709ms 18 60 42s530ms 708ms 19 60 42s172ms 702ms 20 60 42s172ms 702ms 21 60 42s172ms 702ms 22 60 42s172ms 702ms 23 60 42s172ms 702ms 00 60 44s953ms 749ms [ User: monitoring_admin - Total duration: 22m47s - Times executed: 1349 ]
-
CREATE INDEX IF NOT EXISTS idx_db_top_queries_tenant ON observability.db_top_queries (tenant_key, collected_at DESC);
Date: 2026-06-07 23:59:01 Duration: 1s398ms Database: zemm_monitoring User: monitoring_admin Log file: /var/log/postgresql/postgresql-2026-06-07_000000.csv
-
CREATE INDEX IF NOT EXISTS idx_db_top_queries_tenant ON observability.db_top_queries (tenant_key, collected_at DESC);
Date: 2026-06-07 11:29:01 Duration: 1s394ms Database: zemm_monitoring User: monitoring_admin Log file: /var/log/postgresql/postgresql-2026-06-07_000000.csv
-
CREATE INDEX IF NOT EXISTS idx_db_top_queries_tenant ON observability.db_top_queries (tenant_key, collected_at DESC);
Date: 2026-06-07 17:54:02 Duration: 709ms Database: zemm_monitoring User: monitoring_admin Log file: /var/log/postgresql/postgresql-2026-06-07_000000.csv
5 22m47s 1,440 702ms 1s398ms 949ms create schema if not exists observability;Times Reported Time consuming queries #5
Day Hour Count Duration Avg duration Jun 07 01 60 0ms 0ms 02 60 40s436ms 673ms 03 60 1m23s 1s394ms 04 60 1m23s 1s394ms 05 60 1m23s 1s394ms 06 60 1m23s 1s394ms 07 60 1m23s 1s394ms 08 60 1m23s 1s394ms 09 60 1m23s 1s394ms 10 60 1m23s 1s394ms 11 60 1m23s 1s394ms 12 60 1m3s 1s51ms 13 60 42s563ms 709ms 14 60 42s563ms 709ms 15 60 42s563ms 709ms 16 60 42s563ms 709ms 17 60 42s563ms 709ms 18 60 42s530ms 708ms 19 60 42s172ms 702ms 20 60 42s172ms 702ms 21 60 42s172ms 702ms 22 60 42s172ms 702ms 23 60 42s172ms 702ms 00 60 44s953ms 749ms [ User: monitoring_admin - Total duration: 22m47s - Times executed: 1349 ]
-
CREATE SCHEMA IF NOT EXISTS observability;
Date: 2026-06-07 23:59:01 Duration: 1s398ms Database: zemm_monitoring User: monitoring_admin Log file: /var/log/postgresql/postgresql-2026-06-07_000000.csv
-
CREATE SCHEMA IF NOT EXISTS observability;
Date: 2026-06-07 11:29:01 Duration: 1s394ms Database: zemm_monitoring User: monitoring_admin Log file: /var/log/postgresql/postgresql-2026-06-07_000000.csv
-
CREATE SCHEMA IF NOT EXISTS observability;
Date: 2026-06-07 17:54:02 Duration: 709ms Database: zemm_monitoring User: monitoring_admin Log file: /var/log/postgresql/postgresql-2026-06-07_000000.csv
6 22m47s 1,440 702ms 1s398ms 949ms 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 #6
Day Hour Count Duration Avg duration Jun 07 01 60 0ms 0ms 02 60 40s436ms 673ms 03 60 1m23s 1s394ms 04 60 1m23s 1s394ms 05 60 1m23s 1s394ms 06 60 1m23s 1s394ms 07 60 1m23s 1s394ms 08 60 1m23s 1s394ms 09 60 1m23s 1s394ms 10 60 1m23s 1s394ms 11 60 1m23s 1s394ms 12 60 1m3s 1s51ms 13 60 42s563ms 709ms 14 60 42s563ms 709ms 15 60 42s563ms 709ms 16 60 42s563ms 709ms 17 60 42s563ms 709ms 18 60 42s530ms 708ms 19 60 42s172ms 702ms 20 60 42s172ms 702ms 21 60 42s172ms 702ms 22 60 42s172ms 702ms 23 60 42s172ms 702ms 00 60 44s953ms 749ms [ User: monitoring_admin - Total duration: 22m47s - Times executed: 1349 ]
-
CREATE TABLE IF NOT EXISTS observability.metrics_timeseries ( id bigserial PRIMARY KEY, tenant_key text NOT NULL, metric_name text NOT NULL, bucket_start timestamptz NOT NULL, bucket_width_seconds integer NOT NULL DEFAULT 60, sum_value double precision NOT NULL DEFAULT 0, count_value bigint NOT NULL DEFAULT 0, histogram jsonb, created_at timestamptz NOT NULL DEFAULT NOW(), updated_at timestamptz NOT NULL DEFAULT NOW(), UNIQUE (tenant_key, metric_name, bucket_start, bucket_width_seconds) );
Date: 2026-06-07 23:59:01 Duration: 1s398ms Database: zemm_monitoring User: monitoring_admin Log file: /var/log/postgresql/postgresql-2026-06-07_000000.csv
-
CREATE TABLE IF NOT EXISTS observability.metrics_timeseries ( id bigserial PRIMARY KEY, tenant_key text NOT NULL, metric_name text NOT NULL, bucket_start timestamptz NOT NULL, bucket_width_seconds integer NOT NULL DEFAULT 60, sum_value double precision NOT NULL DEFAULT 0, count_value bigint NOT NULL DEFAULT 0, histogram jsonb, created_at timestamptz NOT NULL DEFAULT NOW(), updated_at timestamptz NOT NULL DEFAULT NOW(), UNIQUE (tenant_key, metric_name, bucket_start, bucket_width_seconds) );
Date: 2026-06-07 11:29:01 Duration: 1s394ms Database: zemm_monitoring User: monitoring_admin Log file: /var/log/postgresql/postgresql-2026-06-07_000000.csv
-
CREATE TABLE IF NOT EXISTS observability.metrics_timeseries ( id bigserial PRIMARY KEY, tenant_key text NOT NULL, metric_name text NOT NULL, bucket_start timestamptz NOT NULL, bucket_width_seconds integer NOT NULL DEFAULT 60, sum_value double precision NOT NULL DEFAULT 0, count_value bigint NOT NULL DEFAULT 0, histogram jsonb, created_at timestamptz NOT NULL DEFAULT NOW(), updated_at timestamptz NOT NULL DEFAULT NOW(), UNIQUE (tenant_key, metric_name, bucket_start, bucket_width_seconds) );
Date: 2026-06-07 17:54:02 Duration: 709ms Database: zemm_monitoring User: monitoring_admin Log file: /var/log/postgresql/postgresql-2026-06-07_000000.csv
7 22m47s 1,440 702ms 1s398ms 949ms create index if not exists idx_uptime_checks_key on observability.uptime_checks (check_key, checked_at desc);Times Reported Time consuming queries #7
Day Hour Count Duration Avg duration Jun 07 01 60 0ms 0ms 02 60 40s436ms 673ms 03 60 1m23s 1s394ms 04 60 1m23s 1s394ms 05 60 1m23s 1s394ms 06 60 1m23s 1s394ms 07 60 1m23s 1s394ms 08 60 1m23s 1s394ms 09 60 1m23s 1s394ms 10 60 1m23s 1s394ms 11 60 1m23s 1s394ms 12 60 1m3s 1s51ms 13 60 42s563ms 709ms 14 60 42s563ms 709ms 15 60 42s563ms 709ms 16 60 42s563ms 709ms 17 60 42s563ms 709ms 18 60 42s530ms 708ms 19 60 42s172ms 702ms 20 60 42s172ms 702ms 21 60 42s172ms 702ms 22 60 42s172ms 702ms 23 60 42s172ms 702ms 00 60 44s953ms 749ms [ User: monitoring_admin - Total duration: 22m47s - Times executed: 1349 ]
-
CREATE INDEX IF NOT EXISTS idx_uptime_checks_key ON observability.uptime_checks (check_key, checked_at DESC);
Date: 2026-06-07 23:59:01 Duration: 1s398ms Database: zemm_monitoring User: monitoring_admin Log file: /var/log/postgresql/postgresql-2026-06-07_000000.csv
-
CREATE INDEX IF NOT EXISTS idx_uptime_checks_key ON observability.uptime_checks (check_key, checked_at DESC);
Date: 2026-06-07 11:29:01 Duration: 1s394ms Database: zemm_monitoring User: monitoring_admin Log file: /var/log/postgresql/postgresql-2026-06-07_000000.csv
-
CREATE INDEX IF NOT EXISTS idx_uptime_checks_key ON observability.uptime_checks (check_key, checked_at DESC);
Date: 2026-06-07 17:54:02 Duration: 709ms Database: zemm_monitoring User: monitoring_admin Log file: /var/log/postgresql/postgresql-2026-06-07_000000.csv
8 22m47s 1,440 702ms 1s398ms 949ms alter table observability.uptime_checks add column if not exists payload jsonb;Times Reported Time consuming queries #8
Day Hour Count Duration Avg duration Jun 07 01 60 0ms 0ms 02 60 40s436ms 673ms 03 60 1m23s 1s394ms 04 60 1m23s 1s394ms 05 60 1m23s 1s394ms 06 60 1m23s 1s394ms 07 60 1m23s 1s394ms 08 60 1m23s 1s394ms 09 60 1m23s 1s394ms 10 60 1m23s 1s394ms 11 60 1m23s 1s394ms 12 60 1m3s 1s51ms 13 60 42s563ms 709ms 14 60 42s563ms 709ms 15 60 42s563ms 709ms 16 60 42s563ms 709ms 17 60 42s563ms 709ms 18 60 42s530ms 708ms 19 60 42s172ms 702ms 20 60 42s172ms 702ms 21 60 42s172ms 702ms 22 60 42s172ms 702ms 23 60 42s172ms 702ms 00 60 44s953ms 749ms [ User: monitoring_admin - Total duration: 22m47s - Times executed: 1349 ]
-
ALTER TABLE observability.uptime_checks ADD COLUMN IF NOT EXISTS payload jsonb;
Date: 2026-06-07 23:59:01 Duration: 1s398ms Database: zemm_monitoring User: monitoring_admin Log file: /var/log/postgresql/postgresql-2026-06-07_000000.csv
-
ALTER TABLE observability.uptime_checks ADD COLUMN IF NOT EXISTS payload jsonb;
Date: 2026-06-07 11:29:01 Duration: 1s394ms Database: zemm_monitoring User: monitoring_admin Log file: /var/log/postgresql/postgresql-2026-06-07_000000.csv
-
ALTER TABLE observability.uptime_checks ADD COLUMN IF NOT EXISTS payload jsonb;
Date: 2026-06-07 17:54:02 Duration: 709ms Database: zemm_monitoring User: monitoring_admin Log file: /var/log/postgresql/postgresql-2026-06-07_000000.csv
9 22m47s 1,440 702ms 1s398ms 949ms create index if not exists idx_metrics_timeseries_metric on observability.metrics_timeseries (metric_name);Times Reported Time consuming queries #9
Day Hour Count Duration Avg duration Jun 07 01 60 0ms 0ms 02 60 40s436ms 673ms 03 60 1m23s 1s394ms 04 60 1m23s 1s394ms 05 60 1m23s 1s394ms 06 60 1m23s 1s394ms 07 60 1m23s 1s394ms 08 60 1m23s 1s394ms 09 60 1m23s 1s394ms 10 60 1m23s 1s394ms 11 60 1m23s 1s394ms 12 60 1m3s 1s51ms 13 60 42s563ms 709ms 14 60 42s563ms 709ms 15 60 42s563ms 709ms 16 60 42s563ms 709ms 17 60 42s563ms 709ms 18 60 42s530ms 708ms 19 60 42s172ms 702ms 20 60 42s172ms 702ms 21 60 42s172ms 702ms 22 60 42s172ms 702ms 23 60 42s172ms 702ms 00 60 44s953ms 749ms [ User: monitoring_admin - Total duration: 22m47s - Times executed: 1349 ]
-
CREATE INDEX IF NOT EXISTS idx_metrics_timeseries_metric ON observability.metrics_timeseries (metric_name);
Date: 2026-06-07 23:59:01 Duration: 1s398ms Database: zemm_monitoring User: monitoring_admin Log file: /var/log/postgresql/postgresql-2026-06-07_000000.csv
-
CREATE INDEX IF NOT EXISTS idx_metrics_timeseries_metric ON observability.metrics_timeseries (metric_name);
Date: 2026-06-07 11:29:01 Duration: 1s394ms Database: zemm_monitoring User: monitoring_admin Log file: /var/log/postgresql/postgresql-2026-06-07_000000.csv
-
CREATE INDEX IF NOT EXISTS idx_metrics_timeseries_metric ON observability.metrics_timeseries (metric_name);
Date: 2026-06-07 17:54:02 Duration: 709ms Database: zemm_monitoring User: monitoring_admin Log file: /var/log/postgresql/postgresql-2026-06-07_000000.csv
10 22m47s 1,440 702ms 1s398ms 949ms 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 #10
Day Hour Count Duration Avg duration Jun 07 01 60 0ms 0ms 02 60 40s436ms 673ms 03 60 1m23s 1s394ms 04 60 1m23s 1s394ms 05 60 1m23s 1s394ms 06 60 1m23s 1s394ms 07 60 1m23s 1s394ms 08 60 1m23s 1s394ms 09 60 1m23s 1s394ms 10 60 1m23s 1s394ms 11 60 1m23s 1s394ms 12 60 1m3s 1s51ms 13 60 42s563ms 709ms 14 60 42s563ms 709ms 15 60 42s563ms 709ms 16 60 42s563ms 709ms 17 60 42s563ms 709ms 18 60 42s530ms 708ms 19 60 42s172ms 702ms 20 60 42s172ms 702ms 21 60 42s172ms 702ms 22 60 42s172ms 702ms 23 60 42s172ms 702ms 00 60 44s953ms 749ms [ User: monitoring_admin - Total duration: 22m47s - Times executed: 1349 ]
-
CREATE TABLE IF NOT EXISTS observability.nginx_counters ( id bigserial PRIMARY KEY, payload jsonb NOT NULL, collected_at timestamptz NOT NULL DEFAULT NOW() );
Date: 2026-06-07 23:59:01 Duration: 1s398ms Database: zemm_monitoring User: monitoring_admin Log file: /var/log/postgresql/postgresql-2026-06-07_000000.csv
-
CREATE TABLE IF NOT EXISTS observability.nginx_counters ( id bigserial PRIMARY KEY, payload jsonb NOT NULL, collected_at timestamptz NOT NULL DEFAULT NOW() );
Date: 2026-06-07 11:29:01 Duration: 1s394ms Database: zemm_monitoring User: monitoring_admin Log file: /var/log/postgresql/postgresql-2026-06-07_000000.csv
-
CREATE TABLE IF NOT EXISTS observability.nginx_counters ( id bigserial PRIMARY KEY, payload jsonb NOT NULL, collected_at timestamptz NOT NULL DEFAULT NOW() );
Date: 2026-06-07 17:54:02 Duration: 709ms Database: zemm_monitoring User: monitoring_admin Log file: /var/log/postgresql/postgresql-2026-06-07_000000.csv
11 22m47s 1,440 702ms 1s398ms 949ms create index if not exists idx_metrics_timeseries_bucket on observability.metrics_timeseries (bucket_start);Times Reported Time consuming queries #11
Day Hour Count Duration Avg duration Jun 07 01 60 0ms 0ms 02 60 40s436ms 673ms 03 60 1m23s 1s394ms 04 60 1m23s 1s394ms 05 60 1m23s 1s394ms 06 60 1m23s 1s394ms 07 60 1m23s 1s394ms 08 60 1m23s 1s394ms 09 60 1m23s 1s394ms 10 60 1m23s 1s394ms 11 60 1m23s 1s394ms 12 60 1m3s 1s51ms 13 60 42s563ms 709ms 14 60 42s563ms 709ms 15 60 42s563ms 709ms 16 60 42s563ms 709ms 17 60 42s563ms 709ms 18 60 42s530ms 708ms 19 60 42s172ms 702ms 20 60 42s172ms 702ms 21 60 42s172ms 702ms 22 60 42s172ms 702ms 23 60 42s172ms 702ms 00 60 44s953ms 749ms [ User: monitoring_admin - Total duration: 22m47s - Times executed: 1349 ]
-
CREATE INDEX IF NOT EXISTS idx_metrics_timeseries_bucket ON observability.metrics_timeseries (bucket_start);
Date: 2026-06-07 23:59:01 Duration: 1s398ms Database: zemm_monitoring User: monitoring_admin Log file: /var/log/postgresql/postgresql-2026-06-07_000000.csv
-
CREATE INDEX IF NOT EXISTS idx_metrics_timeseries_bucket ON observability.metrics_timeseries (bucket_start);
Date: 2026-06-07 11:29:01 Duration: 1s394ms Database: zemm_monitoring User: monitoring_admin Log file: /var/log/postgresql/postgresql-2026-06-07_000000.csv
-
CREATE INDEX IF NOT EXISTS idx_metrics_timeseries_bucket ON observability.metrics_timeseries (bucket_start);
Date: 2026-06-07 17:54:02 Duration: 709ms Database: zemm_monitoring User: monitoring_admin Log file: /var/log/postgresql/postgresql-2026-06-07_000000.csv
12 22m47s 1,440 702ms 1s398ms 949ms create table if not exists observability.phpfpm_counters ( id bigserial primary key, payload jsonb not null, collected_at timestamptz not null default now() );Times Reported Time consuming queries #12
Day Hour Count Duration Avg duration Jun 07 01 60 0ms 0ms 02 60 40s436ms 673ms 03 60 1m23s 1s394ms 04 60 1m23s 1s394ms 05 60 1m23s 1s394ms 06 60 1m23s 1s394ms 07 60 1m23s 1s394ms 08 60 1m23s 1s394ms 09 60 1m23s 1s394ms 10 60 1m23s 1s394ms 11 60 1m23s 1s394ms 12 60 1m3s 1s51ms 13 60 42s563ms 709ms 14 60 42s563ms 709ms 15 60 42s563ms 709ms 16 60 42s563ms 709ms 17 60 42s563ms 709ms 18 60 42s530ms 708ms 19 60 42s172ms 702ms 20 60 42s172ms 702ms 21 60 42s172ms 702ms 22 60 42s172ms 702ms 23 60 42s172ms 702ms 00 60 44s953ms 749ms [ User: monitoring_admin - Total duration: 22m47s - Times executed: 1349 ]
-
CREATE TABLE IF NOT EXISTS observability.phpfpm_counters ( id bigserial PRIMARY KEY, payload jsonb NOT NULL, collected_at timestamptz NOT NULL DEFAULT NOW() );
Date: 2026-06-07 23:59:01 Duration: 1s398ms Database: zemm_monitoring User: monitoring_admin Log file: /var/log/postgresql/postgresql-2026-06-07_000000.csv
-
CREATE TABLE IF NOT EXISTS observability.phpfpm_counters ( id bigserial PRIMARY KEY, payload jsonb NOT NULL, collected_at timestamptz NOT NULL DEFAULT NOW() );
Date: 2026-06-07 11:29:01 Duration: 1s394ms Database: zemm_monitoring User: monitoring_admin Log file: /var/log/postgresql/postgresql-2026-06-07_000000.csv
-
CREATE TABLE IF NOT EXISTS observability.phpfpm_counters ( id bigserial PRIMARY KEY, payload jsonb NOT NULL, collected_at timestamptz NOT NULL DEFAULT NOW() );
Date: 2026-06-07 17:54:02 Duration: 709ms Database: zemm_monitoring User: monitoring_admin Log file: /var/log/postgresql/postgresql-2026-06-07_000000.csv
13 22m47s 1,440 702ms 1s398ms 949ms create index if not exists idx_app_events_type on observability.app_events (event_type);Times Reported Time consuming queries #13
Day Hour Count Duration Avg duration Jun 07 01 60 0ms 0ms 02 60 40s436ms 673ms 03 60 1m23s 1s394ms 04 60 1m23s 1s394ms 05 60 1m23s 1s394ms 06 60 1m23s 1s394ms 07 60 1m23s 1s394ms 08 60 1m23s 1s394ms 09 60 1m23s 1s394ms 10 60 1m23s 1s394ms 11 60 1m23s 1s394ms 12 60 1m3s 1s51ms 13 60 42s563ms 709ms 14 60 42s563ms 709ms 15 60 42s563ms 709ms 16 60 42s563ms 709ms 17 60 42s563ms 709ms 18 60 42s530ms 708ms 19 60 42s172ms 702ms 20 60 42s172ms 702ms 21 60 42s172ms 702ms 22 60 42s172ms 702ms 23 60 42s172ms 702ms 00 60 44s953ms 749ms [ User: monitoring_admin - Total duration: 22m47s - Times executed: 1349 ]
-
CREATE INDEX IF NOT EXISTS idx_app_events_type ON observability.app_events (event_type);
Date: 2026-06-07 23:59:01 Duration: 1s398ms Database: zemm_monitoring User: monitoring_admin Log file: /var/log/postgresql/postgresql-2026-06-07_000000.csv
-
CREATE INDEX IF NOT EXISTS idx_app_events_type ON observability.app_events (event_type);
Date: 2026-06-07 11:29:01 Duration: 1s394ms Database: zemm_monitoring User: monitoring_admin Log file: /var/log/postgresql/postgresql-2026-06-07_000000.csv
-
CREATE INDEX IF NOT EXISTS idx_app_events_type ON observability.app_events (event_type);
Date: 2026-06-07 17:54:02 Duration: 709ms Database: zemm_monitoring User: monitoring_admin Log file: /var/log/postgresql/postgresql-2026-06-07_000000.csv
14 22m47s 1,440 702ms 1s398ms 949ms alter table observability.uptime_checks add column if not exists label text;Times Reported Time consuming queries #14
Day Hour Count Duration Avg duration Jun 07 01 60 0ms 0ms 02 60 40s436ms 673ms 03 60 1m23s 1s394ms 04 60 1m23s 1s394ms 05 60 1m23s 1s394ms 06 60 1m23s 1s394ms 07 60 1m23s 1s394ms 08 60 1m23s 1s394ms 09 60 1m23s 1s394ms 10 60 1m23s 1s394ms 11 60 1m23s 1s394ms 12 60 1m3s 1s51ms 13 60 42s563ms 709ms 14 60 42s563ms 709ms 15 60 42s563ms 709ms 16 60 42s563ms 709ms 17 60 42s563ms 709ms 18 60 42s530ms 708ms 19 60 42s172ms 702ms 20 60 42s172ms 702ms 21 60 42s172ms 702ms 22 60 42s172ms 702ms 23 60 42s172ms 702ms 00 60 44s953ms 749ms [ User: monitoring_admin - Total duration: 22m47s - Times executed: 1349 ]
-
ALTER TABLE observability.uptime_checks ADD COLUMN IF NOT EXISTS label text;
Date: 2026-06-07 23:59:01 Duration: 1s398ms Database: zemm_monitoring User: monitoring_admin Log file: /var/log/postgresql/postgresql-2026-06-07_000000.csv
-
ALTER TABLE observability.uptime_checks ADD COLUMN IF NOT EXISTS label text;
Date: 2026-06-07 11:29:01 Duration: 1s394ms Database: zemm_monitoring User: monitoring_admin Log file: /var/log/postgresql/postgresql-2026-06-07_000000.csv
-
ALTER TABLE observability.uptime_checks ADD COLUMN IF NOT EXISTS label text;
Date: 2026-06-07 17:54:02 Duration: 709ms Database: zemm_monitoring User: monitoring_admin Log file: /var/log/postgresql/postgresql-2026-06-07_000000.csv
15 22m47s 1,440 702ms 1s398ms 949ms create table if not exists observability.uptime_checks ( id bigserial primary key, endpoint text not null, status text not null, latency_ms double precision, checked_at timestamptz not null default now() );Times Reported Time consuming queries #15
Day Hour Count Duration Avg duration Jun 07 01 60 0ms 0ms 02 60 40s436ms 673ms 03 60 1m23s 1s394ms 04 60 1m23s 1s394ms 05 60 1m23s 1s394ms 06 60 1m23s 1s394ms 07 60 1m23s 1s394ms 08 60 1m23s 1s394ms 09 60 1m23s 1s394ms 10 60 1m23s 1s394ms 11 60 1m23s 1s394ms 12 60 1m3s 1s51ms 13 60 42s563ms 709ms 14 60 42s563ms 709ms 15 60 42s563ms 709ms 16 60 42s563ms 709ms 17 60 42s563ms 709ms 18 60 42s530ms 708ms 19 60 42s172ms 702ms 20 60 42s172ms 702ms 21 60 42s172ms 702ms 22 60 42s172ms 702ms 23 60 42s172ms 702ms 00 60 44s953ms 749ms [ User: monitoring_admin - Total duration: 22m47s - Times executed: 1349 ]
-
CREATE TABLE IF NOT EXISTS observability.uptime_checks ( id bigserial PRIMARY KEY, endpoint text NOT NULL, status text NOT NULL, latency_ms double precision, checked_at timestamptz NOT NULL DEFAULT NOW() );
Date: 2026-06-07 23:59:01 Duration: 1s398ms Database: zemm_monitoring User: monitoring_admin Log file: /var/log/postgresql/postgresql-2026-06-07_000000.csv
-
CREATE TABLE IF NOT EXISTS observability.uptime_checks ( id bigserial PRIMARY KEY, endpoint text NOT NULL, status text NOT NULL, latency_ms double precision, checked_at timestamptz NOT NULL DEFAULT NOW() );
Date: 2026-06-07 11:29:01 Duration: 1s394ms Database: zemm_monitoring User: monitoring_admin Log file: /var/log/postgresql/postgresql-2026-06-07_000000.csv
-
CREATE TABLE IF NOT EXISTS observability.uptime_checks ( id bigserial PRIMARY KEY, endpoint text NOT NULL, status text NOT NULL, latency_ms double precision, checked_at timestamptz NOT NULL DEFAULT NOW() );
Date: 2026-06-07 17:54:02 Duration: 709ms Database: zemm_monitoring User: monitoring_admin Log file: /var/log/postgresql/postgresql-2026-06-07_000000.csv
16 22m47s 1,440 702ms 1s398ms 949ms 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 Jun 07 01 60 0ms 0ms 02 60 40s436ms 673ms 03 60 1m23s 1s394ms 04 60 1m23s 1s394ms 05 60 1m23s 1s394ms 06 60 1m23s 1s394ms 07 60 1m23s 1s394ms 08 60 1m23s 1s394ms 09 60 1m23s 1s394ms 10 60 1m23s 1s394ms 11 60 1m23s 1s394ms 12 60 1m3s 1s51ms 13 60 42s563ms 709ms 14 60 42s563ms 709ms 15 60 42s563ms 709ms 16 60 42s563ms 709ms 17 60 42s563ms 709ms 18 60 42s530ms 708ms 19 60 42s172ms 702ms 20 60 42s172ms 702ms 21 60 42s172ms 702ms 22 60 42s172ms 702ms 23 60 42s172ms 702ms 00 60 44s953ms 749ms [ User: monitoring_admin - Total duration: 22m47s - Times executed: 1349 ]
-
CREATE TABLE IF NOT EXISTS observability.db_top_queries ( id bigserial PRIMARY KEY, tenant_key text NOT NULL, fingerprint text, query text, mean_time_ms double precision, total_time_ms double precision, calls bigint, rows_returned bigint, collected_at timestamptz NOT NULL DEFAULT NOW() );
Date: 2026-06-07 23:59:01 Duration: 1s398ms Database: zemm_monitoring User: monitoring_admin Log file: /var/log/postgresql/postgresql-2026-06-07_000000.csv
-
CREATE TABLE IF NOT EXISTS observability.db_top_queries ( id bigserial PRIMARY KEY, tenant_key text NOT NULL, fingerprint text, query text, mean_time_ms double precision, total_time_ms double precision, calls bigint, rows_returned bigint, collected_at timestamptz NOT NULL DEFAULT NOW() );
Date: 2026-06-07 11:29:01 Duration: 1s394ms Database: zemm_monitoring User: monitoring_admin Log file: /var/log/postgresql/postgresql-2026-06-07_000000.csv
-
CREATE TABLE IF NOT EXISTS observability.db_top_queries ( id bigserial PRIMARY KEY, tenant_key text NOT NULL, fingerprint text, query text, mean_time_ms double precision, total_time_ms double precision, calls bigint, rows_returned bigint, collected_at timestamptz NOT NULL DEFAULT NOW() );
Date: 2026-06-07 17:54:02 Duration: 709ms Database: zemm_monitoring User: monitoring_admin Log file: /var/log/postgresql/postgresql-2026-06-07_000000.csv
17 22m47s 1,440 702ms 1s398ms 949ms 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 #17
Day Hour Count Duration Avg duration Jun 07 01 60 0ms 0ms 02 60 40s436ms 673ms 03 60 1m23s 1s394ms 04 60 1m23s 1s394ms 05 60 1m23s 1s394ms 06 60 1m23s 1s394ms 07 60 1m23s 1s394ms 08 60 1m23s 1s394ms 09 60 1m23s 1s394ms 10 60 1m23s 1s394ms 11 60 1m23s 1s394ms 12 60 1m3s 1s51ms 13 60 42s563ms 709ms 14 60 42s563ms 709ms 15 60 42s563ms 709ms 16 60 42s563ms 709ms 17 60 42s563ms 709ms 18 60 42s530ms 708ms 19 60 42s172ms 702ms 20 60 42s172ms 702ms 21 60 42s172ms 702ms 22 60 42s172ms 702ms 23 60 42s172ms 702ms 00 60 44s953ms 749ms [ User: monitoring_admin - Total duration: 22m47s - Times executed: 1349 ]
-
CREATE TABLE IF NOT EXISTS observability.system_metrics ( id bigserial PRIMARY KEY, payload jsonb NOT NULL, collected_at timestamptz NOT NULL DEFAULT NOW() );
Date: 2026-06-07 23:59:01 Duration: 1s398ms Database: zemm_monitoring User: monitoring_admin Log file: /var/log/postgresql/postgresql-2026-06-07_000000.csv
-
CREATE TABLE IF NOT EXISTS observability.system_metrics ( id bigserial PRIMARY KEY, payload jsonb NOT NULL, collected_at timestamptz NOT NULL DEFAULT NOW() );
Date: 2026-06-07 11:29:01 Duration: 1s394ms Database: zemm_monitoring User: monitoring_admin Log file: /var/log/postgresql/postgresql-2026-06-07_000000.csv
-
CREATE TABLE IF NOT EXISTS observability.system_metrics ( id bigserial PRIMARY KEY, payload jsonb NOT NULL, collected_at timestamptz NOT NULL DEFAULT NOW() );
Date: 2026-06-07 17:54:02 Duration: 709ms Database: zemm_monitoring User: monitoring_admin Log file: /var/log/postgresql/postgresql-2026-06-07_000000.csv
18 2s291ms 3 756ms 772ms 763ms select count(distinct animal_id) AS "count" from ( select animals_search_mview.*, b.unbreeding_date, a.id as animal, user_is_tgm (animals_search_mview.owner, ?) as is_owner, user_is_tgm (animals_search_mview.editor, ?) as is_editor, user_is_tgm (animals_search_mview.tourist, ?) as is_tourist, case when not exists ( select ? from scoresheet_diary sd where sd.animals_id = animals_search_mview.id) then ? else ? end as isscored from animals_search_mview left join strains on strains.name = animals_search_mview.strain left join license_history lh on lh.anid = animals_search_mview.id left join animals a on a."animalID" = animals_search_mview.animal_id left join breedings b on b.id = animals_search_mview.last_mating) data where fate = ? and alive = ? and deleted = ? and (is_owner or is_editor or is_tourist);Times Reported Time consuming queries #18
Day Hour Count Duration Avg duration Jun 07 12 1 756ms 756ms 18 2 1s535ms 767ms [ User: labanimal - Total duration: 2s291ms - Times executed: 3 ]
[ Application: _desktop_index.php_zemm_produktiv_8_localhost_5432 - Total duration: 2s291ms - Times executed: 3 ]
-
SELECT COUNT(DISTINCT animal_id) AS "count" FROM ( SELECT animals_search_mview.*, b.unbreeding_date, a.id as animal, user_is_tgm (animals_search_mview.owner, 490) AS is_owner, user_is_tgm (animals_search_mview.editor, 490) AS is_editor, user_is_tgm (animals_search_mview.tourist, 490) AS is_tourist, CASE WHEN NOT EXISTS ( SELECT 1 FROM scoresheet_diary sd WHERE sd.animals_id = animals_search_mview.id) THEN 'f' ELSE 't' END AS isscored FROM animals_search_mview LEFT JOIN strains ON strains.name = animals_search_mview.strain LEFT JOIN license_history lh ON lh.anid = animals_search_mview.id LEFT JOIN animals a ON a."animalID" = animals_search_mview.animal_id LEFT JOIN breedings b ON b.id = animals_search_mview.last_mating) data WHERE fate = 5 AND alive = 't' AND deleted = 'f' AND (is_owner OR is_editor OR is_tourist);
Date: 2026-06-07 17:54:37 Duration: 772ms Database: zemm_produktiv_8 User: labanimal Application: _desktop_index.php_zemm_produktiv_8_localhost_5432 Log file: /var/log/postgresql/postgresql-2026-06-07_000000.csv
-
SELECT COUNT(DISTINCT animal_id) AS "count" FROM ( SELECT animals_search_mview.*, b.unbreeding_date, a.id as animal, user_is_tgm (animals_search_mview.owner, 490) AS is_owner, user_is_tgm (animals_search_mview.editor, 490) AS is_editor, user_is_tgm (animals_search_mview.tourist, 490) AS is_tourist, CASE WHEN NOT EXISTS ( SELECT 1 FROM scoresheet_diary sd WHERE sd.animals_id = animals_search_mview.id) THEN 'f' ELSE 't' END AS isscored FROM animals_search_mview LEFT JOIN strains ON strains.name = animals_search_mview.strain LEFT JOIN license_history lh ON lh.anid = animals_search_mview.id LEFT JOIN animals a ON a."animalID" = animals_search_mview.animal_id LEFT JOIN breedings b ON b.id = animals_search_mview.last_mating) data WHERE fate = 5 AND alive = 't' AND deleted = 'f' AND (is_owner OR is_editor OR is_tourist);
Date: 2026-06-07 17:54:31 Duration: 762ms Database: zemm_produktiv_8 User: labanimal Application: _desktop_index.php_zemm_produktiv_8_localhost_5432 Log file: /var/log/postgresql/postgresql-2026-06-07_000000.csv
-
SELECT COUNT(DISTINCT animal_id) AS "count" FROM ( SELECT animals_search_mview.*, b.unbreeding_date, a.id as animal, user_is_tgm (animals_search_mview.owner, 210) AS is_owner, user_is_tgm (animals_search_mview.editor, 210) AS is_editor, user_is_tgm (animals_search_mview.tourist, 210) AS is_tourist, CASE WHEN NOT EXISTS ( SELECT 1 FROM scoresheet_diary sd WHERE sd.animals_id = animals_search_mview.id) THEN 'f' ELSE 't' END AS isscored FROM animals_search_mview LEFT JOIN strains ON strains.name = animals_search_mview.strain LEFT JOIN license_history lh ON lh.anid = animals_search_mview.id LEFT JOIN animals a ON a."animalID" = animals_search_mview.animal_id LEFT JOIN breedings b ON b.id = animals_search_mview.last_mating) data WHERE fate = 5 AND alive = 't' AND deleted = 'f' AND (is_owner OR is_editor OR is_tourist);
Date: 2026-06-07 11:29:40 Duration: 756ms Database: zemm_produktiv_8 User: labanimal Application: _desktop_index.php_zemm_produktiv_8_localhost_5432 Log file: /var/log/postgresql/postgresql-2026-06-07_000000.csv
19 2s107ms 3 695ms 709ms 702ms select distinct * from ( select animals_search_mview.*, b.unbreeding_date, fates.loc as fate_name, user_is_tgm (animals_search_mview.owner, ?) as is_owner, user_is_tgm (animals_search_mview.editor, ?) as is_editor, user_is_tgm (animals_search_mview.tourist, ?) as is_tourist, strains.cancel_criteria, strains.symtoms, strains.reduce_severity_by, strains.sym_immune, strains.deleted as straindeleted, string_agg(l."application_id" || ? || l."title" || ? || date(lh."timestamp")::varchar, ?) as licensehistory, case when not exists ( select ? from scoresheet_diary sd where sd.animals_id = animals_search_mview.id) then ? else ? end as isscored from animals_search_mview inner join fates on fates.id = animals_search_mview.fate left join strains on strains.name = animals_search_mview.strain left join license_history lh on lh.anid = animals_search_mview.id left join licenses l on l.id = lh.licid left join breedings b on b.id = animals_search_mview.last_mating group by animals_search_mview.id, b.unbreeding_date, fates.loc, strains.cancel_criteria, strains.symtoms, strains.reduce_severity_by, strains.sym_immune, straindeleted) data where data.fate = ? and data.alive = ? and data.deleted = ? and (is_owner or is_editor or is_tourist) and (data.straindeleted = ? or data.straindeleted is null) order by data.cage_name, data.animal_id, data.name;Times Reported Time consuming queries #19
Day Hour Count Duration Avg duration Jun 07 12 1 709ms 709ms 18 2 1s398ms 699ms [ User: labanimal - Total duration: 2s107ms - Times executed: 3 ]
[ Application: _desktop_index.php_zemm_produktiv_8_localhost_5432 - Total duration: 2s107ms - Times executed: 3 ]
-
SELECT DISTINCT * FROM ( SELECT animals_search_mview.*, b.unbreeding_date, fates.loc AS fate_name, user_is_tgm (animals_search_mview.owner, 210) AS is_owner, user_is_tgm (animals_search_mview.editor, 210) AS is_editor, user_is_tgm (animals_search_mview.tourist, 210) AS is_tourist, strains.cancel_criteria, strains.symtoms, strains.reduce_severity_by, strains.sym_immune, strains.deleted as straindeleted, STRING_AGG(l."application_id" || ':' || l."title" || ' - ' || Date(lh."timestamp")::varchar, '; ') AS licensehistory, CASE WHEN NOT EXISTS ( SELECT 1 FROM scoresheet_diary sd WHERE sd.animals_id = animals_search_mview.id) THEN 'f' ELSE 't' END AS isscored FROM animals_search_mview INNER JOIN fates ON fates.id = animals_search_mview.fate LEFT JOIN strains ON strains.name = animals_search_mview.strain LEFT JOIN license_history lh ON lh.anid = animals_search_mview.id LEFT JOIN licenses l ON l.id = lh.licid left join breedings b ON b.id = animals_search_mview.last_mating GROUP BY animals_search_mview.id, b.unbreeding_date, fates.loc, strains.cancel_criteria, strains.symtoms, strains.reduce_severity_by, strains.sym_immune, straindeleted) data WHERE data.fate = 5 AND data.alive = 't' AND data.deleted = 'f' AND (is_owner OR is_editor OR is_tourist) and (data.straindeleted = 'f' or data.straindeleted is null) ORDER BY data.cage_name, data.animal_id, data.name;
Date: 2026-06-07 11:29:41 Duration: 709ms Database: zemm_produktiv_8 User: labanimal Application: _desktop_index.php_zemm_produktiv_8_localhost_5432 Log file: /var/log/postgresql/postgresql-2026-06-07_000000.csv
-
SELECT DISTINCT * FROM ( SELECT animals_search_mview.*, b.unbreeding_date, fates.loc AS fate_name, user_is_tgm (animals_search_mview.owner, 490) AS is_owner, user_is_tgm (animals_search_mview.editor, 490) AS is_editor, user_is_tgm (animals_search_mview.tourist, 490) AS is_tourist, strains.cancel_criteria, strains.symtoms, strains.reduce_severity_by, strains.sym_immune, strains.deleted as straindeleted, STRING_AGG(l."application_id" || ':' || l."title" || ' - ' || Date(lh."timestamp")::varchar, '; ') AS licensehistory, CASE WHEN NOT EXISTS ( SELECT 1 FROM scoresheet_diary sd WHERE sd.animals_id = animals_search_mview.id) THEN 'f' ELSE 't' END AS isscored FROM animals_search_mview INNER JOIN fates ON fates.id = animals_search_mview.fate LEFT JOIN strains ON strains.name = animals_search_mview.strain LEFT JOIN license_history lh ON lh.anid = animals_search_mview.id LEFT JOIN licenses l ON l.id = lh.licid left join breedings b ON b.id = animals_search_mview.last_mating GROUP BY animals_search_mview.id, b.unbreeding_date, fates.loc, strains.cancel_criteria, strains.symtoms, strains.reduce_severity_by, strains.sym_immune, straindeleted) data WHERE data.fate = 5 AND data.alive = 't' AND data.deleted = 'f' AND (is_owner OR is_editor OR is_tourist) and (data.straindeleted = 'f' or data.straindeleted is null) ORDER BY data.cage_name, data.animal_id, data.name;
Date: 2026-06-07 17:54:37 Duration: 702ms Database: zemm_produktiv_8 User: labanimal Application: _desktop_index.php_zemm_produktiv_8_localhost_5432 Log file: /var/log/postgresql/postgresql-2026-06-07_000000.csv
-
SELECT DISTINCT * FROM ( SELECT animals_search_mview.*, b.unbreeding_date, fates.loc AS fate_name, user_is_tgm (animals_search_mview.owner, 490) AS is_owner, user_is_tgm (animals_search_mview.editor, 490) AS is_editor, user_is_tgm (animals_search_mview.tourist, 490) AS is_tourist, strains.cancel_criteria, strains.symtoms, strains.reduce_severity_by, strains.sym_immune, strains.deleted as straindeleted, STRING_AGG(l."application_id" || ':' || l."title" || ' - ' || Date(lh."timestamp")::varchar, '; ') AS licensehistory, CASE WHEN NOT EXISTS ( SELECT 1 FROM scoresheet_diary sd WHERE sd.animals_id = animals_search_mview.id) THEN 'f' ELSE 't' END AS isscored FROM animals_search_mview INNER JOIN fates ON fates.id = animals_search_mview.fate LEFT JOIN strains ON strains.name = animals_search_mview.strain LEFT JOIN license_history lh ON lh.anid = animals_search_mview.id LEFT JOIN licenses l ON l.id = lh.licid left join breedings b ON b.id = animals_search_mview.last_mating GROUP BY animals_search_mview.id, b.unbreeding_date, fates.loc, strains.cancel_criteria, strains.symtoms, strains.reduce_severity_by, strains.sym_immune, straindeleted) data WHERE data.fate = 5 AND data.alive = 't' AND data.deleted = 'f' AND (is_owner OR is_editor OR is_tourist) and (data.straindeleted = 'f' or data.straindeleted is null) ORDER BY data.cage_name, data.animal_id, data.name;
Date: 2026-06-07 17:54:31 Duration: 695ms Database: zemm_produktiv_8 User: labanimal Application: _desktop_index.php_zemm_produktiv_8_localhost_5432 Log file: /var/log/postgresql/postgresql-2026-06-07_000000.csv
20 2s20ms 1 2s20ms 2s20ms 2s20ms 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 #20
Day Hour Count Duration Avg duration Jun 07 00 1 2s20ms 2s20ms [ User: postgres - Total duration: 2s20ms - Times executed: 1 ]
[ Application: pg_dump - Total duration: 2s20ms - 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-06-07 23:55:17 Duration: 2s20ms Database: zemm_produktiv_8 User: postgres Remote: [local] Application: pg_dump Log file: /var/log/postgresql/postgresql-2026-06-07_000000.csv
Most frequent queries (N)
Rank Times executed Total duration Min duration Max duration Avg duration Query 1 1,440 22m47s 702ms 1s398ms 949ms create index if not exists idx_app_events_tenant on observability.app_events (tenant_key, occurred_at desc);Times Reported Time consuming queries #1
Day Hour Count Duration Avg duration Jun 07 01 60 0ms 0ms 02 60 40s436ms 673ms 03 60 1m23s 1s394ms 04 60 1m23s 1s394ms 05 60 1m23s 1s394ms 06 60 1m23s 1s394ms 07 60 1m23s 1s394ms 08 60 1m23s 1s394ms 09 60 1m23s 1s394ms 10 60 1m23s 1s394ms 11 60 1m23s 1s394ms 12 60 1m3s 1s51ms 13 60 42s563ms 709ms 14 60 42s563ms 709ms 15 60 42s563ms 709ms 16 60 42s563ms 709ms 17 60 42s563ms 709ms 18 60 42s530ms 708ms 19 60 42s172ms 702ms 20 60 42s172ms 702ms 21 60 42s172ms 702ms 22 60 42s172ms 702ms 23 60 42s172ms 702ms 00 60 44s953ms 749ms [ User: monitoring_admin - Total duration: 22m47s - Times executed: 1349 ]
-
CREATE INDEX IF NOT EXISTS idx_app_events_tenant ON observability.app_events (tenant_key, occurred_at DESC);
Date: 2026-06-07 23:59:01 Duration: 1s398ms Database: zemm_monitoring User: monitoring_admin Log file: /var/log/postgresql/postgresql-2026-06-07_000000.csv
-
CREATE INDEX IF NOT EXISTS idx_app_events_tenant ON observability.app_events (tenant_key, occurred_at DESC);
Date: 2026-06-07 11:29:01 Duration: 1s394ms Database: zemm_monitoring User: monitoring_admin Log file: /var/log/postgresql/postgresql-2026-06-07_000000.csv
-
CREATE INDEX IF NOT EXISTS idx_app_events_tenant ON observability.app_events (tenant_key, occurred_at DESC);
Date: 2026-06-07 17:54:02 Duration: 709ms Database: zemm_monitoring User: monitoring_admin Log file: /var/log/postgresql/postgresql-2026-06-07_000000.csv
2 1,440 22m47s 702ms 1s398ms 949ms 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 Jun 07 01 60 0ms 0ms 02 60 40s436ms 673ms 03 60 1m23s 1s394ms 04 60 1m23s 1s394ms 05 60 1m23s 1s394ms 06 60 1m23s 1s394ms 07 60 1m23s 1s394ms 08 60 1m23s 1s394ms 09 60 1m23s 1s394ms 10 60 1m23s 1s394ms 11 60 1m23s 1s394ms 12 60 1m3s 1s51ms 13 60 42s563ms 709ms 14 60 42s563ms 709ms 15 60 42s563ms 709ms 16 60 42s563ms 709ms 17 60 42s563ms 709ms 18 60 42s530ms 708ms 19 60 42s172ms 702ms 20 60 42s172ms 702ms 21 60 42s172ms 702ms 22 60 42s172ms 702ms 23 60 42s172ms 702ms 00 60 44s953ms 749ms [ User: monitoring_admin - Total duration: 22m47s - Times executed: 1349 ]
-
CREATE INDEX IF NOT EXISTS idx_uptime_checks_endpoint ON observability.uptime_checks (endpoint, checked_at DESC);
Date: 2026-06-07 23:59:01 Duration: 1s398ms Database: zemm_monitoring User: monitoring_admin Log file: /var/log/postgresql/postgresql-2026-06-07_000000.csv
-
CREATE INDEX IF NOT EXISTS idx_uptime_checks_endpoint ON observability.uptime_checks (endpoint, checked_at DESC);
Date: 2026-06-07 11:29:01 Duration: 1s394ms Database: zemm_monitoring User: monitoring_admin Log file: /var/log/postgresql/postgresql-2026-06-07_000000.csv
-
CREATE INDEX IF NOT EXISTS idx_uptime_checks_endpoint ON observability.uptime_checks (endpoint, checked_at DESC);
Date: 2026-06-07 17:54:02 Duration: 709ms Database: zemm_monitoring User: monitoring_admin Log file: /var/log/postgresql/postgresql-2026-06-07_000000.csv
3 1,440 22m47s 702ms 1s398ms 949ms 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 Jun 07 01 60 0ms 0ms 02 60 40s436ms 673ms 03 60 1m23s 1s394ms 04 60 1m23s 1s394ms 05 60 1m23s 1s394ms 06 60 1m23s 1s394ms 07 60 1m23s 1s394ms 08 60 1m23s 1s394ms 09 60 1m23s 1s394ms 10 60 1m23s 1s394ms 11 60 1m23s 1s394ms 12 60 1m3s 1s51ms 13 60 42s563ms 709ms 14 60 42s563ms 709ms 15 60 42s563ms 709ms 16 60 42s563ms 709ms 17 60 42s563ms 709ms 18 60 42s530ms 708ms 19 60 42s172ms 702ms 20 60 42s172ms 702ms 21 60 42s172ms 702ms 22 60 42s172ms 702ms 23 60 42s172ms 702ms 00 60 44s953ms 749ms [ User: monitoring_admin - Total duration: 22m47s - Times executed: 1349 ]
-
CREATE TABLE IF NOT EXISTS observability.app_events ( id bigserial PRIMARY KEY, tenant_key text NOT NULL, event_type text NOT NULL, severity text NOT NULL, message text NOT NULL, payload jsonb, occurred_at timestamptz NOT NULL DEFAULT NOW(), created_at timestamptz NOT NULL DEFAULT NOW() );
Date: 2026-06-07 23:59:01 Duration: 1s398ms Database: zemm_monitoring User: monitoring_admin Log file: /var/log/postgresql/postgresql-2026-06-07_000000.csv
-
CREATE TABLE IF NOT EXISTS observability.app_events ( id bigserial PRIMARY KEY, tenant_key text NOT NULL, event_type text NOT NULL, severity text NOT NULL, message text NOT NULL, payload jsonb, occurred_at timestamptz NOT NULL DEFAULT NOW(), created_at timestamptz NOT NULL DEFAULT NOW() );
Date: 2026-06-07 11:29:01 Duration: 1s394ms Database: zemm_monitoring User: monitoring_admin Log file: /var/log/postgresql/postgresql-2026-06-07_000000.csv
-
CREATE TABLE IF NOT EXISTS observability.app_events ( id bigserial PRIMARY KEY, tenant_key text NOT NULL, event_type text NOT NULL, severity text NOT NULL, message text NOT NULL, payload jsonb, occurred_at timestamptz NOT NULL DEFAULT NOW(), created_at timestamptz NOT NULL DEFAULT NOW() );
Date: 2026-06-07 17:54:02 Duration: 709ms Database: zemm_monitoring User: monitoring_admin Log file: /var/log/postgresql/postgresql-2026-06-07_000000.csv
4 1,440 22m47s 702ms 1s398ms 949ms 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 #4
Day Hour Count Duration Avg duration Jun 07 01 60 0ms 0ms 02 60 40s436ms 673ms 03 60 1m23s 1s394ms 04 60 1m23s 1s394ms 05 60 1m23s 1s394ms 06 60 1m23s 1s394ms 07 60 1m23s 1s394ms 08 60 1m23s 1s394ms 09 60 1m23s 1s394ms 10 60 1m23s 1s394ms 11 60 1m23s 1s394ms 12 60 1m3s 1s51ms 13 60 42s563ms 709ms 14 60 42s563ms 709ms 15 60 42s563ms 709ms 16 60 42s563ms 709ms 17 60 42s563ms 709ms 18 60 42s530ms 708ms 19 60 42s172ms 702ms 20 60 42s172ms 702ms 21 60 42s172ms 702ms 22 60 42s172ms 702ms 23 60 42s172ms 702ms 00 60 44s953ms 749ms [ User: monitoring_admin - Total duration: 22m47s - Times executed: 1349 ]
-
CREATE INDEX IF NOT EXISTS idx_db_top_queries_tenant ON observability.db_top_queries (tenant_key, collected_at DESC);
Date: 2026-06-07 23:59:01 Duration: 1s398ms Database: zemm_monitoring User: monitoring_admin Log file: /var/log/postgresql/postgresql-2026-06-07_000000.csv
-
CREATE INDEX IF NOT EXISTS idx_db_top_queries_tenant ON observability.db_top_queries (tenant_key, collected_at DESC);
Date: 2026-06-07 11:29:01 Duration: 1s394ms Database: zemm_monitoring User: monitoring_admin Log file: /var/log/postgresql/postgresql-2026-06-07_000000.csv
-
CREATE INDEX IF NOT EXISTS idx_db_top_queries_tenant ON observability.db_top_queries (tenant_key, collected_at DESC);
Date: 2026-06-07 17:54:02 Duration: 709ms Database: zemm_monitoring User: monitoring_admin Log file: /var/log/postgresql/postgresql-2026-06-07_000000.csv
5 1,440 22m47s 702ms 1s398ms 949ms create schema if not exists observability;Times Reported Time consuming queries #5
Day Hour Count Duration Avg duration Jun 07 01 60 0ms 0ms 02 60 40s436ms 673ms 03 60 1m23s 1s394ms 04 60 1m23s 1s394ms 05 60 1m23s 1s394ms 06 60 1m23s 1s394ms 07 60 1m23s 1s394ms 08 60 1m23s 1s394ms 09 60 1m23s 1s394ms 10 60 1m23s 1s394ms 11 60 1m23s 1s394ms 12 60 1m3s 1s51ms 13 60 42s563ms 709ms 14 60 42s563ms 709ms 15 60 42s563ms 709ms 16 60 42s563ms 709ms 17 60 42s563ms 709ms 18 60 42s530ms 708ms 19 60 42s172ms 702ms 20 60 42s172ms 702ms 21 60 42s172ms 702ms 22 60 42s172ms 702ms 23 60 42s172ms 702ms 00 60 44s953ms 749ms [ User: monitoring_admin - Total duration: 22m47s - Times executed: 1349 ]
-
CREATE SCHEMA IF NOT EXISTS observability;
Date: 2026-06-07 23:59:01 Duration: 1s398ms Database: zemm_monitoring User: monitoring_admin Log file: /var/log/postgresql/postgresql-2026-06-07_000000.csv
-
CREATE SCHEMA IF NOT EXISTS observability;
Date: 2026-06-07 11:29:01 Duration: 1s394ms Database: zemm_monitoring User: monitoring_admin Log file: /var/log/postgresql/postgresql-2026-06-07_000000.csv
-
CREATE SCHEMA IF NOT EXISTS observability;
Date: 2026-06-07 17:54:02 Duration: 709ms Database: zemm_monitoring User: monitoring_admin Log file: /var/log/postgresql/postgresql-2026-06-07_000000.csv
6 1,440 22m47s 702ms 1s398ms 949ms 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 #6
Day Hour Count Duration Avg duration Jun 07 01 60 0ms 0ms 02 60 40s436ms 673ms 03 60 1m23s 1s394ms 04 60 1m23s 1s394ms 05 60 1m23s 1s394ms 06 60 1m23s 1s394ms 07 60 1m23s 1s394ms 08 60 1m23s 1s394ms 09 60 1m23s 1s394ms 10 60 1m23s 1s394ms 11 60 1m23s 1s394ms 12 60 1m3s 1s51ms 13 60 42s563ms 709ms 14 60 42s563ms 709ms 15 60 42s563ms 709ms 16 60 42s563ms 709ms 17 60 42s563ms 709ms 18 60 42s530ms 708ms 19 60 42s172ms 702ms 20 60 42s172ms 702ms 21 60 42s172ms 702ms 22 60 42s172ms 702ms 23 60 42s172ms 702ms 00 60 44s953ms 749ms [ User: monitoring_admin - Total duration: 22m47s - Times executed: 1349 ]
-
CREATE TABLE IF NOT EXISTS observability.metrics_timeseries ( id bigserial PRIMARY KEY, tenant_key text NOT NULL, metric_name text NOT NULL, bucket_start timestamptz NOT NULL, bucket_width_seconds integer NOT NULL DEFAULT 60, sum_value double precision NOT NULL DEFAULT 0, count_value bigint NOT NULL DEFAULT 0, histogram jsonb, created_at timestamptz NOT NULL DEFAULT NOW(), updated_at timestamptz NOT NULL DEFAULT NOW(), UNIQUE (tenant_key, metric_name, bucket_start, bucket_width_seconds) );
Date: 2026-06-07 23:59:01 Duration: 1s398ms Database: zemm_monitoring User: monitoring_admin Log file: /var/log/postgresql/postgresql-2026-06-07_000000.csv
-
CREATE TABLE IF NOT EXISTS observability.metrics_timeseries ( id bigserial PRIMARY KEY, tenant_key text NOT NULL, metric_name text NOT NULL, bucket_start timestamptz NOT NULL, bucket_width_seconds integer NOT NULL DEFAULT 60, sum_value double precision NOT NULL DEFAULT 0, count_value bigint NOT NULL DEFAULT 0, histogram jsonb, created_at timestamptz NOT NULL DEFAULT NOW(), updated_at timestamptz NOT NULL DEFAULT NOW(), UNIQUE (tenant_key, metric_name, bucket_start, bucket_width_seconds) );
Date: 2026-06-07 11:29:01 Duration: 1s394ms Database: zemm_monitoring User: monitoring_admin Log file: /var/log/postgresql/postgresql-2026-06-07_000000.csv
-
CREATE TABLE IF NOT EXISTS observability.metrics_timeseries ( id bigserial PRIMARY KEY, tenant_key text NOT NULL, metric_name text NOT NULL, bucket_start timestamptz NOT NULL, bucket_width_seconds integer NOT NULL DEFAULT 60, sum_value double precision NOT NULL DEFAULT 0, count_value bigint NOT NULL DEFAULT 0, histogram jsonb, created_at timestamptz NOT NULL DEFAULT NOW(), updated_at timestamptz NOT NULL DEFAULT NOW(), UNIQUE (tenant_key, metric_name, bucket_start, bucket_width_seconds) );
Date: 2026-06-07 17:54:02 Duration: 709ms Database: zemm_monitoring User: monitoring_admin Log file: /var/log/postgresql/postgresql-2026-06-07_000000.csv
7 1,440 22m47s 702ms 1s398ms 949ms create index if not exists idx_uptime_checks_key on observability.uptime_checks (check_key, checked_at desc);Times Reported Time consuming queries #7
Day Hour Count Duration Avg duration Jun 07 01 60 0ms 0ms 02 60 40s436ms 673ms 03 60 1m23s 1s394ms 04 60 1m23s 1s394ms 05 60 1m23s 1s394ms 06 60 1m23s 1s394ms 07 60 1m23s 1s394ms 08 60 1m23s 1s394ms 09 60 1m23s 1s394ms 10 60 1m23s 1s394ms 11 60 1m23s 1s394ms 12 60 1m3s 1s51ms 13 60 42s563ms 709ms 14 60 42s563ms 709ms 15 60 42s563ms 709ms 16 60 42s563ms 709ms 17 60 42s563ms 709ms 18 60 42s530ms 708ms 19 60 42s172ms 702ms 20 60 42s172ms 702ms 21 60 42s172ms 702ms 22 60 42s172ms 702ms 23 60 42s172ms 702ms 00 60 44s953ms 749ms [ User: monitoring_admin - Total duration: 22m47s - Times executed: 1349 ]
-
CREATE INDEX IF NOT EXISTS idx_uptime_checks_key ON observability.uptime_checks (check_key, checked_at DESC);
Date: 2026-06-07 23:59:01 Duration: 1s398ms Database: zemm_monitoring User: monitoring_admin Log file: /var/log/postgresql/postgresql-2026-06-07_000000.csv
-
CREATE INDEX IF NOT EXISTS idx_uptime_checks_key ON observability.uptime_checks (check_key, checked_at DESC);
Date: 2026-06-07 11:29:01 Duration: 1s394ms Database: zemm_monitoring User: monitoring_admin Log file: /var/log/postgresql/postgresql-2026-06-07_000000.csv
-
CREATE INDEX IF NOT EXISTS idx_uptime_checks_key ON observability.uptime_checks (check_key, checked_at DESC);
Date: 2026-06-07 17:54:02 Duration: 709ms Database: zemm_monitoring User: monitoring_admin Log file: /var/log/postgresql/postgresql-2026-06-07_000000.csv
8 1,440 22m47s 702ms 1s398ms 949ms alter table observability.uptime_checks add column if not exists payload jsonb;Times Reported Time consuming queries #8
Day Hour Count Duration Avg duration Jun 07 01 60 0ms 0ms 02 60 40s436ms 673ms 03 60 1m23s 1s394ms 04 60 1m23s 1s394ms 05 60 1m23s 1s394ms 06 60 1m23s 1s394ms 07 60 1m23s 1s394ms 08 60 1m23s 1s394ms 09 60 1m23s 1s394ms 10 60 1m23s 1s394ms 11 60 1m23s 1s394ms 12 60 1m3s 1s51ms 13 60 42s563ms 709ms 14 60 42s563ms 709ms 15 60 42s563ms 709ms 16 60 42s563ms 709ms 17 60 42s563ms 709ms 18 60 42s530ms 708ms 19 60 42s172ms 702ms 20 60 42s172ms 702ms 21 60 42s172ms 702ms 22 60 42s172ms 702ms 23 60 42s172ms 702ms 00 60 44s953ms 749ms [ User: monitoring_admin - Total duration: 22m47s - Times executed: 1349 ]
-
ALTER TABLE observability.uptime_checks ADD COLUMN IF NOT EXISTS payload jsonb;
Date: 2026-06-07 23:59:01 Duration: 1s398ms Database: zemm_monitoring User: monitoring_admin Log file: /var/log/postgresql/postgresql-2026-06-07_000000.csv
-
ALTER TABLE observability.uptime_checks ADD COLUMN IF NOT EXISTS payload jsonb;
Date: 2026-06-07 11:29:01 Duration: 1s394ms Database: zemm_monitoring User: monitoring_admin Log file: /var/log/postgresql/postgresql-2026-06-07_000000.csv
-
ALTER TABLE observability.uptime_checks ADD COLUMN IF NOT EXISTS payload jsonb;
Date: 2026-06-07 17:54:02 Duration: 709ms Database: zemm_monitoring User: monitoring_admin Log file: /var/log/postgresql/postgresql-2026-06-07_000000.csv
9 1,440 22m47s 702ms 1s398ms 949ms create index if not exists idx_metrics_timeseries_metric on observability.metrics_timeseries (metric_name);Times Reported Time consuming queries #9
Day Hour Count Duration Avg duration Jun 07 01 60 0ms 0ms 02 60 40s436ms 673ms 03 60 1m23s 1s394ms 04 60 1m23s 1s394ms 05 60 1m23s 1s394ms 06 60 1m23s 1s394ms 07 60 1m23s 1s394ms 08 60 1m23s 1s394ms 09 60 1m23s 1s394ms 10 60 1m23s 1s394ms 11 60 1m23s 1s394ms 12 60 1m3s 1s51ms 13 60 42s563ms 709ms 14 60 42s563ms 709ms 15 60 42s563ms 709ms 16 60 42s563ms 709ms 17 60 42s563ms 709ms 18 60 42s530ms 708ms 19 60 42s172ms 702ms 20 60 42s172ms 702ms 21 60 42s172ms 702ms 22 60 42s172ms 702ms 23 60 42s172ms 702ms 00 60 44s953ms 749ms [ User: monitoring_admin - Total duration: 22m47s - Times executed: 1349 ]
-
CREATE INDEX IF NOT EXISTS idx_metrics_timeseries_metric ON observability.metrics_timeseries (metric_name);
Date: 2026-06-07 23:59:01 Duration: 1s398ms Database: zemm_monitoring User: monitoring_admin Log file: /var/log/postgresql/postgresql-2026-06-07_000000.csv
-
CREATE INDEX IF NOT EXISTS idx_metrics_timeseries_metric ON observability.metrics_timeseries (metric_name);
Date: 2026-06-07 11:29:01 Duration: 1s394ms Database: zemm_monitoring User: monitoring_admin Log file: /var/log/postgresql/postgresql-2026-06-07_000000.csv
-
CREATE INDEX IF NOT EXISTS idx_metrics_timeseries_metric ON observability.metrics_timeseries (metric_name);
Date: 2026-06-07 17:54:02 Duration: 709ms Database: zemm_monitoring User: monitoring_admin Log file: /var/log/postgresql/postgresql-2026-06-07_000000.csv
10 1,440 22m47s 702ms 1s398ms 949ms 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 #10
Day Hour Count Duration Avg duration Jun 07 01 60 0ms 0ms 02 60 40s436ms 673ms 03 60 1m23s 1s394ms 04 60 1m23s 1s394ms 05 60 1m23s 1s394ms 06 60 1m23s 1s394ms 07 60 1m23s 1s394ms 08 60 1m23s 1s394ms 09 60 1m23s 1s394ms 10 60 1m23s 1s394ms 11 60 1m23s 1s394ms 12 60 1m3s 1s51ms 13 60 42s563ms 709ms 14 60 42s563ms 709ms 15 60 42s563ms 709ms 16 60 42s563ms 709ms 17 60 42s563ms 709ms 18 60 42s530ms 708ms 19 60 42s172ms 702ms 20 60 42s172ms 702ms 21 60 42s172ms 702ms 22 60 42s172ms 702ms 23 60 42s172ms 702ms 00 60 44s953ms 749ms [ User: monitoring_admin - Total duration: 22m47s - Times executed: 1349 ]
-
CREATE TABLE IF NOT EXISTS observability.nginx_counters ( id bigserial PRIMARY KEY, payload jsonb NOT NULL, collected_at timestamptz NOT NULL DEFAULT NOW() );
Date: 2026-06-07 23:59:01 Duration: 1s398ms Database: zemm_monitoring User: monitoring_admin Log file: /var/log/postgresql/postgresql-2026-06-07_000000.csv
-
CREATE TABLE IF NOT EXISTS observability.nginx_counters ( id bigserial PRIMARY KEY, payload jsonb NOT NULL, collected_at timestamptz NOT NULL DEFAULT NOW() );
Date: 2026-06-07 11:29:01 Duration: 1s394ms Database: zemm_monitoring User: monitoring_admin Log file: /var/log/postgresql/postgresql-2026-06-07_000000.csv
-
CREATE TABLE IF NOT EXISTS observability.nginx_counters ( id bigserial PRIMARY KEY, payload jsonb NOT NULL, collected_at timestamptz NOT NULL DEFAULT NOW() );
Date: 2026-06-07 17:54:02 Duration: 709ms Database: zemm_monitoring User: monitoring_admin Log file: /var/log/postgresql/postgresql-2026-06-07_000000.csv
11 1,440 22m47s 702ms 1s398ms 949ms create index if not exists idx_metrics_timeseries_bucket on observability.metrics_timeseries (bucket_start);Times Reported Time consuming queries #11
Day Hour Count Duration Avg duration Jun 07 01 60 0ms 0ms 02 60 40s436ms 673ms 03 60 1m23s 1s394ms 04 60 1m23s 1s394ms 05 60 1m23s 1s394ms 06 60 1m23s 1s394ms 07 60 1m23s 1s394ms 08 60 1m23s 1s394ms 09 60 1m23s 1s394ms 10 60 1m23s 1s394ms 11 60 1m23s 1s394ms 12 60 1m3s 1s51ms 13 60 42s563ms 709ms 14 60 42s563ms 709ms 15 60 42s563ms 709ms 16 60 42s563ms 709ms 17 60 42s563ms 709ms 18 60 42s530ms 708ms 19 60 42s172ms 702ms 20 60 42s172ms 702ms 21 60 42s172ms 702ms 22 60 42s172ms 702ms 23 60 42s172ms 702ms 00 60 44s953ms 749ms [ User: monitoring_admin - Total duration: 22m47s - Times executed: 1349 ]
-
CREATE INDEX IF NOT EXISTS idx_metrics_timeseries_bucket ON observability.metrics_timeseries (bucket_start);
Date: 2026-06-07 23:59:01 Duration: 1s398ms Database: zemm_monitoring User: monitoring_admin Log file: /var/log/postgresql/postgresql-2026-06-07_000000.csv
-
CREATE INDEX IF NOT EXISTS idx_metrics_timeseries_bucket ON observability.metrics_timeseries (bucket_start);
Date: 2026-06-07 11:29:01 Duration: 1s394ms Database: zemm_monitoring User: monitoring_admin Log file: /var/log/postgresql/postgresql-2026-06-07_000000.csv
-
CREATE INDEX IF NOT EXISTS idx_metrics_timeseries_bucket ON observability.metrics_timeseries (bucket_start);
Date: 2026-06-07 17:54:02 Duration: 709ms Database: zemm_monitoring User: monitoring_admin Log file: /var/log/postgresql/postgresql-2026-06-07_000000.csv
12 1,440 22m47s 702ms 1s398ms 949ms create table if not exists observability.phpfpm_counters ( id bigserial primary key, payload jsonb not null, collected_at timestamptz not null default now() );Times Reported Time consuming queries #12
Day Hour Count Duration Avg duration Jun 07 01 60 0ms 0ms 02 60 40s436ms 673ms 03 60 1m23s 1s394ms 04 60 1m23s 1s394ms 05 60 1m23s 1s394ms 06 60 1m23s 1s394ms 07 60 1m23s 1s394ms 08 60 1m23s 1s394ms 09 60 1m23s 1s394ms 10 60 1m23s 1s394ms 11 60 1m23s 1s394ms 12 60 1m3s 1s51ms 13 60 42s563ms 709ms 14 60 42s563ms 709ms 15 60 42s563ms 709ms 16 60 42s563ms 709ms 17 60 42s563ms 709ms 18 60 42s530ms 708ms 19 60 42s172ms 702ms 20 60 42s172ms 702ms 21 60 42s172ms 702ms 22 60 42s172ms 702ms 23 60 42s172ms 702ms 00 60 44s953ms 749ms [ User: monitoring_admin - Total duration: 22m47s - Times executed: 1349 ]
-
CREATE TABLE IF NOT EXISTS observability.phpfpm_counters ( id bigserial PRIMARY KEY, payload jsonb NOT NULL, collected_at timestamptz NOT NULL DEFAULT NOW() );
Date: 2026-06-07 23:59:01 Duration: 1s398ms Database: zemm_monitoring User: monitoring_admin Log file: /var/log/postgresql/postgresql-2026-06-07_000000.csv
-
CREATE TABLE IF NOT EXISTS observability.phpfpm_counters ( id bigserial PRIMARY KEY, payload jsonb NOT NULL, collected_at timestamptz NOT NULL DEFAULT NOW() );
Date: 2026-06-07 11:29:01 Duration: 1s394ms Database: zemm_monitoring User: monitoring_admin Log file: /var/log/postgresql/postgresql-2026-06-07_000000.csv
-
CREATE TABLE IF NOT EXISTS observability.phpfpm_counters ( id bigserial PRIMARY KEY, payload jsonb NOT NULL, collected_at timestamptz NOT NULL DEFAULT NOW() );
Date: 2026-06-07 17:54:02 Duration: 709ms Database: zemm_monitoring User: monitoring_admin Log file: /var/log/postgresql/postgresql-2026-06-07_000000.csv
13 1,440 22m47s 702ms 1s398ms 949ms create index if not exists idx_app_events_type on observability.app_events (event_type);Times Reported Time consuming queries #13
Day Hour Count Duration Avg duration Jun 07 01 60 0ms 0ms 02 60 40s436ms 673ms 03 60 1m23s 1s394ms 04 60 1m23s 1s394ms 05 60 1m23s 1s394ms 06 60 1m23s 1s394ms 07 60 1m23s 1s394ms 08 60 1m23s 1s394ms 09 60 1m23s 1s394ms 10 60 1m23s 1s394ms 11 60 1m23s 1s394ms 12 60 1m3s 1s51ms 13 60 42s563ms 709ms 14 60 42s563ms 709ms 15 60 42s563ms 709ms 16 60 42s563ms 709ms 17 60 42s563ms 709ms 18 60 42s530ms 708ms 19 60 42s172ms 702ms 20 60 42s172ms 702ms 21 60 42s172ms 702ms 22 60 42s172ms 702ms 23 60 42s172ms 702ms 00 60 44s953ms 749ms [ User: monitoring_admin - Total duration: 22m47s - Times executed: 1349 ]
-
CREATE INDEX IF NOT EXISTS idx_app_events_type ON observability.app_events (event_type);
Date: 2026-06-07 23:59:01 Duration: 1s398ms Database: zemm_monitoring User: monitoring_admin Log file: /var/log/postgresql/postgresql-2026-06-07_000000.csv
-
CREATE INDEX IF NOT EXISTS idx_app_events_type ON observability.app_events (event_type);
Date: 2026-06-07 11:29:01 Duration: 1s394ms Database: zemm_monitoring User: monitoring_admin Log file: /var/log/postgresql/postgresql-2026-06-07_000000.csv
-
CREATE INDEX IF NOT EXISTS idx_app_events_type ON observability.app_events (event_type);
Date: 2026-06-07 17:54:02 Duration: 709ms Database: zemm_monitoring User: monitoring_admin Log file: /var/log/postgresql/postgresql-2026-06-07_000000.csv
14 1,440 22m47s 702ms 1s398ms 949ms alter table observability.uptime_checks add column if not exists label text;Times Reported Time consuming queries #14
Day Hour Count Duration Avg duration Jun 07 01 60 0ms 0ms 02 60 40s436ms 673ms 03 60 1m23s 1s394ms 04 60 1m23s 1s394ms 05 60 1m23s 1s394ms 06 60 1m23s 1s394ms 07 60 1m23s 1s394ms 08 60 1m23s 1s394ms 09 60 1m23s 1s394ms 10 60 1m23s 1s394ms 11 60 1m23s 1s394ms 12 60 1m3s 1s51ms 13 60 42s563ms 709ms 14 60 42s563ms 709ms 15 60 42s563ms 709ms 16 60 42s563ms 709ms 17 60 42s563ms 709ms 18 60 42s530ms 708ms 19 60 42s172ms 702ms 20 60 42s172ms 702ms 21 60 42s172ms 702ms 22 60 42s172ms 702ms 23 60 42s172ms 702ms 00 60 44s953ms 749ms [ User: monitoring_admin - Total duration: 22m47s - Times executed: 1349 ]
-
ALTER TABLE observability.uptime_checks ADD COLUMN IF NOT EXISTS label text;
Date: 2026-06-07 23:59:01 Duration: 1s398ms Database: zemm_monitoring User: monitoring_admin Log file: /var/log/postgresql/postgresql-2026-06-07_000000.csv
-
ALTER TABLE observability.uptime_checks ADD COLUMN IF NOT EXISTS label text;
Date: 2026-06-07 11:29:01 Duration: 1s394ms Database: zemm_monitoring User: monitoring_admin Log file: /var/log/postgresql/postgresql-2026-06-07_000000.csv
-
ALTER TABLE observability.uptime_checks ADD COLUMN IF NOT EXISTS label text;
Date: 2026-06-07 17:54:02 Duration: 709ms Database: zemm_monitoring User: monitoring_admin Log file: /var/log/postgresql/postgresql-2026-06-07_000000.csv
15 1,440 22m47s 702ms 1s398ms 949ms create table if not exists observability.uptime_checks ( id bigserial primary key, endpoint text not null, status text not null, latency_ms double precision, checked_at timestamptz not null default now() );Times Reported Time consuming queries #15
Day Hour Count Duration Avg duration Jun 07 01 60 0ms 0ms 02 60 40s436ms 673ms 03 60 1m23s 1s394ms 04 60 1m23s 1s394ms 05 60 1m23s 1s394ms 06 60 1m23s 1s394ms 07 60 1m23s 1s394ms 08 60 1m23s 1s394ms 09 60 1m23s 1s394ms 10 60 1m23s 1s394ms 11 60 1m23s 1s394ms 12 60 1m3s 1s51ms 13 60 42s563ms 709ms 14 60 42s563ms 709ms 15 60 42s563ms 709ms 16 60 42s563ms 709ms 17 60 42s563ms 709ms 18 60 42s530ms 708ms 19 60 42s172ms 702ms 20 60 42s172ms 702ms 21 60 42s172ms 702ms 22 60 42s172ms 702ms 23 60 42s172ms 702ms 00 60 44s953ms 749ms [ User: monitoring_admin - Total duration: 22m47s - Times executed: 1349 ]
-
CREATE TABLE IF NOT EXISTS observability.uptime_checks ( id bigserial PRIMARY KEY, endpoint text NOT NULL, status text NOT NULL, latency_ms double precision, checked_at timestamptz NOT NULL DEFAULT NOW() );
Date: 2026-06-07 23:59:01 Duration: 1s398ms Database: zemm_monitoring User: monitoring_admin Log file: /var/log/postgresql/postgresql-2026-06-07_000000.csv
-
CREATE TABLE IF NOT EXISTS observability.uptime_checks ( id bigserial PRIMARY KEY, endpoint text NOT NULL, status text NOT NULL, latency_ms double precision, checked_at timestamptz NOT NULL DEFAULT NOW() );
Date: 2026-06-07 11:29:01 Duration: 1s394ms Database: zemm_monitoring User: monitoring_admin Log file: /var/log/postgresql/postgresql-2026-06-07_000000.csv
-
CREATE TABLE IF NOT EXISTS observability.uptime_checks ( id bigserial PRIMARY KEY, endpoint text NOT NULL, status text NOT NULL, latency_ms double precision, checked_at timestamptz NOT NULL DEFAULT NOW() );
Date: 2026-06-07 17:54:02 Duration: 709ms Database: zemm_monitoring User: monitoring_admin Log file: /var/log/postgresql/postgresql-2026-06-07_000000.csv
16 1,440 22m47s 702ms 1s398ms 949ms 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 Jun 07 01 60 0ms 0ms 02 60 40s436ms 673ms 03 60 1m23s 1s394ms 04 60 1m23s 1s394ms 05 60 1m23s 1s394ms 06 60 1m23s 1s394ms 07 60 1m23s 1s394ms 08 60 1m23s 1s394ms 09 60 1m23s 1s394ms 10 60 1m23s 1s394ms 11 60 1m23s 1s394ms 12 60 1m3s 1s51ms 13 60 42s563ms 709ms 14 60 42s563ms 709ms 15 60 42s563ms 709ms 16 60 42s563ms 709ms 17 60 42s563ms 709ms 18 60 42s530ms 708ms 19 60 42s172ms 702ms 20 60 42s172ms 702ms 21 60 42s172ms 702ms 22 60 42s172ms 702ms 23 60 42s172ms 702ms 00 60 44s953ms 749ms [ User: monitoring_admin - Total duration: 22m47s - Times executed: 1349 ]
-
CREATE TABLE IF NOT EXISTS observability.db_top_queries ( id bigserial PRIMARY KEY, tenant_key text NOT NULL, fingerprint text, query text, mean_time_ms double precision, total_time_ms double precision, calls bigint, rows_returned bigint, collected_at timestamptz NOT NULL DEFAULT NOW() );
Date: 2026-06-07 23:59:01 Duration: 1s398ms Database: zemm_monitoring User: monitoring_admin Log file: /var/log/postgresql/postgresql-2026-06-07_000000.csv
-
CREATE TABLE IF NOT EXISTS observability.db_top_queries ( id bigserial PRIMARY KEY, tenant_key text NOT NULL, fingerprint text, query text, mean_time_ms double precision, total_time_ms double precision, calls bigint, rows_returned bigint, collected_at timestamptz NOT NULL DEFAULT NOW() );
Date: 2026-06-07 11:29:01 Duration: 1s394ms Database: zemm_monitoring User: monitoring_admin Log file: /var/log/postgresql/postgresql-2026-06-07_000000.csv
-
CREATE TABLE IF NOT EXISTS observability.db_top_queries ( id bigserial PRIMARY KEY, tenant_key text NOT NULL, fingerprint text, query text, mean_time_ms double precision, total_time_ms double precision, calls bigint, rows_returned bigint, collected_at timestamptz NOT NULL DEFAULT NOW() );
Date: 2026-06-07 17:54:02 Duration: 709ms Database: zemm_monitoring User: monitoring_admin Log file: /var/log/postgresql/postgresql-2026-06-07_000000.csv
17 1,440 22m47s 702ms 1s398ms 949ms 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 #17
Day Hour Count Duration Avg duration Jun 07 01 60 0ms 0ms 02 60 40s436ms 673ms 03 60 1m23s 1s394ms 04 60 1m23s 1s394ms 05 60 1m23s 1s394ms 06 60 1m23s 1s394ms 07 60 1m23s 1s394ms 08 60 1m23s 1s394ms 09 60 1m23s 1s394ms 10 60 1m23s 1s394ms 11 60 1m23s 1s394ms 12 60 1m3s 1s51ms 13 60 42s563ms 709ms 14 60 42s563ms 709ms 15 60 42s563ms 709ms 16 60 42s563ms 709ms 17 60 42s563ms 709ms 18 60 42s530ms 708ms 19 60 42s172ms 702ms 20 60 42s172ms 702ms 21 60 42s172ms 702ms 22 60 42s172ms 702ms 23 60 42s172ms 702ms 00 60 44s953ms 749ms [ User: monitoring_admin - Total duration: 22m47s - Times executed: 1349 ]
-
CREATE TABLE IF NOT EXISTS observability.system_metrics ( id bigserial PRIMARY KEY, payload jsonb NOT NULL, collected_at timestamptz NOT NULL DEFAULT NOW() );
Date: 2026-06-07 23:59:01 Duration: 1s398ms Database: zemm_monitoring User: monitoring_admin Log file: /var/log/postgresql/postgresql-2026-06-07_000000.csv
-
CREATE TABLE IF NOT EXISTS observability.system_metrics ( id bigserial PRIMARY KEY, payload jsonb NOT NULL, collected_at timestamptz NOT NULL DEFAULT NOW() );
Date: 2026-06-07 11:29:01 Duration: 1s394ms Database: zemm_monitoring User: monitoring_admin Log file: /var/log/postgresql/postgresql-2026-06-07_000000.csv
-
CREATE TABLE IF NOT EXISTS observability.system_metrics ( id bigserial PRIMARY KEY, payload jsonb NOT NULL, collected_at timestamptz NOT NULL DEFAULT NOW() );
Date: 2026-06-07 17:54:02 Duration: 709ms Database: zemm_monitoring User: monitoring_admin Log file: /var/log/postgresql/postgresql-2026-06-07_000000.csv
18 3 2s291ms 756ms 772ms 763ms select count(distinct animal_id) AS "count" from ( select animals_search_mview.*, b.unbreeding_date, a.id as animal, user_is_tgm (animals_search_mview.owner, ?) as is_owner, user_is_tgm (animals_search_mview.editor, ?) as is_editor, user_is_tgm (animals_search_mview.tourist, ?) as is_tourist, case when not exists ( select ? from scoresheet_diary sd where sd.animals_id = animals_search_mview.id) then ? else ? end as isscored from animals_search_mview left join strains on strains.name = animals_search_mview.strain left join license_history lh on lh.anid = animals_search_mview.id left join animals a on a."animalID" = animals_search_mview.animal_id left join breedings b on b.id = animals_search_mview.last_mating) data where fate = ? and alive = ? and deleted = ? and (is_owner or is_editor or is_tourist);Times Reported Time consuming queries #18
Day Hour Count Duration Avg duration Jun 07 12 1 756ms 756ms 18 2 1s535ms 767ms [ User: labanimal - Total duration: 2s291ms - Times executed: 3 ]
[ Application: _desktop_index.php_zemm_produktiv_8_localhost_5432 - Total duration: 2s291ms - Times executed: 3 ]
-
SELECT COUNT(DISTINCT animal_id) AS "count" FROM ( SELECT animals_search_mview.*, b.unbreeding_date, a.id as animal, user_is_tgm (animals_search_mview.owner, 490) AS is_owner, user_is_tgm (animals_search_mview.editor, 490) AS is_editor, user_is_tgm (animals_search_mview.tourist, 490) AS is_tourist, CASE WHEN NOT EXISTS ( SELECT 1 FROM scoresheet_diary sd WHERE sd.animals_id = animals_search_mview.id) THEN 'f' ELSE 't' END AS isscored FROM animals_search_mview LEFT JOIN strains ON strains.name = animals_search_mview.strain LEFT JOIN license_history lh ON lh.anid = animals_search_mview.id LEFT JOIN animals a ON a."animalID" = animals_search_mview.animal_id LEFT JOIN breedings b ON b.id = animals_search_mview.last_mating) data WHERE fate = 5 AND alive = 't' AND deleted = 'f' AND (is_owner OR is_editor OR is_tourist);
Date: 2026-06-07 17:54:37 Duration: 772ms Database: zemm_produktiv_8 User: labanimal Application: _desktop_index.php_zemm_produktiv_8_localhost_5432 Log file: /var/log/postgresql/postgresql-2026-06-07_000000.csv
-
SELECT COUNT(DISTINCT animal_id) AS "count" FROM ( SELECT animals_search_mview.*, b.unbreeding_date, a.id as animal, user_is_tgm (animals_search_mview.owner, 490) AS is_owner, user_is_tgm (animals_search_mview.editor, 490) AS is_editor, user_is_tgm (animals_search_mview.tourist, 490) AS is_tourist, CASE WHEN NOT EXISTS ( SELECT 1 FROM scoresheet_diary sd WHERE sd.animals_id = animals_search_mview.id) THEN 'f' ELSE 't' END AS isscored FROM animals_search_mview LEFT JOIN strains ON strains.name = animals_search_mview.strain LEFT JOIN license_history lh ON lh.anid = animals_search_mview.id LEFT JOIN animals a ON a."animalID" = animals_search_mview.animal_id LEFT JOIN breedings b ON b.id = animals_search_mview.last_mating) data WHERE fate = 5 AND alive = 't' AND deleted = 'f' AND (is_owner OR is_editor OR is_tourist);
Date: 2026-06-07 17:54:31 Duration: 762ms Database: zemm_produktiv_8 User: labanimal Application: _desktop_index.php_zemm_produktiv_8_localhost_5432 Log file: /var/log/postgresql/postgresql-2026-06-07_000000.csv
-
SELECT COUNT(DISTINCT animal_id) AS "count" FROM ( SELECT animals_search_mview.*, b.unbreeding_date, a.id as animal, user_is_tgm (animals_search_mview.owner, 210) AS is_owner, user_is_tgm (animals_search_mview.editor, 210) AS is_editor, user_is_tgm (animals_search_mview.tourist, 210) AS is_tourist, CASE WHEN NOT EXISTS ( SELECT 1 FROM scoresheet_diary sd WHERE sd.animals_id = animals_search_mview.id) THEN 'f' ELSE 't' END AS isscored FROM animals_search_mview LEFT JOIN strains ON strains.name = animals_search_mview.strain LEFT JOIN license_history lh ON lh.anid = animals_search_mview.id LEFT JOIN animals a ON a."animalID" = animals_search_mview.animal_id LEFT JOIN breedings b ON b.id = animals_search_mview.last_mating) data WHERE fate = 5 AND alive = 't' AND deleted = 'f' AND (is_owner OR is_editor OR is_tourist);
Date: 2026-06-07 11:29:40 Duration: 756ms Database: zemm_produktiv_8 User: labanimal Application: _desktop_index.php_zemm_produktiv_8_localhost_5432 Log file: /var/log/postgresql/postgresql-2026-06-07_000000.csv
19 3 2s107ms 695ms 709ms 702ms select distinct * from ( select animals_search_mview.*, b.unbreeding_date, fates.loc as fate_name, user_is_tgm (animals_search_mview.owner, ?) as is_owner, user_is_tgm (animals_search_mview.editor, ?) as is_editor, user_is_tgm (animals_search_mview.tourist, ?) as is_tourist, strains.cancel_criteria, strains.symtoms, strains.reduce_severity_by, strains.sym_immune, strains.deleted as straindeleted, string_agg(l."application_id" || ? || l."title" || ? || date(lh."timestamp")::varchar, ?) as licensehistory, case when not exists ( select ? from scoresheet_diary sd where sd.animals_id = animals_search_mview.id) then ? else ? end as isscored from animals_search_mview inner join fates on fates.id = animals_search_mview.fate left join strains on strains.name = animals_search_mview.strain left join license_history lh on lh.anid = animals_search_mview.id left join licenses l on l.id = lh.licid left join breedings b on b.id = animals_search_mview.last_mating group by animals_search_mview.id, b.unbreeding_date, fates.loc, strains.cancel_criteria, strains.symtoms, strains.reduce_severity_by, strains.sym_immune, straindeleted) data where data.fate = ? and data.alive = ? and data.deleted = ? and (is_owner or is_editor or is_tourist) and (data.straindeleted = ? or data.straindeleted is null) order by data.cage_name, data.animal_id, data.name;Times Reported Time consuming queries #19
Day Hour Count Duration Avg duration Jun 07 12 1 709ms 709ms 18 2 1s398ms 699ms [ User: labanimal - Total duration: 2s107ms - Times executed: 3 ]
[ Application: _desktop_index.php_zemm_produktiv_8_localhost_5432 - Total duration: 2s107ms - Times executed: 3 ]
-
SELECT DISTINCT * FROM ( SELECT animals_search_mview.*, b.unbreeding_date, fates.loc AS fate_name, user_is_tgm (animals_search_mview.owner, 210) AS is_owner, user_is_tgm (animals_search_mview.editor, 210) AS is_editor, user_is_tgm (animals_search_mview.tourist, 210) AS is_tourist, strains.cancel_criteria, strains.symtoms, strains.reduce_severity_by, strains.sym_immune, strains.deleted as straindeleted, STRING_AGG(l."application_id" || ':' || l."title" || ' - ' || Date(lh."timestamp")::varchar, '; ') AS licensehistory, CASE WHEN NOT EXISTS ( SELECT 1 FROM scoresheet_diary sd WHERE sd.animals_id = animals_search_mview.id) THEN 'f' ELSE 't' END AS isscored FROM animals_search_mview INNER JOIN fates ON fates.id = animals_search_mview.fate LEFT JOIN strains ON strains.name = animals_search_mview.strain LEFT JOIN license_history lh ON lh.anid = animals_search_mview.id LEFT JOIN licenses l ON l.id = lh.licid left join breedings b ON b.id = animals_search_mview.last_mating GROUP BY animals_search_mview.id, b.unbreeding_date, fates.loc, strains.cancel_criteria, strains.symtoms, strains.reduce_severity_by, strains.sym_immune, straindeleted) data WHERE data.fate = 5 AND data.alive = 't' AND data.deleted = 'f' AND (is_owner OR is_editor OR is_tourist) and (data.straindeleted = 'f' or data.straindeleted is null) ORDER BY data.cage_name, data.animal_id, data.name;
Date: 2026-06-07 11:29:41 Duration: 709ms Database: zemm_produktiv_8 User: labanimal Application: _desktop_index.php_zemm_produktiv_8_localhost_5432 Log file: /var/log/postgresql/postgresql-2026-06-07_000000.csv
-
SELECT DISTINCT * FROM ( SELECT animals_search_mview.*, b.unbreeding_date, fates.loc AS fate_name, user_is_tgm (animals_search_mview.owner, 490) AS is_owner, user_is_tgm (animals_search_mview.editor, 490) AS is_editor, user_is_tgm (animals_search_mview.tourist, 490) AS is_tourist, strains.cancel_criteria, strains.symtoms, strains.reduce_severity_by, strains.sym_immune, strains.deleted as straindeleted, STRING_AGG(l."application_id" || ':' || l."title" || ' - ' || Date(lh."timestamp")::varchar, '; ') AS licensehistory, CASE WHEN NOT EXISTS ( SELECT 1 FROM scoresheet_diary sd WHERE sd.animals_id = animals_search_mview.id) THEN 'f' ELSE 't' END AS isscored FROM animals_search_mview INNER JOIN fates ON fates.id = animals_search_mview.fate LEFT JOIN strains ON strains.name = animals_search_mview.strain LEFT JOIN license_history lh ON lh.anid = animals_search_mview.id LEFT JOIN licenses l ON l.id = lh.licid left join breedings b ON b.id = animals_search_mview.last_mating GROUP BY animals_search_mview.id, b.unbreeding_date, fates.loc, strains.cancel_criteria, strains.symtoms, strains.reduce_severity_by, strains.sym_immune, straindeleted) data WHERE data.fate = 5 AND data.alive = 't' AND data.deleted = 'f' AND (is_owner OR is_editor OR is_tourist) and (data.straindeleted = 'f' or data.straindeleted is null) ORDER BY data.cage_name, data.animal_id, data.name;
Date: 2026-06-07 17:54:37 Duration: 702ms Database: zemm_produktiv_8 User: labanimal Application: _desktop_index.php_zemm_produktiv_8_localhost_5432 Log file: /var/log/postgresql/postgresql-2026-06-07_000000.csv
-
SELECT DISTINCT * FROM ( SELECT animals_search_mview.*, b.unbreeding_date, fates.loc AS fate_name, user_is_tgm (animals_search_mview.owner, 490) AS is_owner, user_is_tgm (animals_search_mview.editor, 490) AS is_editor, user_is_tgm (animals_search_mview.tourist, 490) AS is_tourist, strains.cancel_criteria, strains.symtoms, strains.reduce_severity_by, strains.sym_immune, strains.deleted as straindeleted, STRING_AGG(l."application_id" || ':' || l."title" || ' - ' || Date(lh."timestamp")::varchar, '; ') AS licensehistory, CASE WHEN NOT EXISTS ( SELECT 1 FROM scoresheet_diary sd WHERE sd.animals_id = animals_search_mview.id) THEN 'f' ELSE 't' END AS isscored FROM animals_search_mview INNER JOIN fates ON fates.id = animals_search_mview.fate LEFT JOIN strains ON strains.name = animals_search_mview.strain LEFT JOIN license_history lh ON lh.anid = animals_search_mview.id LEFT JOIN licenses l ON l.id = lh.licid left join breedings b ON b.id = animals_search_mview.last_mating GROUP BY animals_search_mview.id, b.unbreeding_date, fates.loc, strains.cancel_criteria, strains.symtoms, strains.reduce_severity_by, strains.sym_immune, straindeleted) data WHERE data.fate = 5 AND data.alive = 't' AND data.deleted = 'f' AND (is_owner OR is_editor OR is_tourist) and (data.straindeleted = 'f' or data.straindeleted is null) ORDER BY data.cage_name, data.animal_id, data.name;
Date: 2026-06-07 17:54:31 Duration: 695ms Database: zemm_produktiv_8 User: labanimal Application: _desktop_index.php_zemm_produktiv_8_localhost_5432 Log file: /var/log/postgresql/postgresql-2026-06-07_000000.csv
20 1 2s20ms 2s20ms 2s20ms 2s20ms 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 #20
Day Hour Count Duration Avg duration Jun 07 00 1 2s20ms 2s20ms [ User: postgres - Total duration: 2s20ms - Times executed: 1 ]
[ Application: pg_dump - Total duration: 2s20ms - 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-06-07 23:55:17 Duration: 2s20ms Database: zemm_produktiv_8 User: postgres Remote: [local] Application: pg_dump Log file: /var/log/postgresql/postgresql-2026-06-07_000000.csv
Normalized slowest queries (N)
Rank Min duration Max duration Avg duration Times executed Total duration Query 1 2s20ms 2s20ms 2s20ms 1 2s20ms 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 #1
Day Hour Count Duration Avg duration Jun 07 00 1 2s20ms 2s20ms [ User: postgres - Total duration: 2s20ms - Times executed: 1 ]
[ Application: pg_dump - Total duration: 2s20ms - 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-06-07 23:55:17 Duration: 2s20ms Database: zemm_produktiv_8 User: postgres Remote: [local] Application: pg_dump Log file: /var/log/postgresql/postgresql-2026-06-07_000000.csv
2 702ms 1s398ms 949ms 1,440 22m47s create index if not exists idx_app_events_tenant on observability.app_events (tenant_key, occurred_at desc);Times Reported Time consuming queries #2
Day Hour Count Duration Avg duration Jun 07 01 60 0ms 0ms 02 60 40s436ms 673ms 03 60 1m23s 1s394ms 04 60 1m23s 1s394ms 05 60 1m23s 1s394ms 06 60 1m23s 1s394ms 07 60 1m23s 1s394ms 08 60 1m23s 1s394ms 09 60 1m23s 1s394ms 10 60 1m23s 1s394ms 11 60 1m23s 1s394ms 12 60 1m3s 1s51ms 13 60 42s563ms 709ms 14 60 42s563ms 709ms 15 60 42s563ms 709ms 16 60 42s563ms 709ms 17 60 42s563ms 709ms 18 60 42s530ms 708ms 19 60 42s172ms 702ms 20 60 42s172ms 702ms 21 60 42s172ms 702ms 22 60 42s172ms 702ms 23 60 42s172ms 702ms 00 60 44s953ms 749ms [ User: monitoring_admin - Total duration: 22m47s - Times executed: 1349 ]
-
CREATE INDEX IF NOT EXISTS idx_app_events_tenant ON observability.app_events (tenant_key, occurred_at DESC);
Date: 2026-06-07 23:59:01 Duration: 1s398ms Database: zemm_monitoring User: monitoring_admin Log file: /var/log/postgresql/postgresql-2026-06-07_000000.csv
-
CREATE INDEX IF NOT EXISTS idx_app_events_tenant ON observability.app_events (tenant_key, occurred_at DESC);
Date: 2026-06-07 11:29:01 Duration: 1s394ms Database: zemm_monitoring User: monitoring_admin Log file: /var/log/postgresql/postgresql-2026-06-07_000000.csv
-
CREATE INDEX IF NOT EXISTS idx_app_events_tenant ON observability.app_events (tenant_key, occurred_at DESC);
Date: 2026-06-07 17:54:02 Duration: 709ms Database: zemm_monitoring User: monitoring_admin Log file: /var/log/postgresql/postgresql-2026-06-07_000000.csv
3 702ms 1s398ms 949ms 1,440 22m47s 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 Jun 07 01 60 0ms 0ms 02 60 40s436ms 673ms 03 60 1m23s 1s394ms 04 60 1m23s 1s394ms 05 60 1m23s 1s394ms 06 60 1m23s 1s394ms 07 60 1m23s 1s394ms 08 60 1m23s 1s394ms 09 60 1m23s 1s394ms 10 60 1m23s 1s394ms 11 60 1m23s 1s394ms 12 60 1m3s 1s51ms 13 60 42s563ms 709ms 14 60 42s563ms 709ms 15 60 42s563ms 709ms 16 60 42s563ms 709ms 17 60 42s563ms 709ms 18 60 42s530ms 708ms 19 60 42s172ms 702ms 20 60 42s172ms 702ms 21 60 42s172ms 702ms 22 60 42s172ms 702ms 23 60 42s172ms 702ms 00 60 44s953ms 749ms [ User: monitoring_admin - Total duration: 22m47s - Times executed: 1349 ]
-
CREATE INDEX IF NOT EXISTS idx_uptime_checks_endpoint ON observability.uptime_checks (endpoint, checked_at DESC);
Date: 2026-06-07 23:59:01 Duration: 1s398ms Database: zemm_monitoring User: monitoring_admin Log file: /var/log/postgresql/postgresql-2026-06-07_000000.csv
-
CREATE INDEX IF NOT EXISTS idx_uptime_checks_endpoint ON observability.uptime_checks (endpoint, checked_at DESC);
Date: 2026-06-07 11:29:01 Duration: 1s394ms Database: zemm_monitoring User: monitoring_admin Log file: /var/log/postgresql/postgresql-2026-06-07_000000.csv
-
CREATE INDEX IF NOT EXISTS idx_uptime_checks_endpoint ON observability.uptime_checks (endpoint, checked_at DESC);
Date: 2026-06-07 17:54:02 Duration: 709ms Database: zemm_monitoring User: monitoring_admin Log file: /var/log/postgresql/postgresql-2026-06-07_000000.csv
4 702ms 1s398ms 949ms 1,440 22m47s 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 Jun 07 01 60 0ms 0ms 02 60 40s436ms 673ms 03 60 1m23s 1s394ms 04 60 1m23s 1s394ms 05 60 1m23s 1s394ms 06 60 1m23s 1s394ms 07 60 1m23s 1s394ms 08 60 1m23s 1s394ms 09 60 1m23s 1s394ms 10 60 1m23s 1s394ms 11 60 1m23s 1s394ms 12 60 1m3s 1s51ms 13 60 42s563ms 709ms 14 60 42s563ms 709ms 15 60 42s563ms 709ms 16 60 42s563ms 709ms 17 60 42s563ms 709ms 18 60 42s530ms 708ms 19 60 42s172ms 702ms 20 60 42s172ms 702ms 21 60 42s172ms 702ms 22 60 42s172ms 702ms 23 60 42s172ms 702ms 00 60 44s953ms 749ms [ User: monitoring_admin - Total duration: 22m47s - Times executed: 1349 ]
-
CREATE TABLE IF NOT EXISTS observability.app_events ( id bigserial PRIMARY KEY, tenant_key text NOT NULL, event_type text NOT NULL, severity text NOT NULL, message text NOT NULL, payload jsonb, occurred_at timestamptz NOT NULL DEFAULT NOW(), created_at timestamptz NOT NULL DEFAULT NOW() );
Date: 2026-06-07 23:59:01 Duration: 1s398ms Database: zemm_monitoring User: monitoring_admin Log file: /var/log/postgresql/postgresql-2026-06-07_000000.csv
-
CREATE TABLE IF NOT EXISTS observability.app_events ( id bigserial PRIMARY KEY, tenant_key text NOT NULL, event_type text NOT NULL, severity text NOT NULL, message text NOT NULL, payload jsonb, occurred_at timestamptz NOT NULL DEFAULT NOW(), created_at timestamptz NOT NULL DEFAULT NOW() );
Date: 2026-06-07 11:29:01 Duration: 1s394ms Database: zemm_monitoring User: monitoring_admin Log file: /var/log/postgresql/postgresql-2026-06-07_000000.csv
-
CREATE TABLE IF NOT EXISTS observability.app_events ( id bigserial PRIMARY KEY, tenant_key text NOT NULL, event_type text NOT NULL, severity text NOT NULL, message text NOT NULL, payload jsonb, occurred_at timestamptz NOT NULL DEFAULT NOW(), created_at timestamptz NOT NULL DEFAULT NOW() );
Date: 2026-06-07 17:54:02 Duration: 709ms Database: zemm_monitoring User: monitoring_admin Log file: /var/log/postgresql/postgresql-2026-06-07_000000.csv
5 702ms 1s398ms 949ms 1,440 22m47s 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 #5
Day Hour Count Duration Avg duration Jun 07 01 60 0ms 0ms 02 60 40s436ms 673ms 03 60 1m23s 1s394ms 04 60 1m23s 1s394ms 05 60 1m23s 1s394ms 06 60 1m23s 1s394ms 07 60 1m23s 1s394ms 08 60 1m23s 1s394ms 09 60 1m23s 1s394ms 10 60 1m23s 1s394ms 11 60 1m23s 1s394ms 12 60 1m3s 1s51ms 13 60 42s563ms 709ms 14 60 42s563ms 709ms 15 60 42s563ms 709ms 16 60 42s563ms 709ms 17 60 42s563ms 709ms 18 60 42s530ms 708ms 19 60 42s172ms 702ms 20 60 42s172ms 702ms 21 60 42s172ms 702ms 22 60 42s172ms 702ms 23 60 42s172ms 702ms 00 60 44s953ms 749ms [ User: monitoring_admin - Total duration: 22m47s - Times executed: 1349 ]
-
CREATE INDEX IF NOT EXISTS idx_db_top_queries_tenant ON observability.db_top_queries (tenant_key, collected_at DESC);
Date: 2026-06-07 23:59:01 Duration: 1s398ms Database: zemm_monitoring User: monitoring_admin Log file: /var/log/postgresql/postgresql-2026-06-07_000000.csv
-
CREATE INDEX IF NOT EXISTS idx_db_top_queries_tenant ON observability.db_top_queries (tenant_key, collected_at DESC);
Date: 2026-06-07 11:29:01 Duration: 1s394ms Database: zemm_monitoring User: monitoring_admin Log file: /var/log/postgresql/postgresql-2026-06-07_000000.csv
-
CREATE INDEX IF NOT EXISTS idx_db_top_queries_tenant ON observability.db_top_queries (tenant_key, collected_at DESC);
Date: 2026-06-07 17:54:02 Duration: 709ms Database: zemm_monitoring User: monitoring_admin Log file: /var/log/postgresql/postgresql-2026-06-07_000000.csv
6 702ms 1s398ms 949ms 1,440 22m47s create schema if not exists observability;Times Reported Time consuming queries #6
Day Hour Count Duration Avg duration Jun 07 01 60 0ms 0ms 02 60 40s436ms 673ms 03 60 1m23s 1s394ms 04 60 1m23s 1s394ms 05 60 1m23s 1s394ms 06 60 1m23s 1s394ms 07 60 1m23s 1s394ms 08 60 1m23s 1s394ms 09 60 1m23s 1s394ms 10 60 1m23s 1s394ms 11 60 1m23s 1s394ms 12 60 1m3s 1s51ms 13 60 42s563ms 709ms 14 60 42s563ms 709ms 15 60 42s563ms 709ms 16 60 42s563ms 709ms 17 60 42s563ms 709ms 18 60 42s530ms 708ms 19 60 42s172ms 702ms 20 60 42s172ms 702ms 21 60 42s172ms 702ms 22 60 42s172ms 702ms 23 60 42s172ms 702ms 00 60 44s953ms 749ms [ User: monitoring_admin - Total duration: 22m47s - Times executed: 1349 ]
-
CREATE SCHEMA IF NOT EXISTS observability;
Date: 2026-06-07 23:59:01 Duration: 1s398ms Database: zemm_monitoring User: monitoring_admin Log file: /var/log/postgresql/postgresql-2026-06-07_000000.csv
-
CREATE SCHEMA IF NOT EXISTS observability;
Date: 2026-06-07 11:29:01 Duration: 1s394ms Database: zemm_monitoring User: monitoring_admin Log file: /var/log/postgresql/postgresql-2026-06-07_000000.csv
-
CREATE SCHEMA IF NOT EXISTS observability;
Date: 2026-06-07 17:54:02 Duration: 709ms Database: zemm_monitoring User: monitoring_admin Log file: /var/log/postgresql/postgresql-2026-06-07_000000.csv
7 702ms 1s398ms 949ms 1,440 22m47s create table if not exists observability.metrics_timeseries ( id bigserial primary key, tenant_key text not null, metric_name text not null, bucket_start timestamptz not null, bucket_width_seconds integer not null default ?, sum_value double precision not null default ?, count_value bigint not null default ?, histogram jsonb, created_at timestamptz not null default now(), updated_at timestamptz not null default now(), unique (tenant_key, metric_name, bucket_start, bucket_width_seconds) );Times Reported Time consuming queries #7
Day Hour Count Duration Avg duration Jun 07 01 60 0ms 0ms 02 60 40s436ms 673ms 03 60 1m23s 1s394ms 04 60 1m23s 1s394ms 05 60 1m23s 1s394ms 06 60 1m23s 1s394ms 07 60 1m23s 1s394ms 08 60 1m23s 1s394ms 09 60 1m23s 1s394ms 10 60 1m23s 1s394ms 11 60 1m23s 1s394ms 12 60 1m3s 1s51ms 13 60 42s563ms 709ms 14 60 42s563ms 709ms 15 60 42s563ms 709ms 16 60 42s563ms 709ms 17 60 42s563ms 709ms 18 60 42s530ms 708ms 19 60 42s172ms 702ms 20 60 42s172ms 702ms 21 60 42s172ms 702ms 22 60 42s172ms 702ms 23 60 42s172ms 702ms 00 60 44s953ms 749ms [ User: monitoring_admin - Total duration: 22m47s - Times executed: 1349 ]
-
CREATE TABLE IF NOT EXISTS observability.metrics_timeseries ( id bigserial PRIMARY KEY, tenant_key text NOT NULL, metric_name text NOT NULL, bucket_start timestamptz NOT NULL, bucket_width_seconds integer NOT NULL DEFAULT 60, sum_value double precision NOT NULL DEFAULT 0, count_value bigint NOT NULL DEFAULT 0, histogram jsonb, created_at timestamptz NOT NULL DEFAULT NOW(), updated_at timestamptz NOT NULL DEFAULT NOW(), UNIQUE (tenant_key, metric_name, bucket_start, bucket_width_seconds) );
Date: 2026-06-07 23:59:01 Duration: 1s398ms Database: zemm_monitoring User: monitoring_admin Log file: /var/log/postgresql/postgresql-2026-06-07_000000.csv
-
CREATE TABLE IF NOT EXISTS observability.metrics_timeseries ( id bigserial PRIMARY KEY, tenant_key text NOT NULL, metric_name text NOT NULL, bucket_start timestamptz NOT NULL, bucket_width_seconds integer NOT NULL DEFAULT 60, sum_value double precision NOT NULL DEFAULT 0, count_value bigint NOT NULL DEFAULT 0, histogram jsonb, created_at timestamptz NOT NULL DEFAULT NOW(), updated_at timestamptz NOT NULL DEFAULT NOW(), UNIQUE (tenant_key, metric_name, bucket_start, bucket_width_seconds) );
Date: 2026-06-07 11:29:01 Duration: 1s394ms Database: zemm_monitoring User: monitoring_admin Log file: /var/log/postgresql/postgresql-2026-06-07_000000.csv
-
CREATE TABLE IF NOT EXISTS observability.metrics_timeseries ( id bigserial PRIMARY KEY, tenant_key text NOT NULL, metric_name text NOT NULL, bucket_start timestamptz NOT NULL, bucket_width_seconds integer NOT NULL DEFAULT 60, sum_value double precision NOT NULL DEFAULT 0, count_value bigint NOT NULL DEFAULT 0, histogram jsonb, created_at timestamptz NOT NULL DEFAULT NOW(), updated_at timestamptz NOT NULL DEFAULT NOW(), UNIQUE (tenant_key, metric_name, bucket_start, bucket_width_seconds) );
Date: 2026-06-07 17:54:02 Duration: 709ms Database: zemm_monitoring User: monitoring_admin Log file: /var/log/postgresql/postgresql-2026-06-07_000000.csv
8 702ms 1s398ms 949ms 1,440 22m47s create index if not exists idx_uptime_checks_key on observability.uptime_checks (check_key, checked_at desc);Times Reported Time consuming queries #8
Day Hour Count Duration Avg duration Jun 07 01 60 0ms 0ms 02 60 40s436ms 673ms 03 60 1m23s 1s394ms 04 60 1m23s 1s394ms 05 60 1m23s 1s394ms 06 60 1m23s 1s394ms 07 60 1m23s 1s394ms 08 60 1m23s 1s394ms 09 60 1m23s 1s394ms 10 60 1m23s 1s394ms 11 60 1m23s 1s394ms 12 60 1m3s 1s51ms 13 60 42s563ms 709ms 14 60 42s563ms 709ms 15 60 42s563ms 709ms 16 60 42s563ms 709ms 17 60 42s563ms 709ms 18 60 42s530ms 708ms 19 60 42s172ms 702ms 20 60 42s172ms 702ms 21 60 42s172ms 702ms 22 60 42s172ms 702ms 23 60 42s172ms 702ms 00 60 44s953ms 749ms [ User: monitoring_admin - Total duration: 22m47s - Times executed: 1349 ]
-
CREATE INDEX IF NOT EXISTS idx_uptime_checks_key ON observability.uptime_checks (check_key, checked_at DESC);
Date: 2026-06-07 23:59:01 Duration: 1s398ms Database: zemm_monitoring User: monitoring_admin Log file: /var/log/postgresql/postgresql-2026-06-07_000000.csv
-
CREATE INDEX IF NOT EXISTS idx_uptime_checks_key ON observability.uptime_checks (check_key, checked_at DESC);
Date: 2026-06-07 11:29:01 Duration: 1s394ms Database: zemm_monitoring User: monitoring_admin Log file: /var/log/postgresql/postgresql-2026-06-07_000000.csv
-
CREATE INDEX IF NOT EXISTS idx_uptime_checks_key ON observability.uptime_checks (check_key, checked_at DESC);
Date: 2026-06-07 17:54:02 Duration: 709ms Database: zemm_monitoring User: monitoring_admin Log file: /var/log/postgresql/postgresql-2026-06-07_000000.csv
9 702ms 1s398ms 949ms 1,440 22m47s alter table observability.uptime_checks add column if not exists payload jsonb;Times Reported Time consuming queries #9
Day Hour Count Duration Avg duration Jun 07 01 60 0ms 0ms 02 60 40s436ms 673ms 03 60 1m23s 1s394ms 04 60 1m23s 1s394ms 05 60 1m23s 1s394ms 06 60 1m23s 1s394ms 07 60 1m23s 1s394ms 08 60 1m23s 1s394ms 09 60 1m23s 1s394ms 10 60 1m23s 1s394ms 11 60 1m23s 1s394ms 12 60 1m3s 1s51ms 13 60 42s563ms 709ms 14 60 42s563ms 709ms 15 60 42s563ms 709ms 16 60 42s563ms 709ms 17 60 42s563ms 709ms 18 60 42s530ms 708ms 19 60 42s172ms 702ms 20 60 42s172ms 702ms 21 60 42s172ms 702ms 22 60 42s172ms 702ms 23 60 42s172ms 702ms 00 60 44s953ms 749ms [ User: monitoring_admin - Total duration: 22m47s - Times executed: 1349 ]
-
ALTER TABLE observability.uptime_checks ADD COLUMN IF NOT EXISTS payload jsonb;
Date: 2026-06-07 23:59:01 Duration: 1s398ms Database: zemm_monitoring User: monitoring_admin Log file: /var/log/postgresql/postgresql-2026-06-07_000000.csv
-
ALTER TABLE observability.uptime_checks ADD COLUMN IF NOT EXISTS payload jsonb;
Date: 2026-06-07 11:29:01 Duration: 1s394ms Database: zemm_monitoring User: monitoring_admin Log file: /var/log/postgresql/postgresql-2026-06-07_000000.csv
-
ALTER TABLE observability.uptime_checks ADD COLUMN IF NOT EXISTS payload jsonb;
Date: 2026-06-07 17:54:02 Duration: 709ms Database: zemm_monitoring User: monitoring_admin Log file: /var/log/postgresql/postgresql-2026-06-07_000000.csv
10 702ms 1s398ms 949ms 1,440 22m47s create index if not exists idx_metrics_timeseries_metric on observability.metrics_timeseries (metric_name);Times Reported Time consuming queries #10
Day Hour Count Duration Avg duration Jun 07 01 60 0ms 0ms 02 60 40s436ms 673ms 03 60 1m23s 1s394ms 04 60 1m23s 1s394ms 05 60 1m23s 1s394ms 06 60 1m23s 1s394ms 07 60 1m23s 1s394ms 08 60 1m23s 1s394ms 09 60 1m23s 1s394ms 10 60 1m23s 1s394ms 11 60 1m23s 1s394ms 12 60 1m3s 1s51ms 13 60 42s563ms 709ms 14 60 42s563ms 709ms 15 60 42s563ms 709ms 16 60 42s563ms 709ms 17 60 42s563ms 709ms 18 60 42s530ms 708ms 19 60 42s172ms 702ms 20 60 42s172ms 702ms 21 60 42s172ms 702ms 22 60 42s172ms 702ms 23 60 42s172ms 702ms 00 60 44s953ms 749ms [ User: monitoring_admin - Total duration: 22m47s - Times executed: 1349 ]
-
CREATE INDEX IF NOT EXISTS idx_metrics_timeseries_metric ON observability.metrics_timeseries (metric_name);
Date: 2026-06-07 23:59:01 Duration: 1s398ms Database: zemm_monitoring User: monitoring_admin Log file: /var/log/postgresql/postgresql-2026-06-07_000000.csv
-
CREATE INDEX IF NOT EXISTS idx_metrics_timeseries_metric ON observability.metrics_timeseries (metric_name);
Date: 2026-06-07 11:29:01 Duration: 1s394ms Database: zemm_monitoring User: monitoring_admin Log file: /var/log/postgresql/postgresql-2026-06-07_000000.csv
-
CREATE INDEX IF NOT EXISTS idx_metrics_timeseries_metric ON observability.metrics_timeseries (metric_name);
Date: 2026-06-07 17:54:02 Duration: 709ms Database: zemm_monitoring User: monitoring_admin Log file: /var/log/postgresql/postgresql-2026-06-07_000000.csv
11 702ms 1s398ms 949ms 1,440 22m47s 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 Jun 07 01 60 0ms 0ms 02 60 40s436ms 673ms 03 60 1m23s 1s394ms 04 60 1m23s 1s394ms 05 60 1m23s 1s394ms 06 60 1m23s 1s394ms 07 60 1m23s 1s394ms 08 60 1m23s 1s394ms 09 60 1m23s 1s394ms 10 60 1m23s 1s394ms 11 60 1m23s 1s394ms 12 60 1m3s 1s51ms 13 60 42s563ms 709ms 14 60 42s563ms 709ms 15 60 42s563ms 709ms 16 60 42s563ms 709ms 17 60 42s563ms 709ms 18 60 42s530ms 708ms 19 60 42s172ms 702ms 20 60 42s172ms 702ms 21 60 42s172ms 702ms 22 60 42s172ms 702ms 23 60 42s172ms 702ms 00 60 44s953ms 749ms [ User: monitoring_admin - Total duration: 22m47s - Times executed: 1349 ]
-
CREATE TABLE IF NOT EXISTS observability.nginx_counters ( id bigserial PRIMARY KEY, payload jsonb NOT NULL, collected_at timestamptz NOT NULL DEFAULT NOW() );
Date: 2026-06-07 23:59:01 Duration: 1s398ms Database: zemm_monitoring User: monitoring_admin Log file: /var/log/postgresql/postgresql-2026-06-07_000000.csv
-
CREATE TABLE IF NOT EXISTS observability.nginx_counters ( id bigserial PRIMARY KEY, payload jsonb NOT NULL, collected_at timestamptz NOT NULL DEFAULT NOW() );
Date: 2026-06-07 11:29:01 Duration: 1s394ms Database: zemm_monitoring User: monitoring_admin Log file: /var/log/postgresql/postgresql-2026-06-07_000000.csv
-
CREATE TABLE IF NOT EXISTS observability.nginx_counters ( id bigserial PRIMARY KEY, payload jsonb NOT NULL, collected_at timestamptz NOT NULL DEFAULT NOW() );
Date: 2026-06-07 17:54:02 Duration: 709ms Database: zemm_monitoring User: monitoring_admin Log file: /var/log/postgresql/postgresql-2026-06-07_000000.csv
12 702ms 1s398ms 949ms 1,440 22m47s 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 Jun 07 01 60 0ms 0ms 02 60 40s436ms 673ms 03 60 1m23s 1s394ms 04 60 1m23s 1s394ms 05 60 1m23s 1s394ms 06 60 1m23s 1s394ms 07 60 1m23s 1s394ms 08 60 1m23s 1s394ms 09 60 1m23s 1s394ms 10 60 1m23s 1s394ms 11 60 1m23s 1s394ms 12 60 1m3s 1s51ms 13 60 42s563ms 709ms 14 60 42s563ms 709ms 15 60 42s563ms 709ms 16 60 42s563ms 709ms 17 60 42s563ms 709ms 18 60 42s530ms 708ms 19 60 42s172ms 702ms 20 60 42s172ms 702ms 21 60 42s172ms 702ms 22 60 42s172ms 702ms 23 60 42s172ms 702ms 00 60 44s953ms 749ms [ User: monitoring_admin - Total duration: 22m47s - Times executed: 1349 ]
-
CREATE INDEX IF NOT EXISTS idx_metrics_timeseries_bucket ON observability.metrics_timeseries (bucket_start);
Date: 2026-06-07 23:59:01 Duration: 1s398ms Database: zemm_monitoring User: monitoring_admin Log file: /var/log/postgresql/postgresql-2026-06-07_000000.csv
-
CREATE INDEX IF NOT EXISTS idx_metrics_timeseries_bucket ON observability.metrics_timeseries (bucket_start);
Date: 2026-06-07 11:29:01 Duration: 1s394ms Database: zemm_monitoring User: monitoring_admin Log file: /var/log/postgresql/postgresql-2026-06-07_000000.csv
-
CREATE INDEX IF NOT EXISTS idx_metrics_timeseries_bucket ON observability.metrics_timeseries (bucket_start);
Date: 2026-06-07 17:54:02 Duration: 709ms Database: zemm_monitoring User: monitoring_admin Log file: /var/log/postgresql/postgresql-2026-06-07_000000.csv
13 702ms 1s398ms 949ms 1,440 22m47s 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 #13
Day Hour Count Duration Avg duration Jun 07 01 60 0ms 0ms 02 60 40s436ms 673ms 03 60 1m23s 1s394ms 04 60 1m23s 1s394ms 05 60 1m23s 1s394ms 06 60 1m23s 1s394ms 07 60 1m23s 1s394ms 08 60 1m23s 1s394ms 09 60 1m23s 1s394ms 10 60 1m23s 1s394ms 11 60 1m23s 1s394ms 12 60 1m3s 1s51ms 13 60 42s563ms 709ms 14 60 42s563ms 709ms 15 60 42s563ms 709ms 16 60 42s563ms 709ms 17 60 42s563ms 709ms 18 60 42s530ms 708ms 19 60 42s172ms 702ms 20 60 42s172ms 702ms 21 60 42s172ms 702ms 22 60 42s172ms 702ms 23 60 42s172ms 702ms 00 60 44s953ms 749ms [ User: monitoring_admin - Total duration: 22m47s - Times executed: 1349 ]
-
CREATE TABLE IF NOT EXISTS observability.phpfpm_counters ( id bigserial PRIMARY KEY, payload jsonb NOT NULL, collected_at timestamptz NOT NULL DEFAULT NOW() );
Date: 2026-06-07 23:59:01 Duration: 1s398ms Database: zemm_monitoring User: monitoring_admin Log file: /var/log/postgresql/postgresql-2026-06-07_000000.csv
-
CREATE TABLE IF NOT EXISTS observability.phpfpm_counters ( id bigserial PRIMARY KEY, payload jsonb NOT NULL, collected_at timestamptz NOT NULL DEFAULT NOW() );
Date: 2026-06-07 11:29:01 Duration: 1s394ms Database: zemm_monitoring User: monitoring_admin Log file: /var/log/postgresql/postgresql-2026-06-07_000000.csv
-
CREATE TABLE IF NOT EXISTS observability.phpfpm_counters ( id bigserial PRIMARY KEY, payload jsonb NOT NULL, collected_at timestamptz NOT NULL DEFAULT NOW() );
Date: 2026-06-07 17:54:02 Duration: 709ms Database: zemm_monitoring User: monitoring_admin Log file: /var/log/postgresql/postgresql-2026-06-07_000000.csv
14 702ms 1s398ms 949ms 1,440 22m47s create index if not exists idx_app_events_type on observability.app_events (event_type);Times Reported Time consuming queries #14
Day Hour Count Duration Avg duration Jun 07 01 60 0ms 0ms 02 60 40s436ms 673ms 03 60 1m23s 1s394ms 04 60 1m23s 1s394ms 05 60 1m23s 1s394ms 06 60 1m23s 1s394ms 07 60 1m23s 1s394ms 08 60 1m23s 1s394ms 09 60 1m23s 1s394ms 10 60 1m23s 1s394ms 11 60 1m23s 1s394ms 12 60 1m3s 1s51ms 13 60 42s563ms 709ms 14 60 42s563ms 709ms 15 60 42s563ms 709ms 16 60 42s563ms 709ms 17 60 42s563ms 709ms 18 60 42s530ms 708ms 19 60 42s172ms 702ms 20 60 42s172ms 702ms 21 60 42s172ms 702ms 22 60 42s172ms 702ms 23 60 42s172ms 702ms 00 60 44s953ms 749ms [ User: monitoring_admin - Total duration: 22m47s - Times executed: 1349 ]
-
CREATE INDEX IF NOT EXISTS idx_app_events_type ON observability.app_events (event_type);
Date: 2026-06-07 23:59:01 Duration: 1s398ms Database: zemm_monitoring User: monitoring_admin Log file: /var/log/postgresql/postgresql-2026-06-07_000000.csv
-
CREATE INDEX IF NOT EXISTS idx_app_events_type ON observability.app_events (event_type);
Date: 2026-06-07 11:29:01 Duration: 1s394ms Database: zemm_monitoring User: monitoring_admin Log file: /var/log/postgresql/postgresql-2026-06-07_000000.csv
-
CREATE INDEX IF NOT EXISTS idx_app_events_type ON observability.app_events (event_type);
Date: 2026-06-07 17:54:02 Duration: 709ms Database: zemm_monitoring User: monitoring_admin Log file: /var/log/postgresql/postgresql-2026-06-07_000000.csv
15 702ms 1s398ms 949ms 1,440 22m47s alter table observability.uptime_checks add column if not exists label text;Times Reported Time consuming queries #15
Day Hour Count Duration Avg duration Jun 07 01 60 0ms 0ms 02 60 40s436ms 673ms 03 60 1m23s 1s394ms 04 60 1m23s 1s394ms 05 60 1m23s 1s394ms 06 60 1m23s 1s394ms 07 60 1m23s 1s394ms 08 60 1m23s 1s394ms 09 60 1m23s 1s394ms 10 60 1m23s 1s394ms 11 60 1m23s 1s394ms 12 60 1m3s 1s51ms 13 60 42s563ms 709ms 14 60 42s563ms 709ms 15 60 42s563ms 709ms 16 60 42s563ms 709ms 17 60 42s563ms 709ms 18 60 42s530ms 708ms 19 60 42s172ms 702ms 20 60 42s172ms 702ms 21 60 42s172ms 702ms 22 60 42s172ms 702ms 23 60 42s172ms 702ms 00 60 44s953ms 749ms [ User: monitoring_admin - Total duration: 22m47s - Times executed: 1349 ]
-
ALTER TABLE observability.uptime_checks ADD COLUMN IF NOT EXISTS label text;
Date: 2026-06-07 23:59:01 Duration: 1s398ms Database: zemm_monitoring User: monitoring_admin Log file: /var/log/postgresql/postgresql-2026-06-07_000000.csv
-
ALTER TABLE observability.uptime_checks ADD COLUMN IF NOT EXISTS label text;
Date: 2026-06-07 11:29:01 Duration: 1s394ms Database: zemm_monitoring User: monitoring_admin Log file: /var/log/postgresql/postgresql-2026-06-07_000000.csv
-
ALTER TABLE observability.uptime_checks ADD COLUMN IF NOT EXISTS label text;
Date: 2026-06-07 17:54:02 Duration: 709ms Database: zemm_monitoring User: monitoring_admin Log file: /var/log/postgresql/postgresql-2026-06-07_000000.csv
16 702ms 1s398ms 949ms 1,440 22m47s 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 #16
Day Hour Count Duration Avg duration Jun 07 01 60 0ms 0ms 02 60 40s436ms 673ms 03 60 1m23s 1s394ms 04 60 1m23s 1s394ms 05 60 1m23s 1s394ms 06 60 1m23s 1s394ms 07 60 1m23s 1s394ms 08 60 1m23s 1s394ms 09 60 1m23s 1s394ms 10 60 1m23s 1s394ms 11 60 1m23s 1s394ms 12 60 1m3s 1s51ms 13 60 42s563ms 709ms 14 60 42s563ms 709ms 15 60 42s563ms 709ms 16 60 42s563ms 709ms 17 60 42s563ms 709ms 18 60 42s530ms 708ms 19 60 42s172ms 702ms 20 60 42s172ms 702ms 21 60 42s172ms 702ms 22 60 42s172ms 702ms 23 60 42s172ms 702ms 00 60 44s953ms 749ms [ User: monitoring_admin - Total duration: 22m47s - Times executed: 1349 ]
-
CREATE TABLE IF NOT EXISTS observability.uptime_checks ( id bigserial PRIMARY KEY, endpoint text NOT NULL, status text NOT NULL, latency_ms double precision, checked_at timestamptz NOT NULL DEFAULT NOW() );
Date: 2026-06-07 23:59:01 Duration: 1s398ms Database: zemm_monitoring User: monitoring_admin Log file: /var/log/postgresql/postgresql-2026-06-07_000000.csv
-
CREATE TABLE IF NOT EXISTS observability.uptime_checks ( id bigserial PRIMARY KEY, endpoint text NOT NULL, status text NOT NULL, latency_ms double precision, checked_at timestamptz NOT NULL DEFAULT NOW() );
Date: 2026-06-07 11:29:01 Duration: 1s394ms Database: zemm_monitoring User: monitoring_admin Log file: /var/log/postgresql/postgresql-2026-06-07_000000.csv
-
CREATE TABLE IF NOT EXISTS observability.uptime_checks ( id bigserial PRIMARY KEY, endpoint text NOT NULL, status text NOT NULL, latency_ms double precision, checked_at timestamptz NOT NULL DEFAULT NOW() );
Date: 2026-06-07 17:54:02 Duration: 709ms Database: zemm_monitoring User: monitoring_admin Log file: /var/log/postgresql/postgresql-2026-06-07_000000.csv
17 702ms 1s398ms 949ms 1,440 22m47s 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 Jun 07 01 60 0ms 0ms 02 60 40s436ms 673ms 03 60 1m23s 1s394ms 04 60 1m23s 1s394ms 05 60 1m23s 1s394ms 06 60 1m23s 1s394ms 07 60 1m23s 1s394ms 08 60 1m23s 1s394ms 09 60 1m23s 1s394ms 10 60 1m23s 1s394ms 11 60 1m23s 1s394ms 12 60 1m3s 1s51ms 13 60 42s563ms 709ms 14 60 42s563ms 709ms 15 60 42s563ms 709ms 16 60 42s563ms 709ms 17 60 42s563ms 709ms 18 60 42s530ms 708ms 19 60 42s172ms 702ms 20 60 42s172ms 702ms 21 60 42s172ms 702ms 22 60 42s172ms 702ms 23 60 42s172ms 702ms 00 60 44s953ms 749ms [ User: monitoring_admin - Total duration: 22m47s - Times executed: 1349 ]
-
CREATE TABLE IF NOT EXISTS observability.db_top_queries ( id bigserial PRIMARY KEY, tenant_key text NOT NULL, fingerprint text, query text, mean_time_ms double precision, total_time_ms double precision, calls bigint, rows_returned bigint, collected_at timestamptz NOT NULL DEFAULT NOW() );
Date: 2026-06-07 23:59:01 Duration: 1s398ms Database: zemm_monitoring User: monitoring_admin Log file: /var/log/postgresql/postgresql-2026-06-07_000000.csv
-
CREATE TABLE IF NOT EXISTS observability.db_top_queries ( id bigserial PRIMARY KEY, tenant_key text NOT NULL, fingerprint text, query text, mean_time_ms double precision, total_time_ms double precision, calls bigint, rows_returned bigint, collected_at timestamptz NOT NULL DEFAULT NOW() );
Date: 2026-06-07 11:29:01 Duration: 1s394ms Database: zemm_monitoring User: monitoring_admin Log file: /var/log/postgresql/postgresql-2026-06-07_000000.csv
-
CREATE TABLE IF NOT EXISTS observability.db_top_queries ( id bigserial PRIMARY KEY, tenant_key text NOT NULL, fingerprint text, query text, mean_time_ms double precision, total_time_ms double precision, calls bigint, rows_returned bigint, collected_at timestamptz NOT NULL DEFAULT NOW() );
Date: 2026-06-07 17:54:02 Duration: 709ms Database: zemm_monitoring User: monitoring_admin Log file: /var/log/postgresql/postgresql-2026-06-07_000000.csv
18 702ms 1s398ms 949ms 1,440 22m47s create table if not exists observability.system_metrics ( id bigserial primary key, payload jsonb not null, collected_at timestamptz not null default now() );Times Reported Time consuming queries #18
Day Hour Count Duration Avg duration Jun 07 01 60 0ms 0ms 02 60 40s436ms 673ms 03 60 1m23s 1s394ms 04 60 1m23s 1s394ms 05 60 1m23s 1s394ms 06 60 1m23s 1s394ms 07 60 1m23s 1s394ms 08 60 1m23s 1s394ms 09 60 1m23s 1s394ms 10 60 1m23s 1s394ms 11 60 1m23s 1s394ms 12 60 1m3s 1s51ms 13 60 42s563ms 709ms 14 60 42s563ms 709ms 15 60 42s563ms 709ms 16 60 42s563ms 709ms 17 60 42s563ms 709ms 18 60 42s530ms 708ms 19 60 42s172ms 702ms 20 60 42s172ms 702ms 21 60 42s172ms 702ms 22 60 42s172ms 702ms 23 60 42s172ms 702ms 00 60 44s953ms 749ms [ User: monitoring_admin - Total duration: 22m47s - Times executed: 1349 ]
-
CREATE TABLE IF NOT EXISTS observability.system_metrics ( id bigserial PRIMARY KEY, payload jsonb NOT NULL, collected_at timestamptz NOT NULL DEFAULT NOW() );
Date: 2026-06-07 23:59:01 Duration: 1s398ms Database: zemm_monitoring User: monitoring_admin Log file: /var/log/postgresql/postgresql-2026-06-07_000000.csv
-
CREATE TABLE IF NOT EXISTS observability.system_metrics ( id bigserial PRIMARY KEY, payload jsonb NOT NULL, collected_at timestamptz NOT NULL DEFAULT NOW() );
Date: 2026-06-07 11:29:01 Duration: 1s394ms Database: zemm_monitoring User: monitoring_admin Log file: /var/log/postgresql/postgresql-2026-06-07_000000.csv
-
CREATE TABLE IF NOT EXISTS observability.system_metrics ( id bigserial PRIMARY KEY, payload jsonb NOT NULL, collected_at timestamptz NOT NULL DEFAULT NOW() );
Date: 2026-06-07 17:54:02 Duration: 709ms Database: zemm_monitoring User: monitoring_admin Log file: /var/log/postgresql/postgresql-2026-06-07_000000.csv
19 756ms 772ms 763ms 3 2s291ms select count(distinct animal_id) AS "count" from ( select animals_search_mview.*, b.unbreeding_date, a.id as animal, user_is_tgm (animals_search_mview.owner, ?) as is_owner, user_is_tgm (animals_search_mview.editor, ?) as is_editor, user_is_tgm (animals_search_mview.tourist, ?) as is_tourist, case when not exists ( select ? from scoresheet_diary sd where sd.animals_id = animals_search_mview.id) then ? else ? end as isscored from animals_search_mview left join strains on strains.name = animals_search_mview.strain left join license_history lh on lh.anid = animals_search_mview.id left join animals a on a."animalID" = animals_search_mview.animal_id left join breedings b on b.id = animals_search_mview.last_mating) data where fate = ? and alive = ? and deleted = ? and (is_owner or is_editor or is_tourist);Times Reported Time consuming queries #19
Day Hour Count Duration Avg duration Jun 07 12 1 756ms 756ms 18 2 1s535ms 767ms [ User: labanimal - Total duration: 2s291ms - Times executed: 3 ]
[ Application: _desktop_index.php_zemm_produktiv_8_localhost_5432 - Total duration: 2s291ms - Times executed: 3 ]
-
SELECT COUNT(DISTINCT animal_id) AS "count" FROM ( SELECT animals_search_mview.*, b.unbreeding_date, a.id as animal, user_is_tgm (animals_search_mview.owner, 490) AS is_owner, user_is_tgm (animals_search_mview.editor, 490) AS is_editor, user_is_tgm (animals_search_mview.tourist, 490) AS is_tourist, CASE WHEN NOT EXISTS ( SELECT 1 FROM scoresheet_diary sd WHERE sd.animals_id = animals_search_mview.id) THEN 'f' ELSE 't' END AS isscored FROM animals_search_mview LEFT JOIN strains ON strains.name = animals_search_mview.strain LEFT JOIN license_history lh ON lh.anid = animals_search_mview.id LEFT JOIN animals a ON a."animalID" = animals_search_mview.animal_id LEFT JOIN breedings b ON b.id = animals_search_mview.last_mating) data WHERE fate = 5 AND alive = 't' AND deleted = 'f' AND (is_owner OR is_editor OR is_tourist);
Date: 2026-06-07 17:54:37 Duration: 772ms Database: zemm_produktiv_8 User: labanimal Application: _desktop_index.php_zemm_produktiv_8_localhost_5432 Log file: /var/log/postgresql/postgresql-2026-06-07_000000.csv
-
SELECT COUNT(DISTINCT animal_id) AS "count" FROM ( SELECT animals_search_mview.*, b.unbreeding_date, a.id as animal, user_is_tgm (animals_search_mview.owner, 490) AS is_owner, user_is_tgm (animals_search_mview.editor, 490) AS is_editor, user_is_tgm (animals_search_mview.tourist, 490) AS is_tourist, CASE WHEN NOT EXISTS ( SELECT 1 FROM scoresheet_diary sd WHERE sd.animals_id = animals_search_mview.id) THEN 'f' ELSE 't' END AS isscored FROM animals_search_mview LEFT JOIN strains ON strains.name = animals_search_mview.strain LEFT JOIN license_history lh ON lh.anid = animals_search_mview.id LEFT JOIN animals a ON a."animalID" = animals_search_mview.animal_id LEFT JOIN breedings b ON b.id = animals_search_mview.last_mating) data WHERE fate = 5 AND alive = 't' AND deleted = 'f' AND (is_owner OR is_editor OR is_tourist);
Date: 2026-06-07 17:54:31 Duration: 762ms Database: zemm_produktiv_8 User: labanimal Application: _desktop_index.php_zemm_produktiv_8_localhost_5432 Log file: /var/log/postgresql/postgresql-2026-06-07_000000.csv
-
SELECT COUNT(DISTINCT animal_id) AS "count" FROM ( SELECT animals_search_mview.*, b.unbreeding_date, a.id as animal, user_is_tgm (animals_search_mview.owner, 210) AS is_owner, user_is_tgm (animals_search_mview.editor, 210) AS is_editor, user_is_tgm (animals_search_mview.tourist, 210) AS is_tourist, CASE WHEN NOT EXISTS ( SELECT 1 FROM scoresheet_diary sd WHERE sd.animals_id = animals_search_mview.id) THEN 'f' ELSE 't' END AS isscored FROM animals_search_mview LEFT JOIN strains ON strains.name = animals_search_mview.strain LEFT JOIN license_history lh ON lh.anid = animals_search_mview.id LEFT JOIN animals a ON a."animalID" = animals_search_mview.animal_id LEFT JOIN breedings b ON b.id = animals_search_mview.last_mating) data WHERE fate = 5 AND alive = 't' AND deleted = 'f' AND (is_owner OR is_editor OR is_tourist);
Date: 2026-06-07 11:29:40 Duration: 756ms Database: zemm_produktiv_8 User: labanimal Application: _desktop_index.php_zemm_produktiv_8_localhost_5432 Log file: /var/log/postgresql/postgresql-2026-06-07_000000.csv
20 695ms 709ms 702ms 3 2s107ms select distinct * from ( select animals_search_mview.*, b.unbreeding_date, fates.loc as fate_name, user_is_tgm (animals_search_mview.owner, ?) as is_owner, user_is_tgm (animals_search_mview.editor, ?) as is_editor, user_is_tgm (animals_search_mview.tourist, ?) as is_tourist, strains.cancel_criteria, strains.symtoms, strains.reduce_severity_by, strains.sym_immune, strains.deleted as straindeleted, string_agg(l."application_id" || ? || l."title" || ? || date(lh."timestamp")::varchar, ?) as licensehistory, case when not exists ( select ? from scoresheet_diary sd where sd.animals_id = animals_search_mview.id) then ? else ? end as isscored from animals_search_mview inner join fates on fates.id = animals_search_mview.fate left join strains on strains.name = animals_search_mview.strain left join license_history lh on lh.anid = animals_search_mview.id left join licenses l on l.id = lh.licid left join breedings b on b.id = animals_search_mview.last_mating group by animals_search_mview.id, b.unbreeding_date, fates.loc, strains.cancel_criteria, strains.symtoms, strains.reduce_severity_by, strains.sym_immune, straindeleted) data where data.fate = ? and data.alive = ? and data.deleted = ? and (is_owner or is_editor or is_tourist) and (data.straindeleted = ? or data.straindeleted is null) order by data.cage_name, data.animal_id, data.name;Times Reported Time consuming queries #20
Day Hour Count Duration Avg duration Jun 07 12 1 709ms 709ms 18 2 1s398ms 699ms [ User: labanimal - Total duration: 2s107ms - Times executed: 3 ]
[ Application: _desktop_index.php_zemm_produktiv_8_localhost_5432 - Total duration: 2s107ms - Times executed: 3 ]
-
SELECT DISTINCT * FROM ( SELECT animals_search_mview.*, b.unbreeding_date, fates.loc AS fate_name, user_is_tgm (animals_search_mview.owner, 210) AS is_owner, user_is_tgm (animals_search_mview.editor, 210) AS is_editor, user_is_tgm (animals_search_mview.tourist, 210) AS is_tourist, strains.cancel_criteria, strains.symtoms, strains.reduce_severity_by, strains.sym_immune, strains.deleted as straindeleted, STRING_AGG(l."application_id" || ':' || l."title" || ' - ' || Date(lh."timestamp")::varchar, '; ') AS licensehistory, CASE WHEN NOT EXISTS ( SELECT 1 FROM scoresheet_diary sd WHERE sd.animals_id = animals_search_mview.id) THEN 'f' ELSE 't' END AS isscored FROM animals_search_mview INNER JOIN fates ON fates.id = animals_search_mview.fate LEFT JOIN strains ON strains.name = animals_search_mview.strain LEFT JOIN license_history lh ON lh.anid = animals_search_mview.id LEFT JOIN licenses l ON l.id = lh.licid left join breedings b ON b.id = animals_search_mview.last_mating GROUP BY animals_search_mview.id, b.unbreeding_date, fates.loc, strains.cancel_criteria, strains.symtoms, strains.reduce_severity_by, strains.sym_immune, straindeleted) data WHERE data.fate = 5 AND data.alive = 't' AND data.deleted = 'f' AND (is_owner OR is_editor OR is_tourist) and (data.straindeleted = 'f' or data.straindeleted is null) ORDER BY data.cage_name, data.animal_id, data.name;
Date: 2026-06-07 11:29:41 Duration: 709ms Database: zemm_produktiv_8 User: labanimal Application: _desktop_index.php_zemm_produktiv_8_localhost_5432 Log file: /var/log/postgresql/postgresql-2026-06-07_000000.csv
-
SELECT DISTINCT * FROM ( SELECT animals_search_mview.*, b.unbreeding_date, fates.loc AS fate_name, user_is_tgm (animals_search_mview.owner, 490) AS is_owner, user_is_tgm (animals_search_mview.editor, 490) AS is_editor, user_is_tgm (animals_search_mview.tourist, 490) AS is_tourist, strains.cancel_criteria, strains.symtoms, strains.reduce_severity_by, strains.sym_immune, strains.deleted as straindeleted, STRING_AGG(l."application_id" || ':' || l."title" || ' - ' || Date(lh."timestamp")::varchar, '; ') AS licensehistory, CASE WHEN NOT EXISTS ( SELECT 1 FROM scoresheet_diary sd WHERE sd.animals_id = animals_search_mview.id) THEN 'f' ELSE 't' END AS isscored FROM animals_search_mview INNER JOIN fates ON fates.id = animals_search_mview.fate LEFT JOIN strains ON strains.name = animals_search_mview.strain LEFT JOIN license_history lh ON lh.anid = animals_search_mview.id LEFT JOIN licenses l ON l.id = lh.licid left join breedings b ON b.id = animals_search_mview.last_mating GROUP BY animals_search_mview.id, b.unbreeding_date, fates.loc, strains.cancel_criteria, strains.symtoms, strains.reduce_severity_by, strains.sym_immune, straindeleted) data WHERE data.fate = 5 AND data.alive = 't' AND data.deleted = 'f' AND (is_owner OR is_editor OR is_tourist) and (data.straindeleted = 'f' or data.straindeleted is null) ORDER BY data.cage_name, data.animal_id, data.name;
Date: 2026-06-07 17:54:37 Duration: 702ms Database: zemm_produktiv_8 User: labanimal Application: _desktop_index.php_zemm_produktiv_8_localhost_5432 Log file: /var/log/postgresql/postgresql-2026-06-07_000000.csv
-
SELECT DISTINCT * FROM ( SELECT animals_search_mview.*, b.unbreeding_date, fates.loc AS fate_name, user_is_tgm (animals_search_mview.owner, 490) AS is_owner, user_is_tgm (animals_search_mview.editor, 490) AS is_editor, user_is_tgm (animals_search_mview.tourist, 490) AS is_tourist, strains.cancel_criteria, strains.symtoms, strains.reduce_severity_by, strains.sym_immune, strains.deleted as straindeleted, STRING_AGG(l."application_id" || ':' || l."title" || ' - ' || Date(lh."timestamp")::varchar, '; ') AS licensehistory, CASE WHEN NOT EXISTS ( SELECT 1 FROM scoresheet_diary sd WHERE sd.animals_id = animals_search_mview.id) THEN 'f' ELSE 't' END AS isscored FROM animals_search_mview INNER JOIN fates ON fates.id = animals_search_mview.fate LEFT JOIN strains ON strains.name = animals_search_mview.strain LEFT JOIN license_history lh ON lh.anid = animals_search_mview.id LEFT JOIN licenses l ON l.id = lh.licid left join breedings b ON b.id = animals_search_mview.last_mating GROUP BY animals_search_mview.id, b.unbreeding_date, fates.loc, strains.cancel_criteria, strains.symtoms, strains.reduce_severity_by, strains.sym_immune, straindeleted) data WHERE data.fate = 5 AND data.alive = 't' AND data.deleted = 'f' AND (is_owner OR is_editor OR is_tourist) and (data.straindeleted = 'f' or data.straindeleted is null) ORDER BY data.cage_name, data.animal_id, data.name;
Date: 2026-06-07 17:54:31 Duration: 695ms Database: zemm_produktiv_8 User: labanimal Application: _desktop_index.php_zemm_produktiv_8_localhost_5432 Log file: /var/log/postgresql/postgresql-2026-06-07_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
- 77,867 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
- 0 ERROR entries
- 0 WARNING entries
- 0 EVENTLOG entries
Events per 5 minutes
NO DATASET
Most Frequent Errors/Events
Key values
- 0 Max number of times the same event was reported
- 0 Total events found
Rank Times reported Error NO DATASET