-
Global information
- Generated on Mon Jul 13 23:00:07 2026
- Log file: /var/log/postgresql/postgresql-14-main.log
- Parsed 89,568 log entries in 6s
- Log start from 2026-07-13 07:00:02 to 2026-07-13 22:00:00
-
Overview
Global Stats
- 6 Number of unique normalized queries
- 260 Number of queries
- 6m Total query duration
- 2026-07-13 07:00:04 First query
- 2026-07-13 21:59:33 Last query
- 1 queries/s at 2026-07-13 20:00:04 Query peak
- 6m Total query duration
- 0ms Prepare/parse total duration
- 0ms Bind total duration
- 6m Execute total duration
- 327 Number of events
- 6 Number of unique normalized events
- 318 Max number of times the same event was reported
- 0 Number of cancellation
- 931 Total number of automatic vacuums
- 171 Total number of automatic analyzes
- 0 Number temporary file
- 0 Max size of temporary file
- 0.00 B Average size of temporary file
- 10,560 Total number of sessions
- 24 sessions at 2026-07-13 21:00:01 Session peak
- 3d3h10m29s Total duration of sessions
- 25s627ms Average duration of sessions
- 0 Average queries per session
- 34ms Average queries duration per session
- 25s593ms Average idle time per session
- 10,561 Total number of connections
- 10 connections/s at 2026-07-13 14:35:18 Connection peak
- 1 Total number of databases
SQL Traffic
Key values
- 1 queries/s Query Peak
- 2026-07-13 20:00:04 Date
SELECT Traffic
Key values
- 1 queries/s Query Peak
- 2026-07-13 07:59:30 Date
INSERT/UPDATE/DELETE Traffic
Key values
- 1 queries/s Query Peak
- 2026-07-13 20:00:04 Date
Queries duration
Key values
- 6m 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) Jul 13 07 20 0ms 5s186ms 1s523ms 3s415ms 3s442ms 5s186ms 08 17 0ms 2s799ms 1s378ms 2s529ms 3s433ms 3s814ms 09 18 0ms 2s855ms 1s355ms 2s725ms 3s434ms 3s466ms 10 17 0ms 2s883ms 1s371ms 2s523ms 3s421ms 3s433ms 11 13 0ms 2s885ms 1s505ms 2s502ms 2s697ms 3s460ms 12 18 0ms 2s808ms 1s350ms 2s551ms 3s447ms 3s824ms 13 18 0ms 2s816ms 1s359ms 2s665ms 3s475ms 3s533ms 14 18 0ms 2s922ms 1s370ms 2s766ms 3s486ms 3s522ms 15 18 0ms 2s849ms 1s362ms 2s655ms 3s482ms 3s536ms 16 17 0ms 2s784ms 1s388ms 2s731ms 3s470ms 3s553ms 17 18 0ms 2s669ms 1s348ms 2s610ms 3s454ms 3s546ms 18 19 0ms 2s807ms 1s348ms 2s668ms 3s537ms 3s833ms 19 18 0ms 2s793ms 1s355ms 2s588ms 3s487ms 3s536ms 20 15 0ms 2s697ms 1s410ms 2s529ms 3s429ms 3s486ms 21 16 0ms 2s731ms 1s389ms 2s523ms 2s731ms 3s437ms 22 0 0ms 0ms 0ms 0ms 0ms 0ms Day Hour SELECT COPY TO Average Duration Latency Percentile(90) Latency Percentile(95) Latency Percentile(99) Jul 13 07 12 0 1s565ms 0ms 2s403ms 2s437ms 08 9 0 1s312ms 0ms 1s476ms 2s413ms 09 10 0 1s264ms 0ms 1s500ms 2s401ms 10 9 0 1s297ms 0ms 1s445ms 2s416ms 11 7 0 1s414ms 0ms 1s483ms 1s504ms 12 11 0 1s245ms 0ms 1s483ms 2s430ms 13 10 0 1s276ms 0ms 1s482ms 2s468ms 14 10 0 1s274ms 0ms 1s443ms 2s458ms 15 10 0 1s280ms 0ms 1s491ms 2s452ms 16 10 0 1s289ms 0ms 1s501ms 2s475ms 17 10 0 1s280ms 0ms 1s485ms 2s468ms 18 11 0 1s257ms 0ms 1s453ms 2s474ms 19 10 0 1s278ms 0ms 1s448ms 2s458ms 20 9 0 1s306ms 0ms 1s469ms 2s426ms 21 8 0 1s355ms 0ms 1s477ms 2s418ms 22 0 0 0ms 0ms 0ms 0ms Day Hour INSERT UPDATE DELETE COPY FROM Average Duration Latency Percentile(90) Latency Percentile(95) Latency Percentile(99) Jul 13 07 0 8 0 0 1s460ms 0ms 0ms 1s32ms 08 0 8 0 0 1s452ms 0ms 0ms 1s51ms 09 0 8 0 0 1s469ms 0ms 0ms 1s51ms 10 0 8 0 0 1s455ms 0ms 0ms 1s21ms 11 0 6 0 0 1s610ms 0ms 0ms 1s28ms 12 0 7 0 0 1s515ms 0ms 0ms 1s67ms 13 0 8 0 0 1s462ms 0ms 0ms 1s63ms 14 0 8 0 0 1s490ms 0ms 0ms 1s51ms 15 0 8 0 0 1s464ms 0ms 0ms 1s57ms 16 0 7 0 0 1s531ms 0ms 0ms 1s71ms 17 0 8 0 0 1s433ms 0ms 0ms 1s77ms 18 0 8 0 0 1s473ms 0ms 0ms 1s68ms 19 0 8 0 0 1s451ms 0ms 0ms 1s56ms 20 0 6 0 0 1s565ms 0ms 0ms 1s26ms 21 0 8 0 0 1s423ms 0ms 0ms 1s35ms 22 0 0 0 0 0ms 0ms 0ms 0ms Day Hour Prepare Bind Bind/Prepare Percentage of prepare Jul 13 07 0 19 19.00 0.00% 08 0 16 16.00 0.00% 09 0 18 18.00 0.00% 10 0 17 17.00 0.00% 11 0 13 13.00 0.00% 12 0 17 17.00 0.00% 13 0 18 18.00 0.00% 14 0 18 18.00 0.00% 15 0 18 18.00 0.00% 16 0 17 17.00 0.00% 17 0 18 18.00 0.00% 18 0 18 18.00 0.00% 19 0 18 18.00 0.00% 20 0 15 15.00 0.00% 21 0 16 16.00 0.00% 22 0 0 0.00 0.00% Day Hour Count Average / Second Jul 13 07 701 0.19/s 08 707 0.20/s 09 706 0.20/s 10 703 0.20/s 11 703 0.20/s 12 704 0.20/s 13 703 0.20/s 14 703 0.20/s 15 703 0.20/s 16 703 0.20/s 17 704 0.20/s 18 704 0.20/s 19 704 0.20/s 20 703 0.20/s 21 705 0.20/s 22 5 0.00/s Day Hour Count Average Duration Average idle time Jul 13 07 705 34s552ms 34s509ms 08 707 25s209ms 25s176ms 09 706 20s460ms 20s426ms 10 703 34s643ms 34s610ms 11 703 19s280ms 19s253ms 12 704 12s460ms 12s425ms 13 703 37s204ms 37s169ms 14 703 16s720ms 16s685ms 15 703 32s83ms 32s48ms 16 703 16s720ms 16s687ms 17 704 25s244ms 25s210ms 18 704 15s17ms 14s981ms 19 704 25s244ms 25s209ms 20 703 47s446ms 47s416ms 21 705 22s169ms 22s138ms 22 0 0ms 0ms -
Connections
Established Connections
Key values
- 10 connections Connection Peak
- 2026-07-13 14:35:18 Date
Connections per database
Key values
- etendo Main Database
- 10,561 connections Total
Connections per user
Key values
- postgres Main User
- 10,561 connections Total
-
Sessions
Simultaneous sessions
Key values
- 24 sessions Session Peak
- 2026-07-13 21:00:01 Date
Histogram of session times
Key values
- 10,426 0-500ms duration
Sessions per database
Key values
- etendo Main Database
- 10,560 sessions Total
Sessions per user
Key values
- postgres Main User
- 10,560 sessions Total
Sessions per host
Key values
- [local] Main Host
- 10,560 sessions Total
-
Checkpoints / Restartpoints
Checkpoints Buffers
Key values
- 7,551 buffers Checkpoint Peak
- 2026-07-13 19:06:33 Date
- 270.083 seconds Highest write time
- 0.003 seconds Sync time
Checkpoints Wal files
Key values
- 4 files Wal files usage Peak
- 2026-07-13 14:06:33 Date
Checkpoints distance
Key values
- 111.69 Mo Distance Peak
- 2026-07-13 11:06:32 Date
Checkpoints Activity
↑ Back to the top of the Checkpoint Activity tableDay Hour Written buffers Write time Sync time Total time Jul 13 07 18,012 1,095.356s 0.016s 1,095.404s 08 17,889 1,099.014s 0.012s 1,099.055s 09 17,807 1,094.848s 0.016s 1,094.895s 10 18,528 1,119.678s 0.015s 1,119.729s 11 18,142 1,086.414s 0.016s 1,086.467s 12 17,723 1,098.614s 0.012s 1,098.658s 13 17,810 1,094.804s 0.011s 1,094.844s 14 18,212 1,088.116s 0.012s 1,088.157s 15 17,714 1,102.33s 0.013s 1,102.373s 16 18,191 1,098.345s 0.011s 1,098.386s 17 17,689 1,093.68s 0.014s 1,093.723s 18 19,625 1,199.121s 0.015s 1,199.175s 19 19,020 1,117.756s 0.013s 1,117.809s 20 18,247 1,097.315s 0.015s 1,097.372s 21 18,206 1,098.374s 0.012s 1,098.424s 22 0 0s 0s 0s Day Hour Added Removed Recycled Synced files Longest sync Average sync Jul 13 07 0 0 7 506 0.002s 0.01s 08 0 0 7 475 0.002s 0.009s 09 0 0 8 465 0.002s 0.01s 10 0 0 7 463 0.002s 0.012s 11 0 0 8 449 0.002s 0.011s 12 0 0 7 430 0.001s 0.009s 13 0 0 7 408 0.002s 0.009s 14 0 0 8 409 0.001s 0.009s 15 0 0 7 418 0.002s 0.01s 16 0 0 7 421 0.002s 0.009s 17 0 0 8 406 0.002s 0.009s 18 0 0 7 434 0.002s 0.011s 19 0 0 8 436 0.001s 0.011s 20 0 0 7 426 0.001s 0.011s 21 0 0 7 425 0.001s 0.011s 22 0 0 0 0 0s 0s Day Hour Count Avg time (sec) Jul 13 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 Day Hour Mean distance Mean estimate Jul 13 07 12,136.70 kB 40,263.20 kB 08 13,364.78 kB 40,380.67 kB 09 12,090.50 kB 40,051.80 kB 10 10,131.08 kB 39,658.92 kB 11 11,026.45 kB 40,261.55 kB 12 13,344.00 kB 40,407.78 kB 13 13,381.00 kB 40,580.00 kB 14 13,357.33 kB 40,618.56 kB 15 12,101.40 kB 40,155.30 kB 16 13,515.22 kB 41,032.56 kB 17 13,370.44 kB 40,602.33 kB 18 11,579.27 kB 40,391.36 kB 19 10,900.91 kB 38,811.45 kB 20 10,565.91 kB 38,282.27 kB 21 10,531.36 kB 38,096.55 kB 22 0.00 kB 0.00 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 Jul 13 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 -
Vacuums
Vacuums / Analyzes Distribution
Key values
- 0.50 sec Highest CPU-cost vacuum
Table public.c_bpartner
Database etendo - 2026-07-13 11:09:45 Date
- 0 sec Highest CPU-cost analyze
Table
Database etendo - Date
Average Autovacuum Duration
Key values
- 0.50 sec Highest CPU-cost vacuum
Table public.c_bpartner
Database etendo - 2026-07-13 11:09:45 Date
Analyzes per table
Key values
- public.c_order (30) Main table analyzed (database etendo)
- 171 analyzes Total
Table Number of analyzes etendo.public.c_order 30 etendo.public.c_bpartner 30 etendo.profile.last_stat_indexes_srv1 15 etendo.profile.last_stat_user_functions_srv1 15 etendo.profile.last_stat_tables_srv1 15 etendo.profile.last_stat_statements_srv1 15 etendo.public.ad_process_request 6 etendo.profile.stmt_list 4 etendo.profile.last_extension_versions 4 etendo.profile.last_stat_activity_count_srv1 4 etendo.profile.tables_list 4 etendo.profile.last_stat_slru 3 etendo.profile.indexes_list 3 etendo.profile.sample_stat_user_functions 2 etendo.profile.sample_stat_indexes 2 etendo.profile.sample_stat_tables 2 etendo.profile.sample_statements 2 etendo.profile.sample_stat_database 1 etendo.profile.sample_stat_slru 1 etendo.profile.sample_stat_wal 1 etendo.profile.sample_stat_indexes_total 1 etendo.public.ad_process_run 1 etendo.profile.sample_stat_archiver 1 etendo.pg_catalog.pg_attribute 1 etendo.profile.funcs_list 1 etendo.profile.sample_stat_tables_total 1 etendo.pg_catalog.pg_class 1 etendo.profile.sample_stat_cluster 1 etendo.pg_catalog.pg_type 1 etendo.profile.sample_statements_total 1 etendo.profile.samples 1 postgres.pg_catalog.pg_shdepend 1 Total 171 Vacuums per table
Key values
- public.c_bpartner (268) Main table vacuumed on database etendo
- 931 vacuums Total
Index Buffer usage Skipped WAL usage Frozen Table Vacuums scans hits misses dirtied pins frozen records full page bytes pages tuples etendo.public.c_bpartner 268 30 1,326,455 0 49,566 0 0 263,842 49,533 211,934,643 0 0 etendo.profile.last_stat_user_functions_srv1 159 15 21,403 0 810 0 0 1,934 694 2,944,762 0 0 etendo.profile.last_stat_statements_srv1 159 15 32,270 0 1,014 0 0 2,510 891 3,253,347 0 0 etendo.profile.last_stat_tables_srv1 159 15 107,094 0 4,945 0 0 11,257 3,479 2,850,170 0 0 etendo.profile.last_stat_indexes_srv1 159 15 133,503 0 6,253 0 0 14,197 4,399 3,909,717 0 0 etendo.pg_toast.pg_toast_2619 5 5 4,112 0 845 0 266 2,229 731 1,844,153 0 0 etendo.profile.stmt_list 4 4 677 0 26 0 0 216 19 133,950 0 0 etendo.profile.tables_list 3 3 533 0 22 0 0 153 16 117,929 0 0 etendo.profile.indexes_list 3 3 385 0 14 0 0 47 10 80,520 0 0 etendo.profile.last_stat_activity_count_srv1 2 0 72 0 7 0 0 12 6 32,980 0 0 etendo.profile.last_extension_versions 2 2 108 0 8 0 0 8 2 16,834 0 0 etendo.profile.sample_statements 1 1 1,619 0 636 0 0 915 140 340,801 0 0 etendo.profile.last_stat_database_srv1 1 1 57 0 4 0 0 3 1 5,179 0 0 etendo.profile.sample_stat_tables_total 1 1 206 0 54 0 0 71 14 35,711 0 0 etendo.profile.funcs_list 1 1 91 0 6 0 0 10 2 14,078 0 0 etendo.profile.last_stat_slru 1 1 55 0 4 0 0 4 1 8,473 0 0 etendo.pg_catalog.pg_shdepend 1 1 113 0 23 0 0 23 6 30,984 0 0 etendo.pg_catalog.pg_statistic 1 1 1,986 0 313 0 0 941 388 1,737,532 0 0 etendo.profile.sample_stat_user_functions 1 1 328 0 95 0 0 142 22 88,649 0 0 Total 931 115 1,631,067 103 64,645 0 266 298,514 60,354 229,380,412 0 0 Vacuum throughput per table
Key values
- public.c_bpartner (30.93) Max CPU elapsed for vacuum on database etendo
- unknown (0 ms) Max I/O read time for vacuum on database etendo
- unknown (0 ms) Max I/O write time for vacuum on database etendo
I/O timing (ms) CPU (s) Table read write elapsed etendo.public.c_bpartner 0 0 30.93 etendo.profile.last_stat_user_functions_srv1 0 0 0.15 etendo.profile.last_stat_statements_srv1 0 0 0.24 etendo.profile.last_stat_tables_srv1 0 0 1.23 etendo.profile.last_stat_indexes_srv1 0 0 1.99 etendo.pg_toast.pg_toast_2619 0 0 0.21 etendo.profile.stmt_list 0 0 0 etendo.profile.tables_list 0 0 0 etendo.profile.indexes_list 0 0 0 etendo.profile.last_stat_activity_count_srv1 0 0 0 etendo.profile.last_extension_versions 0 0 0 etendo.profile.sample_statements 0 0 0.16 etendo.profile.last_stat_database_srv1 0 0 0 etendo.profile.sample_stat_tables_total 0 0 0.01 etendo.profile.funcs_list 0 0 0 etendo.profile.last_stat_slru 0 0 0 etendo.pg_catalog.pg_shdepend 0 0 0 etendo.pg_catalog.pg_statistic 0 0 0.1 etendo.profile.sample_stat_user_functions 0 0 0.02 Total 0 0 35.04 Tuples removed per table
Key values
- public.c_bpartner (228870) Main table with removed tuples on database etendo
- 403901 tuples Total removed
Index Tuples Pages Table Vacuums scans removed remain not yet removable removed remain etendo.public.c_bpartner 268 30 228,870 3,638,638 1,815,702 226 239,598 etendo.profile.last_stat_indexes_srv1 159 15 90,738 1,347,603 871,080 361 57,314 etendo.profile.last_stat_tables_srv1 159 15 58,603 860,159 562,588 271 45,701 etendo.profile.last_stat_user_functions_srv1 159 15 9,513 184,817 91,325 0 6,201 etendo.profile.last_stat_statements_srv1 159 15 9,467 167,797 90,870 22 7,991 etendo.profile.sample_statements 1 1 2,387 12,853 156 0 618 etendo.pg_toast.pg_toast_2619 5 5 1,936 9,445 88 0 3,350 etendo.pg_catalog.pg_statistic 1 1 938 11,042 521 0 789 etendo.profile.sample_stat_user_functions 1 1 719 7,902 92 0 87 etendo.profile.sample_stat_tables_total 1 1 225 1,530 18 0 47 etendo.profile.stmt_list 4 4 139 1,303 121 0 112 etendo.profile.tables_list 3 3 99 3,143 135 0 81 etendo.profile.last_stat_activity_count_srv1 2 0 96 16 16 0 4 etendo.profile.last_extension_versions 2 2 96 32 16 0 2 etendo.profile.last_stat_slru 1 1 48 8 4 0 1 etendo.profile.indexes_list 3 3 16 710 48 0 18 etendo.profile.funcs_list 1 1 11 76 1 0 4 etendo.profile.last_stat_database_srv1 1 1 0 8 4 0 1 etendo.pg_catalog.pg_shdepend 1 1 0 2,247 4 0 17 Total 931 115 403,901 6,249,329 3,432,789 880 361,936 Pages removed per table
Key values
- profile.last_stat_indexes_srv1 (361) Main table with removed pages on database etendo
- 880 pages Total removed
Table Number of vacuums Index scans Tuples removed Pages removed etendo.profile.last_stat_indexes_srv1 159 15 90738 361 etendo.profile.last_stat_tables_srv1 159 15 58603 271 etendo.public.c_bpartner 268 30 228870 226 etendo.profile.last_stat_statements_srv1 159 15 9467 22 etendo.profile.last_stat_user_functions_srv1 159 15 9513 0 etendo.profile.tables_list 3 3 99 0 etendo.profile.indexes_list 3 3 16 0 etendo.profile.sample_statements 1 1 2387 0 etendo.profile.last_stat_activity_count_srv1 2 0 96 0 etendo.profile.last_stat_database_srv1 1 1 0 0 etendo.pg_toast.pg_toast_2619 5 5 1936 0 etendo.profile.sample_stat_tables_total 1 1 225 0 etendo.profile.funcs_list 1 1 11 0 etendo.profile.last_stat_slru 1 1 48 0 etendo.pg_catalog.pg_shdepend 1 1 0 0 etendo.pg_catalog.pg_statistic 1 1 938 0 etendo.profile.sample_stat_user_functions 1 1 719 0 etendo.profile.last_extension_versions 2 2 96 0 etendo.profile.stmt_list 4 4 139 0 Total 931 115 403,901 880 Autovacuum Activity
↑ Back to the top of the Autovacuum Activity tableDay Hour VACUUMs ANALYZEs Jul 13 07 63 14 08 60 13 09 65 9 10 61 9 11 58 16 12 64 8 13 64 13 14 63 10 15 62 15 16 68 13 17 62 8 18 65 10 19 58 13 20 60 10 21 58 10 22 0 0 - 0.50 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
- 146 Total read queries
- 114 Total write queries
Queries by database
Key values
- etendo Main database
- 260 Requests
- 6m (etendo)
- Main time consuming database
Queries by user
Key values
- tad Main user
- 256 Requests
User Request type Count Duration postgres Total 4 8s243ms select 4 8s243ms tad Total 256 5m52s select 142 3m3s update 114 2m48s Duration by user
Key values
- 5m52s (tad) Main time consuming user
User Request type Count Duration postgres Total 4 8s243ms select 4 8s243ms tad Total 256 5m52s select 142 3m3s update 114 2m48s Queries by host
Key values
- 127.0.0.1 Main host
- 256 Requests
- 5m52s (127.0.0.1)
- Main time consuming host
Queries by application
Key values
- openbravo Main application
- 256 Requests
- 5m52s (openbravo)
- Main time consuming application
Number of cancelled queries
Key values
- 0 per second Cancelled query Peak
- 2026-07-13 09:43:51 Date
Number of cancelled queries (5 minutes period)
NO DATASET
-
Top Queries
Histogram of query times
Key values
- 260 1000-10000ms duration
Slowest individual queries
Rank Duration Query 1 5s186ms SELECT string_agg(distinct prac_checkacct_config (ca.c_acctschema_id, ca."name"), ' \n ') from c_acctschema ca where 1 = 1;[ Date: 2026-07-13 07:16:33 - Database: etendo - User: postgres - Remote: [local] - Application: psql ]
2 2s922ms update c_bpartner set customer_blocking = 'Y', so_invoice_blocking = 'N', so_order_blocking = 'N', so_payment_blocking = 'N', so_goods_blocking = 'Y', em_obwpl_bp_block_pickinglist = 'Y' where exists (( select 1 from fshins_bpcond where ((fshins_bpcond.date_Init > trunc(now())) OR (fshins_bpcond.date_final is not null AND fshins_bpcond.date_final < trunc(now()))) or fshins_bpcond.Fshins_Situation_ID not in ( select Fshins_Situation_ID from fshins_situation where fshins_situation.decl = 'Y') or (fshins_bpcond.Fshins_Situation_ID in ( select Fshins_Situation_ID from fshins_situation where fshins_situation.decl = 'Y') and fshins_bpcond.assigned_amount = 0) and fshins_bpcond.c_bpartner_id = c_bpartner.c_bpartner_id)) or not exists ( select 1 from fshins_bpcond where fshins_bpcond.c_bpartner_id = c_bpartner.c_bpartner_id);[ Date: 2026-07-13 14:00:04 - Database: etendo - User: tad - Remote: 127.0.0.1 - Application: openbravo - Bind query: yes ]
3 2s885ms update c_bpartner set customer_blocking = 'Y', so_invoice_blocking = 'N', so_order_blocking = 'N', so_payment_blocking = 'N', so_goods_blocking = 'Y', em_obwpl_bp_block_pickinglist = 'Y' where exists (( select 1 from fshins_bpcond where ((fshins_bpcond.date_Init > trunc(now())) OR (fshins_bpcond.date_final is not null AND fshins_bpcond.date_final < trunc(now()))) or fshins_bpcond.Fshins_Situation_ID not in ( select Fshins_Situation_ID from fshins_situation where fshins_situation.decl = 'Y') or (fshins_bpcond.Fshins_Situation_ID in ( select Fshins_Situation_ID from fshins_situation where fshins_situation.decl = 'Y') and fshins_bpcond.assigned_amount = 0) and fshins_bpcond.c_bpartner_id = c_bpartner.c_bpartner_id)) or not exists ( select 1 from fshins_bpcond where fshins_bpcond.c_bpartner_id = c_bpartner.c_bpartner_id);[ Date: 2026-07-13 11:00:04 - Database: etendo - User: tad - Remote: 127.0.0.1 - Application: openbravo - Bind query: yes ]
4 2s883ms update c_bpartner set customer_blocking = 'Y', so_invoice_blocking = 'N', so_order_blocking = 'N', so_payment_blocking = 'N', so_goods_blocking = 'Y', em_obwpl_bp_block_pickinglist = 'Y' where exists (( select 1 from fshins_bpcond where ((fshins_bpcond.date_Init > trunc(now())) OR (fshins_bpcond.date_final is not null AND fshins_bpcond.date_final < trunc(now()))) or fshins_bpcond.Fshins_Situation_ID not in ( select Fshins_Situation_ID from fshins_situation where fshins_situation.decl = 'Y') or (fshins_bpcond.Fshins_Situation_ID in ( select Fshins_Situation_ID from fshins_situation where fshins_situation.decl = 'Y') and fshins_bpcond.assigned_amount = 0) and fshins_bpcond.c_bpartner_id = c_bpartner.c_bpartner_id)) or not exists ( select 1 from fshins_bpcond where fshins_bpcond.c_bpartner_id = c_bpartner.c_bpartner_id);[ Date: 2026-07-13 10:00:04 - Database: etendo - User: tad - Remote: 127.0.0.1 - Application: openbravo - Bind query: yes ]
5 2s859ms update c_bpartner set customer_blocking = 'Y', so_invoice_blocking = 'N', so_order_blocking = 'N', so_payment_blocking = 'N', so_goods_blocking = 'Y', em_obwpl_bp_block_pickinglist = 'Y' where exists (( select 1 from fshins_bpcond where ((fshins_bpcond.date_Init > trunc(now())) OR (fshins_bpcond.date_final is not null AND fshins_bpcond.date_final < trunc(now()))) or fshins_bpcond.Fshins_Situation_ID not in ( select Fshins_Situation_ID from fshins_situation where fshins_situation.decl = 'Y') or (fshins_bpcond.Fshins_Situation_ID in ( select Fshins_Situation_ID from fshins_situation where fshins_situation.decl = 'Y') and fshins_bpcond.assigned_amount = 0) and fshins_bpcond.c_bpartner_id = c_bpartner.c_bpartner_id)) or not exists ( select 1 from fshins_bpcond where fshins_bpcond.c_bpartner_id = c_bpartner.c_bpartner_id);[ Date: 2026-07-13 07:00:04 - Database: etendo - User: tad - Remote: 127.0.0.1 - Application: openbravo - Bind query: yes ]
6 2s855ms update c_bpartner set customer_blocking = 'Y', so_invoice_blocking = 'N', so_order_blocking = 'N', so_payment_blocking = 'N', so_goods_blocking = 'Y', em_obwpl_bp_block_pickinglist = 'Y' where exists (( select 1 from fshins_bpcond where ((fshins_bpcond.date_Init > trunc(now())) OR (fshins_bpcond.date_final is not null AND fshins_bpcond.date_final < trunc(now()))) or fshins_bpcond.Fshins_Situation_ID not in ( select Fshins_Situation_ID from fshins_situation where fshins_situation.decl = 'Y') or (fshins_bpcond.Fshins_Situation_ID in ( select Fshins_Situation_ID from fshins_situation where fshins_situation.decl = 'Y') and fshins_bpcond.assigned_amount = 0) and fshins_bpcond.c_bpartner_id = c_bpartner.c_bpartner_id)) or not exists ( select 1 from fshins_bpcond where fshins_bpcond.c_bpartner_id = c_bpartner.c_bpartner_id);[ Date: 2026-07-13 09:00:04 - Database: etendo - User: tad - Remote: 127.0.0.1 - Application: openbravo - Bind query: yes ]
7 2s849ms update c_bpartner set customer_blocking = 'Y', so_invoice_blocking = 'N', so_order_blocking = 'N', so_payment_blocking = 'N', so_goods_blocking = 'Y', em_obwpl_bp_block_pickinglist = 'Y' where exists (( select 1 from fshins_bpcond where ((fshins_bpcond.date_Init > trunc(now())) OR (fshins_bpcond.date_final is not null AND fshins_bpcond.date_final < trunc(now()))) or fshins_bpcond.Fshins_Situation_ID not in ( select Fshins_Situation_ID from fshins_situation where fshins_situation.decl = 'Y') or (fshins_bpcond.Fshins_Situation_ID in ( select Fshins_Situation_ID from fshins_situation where fshins_situation.decl = 'Y') and fshins_bpcond.assigned_amount = 0) and fshins_bpcond.c_bpartner_id = c_bpartner.c_bpartner_id)) or not exists ( select 1 from fshins_bpcond where fshins_bpcond.c_bpartner_id = c_bpartner.c_bpartner_id);[ Date: 2026-07-13 15:00:04 - Database: etendo - User: tad - Remote: 127.0.0.1 - Application: openbravo - Bind query: yes ]
8 2s816ms update c_bpartner set customer_blocking = 'Y', so_invoice_blocking = 'N', so_order_blocking = 'N', so_payment_blocking = 'N', so_goods_blocking = 'Y', em_obwpl_bp_block_pickinglist = 'Y' where exists (( select 1 from fshins_bpcond where ((fshins_bpcond.date_Init > trunc(now())) OR (fshins_bpcond.date_final is not null AND fshins_bpcond.date_final < trunc(now()))) or fshins_bpcond.Fshins_Situation_ID not in ( select Fshins_Situation_ID from fshins_situation where fshins_situation.decl = 'Y') or (fshins_bpcond.Fshins_Situation_ID in ( select Fshins_Situation_ID from fshins_situation where fshins_situation.decl = 'Y') and fshins_bpcond.assigned_amount = 0) and fshins_bpcond.c_bpartner_id = c_bpartner.c_bpartner_id)) or not exists ( select 1 from fshins_bpcond where fshins_bpcond.c_bpartner_id = c_bpartner.c_bpartner_id);[ Date: 2026-07-13 13:00:04 - Database: etendo - User: tad - Remote: 127.0.0.1 - Application: openbravo - Bind query: yes ]
9 2s808ms update c_bpartner set customer_blocking = 'Y', so_invoice_blocking = 'N', so_order_blocking = 'N', so_payment_blocking = 'N', so_goods_blocking = 'Y', em_obwpl_bp_block_pickinglist = 'Y' where exists (( select 1 from fshins_bpcond where ((fshins_bpcond.date_Init > trunc(now())) OR (fshins_bpcond.date_final is not null AND fshins_bpcond.date_final < trunc(now()))) or fshins_bpcond.Fshins_Situation_ID not in ( select Fshins_Situation_ID from fshins_situation where fshins_situation.decl = 'Y') or (fshins_bpcond.Fshins_Situation_ID in ( select Fshins_Situation_ID from fshins_situation where fshins_situation.decl = 'Y') and fshins_bpcond.assigned_amount = 0) and fshins_bpcond.c_bpartner_id = c_bpartner.c_bpartner_id)) or not exists ( select 1 from fshins_bpcond where fshins_bpcond.c_bpartner_id = c_bpartner.c_bpartner_id);[ Date: 2026-07-13 12:00:04 - Database: etendo - User: tad - Remote: 127.0.0.1 - Application: openbravo - Bind query: yes ]
10 2s807ms update c_bpartner set customer_blocking = 'Y', so_invoice_blocking = 'N', so_order_blocking = 'N', so_payment_blocking = 'N', so_goods_blocking = 'Y', em_obwpl_bp_block_pickinglist = 'Y' where exists (( select 1 from fshins_bpcond where ((fshins_bpcond.date_Init > trunc(now())) OR (fshins_bpcond.date_final is not null AND fshins_bpcond.date_final < trunc(now()))) or fshins_bpcond.Fshins_Situation_ID not in ( select Fshins_Situation_ID from fshins_situation where fshins_situation.decl = 'Y') or (fshins_bpcond.Fshins_Situation_ID in ( select Fshins_Situation_ID from fshins_situation where fshins_situation.decl = 'Y') and fshins_bpcond.assigned_amount = 0) and fshins_bpcond.c_bpartner_id = c_bpartner.c_bpartner_id)) or not exists ( select 1 from fshins_bpcond where fshins_bpcond.c_bpartner_id = c_bpartner.c_bpartner_id);[ Date: 2026-07-13 18:00:04 - Database: etendo - User: tad - Remote: 127.0.0.1 - Application: openbravo - Bind query: yes ]
11 2s799ms update c_bpartner set customer_blocking = 'Y', so_invoice_blocking = 'N', so_order_blocking = 'N', so_payment_blocking = 'N', so_goods_blocking = 'Y', em_obwpl_bp_block_pickinglist = 'Y' where exists (( select 1 from fshins_bpcond where ((fshins_bpcond.date_Init > trunc(now())) OR (fshins_bpcond.date_final is not null AND fshins_bpcond.date_final < trunc(now()))) or fshins_bpcond.Fshins_Situation_ID not in ( select Fshins_Situation_ID from fshins_situation where fshins_situation.decl = 'Y') or (fshins_bpcond.Fshins_Situation_ID in ( select Fshins_Situation_ID from fshins_situation where fshins_situation.decl = 'Y') and fshins_bpcond.assigned_amount = 0) and fshins_bpcond.c_bpartner_id = c_bpartner.c_bpartner_id)) or not exists ( select 1 from fshins_bpcond where fshins_bpcond.c_bpartner_id = c_bpartner.c_bpartner_id);[ Date: 2026-07-13 08:00:04 - Database: etendo - User: tad - Remote: 127.0.0.1 - Application: openbravo - Bind query: yes ]
12 2s793ms update c_bpartner set customer_blocking = 'Y', so_invoice_blocking = 'N', so_order_blocking = 'N', so_payment_blocking = 'N', so_goods_blocking = 'Y', em_obwpl_bp_block_pickinglist = 'Y' where exists (( select 1 from fshins_bpcond where ((fshins_bpcond.date_Init > trunc(now())) OR (fshins_bpcond.date_final is not null AND fshins_bpcond.date_final < trunc(now()))) or fshins_bpcond.Fshins_Situation_ID not in ( select Fshins_Situation_ID from fshins_situation where fshins_situation.decl = 'Y') or (fshins_bpcond.Fshins_Situation_ID in ( select Fshins_Situation_ID from fshins_situation where fshins_situation.decl = 'Y') and fshins_bpcond.assigned_amount = 0) and fshins_bpcond.c_bpartner_id = c_bpartner.c_bpartner_id)) or not exists ( select 1 from fshins_bpcond where fshins_bpcond.c_bpartner_id = c_bpartner.c_bpartner_id);[ Date: 2026-07-13 19:00:04 - Database: etendo - User: tad - Remote: 127.0.0.1 - Application: openbravo - Bind query: yes ]
13 2s784ms update c_bpartner set customer_blocking = 'Y', so_invoice_blocking = 'N', so_order_blocking = 'N', so_payment_blocking = 'N', so_goods_blocking = 'Y', em_obwpl_bp_block_pickinglist = 'Y' where exists (( select 1 from fshins_bpcond where ((fshins_bpcond.date_Init > trunc(now())) OR (fshins_bpcond.date_final is not null AND fshins_bpcond.date_final < trunc(now()))) or fshins_bpcond.Fshins_Situation_ID not in ( select Fshins_Situation_ID from fshins_situation where fshins_situation.decl = 'Y') or (fshins_bpcond.Fshins_Situation_ID in ( select Fshins_Situation_ID from fshins_situation where fshins_situation.decl = 'Y') and fshins_bpcond.assigned_amount = 0) and fshins_bpcond.c_bpartner_id = c_bpartner.c_bpartner_id)) or not exists ( select 1 from fshins_bpcond where fshins_bpcond.c_bpartner_id = c_bpartner.c_bpartner_id);[ Date: 2026-07-13 16:00:04 - Database: etendo - User: tad - Remote: 127.0.0.1 - Application: openbravo - Bind query: yes ]
14 2s766ms update c_bpartner set customer_blocking = 'Y', so_invoice_blocking = 'N', so_order_blocking = 'N', so_payment_blocking = 'N', so_goods_blocking = 'Y', em_obwpl_bp_block_pickinglist = 'Y' where exists (( select 1 from fshins_bpcond where ((fshins_bpcond.date_Init > trunc(now())) OR (fshins_bpcond.date_final is not null AND fshins_bpcond.date_final < trunc(now()))) or fshins_bpcond.Fshins_Situation_ID not in ( select Fshins_Situation_ID from fshins_situation where fshins_situation.decl = 'Y') or (fshins_bpcond.Fshins_Situation_ID in ( select Fshins_Situation_ID from fshins_situation where fshins_situation.decl = 'Y') and fshins_bpcond.assigned_amount = 0) and fshins_bpcond.c_bpartner_id = c_bpartner.c_bpartner_id)) or not exists ( select 1 from fshins_bpcond where fshins_bpcond.c_bpartner_id = c_bpartner.c_bpartner_id);[ Date: 2026-07-13 14:30:04 - Database: etendo - User: tad - Remote: 127.0.0.1 - Application: openbravo - Bind query: yes ]
15 2s731ms update c_bpartner set customer_blocking = 'Y', so_invoice_blocking = 'N', so_order_blocking = 'N', so_payment_blocking = 'N', so_goods_blocking = 'Y', em_obwpl_bp_block_pickinglist = 'Y' where exists (( select 1 from fshins_bpcond where ((fshins_bpcond.date_Init > trunc(now())) OR (fshins_bpcond.date_final is not null AND fshins_bpcond.date_final < trunc(now()))) or fshins_bpcond.Fshins_Situation_ID not in ( select Fshins_Situation_ID from fshins_situation where fshins_situation.decl = 'Y') or (fshins_bpcond.Fshins_Situation_ID in ( select Fshins_Situation_ID from fshins_situation where fshins_situation.decl = 'Y') and fshins_bpcond.assigned_amount = 0) and fshins_bpcond.c_bpartner_id = c_bpartner.c_bpartner_id)) or not exists ( select 1 from fshins_bpcond where fshins_bpcond.c_bpartner_id = c_bpartner.c_bpartner_id);[ Date: 2026-07-13 21:00:04 - Database: etendo - User: tad - Remote: 127.0.0.1 - Application: openbravo - Bind query: yes ]
16 2s731ms update c_bpartner set customer_blocking = 'Y', so_invoice_blocking = 'N', so_order_blocking = 'N', so_payment_blocking = 'N', so_goods_blocking = 'Y', em_obwpl_bp_block_pickinglist = 'Y' where exists (( select 1 from fshins_bpcond where ((fshins_bpcond.date_Init > trunc(now())) OR (fshins_bpcond.date_final is not null AND fshins_bpcond.date_final < trunc(now()))) or fshins_bpcond.Fshins_Situation_ID not in ( select Fshins_Situation_ID from fshins_situation where fshins_situation.decl = 'Y') or (fshins_bpcond.Fshins_Situation_ID in ( select Fshins_Situation_ID from fshins_situation where fshins_situation.decl = 'Y') and fshins_bpcond.assigned_amount = 0) and fshins_bpcond.c_bpartner_id = c_bpartner.c_bpartner_id)) or not exists ( select 1 from fshins_bpcond where fshins_bpcond.c_bpartner_id = c_bpartner.c_bpartner_id);[ Date: 2026-07-13 16:30:04 - Database: etendo - User: tad - Remote: 127.0.0.1 - Application: openbravo - Bind query: yes ]
17 2s726ms update c_bpartner set customer_blocking = 'Y', so_invoice_blocking = 'N', so_order_blocking = 'N', so_payment_blocking = 'N', so_goods_blocking = 'Y', em_obwpl_bp_block_pickinglist = 'Y' where exists (( select 1 from fshins_bpcond where ((fshins_bpcond.date_Init > trunc(now())) OR (fshins_bpcond.date_final is not null AND fshins_bpcond.date_final < trunc(now()))) or fshins_bpcond.Fshins_Situation_ID not in ( select Fshins_Situation_ID from fshins_situation where fshins_situation.decl = 'Y') or (fshins_bpcond.Fshins_Situation_ID in ( select Fshins_Situation_ID from fshins_situation where fshins_situation.decl = 'Y') and fshins_bpcond.assigned_amount = 0) and fshins_bpcond.c_bpartner_id = c_bpartner.c_bpartner_id)) or not exists ( select 1 from fshins_bpcond where fshins_bpcond.c_bpartner_id = c_bpartner.c_bpartner_id);[ Date: 2026-07-13 07:30:04 - Database: etendo - User: tad - Remote: 127.0.0.1 - Application: openbravo - Bind query: yes ]
18 2s725ms update c_bpartner set customer_blocking = 'Y', so_invoice_blocking = 'N', so_order_blocking = 'N', so_payment_blocking = 'N', so_goods_blocking = 'Y', em_obwpl_bp_block_pickinglist = 'Y' where exists (( select 1 from fshins_bpcond where ((fshins_bpcond.date_Init > trunc(now())) OR (fshins_bpcond.date_final is not null AND fshins_bpcond.date_final < trunc(now()))) or fshins_bpcond.Fshins_Situation_ID not in ( select Fshins_Situation_ID from fshins_situation where fshins_situation.decl = 'Y') or (fshins_bpcond.Fshins_Situation_ID in ( select Fshins_Situation_ID from fshins_situation where fshins_situation.decl = 'Y') and fshins_bpcond.assigned_amount = 0) and fshins_bpcond.c_bpartner_id = c_bpartner.c_bpartner_id)) or not exists ( select 1 from fshins_bpcond where fshins_bpcond.c_bpartner_id = c_bpartner.c_bpartner_id);[ Date: 2026-07-13 09:30:04 - Database: etendo - User: tad - Remote: 127.0.0.1 - Application: openbravo - Bind query: yes ]
19 2s707ms update c_bpartner set customer_blocking = 'Y', so_invoice_blocking = 'N', so_order_blocking = 'N', so_payment_blocking = 'N', so_goods_blocking = 'Y', em_obwpl_bp_block_pickinglist = 'Y' where exists (( select 1 from fshins_bpcond where ((fshins_bpcond.date_Init > trunc(now())) OR (fshins_bpcond.date_final is not null AND fshins_bpcond.date_final < trunc(now()))) or fshins_bpcond.Fshins_Situation_ID not in ( select Fshins_Situation_ID from fshins_situation where fshins_situation.decl = 'Y') or (fshins_bpcond.Fshins_Situation_ID in ( select Fshins_Situation_ID from fshins_situation where fshins_situation.decl = 'Y') and fshins_bpcond.assigned_amount = 0) and fshins_bpcond.c_bpartner_id = c_bpartner.c_bpartner_id)) or not exists ( select 1 from fshins_bpcond where fshins_bpcond.c_bpartner_id = c_bpartner.c_bpartner_id);[ Date: 2026-07-13 10:30:04 - Database: etendo - User: tad - Remote: 127.0.0.1 - Application: openbravo - Bind query: yes ]
20 2s697ms update c_bpartner set customer_blocking = 'Y', so_invoice_blocking = 'N', so_order_blocking = 'N', so_payment_blocking = 'N', so_goods_blocking = 'Y', em_obwpl_bp_block_pickinglist = 'Y' where exists (( select 1 from fshins_bpcond where ((fshins_bpcond.date_Init > trunc(now())) OR (fshins_bpcond.date_final is not null AND fshins_bpcond.date_final < trunc(now()))) or fshins_bpcond.Fshins_Situation_ID not in ( select Fshins_Situation_ID from fshins_situation where fshins_situation.decl = 'Y') or (fshins_bpcond.Fshins_Situation_ID in ( select Fshins_Situation_ID from fshins_situation where fshins_situation.decl = 'Y') and fshins_bpcond.assigned_amount = 0) and fshins_bpcond.c_bpartner_id = c_bpartner.c_bpartner_id)) or not exists ( select 1 from fshins_bpcond where fshins_bpcond.c_bpartner_id = c_bpartner.c_bpartner_id);[ Date: 2026-07-13 20:00:04 - Database: etendo - User: tad - Remote: 127.0.0.1 - Application: openbravo - Bind query: yes ]
Time consuming queries (N)
Rank Total duration Times executed Min duration Max duration Avg duration Query 1 2m9s 90 1s382ms 1s539ms 1s441ms select * from ( select aud.bpid as referencekey_id, ad_column_identifier (?, aud.bpid, ?) as record_id, ? as ad_role_id, null as ad_user_id, ? || aud.username || ? || aud.colname || ? || coalesce(aud.oldval, ?) || ? || coalesce(aud.newval, ?) as description, ? as isactive, ? as ad_org_id, ? as ad_client_id, now() as created, ? as createdby, now() as updated, ? as updatedby from ( select aud.ad_audit_trail_id as audid, bp.c_bpartner_id as bpid, col.name as colname, aud.old_value as oldval, aud.new_value as newval, us.name as username from ad_audit_trail_v aud left join ad_column col on col.ad_column_id = aud.ad_column_id left join c_bpartner bp on bp.c_bpartner_id = aud.record_id left join ad_user us on bp.updatedby = us.ad_user_id where aud.action = ? and aud.ad_table_id = ? and aud.updated > to_date(?, ?) and bp.c_bpartner_id is not null) as aud) aaa where not exists ( select ? from ad_alert a where a.ad_alertrule_id = ? and a.referencekey_id = aaa.referencekey_id and coalesce(a.status, ?) != ?);Times Reported Time consuming queries #1
Day Hour Count Duration Avg duration Jul 13 07 6 8s499ms 1s416ms 08 6 8s713ms 1s452ms 09 6 8s561ms 1s426ms 10 6 8s660ms 1s443ms 11 6 8s874ms 1s479ms 12 6 8s581ms 1s430ms 13 6 8s588ms 1s431ms 14 6 8s550ms 1s425ms 15 6 8s612ms 1s435ms 16 6 8s681ms 1s446ms 17 6 8s651ms 1s441ms 18 6 8s620ms 1s436ms 19 6 8s618ms 1s436ms 20 6 8s717ms 1s452ms 21 6 8s812ms 1s468ms [ User: tad - Total duration: 2m9s - Times executed: 90 ]
[ Application: openbravo - Total duration: 2m9s - Times executed: 90 ]
-
SELECT * FROM ( select aud.bpid as referencekey_id, ad_column_identifier ('c_bpartner', aud.bpid, 'en_US') AS record_id, '0' AS ad_role_id, NULL AS ad_user_id, 'USUARIO: ' || aud.username || ' - CAMPO: ' || aud.colname || ' - VALOR ANTIGUO: ' || coalesce(aud.oldval, 'null') || ' - VALOR ACTUAL: ' || coalesce(aud.newval, 'null') as description, 'Y' AS isActive, 'E3E23266C9CE4E91971071A3D8BF481A' as ad_org_id, '523673B50F634B52908327A51F066C5D' as ad_client_id, now() as created, '0' as createdBy, now() as updated, '0' as updatedBy from ( select aud.ad_audit_trail_id as audid, bp.c_bpartner_id as bpid, col.name as colname, aud.old_value as oldval, aud.new_value as newval, us.name as username from ad_audit_trail_v aud left join ad_column col on col.ad_column_id = aud.ad_column_id left join c_bpartner bp on bp.c_bpartner_id = aud.record_id left join ad_user us on bp.updatedby = us.ad_user_id where aud.action = 'U' and aud.ad_table_id = '291' and aud.updated > to_date('01-06-2021', 'dd-MM-yyyy') and bp.c_bpartner_id is not null) as aud) AAA where not exists ( select 1 from ad_alert a where a.ad_alertrule_id = 'CBE7E1A5BF294F14907C7F4F9876B4BA' and a.referencekey_id = aaa.referencekey_id and coalesce(a.status, 'NEW') != 'SOLVED');
Date: 2026-07-13 16:49:30 Duration: 1s539ms Database: etendo User: tad Remote: 127.0.0.1 Application: openbravo Bind query: yes
-
SELECT * FROM ( select aud.bpid as referencekey_id, ad_column_identifier ('c_bpartner', aud.bpid, 'en_US') AS record_id, '0' AS ad_role_id, NULL AS ad_user_id, 'USUARIO: ' || aud.username || ' - CAMPO: ' || aud.colname || ' - VALOR ANTIGUO: ' || coalesce(aud.oldval, 'null') || ' - VALOR ACTUAL: ' || coalesce(aud.newval, 'null') as description, 'Y' AS isActive, 'E3E23266C9CE4E91971071A3D8BF481A' as ad_org_id, '523673B50F634B52908327A51F066C5D' as ad_client_id, now() as created, '0' as createdBy, now() as updated, '0' as updatedBy from ( select aud.ad_audit_trail_id as audid, bp.c_bpartner_id as bpid, col.name as colname, aud.old_value as oldval, aud.new_value as newval, us.name as username from ad_audit_trail_v aud left join ad_column col on col.ad_column_id = aud.ad_column_id left join c_bpartner bp on bp.c_bpartner_id = aud.record_id left join ad_user us on bp.updatedby = us.ad_user_id where aud.action = 'U' and aud.ad_table_id = '291' and aud.updated > to_date('01-06-2021', 'dd-MM-yyyy') and bp.c_bpartner_id is not null) as aud) AAA where not exists ( select 1 from ad_alert a where a.ad_alertrule_id = 'CBE7E1A5BF294F14907C7F4F9876B4BA' and a.referencekey_id = aaa.referencekey_id and coalesce(a.status, 'NEW') != 'SOLVED');
Date: 2026-07-13 21:19:30 Duration: 1s513ms Database: etendo User: tad Remote: 127.0.0.1 Application: openbravo Bind query: yes
-
SELECT * FROM ( select aud.bpid as referencekey_id, ad_column_identifier ('c_bpartner', aud.bpid, 'en_US') AS record_id, '0' AS ad_role_id, NULL AS ad_user_id, 'USUARIO: ' || aud.username || ' - CAMPO: ' || aud.colname || ' - VALOR ANTIGUO: ' || coalesce(aud.oldval, 'null') || ' - VALOR ACTUAL: ' || coalesce(aud.newval, 'null') as description, 'Y' AS isActive, 'E3E23266C9CE4E91971071A3D8BF481A' as ad_org_id, '523673B50F634B52908327A51F066C5D' as ad_client_id, now() as created, '0' as createdBy, now() as updated, '0' as updatedBy from ( select aud.ad_audit_trail_id as audid, bp.c_bpartner_id as bpid, col.name as colname, aud.old_value as oldval, aud.new_value as newval, us.name as username from ad_audit_trail_v aud left join ad_column col on col.ad_column_id = aud.ad_column_id left join c_bpartner bp on bp.c_bpartner_id = aud.record_id left join ad_user us on bp.updatedby = us.ad_user_id where aud.action = 'U' and aud.ad_table_id = '291' and aud.updated > to_date('01-06-2021', 'dd-MM-yyyy') and bp.c_bpartner_id is not null) as aud) AAA where not exists ( select 1 from ad_alert a where a.ad_alertrule_id = 'CBE7E1A5BF294F14907C7F4F9876B4BA' and a.referencekey_id = aaa.referencekey_id and coalesce(a.status, 'NEW') != 'SOLVED');
Date: 2026-07-13 20:09:30 Duration: 1s510ms Database: etendo User: tad Remote: 127.0.0.1 Application: openbravo Bind query: yes
2 1m26s 84 1s 1s77ms 1s30ms update ad_alert set status = ?, updated = now(), updatedby = ? where ad_alertrule_id = ? and coalesce(status, ?) != ? and not exists ( select ? from ( select c_invoice_id as referencekey_id, ? as ad_role_id, null as ad_user_id, ? || documentno || ? || doc.name || ? as description, ? as isactive, inv.ad_org_id, inv.ad_client_id, now() as created, ? as createdby, now() as updated, ? as updatedby, ad_column_identifier (?, c_invoice_id, ?) as record_id from c_invoice inv left join c_doctype doc on doc.c_doctype_id = inv.c_doctype_id where c_invoice_id in ( select distinct unnest(string_to_array(string_agg(priuti_getinvidsinvalidseq (dt.docnosequence_id), ?), ?)) as idsinvoices from c_doctype dt where dt.isactive = ? and dt.issotrx = ? and dt.docbasetype = ? and dt.ad_table_id = ?) order by doc.name, documentno) a where ? = ? and a.referencekey_id = ad_alert.referencekey_id);Times Reported Time consuming queries #2
Day Hour Count Duration Avg duration Jul 13 07 6 6s101ms 1s16ms 08 6 6s230ms 1s38ms 09 6 6s172ms 1s28ms 10 6 6s54ms 1s9ms 11 4 4s80ms 1s20ms 12 5 5s134ms 1s26ms 13 6 6s218ms 1s36ms 14 6 6s231ms 1s38ms 15 6 6s209ms 1s34ms 16 5 5s203ms 1s40ms 17 6 6s190ms 1s31ms 18 6 6s310ms 1s51ms 19 6 6s227ms 1s37ms 20 4 4s77ms 1s19ms 21 6 6s95ms 1s15ms [ User: tad - Total duration: 1m26s - Times executed: 84 ]
[ Application: openbravo - Total duration: 1m26s - Times executed: 84 ]
-
UPDATE AD_ALERT SET STATUS = 'SOLVED', UPDATED = NOW(), UPDATEDBY = 0 WHERE AD_ALERTRULE_ID = 'C551178C7AEE4180A4BCF91AE798B7FF' AND COALESCE(STATUS, 'NEW') != 'SOLVED' AND NOT EXISTS ( SELECT 1 FROM ( select c_invoice_id as referencekey_id, '0' as ad_role_id, null as ad_user_id, 'El documento ' || documentno || ' para el documento ' || doc.name || ' tiene un salto de número en la secuencia del tipo de documento en la factura' as description, 'Y' as isActive, inv.ad_org_id, inv.ad_client_id, now() as created, '0' as createdBy, now() as updated, '0' as updatedBy, ad_column_identifier ('c_invoice', c_invoice_id, 'es_ES') AS RECORD_ID FROM c_invoice inv left join c_doctype doc on doc.c_doctype_id = inv.c_doctype_id WHERE c_invoice_id IN ( select distinct unnest(string_to_array(string_agg(priuti_getinvidsinvalidseq (dt.docnosequence_id), ','), ',')) as idsinvoices from c_doctype dt where dt.isactive = 'Y' and dt.issotrx = 'Y' and dt.docbasetype = 'ARI' and dt.ad_table_id = '318') order by doc.name, documentno) A WHERE 1 = 1 AND A.REFERENCEKEY_ID = AD_ALERT.REFERENCEKEY_ID);
Date: 2026-07-13 17:49:33 Duration: 1s77ms Database: etendo User: tad Remote: 127.0.0.1 Application: openbravo Bind query: yes
-
UPDATE AD_ALERT SET STATUS = 'SOLVED', UPDATED = NOW(), UPDATEDBY = 0 WHERE AD_ALERTRULE_ID = 'C551178C7AEE4180A4BCF91AE798B7FF' AND COALESCE(STATUS, 'NEW') != 'SOLVED' AND NOT EXISTS ( SELECT 1 FROM ( select c_invoice_id as referencekey_id, '0' as ad_role_id, null as ad_user_id, 'El documento ' || documentno || ' para el documento ' || doc.name || ' tiene un salto de número en la secuencia del tipo de documento en la factura' as description, 'Y' as isActive, inv.ad_org_id, inv.ad_client_id, now() as created, '0' as createdBy, now() as updated, '0' as updatedBy, ad_column_identifier ('c_invoice', c_invoice_id, 'es_ES') AS RECORD_ID FROM c_invoice inv left join c_doctype doc on doc.c_doctype_id = inv.c_doctype_id WHERE c_invoice_id IN ( select distinct unnest(string_to_array(string_agg(priuti_getinvidsinvalidseq (dt.docnosequence_id), ','), ',')) as idsinvoices from c_doctype dt where dt.isactive = 'Y' and dt.issotrx = 'Y' and dt.docbasetype = 'ARI' and dt.ad_table_id = '318') order by doc.name, documentno) A WHERE 1 = 1 AND A.REFERENCEKEY_ID = AD_ALERT.REFERENCEKEY_ID);
Date: 2026-07-13 16:19:32 Duration: 1s71ms Database: etendo User: tad Remote: 127.0.0.1 Application: openbravo Bind query: yes
-
UPDATE AD_ALERT SET STATUS = 'SOLVED', UPDATED = NOW(), UPDATEDBY = 0 WHERE AD_ALERTRULE_ID = 'C551178C7AEE4180A4BCF91AE798B7FF' AND COALESCE(STATUS, 'NEW') != 'SOLVED' AND NOT EXISTS ( SELECT 1 FROM ( select c_invoice_id as referencekey_id, '0' as ad_role_id, null as ad_user_id, 'El documento ' || documentno || ' para el documento ' || doc.name || ' tiene un salto de número en la secuencia del tipo de documento en la factura' as description, 'Y' as isActive, inv.ad_org_id, inv.ad_client_id, now() as created, '0' as createdBy, now() as updated, '0' as updatedBy, ad_column_identifier ('c_invoice', c_invoice_id, 'es_ES') AS RECORD_ID FROM c_invoice inv left join c_doctype doc on doc.c_doctype_id = inv.c_doctype_id WHERE c_invoice_id IN ( select distinct unnest(string_to_array(string_agg(priuti_getinvidsinvalidseq (dt.docnosequence_id), ','), ',')) as idsinvoices from c_doctype dt where dt.isactive = 'Y' and dt.issotrx = 'Y' and dt.docbasetype = 'ARI' and dt.ad_table_id = '318') order by doc.name, documentno) A WHERE 1 = 1 AND A.REFERENCEKEY_ID = AD_ALERT.REFERENCEKEY_ID);
Date: 2026-07-13 16:59:33 Duration: 1s71ms Database: etendo User: tad Remote: 127.0.0.1 Application: openbravo Bind query: yes
3 1m22s 30 2s557ms 2s922ms 2s738ms update c_bpartner set customer_blocking = ?, so_invoice_blocking = ?, so_order_blocking = ?, so_payment_blocking = ?, so_goods_blocking = ?, em_obwpl_bp_block_pickinglist = ? where exists (( select ? from fshins_bpcond where ((fshins_bpcond.date_init > trunc(now())) or (fshins_bpcond.date_final is not null and fshins_bpcond.date_final < trunc(now()))) or fshins_bpcond.fshins_situation_id not in ( select fshins_situation_id from fshins_situation where fshins_situation.decl = ?) or (fshins_bpcond.fshins_situation_id in ( select fshins_situation_id from fshins_situation where fshins_situation.decl = ?) and fshins_bpcond.assigned_amount = ?) and fshins_bpcond.c_bpartner_id = c_bpartner.c_bpartner_id)) or not exists ( select ? from fshins_bpcond where fshins_bpcond.c_bpartner_id = c_bpartner.c_bpartner_id);Times Reported Time consuming queries #3
Day Hour Count Duration Avg duration Jul 13 07 2 5s585ms 2s792ms 08 2 5s393ms 2s696ms 09 2 5s581ms 2s790ms 10 2 5s590ms 2s795ms 11 2 5s582ms 2s791ms 12 2 5s473ms 2s736ms 13 2 5s482ms 2s741ms 14 2 5s689ms 2s844ms 15 2 5s505ms 2s752ms 16 2 5s515ms 2s757ms 17 2 5s280ms 2s640ms 18 2 5s476ms 2s738ms 19 2 5s382ms 2s691ms 20 2 5s315ms 2s657ms 21 2 5s289ms 2s644ms [ User: tad - Total duration: 1m22s - Times executed: 30 ]
[ Application: openbravo - Total duration: 1m22s - Times executed: 30 ]
-
update c_bpartner set customer_blocking = 'Y', so_invoice_blocking = 'N', so_order_blocking = 'N', so_payment_blocking = 'N', so_goods_blocking = 'Y', em_obwpl_bp_block_pickinglist = 'Y' where exists (( select 1 from fshins_bpcond where ((fshins_bpcond.date_Init > trunc(now())) OR (fshins_bpcond.date_final is not null AND fshins_bpcond.date_final < trunc(now()))) or fshins_bpcond.Fshins_Situation_ID not in ( select Fshins_Situation_ID from fshins_situation where fshins_situation.decl = 'Y') or (fshins_bpcond.Fshins_Situation_ID in ( select Fshins_Situation_ID from fshins_situation where fshins_situation.decl = 'Y') and fshins_bpcond.assigned_amount = 0) and fshins_bpcond.c_bpartner_id = c_bpartner.c_bpartner_id)) or not exists ( select 1 from fshins_bpcond where fshins_bpcond.c_bpartner_id = c_bpartner.c_bpartner_id);
Date: 2026-07-13 14:00:04 Duration: 2s922ms Database: etendo User: tad Remote: 127.0.0.1 Application: openbravo Bind query: yes
-
update c_bpartner set customer_blocking = 'Y', so_invoice_blocking = 'N', so_order_blocking = 'N', so_payment_blocking = 'N', so_goods_blocking = 'Y', em_obwpl_bp_block_pickinglist = 'Y' where exists (( select 1 from fshins_bpcond where ((fshins_bpcond.date_Init > trunc(now())) OR (fshins_bpcond.date_final is not null AND fshins_bpcond.date_final < trunc(now()))) or fshins_bpcond.Fshins_Situation_ID not in ( select Fshins_Situation_ID from fshins_situation where fshins_situation.decl = 'Y') or (fshins_bpcond.Fshins_Situation_ID in ( select Fshins_Situation_ID from fshins_situation where fshins_situation.decl = 'Y') and fshins_bpcond.assigned_amount = 0) and fshins_bpcond.c_bpartner_id = c_bpartner.c_bpartner_id)) or not exists ( select 1 from fshins_bpcond where fshins_bpcond.c_bpartner_id = c_bpartner.c_bpartner_id);
Date: 2026-07-13 11:00:04 Duration: 2s885ms Database: etendo User: tad Remote: 127.0.0.1 Application: openbravo Bind query: yes
-
update c_bpartner set customer_blocking = 'Y', so_invoice_blocking = 'N', so_order_blocking = 'N', so_payment_blocking = 'N', so_goods_blocking = 'Y', em_obwpl_bp_block_pickinglist = 'Y' where exists (( select 1 from fshins_bpcond where ((fshins_bpcond.date_Init > trunc(now())) OR (fshins_bpcond.date_final is not null AND fshins_bpcond.date_final < trunc(now()))) or fshins_bpcond.Fshins_Situation_ID not in ( select Fshins_Situation_ID from fshins_situation where fshins_situation.decl = 'Y') or (fshins_bpcond.Fshins_Situation_ID in ( select Fshins_Situation_ID from fshins_situation where fshins_situation.decl = 'Y') and fshins_bpcond.assigned_amount = 0) and fshins_bpcond.c_bpartner_id = c_bpartner.c_bpartner_id)) or not exists ( select 1 from fshins_bpcond where fshins_bpcond.c_bpartner_id = c_bpartner.c_bpartner_id);
Date: 2026-07-13 10:00:04 Duration: 2s883ms Database: etendo User: tad Remote: 127.0.0.1 Application: openbravo Bind query: yes
4 53s760ms 52 1s1ms 1s71ms 1s33ms select * from ( select c_invoice_id as referencekey_id, ? as ad_role_id, null as ad_user_id, ? || documentno || ? || doc.name || ? as description, ? as isactive, inv.ad_org_id, inv.ad_client_id, now() as created, ? as createdby, now() as updated, ? as updatedby, ad_column_identifier (?, c_invoice_id, ?) as record_id from c_invoice inv left join c_doctype doc on doc.c_doctype_id = inv.c_doctype_id where c_invoice_id in ( select distinct unnest(string_to_array(string_agg(priuti_getinvidsinvalidseq (dt.docnosequence_id), ?), ?)) as idsinvoices from c_doctype dt where dt.isactive = ? and dt.issotrx = ? and dt.docbasetype = ? and dt.ad_table_id = ?) order by doc.name, documentno) aaa where not exists ( select ? from ad_alert a where a.ad_alertrule_id = ? and a.referencekey_id = aaa.referencekey_id and coalesce(a.status, ?) != ?);Times Reported Time consuming queries #4
Day Hour Count Duration Avg duration Jul 13 07 5 5s95ms 1s19ms 08 2 2s82ms 1s41ms 09 4 4s83ms 1s20ms 10 3 3s18ms 1s6ms 11 1 1s28ms 1s28ms 12 4 4s101ms 1s25ms 13 4 4s176ms 1s44ms 14 4 4s194ms 1s48ms 15 4 4s189ms 1s47ms 16 4 4s210ms 1s52ms 17 4 4s155ms 1s38ms 18 4 4s191ms 1s47ms 19 4 4s165ms 1s41ms 20 3 3s39ms 1s13ms 21 2 2s28ms 1s14ms [ User: tad - Total duration: 53s760ms - Times executed: 52 ]
[ Application: openbravo - Total duration: 53s760ms - Times executed: 52 ]
-
SELECT * FROM ( select c_invoice_id as referencekey_id, '0' as ad_role_id, null as ad_user_id, 'El documento ' || documentno || ' para el documento ' || doc.name || ' tiene un salto de número en la secuencia del tipo de documento en la factura' as description, 'Y' as isActive, inv.ad_org_id, inv.ad_client_id, now() as created, '0' as createdBy, now() as updated, '0' as updatedBy, ad_column_identifier ('c_invoice', c_invoice_id, 'es_ES') AS RECORD_ID FROM c_invoice inv left join c_doctype doc on doc.c_doctype_id = inv.c_doctype_id WHERE c_invoice_id IN ( select distinct unnest(string_to_array(string_agg(priuti_getinvidsinvalidseq (dt.docnosequence_id), ','), ',')) as idsinvoices from c_doctype dt where dt.isactive = 'Y' and dt.issotrx = 'Y' and dt.docbasetype = 'ARI' and dt.ad_table_id = '318') order by doc.name, documentno) AAA where not exists ( select 1 from ad_alert a where a.ad_alertrule_id = 'C551178C7AEE4180A4BCF91AE798B7FF' and a.referencekey_id = aaa.referencekey_id and coalesce(a.status, 'NEW') != 'SOLVED');
Date: 2026-07-13 13:49:32 Duration: 1s71ms Database: etendo User: tad Remote: 127.0.0.1 Application: openbravo Bind query: yes
-
SELECT * FROM ( select c_invoice_id as referencekey_id, '0' as ad_role_id, null as ad_user_id, 'El documento ' || documentno || ' para el documento ' || doc.name || ' tiene un salto de número en la secuencia del tipo de documento en la factura' as description, 'Y' as isActive, inv.ad_org_id, inv.ad_client_id, now() as created, '0' as createdBy, now() as updated, '0' as updatedBy, ad_column_identifier ('c_invoice', c_invoice_id, 'es_ES') AS RECORD_ID FROM c_invoice inv left join c_doctype doc on doc.c_doctype_id = inv.c_doctype_id WHERE c_invoice_id IN ( select distinct unnest(string_to_array(string_agg(priuti_getinvidsinvalidseq (dt.docnosequence_id), ','), ',')) as idsinvoices from c_doctype dt where dt.isactive = 'Y' and dt.issotrx = 'Y' and dt.docbasetype = 'ARI' and dt.ad_table_id = '318') order by doc.name, documentno) AAA where not exists ( select 1 from ad_alert a where a.ad_alertrule_id = 'C551178C7AEE4180A4BCF91AE798B7FF' and a.referencekey_id = aaa.referencekey_id and coalesce(a.status, 'NEW') != 'SOLVED');
Date: 2026-07-13 16:59:32 Duration: 1s70ms Database: etendo User: tad Remote: 127.0.0.1 Application: openbravo Bind query: yes
-
SELECT * FROM ( select c_invoice_id as referencekey_id, '0' as ad_role_id, null as ad_user_id, 'El documento ' || documentno || ' para el documento ' || doc.name || ' tiene un salto de número en la secuencia del tipo de documento en la factura' as description, 'Y' as isActive, inv.ad_org_id, inv.ad_client_id, now() as created, '0' as createdBy, now() as updated, '0' as updatedBy, ad_column_identifier ('c_invoice', c_invoice_id, 'es_ES') AS RECORD_ID FROM c_invoice inv left join c_doctype doc on doc.c_doctype_id = inv.c_doctype_id WHERE c_invoice_id IN ( select distinct unnest(string_to_array(string_agg(priuti_getinvidsinvalidseq (dt.docnosequence_id), ','), ',')) as idsinvoices from c_doctype dt where dt.isactive = 'Y' and dt.issotrx = 'Y' and dt.docbasetype = 'ARI' and dt.ad_table_id = '318') order by doc.name, documentno) AAA where not exists ( select 1 from ad_alert a where a.ad_alertrule_id = 'C551178C7AEE4180A4BCF91AE798B7FF' and a.referencekey_id = aaa.referencekey_id and coalesce(a.status, 'NEW') != 'SOLVED');
Date: 2026-07-13 16:29:32 Duration: 1s67ms Database: etendo User: tad Remote: 127.0.0.1 Application: openbravo Bind query: yes
5 5s186ms 1 5s186ms 5s186ms 5s186ms select string_agg(distinct prac_checkacct_config (ca.c_acctschema_id, ca."name"), ?) from c_acctschema ca where ? = ?;Times Reported Time consuming queries #5
Day Hour Count Duration Avg duration Jul 13 07 1 5s186ms 5s186ms [ User: postgres - Total duration: 5s186ms - Times executed: 1 ]
[ Application: psql - Total duration: 5s186ms - Times executed: 1 ]
-
SELECT string_agg(distinct prac_checkacct_config (ca.c_acctschema_id, ca."name"), ' \n ') from c_acctschema ca where 1 = 1;
Date: 2026-07-13 07:16:33 Duration: 5s186ms Database: etendo User: postgres Remote: [local] Application: psql
6 3s56ms 3 1s14ms 1s25ms 1s18ms select profile.take_sample ();Times Reported Time consuming queries #6
Day Hour Count Duration Avg duration Jul 13 08 1 1s14ms 1s14ms 12 1 1s16ms 1s16ms 18 1 1s25ms 1s25ms [ User: postgres - Total duration: 3s56ms - Times executed: 3 ]
[ Application: psql - Total duration: 3s56ms - Times executed: 3 ]
-
SELECT profile.take_sample ();
Date: 2026-07-13 18:00:02 Duration: 1s25ms Database: etendo User: postgres Remote: [local] Application: psql
-
SELECT profile.take_sample ();
Date: 2026-07-13 12:00:02 Duration: 1s16ms Database: etendo User: postgres Remote: [local] Application: psql
-
SELECT profile.take_sample ();
Date: 2026-07-13 08:00:02 Duration: 1s14ms Database: etendo User: postgres Remote: [local] Application: psql
Most frequent queries (N)
Rank Times executed Total duration Min duration Max duration Avg duration Query 1 90 2m9s 1s382ms 1s539ms 1s441ms select * from ( select aud.bpid as referencekey_id, ad_column_identifier (?, aud.bpid, ?) as record_id, ? as ad_role_id, null as ad_user_id, ? || aud.username || ? || aud.colname || ? || coalesce(aud.oldval, ?) || ? || coalesce(aud.newval, ?) as description, ? as isactive, ? as ad_org_id, ? as ad_client_id, now() as created, ? as createdby, now() as updated, ? as updatedby from ( select aud.ad_audit_trail_id as audid, bp.c_bpartner_id as bpid, col.name as colname, aud.old_value as oldval, aud.new_value as newval, us.name as username from ad_audit_trail_v aud left join ad_column col on col.ad_column_id = aud.ad_column_id left join c_bpartner bp on bp.c_bpartner_id = aud.record_id left join ad_user us on bp.updatedby = us.ad_user_id where aud.action = ? and aud.ad_table_id = ? and aud.updated > to_date(?, ?) and bp.c_bpartner_id is not null) as aud) aaa where not exists ( select ? from ad_alert a where a.ad_alertrule_id = ? and a.referencekey_id = aaa.referencekey_id and coalesce(a.status, ?) != ?);Times Reported Time consuming queries #1
Day Hour Count Duration Avg duration Jul 13 07 6 8s499ms 1s416ms 08 6 8s713ms 1s452ms 09 6 8s561ms 1s426ms 10 6 8s660ms 1s443ms 11 6 8s874ms 1s479ms 12 6 8s581ms 1s430ms 13 6 8s588ms 1s431ms 14 6 8s550ms 1s425ms 15 6 8s612ms 1s435ms 16 6 8s681ms 1s446ms 17 6 8s651ms 1s441ms 18 6 8s620ms 1s436ms 19 6 8s618ms 1s436ms 20 6 8s717ms 1s452ms 21 6 8s812ms 1s468ms [ User: tad - Total duration: 2m9s - Times executed: 90 ]
[ Application: openbravo - Total duration: 2m9s - Times executed: 90 ]
-
SELECT * FROM ( select aud.bpid as referencekey_id, ad_column_identifier ('c_bpartner', aud.bpid, 'en_US') AS record_id, '0' AS ad_role_id, NULL AS ad_user_id, 'USUARIO: ' || aud.username || ' - CAMPO: ' || aud.colname || ' - VALOR ANTIGUO: ' || coalesce(aud.oldval, 'null') || ' - VALOR ACTUAL: ' || coalesce(aud.newval, 'null') as description, 'Y' AS isActive, 'E3E23266C9CE4E91971071A3D8BF481A' as ad_org_id, '523673B50F634B52908327A51F066C5D' as ad_client_id, now() as created, '0' as createdBy, now() as updated, '0' as updatedBy from ( select aud.ad_audit_trail_id as audid, bp.c_bpartner_id as bpid, col.name as colname, aud.old_value as oldval, aud.new_value as newval, us.name as username from ad_audit_trail_v aud left join ad_column col on col.ad_column_id = aud.ad_column_id left join c_bpartner bp on bp.c_bpartner_id = aud.record_id left join ad_user us on bp.updatedby = us.ad_user_id where aud.action = 'U' and aud.ad_table_id = '291' and aud.updated > to_date('01-06-2021', 'dd-MM-yyyy') and bp.c_bpartner_id is not null) as aud) AAA where not exists ( select 1 from ad_alert a where a.ad_alertrule_id = 'CBE7E1A5BF294F14907C7F4F9876B4BA' and a.referencekey_id = aaa.referencekey_id and coalesce(a.status, 'NEW') != 'SOLVED');
Date: 2026-07-13 16:49:30 Duration: 1s539ms Database: etendo User: tad Remote: 127.0.0.1 Application: openbravo Bind query: yes
-
SELECT * FROM ( select aud.bpid as referencekey_id, ad_column_identifier ('c_bpartner', aud.bpid, 'en_US') AS record_id, '0' AS ad_role_id, NULL AS ad_user_id, 'USUARIO: ' || aud.username || ' - CAMPO: ' || aud.colname || ' - VALOR ANTIGUO: ' || coalesce(aud.oldval, 'null') || ' - VALOR ACTUAL: ' || coalesce(aud.newval, 'null') as description, 'Y' AS isActive, 'E3E23266C9CE4E91971071A3D8BF481A' as ad_org_id, '523673B50F634B52908327A51F066C5D' as ad_client_id, now() as created, '0' as createdBy, now() as updated, '0' as updatedBy from ( select aud.ad_audit_trail_id as audid, bp.c_bpartner_id as bpid, col.name as colname, aud.old_value as oldval, aud.new_value as newval, us.name as username from ad_audit_trail_v aud left join ad_column col on col.ad_column_id = aud.ad_column_id left join c_bpartner bp on bp.c_bpartner_id = aud.record_id left join ad_user us on bp.updatedby = us.ad_user_id where aud.action = 'U' and aud.ad_table_id = '291' and aud.updated > to_date('01-06-2021', 'dd-MM-yyyy') and bp.c_bpartner_id is not null) as aud) AAA where not exists ( select 1 from ad_alert a where a.ad_alertrule_id = 'CBE7E1A5BF294F14907C7F4F9876B4BA' and a.referencekey_id = aaa.referencekey_id and coalesce(a.status, 'NEW') != 'SOLVED');
Date: 2026-07-13 21:19:30 Duration: 1s513ms Database: etendo User: tad Remote: 127.0.0.1 Application: openbravo Bind query: yes
-
SELECT * FROM ( select aud.bpid as referencekey_id, ad_column_identifier ('c_bpartner', aud.bpid, 'en_US') AS record_id, '0' AS ad_role_id, NULL AS ad_user_id, 'USUARIO: ' || aud.username || ' - CAMPO: ' || aud.colname || ' - VALOR ANTIGUO: ' || coalesce(aud.oldval, 'null') || ' - VALOR ACTUAL: ' || coalesce(aud.newval, 'null') as description, 'Y' AS isActive, 'E3E23266C9CE4E91971071A3D8BF481A' as ad_org_id, '523673B50F634B52908327A51F066C5D' as ad_client_id, now() as created, '0' as createdBy, now() as updated, '0' as updatedBy from ( select aud.ad_audit_trail_id as audid, bp.c_bpartner_id as bpid, col.name as colname, aud.old_value as oldval, aud.new_value as newval, us.name as username from ad_audit_trail_v aud left join ad_column col on col.ad_column_id = aud.ad_column_id left join c_bpartner bp on bp.c_bpartner_id = aud.record_id left join ad_user us on bp.updatedby = us.ad_user_id where aud.action = 'U' and aud.ad_table_id = '291' and aud.updated > to_date('01-06-2021', 'dd-MM-yyyy') and bp.c_bpartner_id is not null) as aud) AAA where not exists ( select 1 from ad_alert a where a.ad_alertrule_id = 'CBE7E1A5BF294F14907C7F4F9876B4BA' and a.referencekey_id = aaa.referencekey_id and coalesce(a.status, 'NEW') != 'SOLVED');
Date: 2026-07-13 20:09:30 Duration: 1s510ms Database: etendo User: tad Remote: 127.0.0.1 Application: openbravo Bind query: yes
2 84 1m26s 1s 1s77ms 1s30ms update ad_alert set status = ?, updated = now(), updatedby = ? where ad_alertrule_id = ? and coalesce(status, ?) != ? and not exists ( select ? from ( select c_invoice_id as referencekey_id, ? as ad_role_id, null as ad_user_id, ? || documentno || ? || doc.name || ? as description, ? as isactive, inv.ad_org_id, inv.ad_client_id, now() as created, ? as createdby, now() as updated, ? as updatedby, ad_column_identifier (?, c_invoice_id, ?) as record_id from c_invoice inv left join c_doctype doc on doc.c_doctype_id = inv.c_doctype_id where c_invoice_id in ( select distinct unnest(string_to_array(string_agg(priuti_getinvidsinvalidseq (dt.docnosequence_id), ?), ?)) as idsinvoices from c_doctype dt where dt.isactive = ? and dt.issotrx = ? and dt.docbasetype = ? and dt.ad_table_id = ?) order by doc.name, documentno) a where ? = ? and a.referencekey_id = ad_alert.referencekey_id);Times Reported Time consuming queries #2
Day Hour Count Duration Avg duration Jul 13 07 6 6s101ms 1s16ms 08 6 6s230ms 1s38ms 09 6 6s172ms 1s28ms 10 6 6s54ms 1s9ms 11 4 4s80ms 1s20ms 12 5 5s134ms 1s26ms 13 6 6s218ms 1s36ms 14 6 6s231ms 1s38ms 15 6 6s209ms 1s34ms 16 5 5s203ms 1s40ms 17 6 6s190ms 1s31ms 18 6 6s310ms 1s51ms 19 6 6s227ms 1s37ms 20 4 4s77ms 1s19ms 21 6 6s95ms 1s15ms [ User: tad - Total duration: 1m26s - Times executed: 84 ]
[ Application: openbravo - Total duration: 1m26s - Times executed: 84 ]
-
UPDATE AD_ALERT SET STATUS = 'SOLVED', UPDATED = NOW(), UPDATEDBY = 0 WHERE AD_ALERTRULE_ID = 'C551178C7AEE4180A4BCF91AE798B7FF' AND COALESCE(STATUS, 'NEW') != 'SOLVED' AND NOT EXISTS ( SELECT 1 FROM ( select c_invoice_id as referencekey_id, '0' as ad_role_id, null as ad_user_id, 'El documento ' || documentno || ' para el documento ' || doc.name || ' tiene un salto de número en la secuencia del tipo de documento en la factura' as description, 'Y' as isActive, inv.ad_org_id, inv.ad_client_id, now() as created, '0' as createdBy, now() as updated, '0' as updatedBy, ad_column_identifier ('c_invoice', c_invoice_id, 'es_ES') AS RECORD_ID FROM c_invoice inv left join c_doctype doc on doc.c_doctype_id = inv.c_doctype_id WHERE c_invoice_id IN ( select distinct unnest(string_to_array(string_agg(priuti_getinvidsinvalidseq (dt.docnosequence_id), ','), ',')) as idsinvoices from c_doctype dt where dt.isactive = 'Y' and dt.issotrx = 'Y' and dt.docbasetype = 'ARI' and dt.ad_table_id = '318') order by doc.name, documentno) A WHERE 1 = 1 AND A.REFERENCEKEY_ID = AD_ALERT.REFERENCEKEY_ID);
Date: 2026-07-13 17:49:33 Duration: 1s77ms Database: etendo User: tad Remote: 127.0.0.1 Application: openbravo Bind query: yes
-
UPDATE AD_ALERT SET STATUS = 'SOLVED', UPDATED = NOW(), UPDATEDBY = 0 WHERE AD_ALERTRULE_ID = 'C551178C7AEE4180A4BCF91AE798B7FF' AND COALESCE(STATUS, 'NEW') != 'SOLVED' AND NOT EXISTS ( SELECT 1 FROM ( select c_invoice_id as referencekey_id, '0' as ad_role_id, null as ad_user_id, 'El documento ' || documentno || ' para el documento ' || doc.name || ' tiene un salto de número en la secuencia del tipo de documento en la factura' as description, 'Y' as isActive, inv.ad_org_id, inv.ad_client_id, now() as created, '0' as createdBy, now() as updated, '0' as updatedBy, ad_column_identifier ('c_invoice', c_invoice_id, 'es_ES') AS RECORD_ID FROM c_invoice inv left join c_doctype doc on doc.c_doctype_id = inv.c_doctype_id WHERE c_invoice_id IN ( select distinct unnest(string_to_array(string_agg(priuti_getinvidsinvalidseq (dt.docnosequence_id), ','), ',')) as idsinvoices from c_doctype dt where dt.isactive = 'Y' and dt.issotrx = 'Y' and dt.docbasetype = 'ARI' and dt.ad_table_id = '318') order by doc.name, documentno) A WHERE 1 = 1 AND A.REFERENCEKEY_ID = AD_ALERT.REFERENCEKEY_ID);
Date: 2026-07-13 16:19:32 Duration: 1s71ms Database: etendo User: tad Remote: 127.0.0.1 Application: openbravo Bind query: yes
-
UPDATE AD_ALERT SET STATUS = 'SOLVED', UPDATED = NOW(), UPDATEDBY = 0 WHERE AD_ALERTRULE_ID = 'C551178C7AEE4180A4BCF91AE798B7FF' AND COALESCE(STATUS, 'NEW') != 'SOLVED' AND NOT EXISTS ( SELECT 1 FROM ( select c_invoice_id as referencekey_id, '0' as ad_role_id, null as ad_user_id, 'El documento ' || documentno || ' para el documento ' || doc.name || ' tiene un salto de número en la secuencia del tipo de documento en la factura' as description, 'Y' as isActive, inv.ad_org_id, inv.ad_client_id, now() as created, '0' as createdBy, now() as updated, '0' as updatedBy, ad_column_identifier ('c_invoice', c_invoice_id, 'es_ES') AS RECORD_ID FROM c_invoice inv left join c_doctype doc on doc.c_doctype_id = inv.c_doctype_id WHERE c_invoice_id IN ( select distinct unnest(string_to_array(string_agg(priuti_getinvidsinvalidseq (dt.docnosequence_id), ','), ',')) as idsinvoices from c_doctype dt where dt.isactive = 'Y' and dt.issotrx = 'Y' and dt.docbasetype = 'ARI' and dt.ad_table_id = '318') order by doc.name, documentno) A WHERE 1 = 1 AND A.REFERENCEKEY_ID = AD_ALERT.REFERENCEKEY_ID);
Date: 2026-07-13 16:59:33 Duration: 1s71ms Database: etendo User: tad Remote: 127.0.0.1 Application: openbravo Bind query: yes
3 52 53s760ms 1s1ms 1s71ms 1s33ms select * from ( select c_invoice_id as referencekey_id, ? as ad_role_id, null as ad_user_id, ? || documentno || ? || doc.name || ? as description, ? as isactive, inv.ad_org_id, inv.ad_client_id, now() as created, ? as createdby, now() as updated, ? as updatedby, ad_column_identifier (?, c_invoice_id, ?) as record_id from c_invoice inv left join c_doctype doc on doc.c_doctype_id = inv.c_doctype_id where c_invoice_id in ( select distinct unnest(string_to_array(string_agg(priuti_getinvidsinvalidseq (dt.docnosequence_id), ?), ?)) as idsinvoices from c_doctype dt where dt.isactive = ? and dt.issotrx = ? and dt.docbasetype = ? and dt.ad_table_id = ?) order by doc.name, documentno) aaa where not exists ( select ? from ad_alert a where a.ad_alertrule_id = ? and a.referencekey_id = aaa.referencekey_id and coalesce(a.status, ?) != ?);Times Reported Time consuming queries #3
Day Hour Count Duration Avg duration Jul 13 07 5 5s95ms 1s19ms 08 2 2s82ms 1s41ms 09 4 4s83ms 1s20ms 10 3 3s18ms 1s6ms 11 1 1s28ms 1s28ms 12 4 4s101ms 1s25ms 13 4 4s176ms 1s44ms 14 4 4s194ms 1s48ms 15 4 4s189ms 1s47ms 16 4 4s210ms 1s52ms 17 4 4s155ms 1s38ms 18 4 4s191ms 1s47ms 19 4 4s165ms 1s41ms 20 3 3s39ms 1s13ms 21 2 2s28ms 1s14ms [ User: tad - Total duration: 53s760ms - Times executed: 52 ]
[ Application: openbravo - Total duration: 53s760ms - Times executed: 52 ]
-
SELECT * FROM ( select c_invoice_id as referencekey_id, '0' as ad_role_id, null as ad_user_id, 'El documento ' || documentno || ' para el documento ' || doc.name || ' tiene un salto de número en la secuencia del tipo de documento en la factura' as description, 'Y' as isActive, inv.ad_org_id, inv.ad_client_id, now() as created, '0' as createdBy, now() as updated, '0' as updatedBy, ad_column_identifier ('c_invoice', c_invoice_id, 'es_ES') AS RECORD_ID FROM c_invoice inv left join c_doctype doc on doc.c_doctype_id = inv.c_doctype_id WHERE c_invoice_id IN ( select distinct unnest(string_to_array(string_agg(priuti_getinvidsinvalidseq (dt.docnosequence_id), ','), ',')) as idsinvoices from c_doctype dt where dt.isactive = 'Y' and dt.issotrx = 'Y' and dt.docbasetype = 'ARI' and dt.ad_table_id = '318') order by doc.name, documentno) AAA where not exists ( select 1 from ad_alert a where a.ad_alertrule_id = 'C551178C7AEE4180A4BCF91AE798B7FF' and a.referencekey_id = aaa.referencekey_id and coalesce(a.status, 'NEW') != 'SOLVED');
Date: 2026-07-13 13:49:32 Duration: 1s71ms Database: etendo User: tad Remote: 127.0.0.1 Application: openbravo Bind query: yes
-
SELECT * FROM ( select c_invoice_id as referencekey_id, '0' as ad_role_id, null as ad_user_id, 'El documento ' || documentno || ' para el documento ' || doc.name || ' tiene un salto de número en la secuencia del tipo de documento en la factura' as description, 'Y' as isActive, inv.ad_org_id, inv.ad_client_id, now() as created, '0' as createdBy, now() as updated, '0' as updatedBy, ad_column_identifier ('c_invoice', c_invoice_id, 'es_ES') AS RECORD_ID FROM c_invoice inv left join c_doctype doc on doc.c_doctype_id = inv.c_doctype_id WHERE c_invoice_id IN ( select distinct unnest(string_to_array(string_agg(priuti_getinvidsinvalidseq (dt.docnosequence_id), ','), ',')) as idsinvoices from c_doctype dt where dt.isactive = 'Y' and dt.issotrx = 'Y' and dt.docbasetype = 'ARI' and dt.ad_table_id = '318') order by doc.name, documentno) AAA where not exists ( select 1 from ad_alert a where a.ad_alertrule_id = 'C551178C7AEE4180A4BCF91AE798B7FF' and a.referencekey_id = aaa.referencekey_id and coalesce(a.status, 'NEW') != 'SOLVED');
Date: 2026-07-13 16:59:32 Duration: 1s70ms Database: etendo User: tad Remote: 127.0.0.1 Application: openbravo Bind query: yes
-
SELECT * FROM ( select c_invoice_id as referencekey_id, '0' as ad_role_id, null as ad_user_id, 'El documento ' || documentno || ' para el documento ' || doc.name || ' tiene un salto de número en la secuencia del tipo de documento en la factura' as description, 'Y' as isActive, inv.ad_org_id, inv.ad_client_id, now() as created, '0' as createdBy, now() as updated, '0' as updatedBy, ad_column_identifier ('c_invoice', c_invoice_id, 'es_ES') AS RECORD_ID FROM c_invoice inv left join c_doctype doc on doc.c_doctype_id = inv.c_doctype_id WHERE c_invoice_id IN ( select distinct unnest(string_to_array(string_agg(priuti_getinvidsinvalidseq (dt.docnosequence_id), ','), ',')) as idsinvoices from c_doctype dt where dt.isactive = 'Y' and dt.issotrx = 'Y' and dt.docbasetype = 'ARI' and dt.ad_table_id = '318') order by doc.name, documentno) AAA where not exists ( select 1 from ad_alert a where a.ad_alertrule_id = 'C551178C7AEE4180A4BCF91AE798B7FF' and a.referencekey_id = aaa.referencekey_id and coalesce(a.status, 'NEW') != 'SOLVED');
Date: 2026-07-13 16:29:32 Duration: 1s67ms Database: etendo User: tad Remote: 127.0.0.1 Application: openbravo Bind query: yes
4 30 1m22s 2s557ms 2s922ms 2s738ms update c_bpartner set customer_blocking = ?, so_invoice_blocking = ?, so_order_blocking = ?, so_payment_blocking = ?, so_goods_blocking = ?, em_obwpl_bp_block_pickinglist = ? where exists (( select ? from fshins_bpcond where ((fshins_bpcond.date_init > trunc(now())) or (fshins_bpcond.date_final is not null and fshins_bpcond.date_final < trunc(now()))) or fshins_bpcond.fshins_situation_id not in ( select fshins_situation_id from fshins_situation where fshins_situation.decl = ?) or (fshins_bpcond.fshins_situation_id in ( select fshins_situation_id from fshins_situation where fshins_situation.decl = ?) and fshins_bpcond.assigned_amount = ?) and fshins_bpcond.c_bpartner_id = c_bpartner.c_bpartner_id)) or not exists ( select ? from fshins_bpcond where fshins_bpcond.c_bpartner_id = c_bpartner.c_bpartner_id);Times Reported Time consuming queries #4
Day Hour Count Duration Avg duration Jul 13 07 2 5s585ms 2s792ms 08 2 5s393ms 2s696ms 09 2 5s581ms 2s790ms 10 2 5s590ms 2s795ms 11 2 5s582ms 2s791ms 12 2 5s473ms 2s736ms 13 2 5s482ms 2s741ms 14 2 5s689ms 2s844ms 15 2 5s505ms 2s752ms 16 2 5s515ms 2s757ms 17 2 5s280ms 2s640ms 18 2 5s476ms 2s738ms 19 2 5s382ms 2s691ms 20 2 5s315ms 2s657ms 21 2 5s289ms 2s644ms [ User: tad - Total duration: 1m22s - Times executed: 30 ]
[ Application: openbravo - Total duration: 1m22s - Times executed: 30 ]
-
update c_bpartner set customer_blocking = 'Y', so_invoice_blocking = 'N', so_order_blocking = 'N', so_payment_blocking = 'N', so_goods_blocking = 'Y', em_obwpl_bp_block_pickinglist = 'Y' where exists (( select 1 from fshins_bpcond where ((fshins_bpcond.date_Init > trunc(now())) OR (fshins_bpcond.date_final is not null AND fshins_bpcond.date_final < trunc(now()))) or fshins_bpcond.Fshins_Situation_ID not in ( select Fshins_Situation_ID from fshins_situation where fshins_situation.decl = 'Y') or (fshins_bpcond.Fshins_Situation_ID in ( select Fshins_Situation_ID from fshins_situation where fshins_situation.decl = 'Y') and fshins_bpcond.assigned_amount = 0) and fshins_bpcond.c_bpartner_id = c_bpartner.c_bpartner_id)) or not exists ( select 1 from fshins_bpcond where fshins_bpcond.c_bpartner_id = c_bpartner.c_bpartner_id);
Date: 2026-07-13 14:00:04 Duration: 2s922ms Database: etendo User: tad Remote: 127.0.0.1 Application: openbravo Bind query: yes
-
update c_bpartner set customer_blocking = 'Y', so_invoice_blocking = 'N', so_order_blocking = 'N', so_payment_blocking = 'N', so_goods_blocking = 'Y', em_obwpl_bp_block_pickinglist = 'Y' where exists (( select 1 from fshins_bpcond where ((fshins_bpcond.date_Init > trunc(now())) OR (fshins_bpcond.date_final is not null AND fshins_bpcond.date_final < trunc(now()))) or fshins_bpcond.Fshins_Situation_ID not in ( select Fshins_Situation_ID from fshins_situation where fshins_situation.decl = 'Y') or (fshins_bpcond.Fshins_Situation_ID in ( select Fshins_Situation_ID from fshins_situation where fshins_situation.decl = 'Y') and fshins_bpcond.assigned_amount = 0) and fshins_bpcond.c_bpartner_id = c_bpartner.c_bpartner_id)) or not exists ( select 1 from fshins_bpcond where fshins_bpcond.c_bpartner_id = c_bpartner.c_bpartner_id);
Date: 2026-07-13 11:00:04 Duration: 2s885ms Database: etendo User: tad Remote: 127.0.0.1 Application: openbravo Bind query: yes
-
update c_bpartner set customer_blocking = 'Y', so_invoice_blocking = 'N', so_order_blocking = 'N', so_payment_blocking = 'N', so_goods_blocking = 'Y', em_obwpl_bp_block_pickinglist = 'Y' where exists (( select 1 from fshins_bpcond where ((fshins_bpcond.date_Init > trunc(now())) OR (fshins_bpcond.date_final is not null AND fshins_bpcond.date_final < trunc(now()))) or fshins_bpcond.Fshins_Situation_ID not in ( select Fshins_Situation_ID from fshins_situation where fshins_situation.decl = 'Y') or (fshins_bpcond.Fshins_Situation_ID in ( select Fshins_Situation_ID from fshins_situation where fshins_situation.decl = 'Y') and fshins_bpcond.assigned_amount = 0) and fshins_bpcond.c_bpartner_id = c_bpartner.c_bpartner_id)) or not exists ( select 1 from fshins_bpcond where fshins_bpcond.c_bpartner_id = c_bpartner.c_bpartner_id);
Date: 2026-07-13 10:00:04 Duration: 2s883ms Database: etendo User: tad Remote: 127.0.0.1 Application: openbravo Bind query: yes
5 3 3s56ms 1s14ms 1s25ms 1s18ms select profile.take_sample ();Times Reported Time consuming queries #5
Day Hour Count Duration Avg duration Jul 13 08 1 1s14ms 1s14ms 12 1 1s16ms 1s16ms 18 1 1s25ms 1s25ms [ User: postgres - Total duration: 3s56ms - Times executed: 3 ]
[ Application: psql - Total duration: 3s56ms - Times executed: 3 ]
-
SELECT profile.take_sample ();
Date: 2026-07-13 18:00:02 Duration: 1s25ms Database: etendo User: postgres Remote: [local] Application: psql
-
SELECT profile.take_sample ();
Date: 2026-07-13 12:00:02 Duration: 1s16ms Database: etendo User: postgres Remote: [local] Application: psql
-
SELECT profile.take_sample ();
Date: 2026-07-13 08:00:02 Duration: 1s14ms Database: etendo User: postgres Remote: [local] Application: psql
6 1 5s186ms 5s186ms 5s186ms 5s186ms select string_agg(distinct prac_checkacct_config (ca.c_acctschema_id, ca."name"), ?) from c_acctschema ca where ? = ?;Times Reported Time consuming queries #6
Day Hour Count Duration Avg duration Jul 13 07 1 5s186ms 5s186ms [ User: postgres - Total duration: 5s186ms - Times executed: 1 ]
[ Application: psql - Total duration: 5s186ms - Times executed: 1 ]
-
SELECT string_agg(distinct prac_checkacct_config (ca.c_acctschema_id, ca."name"), ' \n ') from c_acctschema ca where 1 = 1;
Date: 2026-07-13 07:16:33 Duration: 5s186ms Database: etendo User: postgres Remote: [local] Application: psql
Normalized slowest queries (N)
Rank Min duration Max duration Avg duration Times executed Total duration Query 1 5s186ms 5s186ms 5s186ms 1 5s186ms select string_agg(distinct prac_checkacct_config (ca.c_acctschema_id, ca."name"), ?) from c_acctschema ca where ? = ?;Times Reported Time consuming queries #1
Day Hour Count Duration Avg duration Jul 13 07 1 5s186ms 5s186ms [ User: postgres - Total duration: 5s186ms - Times executed: 1 ]
[ Application: psql - Total duration: 5s186ms - Times executed: 1 ]
-
SELECT string_agg(distinct prac_checkacct_config (ca.c_acctschema_id, ca."name"), ' \n ') from c_acctschema ca where 1 = 1;
Date: 2026-07-13 07:16:33 Duration: 5s186ms Database: etendo User: postgres Remote: [local] Application: psql
2 2s557ms 2s922ms 2s738ms 30 1m22s update c_bpartner set customer_blocking = ?, so_invoice_blocking = ?, so_order_blocking = ?, so_payment_blocking = ?, so_goods_blocking = ?, em_obwpl_bp_block_pickinglist = ? where exists (( select ? from fshins_bpcond where ((fshins_bpcond.date_init > trunc(now())) or (fshins_bpcond.date_final is not null and fshins_bpcond.date_final < trunc(now()))) or fshins_bpcond.fshins_situation_id not in ( select fshins_situation_id from fshins_situation where fshins_situation.decl = ?) or (fshins_bpcond.fshins_situation_id in ( select fshins_situation_id from fshins_situation where fshins_situation.decl = ?) and fshins_bpcond.assigned_amount = ?) and fshins_bpcond.c_bpartner_id = c_bpartner.c_bpartner_id)) or not exists ( select ? from fshins_bpcond where fshins_bpcond.c_bpartner_id = c_bpartner.c_bpartner_id);Times Reported Time consuming queries #2
Day Hour Count Duration Avg duration Jul 13 07 2 5s585ms 2s792ms 08 2 5s393ms 2s696ms 09 2 5s581ms 2s790ms 10 2 5s590ms 2s795ms 11 2 5s582ms 2s791ms 12 2 5s473ms 2s736ms 13 2 5s482ms 2s741ms 14 2 5s689ms 2s844ms 15 2 5s505ms 2s752ms 16 2 5s515ms 2s757ms 17 2 5s280ms 2s640ms 18 2 5s476ms 2s738ms 19 2 5s382ms 2s691ms 20 2 5s315ms 2s657ms 21 2 5s289ms 2s644ms [ User: tad - Total duration: 1m22s - Times executed: 30 ]
[ Application: openbravo - Total duration: 1m22s - Times executed: 30 ]
-
update c_bpartner set customer_blocking = 'Y', so_invoice_blocking = 'N', so_order_blocking = 'N', so_payment_blocking = 'N', so_goods_blocking = 'Y', em_obwpl_bp_block_pickinglist = 'Y' where exists (( select 1 from fshins_bpcond where ((fshins_bpcond.date_Init > trunc(now())) OR (fshins_bpcond.date_final is not null AND fshins_bpcond.date_final < trunc(now()))) or fshins_bpcond.Fshins_Situation_ID not in ( select Fshins_Situation_ID from fshins_situation where fshins_situation.decl = 'Y') or (fshins_bpcond.Fshins_Situation_ID in ( select Fshins_Situation_ID from fshins_situation where fshins_situation.decl = 'Y') and fshins_bpcond.assigned_amount = 0) and fshins_bpcond.c_bpartner_id = c_bpartner.c_bpartner_id)) or not exists ( select 1 from fshins_bpcond where fshins_bpcond.c_bpartner_id = c_bpartner.c_bpartner_id);
Date: 2026-07-13 14:00:04 Duration: 2s922ms Database: etendo User: tad Remote: 127.0.0.1 Application: openbravo Bind query: yes
-
update c_bpartner set customer_blocking = 'Y', so_invoice_blocking = 'N', so_order_blocking = 'N', so_payment_blocking = 'N', so_goods_blocking = 'Y', em_obwpl_bp_block_pickinglist = 'Y' where exists (( select 1 from fshins_bpcond where ((fshins_bpcond.date_Init > trunc(now())) OR (fshins_bpcond.date_final is not null AND fshins_bpcond.date_final < trunc(now()))) or fshins_bpcond.Fshins_Situation_ID not in ( select Fshins_Situation_ID from fshins_situation where fshins_situation.decl = 'Y') or (fshins_bpcond.Fshins_Situation_ID in ( select Fshins_Situation_ID from fshins_situation where fshins_situation.decl = 'Y') and fshins_bpcond.assigned_amount = 0) and fshins_bpcond.c_bpartner_id = c_bpartner.c_bpartner_id)) or not exists ( select 1 from fshins_bpcond where fshins_bpcond.c_bpartner_id = c_bpartner.c_bpartner_id);
Date: 2026-07-13 11:00:04 Duration: 2s885ms Database: etendo User: tad Remote: 127.0.0.1 Application: openbravo Bind query: yes
-
update c_bpartner set customer_blocking = 'Y', so_invoice_blocking = 'N', so_order_blocking = 'N', so_payment_blocking = 'N', so_goods_blocking = 'Y', em_obwpl_bp_block_pickinglist = 'Y' where exists (( select 1 from fshins_bpcond where ((fshins_bpcond.date_Init > trunc(now())) OR (fshins_bpcond.date_final is not null AND fshins_bpcond.date_final < trunc(now()))) or fshins_bpcond.Fshins_Situation_ID not in ( select Fshins_Situation_ID from fshins_situation where fshins_situation.decl = 'Y') or (fshins_bpcond.Fshins_Situation_ID in ( select Fshins_Situation_ID from fshins_situation where fshins_situation.decl = 'Y') and fshins_bpcond.assigned_amount = 0) and fshins_bpcond.c_bpartner_id = c_bpartner.c_bpartner_id)) or not exists ( select 1 from fshins_bpcond where fshins_bpcond.c_bpartner_id = c_bpartner.c_bpartner_id);
Date: 2026-07-13 10:00:04 Duration: 2s883ms Database: etendo User: tad Remote: 127.0.0.1 Application: openbravo Bind query: yes
3 1s382ms 1s539ms 1s441ms 90 2m9s select * from ( select aud.bpid as referencekey_id, ad_column_identifier (?, aud.bpid, ?) as record_id, ? as ad_role_id, null as ad_user_id, ? || aud.username || ? || aud.colname || ? || coalesce(aud.oldval, ?) || ? || coalesce(aud.newval, ?) as description, ? as isactive, ? as ad_org_id, ? as ad_client_id, now() as created, ? as createdby, now() as updated, ? as updatedby from ( select aud.ad_audit_trail_id as audid, bp.c_bpartner_id as bpid, col.name as colname, aud.old_value as oldval, aud.new_value as newval, us.name as username from ad_audit_trail_v aud left join ad_column col on col.ad_column_id = aud.ad_column_id left join c_bpartner bp on bp.c_bpartner_id = aud.record_id left join ad_user us on bp.updatedby = us.ad_user_id where aud.action = ? and aud.ad_table_id = ? and aud.updated > to_date(?, ?) and bp.c_bpartner_id is not null) as aud) aaa where not exists ( select ? from ad_alert a where a.ad_alertrule_id = ? and a.referencekey_id = aaa.referencekey_id and coalesce(a.status, ?) != ?);Times Reported Time consuming queries #3
Day Hour Count Duration Avg duration Jul 13 07 6 8s499ms 1s416ms 08 6 8s713ms 1s452ms 09 6 8s561ms 1s426ms 10 6 8s660ms 1s443ms 11 6 8s874ms 1s479ms 12 6 8s581ms 1s430ms 13 6 8s588ms 1s431ms 14 6 8s550ms 1s425ms 15 6 8s612ms 1s435ms 16 6 8s681ms 1s446ms 17 6 8s651ms 1s441ms 18 6 8s620ms 1s436ms 19 6 8s618ms 1s436ms 20 6 8s717ms 1s452ms 21 6 8s812ms 1s468ms [ User: tad - Total duration: 2m9s - Times executed: 90 ]
[ Application: openbravo - Total duration: 2m9s - Times executed: 90 ]
-
SELECT * FROM ( select aud.bpid as referencekey_id, ad_column_identifier ('c_bpartner', aud.bpid, 'en_US') AS record_id, '0' AS ad_role_id, NULL AS ad_user_id, 'USUARIO: ' || aud.username || ' - CAMPO: ' || aud.colname || ' - VALOR ANTIGUO: ' || coalesce(aud.oldval, 'null') || ' - VALOR ACTUAL: ' || coalesce(aud.newval, 'null') as description, 'Y' AS isActive, 'E3E23266C9CE4E91971071A3D8BF481A' as ad_org_id, '523673B50F634B52908327A51F066C5D' as ad_client_id, now() as created, '0' as createdBy, now() as updated, '0' as updatedBy from ( select aud.ad_audit_trail_id as audid, bp.c_bpartner_id as bpid, col.name as colname, aud.old_value as oldval, aud.new_value as newval, us.name as username from ad_audit_trail_v aud left join ad_column col on col.ad_column_id = aud.ad_column_id left join c_bpartner bp on bp.c_bpartner_id = aud.record_id left join ad_user us on bp.updatedby = us.ad_user_id where aud.action = 'U' and aud.ad_table_id = '291' and aud.updated > to_date('01-06-2021', 'dd-MM-yyyy') and bp.c_bpartner_id is not null) as aud) AAA where not exists ( select 1 from ad_alert a where a.ad_alertrule_id = 'CBE7E1A5BF294F14907C7F4F9876B4BA' and a.referencekey_id = aaa.referencekey_id and coalesce(a.status, 'NEW') != 'SOLVED');
Date: 2026-07-13 16:49:30 Duration: 1s539ms Database: etendo User: tad Remote: 127.0.0.1 Application: openbravo Bind query: yes
-
SELECT * FROM ( select aud.bpid as referencekey_id, ad_column_identifier ('c_bpartner', aud.bpid, 'en_US') AS record_id, '0' AS ad_role_id, NULL AS ad_user_id, 'USUARIO: ' || aud.username || ' - CAMPO: ' || aud.colname || ' - VALOR ANTIGUO: ' || coalesce(aud.oldval, 'null') || ' - VALOR ACTUAL: ' || coalesce(aud.newval, 'null') as description, 'Y' AS isActive, 'E3E23266C9CE4E91971071A3D8BF481A' as ad_org_id, '523673B50F634B52908327A51F066C5D' as ad_client_id, now() as created, '0' as createdBy, now() as updated, '0' as updatedBy from ( select aud.ad_audit_trail_id as audid, bp.c_bpartner_id as bpid, col.name as colname, aud.old_value as oldval, aud.new_value as newval, us.name as username from ad_audit_trail_v aud left join ad_column col on col.ad_column_id = aud.ad_column_id left join c_bpartner bp on bp.c_bpartner_id = aud.record_id left join ad_user us on bp.updatedby = us.ad_user_id where aud.action = 'U' and aud.ad_table_id = '291' and aud.updated > to_date('01-06-2021', 'dd-MM-yyyy') and bp.c_bpartner_id is not null) as aud) AAA where not exists ( select 1 from ad_alert a where a.ad_alertrule_id = 'CBE7E1A5BF294F14907C7F4F9876B4BA' and a.referencekey_id = aaa.referencekey_id and coalesce(a.status, 'NEW') != 'SOLVED');
Date: 2026-07-13 21:19:30 Duration: 1s513ms Database: etendo User: tad Remote: 127.0.0.1 Application: openbravo Bind query: yes
-
SELECT * FROM ( select aud.bpid as referencekey_id, ad_column_identifier ('c_bpartner', aud.bpid, 'en_US') AS record_id, '0' AS ad_role_id, NULL AS ad_user_id, 'USUARIO: ' || aud.username || ' - CAMPO: ' || aud.colname || ' - VALOR ANTIGUO: ' || coalesce(aud.oldval, 'null') || ' - VALOR ACTUAL: ' || coalesce(aud.newval, 'null') as description, 'Y' AS isActive, 'E3E23266C9CE4E91971071A3D8BF481A' as ad_org_id, '523673B50F634B52908327A51F066C5D' as ad_client_id, now() as created, '0' as createdBy, now() as updated, '0' as updatedBy from ( select aud.ad_audit_trail_id as audid, bp.c_bpartner_id as bpid, col.name as colname, aud.old_value as oldval, aud.new_value as newval, us.name as username from ad_audit_trail_v aud left join ad_column col on col.ad_column_id = aud.ad_column_id left join c_bpartner bp on bp.c_bpartner_id = aud.record_id left join ad_user us on bp.updatedby = us.ad_user_id where aud.action = 'U' and aud.ad_table_id = '291' and aud.updated > to_date('01-06-2021', 'dd-MM-yyyy') and bp.c_bpartner_id is not null) as aud) AAA where not exists ( select 1 from ad_alert a where a.ad_alertrule_id = 'CBE7E1A5BF294F14907C7F4F9876B4BA' and a.referencekey_id = aaa.referencekey_id and coalesce(a.status, 'NEW') != 'SOLVED');
Date: 2026-07-13 20:09:30 Duration: 1s510ms Database: etendo User: tad Remote: 127.0.0.1 Application: openbravo Bind query: yes
4 1s1ms 1s71ms 1s33ms 52 53s760ms select * from ( select c_invoice_id as referencekey_id, ? as ad_role_id, null as ad_user_id, ? || documentno || ? || doc.name || ? as description, ? as isactive, inv.ad_org_id, inv.ad_client_id, now() as created, ? as createdby, now() as updated, ? as updatedby, ad_column_identifier (?, c_invoice_id, ?) as record_id from c_invoice inv left join c_doctype doc on doc.c_doctype_id = inv.c_doctype_id where c_invoice_id in ( select distinct unnest(string_to_array(string_agg(priuti_getinvidsinvalidseq (dt.docnosequence_id), ?), ?)) as idsinvoices from c_doctype dt where dt.isactive = ? and dt.issotrx = ? and dt.docbasetype = ? and dt.ad_table_id = ?) order by doc.name, documentno) aaa where not exists ( select ? from ad_alert a where a.ad_alertrule_id = ? and a.referencekey_id = aaa.referencekey_id and coalesce(a.status, ?) != ?);Times Reported Time consuming queries #4
Day Hour Count Duration Avg duration Jul 13 07 5 5s95ms 1s19ms 08 2 2s82ms 1s41ms 09 4 4s83ms 1s20ms 10 3 3s18ms 1s6ms 11 1 1s28ms 1s28ms 12 4 4s101ms 1s25ms 13 4 4s176ms 1s44ms 14 4 4s194ms 1s48ms 15 4 4s189ms 1s47ms 16 4 4s210ms 1s52ms 17 4 4s155ms 1s38ms 18 4 4s191ms 1s47ms 19 4 4s165ms 1s41ms 20 3 3s39ms 1s13ms 21 2 2s28ms 1s14ms [ User: tad - Total duration: 53s760ms - Times executed: 52 ]
[ Application: openbravo - Total duration: 53s760ms - Times executed: 52 ]
-
SELECT * FROM ( select c_invoice_id as referencekey_id, '0' as ad_role_id, null as ad_user_id, 'El documento ' || documentno || ' para el documento ' || doc.name || ' tiene un salto de número en la secuencia del tipo de documento en la factura' as description, 'Y' as isActive, inv.ad_org_id, inv.ad_client_id, now() as created, '0' as createdBy, now() as updated, '0' as updatedBy, ad_column_identifier ('c_invoice', c_invoice_id, 'es_ES') AS RECORD_ID FROM c_invoice inv left join c_doctype doc on doc.c_doctype_id = inv.c_doctype_id WHERE c_invoice_id IN ( select distinct unnest(string_to_array(string_agg(priuti_getinvidsinvalidseq (dt.docnosequence_id), ','), ',')) as idsinvoices from c_doctype dt where dt.isactive = 'Y' and dt.issotrx = 'Y' and dt.docbasetype = 'ARI' and dt.ad_table_id = '318') order by doc.name, documentno) AAA where not exists ( select 1 from ad_alert a where a.ad_alertrule_id = 'C551178C7AEE4180A4BCF91AE798B7FF' and a.referencekey_id = aaa.referencekey_id and coalesce(a.status, 'NEW') != 'SOLVED');
Date: 2026-07-13 13:49:32 Duration: 1s71ms Database: etendo User: tad Remote: 127.0.0.1 Application: openbravo Bind query: yes
-
SELECT * FROM ( select c_invoice_id as referencekey_id, '0' as ad_role_id, null as ad_user_id, 'El documento ' || documentno || ' para el documento ' || doc.name || ' tiene un salto de número en la secuencia del tipo de documento en la factura' as description, 'Y' as isActive, inv.ad_org_id, inv.ad_client_id, now() as created, '0' as createdBy, now() as updated, '0' as updatedBy, ad_column_identifier ('c_invoice', c_invoice_id, 'es_ES') AS RECORD_ID FROM c_invoice inv left join c_doctype doc on doc.c_doctype_id = inv.c_doctype_id WHERE c_invoice_id IN ( select distinct unnest(string_to_array(string_agg(priuti_getinvidsinvalidseq (dt.docnosequence_id), ','), ',')) as idsinvoices from c_doctype dt where dt.isactive = 'Y' and dt.issotrx = 'Y' and dt.docbasetype = 'ARI' and dt.ad_table_id = '318') order by doc.name, documentno) AAA where not exists ( select 1 from ad_alert a where a.ad_alertrule_id = 'C551178C7AEE4180A4BCF91AE798B7FF' and a.referencekey_id = aaa.referencekey_id and coalesce(a.status, 'NEW') != 'SOLVED');
Date: 2026-07-13 16:59:32 Duration: 1s70ms Database: etendo User: tad Remote: 127.0.0.1 Application: openbravo Bind query: yes
-
SELECT * FROM ( select c_invoice_id as referencekey_id, '0' as ad_role_id, null as ad_user_id, 'El documento ' || documentno || ' para el documento ' || doc.name || ' tiene un salto de número en la secuencia del tipo de documento en la factura' as description, 'Y' as isActive, inv.ad_org_id, inv.ad_client_id, now() as created, '0' as createdBy, now() as updated, '0' as updatedBy, ad_column_identifier ('c_invoice', c_invoice_id, 'es_ES') AS RECORD_ID FROM c_invoice inv left join c_doctype doc on doc.c_doctype_id = inv.c_doctype_id WHERE c_invoice_id IN ( select distinct unnest(string_to_array(string_agg(priuti_getinvidsinvalidseq (dt.docnosequence_id), ','), ',')) as idsinvoices from c_doctype dt where dt.isactive = 'Y' and dt.issotrx = 'Y' and dt.docbasetype = 'ARI' and dt.ad_table_id = '318') order by doc.name, documentno) AAA where not exists ( select 1 from ad_alert a where a.ad_alertrule_id = 'C551178C7AEE4180A4BCF91AE798B7FF' and a.referencekey_id = aaa.referencekey_id and coalesce(a.status, 'NEW') != 'SOLVED');
Date: 2026-07-13 16:29:32 Duration: 1s67ms Database: etendo User: tad Remote: 127.0.0.1 Application: openbravo Bind query: yes
5 1s 1s77ms 1s30ms 84 1m26s update ad_alert set status = ?, updated = now(), updatedby = ? where ad_alertrule_id = ? and coalesce(status, ?) != ? and not exists ( select ? from ( select c_invoice_id as referencekey_id, ? as ad_role_id, null as ad_user_id, ? || documentno || ? || doc.name || ? as description, ? as isactive, inv.ad_org_id, inv.ad_client_id, now() as created, ? as createdby, now() as updated, ? as updatedby, ad_column_identifier (?, c_invoice_id, ?) as record_id from c_invoice inv left join c_doctype doc on doc.c_doctype_id = inv.c_doctype_id where c_invoice_id in ( select distinct unnest(string_to_array(string_agg(priuti_getinvidsinvalidseq (dt.docnosequence_id), ?), ?)) as idsinvoices from c_doctype dt where dt.isactive = ? and dt.issotrx = ? and dt.docbasetype = ? and dt.ad_table_id = ?) order by doc.name, documentno) a where ? = ? and a.referencekey_id = ad_alert.referencekey_id);Times Reported Time consuming queries #5
Day Hour Count Duration Avg duration Jul 13 07 6 6s101ms 1s16ms 08 6 6s230ms 1s38ms 09 6 6s172ms 1s28ms 10 6 6s54ms 1s9ms 11 4 4s80ms 1s20ms 12 5 5s134ms 1s26ms 13 6 6s218ms 1s36ms 14 6 6s231ms 1s38ms 15 6 6s209ms 1s34ms 16 5 5s203ms 1s40ms 17 6 6s190ms 1s31ms 18 6 6s310ms 1s51ms 19 6 6s227ms 1s37ms 20 4 4s77ms 1s19ms 21 6 6s95ms 1s15ms [ User: tad - Total duration: 1m26s - Times executed: 84 ]
[ Application: openbravo - Total duration: 1m26s - Times executed: 84 ]
-
UPDATE AD_ALERT SET STATUS = 'SOLVED', UPDATED = NOW(), UPDATEDBY = 0 WHERE AD_ALERTRULE_ID = 'C551178C7AEE4180A4BCF91AE798B7FF' AND COALESCE(STATUS, 'NEW') != 'SOLVED' AND NOT EXISTS ( SELECT 1 FROM ( select c_invoice_id as referencekey_id, '0' as ad_role_id, null as ad_user_id, 'El documento ' || documentno || ' para el documento ' || doc.name || ' tiene un salto de número en la secuencia del tipo de documento en la factura' as description, 'Y' as isActive, inv.ad_org_id, inv.ad_client_id, now() as created, '0' as createdBy, now() as updated, '0' as updatedBy, ad_column_identifier ('c_invoice', c_invoice_id, 'es_ES') AS RECORD_ID FROM c_invoice inv left join c_doctype doc on doc.c_doctype_id = inv.c_doctype_id WHERE c_invoice_id IN ( select distinct unnest(string_to_array(string_agg(priuti_getinvidsinvalidseq (dt.docnosequence_id), ','), ',')) as idsinvoices from c_doctype dt where dt.isactive = 'Y' and dt.issotrx = 'Y' and dt.docbasetype = 'ARI' and dt.ad_table_id = '318') order by doc.name, documentno) A WHERE 1 = 1 AND A.REFERENCEKEY_ID = AD_ALERT.REFERENCEKEY_ID);
Date: 2026-07-13 17:49:33 Duration: 1s77ms Database: etendo User: tad Remote: 127.0.0.1 Application: openbravo Bind query: yes
-
UPDATE AD_ALERT SET STATUS = 'SOLVED', UPDATED = NOW(), UPDATEDBY = 0 WHERE AD_ALERTRULE_ID = 'C551178C7AEE4180A4BCF91AE798B7FF' AND COALESCE(STATUS, 'NEW') != 'SOLVED' AND NOT EXISTS ( SELECT 1 FROM ( select c_invoice_id as referencekey_id, '0' as ad_role_id, null as ad_user_id, 'El documento ' || documentno || ' para el documento ' || doc.name || ' tiene un salto de número en la secuencia del tipo de documento en la factura' as description, 'Y' as isActive, inv.ad_org_id, inv.ad_client_id, now() as created, '0' as createdBy, now() as updated, '0' as updatedBy, ad_column_identifier ('c_invoice', c_invoice_id, 'es_ES') AS RECORD_ID FROM c_invoice inv left join c_doctype doc on doc.c_doctype_id = inv.c_doctype_id WHERE c_invoice_id IN ( select distinct unnest(string_to_array(string_agg(priuti_getinvidsinvalidseq (dt.docnosequence_id), ','), ',')) as idsinvoices from c_doctype dt where dt.isactive = 'Y' and dt.issotrx = 'Y' and dt.docbasetype = 'ARI' and dt.ad_table_id = '318') order by doc.name, documentno) A WHERE 1 = 1 AND A.REFERENCEKEY_ID = AD_ALERT.REFERENCEKEY_ID);
Date: 2026-07-13 16:19:32 Duration: 1s71ms Database: etendo User: tad Remote: 127.0.0.1 Application: openbravo Bind query: yes
-
UPDATE AD_ALERT SET STATUS = 'SOLVED', UPDATED = NOW(), UPDATEDBY = 0 WHERE AD_ALERTRULE_ID = 'C551178C7AEE4180A4BCF91AE798B7FF' AND COALESCE(STATUS, 'NEW') != 'SOLVED' AND NOT EXISTS ( SELECT 1 FROM ( select c_invoice_id as referencekey_id, '0' as ad_role_id, null as ad_user_id, 'El documento ' || documentno || ' para el documento ' || doc.name || ' tiene un salto de número en la secuencia del tipo de documento en la factura' as description, 'Y' as isActive, inv.ad_org_id, inv.ad_client_id, now() as created, '0' as createdBy, now() as updated, '0' as updatedBy, ad_column_identifier ('c_invoice', c_invoice_id, 'es_ES') AS RECORD_ID FROM c_invoice inv left join c_doctype doc on doc.c_doctype_id = inv.c_doctype_id WHERE c_invoice_id IN ( select distinct unnest(string_to_array(string_agg(priuti_getinvidsinvalidseq (dt.docnosequence_id), ','), ',')) as idsinvoices from c_doctype dt where dt.isactive = 'Y' and dt.issotrx = 'Y' and dt.docbasetype = 'ARI' and dt.ad_table_id = '318') order by doc.name, documentno) A WHERE 1 = 1 AND A.REFERENCEKEY_ID = AD_ALERT.REFERENCEKEY_ID);
Date: 2026-07-13 16:59:33 Duration: 1s71ms Database: etendo User: tad Remote: 127.0.0.1 Application: openbravo Bind query: yes
6 1s14ms 1s25ms 1s18ms 3 3s56ms select profile.take_sample ();Times Reported Time consuming queries #6
Day Hour Count Duration Avg duration Jul 13 08 1 1s14ms 1s14ms 12 1 1s16ms 1s16ms 18 1 1s25ms 1s25ms [ User: postgres - Total duration: 3s56ms - Times executed: 3 ]
[ Application: psql - Total duration: 3s56ms - Times executed: 3 ]
-
SELECT profile.take_sample ();
Date: 2026-07-13 18:00:02 Duration: 1s25ms Database: etendo User: postgres Remote: [local] Application: psql
-
SELECT profile.take_sample ();
Date: 2026-07-13 12:00:02 Duration: 1s16ms Database: etendo User: postgres Remote: [local] Application: psql
-
SELECT profile.take_sample ();
Date: 2026-07-13 08:00:02 Duration: 1s14ms Database: etendo User: postgres Remote: [local] Application: psql
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
- 44,854 Event entries
- (EVENTLOG entries are formaly LOG level entries that are not queries)
Events distribution (except queries)
Key values
- 0 PANIC entries
- 326 FATAL entries
- 0 ERROR entries
- 0 WARNING entries
- 1 EVENTLOG entries
Most Frequent Errors/Events
Key values
- 318 Max number of times the same event was reported
- 327 Total events found
Rank Times reported Error 1 318 FATAL: no pg_hba.conf entry for host "...", user "...", database "...", no encryption
Times Reported Most Frequent Error / Event #1
Day Hour Count Jul 13 07 20 08 30 09 20 10 21 11 19 12 20 13 21 14 19 15 26 16 25 17 21 18 23 19 22 20 21 21 10 - FATAL: no pg_hba.conf entry for host "159.65.148.75", user "appuser", database "postgres", no encryption
- FATAL: no pg_hba.conf entry for host "159.65.148.75", user "appuser", database "postgres", no encryption
- FATAL: no pg_hba.conf entry for host "159.65.148.75", user "appuser", database "postgres", no encryption
Date: 2026-07-13 07:02:46 Database: postgres Application: [unknown] User: appuser Remote: 159.65.148.75
Date: 2026-07-13 07:05:23 Database: postgres Application: [unknown] User: appuser Remote: 159.65.148.75
Date: 2026-07-13 07:07:56 Database: postgres Application: [unknown] User: appuser Remote: 159.65.148.75
2 2 FATAL: no pg_hba.conf entry for host "...", user "...", database "...", SSL encryption
Times Reported Most Frequent Error / Event #2
Day Hour Count Jul 13 12 1 13 1 - FATAL: no pg_hba.conf entry for host "34.78.93.148", user "postgres", database "postgres", SSL encryption
- FATAL: no pg_hba.conf entry for host "64.89.163.133", user "postgres", database "postgres", SSL encryption
Date: 2026-07-13 12:14:39 Database: postgres Application: [unknown] User: postgres Remote: 34.78.93.148
Date: 2026-07-13 13:40:29 Database: postgres Application: [unknown] User: postgres Remote: 64.89.163.133
3 2 FATAL: no PostgreSQL user name specified in startup packet
Times Reported Most Frequent Error / Event #3
Day Hour Count Jul 13 15 1 19 1 - FATAL: no PostgreSQL user name specified in startup packet
- FATAL: no PostgreSQL user name specified in startup packet
Date: 2026-07-13 15:40:13 Database: [unknown] Application: [unknown] User: [unknown] Remote: 66.132.172.179
Date: 2026-07-13 19:58:26 Database: [unknown] Application: [unknown] User: [unknown] Remote: 172.104.100.117
4 2 FATAL: unsupported frontend protocol 0.0: server supports 3.0 to 3.0
Times Reported Most Frequent Error / Event #4
Day Hour Count Jul 13 15 1 19 1 - FATAL: unsupported frontend protocol 0.0: server supports 3.0 to 3.0
- FATAL: unsupported frontend protocol 0.0: server supports 3.0 to 3.0
Date: 2026-07-13 15:40:13 Database: [unknown] Application: [unknown] User: [unknown] Remote: 66.132.172.179
Date: 2026-07-13 19:58:25 Database: [unknown] Application: [unknown] User: [unknown] Remote: 172.104.100.117
5 2 FATAL: unsupported frontend protocol 255.255: server supports 3.0 to 3.0
Times Reported Most Frequent Error / Event #5
Day Hour Count Jul 13 15 1 19 1 - FATAL: unsupported frontend protocol 255.255: server supports 3.0 to 3.0
- FATAL: unsupported frontend protocol 255.255: server supports 3.0 to 3.0
Date: 2026-07-13 15:40:13 Database: [unknown] Application: [unknown] User: [unknown] Remote: 66.132.172.179
Date: 2026-07-13 19:58:25 Database: [unknown] Application: [unknown] User: [unknown] Remote: 172.104.100.117
6 1 ERROR: incomplete startup packet
Times Reported Most Frequent Error / Event #6
Day Hour Count Jul 13 08 1 - ERROR: incomplete startup packet
Date: 2026-07-13 08:03:02 Database: [unknown] Application: [unknown] User: [unknown] Remote: 185.224.128.16