-
Global information
- Generated on Mon Jul 13 23:00:25 2026
- Log file: /var/log/postgresql/postgresql-16-main.log
- Parsed 87,586 log entries in 23s
- Log start from 2026-07-13 07:00:01 to 2026-07-13 22:00:00
-
Overview
Global Stats
- 14 Number of unique normalized queries
- 121 Number of queries
- 10m38s Total query duration
- 2026-07-13 07:00:10 First query
- 2026-07-13 21:00:12 Last query
- 2 queries/s at 2026-07-13 11:25:15 Query peak
- 10m38s Total query duration
- 0ms Prepare/parse total duration
- 0ms Bind total duration
- 10m38s Execute total duration
- 8 Number of events
- 4 Number of unique normalized events
- 4 Max number of times the same event was reported
- 0 Number of cancellation
- 55,776 Total number of automatic vacuums
- 265 Total number of automatic analyzes
- 30 Number temporary file
- 154.35 MiB Max size of temporary file
- 132.27 MiB Average size of temporary file
- 3,286 Total number of sessions
- 6 sessions at 2026-07-13 22:00:00 Session peak
- 3d13h57m42s Total duration of sessions
- 1m34s Average duration of sessions
- 0 Average queries per session
- 194ms Average queries duration per session
- 1m33s Average idle time per session
- 3,290 Total number of connections
- 5 connections/s at 2026-07-13 22:00:00 Connection peak
- 1 Total number of databases
SQL Traffic
Key values
- 2 queries/s Query Peak
- 2026-07-13 11:25:15 Date
SELECT Traffic
Key values
- 2 queries/s Query Peak
- 2026-07-13 11:25:15 Date
INSERT/UPDATE/DELETE Traffic
Key values
- 0 queries/s Query Peak
- Date
Queries duration
Key values
- 10m38s 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 14 0ms 11s261ms 2s567ms 1s122ms 2s492ms 21s979ms 08 8 0ms 13s762ms 4s129ms 0ms 2s73ms 27s804ms 09 14 0ms 45s53ms 5s240ms 1s76ms 3s281ms 59s62ms 10 11 0ms 13s947ms 3s285ms 1s90ms 2s147ms 25s849ms 11 12 0ms 54s191ms 6s515ms 0ms 2s83ms 1m6s 12 16 0ms 14s250ms 3s3ms 1s714ms 3s903ms 29s515ms 13 7 0ms 46s983ms 9s305ms 0ms 1s37ms 1m 14 3 0ms 14s499ms 9s670ms 0ms 0ms 29s11ms 15 9 0ms 15s146ms 4s64ms 1s10ms 1s143ms 29s923ms 16 5 0ms 15s84ms 6s539ms 0ms 0ms 30s504ms 17 6 0ms 45s833ms 11s7ms 0ms 2s138ms 1m 18 7 0ms 13s411ms 4s463ms 0ms 1s309ms 26s598ms 19 3 0ms 15s142ms 10s116ms 0ms 0ms 30s348ms 20 3 0ms 11s555ms 7s934ms 0ms 0ms 23s803ms 21 3 0ms 9s76ms 6s293ms 0ms 0ms 18s879ms 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 14 0 2s567ms 0ms 1s122ms 2s800ms 08 8 0 4s129ms 0ms 0ms 2s93ms 09 14 0 5s240ms 0ms 1s76ms 3s967ms 10 11 0 3s285ms 0ms 1s90ms 2s738ms 11 12 0 6s515ms 0ms 0ms 6s354ms 12 16 0 3s3ms 0ms 1s714ms 5s258ms 13 7 0 9s305ms 0ms 0ms 3s239ms 14 3 0 9s670ms 0ms 0ms 0ms 15 9 0 4s64ms 0ms 1s10ms 2s297ms 16 5 0 6s539ms 0ms 0ms 2s193ms 17 6 0 11s7ms 0ms 0ms 3s210ms 18 7 0 4s463ms 0ms 0ms 2s300ms 19 3 0 10s116ms 0ms 0ms 0ms 20 3 0 7s934ms 0ms 0ms 0ms 21 3 0 6s293ms 0ms 0ms 0ms 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 0 0 0 0ms 0ms 0ms 0ms 08 0 0 0 0 0ms 0ms 0ms 0ms 09 0 0 0 0 0ms 0ms 0ms 0ms 10 0 0 0 0 0ms 0ms 0ms 0ms 11 0 0 0 0 0ms 0ms 0ms 0ms 12 0 0 0 0 0ms 0ms 0ms 0ms 13 0 0 0 0 0ms 0ms 0ms 0ms 14 0 0 0 0 0ms 0ms 0ms 0ms 15 0 0 0 0 0ms 0ms 0ms 0ms 16 0 0 0 0 0ms 0ms 0ms 0ms 17 0 0 0 0 0ms 0ms 0ms 0ms 18 0 0 0 0 0ms 0ms 0ms 0ms 19 0 0 0 0 0ms 0ms 0ms 0ms 20 0 0 0 0 0ms 0ms 0ms 0ms 21 0 0 0 0 0ms 0ms 0ms 0ms 22 0 0 0 0 0ms 0ms 0ms 0ms Day Hour Prepare Bind Bind/Prepare Percentage of prepare Jul 13 07 0 12 12.00 0.00% 08 0 7 7.00 0.00% 09 0 13 13.00 0.00% 10 0 10 10.00 0.00% 11 0 11 11.00 0.00% 12 0 15 15.00 0.00% 13 0 6 6.00 0.00% 14 0 2 2.00 0.00% 15 0 8 8.00 0.00% 16 0 4 4.00 0.00% 17 0 5 5.00 0.00% 18 0 6 6.00 0.00% 19 0 2 2.00 0.00% 20 0 2 2.00 0.00% 21 0 2 2.00 0.00% 22 0 0 0.00 0.00% Day Hour Count Average / Second Jul 13 07 221 0.06/s 08 218 0.06/s 09 222 0.06/s 10 218 0.06/s 11 219 0.06/s 12 221 0.06/s 13 220 0.06/s 14 222 0.06/s 15 218 0.06/s 16 217 0.06/s 17 218 0.06/s 18 218 0.06/s 19 217 0.06/s 20 217 0.06/s 21 219 0.06/s 22 5 0.00/s Day Hour Count Average Duration Average idle time Jul 13 07 221 4m46s 4m46s 08 218 18s496ms 18s345ms 09 222 3m15s 3m15s 10 219 5m23s 5m22s 11 217 289ms 0ms 12 222 2m44s 2m44s 13 220 32s741ms 32s445ms 14 223 46s673ms 46s543ms 15 217 115ms 0ms 16 217 116ms 0ms 17 219 1m29s 1m28s 18 217 105ms 0ms 19 217 117ms 0ms 20 217 89ms 0ms 21 220 4m4s 4m4s 22 0 0ms 0ms -
Connections
Established Connections
Key values
- 5 connections Connection Peak
- 2026-07-13 22:00:00 Date
Connections per database
Key values
- etendo Main Database
- 3,290 connections Total
Connections per user
Key values
- tad Main User
- 3,290 connections Total
-
Sessions
Simultaneous sessions
Key values
- 6 sessions Session Peak
- 2026-07-13 22:00:00 Date
Histogram of session times
Key values
- 3,226 0-500ms duration
Sessions per database
Key values
- etendo Main Database
- 3,286 sessions Total
Sessions per user
Key values
- tad Main User
- 3,286 sessions Total
Sessions per host
Key values
- 127.0.0.1 Main Host
- 3,286 sessions Total
-
Checkpoints / Restartpoints
Checkpoints Buffers
Key values
- 5,603 buffers Checkpoint Peak
- 2026-07-13 14:06:09 Date
- 269.814 seconds Highest write time
- 0.004 seconds Sync time
Checkpoints Wal files
Key values
- 2 files Wal files usage Peak
- 2026-07-13 10:05:49 Date
Checkpoints distance
Key values
- 57.13 Mo Distance Peak
- 2026-07-13 14:06:09 Date
Checkpoints Activity
↑ Back to the top of the Checkpoint Activity tableDay Hour Written buffers Write time Sync time Total time Jul 13 07 9,558 973.728s 0.018s 973.759s 08 7,817 777.649s 0.018s 777.679s 09 7,758 809.882s 0.017s 809.914s 10 8,467 843.068s 0.018s 843.097s 11 7,694 766.109s 0.014s 766.136s 12 10,029 999.226s 0.019s 999.257s 13 8,431 840.068s 0.014s 840.096s 14 8,049 512.153s 0.013s 512.178s 15 8,257 830.784s 0.02s 830.815s 16 7,553 751.288s 0.017s 751.315s 17 4,577 455.544s 0.012s 455.567s 18 6,277 624.849s 0.014s 624.875s 19 2,175 215.988s 0.012s 216.014s 20 2,116 210.18s 0.012s 210.203s 21 1,923 191.144s 0.012s 191.169s 22 0 0s 0s 0s Day Hour Added Removed Recycled Synced files Longest sync Average sync Jul 13 07 0 0 3 2,324 0.001s 0.012s 08 0 0 2 2,203 0.001s 0.012s 09 0 0 2 2,163 0.002s 0.012s 10 0 0 3 2,321 0.001s 0.012s 11 0 0 2 1,742 0.001s 0.012s 12 0 0 3 2,466 0.001s 0.012s 13 0 0 3 1,989 0.001s 0.012s 14 0 0 2 1,251 0.001s 0.012s 15 0 0 2 2,273 0.003s 0.012s 16 0 0 2 1,965 0.001s 0.012s 17 0 0 2 1,331 0.001s 0.012s 18 0 0 2 1,626 0.001s 0.012s 19 0 0 0 370 0.001s 0.012s 20 0 0 1 327 0.001s 0.012s 21 0 0 1 343 0.001s 0.012s 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 3,701.08 kB 7,372.17 kB 08 2,943.00 kB 8,127.67 kB 09 3,175.50 kB 8,407.75 kB 10 3,671.67 kB 12,383.42 kB 11 2,865.83 kB 7,352.08 kB 12 3,875.67 kB 9,648.92 kB 13 3,560.25 kB 12,062.25 kB 14 3,144.83 kB 17,812.17 kB 15 3,165.42 kB 8,005.58 kB 16 2,901.42 kB 8,301.83 kB 17 1,787.50 kB 7,037.42 kB 18 2,404.67 kB 7,739.08 kB 19 1,008.75 kB 6,946.83 kB 20 930.58 kB 6,409.33 kB 21 859.92 kB 5,955.67 kB 22 0.00 kB 0.00 kB -
Temporary Files
Size of temporary files
Key values
- 264.57 MiB Temp Files size Peak
- 2026-07-13 21:00:10 Date
Number of temporary files
Key values
- 2 per second Temp Files Peak
- 2026-07-13 11:00:12 Date
Temporary Files Activity
↑ Back to the top of the Temporary Files Activity tableDay Hour Count Total size Average size Jul 13 07 2 264.47 MiB 132.23 MiB 08 2 264.48 MiB 132.24 MiB 09 2 264.48 MiB 132.24 MiB 10 2 264.51 MiB 132.25 MiB 11 2 264.51 MiB 132.25 MiB 12 2 264.52 MiB 132.26 MiB 13 2 264.54 MiB 132.27 MiB 14 2 264.55 MiB 132.27 MiB 15 2 264.55 MiB 132.27 MiB 16 2 264.55 MiB 132.28 MiB 17 2 264.56 MiB 132.28 MiB 18 2 264.57 MiB 132.29 MiB 19 2 264.57 MiB 132.29 MiB 20 2 264.57 MiB 132.29 MiB 21 2 264.57 MiB 132.29 MiB 22 0 0 0 Queries generating the most temporary files (N)
Rank Count Total size Min size Max size Avg size Query 1 30 3.88 GiB 110.17 MiB 154.35 MiB 132.27 MiB select * from ( select c_invoice_id as referencekey_id, ;-
SELECT * FROM ( select C_INVOICE_id as referencekey_id, ;
Date: 2026-07-13 07:00:10 Duration: 0ms Database: etendo User: tad Remote: 127.0.0.1 Application: openbravo
Queries generating the largest temporary files
Rank Size Query 1 154.35 MiB SELECT * FROM ( select C_INVOICE_id as referencekey_id, ;[ Date: 2026-07-13 17:00:14 - Database: etendo - User: tad - Remote: 127.0.0.1 - Application: openbravo ]
2 154.35 MiB SELECT * FROM ( select C_INVOICE_id as referencekey_id, ;[ Date: 2026-07-13 18:00:12 - Database: etendo - User: tad - Remote: 127.0.0.1 - Application: openbravo ]
3 154.35 MiB SELECT * FROM ( select C_INVOICE_id as referencekey_id, ;[ Date: 2026-07-13 19:00:15 - Database: etendo - User: tad - Remote: 127.0.0.1 - Application: openbravo ]
4 154.35 MiB SELECT * FROM ( select C_INVOICE_id as referencekey_id, ;[ Date: 2026-07-13 20:00:12 - Database: etendo - User: tad - Remote: 127.0.0.1 - Application: openbravo ]
5 154.35 MiB SELECT * FROM ( select C_INVOICE_id as referencekey_id, ;[ Date: 2026-07-13 21:00:10 - Database: etendo - User: tad - Remote: 127.0.0.1 - Application: openbravo ]
6 154.34 MiB SELECT * FROM ( select C_INVOICE_id as referencekey_id, ;[ Date: 2026-07-13 14:00:14 - Database: etendo - User: tad - Remote: 127.0.0.1 - Application: openbravo ]
7 154.34 MiB SELECT * FROM ( select C_INVOICE_id as referencekey_id, ;[ Date: 2026-07-13 15:00:14 - Database: etendo - User: tad - Remote: 127.0.0.1 - Application: openbravo ]
8 154.34 MiB SELECT * FROM ( select C_INVOICE_id as referencekey_id, ;[ Date: 2026-07-13 16:00:15 - Database: etendo - User: tad - Remote: 127.0.0.1 - Application: openbravo ]
9 154.34 MiB SELECT * FROM ( select C_INVOICE_id as referencekey_id, ;[ Date: 2026-07-13 13:00:13 - Database: etendo - User: tad - Remote: 127.0.0.1 - Application: openbravo ]
10 154.33 MiB SELECT * FROM ( select C_INVOICE_id as referencekey_id, ;[ Date: 2026-07-13 12:00:14 - Database: etendo - User: tad - Remote: 127.0.0.1 - Application: openbravo ]
11 154.32 MiB SELECT * FROM ( select C_INVOICE_id as referencekey_id, ;[ Date: 2026-07-13 10:00:10 - Database: etendo - User: tad - Remote: 127.0.0.1 - Application: openbravo ]
12 154.32 MiB SELECT * FROM ( select C_INVOICE_id as referencekey_id, ;[ Date: 2026-07-13 11:00:12 - Database: etendo - User: tad - Remote: 127.0.0.1 - Application: openbravo ]
13 154.30 MiB SELECT * FROM ( select C_INVOICE_id as referencekey_id, ;[ Date: 2026-07-13 08:00:14 - Database: etendo - User: tad - Remote: 127.0.0.1 - Application: openbravo ]
14 154.30 MiB SELECT * FROM ( select C_INVOICE_id as referencekey_id, ;[ Date: 2026-07-13 09:00:13 - Database: etendo - User: tad - Remote: 127.0.0.1 - Application: openbravo ]
15 154.30 MiB SELECT * FROM ( select C_INVOICE_id as referencekey_id, ;[ Date: 2026-07-13 07:00:10 - Database: etendo - User: tad - Remote: 127.0.0.1 - Application: openbravo ]
16 110.22 MiB SELECT * FROM ( select C_INVOICE_id as referencekey_id, ;[ Date: 2026-07-13 18:00:13 - Database: etendo - User: tad - Remote: 127.0.0.1 - Application: openbravo ]
17 110.22 MiB SELECT * FROM ( select C_INVOICE_id as referencekey_id, ;[ Date: 2026-07-13 19:00:15 - Database: etendo - User: tad - Remote: 127.0.0.1 - Application: openbravo ]
18 110.22 MiB SELECT * FROM ( select C_INVOICE_id as referencekey_id, ;[ Date: 2026-07-13 20:00:12 - Database: etendo - User: tad - Remote: 127.0.0.1 - Application: openbravo ]
19 110.22 MiB SELECT * FROM ( select C_INVOICE_id as referencekey_id, ;[ Date: 2026-07-13 21:00:10 - Database: etendo - User: tad - Remote: 127.0.0.1 - Application: openbravo ]
20 110.21 MiB SELECT * FROM ( select C_INVOICE_id as referencekey_id, ;[ Date: 2026-07-13 16:00:15 - Database: etendo - User: tad - Remote: 127.0.0.1 - Application: openbravo ]
-
Vacuums
Vacuums / Analyzes Distribution
Key values
- 4.25 sec Highest CPU-cost vacuum
Table profile.last_stat_indexes_srv1
Database etendo - 2026-07-13 10:21:40 Date
- 0 sec Highest CPU-cost analyze
Table
Database etendo - Date
Average Autovacuum Duration
Key values
- 4.25 sec Highest CPU-cost vacuum
Table profile.last_stat_indexes_srv1
Database etendo - 2026-07-13 10:21:40 Date
Analyzes per table
Key values
- public.ad_ep_instance_para (95) Main table analyzed (database etendo)
- 265 analyzes Total
Table Number of analyzes etendo.public.ad_ep_instance_para 95 etendo.public.ad_session 21 etendo.profile.last_stat_indexes_srv1 15 etendo.profile.last_stat_tables_srv1 15 etendo.profile.last_stat_user_functions_srv1 15 etendo.profile.last_stat_statements_srv1 15 etendo.profile.tables_list 13 etendo.profile.indexes_list 7 etendo.profile.last_stat_io 7 etendo.public.ad_preference 7 etendo.profile.stmt_list 7 etendo.public.ad_sequence 5 etendo.profile.funcs_list 5 etendo.profile.last_extension_versions 4 etendo.profile.last_stat_activity_count_srv1 4 etendo.profile.last_stat_slru 3 etendo.public.ad_process_request 3 etendo.profile.sample_stat_tables 2 etendo.public.ad_pinstance 2 etendo.profile.sample_stat_user_functions 2 etendo.public.ad_pinstance_para 1 etendo.public.ad_process_run 1 etendo.profile.sample_stat_database 1 etendo.profile.sample_statements_total 1 etendo.profile.sample_stat_slru 1 etendo.profile.sample_stat_indexes 1 etendo.profile.sample_stat_tables_total 1 etendo.pg_catalog.pg_shdepend 1 etendo.profile.sample_stat_indexes_total 1 etendo.profile.last_stat_wal 1 etendo.profile.sample_statements 1 etendo.profile.last_stat_archiver 1 etendo.profile.sample_stat_io 1 etendo.profile.sample_stat_tablespaces 1 etendo.public.ad_module 1 etendo.profile.sample_stat_user_func_total 1 etendo.public.m_storage_pending 1 etendo.profile.last_stat_cluster 1 Total 265 Vacuums per table
Key values
- profile.sample_stat_tablespaces (900) Main table vacuumed on database etendo
- 55,776 vacuums Total
Index Buffer usage Skipped WAL usage Frozen Table Vacuums scans hits misses dirtied pins frozen records full page bytes pages tuples etendo.profile.sample_stat_tablespaces 900 0 56,279 0 45 0 0 265 0 63,865 0 0 etendo.public.ad_module 900 0 913,923 0 126 0 0 267 118 351,172 0 0 etendo.profile.last_stat_activity_count_srv1 900 0 237,935 0 157 0 0 265 123 374,167 0 0 etendo.public.m_storage_detail 900 0 1,565,597 0 195 0 0 568 8 86,205 284 478 etendo.profile.sample_stat_user_func_total 900 0 44,785 0 45 0 0 265 0 63,865 0 0 etendo.pg_catalog.pg_type 900 0 155,699 0 30 0 0 282 5 81,616 0 0 etendo.public.ad_sequence 900 1 320,881 0 367 0 0 285 100 303,375 0 0 etendo.public.ad_ep_instance_para 900 0 1,602,972 0 285 0 0 288 112 355,508 0 0 etendo.public.fin_financial_account 900 0 114,011 0 145 0 0 269 118 359,404 0 0 etendo.pg_toast.pg_toast_125223 900 0 79,483 0 128 0 0 266 118 339,694 0 0 etendo.pg_catalog.pg_attribute 900 0 1,064,050 0 57 0 0 74 10 44,425 0 0 etendo.profile.tables_list 900 0 4,141,682 0 4 0 0 266 1 66,366 0 0 etendo.profile.sample_stat_tables_total 900 0 189,487 0 33 0 0 265 0 63,865 0 0 etendo.pg_toast.pg_toast_2619 900 0 3,375,062 0 166 0 0 281 127 341,629 0 0 etendo.pg_catalog.pg_shdepend 900 0 97,050 0 124 0 0 283 121 301,659 0 0 etendo.public.c_invoice 900 0 42,343,783 0 284 0 0 517 119 441,750 221 1,298 etendo.profile.sample_stat_wal 900 0 37,566 0 45 0 0 265 0 63,865 0 0 etendo.pg_catalog.pg_statistic 900 0 31,164,629 0 224 0 0 301 77 279,351 0 0 etendo.pg_toast.pg_toast_46165 900 0 4,029,298 0 54 0 0 265 60 195,940 0 0 etendo.public.c_bpartner 900 0 1,635,832 0 2,905 0 0 4,757 2,316 10,010,494 136 274 etendo.public.ad_process_run 900 0 4,539,853 0 528 0 0 384 111 352,068 0 0 etendo.profile.sample_stat_slru 900 0 64,626 0 45 0 0 265 0 63,865 0 0 etendo.profile.sample_statements_total 900 0 80,515 0 46 0 0 265 0 63,865 0 0 etendo.profile.sample_stat_archiver 900 0 36,031 0 45 0 0 265 0 63,865 0 0 etendo.profile.funcs_list 900 0 587,696 0 18 0 0 265 0 63,865 0 0 etendo.public.m_storage_pending 900 1 1,633,505 0 333 0 0 340 163 495,798 0 0 etendo.profile.last_stat_cluster 900 0 50,141 0 162 0 0 267 117 315,573 0 0 etendo.profile.samples 900 0 57,490 0 45 0 0 265 0 63,865 0 0 etendo.pg_catalog.pg_class 900 0 194,730 0 63 0 0 36 0 8,676 0 0 etendo.public.ad_session_usage_audit 900 0 8,524,128 0 410 0 0 540 83 303,658 0 0 etendo.profile.stmt_list 900 0 3,620,453 0 126 0 0 268 125 311,270 0 0 etendo.profile.sample_stat_user_functions 900 0 322,435 0 21 0 0 265 0 63,865 0 0 etendo.profile.sample_stat_io 900 0 118,289 0 39 0 0 265 0 63,865 0 0 etendo.profile.sample_stat_cluster 900 0 41,551 0 45 0 0 265 0 63,865 0 0 etendo.profile.last_stat_wal 900 0 43,818 0 46 0 0 268 1 52,652 0 0 etendo.profile.sample_stat_indexes_total 900 0 78,513 0 45 0 0 265 0 63,865 0 0 etendo.profile.sample_statements 900 0 2,184,618 0 1 0 0 268 0 64,588 0 0 etendo.profile.servers 900 0 59,439 0 166 0 0 282 118 315,769 15 15 etendo.profile.last_stat_archiver 900 0 37,498 0 163 0 0 267 118 319,458 0 0 etendo.profile.last_extension_versions 900 0 139,370 0 149 0 0 267 109 314,576 0 0 etendo.public.ad_audit_trail 900 0 7,238,146 0 166 0 0 552 61 273,279 0 0 etendo.profile.sample_stat_indexes 900 0 731,306 0 2 0 0 266 0 64,106 0 0 template1.pg_catalog.pg_shdepend 900 0 105,088 0 131 0 0 277 128 282,874 0 0 etendo.public.ad_preference 900 0 2,397,446 0 335 0 0 297 9 78,526 0 0 postgres.pg_catalog.pg_shdepend 900 0 104,881 0 139 0 0 289 120 271,772 0 0 etendo.pg_toast.pg_toast_45833 900 0 263,992 0 100 0 0 272 60 202,475 0 0 etendo.profile.last_stat_io 900 0 411,074 0 32 0 0 268 0 50,384 0 0 etendo.profile.indexes_list 900 0 1,215,334 0 10 0 0 266 1 66,358 0 0 etendo.profile.sample_stat_database 900 0 137,953 0 39 0 0 266 0 64,106 0 0 etendo.public.ad_pinstance 900 0 315,269 0 250 0 0 325 0 54,579 39 78 etendo.profile.last_stat_slru 900 0 110,239 0 42 0 0 267 0 50,196 0 0 etendo.public.ad_pinstance_para 900 2 76,677 0 80 0 0 284 2 56,061 0 0 etendo.profile.sample_stat_tables 900 0 4,744,454 0 2 0 0 266 0 64,106 0 0 etendo.public.m_stock_proposed 900 3 188,671 0 361 0 0 410 213 753,432 0 0 etendo.public.ad_process_request 900 0 3,172,291 0 488 0 0 279 0 52,452 0 0 etendo.public.ad_session 900 0 2,435,979 0 463 0 0 334 39 160,660 0 0 etendo.profile.last_stat_database_srv1 896 0 211,120 0 40 0 0 266 1 127,263 0 0 etendo.profile.last_stat_indexes_srv1 896 0 245,865,077 0 36 0 0 280 40 188,880 0 0 etendo.profile.last_stat_tablespaces_srv1 896 0 66,634 0 45 0 0 266 0 125,818 0 0 etendo.profile.last_stat_statements_srv1 896 0 39,220,339 0 114 0 0 278 112 293,398 0 0 etendo.profile.last_stat_tables_srv1 896 0 170,040,026 0 83 0 0 278 76 238,767 0 0 etendo.profile.last_stat_user_functions_srv1 896 0 17,394,490 0 8 0 0 264 9 137,565 0 0 Total 55,776 7 612,031,189 93,798,620 10,881 0 0 22,416 5,349 21,274,143 695 2,143 Vacuum throughput per table
Key values
- profile.last_stat_indexes_srv1 (3080.63999999999) 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.profile.sample_stat_tablespaces 0 0 0 etendo.public.ad_module 0 0 9.01999999999985 etendo.profile.last_stat_activity_count_srv1 0 0 0 etendo.public.m_storage_detail 0 0 17.9999999999997 etendo.profile.sample_stat_user_func_total 0 0 0 etendo.pg_catalog.pg_type 0 0 0 etendo.public.ad_sequence 0 0 0 etendo.public.ad_ep_instance_para 0 0 19.3099999999999 etendo.public.fin_financial_account 0 0 0 etendo.pg_toast.pg_toast_125223 0 0 0 etendo.pg_catalog.pg_attribute 0 0 21.72 etendo.profile.tables_list 0 0 45.0099999999996 etendo.profile.sample_stat_tables_total 0 0 0 etendo.pg_toast.pg_toast_2619 0 0 105.540000000001 etendo.pg_catalog.pg_shdepend 0 0 0 etendo.public.c_invoice 0 0 504.439999999999 etendo.profile.sample_stat_wal 0 0 0 etendo.pg_catalog.pg_statistic 0 0 396.129999999997 etendo.pg_toast.pg_toast_46165 0 0 90.3500000000001 etendo.public.c_bpartner 0 0 20.0899999999999 etendo.public.ad_process_run 0 0 54.0000000000005 etendo.profile.sample_stat_slru 0 0 0 etendo.profile.sample_statements_total 0 0 0 etendo.profile.sample_stat_archiver 0 0 0 etendo.profile.funcs_list 0 0 0 etendo.public.m_storage_pending 0 0 19.9699999999999 etendo.profile.last_stat_cluster 0 0 0 etendo.profile.samples 0 0 0 etendo.pg_catalog.pg_class 0 0 0 etendo.public.ad_session_usage_audit 0 0 302.810000000001 etendo.profile.stmt_list 0 0 36.0499999999994 etendo.profile.sample_stat_user_functions 0 0 8.99999999999985 etendo.profile.sample_stat_io 0 0 0 etendo.profile.sample_stat_cluster 0 0 0 etendo.profile.last_stat_wal 0 0 0 etendo.profile.sample_stat_indexes_total 0 0 0 etendo.profile.sample_statements 0 0 70.899999999999 etendo.profile.servers 0 0 0 etendo.profile.last_stat_archiver 0 0 0 etendo.profile.last_extension_versions 0 0 0 etendo.public.ad_audit_trail 0 0 254.379999999999 etendo.profile.sample_stat_indexes 0 0 18.0999999999997 template1.pg_catalog.pg_shdepend 0 0 0 etendo.public.ad_preference 0 0 29.0100000000001 postgres.pg_catalog.pg_shdepend 0 0 0 etendo.pg_toast.pg_toast_45833 0 0 0.02 etendo.profile.last_stat_io 0 0 0 etendo.profile.indexes_list 0 0 9.01999999999985 etendo.profile.sample_stat_database 0 0 0 etendo.public.ad_pinstance 0 0 6.29999999999991 etendo.profile.last_stat_slru 0 0 0 etendo.public.ad_pinstance_para 0 0 0 etendo.profile.sample_stat_tables 0 0 162.060000000003 etendo.public.m_stock_proposed 0 0 0.03 etendo.public.ad_process_request 0 0 35.9999999999994 etendo.public.ad_session 0 0 31.8800000000002 etendo.profile.last_stat_database_srv1 0 0 0 etendo.profile.last_stat_indexes_srv1 0 0 3,080.63999999999 etendo.profile.last_stat_tablespaces_srv1 0 0 0 etendo.profile.last_stat_statements_srv1 0 0 1,068.63999999999 etendo.profile.last_stat_tables_srv1 0 0 2,812.25 etendo.profile.last_stat_user_functions_srv1 0 0 208.169999999998 Total 0 0 9,438.83999999998 Tuples removed per table
Key values
- public.ad_ep_instance_para (172) Main table with removed tuples on database etendo
- 593 tuples Total removed
Index Tuples Pages Table Vacuums scans removed remain not yet removable removed remain etendo.public.ad_ep_instance_para 900 0 172 44,007,501 44,007,501 0 858,119 etendo.public.m_storage_pending 900 1 131 29,368,076 17,154,772 0 927,879 etendo.public.m_storage_detail 900 0 92 22,589,226 6,946,050 0 724,101 etendo.public.m_stock_proposed 900 3 84 4,218,137 2,826,900 0 134,508 etendo.public.ad_audit_trail 900 0 52 326,805,722 107,473,500 0 15,721,374 etendo.public.c_invoice 900 0 23 258,215,447 153,791,780 0 21,029,814 etendo.public.ad_pinstance 900 0 23 9,176,249 7,668,799 0 274,781 etendo.public.ad_sequence 900 1 12 5,985,991 5,841,091 0 145,993 etendo.public.ad_pinstance_para 900 2 4 1,191,923 650,700 0 36,289 etendo.profile.sample_stat_tablespaces 900 0 0 1,135,792 832,430 0 9,000 etendo.public.ad_module 900 0 0 6,067,424 5,849,624 0 461,968 etendo.profile.last_stat_activity_count_srv1 900 0 0 4,623,268 4,623,268 0 112,560 etendo.profile.sample_stat_user_func_total 900 0 0 1,135,792 832,430 0 9,900 etendo.pg_catalog.pg_type 900 0 0 4,221,076 1,947,108 0 99,900 etendo.public.fin_financial_account 900 0 0 1,016,875 1,007,875 0 37,773 etendo.pg_toast.pg_toast_125223 900 0 0 149,756 95,040 0 27,060 etendo.profile.last_stat_database_srv1 896 0 0 2,261,528 2,257,944 0 90,855 etendo.pg_catalog.pg_attribute 900 0 0 38,517,433 9,793,140 0 734,936 etendo.profile.tables_list 900 0 0 94,121,640 93,168,957 0 2,047,962 etendo.profile.sample_stat_tables_total 900 0 0 5,111,064 3,745,935 0 134,038 etendo.pg_toast.pg_toast_2619 900 0 0 15,506,468 14,181,502 0 3,196,318 etendo.pg_catalog.pg_shdepend 900 0 0 2,715,788 973,554 0 23,400 etendo.profile.sample_stat_wal 900 0 0 567,896 416,215 0 8,100 etendo.pg_catalog.pg_statistic 900 0 0 238,142,306 233,015,006 0 15,757,001 etendo.pg_toast.pg_toast_46165 900 0 0 12,253,116 11,810,316 0 3,062,379 etendo.public.c_bpartner 900 0 0 11,972,530 2,644,079 0 674,671 etendo.profile.last_stat_indexes_srv1 896 0 0 3,080,360,366 3,077,950,126 0 125,254,486 etendo.public.ad_process_run 900 0 0 30,847,235 23,837,717 0 2,267,096 etendo.profile.sample_stat_slru 900 0 0 2,272,484 1,665,760 0 32,400 etendo.profile.sample_statements_total 900 0 0 1,135,792 832,430 0 47,760 etendo.profile.last_stat_tablespaces_srv1 896 0 0 1,130,764 1,128,972 0 17,920 etendo.profile.sample_stat_archiver 900 0 0 567,896 416,215 0 5,400 etendo.profile.funcs_list 900 0 0 9,992,931 9,815,450 0 270,658 etendo.profile.last_stat_statements_srv1 896 0 0 603,853,300 602,401,843 0 32,254,426 etendo.profile.last_stat_cluster 900 0 0 567,896 566,996 0 11,760 etendo.profile.samples 900 0 0 567,896 416,215 0 3,600 etendo.pg_catalog.pg_class 900 0 0 4,522,990 1,130,154 0 115,200 etendo.public.ad_session_usage_audit 900 0 0 342,701,741 158,057,100 0 9,838,268 etendo.profile.stmt_list 900 0 0 24,383,085 23,926,542 0 1,804,552 etendo.profile.sample_stat_user_functions 900 0 0 28,660,791 20,841,112 0 268,256 etendo.profile.sample_stat_io 900 0 0 3,691,712 2,639,963 0 80,099 etendo.profile.sample_stat_cluster 900 0 0 567,896 416,215 0 11,760 etendo.profile.last_stat_wal 900 0 0 567,896 566,996 0 8,580 etendo.profile.sample_stat_indexes_total 900 0 0 2,271,584 1,664,860 0 26,100 etendo.profile.sample_statements 900 0 0 41,908,562 30,828,156 0 2,095,920 etendo.profile.servers 900 0 0 568,796 567,896 0 10,800 etendo.profile.last_stat_archiver 900 0 0 567,896 566,996 0 5,400 etendo.profile.last_extension_versions 900 0 0 3,975,272 3,968,972 0 54,240 etendo.profile.last_stat_tables_srv1 896 0 0 1,984,725,466 1,983,260,686 0 100,990,187 etendo.profile.sample_stat_indexes 900 0 0 41,197,801 29,913,112 0 655,256 template1.pg_catalog.pg_shdepend 900 0 0 2,715,791 973,554 0 23,400 etendo.public.ad_preference 900 0 0 9,723,691 9,046,891 0 1,263,512 etendo.profile.last_stat_user_functions_srv1 896 0 0 269,381,536 268,990,880 0 8,698,106 postgres.pg_catalog.pg_shdepend 900 0 0 2,715,785 973,544 0 23,400 etendo.pg_toast.pg_toast_45833 900 0 0 1,109,691 883,198 0 227,841 etendo.profile.last_stat_io 900 0 0 8,438,340 8,424,840 0 188,100 etendo.profile.indexes_list 900 0 0 26,462,963 26,106,316 0 576,475 etendo.profile.sample_stat_database 900 0 0 2,271,584 1,664,860 0 91,260 etendo.profile.last_stat_slru 900 0 0 2,839,480 2,834,980 0 40,440 etendo.profile.sample_stat_tables 900 0 0 138,929,281 101,170,037 0 4,636,048 etendo.public.ad_process_request 900 0 0 15,046,266 13,921,518 0 1,566,142 etendo.public.ad_session 900 0 0 44,875,595 44,075,914 0 1,322,990 Total 55,776 7 593 7,877,196,075 7,190,002,532 0 361,128,517 Pages removed per table
Key values
- unknown (0) Main table with removed pages on database unknown
- 0 pages Total removed
Pages removed per tables
NO DATASET
Table Number of vacuums Index scans Tuples removed Pages removed etendo.profile.sample_stat_tablespaces 900 0 0 0 etendo.public.ad_module 900 0 0 0 etendo.profile.last_stat_activity_count_srv1 900 0 0 0 etendo.public.m_storage_detail 900 0 92 0 etendo.profile.sample_stat_user_func_total 900 0 0 0 etendo.pg_catalog.pg_type 900 0 0 0 etendo.public.ad_sequence 900 1 12 0 etendo.public.ad_ep_instance_para 900 0 172 0 etendo.public.fin_financial_account 900 0 0 0 etendo.pg_toast.pg_toast_125223 900 0 0 0 etendo.profile.last_stat_database_srv1 896 0 0 0 etendo.pg_catalog.pg_attribute 900 0 0 0 etendo.profile.tables_list 900 0 0 0 etendo.profile.sample_stat_tables_total 900 0 0 0 etendo.pg_toast.pg_toast_2619 900 0 0 0 etendo.pg_catalog.pg_shdepend 900 0 0 0 etendo.public.c_invoice 900 0 23 0 etendo.profile.sample_stat_wal 900 0 0 0 etendo.pg_catalog.pg_statistic 900 0 0 0 etendo.pg_toast.pg_toast_46165 900 0 0 0 etendo.public.c_bpartner 900 0 0 0 etendo.profile.last_stat_indexes_srv1 896 0 0 0 etendo.public.ad_process_run 900 0 0 0 etendo.profile.sample_stat_slru 900 0 0 0 etendo.profile.sample_statements_total 900 0 0 0 etendo.profile.last_stat_tablespaces_srv1 896 0 0 0 etendo.profile.sample_stat_archiver 900 0 0 0 etendo.profile.funcs_list 900 0 0 0 etendo.profile.last_stat_statements_srv1 896 0 0 0 etendo.public.m_storage_pending 900 1 131 0 etendo.profile.last_stat_cluster 900 0 0 0 etendo.profile.samples 900 0 0 0 etendo.pg_catalog.pg_class 900 0 0 0 etendo.public.ad_session_usage_audit 900 0 0 0 etendo.profile.stmt_list 900 0 0 0 etendo.profile.sample_stat_user_functions 900 0 0 0 etendo.profile.sample_stat_io 900 0 0 0 etendo.profile.sample_stat_cluster 900 0 0 0 etendo.profile.last_stat_wal 900 0 0 0 etendo.profile.sample_stat_indexes_total 900 0 0 0 etendo.profile.sample_statements 900 0 0 0 etendo.profile.servers 900 0 0 0 etendo.profile.last_stat_archiver 900 0 0 0 etendo.profile.last_extension_versions 900 0 0 0 etendo.profile.last_stat_tables_srv1 896 0 0 0 etendo.public.ad_audit_trail 900 0 52 0 etendo.profile.sample_stat_indexes 900 0 0 0 template1.pg_catalog.pg_shdepend 900 0 0 0 etendo.public.ad_preference 900 0 0 0 etendo.profile.last_stat_user_functions_srv1 896 0 0 0 postgres.pg_catalog.pg_shdepend 900 0 0 0 etendo.pg_toast.pg_toast_45833 900 0 0 0 etendo.profile.last_stat_io 900 0 0 0 etendo.profile.indexes_list 900 0 0 0 etendo.profile.sample_stat_database 900 0 0 0 etendo.public.ad_pinstance 900 0 23 0 etendo.profile.last_stat_slru 900 0 0 0 etendo.public.ad_pinstance_para 900 2 4 0 etendo.profile.sample_stat_tables 900 0 0 0 etendo.public.m_stock_proposed 900 3 84 0 etendo.public.ad_process_request 900 0 0 0 etendo.public.ad_session 900 0 0 0 Total 55,776 7 593 0 Autovacuum Activity
↑ Back to the top of the Autovacuum Activity tableDay Hour VACUUMs ANALYZEs Jul 13 07 3,720 23 08 3,720 23 09 3,714 19 10 3,720 21 11 3,714 21 12 3,720 29 13 3,714 21 14 3,720 14 15 3,720 19 16 3,720 19 17 3,714 14 18 3,720 17 19 3,720 9 20 3,720 9 21 3,720 7 22 0 0 - 4.25 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
- 121 Total read queries
- 0 Total write queries
Queries by database
Key values
- etendo Main database
- 121 Requests
- 10m38s (etendo)
- Main time consuming database
Queries by user
Key values
- tad Main user
- 105 Requests
User Request type Count Duration postgres Total 16 5m39s select 16 5m39s tad Total 105 4m59s select 105 4m59s Duration by user
Key values
- 5m39s (postgres) Main time consuming user
User Request type Count Duration postgres Total 16 5m39s select 16 5m39s tad Total 105 4m59s select 105 4m59s Queries by host
Key values
- 127.0.0.1 Main host
- 105 Requests
- 5m39s ([local])
- Main time consuming host
Queries by application
Key values
- openbravo Main application
- 105 Requests
- 5m39s (psql)
- Main time consuming application
Number of cancelled queries
Key values
- 0 per second Cancelled query Peak
- 2026-07-13 07:28:37 Date
Number of cancelled queries (5 minutes period)
NO DATASET
-
Top Queries
Histogram of query times
Key values
- 95 1000-10000ms duration
Slowest individual queries
Rank Duration Query 1 54s191ms SELECT profile.take_sample ();[ Date: 2026-07-13 11:00:55 - Database: etendo - User: postgres - Remote: [local] - Application: psql ]
2 46s983ms SELECT profile.take_sample ();[ Date: 2026-07-13 13:00:48 - Database: etendo - User: postgres - Remote: [local] - Application: psql ]
3 45s833ms SELECT profile.take_sample ();[ Date: 2026-07-13 17:00:47 - Database: etendo - User: postgres - Remote: [local] - Application: psql ]
4 45s53ms SELECT profile.take_sample ();[ Date: 2026-07-13 09:00:46 - Database: etendo - User: postgres - Remote: [local] - Application: psql ]
5 15s146ms SELECT profile.take_sample ();[ Date: 2026-07-13 15:00:16 - Database: etendo - User: postgres - Remote: [local] - Application: psql ]
6 15s142ms SELECT profile.take_sample ();[ Date: 2026-07-13 19:00:17 - Database: etendo - User: postgres - Remote: [local] - Application: psql ]
7 15s84ms SELECT profile.take_sample ();[ Date: 2026-07-13 16:00:17 - Database: etendo - User: postgres - Remote: [local] - Application: psql ]
8 14s499ms SELECT profile.take_sample ();[ Date: 2026-07-13 14:00:16 - Database: etendo - User: postgres - Remote: [local] - Application: psql ]
9 14s285ms SELECT * FROM ( select C_INVOICE_id as referencekey_id, '0' as ad_role_id, null as ad_user_id, 'SALES INVOICE POSTED MORE THAN ONCE' as description, 'Y' as isActive, C_INVOICE.ad_org_id as ad_org_id, C_INVOICE.ad_client_id as 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, c_doctype, fact_acct f1, fact_acct f2 WHERE C_INVOICE.c_doctype_id = c_doctype.c_doctype_id and c_doctype.docbasetype IN ('ARI', 'ARC', 'ARF') and f1.record_id = c_invoice.c_invoice_id and f1.record_id = f2.record_id and f1.ad_table_id = f2.ad_table_id and f1.fact_acct_group_id <> f2.fact_acct_group_id and f1.c_acctschema_id = f2.c_acctschema_id GROUP BY C_INVOICE_id, posted, C_INVOICE.ad_client_id, C_INVOICE.ad_org_id, f1.ad_table_id, f1.record_id) AAA where not exists ( select 1 from ad_alert a where a.ad_alertrule_id = '67AC26DEBEC1455D9510182FB973BC34' and a.referencekey_id = aaa.referencekey_id and coalesce(a.status, 'NEW') != 'SOLVED');[ Date: 2026-07-13 16:00:15 - Database: etendo - User: tad - Remote: 127.0.0.1 - Application: openbravo - Bind query: yes ]
10 14s250ms SELECT profile.take_sample ();[ Date: 2026-07-13 12:00:15 - Database: etendo - User: postgres - Remote: [local] - Application: psql ]
11 14s107ms SELECT * FROM ( select C_INVOICE_id as referencekey_id, '0' as ad_role_id, null as ad_user_id, 'SALES INVOICE POSTED MORE THAN ONCE' as description, 'Y' as isActive, C_INVOICE.ad_org_id as ad_org_id, C_INVOICE.ad_client_id as 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, c_doctype, fact_acct f1, fact_acct f2 WHERE C_INVOICE.c_doctype_id = c_doctype.c_doctype_id and c_doctype.docbasetype IN ('ARI', 'ARC', 'ARF') and f1.record_id = c_invoice.c_invoice_id and f1.record_id = f2.record_id and f1.ad_table_id = f2.ad_table_id and f1.fact_acct_group_id <> f2.fact_acct_group_id and f1.c_acctschema_id = f2.c_acctschema_id GROUP BY C_INVOICE_id, posted, C_INVOICE.ad_client_id, C_INVOICE.ad_org_id, f1.ad_table_id, f1.record_id) AAA where not exists ( select 1 from ad_alert a where a.ad_alertrule_id = '67AC26DEBEC1455D9510182FB973BC34' and a.referencekey_id = aaa.referencekey_id and coalesce(a.status, 'NEW') != 'SOLVED');[ Date: 2026-07-13 19:00:15 - Database: etendo - User: tad - Remote: 127.0.0.1 - Application: openbravo - Bind query: yes ]
12 13s947ms SELECT profile.take_sample ();[ Date: 2026-07-13 10:00:15 - Database: etendo - User: postgres - Remote: [local] - Application: psql ]
13 13s773ms SELECT * FROM ( select C_INVOICE_id as referencekey_id, '0' as ad_role_id, null as ad_user_id, 'SALES INVOICE POSTED MORE THAN ONCE' as description, 'Y' as isActive, C_INVOICE.ad_org_id as ad_org_id, C_INVOICE.ad_client_id as 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, c_doctype, fact_acct f1, fact_acct f2 WHERE C_INVOICE.c_doctype_id = c_doctype.c_doctype_id and c_doctype.docbasetype IN ('ARI', 'ARC', 'ARF') and f1.record_id = c_invoice.c_invoice_id and f1.record_id = f2.record_id and f1.ad_table_id = f2.ad_table_id and f1.fact_acct_group_id <> f2.fact_acct_group_id and f1.c_acctschema_id = f2.c_acctschema_id GROUP BY C_INVOICE_id, posted, C_INVOICE.ad_client_id, C_INVOICE.ad_org_id, f1.ad_table_id, f1.record_id) AAA where not exists ( select 1 from ad_alert a where a.ad_alertrule_id = '67AC26DEBEC1455D9510182FB973BC34' and a.referencekey_id = aaa.referencekey_id and coalesce(a.status, 'NEW') != 'SOLVED');[ Date: 2026-07-13 17:00:14 - Database: etendo - User: tad - Remote: 127.0.0.1 - Application: openbravo - Bind query: yes ]
14 13s762ms SELECT profile.take_sample ();[ Date: 2026-07-13 08:00:15 - Database: etendo - User: postgres - Remote: [local] - Application: psql ]
15 13s539ms SELECT * FROM ( select C_INVOICE_id as referencekey_id, '0' as ad_role_id, null as ad_user_id, 'SALES INVOICE POSTED MORE THAN ONCE' as description, 'Y' as isActive, C_INVOICE.ad_org_id as ad_org_id, C_INVOICE.ad_client_id as 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, c_doctype, fact_acct f1, fact_acct f2 WHERE C_INVOICE.c_doctype_id = c_doctype.c_doctype_id and c_doctype.docbasetype IN ('ARI', 'ARC', 'ARF') and f1.record_id = c_invoice.c_invoice_id and f1.record_id = f2.record_id and f1.ad_table_id = f2.ad_table_id and f1.fact_acct_group_id <> f2.fact_acct_group_id and f1.c_acctschema_id = f2.c_acctschema_id GROUP BY C_INVOICE_id, posted, C_INVOICE.ad_client_id, C_INVOICE.ad_org_id, f1.ad_table_id, f1.record_id) AAA where not exists ( select 1 from ad_alert a where a.ad_alertrule_id = '67AC26DEBEC1455D9510182FB973BC34' and a.referencekey_id = aaa.referencekey_id and coalesce(a.status, 'NEW') != 'SOLVED');[ Date: 2026-07-13 12:00:14 - Database: etendo - User: tad - Remote: 127.0.0.1 - Application: openbravo - Bind query: yes ]
16 13s411ms SELECT profile.take_sample ();[ Date: 2026-07-13 18:00:15 - Database: etendo - User: postgres - Remote: [local] - Application: psql ]
17 13s348ms SELECT * FROM ( select C_INVOICE_id as referencekey_id, '0' as ad_role_id, null as ad_user_id, 'SALES INVOICE POSTED MORE THAN ONCE' as description, 'Y' as isActive, C_INVOICE.ad_org_id as ad_org_id, C_INVOICE.ad_client_id as 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, c_doctype, fact_acct f1, fact_acct f2 WHERE C_INVOICE.c_doctype_id = c_doctype.c_doctype_id and c_doctype.docbasetype IN ('ARI', 'ARC', 'ARF') and f1.record_id = c_invoice.c_invoice_id and f1.record_id = f2.record_id and f1.ad_table_id = f2.ad_table_id and f1.fact_acct_group_id <> f2.fact_acct_group_id and f1.c_acctschema_id = f2.c_acctschema_id GROUP BY C_INVOICE_id, posted, C_INVOICE.ad_client_id, C_INVOICE.ad_org_id, f1.ad_table_id, f1.record_id) AAA where not exists ( select 1 from ad_alert a where a.ad_alertrule_id = '67AC26DEBEC1455D9510182FB973BC34' and a.referencekey_id = aaa.referencekey_id and coalesce(a.status, 'NEW') != 'SOLVED');[ Date: 2026-07-13 15:00:14 - Database: etendo - User: tad - Remote: 127.0.0.1 - Application: openbravo - Bind query: yes ]
18 13s15ms SELECT * FROM ( select C_INVOICE_id as referencekey_id, '0' as ad_role_id, null as ad_user_id, 'SALES INVOICE POSTED MORE THAN ONCE' as description, 'Y' as isActive, C_INVOICE.ad_org_id as ad_org_id, C_INVOICE.ad_client_id as 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, c_doctype, fact_acct f1, fact_acct f2 WHERE C_INVOICE.c_doctype_id = c_doctype.c_doctype_id and c_doctype.docbasetype IN ('ARI', 'ARC', 'ARF') and f1.record_id = c_invoice.c_invoice_id and f1.record_id = f2.record_id and f1.ad_table_id = f2.ad_table_id and f1.fact_acct_group_id <> f2.fact_acct_group_id and f1.c_acctschema_id = f2.c_acctschema_id GROUP BY C_INVOICE_id, posted, C_INVOICE.ad_client_id, C_INVOICE.ad_org_id, f1.ad_table_id, f1.record_id) AAA where not exists ( select 1 from ad_alert a where a.ad_alertrule_id = '67AC26DEBEC1455D9510182FB973BC34' and a.referencekey_id = aaa.referencekey_id and coalesce(a.status, 'NEW') != 'SOLVED');[ Date: 2026-07-13 14:00:14 - Database: etendo - User: tad - Remote: 127.0.0.1 - Application: openbravo - Bind query: yes ]
19 12s786ms SELECT * FROM ( select C_INVOICE_id as referencekey_id, '0' as ad_role_id, null as ad_user_id, 'SALES INVOICE POSTED MORE THAN ONCE' as description, 'Y' as isActive, C_INVOICE.ad_org_id as ad_org_id, C_INVOICE.ad_client_id as 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, c_doctype, fact_acct f1, fact_acct f2 WHERE C_INVOICE.c_doctype_id = c_doctype.c_doctype_id and c_doctype.docbasetype IN ('ARI', 'ARC', 'ARF') and f1.record_id = c_invoice.c_invoice_id and f1.record_id = f2.record_id and f1.ad_table_id = f2.ad_table_id and f1.fact_acct_group_id <> f2.fact_acct_group_id and f1.c_acctschema_id = f2.c_acctschema_id GROUP BY C_INVOICE_id, posted, C_INVOICE.ad_client_id, C_INVOICE.ad_org_id, f1.ad_table_id, f1.record_id) AAA where not exists ( select 1 from ad_alert a where a.ad_alertrule_id = '67AC26DEBEC1455D9510182FB973BC34' and a.referencekey_id = aaa.referencekey_id and coalesce(a.status, 'NEW') != 'SOLVED');[ Date: 2026-07-13 08:00:14 - Database: etendo - User: tad - Remote: 127.0.0.1 - Application: openbravo - Bind query: yes ]
20 12s706ms SELECT * FROM ( select C_INVOICE_id as referencekey_id, '0' as ad_role_id, null as ad_user_id, 'SALES INVOICE POSTED MORE THAN ONCE' as description, 'Y' as isActive, C_INVOICE.ad_org_id as ad_org_id, C_INVOICE.ad_client_id as 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, c_doctype, fact_acct f1, fact_acct f2 WHERE C_INVOICE.c_doctype_id = c_doctype.c_doctype_id and c_doctype.docbasetype IN ('ARI', 'ARC', 'ARF') and f1.record_id = c_invoice.c_invoice_id and f1.record_id = f2.record_id and f1.ad_table_id = f2.ad_table_id and f1.fact_acct_group_id <> f2.fact_acct_group_id and f1.c_acctschema_id = f2.c_acctschema_id GROUP BY C_INVOICE_id, posted, C_INVOICE.ad_client_id, C_INVOICE.ad_org_id, f1.ad_table_id, f1.record_id) AAA where not exists ( select 1 from ad_alert a where a.ad_alertrule_id = '67AC26DEBEC1455D9510182FB973BC34' and a.referencekey_id = aaa.referencekey_id and coalesce(a.status, 'NEW') != 'SOLVED');[ Date: 2026-07-13 09:00:13 - 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 5m38s 15 8s479ms 54s191ms 22s549ms select profile.take_sample ();Times Reported Time consuming queries #1
Day Hour Count Duration Avg duration Jul 13 07 1 11s261ms 11s261ms 08 1 13s762ms 13s762ms 09 1 45s53ms 45s53ms 10 1 13s947ms 13s947ms 11 1 54s191ms 54s191ms 12 1 14s250ms 14s250ms 13 1 46s983ms 46s983ms 14 1 14s499ms 14s499ms 15 1 15s146ms 15s146ms 16 1 15s84ms 15s84ms 17 1 45s833ms 45s833ms 18 1 13s411ms 13s411ms 19 1 15s142ms 15s142ms 20 1 11s199ms 11s199ms 21 1 8s479ms 8s479ms [ User: postgres - Total duration: 5m38s - Times executed: 15 ]
[ Application: psql - Total duration: 5m38s - Times executed: 15 ]
-
SELECT profile.take_sample ();
Date: 2026-07-13 11:00:55 Duration: 54s191ms Database: etendo User: postgres Remote: [local] Application: psql
-
SELECT profile.take_sample ();
Date: 2026-07-13 13:00:48 Duration: 46s983ms Database: etendo User: postgres Remote: [local] Application: psql
-
SELECT profile.take_sample ();
Date: 2026-07-13 17:00:47 Duration: 45s833ms Database: etendo User: postgres Remote: [local] Application: psql
2 3m1s 15 8s656ms 14s285ms 12s100ms select * from ( select c_invoice_id as referencekey_id, ? as ad_role_id, null as ad_user_id, ? as description, ? as isactive, c_invoice.ad_org_id as ad_org_id, c_invoice.ad_client_id as 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, c_doctype, fact_acct f1, fact_acct f2 where c_invoice.c_doctype_id = c_doctype.c_doctype_id and c_doctype.docbasetype in (...) and f1.record_id = c_invoice.c_invoice_id and f1.record_id = f2.record_id and f1.ad_table_id = f2.ad_table_id and f1.fact_acct_group_id <> f2.fact_acct_group_id and f1.c_acctschema_id = f2.c_acctschema_id group by c_invoice_id, posted, c_invoice.ad_client_id, c_invoice.ad_org_id, f1.ad_table_id, f1.record_id) 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 #2
Day Hour Count Duration Avg duration Jul 13 07 1 9s324ms 9s324ms 08 1 12s786ms 12s786ms 09 1 12s706ms 12s706ms 10 1 8s656ms 8s656ms 11 1 10s972ms 10s972ms 12 1 13s539ms 13s539ms 13 1 12s573ms 12s573ms 14 1 13s15ms 13s15ms 15 1 13s348ms 13s348ms 16 1 14s285ms 14s285ms 17 1 13s773ms 13s773ms 18 1 11s785ms 11s785ms 19 1 14s107ms 14s107ms 20 1 11s555ms 11s555ms 21 1 9s76ms 9s76ms [ User: tad - Total duration: 3m1s - Times executed: 15 ]
[ Application: openbravo - Total duration: 3m1s - Times executed: 15 ]
-
SELECT * FROM ( select C_INVOICE_id as referencekey_id, '0' as ad_role_id, null as ad_user_id, 'SALES INVOICE POSTED MORE THAN ONCE' as description, 'Y' as isActive, C_INVOICE.ad_org_id as ad_org_id, C_INVOICE.ad_client_id as 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, c_doctype, fact_acct f1, fact_acct f2 WHERE C_INVOICE.c_doctype_id = c_doctype.c_doctype_id and c_doctype.docbasetype IN ('ARI', 'ARC', 'ARF') and f1.record_id = c_invoice.c_invoice_id and f1.record_id = f2.record_id and f1.ad_table_id = f2.ad_table_id and f1.fact_acct_group_id <> f2.fact_acct_group_id and f1.c_acctschema_id = f2.c_acctschema_id GROUP BY C_INVOICE_id, posted, C_INVOICE.ad_client_id, C_INVOICE.ad_org_id, f1.ad_table_id, f1.record_id) AAA where not exists ( select 1 from ad_alert a where a.ad_alertrule_id = '67AC26DEBEC1455D9510182FB973BC34' and a.referencekey_id = aaa.referencekey_id and coalesce(a.status, 'NEW') != 'SOLVED');
Date: 2026-07-13 16:00:15 Duration: 14s285ms 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, 'SALES INVOICE POSTED MORE THAN ONCE' as description, 'Y' as isActive, C_INVOICE.ad_org_id as ad_org_id, C_INVOICE.ad_client_id as 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, c_doctype, fact_acct f1, fact_acct f2 WHERE C_INVOICE.c_doctype_id = c_doctype.c_doctype_id and c_doctype.docbasetype IN ('ARI', 'ARC', 'ARF') and f1.record_id = c_invoice.c_invoice_id and f1.record_id = f2.record_id and f1.ad_table_id = f2.ad_table_id and f1.fact_acct_group_id <> f2.fact_acct_group_id and f1.c_acctschema_id = f2.c_acctschema_id GROUP BY C_INVOICE_id, posted, C_INVOICE.ad_client_id, C_INVOICE.ad_org_id, f1.ad_table_id, f1.record_id) AAA where not exists ( select 1 from ad_alert a where a.ad_alertrule_id = '67AC26DEBEC1455D9510182FB973BC34' and a.referencekey_id = aaa.referencekey_id and coalesce(a.status, 'NEW') != 'SOLVED');
Date: 2026-07-13 19:00:15 Duration: 14s107ms 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, 'SALES INVOICE POSTED MORE THAN ONCE' as description, 'Y' as isActive, C_INVOICE.ad_org_id as ad_org_id, C_INVOICE.ad_client_id as 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, c_doctype, fact_acct f1, fact_acct f2 WHERE C_INVOICE.c_doctype_id = c_doctype.c_doctype_id and c_doctype.docbasetype IN ('ARI', 'ARC', 'ARF') and f1.record_id = c_invoice.c_invoice_id and f1.record_id = f2.record_id and f1.ad_table_id = f2.ad_table_id and f1.fact_acct_group_id <> f2.fact_acct_group_id and f1.c_acctschema_id = f2.c_acctschema_id GROUP BY C_INVOICE_id, posted, C_INVOICE.ad_client_id, C_INVOICE.ad_org_id, f1.ad_table_id, f1.record_id) AAA where not exists ( select 1 from ad_alert a where a.ad_alertrule_id = '67AC26DEBEC1455D9510182FB973BC34' and a.referencekey_id = aaa.referencekey_id and coalesce(a.status, 'NEW') != 'SOLVED');
Date: 2026-07-13 17:00:14 Duration: 13s773ms Database: etendo User: tad Remote: 127.0.0.1 Application: openbravo Bind query: yes
3 1m5s 59 1s4ms 1s673ms 1s114ms select productbyp0_.m_product_price_warehouse_v_id as m_produc1_496_, productbyp0_.ad_client_id as ad_clien2_496_, productbyp0_.ad_org_id as ad_org_i3_496_, productbyp0_.isactive as isactive4_496_, productbyp0_.updated as updated5_496_, productbyp0_.updatedby as updatedb6_496_, productbyp0_.created as created7_496_, productbyp0_.createdby as createdb8_496_, productbyp0_.m_product_id as m_produc9_496_, productbyp0_.m_warehouse_id as m_wareh10_496_, productbyp0_.m_productprice_id as m_produ11_496_, productbyp0_.qty_available as qty_ava12_496_, productbyp0_.qty_onhand as qty_onh13_496_, productbyp0_.qty_reserved as qty_res14_496_, productbyp0_.qty_ordered as qty_ord15_496_, productbyp0_.pricelist as priceli16_496_, productbyp0_.pricestd as pricest17_496_, productbyp0_.pricelimit as priceli18_496_, productbyp0_.orgwarehouse as orgware19_496_ from m_product_price_warehouse_v productbyp0_ left outer join m_product product1_ on productbyp0_.m_product_id = product1_.m_product_id cross join m_productprice pricingpro4_ cross join m_pricelist_version pricingpri5_ cross join m_pricelist pricingpri9_ where productbyp0_.m_productprice_id = pricingpro4_.m_productprice_id and pricingpro4_.m_pricelist_version_id = pricingpri5_.m_pricelist_version_id and pricingpri5_.m_pricelist_id = pricingpri9_.m_pricelist_id and (upper(product1_.value) like upper(?) escape ? or upper(product1_.name) like upper(?) escape ? or upper((coalesce(to_char(( select producttrl2_.name from m_product_trl producttrl2_ where producttrl2_.m_product_id = product1_.m_product_id and producttrl2_.ad_language = ?)), to_char(product1_.name), ?) || ?| | product1_.value)) like upper(?) escape ? or upper((coalesce(to_char(( select producttrl3_.name from m_product_trl producttrl3_ where producttrl3_.m_product_id = product1_.m_product_id and producttrl3_.ad_language = ?)), to_char(product1_.name), ?) || ?| | product1_.value)) like upper(?) escape ?) and (productbyp0_.ad_org_id in (...)) and productbyp0_.isactive = ? and ad_org_isinnaturaltree (productbyp0_.orgwarehouse, ?, ?) = ? and pricingpri5_.isactive = ? and ad_org_isinnaturaltree (pricingpro4_.ad_org_id, ?, ?) = ? and pricingpri9_.issopricelist = ? and pricingpri9_.c_currency_id = ? and pricingpro4_.m_pricelist_version_id = ? and productbyp0_.m_warehouse_id = ? and (productbyp0_.ad_client_id in (...)) and productbyp0_.isactive = ? order by product1_.name, product1_.value, product1_.m_product_id limit ?;Times Reported Time consuming queries #3
Day Hour Count Duration Avg duration Jul 13 07 8 9s242ms 1s155ms 08 4 4s190ms 1s47ms 09 10 11s411ms 1s141ms 10 4 4s317ms 1s79ms 11 8 9s612ms 1s201ms 12 10 10s441ms 1s44ms 13 4 4s277ms 1s69ms 15 3 3s308ms 1s102ms 16 2 2s193ms 1s96ms 17 2 2s138ms 1s69ms 18 4 4s647ms 1s161ms [ User: tad - Total duration: 1m5s - Times executed: 59 ]
[ Application: openbravo - Total duration: 1m5s - Times executed: 59 ]
-
select productbyp0_.M_Product_Price_Warehouse_V_ID as m_produc1_496_, productbyp0_.AD_Client_ID as ad_clien2_496_, productbyp0_.AD_Org_ID as ad_org_i3_496_, productbyp0_.Isactive as isactive4_496_, productbyp0_.Updated as updated5_496_, productbyp0_.Updatedby as updatedb6_496_, productbyp0_.Created as created7_496_, productbyp0_.Createdby as createdb8_496_, productbyp0_.M_Product_ID as m_produc9_496_, productbyp0_.M_Warehouse_ID as m_wareh10_496_, productbyp0_.M_Productprice_ID as m_produ11_496_, productbyp0_.QTY_Available as qty_ava12_496_, productbyp0_.QTY_Onhand as qty_onh13_496_, productbyp0_.QTY_Reserved as qty_res14_496_, productbyp0_.QTY_Ordered as qty_ord15_496_, productbyp0_.Pricelist as priceli16_496_, productbyp0_.Pricestd as pricest17_496_, productbyp0_.Pricelimit as priceli18_496_, productbyp0_.Orgwarehouse as orgware19_496_ from M_Product_Price_Warehouse_v productbyp0_ left outer join M_Product product1_ on productbyp0_.M_Product_ID = product1_.M_Product_ID cross join M_ProductPrice pricingpro4_ cross join M_PriceList_Version pricingpri5_ cross join M_PriceList pricingpri9_ where productbyp0_.M_Productprice_ID = pricingpro4_.M_ProductPrice_ID and pricingpro4_.M_PriceList_Version_ID = pricingpri5_.M_PriceList_Version_ID and pricingpri5_.M_PriceList_ID = pricingpri9_.M_PriceList_ID and (upper(product1_.Value) like upper('%A%') escape '|' or upper(product1_.Name) like upper('%A%') escape '|' or upper((coalesce(to_char(( select producttrl2_.Name from M_Product_Trl producttrl2_ where producttrl2_.M_Product_ID = product1_.M_Product_ID and producttrl2_.AD_Language = 'es_ES')), to_char(product1_.Name), '') || ' - ' || product1_.Value)) like upper('%A%') escape '|' or upper((coalesce(to_char(( select producttrl3_.Name from M_Product_Trl producttrl3_ where producttrl3_.M_Product_ID = product1_.M_Product_ID and producttrl3_.AD_Language = 'es_ES')), to_char(product1_.Name), '') || ' - ' || product1_.Value)) like upper('%A%') escape '|') and (productbyp0_.AD_Org_ID in ('0', 'C34A537D1464452783C0A7C7C913FC86', '4A2127624482427B8B0BE0DD8ABF92D4', '3724B485FEC444038C28CAEE0F24E7E6', 'B2834B32C6C2488CA31DE4D756AD4A5F')) and productbyp0_.Isactive = 'Y' and AD_ORG_ISINNATURALTREE (productbyp0_.Orgwarehouse, 'B2834B32C6C2488CA31DE4D756AD4A5F', '4E7785E633254999A6D7545B0BE57A46') = 'Y' and pricingpri5_.IsActive = 'Y' and AD_ORG_ISINNATURALTREE (pricingpro4_.AD_Org_ID, 'B2834B32C6C2488CA31DE4D756AD4A5F', '4E7785E633254999A6D7545B0BE57A46') = 'Y' and pricingpri9_.IsSOPriceList = 'Y' and pricingpri9_.C_Currency_ID = '102' and pricingpro4_.M_PriceList_Version_ID = '1000109' and productbyp0_.M_Warehouse_ID = '6F618729B86C4789AF3EC693A15D4785' and (productbyp0_.AD_Client_ID in ('4E7785E633254999A6D7545B0BE57A46', '0')) and productbyp0_.Isactive = 'Y' order by product1_.Name, product1_.Value, product1_.M_Product_ID limit '76';
Date: 2026-07-13 11:50:08 Duration: 1s673ms Database: etendo User: tad Remote: 127.0.0.1 Application: openbravo Bind query: yes
-
select productbyp0_.M_Product_Price_Warehouse_V_ID as m_produc1_496_, productbyp0_.AD_Client_ID as ad_clien2_496_, productbyp0_.AD_Org_ID as ad_org_i3_496_, productbyp0_.Isactive as isactive4_496_, productbyp0_.Updated as updated5_496_, productbyp0_.Updatedby as updatedb6_496_, productbyp0_.Created as created7_496_, productbyp0_.Createdby as createdb8_496_, productbyp0_.M_Product_ID as m_produc9_496_, productbyp0_.M_Warehouse_ID as m_wareh10_496_, productbyp0_.M_Productprice_ID as m_produ11_496_, productbyp0_.QTY_Available as qty_ava12_496_, productbyp0_.QTY_Onhand as qty_onh13_496_, productbyp0_.QTY_Reserved as qty_res14_496_, productbyp0_.QTY_Ordered as qty_ord15_496_, productbyp0_.Pricelist as priceli16_496_, productbyp0_.Pricestd as pricest17_496_, productbyp0_.Pricelimit as priceli18_496_, productbyp0_.Orgwarehouse as orgware19_496_ from M_Product_Price_Warehouse_v productbyp0_ left outer join M_Product product1_ on productbyp0_.M_Product_ID = product1_.M_Product_ID cross join M_ProductPrice pricingpro4_ cross join M_PriceList_Version pricingpri5_ cross join M_PriceList pricingpri9_ where productbyp0_.M_Productprice_ID = pricingpro4_.M_ProductPrice_ID and pricingpro4_.M_PriceList_Version_ID = pricingpri5_.M_PriceList_Version_ID and pricingpri5_.M_PriceList_ID = pricingpri9_.M_PriceList_ID and (upper(product1_.Value) like upper('%A%') escape '|' or upper(product1_.Name) like upper('%A%') escape '|' or upper((coalesce(to_char(( select producttrl2_.Name from M_Product_Trl producttrl2_ where producttrl2_.M_Product_ID = product1_.M_Product_ID and producttrl2_.AD_Language = 'es_ES')), to_char(product1_.Name), '') || ' - ' || product1_.Value)) like upper('%A%') escape '|' or upper((coalesce(to_char(( select producttrl3_.Name from M_Product_Trl producttrl3_ where producttrl3_.M_Product_ID = product1_.M_Product_ID and producttrl3_.AD_Language = 'es_ES')), to_char(product1_.Name), '') || ' - ' || product1_.Value)) like upper('%A%') escape '|') and (productbyp0_.AD_Org_ID in ('0', 'C34A537D1464452783C0A7C7C913FC86', '4A2127624482427B8B0BE0DD8ABF92D4', '3724B485FEC444038C28CAEE0F24E7E6', 'B2834B32C6C2488CA31DE4D756AD4A5F')) and productbyp0_.Isactive = 'Y' and AD_ORG_ISINNATURALTREE (productbyp0_.Orgwarehouse, 'B2834B32C6C2488CA31DE4D756AD4A5F', '4E7785E633254999A6D7545B0BE57A46') = 'Y' and pricingpri5_.IsActive = 'Y' and AD_ORG_ISINNATURALTREE (pricingpro4_.AD_Org_ID, 'B2834B32C6C2488CA31DE4D756AD4A5F', '4E7785E633254999A6D7545B0BE57A46') = 'Y' and pricingpri9_.IsSOPriceList = 'Y' and pricingpri9_.C_Currency_ID = '102' and pricingpro4_.M_PriceList_Version_ID = '1000113' and productbyp0_.M_Warehouse_ID = '6F618729B86C4789AF3EC693A15D4785' and (productbyp0_.AD_Client_ID in ('4E7785E633254999A6D7545B0BE57A46', '0')) and productbyp0_.Isactive = 'Y' order by product1_.Name, product1_.Value, product1_.M_Product_ID limit '76';
Date: 2026-07-13 09:08:20 Duration: 1s589ms Database: etendo User: tad Remote: 127.0.0.1 Application: openbravo Bind query: yes
-
select productbyp0_.M_Product_Price_Warehouse_V_ID as m_produc1_496_, productbyp0_.AD_Client_ID as ad_clien2_496_, productbyp0_.AD_Org_ID as ad_org_i3_496_, productbyp0_.Isactive as isactive4_496_, productbyp0_.Updated as updated5_496_, productbyp0_.Updatedby as updatedb6_496_, productbyp0_.Created as created7_496_, productbyp0_.Createdby as createdb8_496_, productbyp0_.M_Product_ID as m_produc9_496_, productbyp0_.M_Warehouse_ID as m_wareh10_496_, productbyp0_.M_Productprice_ID as m_produ11_496_, productbyp0_.QTY_Available as qty_ava12_496_, productbyp0_.QTY_Onhand as qty_onh13_496_, productbyp0_.QTY_Reserved as qty_res14_496_, productbyp0_.QTY_Ordered as qty_ord15_496_, productbyp0_.Pricelist as priceli16_496_, productbyp0_.Pricestd as pricest17_496_, productbyp0_.Pricelimit as priceli18_496_, productbyp0_.Orgwarehouse as orgware19_496_ from M_Product_Price_Warehouse_v productbyp0_ left outer join M_Product product1_ on productbyp0_.M_Product_ID = product1_.M_Product_ID cross join M_ProductPrice pricingpro4_ cross join M_PriceList_Version pricingpri5_ cross join M_PriceList pricingpri9_ where productbyp0_.M_Productprice_ID = pricingpro4_.M_ProductPrice_ID and pricingpro4_.M_PriceList_Version_ID = pricingpri5_.M_PriceList_Version_ID and pricingpri5_.M_PriceList_ID = pricingpri9_.M_PriceList_ID and (upper(product1_.Value) like upper('%I%') escape '|' or upper(product1_.Name) like upper('%I%') escape '|' or upper((coalesce(to_char(( select producttrl2_.Name from M_Product_Trl producttrl2_ where producttrl2_.M_Product_ID = product1_.M_Product_ID and producttrl2_.AD_Language = 'es_ES')), to_char(product1_.Name), '') || ' - ' || product1_.Value)) like upper('%I%') escape '|' or upper((coalesce(to_char(( select producttrl3_.Name from M_Product_Trl producttrl3_ where producttrl3_.M_Product_ID = product1_.M_Product_ID and producttrl3_.AD_Language = 'es_ES')), to_char(product1_.Name), '') || ' - ' || product1_.Value)) like upper('%I%') escape '|') and (productbyp0_.AD_Org_ID in ('0', 'C34A537D1464452783C0A7C7C913FC86', '4A2127624482427B8B0BE0DD8ABF92D4', '3724B485FEC444038C28CAEE0F24E7E6', 'B2834B32C6C2488CA31DE4D756AD4A5F')) and productbyp0_.Isactive = 'Y' and AD_ORG_ISINNATURALTREE (productbyp0_.Orgwarehouse, 'B2834B32C6C2488CA31DE4D756AD4A5F', '4E7785E633254999A6D7545B0BE57A46') = 'Y' and pricingpri5_.IsActive = 'Y' and AD_ORG_ISINNATURALTREE (pricingpro4_.AD_Org_ID, 'B2834B32C6C2488CA31DE4D756AD4A5F', '4E7785E633254999A6D7545B0BE57A46') = 'Y' and pricingpri9_.IsSOPriceList = 'Y' and pricingpri9_.C_Currency_ID = '102' and pricingpro4_.M_PriceList_Version_ID = '1000109' and productbyp0_.M_Warehouse_ID = '6F618729B86C4789AF3EC693A15D4785' and (productbyp0_.AD_Client_ID in ('4E7785E633254999A6D7545B0BE57A46', '0')) and productbyp0_.Isactive = 'Y' order by product1_.Name, product1_.Value, product1_.M_Product_ID limit '76';
Date: 2026-07-13 11:50:32 Duration: 1s528ms Database: etendo User: tad Remote: 127.0.0.1 Application: openbravo Bind query: yes
4 20s829ms 15 1s48ms 2s241ms 1s388ms select * from ( select c_invoice.c_invoice_id as referencekey_id, c_invoice.documentno as record_id, ? as ad_role_id, null as ad_user_id, ?| | c_invoice.documentno || ?| | c_invoice.grandtotal || ?| | (( select round(sum(linenetamt), ?) from c_invoiceline line where line.c_invoice_id = c_invoice.c_invoice_id) + ( select coalesce(round(sum(tax.taxamt), ?), ?) from c_invoicetax tax where tax.c_invoice_id = c_invoice.c_invoice_id)) as description, ? as isactive, c_invoice.ad_org_id, c_invoice.ad_client_id, now() as created, ? as createdby, now() as updated, ? as updatedby from c_invoice where c_invoice.issotrx = ? and c_invoice.grandtotal <> round((( select round(sum(linenetamt), ?) from c_invoiceline line where line.c_invoice_id = c_invoice.c_invoice_id) + ( select coalesce(round(sum(tax.taxamt), ?), ?) from c_invoicetax tax where tax.c_invoice_id = c_invoice.c_invoice_id)), ?)) 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 1 1s393ms 1s393ms 08 1 1s255ms 1s255ms 09 1 1s302ms 1s302ms 10 1 2s241ms 2s241ms 11 1 1s587ms 1s587ms 12 1 1s725ms 1s725ms 13 1 1s304ms 1s304ms 14 1 1s496ms 1s496ms 15 1 1s428ms 1s428ms 16 1 1s134ms 1s134ms 17 1 1s88ms 1s88ms 18 1 1s401ms 1s401ms 19 1 1s98ms 1s98ms 20 1 1s48ms 1s48ms 21 1 1s323ms 1s323ms [ User: tad - Total duration: 20s829ms - Times executed: 15 ]
[ Application: openbravo - Total duration: 20s829ms - Times executed: 15 ]
-
SELECT * FROM ( select c_invoice.C_INVOICE_ID as referencekey_id, c_invoice.documentno as record_id, 0 as ad_role_id, null as ad_user_id, 'Factura ' || c_invoice.documentno || ' difiere el importe total ' || c_invoice.grandtotal || ' con la suma del total de las lineas + impuestos ' || (( select round(sum(linenetamt), 2) from c_invoiceline line where line.c_invoice_id = c_invoice.c_invoice_id) + ( select coalesce(round(sum(tax.taxamt), 2), 0) from c_invoicetax tax where tax.c_invoice_id = c_invoice.c_invoice_id)) as description, 'Y' as isActive, c_invoice.ad_org_id, c_invoice.ad_client_id, now() as created, 0 as createdBy, now() as updated, 0 as updatedBy from c_invoice where c_invoice.issotrx = 'Y' and c_invoice.grandtotal <> round((( select round(sum(linenetamt), 2) from c_invoiceline line where line.c_invoice_id = c_invoice.c_invoice_id) + ( select coalesce(round(sum(tax.taxamt), 2), 0) from c_invoicetax tax where tax.c_invoice_id = c_invoice.c_invoice_id)), 2)) AAA where not exists ( select 1 from ad_alert a where a.ad_alertrule_id = 'D385EC7B4B9F428093AF4EBA38AF5821' and a.referencekey_id = aaa.referencekey_id and coalesce(a.status, 'NEW') != 'SOLVED');
Date: 2026-07-13 10:00:14 Duration: 2s241ms Database: etendo User: tad Remote: 127.0.0.1 Application: openbravo Bind query: yes
-
SELECT * FROM ( select c_invoice.C_INVOICE_ID as referencekey_id, c_invoice.documentno as record_id, 0 as ad_role_id, null as ad_user_id, 'Factura ' || c_invoice.documentno || ' difiere el importe total ' || c_invoice.grandtotal || ' con la suma del total de las lineas + impuestos ' || (( select round(sum(linenetamt), 2) from c_invoiceline line where line.c_invoice_id = c_invoice.c_invoice_id) + ( select coalesce(round(sum(tax.taxamt), 2), 0) from c_invoicetax tax where tax.c_invoice_id = c_invoice.c_invoice_id)) as description, 'Y' as isActive, c_invoice.ad_org_id, c_invoice.ad_client_id, now() as created, 0 as createdBy, now() as updated, 0 as updatedBy from c_invoice where c_invoice.issotrx = 'Y' and c_invoice.grandtotal <> round((( select round(sum(linenetamt), 2) from c_invoiceline line where line.c_invoice_id = c_invoice.c_invoice_id) + ( select coalesce(round(sum(tax.taxamt), 2), 0) from c_invoicetax tax where tax.c_invoice_id = c_invoice.c_invoice_id)), 2)) AAA where not exists ( select 1 from ad_alert a where a.ad_alertrule_id = 'D385EC7B4B9F428093AF4EBA38AF5821' and a.referencekey_id = aaa.referencekey_id and coalesce(a.status, 'NEW') != 'SOLVED');
Date: 2026-07-13 12:00:23 Duration: 1s725ms Database: etendo User: tad Remote: 127.0.0.1 Application: openbravo Bind query: yes
-
SELECT * FROM ( select c_invoice.C_INVOICE_ID as referencekey_id, c_invoice.documentno as record_id, 0 as ad_role_id, null as ad_user_id, 'Factura ' || c_invoice.documentno || ' difiere el importe total ' || c_invoice.grandtotal || ' con la suma del total de las lineas + impuestos ' || (( select round(sum(linenetamt), 2) from c_invoiceline line where line.c_invoice_id = c_invoice.c_invoice_id) + ( select coalesce(round(sum(tax.taxamt), 2), 0) from c_invoicetax tax where tax.c_invoice_id = c_invoice.c_invoice_id)) as description, 'Y' as isActive, c_invoice.ad_org_id, c_invoice.ad_client_id, now() as created, 0 as createdBy, now() as updated, 0 as updatedBy from c_invoice where c_invoice.issotrx = 'Y' and c_invoice.grandtotal <> round((( select round(sum(linenetamt), 2) from c_invoiceline line where line.c_invoice_id = c_invoice.c_invoice_id) + ( select coalesce(round(sum(tax.taxamt), 2), 0) from c_invoicetax tax where tax.c_invoice_id = c_invoice.c_invoice_id)), 2)) AAA where not exists ( select 1 from ad_alert a where a.ad_alertrule_id = 'D385EC7B4B9F428093AF4EBA38AF5821' and a.referencekey_id = aaa.referencekey_id and coalesce(a.status, 'NEW') != 'SOLVED');
Date: 2026-07-13 11:00:14 Duration: 1s587ms Database: etendo User: tad Remote: 127.0.0.1 Application: openbravo Bind query: yes
5 8s649ms 5 1s44ms 2s492ms 1s729ms select * from c_order_post (?);Times Reported Time consuming queries #5
Day Hour Count Duration Avg duration Jul 13 07 1 2s492ms 2s492ms 08 1 1s44ms 1s44ms 10 1 2s147ms 2s147ms 11 1 1s821ms 1s821ms 15 1 1s143ms 1s143ms [ User: tad - Total duration: 8s649ms - Times executed: 5 ]
[ Application: openbravo - Total duration: 8s649ms - Times executed: 5 ]
-
SELECT * FROM C_ORDER_POST ('C3E479B6BDEC4AE5B306C37B5C843B61');
Date: 2026-07-13 07:37:23 Duration: 2s492ms Database: etendo User: tad Remote: 127.0.0.1 Application: openbravo Bind query: yes
-
SELECT * FROM C_ORDER_POST ('93892410C532448A9F33702B0658107E');
Date: 2026-07-13 10:14:18 Duration: 2s147ms Database: etendo User: tad Remote: 127.0.0.1 Application: openbravo Bind query: yes
-
SELECT * FROM C_ORDER_POST ('3CE7B223E77D477689784AE348948077');
Date: 2026-07-13 11:53:47 Duration: 1s821ms Database: etendo User: tad Remote: 127.0.0.1 Application: openbravo Bind query: yes
6 6s721ms 3 1s90ms 2s892ms 2s240ms select a.id, ev.value as account_id, coalesce(ev_trl.name, ev.name) as name, a.initialamt as saldo_inicial, a.amtacctcr, a.amtacctdr, a.initialamt + a.amtacctdr - a.amtacctcr as saldo_final, a.groupbyid, case ad_column_identifier (?, groupbyid, to_char(?)) when ? then ? else ad_column_identifier (?, groupbyid, to_char(?)) end as groupbyname from ( select sum( case when (dateacct < to_date(?) or (dateacct = to_date(?) and f.factaccttype = ?)) then f.amtacctdr - f.amtacctcr else ? end) as initialamt, sum( case when (dateacct >= to_date(?) and f.factaccttype not in (...)) or (dateacct = to_date(?) and f.factaccttype = ?) then f.amtacctdr else ? end) as amtacctdr, sum( case when (dateacct >= to_date(?) and f.factaccttype not in (...)) or (dateacct = to_date(?) and f.factaccttype = ?) then f.amtacctcr else ? end) as amtacctcr, f.account_id as id, to_char(?) as groupbyid from fact_acct f where f.ad_org_id in (...) and f.ad_client_id in (...) and f.ad_org_id in (...) and dateacct < to_date(?) and ? = ? and f.c_acctschema_id = ? and f.isactive = ? group by f.account_id) a left join c_elementvalue ev on a.id = ev.c_elementvalue_id left join c_elementvalue_trl ev_trl on ev.c_elementvalue_id = ev_trl.c_elementvalue_id and ev_trl.ad_language = ? where ev.elementlevel = ? and ? = ? and ev.value >= ? and ev.value <= ? and (a.initialamt <> ? or a.amtacctcr <> ? or a.amtacctdr <> ?) order by ev.value, ev.name, id, groupbyname;Times Reported Time consuming queries #6
Day Hour Count Duration Avg duration Jul 13 09 1 2s892ms 2s892ms 10 2 3s829ms 1s914ms [ User: tad - Total duration: 6s721ms - Times executed: 3 ]
[ Application: openbravo - Total duration: 6s721ms - Times executed: 3 ]
-
select a.id, ev.value as account_id, COALESCE(ev_trl.name, ev.name) as name, a.initialamt as SALDO_INICIAL, a.amtacctcr, a.amtacctdr, A.INITIALAMT + A.AMTACCTDR - A.AMTACCTCR AS SALDO_FINAL, a.groupbyid, CASE ad_column_identifier ('',groupbyid,TO_CHAR('es_ES')) WHEN '**' THEN '' ELSE ad_column_identifier ('',groupbyid,TO_CHAR('es_ES')) END AS groupbyname from( SELECT sum(case when (DATEACCT < TO_DATE('01-01-2026') or (DATEACCT = TO_DATE('01-01-2026') and F.FACTACCTTYPE = 'O')) then F.AMTACCTDR - F.AMTACCTCR else 0 end) as initialamt, sum(case when (DATEACCT >= TO_DATE('01-01-2026') AND F.FACTACCTTYPE not in('O', 'R', 'C')) or (DATEACCT = TO_DATE('01-01-2026') and F.FACTACCTTYPE = NULL) then F.AMTACCTDR else 0 end) as AMTACCTDR, sum(case when (DATEACCT >= TO_DATE('01-01-2026') AND F.FACTACCTTYPE not in('O', 'R', 'C')) or (DATEACCT = TO_DATE('01-01-2026') and F.FACTACCTTYPE = NULL) then F.AMTACCTCR else 0 end) as AMTACCTCR, F.ACCOUNT_ID AS ID, to_char('') AS groupbyid FROM FACT_ACCT F WHERE F.AD_ORG_ID IN ('C34A537D1464452783C0A7C7C913FC86', 'B2834B32C6C2488CA31DE4D756AD4A5F', '3724B485FEC444038C28CAEE0F24E7E6') AND F.AD_CLIENT_ID IN ('0', '4E7785E633254999A6D7545B0BE57A46') AND F.AD_ORG_ID IN ('C34A537D1464452783C0A7C7C913FC86', 'B2834B32C6C2488CA31DE4D756AD4A5F', '3724B485FEC444038C28CAEE0F24E7E6') AND DATEACCT < TO_DATE('01-06-2026') AND 1 = 1 AND F.C_ACCTSCHEMA_ID = '0F5D42F2ED1147B1A08F51C2E218D734' AND F.ISACTIVE = 'Y' group by F.ACCOUNT_ID) a LEFT JOIN c_elementvalue ev ON a.id = ev.c_elementvalue_id LEFT JOIN c_elementvalue_trl ev_trl ON ev.c_elementvalue_id = ev_trl.c_elementvalue_id AND ev_trl.ad_language = 'es_ES' WHERE ev.elementlevel = 'S' AND 2 = 2 AND EV.VALUE >= '47000' AND EV.VALUE <= '47900' and (a.initialamt <> 0 or a.amtacctcr <> 0 or a.amtacctdr <> 0) order by ev.value, ev.name, id, groupbyname;
Date: 2026-07-13 09:56:28 Duration: 2s892ms Database: etendo User: tad Remote: 127.0.0.1 Application: openbravo Bind query: yes
-
select a.id, ev.value as account_id, COALESCE(ev_trl.name, ev.name) as name, a.initialamt as SALDO_INICIAL, a.amtacctcr, a.amtacctdr, A.INITIALAMT + A.AMTACCTDR - A.AMTACCTCR AS SALDO_FINAL, a.groupbyid, CASE ad_column_identifier ('',groupbyid,TO_CHAR('es_ES')) WHEN '**' THEN '' ELSE ad_column_identifier ('',groupbyid,TO_CHAR('es_ES')) END AS groupbyname from( SELECT sum(case when (DATEACCT < TO_DATE('01-01-2026') or (DATEACCT = TO_DATE('01-01-2026') and F.FACTACCTTYPE = 'O')) then F.AMTACCTDR - F.AMTACCTCR else 0 end) as initialamt, sum(case when (DATEACCT >= TO_DATE('01-01-2026') AND F.FACTACCTTYPE not in('O', 'R', 'C')) or (DATEACCT = TO_DATE('01-01-2026') and F.FACTACCTTYPE = NULL) then F.AMTACCTDR else 0 end) as AMTACCTDR, sum(case when (DATEACCT >= TO_DATE('01-01-2026') AND F.FACTACCTTYPE not in('O', 'R', 'C')) or (DATEACCT = TO_DATE('01-01-2026') and F.FACTACCTTYPE = NULL) then F.AMTACCTCR else 0 end) as AMTACCTCR, F.ACCOUNT_ID AS ID, to_char('') AS groupbyid FROM FACT_ACCT F WHERE F.AD_ORG_ID IN ('C34A537D1464452783C0A7C7C913FC86', 'B2834B32C6C2488CA31DE4D756AD4A5F', '3724B485FEC444038C28CAEE0F24E7E6') AND F.AD_CLIENT_ID IN ('0', '4E7785E633254999A6D7545B0BE57A46') AND F.AD_ORG_ID IN ('C34A537D1464452783C0A7C7C913FC86', 'B2834B32C6C2488CA31DE4D756AD4A5F', '3724B485FEC444038C28CAEE0F24E7E6') AND DATEACCT < TO_DATE('01-06-2026') AND 1 = 1 AND F.C_ACCTSCHEMA_ID = '0F5D42F2ED1147B1A08F51C2E218D734' AND F.ISACTIVE = 'Y' group by F.ACCOUNT_ID) a LEFT JOIN c_elementvalue ev ON a.id = ev.c_elementvalue_id LEFT JOIN c_elementvalue_trl ev_trl ON ev.c_elementvalue_id = ev_trl.c_elementvalue_id AND ev_trl.ad_language = 'es_ES' WHERE ev.elementlevel = 'S' AND 2 = 2 AND EV.VALUE >= '47000' AND EV.VALUE <= '47900' and (a.initialamt <> 0 or a.amtacctcr <> 0 or a.amtacctdr <> 0) order by ev.value, ev.name, id, groupbyname;
Date: 2026-07-13 10:01:05 Duration: 2s738ms Database: etendo User: tad Remote: 127.0.0.1 Application: openbravo Bind query: yes
-
select a.id, ev.value as account_id, COALESCE(ev_trl.name, ev.name) as name, a.initialamt as SALDO_INICIAL, a.amtacctcr, a.amtacctdr, A.INITIALAMT + A.AMTACCTDR - A.AMTACCTCR AS SALDO_FINAL, a.groupbyid, CASE ad_column_identifier ('',groupbyid,TO_CHAR('es_ES')) WHEN '**' THEN '' ELSE ad_column_identifier ('',groupbyid,TO_CHAR('es_ES')) END AS groupbyname from( SELECT sum(case when (DATEACCT < TO_DATE('01-01-2026') or (DATEACCT = TO_DATE('01-01-2026') and F.FACTACCTTYPE = 'O')) then F.AMTACCTDR - F.AMTACCTCR else 0 end) as initialamt, sum(case when (DATEACCT >= TO_DATE('01-01-2026') AND F.FACTACCTTYPE not in('O', 'R', 'C')) or (DATEACCT = TO_DATE('01-01-2026') and F.FACTACCTTYPE = NULL) then F.AMTACCTDR else 0 end) as AMTACCTDR, sum(case when (DATEACCT >= TO_DATE('01-01-2026') AND F.FACTACCTTYPE not in('O', 'R', 'C')) or (DATEACCT = TO_DATE('01-01-2026') and F.FACTACCTTYPE = NULL) then F.AMTACCTCR else 0 end) as AMTACCTCR, F.ACCOUNT_ID AS ID, to_char('') AS groupbyid FROM FACT_ACCT F WHERE F.AD_ORG_ID IN ('C34A537D1464452783C0A7C7C913FC86', 'B2834B32C6C2488CA31DE4D756AD4A5F', '3724B485FEC444038C28CAEE0F24E7E6') AND F.AD_CLIENT_ID IN ('0', '4E7785E633254999A6D7545B0BE57A46') AND F.AD_ORG_ID IN ('C34A537D1464452783C0A7C7C913FC86', 'B2834B32C6C2488CA31DE4D756AD4A5F', '3724B485FEC444038C28CAEE0F24E7E6') AND DATEACCT < TO_DATE('01-07-2026') AND 1 = 1 AND F.C_ACCTSCHEMA_ID = '0F5D42F2ED1147B1A08F51C2E218D734' AND F.ISACTIVE = 'Y' group by F.ACCOUNT_ID) a LEFT JOIN c_elementvalue ev ON a.id = ev.c_elementvalue_id LEFT JOIN c_elementvalue_trl ev_trl ON ev.c_elementvalue_id = ev_trl.c_elementvalue_id AND ev_trl.ad_language = 'es_ES' WHERE ev.elementlevel = 'S' AND 2 = 2 AND EV.VALUE >= '47000' AND EV.VALUE <= '47900' and (a.initialamt <> 0 or a.amtacctcr <> 0 or a.amtacctdr <> 0) order by ev.value, ev.name, id, groupbyname;
Date: 2026-07-13 10:05:53 Duration: 1s90ms Database: etendo User: tad Remote: 127.0.0.1 Application: openbravo Bind query: yes
7 4s194ms 2 1s714ms 2s479ms 2s97ms select * from c_invoice_post0 (?);Times Reported Time consuming queries #7
Day Hour Count Duration Avg duration Jul 13 12 2 4s194ms 2s97ms [ User: tad - Total duration: 4s194ms - Times executed: 2 ]
[ Application: openbravo - Total duration: 4s194ms - Times executed: 2 ]
-
SELECT * FROM C_Invoice_Post0 ('FCFE701C902A435EBD1F5BCADD0C6877');
Date: 2026-07-13 12:35:43 Duration: 2s479ms Database: etendo User: tad Remote: 127.0.0.1 Application: openbravo Bind query: yes
-
SELECT * FROM C_Invoice_Post0 ('B88AC3508A704520AB42DB41DB88655A');
Date: 2026-07-13 12:30:45 Duration: 1s714ms Database: etendo User: tad Remote: 127.0.0.1 Application: openbravo Bind query: yes
8 3s903ms 1 3s903ms 3s903ms 3s903ms select businesspa0_.c_bpartner_id as c_bpartn1_188_, businesspa0_.ad_client_id as ad_clien2_188_, businesspa0_.ad_org_id as ad_org_i3_188_, businesspa0_.isactive as isactive4_188_, businesspa0_.created as created5_188_, businesspa0_.createdby as createdb6_188_, businesspa0_.updated as updated7_188_, businesspa0_.updatedby as updatedb8_188_, businesspa0_.value as value9_188_, businesspa0_.name as name10_188_, businesspa0_.name2 as name11_188_, businesspa0_.description as descrip12_188_, businesspa0_.issummary as issumma13_188_, businesspa0_.c_bp_group_id as c_bp_gr14_188_, businesspa0_.isonetime as isoneti15_188_, businesspa0_.isprospect as isprosp16_188_, businesspa0_.isvendor as isvendo17_188_, businesspa0_.iscustomer as iscusto18_188_, businesspa0_.isemployee as isemplo19_188_, businesspa0_.issalesrep as issales20_188_, businesspa0_.referenceno as referen21_188_, businesspa0_.duns as duns22_188_, businesspa0_.url as url23_188_, businesspa0_.ad_language as ad_lang24_188_, businesspa0_.taxid as taxid25_188_, businesspa0_.istaxexempt as istaxex26_188_, businesspa0_.c_invoiceschedule_id as c_invoi27_188_, businesspa0_.rating as rating28_188_, businesspa0_.salesvolume as salesvo29_188_, businesspa0_.numberemployees as numbere30_188_, businesspa0_.naics as naics31_188_, businesspa0_.firstsale as firstsa32_188_, businesspa0_.acqusitioncost as acqusit33_188_, businesspa0_.potentiallifetimevalue as potenti34_188_, businesspa0_.actuallifetimevalue as actuall35_188_, businesspa0_.shareofcustomer as shareof36_188_, businesspa0_.paymentrule as payment37_188_, businesspa0_.so_creditlimit as so_cred38_188_, businesspa0_.so_creditused as so_cred39_188_, businesspa0_.c_paymentterm_id as c_payme40_188_, businesspa0_.m_pricelist_id as m_price41_188_, businesspa0_.isdiscountprinted as isdisco42_188_, businesspa0_.so_description as so_desc43_188_, businesspa0_.poreference as porefer44_188_, businesspa0_.paymentrulepo as payment45_188_, businesspa0_.po_pricelist_id as po_pric46_188_, businesspa0_.po_paymentterm_id as po_paym47_188_, businesspa0_.documentcopies as documen48_188_, businesspa0_.c_greeting_id as c_greet49_188_, businesspa0_.invoicerule as invoice50_188_, businesspa0_.deliveryrule as deliver51_188_, businesspa0_.deliveryviarule as deliver52_188_, businesspa0_.salesrep_id as salesre53_188_, businesspa0_.bpartner_parent_id as bpartne54_188_, businesspa0_.socreditstatus as socredi55_188_, businesspa0_.ad_forced_org_id as ad_forc56_188_, businesspa0_.showpriceinorder as showpri57_188_, businesspa0_.invoicegrouping as invoice58_188_, businesspa0_.fixmonthday as fixmont59_188_, businesspa0_.fixmonthday2 as fixmont60_188_, businesspa0_.fixmonthday3 as fixmont61_188_, businesspa0_.isworker as isworke62_188_, businesspa0_.upc as upc63_188_, businesspa0_.c_salary_category_id as c_salar64_188_, businesspa0_.invoice_printformat as invoice65_188_, businesspa0_.last_days as last_da66_188_, businesspa0_.po_bankaccount_id as po_bank67_188_, businesspa0_.po_bp_taxcategory_id as po_bp_t68_188_, businesspa0_.po_fixmonthday as po_fixm69_188_, businesspa0_.po_fixmonthday2 as po_fixm70_188_, businesspa0_.po_fixmonthday3 as po_fixm71_188_, businesspa0_.so_bankaccount_id as so_bank72_188_, businesspa0_.so_bp_taxcategory_id as so_bp_t73_188_, businesspa0_.fiscalcode as fiscalc74_188_, businesspa0_.isofiscalcode as isofisc75_188_, businesspa0_.em_einv_einvoice as em_einv76_188_, businesspa0_.po_c_incoterms_id as po_c_in77_188_, businesspa0_.em_einv_format_id as em_einv78_188_, businesspa0_.so_c_incoterms_id as so_c_in79_188_, businesspa0_.em_einv_platform_id as em_einv80_188_, businesspa0_.fin_paymentmethod_id as fin_pay81_188_, businesspa0_.em_einv_email as em_einv82_188_, businesspa0_.po_paymentmethod_id as po_paym83_188_, businesspa0_.fin_financial_account_id as fin_fin84_188_, businesspa0_.em_einv_deliverymode as em_einv85_188_, businesspa0_.po_financial_account_id as po_fina86_188_, businesspa0_.customer_blocking as custome87_188_, businesspa0_.vendor_blocking as vendor_88_188_, businesspa0_.so_payment_blocking as so_paym89_188_, businesspa0_.po_payment_blocking as po_paym90_188_, businesspa0_.so_invoice_blocking as so_invo91_188_, businesspa0_.po_invoice_blocking as po_invo92_188_, businesspa0_.so_order_blocking as so_orde93_188_, businesspa0_.po_order_blocking as po_orde94_188_, businesspa0_.so_goods_blocking as so_good95_188_, businesspa0_.po_goods_blocking as po_good96_188_, businesspa0_.iscashvat as iscashv97_188_, businesspa0_.update_currency as update_98_188_, businesspa0_.bp_currency_id as bp_curr99_188_, businesspa0_.birthplace as birthp100_188_, businesspa0_.birthday as birthd101_188_, businesspa0_.is_customer_consent as is_cus102_188_, businesspa0_.em_obsepad_mandate_identifier as em_obs103_188_, businesspa0_.em_obsepad_mandate_date as em_obs104_188_, businesspa0_.em_aeatsii_rep_taxid as em_aea105_188_, businesspa0_.em_jr_inoutval as em_jr_106_188_, businesspa0_.em_aeatsii_menor as em_aea107_188_, businesspa0_.em_jr_isgeneric as em_jr_108_188_, businesspa0_.em_pruti_addbp as em_pru109_188_, businesspa0_.em_prei_iseinvoice as em_pre110_188_, businesspa0_.em_prei_format_id as em_pre111_188_, businesspa0_.em_pruti_unlock_date as em_pru112_188_, businesspa0_.em_prei_platform_id as em_pre113_188_, businesspa0_.em_pruti_unlock_order_date as em_pru114_188_, businesspa0_.em_prei_send_method as em_pre115_188_, businesspa0_.em_pruti_annexes_bp_so_id as em_pru116_188_, businesspa0_.em_prei_email as em_pre117_188_, businesspa0_.em_pruti_annexes_bp_po_id as em_pru118_188_, businesspa0_.em_prei_need_expedient as em_pre119_188_, businesspa0_.em_aeatsii_defaultsiikey as em_aea120_188_, businesspa0_.em_aeatsii_siikeylist as em_aea121_188_, businesspa0_.em_tbai_issimplifiedinv as em_tba122_188_, businesspa0_.em_pruti_cus_block_reason_id as em_pru123_188_, businesspa0_.em_pruti_notsendinvoice as em_pru124_188_, businesspa0_.em_obtik_tax_id_key as em_obt125_188_ from c_bpartner businesspa0_ where (upper((businesspa0_.name || ?| | coalesce(to_char(businesspa0_.name2), ?) || ?| | coalesce(to_char(businesspa0_.taxid), ?))) like upper(?) escape ?) and (exists ( select ? from c_order order1_ inner join c_bpartner businesspa2_ on order1_.c_bpartner_id = businesspa2_.c_bpartner_id cross join c_order order_comp3_ cross join c_doctype documentty4_ where order1_.c_order_id = order_comp3_.c_order_id and order1_.c_doctypetarget_id = documentty4_.c_doctype_id and (coalesce(( select case when sum(abs(ol.qtyordered)) = ? or order_comp3_.iscancelled = ? or order_comp3_.cancelledorder_id is not null then ? else round(coalesce(sum(abs(ol.qtyinvoiced)), ?) / sum(abs(ol.qtyordered)) * ?, ?) end from c_orderline ol where ol.c_order_id = order_comp3_.c_order_id and ol.c_order_discount_id is null), ?)) = ? and order1_.issotrx = ? and documentty4_.isreturn = ? and (documentty4_.docsubtypeso not like ?) and businesspa2_.c_bpartner_id = businesspa0_.c_bpartner_id and (order1_.ad_org_id in (...)) and (order1_.ad_client_id in (...)))) order by businesspa0_.name, businesspa0_.name2, businesspa0_.taxid limit ?;Times Reported Time consuming queries #8
Day Hour Count Duration Avg duration Jul 13 12 1 3s903ms 3s903ms [ User: tad - Total duration: 3s903ms - Times executed: 1 ]
[ Application: openbravo - Total duration: 3s903ms - Times executed: 1 ]
-
select businesspa0_.C_BPartner_ID as c_bpartn1_188_, businesspa0_.AD_Client_ID as ad_clien2_188_, businesspa0_.AD_Org_ID as ad_org_i3_188_, businesspa0_.IsActive as isactive4_188_, businesspa0_.Created as created5_188_, businesspa0_.CreatedBy as createdb6_188_, businesspa0_.Updated as updated7_188_, businesspa0_.UpdatedBy as updatedb8_188_, businesspa0_.Value as value9_188_, businesspa0_.Name as name10_188_, businesspa0_.Name2 as name11_188_, businesspa0_.Description as descrip12_188_, businesspa0_.IsSummary as issumma13_188_, businesspa0_.C_BP_Group_ID as c_bp_gr14_188_, businesspa0_.IsOneTime as isoneti15_188_, businesspa0_.IsProspect as isprosp16_188_, businesspa0_.IsVendor as isvendo17_188_, businesspa0_.IsCustomer as iscusto18_188_, businesspa0_.IsEmployee as isemplo19_188_, businesspa0_.IsSalesRep as issales20_188_, businesspa0_.ReferenceNo as referen21_188_, businesspa0_.DUNS as duns22_188_, businesspa0_.URL as url23_188_, businesspa0_.AD_Language as ad_lang24_188_, businesspa0_.TaxID as taxid25_188_, businesspa0_.IsTaxExempt as istaxex26_188_, businesspa0_.C_InvoiceSchedule_ID as c_invoi27_188_, businesspa0_.Rating as rating28_188_, businesspa0_.SalesVolume as salesvo29_188_, businesspa0_.NumberEmployees as numbere30_188_, businesspa0_.NAICS as naics31_188_, businesspa0_.FirstSale as firstsa32_188_, businesspa0_.AcqusitionCost as acqusit33_188_, businesspa0_.PotentialLifeTimeValue as potenti34_188_, businesspa0_.ActualLifeTimeValue as actuall35_188_, businesspa0_.ShareOfCustomer as shareof36_188_, businesspa0_.PaymentRule as payment37_188_, businesspa0_.SO_CreditLimit as so_cred38_188_, businesspa0_.SO_CreditUsed as so_cred39_188_, businesspa0_.C_PaymentTerm_ID as c_payme40_188_, businesspa0_.M_PriceList_ID as m_price41_188_, businesspa0_.IsDiscountPrinted as isdisco42_188_, businesspa0_.SO_Description as so_desc43_188_, businesspa0_.POReference as porefer44_188_, businesspa0_.PaymentRulePO as payment45_188_, businesspa0_.PO_PriceList_ID as po_pric46_188_, businesspa0_.PO_PaymentTerm_ID as po_paym47_188_, businesspa0_.DocumentCopies as documen48_188_, businesspa0_.C_Greeting_ID as c_greet49_188_, businesspa0_.InvoiceRule as invoice50_188_, businesspa0_.DeliveryRule as deliver51_188_, businesspa0_.DeliveryViaRule as deliver52_188_, businesspa0_.SalesRep_ID as salesre53_188_, businesspa0_.BPartner_Parent_ID as bpartne54_188_, businesspa0_.SOCreditStatus as socredi55_188_, businesspa0_.AD_Forced_Org_ID as ad_forc56_188_, businesspa0_.ShowPriceInOrder as showpri57_188_, businesspa0_.Invoicegrouping as invoice58_188_, businesspa0_.FixMonthDay as fixmont59_188_, businesspa0_.FixMonthDay2 as fixmont60_188_, businesspa0_.Fixmonthday3 as fixmont61_188_, businesspa0_.Isworker as isworke62_188_, businesspa0_.UPC as upc63_188_, businesspa0_.C_Salary_Category_ID as c_salar64_188_, businesspa0_.Invoice_Printformat as invoice65_188_, businesspa0_.Last_Days as last_da66_188_, businesspa0_.PO_Bankaccount_ID as po_bank67_188_, businesspa0_.PO_BP_TaxCategory_ID as po_bp_t68_188_, businesspa0_.PO_Fixmonthday as po_fixm69_188_, businesspa0_.PO_Fixmonthday2 as po_fixm70_188_, businesspa0_.PO_Fixmonthday3 as po_fixm71_188_, businesspa0_.SO_Bankaccount_ID as so_bank72_188_, businesspa0_.SO_Bp_Taxcategory_ID as so_bp_t73_188_, businesspa0_.Fiscalcode as fiscalc74_188_, businesspa0_.Isofiscalcode as isofisc75_188_, businesspa0_.EM_Einv_Einvoice as em_einv76_188_, businesspa0_.PO_C_Incoterms_ID as po_c_in77_188_, businesspa0_.EM_Einv_Format_Id as em_einv78_188_, businesspa0_.SO_C_Incoterms_ID as so_c_in79_188_, businesspa0_.EM_Einv_Platform_Id as em_einv80_188_, businesspa0_.FIN_Paymentmethod_ID as fin_pay81_188_, businesspa0_.EM_Einv_Email as em_einv82_188_, businesspa0_.PO_Paymentmethod_ID as po_paym83_188_, businesspa0_.FIN_Financial_Account_ID as fin_fin84_188_, businesspa0_.EM_Einv_Deliverymode as em_einv85_188_, businesspa0_.PO_Financial_Account_ID as po_fina86_188_, businesspa0_.Customer_Blocking as custome87_188_, businesspa0_.Vendor_Blocking as vendor_88_188_, businesspa0_.SO_Payment_Blocking as so_paym89_188_, businesspa0_.PO_Payment_Blocking as po_paym90_188_, businesspa0_.SO_Invoice_Blocking as so_invo91_188_, businesspa0_.PO_Invoice_Blocking as po_invo92_188_, businesspa0_.SO_Order_Blocking as so_orde93_188_, businesspa0_.PO_Order_Blocking as po_orde94_188_, businesspa0_.SO_Goods_Blocking as so_good95_188_, businesspa0_.PO_Goods_Blocking as po_good96_188_, businesspa0_.Iscashvat as iscashv97_188_, businesspa0_.Update_Currency as update_98_188_, businesspa0_.BP_Currency_ID as bp_curr99_188_, businesspa0_.Birthplace as birthp100_188_, businesspa0_.Birthday as birthd101_188_, businesspa0_.Is_Customer_Consent as is_cus102_188_, businesspa0_.EM_Obsepad_Mandate_Identifier as em_obs103_188_, businesspa0_.EM_Obsepad_Mandate_Date as em_obs104_188_, businesspa0_.EM_Aeatsii_Rep_Taxid as em_aea105_188_, businesspa0_.EM_Jr_Inoutval as em_jr_106_188_, businesspa0_.EM_Aeatsii_Menor as em_aea107_188_, businesspa0_.EM_Jr_Isgeneric as em_jr_108_188_, businesspa0_.EM_Pruti_Addbp as em_pru109_188_, businesspa0_.EM_Prei_Iseinvoice as em_pre110_188_, businesspa0_.EM_Prei_Format_ID as em_pre111_188_, businesspa0_.EM_Pruti_Unlock_Date as em_pru112_188_, businesspa0_.EM_Prei_Platform_ID as em_pre113_188_, businesspa0_.EM_Pruti_Unlock_Order_Date as em_pru114_188_, businesspa0_.EM_Prei_Send_Method as em_pre115_188_, businesspa0_.EM_Pruti_Annexes_Bp_So_ID as em_pru116_188_, businesspa0_.EM_Prei_Email as em_pre117_188_, businesspa0_.EM_Pruti_Annexes_Bp_Po_ID as em_pru118_188_, businesspa0_.EM_Prei_Need_Expedient as em_pre119_188_, businesspa0_.EM_Aeatsii_Defaultsiikey as em_aea120_188_, businesspa0_.EM_Aeatsii_Siikeylist as em_aea121_188_, businesspa0_.EM_Tbai_Issimplifiedinv as em_tba122_188_, businesspa0_.em_pruti_cus_block_reason_id as em_pru123_188_, businesspa0_.EM_Pruti_Notsendinvoice as em_pru124_188_, businesspa0_.EM_OBTIK_Tax_ID_Key as em_obt125_188_ from C_BPartner businesspa0_ where (upper((businesspa0_.Name || ' - ' || coalesce(to_char(businesspa0_.Name2), '') || ' - ' || coalesce(to_char(businesspa0_.TaxID), ''))) like upper('%c%') escape '|') and (exists ( select 1 from C_Order order1_ inner join C_BPartner businesspa2_ on order1_.C_BPartner_ID = businesspa2_.C_BPartner_ID cross join C_Order order_comp3_ cross join C_DocType documentty4_ where order1_.C_Order_ID = order_comp3_.C_Order_ID and order1_.C_DocTypeTarget_ID = documentty4_.C_DocType_ID and (coalesce(( select case when sum(abs(ol.qtyordered)) = 0 or order_comp3_.iscancelled = 'Y' or order_comp3_.cancelledorder_id is not null then 0 else round(coalesce(sum(abs(ol.qtyinvoiced)), 0) / sum(abs(ol.qtyordered)) * 100, 0) end from c_orderline ol where ol.c_order_id = order_comp3_.c_order_id and ol.c_order_discount_id is null), 0)) = '0' and order1_.IsSOTrx = 'Y' and documentty4_.IsReturn = 'N' and (documentty4_.DocSubTypeSO not like 'OB') and businesspa2_.C_BPartner_ID = businesspa0_.C_BPartner_ID and (order1_.AD_Org_ID in ('0', 'C34A537D1464452783C0A7C7C913FC86', '4A2127624482427B8B0BE0DD8ABF92D4', '3724B485FEC444038C28CAEE0F24E7E6', 'B2834B32C6C2488CA31DE4D756AD4A5F')) and (order1_.AD_Client_ID in ('4E7785E633254999A6D7545B0BE57A46', '0')))) order by businesspa0_.Name, businesspa0_.Name2, businesspa0_.TaxID limit '76';
Date: 2026-07-13 12:23:58 Duration: 3s903ms Database: etendo User: tad Remote: 127.0.0.1 Application: openbravo Bind query: yes
9 3s210ms 1 3s210ms 3s210ms 3s210ms select productbyp0_.m_product_price_warehouse_v_id as m_produc1_496_, productbyp0_.ad_client_id as ad_clien2_496_, productbyp0_.ad_org_id as ad_org_i3_496_, productbyp0_.isactive as isactive4_496_, productbyp0_.updated as updated5_496_, productbyp0_.updatedby as updatedb6_496_, productbyp0_.created as created7_496_, productbyp0_.createdby as createdb8_496_, productbyp0_.m_product_id as m_produc9_496_, productbyp0_.m_warehouse_id as m_wareh10_496_, productbyp0_.m_productprice_id as m_produ11_496_, productbyp0_.qty_available as qty_ava12_496_, productbyp0_.qty_onhand as qty_onh13_496_, productbyp0_.qty_reserved as qty_res14_496_, productbyp0_.qty_ordered as qty_ord15_496_, productbyp0_.pricelist as priceli16_496_, productbyp0_.pricestd as pricest17_496_, productbyp0_.pricelimit as priceli18_496_, productbyp0_.orgwarehouse as orgware19_496_ from m_product_price_warehouse_v productbyp0_ inner join m_product product1_ on productbyp0_.m_product_id = product1_.m_product_id cross join m_productprice pricingpro2_ cross join m_pricelist_version pricingpri3_ cross join m_pricelist pricingpri7_ where productbyp0_.m_productprice_id = pricingpro2_.m_productprice_id and pricingpro2_.m_pricelist_version_id = pricingpri3_.m_pricelist_version_id and pricingpri3_.m_pricelist_id = pricingpri7_.m_pricelist_id and (productbyp0_.ad_org_id in (...)) and productbyp0_.isactive = ? and ad_org_isinnaturaltree (productbyp0_.orgwarehouse, ?, ?) = ? and pricingpri3_.isactive = ? and ad_org_isinnaturaltree (pricingpro2_.ad_org_id, ?, ?) = ? and pricingpri7_.issopricelist = ? and pricingpri7_.c_currency_id = ? and (productbyp0_.ad_client_id in (...)) and productbyp0_.isactive = ? order by product1_.name, product1_.m_product_id limit ?;Times Reported Time consuming queries #9
Day Hour Count Duration Avg duration Jul 13 17 1 3s210ms 3s210ms [ User: tad - Total duration: 3s210ms - Times executed: 1 ]
[ Application: openbravo - Total duration: 3s210ms - Times executed: 1 ]
-
select productbyp0_.M_Product_Price_Warehouse_V_ID as m_produc1_496_, productbyp0_.AD_Client_ID as ad_clien2_496_, productbyp0_.AD_Org_ID as ad_org_i3_496_, productbyp0_.Isactive as isactive4_496_, productbyp0_.Updated as updated5_496_, productbyp0_.Updatedby as updatedb6_496_, productbyp0_.Created as created7_496_, productbyp0_.Createdby as createdb8_496_, productbyp0_.M_Product_ID as m_produc9_496_, productbyp0_.M_Warehouse_ID as m_wareh10_496_, productbyp0_.M_Productprice_ID as m_produ11_496_, productbyp0_.QTY_Available as qty_ava12_496_, productbyp0_.QTY_Onhand as qty_onh13_496_, productbyp0_.QTY_Reserved as qty_res14_496_, productbyp0_.QTY_Ordered as qty_ord15_496_, productbyp0_.Pricelist as priceli16_496_, productbyp0_.Pricestd as pricest17_496_, productbyp0_.Pricelimit as priceli18_496_, productbyp0_.Orgwarehouse as orgware19_496_ from M_Product_Price_Warehouse_v productbyp0_ inner join M_Product product1_ on productbyp0_.M_Product_ID = product1_.M_Product_ID cross join M_ProductPrice pricingpro2_ cross join M_PriceList_Version pricingpri3_ cross join M_PriceList pricingpri7_ where productbyp0_.M_Productprice_ID = pricingpro2_.M_ProductPrice_ID and pricingpro2_.M_PriceList_Version_ID = pricingpri3_.M_PriceList_Version_ID and pricingpri3_.M_PriceList_ID = pricingpri7_.M_PriceList_ID and (productbyp0_.AD_Org_ID in ('0', 'C34A537D1464452783C0A7C7C913FC86', '4A2127624482427B8B0BE0DD8ABF92D4', '3724B485FEC444038C28CAEE0F24E7E6', 'B2834B32C6C2488CA31DE4D756AD4A5F')) and productbyp0_.Isactive = 'Y' and AD_ORG_ISINNATURALTREE (productbyp0_.Orgwarehouse, 'B2834B32C6C2488CA31DE4D756AD4A5F', '4E7785E633254999A6D7545B0BE57A46') = 'Y' and pricingpri3_.IsActive = 'Y' and AD_ORG_ISINNATURALTREE (pricingpro2_.AD_Org_ID, 'B2834B32C6C2488CA31DE4D756AD4A5F', '4E7785E633254999A6D7545B0BE57A46') = 'Y' and pricingpri7_.IsSOPriceList = 'Y' and pricingpri7_.C_Currency_ID = '102' and (productbyp0_.AD_Client_ID in ('4E7785E633254999A6D7545B0BE57A46', '0')) and productbyp0_.Isactive = 'Y' order by product1_.Name, product1_.M_Product_ID limit '76';
Date: 2026-07-13 17:49:47 Duration: 3s210ms Database: etendo User: tad Remote: 127.0.0.1 Application: openbravo Bind query: yes
10 2s208ms 2 1s75ms 1s133ms 1s104ms select productbyp0_.m_product_price_warehouse_v_id as m_produc1_496_, productbyp0_.ad_client_id as ad_clien2_496_, productbyp0_.ad_org_id as ad_org_i3_496_, productbyp0_.isactive as isactive4_496_, productbyp0_.updated as updated5_496_, productbyp0_.updatedby as updatedb6_496_, productbyp0_.created as created7_496_, productbyp0_.createdby as createdb8_496_, productbyp0_.m_product_id as m_produc9_496_, productbyp0_.m_warehouse_id as m_wareh10_496_, productbyp0_.m_productprice_id as m_produ11_496_, productbyp0_.qty_available as qty_ava12_496_, productbyp0_.qty_onhand as qty_onh13_496_, productbyp0_.qty_reserved as qty_res14_496_, productbyp0_.qty_ordered as qty_ord15_496_, productbyp0_.pricelist as priceli16_496_, productbyp0_.pricestd as pricest17_496_, productbyp0_.pricelimit as priceli18_496_, productbyp0_.orgwarehouse as orgware19_496_ from m_product_price_warehouse_v productbyp0_ inner join m_product product1_ on productbyp0_.m_product_id = product1_.m_product_id cross join m_productprice pricingpro2_ cross join m_pricelist_version pricingpri4_ cross join m_pricelist pricingpri8_ where productbyp0_.m_productprice_id = pricingpro2_.m_productprice_id and pricingpro2_.m_pricelist_version_id = pricingpri4_.m_pricelist_version_id and pricingpri4_.m_pricelist_id = pricingpri8_.m_pricelist_id and productbyp0_.m_warehouse_id = ? and pricingpro2_.m_pricelist_version_id = ? and (productbyp0_.ad_org_id in (...)) and productbyp0_.isactive = ? and ad_org_isinnaturaltree (productbyp0_.orgwarehouse, ?, ?) = ? and pricingpri4_.isactive = ? and ad_org_isinnaturaltree (pricingpro2_.ad_org_id, ?, ?) = ? and pricingpri8_.issopricelist = ? and pricingpri8_.c_currency_id = ? and (productbyp0_.ad_client_id in (...)) and productbyp0_.isactive = ? order by productbyp0_.qty_available, product1_.m_product_id limit ?;Times Reported Time consuming queries #10
Day Hour Count Duration Avg duration Jul 13 15 2 2s208ms 1s104ms [ User: tad - Total duration: 2s208ms - Times executed: 2 ]
[ Application: openbravo - Total duration: 2s208ms - Times executed: 2 ]
-
select productbyp0_.M_Product_Price_Warehouse_V_ID as m_produc1_496_, productbyp0_.AD_Client_ID as ad_clien2_496_, productbyp0_.AD_Org_ID as ad_org_i3_496_, productbyp0_.Isactive as isactive4_496_, productbyp0_.Updated as updated5_496_, productbyp0_.Updatedby as updatedb6_496_, productbyp0_.Created as created7_496_, productbyp0_.Createdby as createdb8_496_, productbyp0_.M_Product_ID as m_produc9_496_, productbyp0_.M_Warehouse_ID as m_wareh10_496_, productbyp0_.M_Productprice_ID as m_produ11_496_, productbyp0_.QTY_Available as qty_ava12_496_, productbyp0_.QTY_Onhand as qty_onh13_496_, productbyp0_.QTY_Reserved as qty_res14_496_, productbyp0_.QTY_Ordered as qty_ord15_496_, productbyp0_.Pricelist as priceli16_496_, productbyp0_.Pricestd as pricest17_496_, productbyp0_.Pricelimit as priceli18_496_, productbyp0_.Orgwarehouse as orgware19_496_ from M_Product_Price_Warehouse_v productbyp0_ inner join M_Product product1_ on productbyp0_.M_Product_ID = product1_.M_Product_ID cross join M_ProductPrice pricingpro2_ cross join M_PriceList_Version pricingpri4_ cross join M_PriceList pricingpri8_ where productbyp0_.M_Productprice_ID = pricingpro2_.M_ProductPrice_ID and pricingpro2_.M_PriceList_Version_ID = pricingpri4_.M_PriceList_Version_ID and pricingpri4_.M_PriceList_ID = pricingpri8_.M_PriceList_ID and productbyp0_.M_Warehouse_ID = '6F618729B86C4789AF3EC693A15D4785' and pricingpro2_.M_PriceList_Version_ID = '1000109' and (productbyp0_.AD_Org_ID in ('0', 'C34A537D1464452783C0A7C7C913FC86', '4A2127624482427B8B0BE0DD8ABF92D4', '3724B485FEC444038C28CAEE0F24E7E6', 'B2834B32C6C2488CA31DE4D756AD4A5F')) and productbyp0_.Isactive = 'Y' and AD_ORG_ISINNATURALTREE (productbyp0_.Orgwarehouse, 'B2834B32C6C2488CA31DE4D756AD4A5F', '4E7785E633254999A6D7545B0BE57A46') = 'Y' and pricingpri4_.IsActive = 'Y' and AD_ORG_ISINNATURALTREE (pricingpro2_.AD_Org_ID, 'B2834B32C6C2488CA31DE4D756AD4A5F', '4E7785E633254999A6D7545B0BE57A46') = 'Y' and pricingpri8_.IsSOPriceList = 'Y' and pricingpri8_.C_Currency_ID = '102' and (productbyp0_.AD_Client_ID in ('4E7785E633254999A6D7545B0BE57A46', '0')) and productbyp0_.Isactive = 'Y' order by productbyp0_.QTY_Available, product1_.M_Product_ID limit '76';
Date: 2026-07-13 15:43:58 Duration: 1s133ms Database: etendo User: tad Remote: 127.0.0.1 Application: openbravo Bind query: yes
-
select productbyp0_.M_Product_Price_Warehouse_V_ID as m_produc1_496_, productbyp0_.AD_Client_ID as ad_clien2_496_, productbyp0_.AD_Org_ID as ad_org_i3_496_, productbyp0_.Isactive as isactive4_496_, productbyp0_.Updated as updated5_496_, productbyp0_.Updatedby as updatedb6_496_, productbyp0_.Created as created7_496_, productbyp0_.Createdby as createdb8_496_, productbyp0_.M_Product_ID as m_produc9_496_, productbyp0_.M_Warehouse_ID as m_wareh10_496_, productbyp0_.M_Productprice_ID as m_produ11_496_, productbyp0_.QTY_Available as qty_ava12_496_, productbyp0_.QTY_Onhand as qty_onh13_496_, productbyp0_.QTY_Reserved as qty_res14_496_, productbyp0_.QTY_Ordered as qty_ord15_496_, productbyp0_.Pricelist as priceli16_496_, productbyp0_.Pricestd as pricest17_496_, productbyp0_.Pricelimit as priceli18_496_, productbyp0_.Orgwarehouse as orgware19_496_ from M_Product_Price_Warehouse_v productbyp0_ inner join M_Product product1_ on productbyp0_.M_Product_ID = product1_.M_Product_ID cross join M_ProductPrice pricingpro2_ cross join M_PriceList_Version pricingpri4_ cross join M_PriceList pricingpri8_ where productbyp0_.M_Productprice_ID = pricingpro2_.M_ProductPrice_ID and pricingpro2_.M_PriceList_Version_ID = pricingpri4_.M_PriceList_Version_ID and pricingpri4_.M_PriceList_ID = pricingpri8_.M_PriceList_ID and productbyp0_.M_Warehouse_ID = '6F618729B86C4789AF3EC693A15D4785' and pricingpro2_.M_PriceList_Version_ID = '1000112' and (productbyp0_.AD_Org_ID in ('0', 'C34A537D1464452783C0A7C7C913FC86', '4A2127624482427B8B0BE0DD8ABF92D4', '3724B485FEC444038C28CAEE0F24E7E6', 'B2834B32C6C2488CA31DE4D756AD4A5F')) and productbyp0_.Isactive = 'Y' and AD_ORG_ISINNATURALTREE (productbyp0_.Orgwarehouse, 'B2834B32C6C2488CA31DE4D756AD4A5F', '4E7785E633254999A6D7545B0BE57A46') = 'Y' and pricingpri4_.IsActive = 'Y' and AD_ORG_ISINNATURALTREE (pricingpro2_.AD_Org_ID, 'B2834B32C6C2488CA31DE4D756AD4A5F', '4E7785E633254999A6D7545B0BE57A46') = 'Y' and pricingpri8_.IsSOPriceList = 'Y' and pricingpri8_.C_Currency_ID = '102' and (productbyp0_.AD_Client_ID in ('4E7785E633254999A6D7545B0BE57A46', '0')) and productbyp0_.Isactive = 'Y' order by productbyp0_.QTY_Available, product1_.M_Product_ID limit '76';
Date: 2026-07-13 15:52:36 Duration: 1s75ms Database: etendo User: tad Remote: 127.0.0.1 Application: openbravo Bind query: yes
11 1s122ms 1 1s122ms 1s122ms 1s122ms select string_agg(distinct prac_checkacct_config (ca.c_acctschema_id, ca."name"), ?) from c_acctschema ca where ? = ?;Times Reported Time consuming queries #11
Day Hour Count Duration Avg duration Jul 13 07 1 1s122ms 1s122ms [ User: postgres - Total duration: 1s122ms - Times executed: 1 ]
[ Application: psql - Total duration: 1s122ms - 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: 1s122ms Database: etendo User: postgres Remote: [local] Application: psql
12 1s104ms 1 1s104ms 1s104ms 1s104ms select materialmg0_.m_inoutline_id as col_0_0_, materialmg0_.movementqty - coalesce(sum(invoicelin5_.qtyinvoiced), ?) as col_1_0_, ( select uom6_.name from c_uom uom6_ where uom6_.c_uom_id = materialmg0_.c_uom_id) as col_2_0_, ( select product7_.name from m_product product7_ where product7_.m_product_id = materialmg0_.m_product_id) as col_3_0_, materialmg0_.line as col_4_0_, materialmg0_.created as col_5_0_, aduser8_.name as col_6_0_, materialmg0_.updated as col_7_0_, aduser9_.name as col_8_0_, ? as col_9_0_, ? as col_10_0_, materialmg0_.quantityorder * (materialmg0_.movementqty - coalesce(invoicelin5_.qtyinvoiced, ?)) / ( case when materialmg0_.movementqty <> ? then materialmg0_.movementqty else null end) as col_11_0_, materialmg1_.movementdate as col_12_0_, ( select warehouse10_.name from m_warehouse warehouse10_ where warehouse10_.m_warehouse_id = materialmg1_.m_warehouse_id) as col_13_0_, materialmg1_.documentno as col_14_0_, ( select locator11_.value from m_locator locator11_ where locator11_.m_locator_id = materialmg0_.m_locator_id) as col_15_0_, materialmg1_.poreference as col_16_0_ from m_inoutline materialmg0_ inner join m_inout materialmg1_ on materialmg0_.m_inout_id = materialmg1_.m_inout_id left outer join c_orderline orderline2_ on materialmg0_.c_orderline_id = orderline2_.c_orderline_id left outer join c_order order3_ on orderline2_.c_order_id = order3_.c_order_id left outer join m_matchinv procuremen4_ on materialmg0_.m_inoutline_id = procuremen4_.m_inoutline_id left outer join c_invoiceline invoicelin5_ on procuremen4_.c_invoiceline_id = invoicelin5_.c_invoiceline_id cross join ad_user aduser8_ cross join ad_user aduser9_ where materialmg0_.createdby = aduser8_.ad_user_id and materialmg0_.updatedby = aduser9_.ad_user_id and (materialmg1_.ad_client_id in (...)) and (materialmg0_.ad_org_id in (...)) and materialmg1_.movementdate >= now() ? and materialmg1_.issotrx = ? and (materialmg1_.docstatus in (...)) and materialmg1_.processed = ? and materialmg1_.islogistic <> ? and materialmg1_.c_bpartner_id = ? and (orderline2_.c_orderline_id is null or order3_.istaxincluded = ?) and (order3_.c_order_id is null or order3_.c_currency_id = ?) group by materialmg1_.poreference, materialmg1_.m_inout_id, materialmg1_.documentno, materialmg1_.movementdate, materialmg0_.movementqty, materialmg0_.c_uom_id, materialmg0_.m_product_id, materialmg0_.m_inoutline_id, materialmg0_.line, orderline2_.c_orderline_id, coalesce(materialmg0_.a_asset_id, materialmg1_.a_asset_id), coalesce(materialmg0_.c_project_id, materialmg1_.c_project_id), coalesce(materialmg0_.c_costcenter_id, materialmg1_.c_costcenter_id), coalesce(materialmg0_.user1_id, materialmg1_.user1_id), coalesce(materialmg0_.user2_id, materialmg1_.user2_id), materialmg0_.explode, materialmg0_.bom_parent_id, materialmg0_.created, aduser8_.name, materialmg0_.updated, aduser9_.name, materialmg0_.c_aum, materialmg0_.aumqty, materialmg1_.c_doctype_id, orderline2_.c_orderline_id, order3_.c_order_id, order3_.m_pricelist_id, materialmg1_.m_warehouse_id, materialmg0_.m_locator_id, materialmg0_.quantityorder * (materialmg0_.movementqty - coalesce(invoicelin5_.qtyinvoiced, ?)) / ( case when materialmg0_.movementqty <> ? then materialmg0_.movementqty else null end) having materialmg0_.movementqty - sum(coalesce(invoicelin5_.qtyinvoiced, ?)) <> ? or materialmg0_.explode = ? order by materialmg1_.documentno desc, materialmg0_.line asc limit ?;Times Reported Time consuming queries #12
Day Hour Count Duration Avg duration Jul 13 07 1 1s104ms 1s104ms [ User: tad - Total duration: 1s104ms - Times executed: 1 ]
[ Application: openbravo - Total duration: 1s104ms - Times executed: 1 ]
-
select materialmg0_.M_InOutLine_ID as col_0_0_, materialmg0_.MovementQty - coalesce(sum(invoicelin5_.QtyInvoiced), 0) as col_1_0_, ( select uom6_.Name from C_UOM uom6_ where uom6_.C_UOM_ID = materialmg0_.C_UOM_ID) as col_2_0_, ( select product7_.Name from M_Product product7_ where product7_.M_Product_ID = materialmg0_.M_Product_ID) as col_3_0_, materialmg0_.Line as col_4_0_, materialmg0_.Created as col_5_0_, aduser8_.Name as col_6_0_, materialmg0_.Updated as col_7_0_, aduser9_.Name as col_8_0_, '' as col_9_0_, '' as col_10_0_, materialmg0_.QuantityOrder * (materialmg0_.MovementQty - coalesce(invoicelin5_.QtyInvoiced, 0)) / ( case when materialmg0_.MovementQty <> 0 then materialmg0_.MovementQty else null end) as col_11_0_, materialmg1_.MovementDate as col_12_0_, ( select warehouse10_.Name from M_Warehouse warehouse10_ where warehouse10_.M_Warehouse_ID = materialmg1_.M_Warehouse_ID) as col_13_0_, materialmg1_.DocumentNo as col_14_0_, ( select locator11_.Value from M_Locator locator11_ where locator11_.M_Locator_ID = materialmg0_.M_Locator_ID) as col_15_0_, materialmg1_.POReference as col_16_0_ from M_InOutLine materialmg0_ inner join M_InOut materialmg1_ on materialmg0_.M_InOut_ID = materialmg1_.M_InOut_ID left outer join C_OrderLine orderline2_ on materialmg0_.C_OrderLine_ID = orderline2_.C_OrderLine_ID left outer join C_Order order3_ on orderline2_.C_Order_ID = order3_.C_Order_ID left outer join M_MatchInv procuremen4_ on materialmg0_.M_InOutLine_ID = procuremen4_.M_InOutLine_ID left outer join C_InvoiceLine invoicelin5_ on procuremen4_.C_InvoiceLine_ID = invoicelin5_.C_InvoiceLine_ID cross join AD_User aduser8_ cross join AD_User aduser9_ where materialmg0_.CreatedBy = aduser8_.AD_User_ID and materialmg0_.UpdatedBy = aduser9_.AD_User_ID and (materialmg1_.AD_Client_ID in ('0', '4E7785E633254999A6D7545B0BE57A46')) and (materialmg0_.AD_Org_ID in ('0', 'C34A537D1464452783C0A7C7C913FC86', '4A2127624482427B8B0BE0DD8ABF92D4', '3724B485FEC444038C28CAEE0F24E7E6', 'B2834B32C6C2488CA31DE4D756AD4A5F')) and materialmg1_.MovementDate >= now() - 365 and materialmg1_.IsSOTrx = 'N' and (materialmg1_.DocStatus in ('CO', 'CL')) and materialmg1_.Processed = 'Y' and materialmg1_.Islogistic <> 'Y' and materialmg1_.C_BPartner_ID = '1009780' and (orderline2_.C_OrderLine_ID is null or order3_.IsTaxIncluded = 'N') and (order3_.C_Order_ID is null or order3_.C_Currency_ID = '102') group by materialmg1_.POReference, materialmg1_.M_InOut_ID, materialmg1_.DocumentNo, materialmg1_.MovementDate, materialmg0_.MovementQty, materialmg0_.C_UOM_ID, materialmg0_.M_Product_ID, materialmg0_.M_InOutLine_ID, materialmg0_.Line, orderline2_.C_OrderLine_ID, coalesce(materialmg0_.A_Asset_ID, materialmg1_.A_Asset_ID), coalesce(materialmg0_.C_Project_ID, materialmg1_.C_Project_ID), coalesce(materialmg0_.C_Costcenter_ID, materialmg1_.C_Costcenter_ID), coalesce(materialmg0_.User1_ID, materialmg1_.User1_ID), coalesce(materialmg0_.User2_ID, materialmg1_.User2_ID), materialmg0_.Explode, materialmg0_.BOM_Parent_ID, materialmg0_.Created, aduser8_.Name, materialmg0_.Updated, aduser9_.Name, materialmg0_.C_Aum, materialmg0_.Aumqty, materialmg1_.C_DocType_ID, orderline2_.C_OrderLine_ID, order3_.C_Order_ID, order3_.M_PriceList_ID, materialmg1_.M_Warehouse_ID, materialmg0_.M_Locator_ID, materialmg0_.QuantityOrder * (materialmg0_.MovementQty - coalesce(invoicelin5_.QtyInvoiced, 0)) / ( case when materialmg0_.MovementQty <> 0 then materialmg0_.MovementQty else null end) having materialmg0_.MovementQty - sum(coalesce(invoicelin5_.QtyInvoiced, 0)) <> 0 or materialmg0_.Explode = 'Y' order by materialmg1_.DocumentNo desc, materialmg0_.Line asc limit '101';
Date: 2026-07-13 07:29:57 Duration: 1s104ms Database: etendo User: tad Remote: 127.0.0.1 Application: openbravo Bind query: yes
13 1s3ms 1 1s3ms 1s3ms 1s3ms select * from ( select c_invoice_id as referencekey_id, ? as ad_role_id, null as ad_user_id, ? as description, ? as isactive, c_invoice.ad_org_id as ad_org_id, c_invoice.ad_client_id as ad_client_id, now() as created, ? as createdby, now() as updated, ? as updatedby, ad_column_identifier (?, c_invoice_id, ?) as record_id, posted from c_invoice, c_doctype where c_invoice.c_doctype_id = c_doctype.c_doctype_id and c_doctype.docbasetype in (...) and not exists ( select ? from c_period where c_period.startdate <= trunc(dateacct) and trunc(dateacct) <= c_period.enddate) group by c_invoice_id, posted, c_invoice.ad_org_id, c_invoice.ad_client_id) 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 #13
Day Hour Count Duration Avg duration Jul 13 10 1 1s3ms 1s3ms [ User: tad - Total duration: 1s3ms - Times executed: 1 ]
[ Application: openbravo - Total duration: 1s3ms - Times executed: 1 ]
-
SELECT * FROM ( select C_INVOICE_id as referencekey_id, '0' as ad_role_id, null as ad_user_id, 'SALES INVOICE ACCOUNTING DATE NOT IN A PERIOD' as description, 'Y' as isActive, C_INVOICE.ad_org_id as ad_org_id, C_INVOICE.ad_client_id as 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, posted FROM C_INVOICE, c_doctype WHERE C_INVOICE.c_doctype_id = c_doctype.c_doctype_id and c_doctype.docbasetype IN ('ARI', 'ARC', 'ARF') and not exists ( select 1 from c_period where c_period.startdate <= TRUNC(dateacct) and TRUNC(dateacct) <= c_period.enddate) GROUP BY C_INVOICE_id, posted, C_INVOICE.ad_org_id, C_INVOICE.ad_client_id) AAA where not exists ( select 1 from ad_alert a where a.ad_alertrule_id = '9949239808164E51ADF2E6B1E8DF6D63' and a.referencekey_id = aaa.referencekey_id and coalesce(a.status, 'NEW') != 'SOLVED');
Date: 2026-07-13 10:00:01 Duration: 1s3ms Database: etendo User: tad Remote: 127.0.0.1 Application: openbravo Bind query: yes
Most frequent queries (N)
Rank Times executed Total duration Min duration Max duration Avg duration Query 1 59 1m5s 1s4ms 1s673ms 1s114ms select productbyp0_.m_product_price_warehouse_v_id as m_produc1_496_, productbyp0_.ad_client_id as ad_clien2_496_, productbyp0_.ad_org_id as ad_org_i3_496_, productbyp0_.isactive as isactive4_496_, productbyp0_.updated as updated5_496_, productbyp0_.updatedby as updatedb6_496_, productbyp0_.created as created7_496_, productbyp0_.createdby as createdb8_496_, productbyp0_.m_product_id as m_produc9_496_, productbyp0_.m_warehouse_id as m_wareh10_496_, productbyp0_.m_productprice_id as m_produ11_496_, productbyp0_.qty_available as qty_ava12_496_, productbyp0_.qty_onhand as qty_onh13_496_, productbyp0_.qty_reserved as qty_res14_496_, productbyp0_.qty_ordered as qty_ord15_496_, productbyp0_.pricelist as priceli16_496_, productbyp0_.pricestd as pricest17_496_, productbyp0_.pricelimit as priceli18_496_, productbyp0_.orgwarehouse as orgware19_496_ from m_product_price_warehouse_v productbyp0_ left outer join m_product product1_ on productbyp0_.m_product_id = product1_.m_product_id cross join m_productprice pricingpro4_ cross join m_pricelist_version pricingpri5_ cross join m_pricelist pricingpri9_ where productbyp0_.m_productprice_id = pricingpro4_.m_productprice_id and pricingpro4_.m_pricelist_version_id = pricingpri5_.m_pricelist_version_id and pricingpri5_.m_pricelist_id = pricingpri9_.m_pricelist_id and (upper(product1_.value) like upper(?) escape ? or upper(product1_.name) like upper(?) escape ? or upper((coalesce(to_char(( select producttrl2_.name from m_product_trl producttrl2_ where producttrl2_.m_product_id = product1_.m_product_id and producttrl2_.ad_language = ?)), to_char(product1_.name), ?) || ?| | product1_.value)) like upper(?) escape ? or upper((coalesce(to_char(( select producttrl3_.name from m_product_trl producttrl3_ where producttrl3_.m_product_id = product1_.m_product_id and producttrl3_.ad_language = ?)), to_char(product1_.name), ?) || ?| | product1_.value)) like upper(?) escape ?) and (productbyp0_.ad_org_id in (...)) and productbyp0_.isactive = ? and ad_org_isinnaturaltree (productbyp0_.orgwarehouse, ?, ?) = ? and pricingpri5_.isactive = ? and ad_org_isinnaturaltree (pricingpro4_.ad_org_id, ?, ?) = ? and pricingpri9_.issopricelist = ? and pricingpri9_.c_currency_id = ? and pricingpro4_.m_pricelist_version_id = ? and productbyp0_.m_warehouse_id = ? and (productbyp0_.ad_client_id in (...)) and productbyp0_.isactive = ? order by product1_.name, product1_.value, product1_.m_product_id limit ?;Times Reported Time consuming queries #1
Day Hour Count Duration Avg duration Jul 13 07 8 9s242ms 1s155ms 08 4 4s190ms 1s47ms 09 10 11s411ms 1s141ms 10 4 4s317ms 1s79ms 11 8 9s612ms 1s201ms 12 10 10s441ms 1s44ms 13 4 4s277ms 1s69ms 15 3 3s308ms 1s102ms 16 2 2s193ms 1s96ms 17 2 2s138ms 1s69ms 18 4 4s647ms 1s161ms [ User: tad - Total duration: 1m5s - Times executed: 59 ]
[ Application: openbravo - Total duration: 1m5s - Times executed: 59 ]
-
select productbyp0_.M_Product_Price_Warehouse_V_ID as m_produc1_496_, productbyp0_.AD_Client_ID as ad_clien2_496_, productbyp0_.AD_Org_ID as ad_org_i3_496_, productbyp0_.Isactive as isactive4_496_, productbyp0_.Updated as updated5_496_, productbyp0_.Updatedby as updatedb6_496_, productbyp0_.Created as created7_496_, productbyp0_.Createdby as createdb8_496_, productbyp0_.M_Product_ID as m_produc9_496_, productbyp0_.M_Warehouse_ID as m_wareh10_496_, productbyp0_.M_Productprice_ID as m_produ11_496_, productbyp0_.QTY_Available as qty_ava12_496_, productbyp0_.QTY_Onhand as qty_onh13_496_, productbyp0_.QTY_Reserved as qty_res14_496_, productbyp0_.QTY_Ordered as qty_ord15_496_, productbyp0_.Pricelist as priceli16_496_, productbyp0_.Pricestd as pricest17_496_, productbyp0_.Pricelimit as priceli18_496_, productbyp0_.Orgwarehouse as orgware19_496_ from M_Product_Price_Warehouse_v productbyp0_ left outer join M_Product product1_ on productbyp0_.M_Product_ID = product1_.M_Product_ID cross join M_ProductPrice pricingpro4_ cross join M_PriceList_Version pricingpri5_ cross join M_PriceList pricingpri9_ where productbyp0_.M_Productprice_ID = pricingpro4_.M_ProductPrice_ID and pricingpro4_.M_PriceList_Version_ID = pricingpri5_.M_PriceList_Version_ID and pricingpri5_.M_PriceList_ID = pricingpri9_.M_PriceList_ID and (upper(product1_.Value) like upper('%A%') escape '|' or upper(product1_.Name) like upper('%A%') escape '|' or upper((coalesce(to_char(( select producttrl2_.Name from M_Product_Trl producttrl2_ where producttrl2_.M_Product_ID = product1_.M_Product_ID and producttrl2_.AD_Language = 'es_ES')), to_char(product1_.Name), '') || ' - ' || product1_.Value)) like upper('%A%') escape '|' or upper((coalesce(to_char(( select producttrl3_.Name from M_Product_Trl producttrl3_ where producttrl3_.M_Product_ID = product1_.M_Product_ID and producttrl3_.AD_Language = 'es_ES')), to_char(product1_.Name), '') || ' - ' || product1_.Value)) like upper('%A%') escape '|') and (productbyp0_.AD_Org_ID in ('0', 'C34A537D1464452783C0A7C7C913FC86', '4A2127624482427B8B0BE0DD8ABF92D4', '3724B485FEC444038C28CAEE0F24E7E6', 'B2834B32C6C2488CA31DE4D756AD4A5F')) and productbyp0_.Isactive = 'Y' and AD_ORG_ISINNATURALTREE (productbyp0_.Orgwarehouse, 'B2834B32C6C2488CA31DE4D756AD4A5F', '4E7785E633254999A6D7545B0BE57A46') = 'Y' and pricingpri5_.IsActive = 'Y' and AD_ORG_ISINNATURALTREE (pricingpro4_.AD_Org_ID, 'B2834B32C6C2488CA31DE4D756AD4A5F', '4E7785E633254999A6D7545B0BE57A46') = 'Y' and pricingpri9_.IsSOPriceList = 'Y' and pricingpri9_.C_Currency_ID = '102' and pricingpro4_.M_PriceList_Version_ID = '1000109' and productbyp0_.M_Warehouse_ID = '6F618729B86C4789AF3EC693A15D4785' and (productbyp0_.AD_Client_ID in ('4E7785E633254999A6D7545B0BE57A46', '0')) and productbyp0_.Isactive = 'Y' order by product1_.Name, product1_.Value, product1_.M_Product_ID limit '76';
Date: 2026-07-13 11:50:08 Duration: 1s673ms Database: etendo User: tad Remote: 127.0.0.1 Application: openbravo Bind query: yes
-
select productbyp0_.M_Product_Price_Warehouse_V_ID as m_produc1_496_, productbyp0_.AD_Client_ID as ad_clien2_496_, productbyp0_.AD_Org_ID as ad_org_i3_496_, productbyp0_.Isactive as isactive4_496_, productbyp0_.Updated as updated5_496_, productbyp0_.Updatedby as updatedb6_496_, productbyp0_.Created as created7_496_, productbyp0_.Createdby as createdb8_496_, productbyp0_.M_Product_ID as m_produc9_496_, productbyp0_.M_Warehouse_ID as m_wareh10_496_, productbyp0_.M_Productprice_ID as m_produ11_496_, productbyp0_.QTY_Available as qty_ava12_496_, productbyp0_.QTY_Onhand as qty_onh13_496_, productbyp0_.QTY_Reserved as qty_res14_496_, productbyp0_.QTY_Ordered as qty_ord15_496_, productbyp0_.Pricelist as priceli16_496_, productbyp0_.Pricestd as pricest17_496_, productbyp0_.Pricelimit as priceli18_496_, productbyp0_.Orgwarehouse as orgware19_496_ from M_Product_Price_Warehouse_v productbyp0_ left outer join M_Product product1_ on productbyp0_.M_Product_ID = product1_.M_Product_ID cross join M_ProductPrice pricingpro4_ cross join M_PriceList_Version pricingpri5_ cross join M_PriceList pricingpri9_ where productbyp0_.M_Productprice_ID = pricingpro4_.M_ProductPrice_ID and pricingpro4_.M_PriceList_Version_ID = pricingpri5_.M_PriceList_Version_ID and pricingpri5_.M_PriceList_ID = pricingpri9_.M_PriceList_ID and (upper(product1_.Value) like upper('%A%') escape '|' or upper(product1_.Name) like upper('%A%') escape '|' or upper((coalesce(to_char(( select producttrl2_.Name from M_Product_Trl producttrl2_ where producttrl2_.M_Product_ID = product1_.M_Product_ID and producttrl2_.AD_Language = 'es_ES')), to_char(product1_.Name), '') || ' - ' || product1_.Value)) like upper('%A%') escape '|' or upper((coalesce(to_char(( select producttrl3_.Name from M_Product_Trl producttrl3_ where producttrl3_.M_Product_ID = product1_.M_Product_ID and producttrl3_.AD_Language = 'es_ES')), to_char(product1_.Name), '') || ' - ' || product1_.Value)) like upper('%A%') escape '|') and (productbyp0_.AD_Org_ID in ('0', 'C34A537D1464452783C0A7C7C913FC86', '4A2127624482427B8B0BE0DD8ABF92D4', '3724B485FEC444038C28CAEE0F24E7E6', 'B2834B32C6C2488CA31DE4D756AD4A5F')) and productbyp0_.Isactive = 'Y' and AD_ORG_ISINNATURALTREE (productbyp0_.Orgwarehouse, 'B2834B32C6C2488CA31DE4D756AD4A5F', '4E7785E633254999A6D7545B0BE57A46') = 'Y' and pricingpri5_.IsActive = 'Y' and AD_ORG_ISINNATURALTREE (pricingpro4_.AD_Org_ID, 'B2834B32C6C2488CA31DE4D756AD4A5F', '4E7785E633254999A6D7545B0BE57A46') = 'Y' and pricingpri9_.IsSOPriceList = 'Y' and pricingpri9_.C_Currency_ID = '102' and pricingpro4_.M_PriceList_Version_ID = '1000113' and productbyp0_.M_Warehouse_ID = '6F618729B86C4789AF3EC693A15D4785' and (productbyp0_.AD_Client_ID in ('4E7785E633254999A6D7545B0BE57A46', '0')) and productbyp0_.Isactive = 'Y' order by product1_.Name, product1_.Value, product1_.M_Product_ID limit '76';
Date: 2026-07-13 09:08:20 Duration: 1s589ms Database: etendo User: tad Remote: 127.0.0.1 Application: openbravo Bind query: yes
-
select productbyp0_.M_Product_Price_Warehouse_V_ID as m_produc1_496_, productbyp0_.AD_Client_ID as ad_clien2_496_, productbyp0_.AD_Org_ID as ad_org_i3_496_, productbyp0_.Isactive as isactive4_496_, productbyp0_.Updated as updated5_496_, productbyp0_.Updatedby as updatedb6_496_, productbyp0_.Created as created7_496_, productbyp0_.Createdby as createdb8_496_, productbyp0_.M_Product_ID as m_produc9_496_, productbyp0_.M_Warehouse_ID as m_wareh10_496_, productbyp0_.M_Productprice_ID as m_produ11_496_, productbyp0_.QTY_Available as qty_ava12_496_, productbyp0_.QTY_Onhand as qty_onh13_496_, productbyp0_.QTY_Reserved as qty_res14_496_, productbyp0_.QTY_Ordered as qty_ord15_496_, productbyp0_.Pricelist as priceli16_496_, productbyp0_.Pricestd as pricest17_496_, productbyp0_.Pricelimit as priceli18_496_, productbyp0_.Orgwarehouse as orgware19_496_ from M_Product_Price_Warehouse_v productbyp0_ left outer join M_Product product1_ on productbyp0_.M_Product_ID = product1_.M_Product_ID cross join M_ProductPrice pricingpro4_ cross join M_PriceList_Version pricingpri5_ cross join M_PriceList pricingpri9_ where productbyp0_.M_Productprice_ID = pricingpro4_.M_ProductPrice_ID and pricingpro4_.M_PriceList_Version_ID = pricingpri5_.M_PriceList_Version_ID and pricingpri5_.M_PriceList_ID = pricingpri9_.M_PriceList_ID and (upper(product1_.Value) like upper('%I%') escape '|' or upper(product1_.Name) like upper('%I%') escape '|' or upper((coalesce(to_char(( select producttrl2_.Name from M_Product_Trl producttrl2_ where producttrl2_.M_Product_ID = product1_.M_Product_ID and producttrl2_.AD_Language = 'es_ES')), to_char(product1_.Name), '') || ' - ' || product1_.Value)) like upper('%I%') escape '|' or upper((coalesce(to_char(( select producttrl3_.Name from M_Product_Trl producttrl3_ where producttrl3_.M_Product_ID = product1_.M_Product_ID and producttrl3_.AD_Language = 'es_ES')), to_char(product1_.Name), '') || ' - ' || product1_.Value)) like upper('%I%') escape '|') and (productbyp0_.AD_Org_ID in ('0', 'C34A537D1464452783C0A7C7C913FC86', '4A2127624482427B8B0BE0DD8ABF92D4', '3724B485FEC444038C28CAEE0F24E7E6', 'B2834B32C6C2488CA31DE4D756AD4A5F')) and productbyp0_.Isactive = 'Y' and AD_ORG_ISINNATURALTREE (productbyp0_.Orgwarehouse, 'B2834B32C6C2488CA31DE4D756AD4A5F', '4E7785E633254999A6D7545B0BE57A46') = 'Y' and pricingpri5_.IsActive = 'Y' and AD_ORG_ISINNATURALTREE (pricingpro4_.AD_Org_ID, 'B2834B32C6C2488CA31DE4D756AD4A5F', '4E7785E633254999A6D7545B0BE57A46') = 'Y' and pricingpri9_.IsSOPriceList = 'Y' and pricingpri9_.C_Currency_ID = '102' and pricingpro4_.M_PriceList_Version_ID = '1000109' and productbyp0_.M_Warehouse_ID = '6F618729B86C4789AF3EC693A15D4785' and (productbyp0_.AD_Client_ID in ('4E7785E633254999A6D7545B0BE57A46', '0')) and productbyp0_.Isactive = 'Y' order by product1_.Name, product1_.Value, product1_.M_Product_ID limit '76';
Date: 2026-07-13 11:50:32 Duration: 1s528ms Database: etendo User: tad Remote: 127.0.0.1 Application: openbravo Bind query: yes
2 15 5m38s 8s479ms 54s191ms 22s549ms select profile.take_sample ();Times Reported Time consuming queries #2
Day Hour Count Duration Avg duration Jul 13 07 1 11s261ms 11s261ms 08 1 13s762ms 13s762ms 09 1 45s53ms 45s53ms 10 1 13s947ms 13s947ms 11 1 54s191ms 54s191ms 12 1 14s250ms 14s250ms 13 1 46s983ms 46s983ms 14 1 14s499ms 14s499ms 15 1 15s146ms 15s146ms 16 1 15s84ms 15s84ms 17 1 45s833ms 45s833ms 18 1 13s411ms 13s411ms 19 1 15s142ms 15s142ms 20 1 11s199ms 11s199ms 21 1 8s479ms 8s479ms [ User: postgres - Total duration: 5m38s - Times executed: 15 ]
[ Application: psql - Total duration: 5m38s - Times executed: 15 ]
-
SELECT profile.take_sample ();
Date: 2026-07-13 11:00:55 Duration: 54s191ms Database: etendo User: postgres Remote: [local] Application: psql
-
SELECT profile.take_sample ();
Date: 2026-07-13 13:00:48 Duration: 46s983ms Database: etendo User: postgres Remote: [local] Application: psql
-
SELECT profile.take_sample ();
Date: 2026-07-13 17:00:47 Duration: 45s833ms Database: etendo User: postgres Remote: [local] Application: psql
3 15 3m1s 8s656ms 14s285ms 12s100ms select * from ( select c_invoice_id as referencekey_id, ? as ad_role_id, null as ad_user_id, ? as description, ? as isactive, c_invoice.ad_org_id as ad_org_id, c_invoice.ad_client_id as 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, c_doctype, fact_acct f1, fact_acct f2 where c_invoice.c_doctype_id = c_doctype.c_doctype_id and c_doctype.docbasetype in (...) and f1.record_id = c_invoice.c_invoice_id and f1.record_id = f2.record_id and f1.ad_table_id = f2.ad_table_id and f1.fact_acct_group_id <> f2.fact_acct_group_id and f1.c_acctschema_id = f2.c_acctschema_id group by c_invoice_id, posted, c_invoice.ad_client_id, c_invoice.ad_org_id, f1.ad_table_id, f1.record_id) 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 1 9s324ms 9s324ms 08 1 12s786ms 12s786ms 09 1 12s706ms 12s706ms 10 1 8s656ms 8s656ms 11 1 10s972ms 10s972ms 12 1 13s539ms 13s539ms 13 1 12s573ms 12s573ms 14 1 13s15ms 13s15ms 15 1 13s348ms 13s348ms 16 1 14s285ms 14s285ms 17 1 13s773ms 13s773ms 18 1 11s785ms 11s785ms 19 1 14s107ms 14s107ms 20 1 11s555ms 11s555ms 21 1 9s76ms 9s76ms [ User: tad - Total duration: 3m1s - Times executed: 15 ]
[ Application: openbravo - Total duration: 3m1s - Times executed: 15 ]
-
SELECT * FROM ( select C_INVOICE_id as referencekey_id, '0' as ad_role_id, null as ad_user_id, 'SALES INVOICE POSTED MORE THAN ONCE' as description, 'Y' as isActive, C_INVOICE.ad_org_id as ad_org_id, C_INVOICE.ad_client_id as 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, c_doctype, fact_acct f1, fact_acct f2 WHERE C_INVOICE.c_doctype_id = c_doctype.c_doctype_id and c_doctype.docbasetype IN ('ARI', 'ARC', 'ARF') and f1.record_id = c_invoice.c_invoice_id and f1.record_id = f2.record_id and f1.ad_table_id = f2.ad_table_id and f1.fact_acct_group_id <> f2.fact_acct_group_id and f1.c_acctschema_id = f2.c_acctschema_id GROUP BY C_INVOICE_id, posted, C_INVOICE.ad_client_id, C_INVOICE.ad_org_id, f1.ad_table_id, f1.record_id) AAA where not exists ( select 1 from ad_alert a where a.ad_alertrule_id = '67AC26DEBEC1455D9510182FB973BC34' and a.referencekey_id = aaa.referencekey_id and coalesce(a.status, 'NEW') != 'SOLVED');
Date: 2026-07-13 16:00:15 Duration: 14s285ms 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, 'SALES INVOICE POSTED MORE THAN ONCE' as description, 'Y' as isActive, C_INVOICE.ad_org_id as ad_org_id, C_INVOICE.ad_client_id as 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, c_doctype, fact_acct f1, fact_acct f2 WHERE C_INVOICE.c_doctype_id = c_doctype.c_doctype_id and c_doctype.docbasetype IN ('ARI', 'ARC', 'ARF') and f1.record_id = c_invoice.c_invoice_id and f1.record_id = f2.record_id and f1.ad_table_id = f2.ad_table_id and f1.fact_acct_group_id <> f2.fact_acct_group_id and f1.c_acctschema_id = f2.c_acctschema_id GROUP BY C_INVOICE_id, posted, C_INVOICE.ad_client_id, C_INVOICE.ad_org_id, f1.ad_table_id, f1.record_id) AAA where not exists ( select 1 from ad_alert a where a.ad_alertrule_id = '67AC26DEBEC1455D9510182FB973BC34' and a.referencekey_id = aaa.referencekey_id and coalesce(a.status, 'NEW') != 'SOLVED');
Date: 2026-07-13 19:00:15 Duration: 14s107ms 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, 'SALES INVOICE POSTED MORE THAN ONCE' as description, 'Y' as isActive, C_INVOICE.ad_org_id as ad_org_id, C_INVOICE.ad_client_id as 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, c_doctype, fact_acct f1, fact_acct f2 WHERE C_INVOICE.c_doctype_id = c_doctype.c_doctype_id and c_doctype.docbasetype IN ('ARI', 'ARC', 'ARF') and f1.record_id = c_invoice.c_invoice_id and f1.record_id = f2.record_id and f1.ad_table_id = f2.ad_table_id and f1.fact_acct_group_id <> f2.fact_acct_group_id and f1.c_acctschema_id = f2.c_acctschema_id GROUP BY C_INVOICE_id, posted, C_INVOICE.ad_client_id, C_INVOICE.ad_org_id, f1.ad_table_id, f1.record_id) AAA where not exists ( select 1 from ad_alert a where a.ad_alertrule_id = '67AC26DEBEC1455D9510182FB973BC34' and a.referencekey_id = aaa.referencekey_id and coalesce(a.status, 'NEW') != 'SOLVED');
Date: 2026-07-13 17:00:14 Duration: 13s773ms Database: etendo User: tad Remote: 127.0.0.1 Application: openbravo Bind query: yes
4 15 20s829ms 1s48ms 2s241ms 1s388ms select * from ( select c_invoice.c_invoice_id as referencekey_id, c_invoice.documentno as record_id, ? as ad_role_id, null as ad_user_id, ?| | c_invoice.documentno || ?| | c_invoice.grandtotal || ?| | (( select round(sum(linenetamt), ?) from c_invoiceline line where line.c_invoice_id = c_invoice.c_invoice_id) + ( select coalesce(round(sum(tax.taxamt), ?), ?) from c_invoicetax tax where tax.c_invoice_id = c_invoice.c_invoice_id)) as description, ? as isactive, c_invoice.ad_org_id, c_invoice.ad_client_id, now() as created, ? as createdby, now() as updated, ? as updatedby from c_invoice where c_invoice.issotrx = ? and c_invoice.grandtotal <> round((( select round(sum(linenetamt), ?) from c_invoiceline line where line.c_invoice_id = c_invoice.c_invoice_id) + ( select coalesce(round(sum(tax.taxamt), ?), ?) from c_invoicetax tax where tax.c_invoice_id = c_invoice.c_invoice_id)), ?)) 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 1 1s393ms 1s393ms 08 1 1s255ms 1s255ms 09 1 1s302ms 1s302ms 10 1 2s241ms 2s241ms 11 1 1s587ms 1s587ms 12 1 1s725ms 1s725ms 13 1 1s304ms 1s304ms 14 1 1s496ms 1s496ms 15 1 1s428ms 1s428ms 16 1 1s134ms 1s134ms 17 1 1s88ms 1s88ms 18 1 1s401ms 1s401ms 19 1 1s98ms 1s98ms 20 1 1s48ms 1s48ms 21 1 1s323ms 1s323ms [ User: tad - Total duration: 20s829ms - Times executed: 15 ]
[ Application: openbravo - Total duration: 20s829ms - Times executed: 15 ]
-
SELECT * FROM ( select c_invoice.C_INVOICE_ID as referencekey_id, c_invoice.documentno as record_id, 0 as ad_role_id, null as ad_user_id, 'Factura ' || c_invoice.documentno || ' difiere el importe total ' || c_invoice.grandtotal || ' con la suma del total de las lineas + impuestos ' || (( select round(sum(linenetamt), 2) from c_invoiceline line where line.c_invoice_id = c_invoice.c_invoice_id) + ( select coalesce(round(sum(tax.taxamt), 2), 0) from c_invoicetax tax where tax.c_invoice_id = c_invoice.c_invoice_id)) as description, 'Y' as isActive, c_invoice.ad_org_id, c_invoice.ad_client_id, now() as created, 0 as createdBy, now() as updated, 0 as updatedBy from c_invoice where c_invoice.issotrx = 'Y' and c_invoice.grandtotal <> round((( select round(sum(linenetamt), 2) from c_invoiceline line where line.c_invoice_id = c_invoice.c_invoice_id) + ( select coalesce(round(sum(tax.taxamt), 2), 0) from c_invoicetax tax where tax.c_invoice_id = c_invoice.c_invoice_id)), 2)) AAA where not exists ( select 1 from ad_alert a where a.ad_alertrule_id = 'D385EC7B4B9F428093AF4EBA38AF5821' and a.referencekey_id = aaa.referencekey_id and coalesce(a.status, 'NEW') != 'SOLVED');
Date: 2026-07-13 10:00:14 Duration: 2s241ms Database: etendo User: tad Remote: 127.0.0.1 Application: openbravo Bind query: yes
-
SELECT * FROM ( select c_invoice.C_INVOICE_ID as referencekey_id, c_invoice.documentno as record_id, 0 as ad_role_id, null as ad_user_id, 'Factura ' || c_invoice.documentno || ' difiere el importe total ' || c_invoice.grandtotal || ' con la suma del total de las lineas + impuestos ' || (( select round(sum(linenetamt), 2) from c_invoiceline line where line.c_invoice_id = c_invoice.c_invoice_id) + ( select coalesce(round(sum(tax.taxamt), 2), 0) from c_invoicetax tax where tax.c_invoice_id = c_invoice.c_invoice_id)) as description, 'Y' as isActive, c_invoice.ad_org_id, c_invoice.ad_client_id, now() as created, 0 as createdBy, now() as updated, 0 as updatedBy from c_invoice where c_invoice.issotrx = 'Y' and c_invoice.grandtotal <> round((( select round(sum(linenetamt), 2) from c_invoiceline line where line.c_invoice_id = c_invoice.c_invoice_id) + ( select coalesce(round(sum(tax.taxamt), 2), 0) from c_invoicetax tax where tax.c_invoice_id = c_invoice.c_invoice_id)), 2)) AAA where not exists ( select 1 from ad_alert a where a.ad_alertrule_id = 'D385EC7B4B9F428093AF4EBA38AF5821' and a.referencekey_id = aaa.referencekey_id and coalesce(a.status, 'NEW') != 'SOLVED');
Date: 2026-07-13 12:00:23 Duration: 1s725ms Database: etendo User: tad Remote: 127.0.0.1 Application: openbravo Bind query: yes
-
SELECT * FROM ( select c_invoice.C_INVOICE_ID as referencekey_id, c_invoice.documentno as record_id, 0 as ad_role_id, null as ad_user_id, 'Factura ' || c_invoice.documentno || ' difiere el importe total ' || c_invoice.grandtotal || ' con la suma del total de las lineas + impuestos ' || (( select round(sum(linenetamt), 2) from c_invoiceline line where line.c_invoice_id = c_invoice.c_invoice_id) + ( select coalesce(round(sum(tax.taxamt), 2), 0) from c_invoicetax tax where tax.c_invoice_id = c_invoice.c_invoice_id)) as description, 'Y' as isActive, c_invoice.ad_org_id, c_invoice.ad_client_id, now() as created, 0 as createdBy, now() as updated, 0 as updatedBy from c_invoice where c_invoice.issotrx = 'Y' and c_invoice.grandtotal <> round((( select round(sum(linenetamt), 2) from c_invoiceline line where line.c_invoice_id = c_invoice.c_invoice_id) + ( select coalesce(round(sum(tax.taxamt), 2), 0) from c_invoicetax tax where tax.c_invoice_id = c_invoice.c_invoice_id)), 2)) AAA where not exists ( select 1 from ad_alert a where a.ad_alertrule_id = 'D385EC7B4B9F428093AF4EBA38AF5821' and a.referencekey_id = aaa.referencekey_id and coalesce(a.status, 'NEW') != 'SOLVED');
Date: 2026-07-13 11:00:14 Duration: 1s587ms Database: etendo User: tad Remote: 127.0.0.1 Application: openbravo Bind query: yes
5 5 8s649ms 1s44ms 2s492ms 1s729ms select * from c_order_post (?);Times Reported Time consuming queries #5
Day Hour Count Duration Avg duration Jul 13 07 1 2s492ms 2s492ms 08 1 1s44ms 1s44ms 10 1 2s147ms 2s147ms 11 1 1s821ms 1s821ms 15 1 1s143ms 1s143ms [ User: tad - Total duration: 8s649ms - Times executed: 5 ]
[ Application: openbravo - Total duration: 8s649ms - Times executed: 5 ]
-
SELECT * FROM C_ORDER_POST ('C3E479B6BDEC4AE5B306C37B5C843B61');
Date: 2026-07-13 07:37:23 Duration: 2s492ms Database: etendo User: tad Remote: 127.0.0.1 Application: openbravo Bind query: yes
-
SELECT * FROM C_ORDER_POST ('93892410C532448A9F33702B0658107E');
Date: 2026-07-13 10:14:18 Duration: 2s147ms Database: etendo User: tad Remote: 127.0.0.1 Application: openbravo Bind query: yes
-
SELECT * FROM C_ORDER_POST ('3CE7B223E77D477689784AE348948077');
Date: 2026-07-13 11:53:47 Duration: 1s821ms Database: etendo User: tad Remote: 127.0.0.1 Application: openbravo Bind query: yes
6 3 6s721ms 1s90ms 2s892ms 2s240ms select a.id, ev.value as account_id, coalesce(ev_trl.name, ev.name) as name, a.initialamt as saldo_inicial, a.amtacctcr, a.amtacctdr, a.initialamt + a.amtacctdr - a.amtacctcr as saldo_final, a.groupbyid, case ad_column_identifier (?, groupbyid, to_char(?)) when ? then ? else ad_column_identifier (?, groupbyid, to_char(?)) end as groupbyname from ( select sum( case when (dateacct < to_date(?) or (dateacct = to_date(?) and f.factaccttype = ?)) then f.amtacctdr - f.amtacctcr else ? end) as initialamt, sum( case when (dateacct >= to_date(?) and f.factaccttype not in (...)) or (dateacct = to_date(?) and f.factaccttype = ?) then f.amtacctdr else ? end) as amtacctdr, sum( case when (dateacct >= to_date(?) and f.factaccttype not in (...)) or (dateacct = to_date(?) and f.factaccttype = ?) then f.amtacctcr else ? end) as amtacctcr, f.account_id as id, to_char(?) as groupbyid from fact_acct f where f.ad_org_id in (...) and f.ad_client_id in (...) and f.ad_org_id in (...) and dateacct < to_date(?) and ? = ? and f.c_acctschema_id = ? and f.isactive = ? group by f.account_id) a left join c_elementvalue ev on a.id = ev.c_elementvalue_id left join c_elementvalue_trl ev_trl on ev.c_elementvalue_id = ev_trl.c_elementvalue_id and ev_trl.ad_language = ? where ev.elementlevel = ? and ? = ? and ev.value >= ? and ev.value <= ? and (a.initialamt <> ? or a.amtacctcr <> ? or a.amtacctdr <> ?) order by ev.value, ev.name, id, groupbyname;Times Reported Time consuming queries #6
Day Hour Count Duration Avg duration Jul 13 09 1 2s892ms 2s892ms 10 2 3s829ms 1s914ms [ User: tad - Total duration: 6s721ms - Times executed: 3 ]
[ Application: openbravo - Total duration: 6s721ms - Times executed: 3 ]
-
select a.id, ev.value as account_id, COALESCE(ev_trl.name, ev.name) as name, a.initialamt as SALDO_INICIAL, a.amtacctcr, a.amtacctdr, A.INITIALAMT + A.AMTACCTDR - A.AMTACCTCR AS SALDO_FINAL, a.groupbyid, CASE ad_column_identifier ('',groupbyid,TO_CHAR('es_ES')) WHEN '**' THEN '' ELSE ad_column_identifier ('',groupbyid,TO_CHAR('es_ES')) END AS groupbyname from( SELECT sum(case when (DATEACCT < TO_DATE('01-01-2026') or (DATEACCT = TO_DATE('01-01-2026') and F.FACTACCTTYPE = 'O')) then F.AMTACCTDR - F.AMTACCTCR else 0 end) as initialamt, sum(case when (DATEACCT >= TO_DATE('01-01-2026') AND F.FACTACCTTYPE not in('O', 'R', 'C')) or (DATEACCT = TO_DATE('01-01-2026') and F.FACTACCTTYPE = NULL) then F.AMTACCTDR else 0 end) as AMTACCTDR, sum(case when (DATEACCT >= TO_DATE('01-01-2026') AND F.FACTACCTTYPE not in('O', 'R', 'C')) or (DATEACCT = TO_DATE('01-01-2026') and F.FACTACCTTYPE = NULL) then F.AMTACCTCR else 0 end) as AMTACCTCR, F.ACCOUNT_ID AS ID, to_char('') AS groupbyid FROM FACT_ACCT F WHERE F.AD_ORG_ID IN ('C34A537D1464452783C0A7C7C913FC86', 'B2834B32C6C2488CA31DE4D756AD4A5F', '3724B485FEC444038C28CAEE0F24E7E6') AND F.AD_CLIENT_ID IN ('0', '4E7785E633254999A6D7545B0BE57A46') AND F.AD_ORG_ID IN ('C34A537D1464452783C0A7C7C913FC86', 'B2834B32C6C2488CA31DE4D756AD4A5F', '3724B485FEC444038C28CAEE0F24E7E6') AND DATEACCT < TO_DATE('01-06-2026') AND 1 = 1 AND F.C_ACCTSCHEMA_ID = '0F5D42F2ED1147B1A08F51C2E218D734' AND F.ISACTIVE = 'Y' group by F.ACCOUNT_ID) a LEFT JOIN c_elementvalue ev ON a.id = ev.c_elementvalue_id LEFT JOIN c_elementvalue_trl ev_trl ON ev.c_elementvalue_id = ev_trl.c_elementvalue_id AND ev_trl.ad_language = 'es_ES' WHERE ev.elementlevel = 'S' AND 2 = 2 AND EV.VALUE >= '47000' AND EV.VALUE <= '47900' and (a.initialamt <> 0 or a.amtacctcr <> 0 or a.amtacctdr <> 0) order by ev.value, ev.name, id, groupbyname;
Date: 2026-07-13 09:56:28 Duration: 2s892ms Database: etendo User: tad Remote: 127.0.0.1 Application: openbravo Bind query: yes
-
select a.id, ev.value as account_id, COALESCE(ev_trl.name, ev.name) as name, a.initialamt as SALDO_INICIAL, a.amtacctcr, a.amtacctdr, A.INITIALAMT + A.AMTACCTDR - A.AMTACCTCR AS SALDO_FINAL, a.groupbyid, CASE ad_column_identifier ('',groupbyid,TO_CHAR('es_ES')) WHEN '**' THEN '' ELSE ad_column_identifier ('',groupbyid,TO_CHAR('es_ES')) END AS groupbyname from( SELECT sum(case when (DATEACCT < TO_DATE('01-01-2026') or (DATEACCT = TO_DATE('01-01-2026') and F.FACTACCTTYPE = 'O')) then F.AMTACCTDR - F.AMTACCTCR else 0 end) as initialamt, sum(case when (DATEACCT >= TO_DATE('01-01-2026') AND F.FACTACCTTYPE not in('O', 'R', 'C')) or (DATEACCT = TO_DATE('01-01-2026') and F.FACTACCTTYPE = NULL) then F.AMTACCTDR else 0 end) as AMTACCTDR, sum(case when (DATEACCT >= TO_DATE('01-01-2026') AND F.FACTACCTTYPE not in('O', 'R', 'C')) or (DATEACCT = TO_DATE('01-01-2026') and F.FACTACCTTYPE = NULL) then F.AMTACCTCR else 0 end) as AMTACCTCR, F.ACCOUNT_ID AS ID, to_char('') AS groupbyid FROM FACT_ACCT F WHERE F.AD_ORG_ID IN ('C34A537D1464452783C0A7C7C913FC86', 'B2834B32C6C2488CA31DE4D756AD4A5F', '3724B485FEC444038C28CAEE0F24E7E6') AND F.AD_CLIENT_ID IN ('0', '4E7785E633254999A6D7545B0BE57A46') AND F.AD_ORG_ID IN ('C34A537D1464452783C0A7C7C913FC86', 'B2834B32C6C2488CA31DE4D756AD4A5F', '3724B485FEC444038C28CAEE0F24E7E6') AND DATEACCT < TO_DATE('01-06-2026') AND 1 = 1 AND F.C_ACCTSCHEMA_ID = '0F5D42F2ED1147B1A08F51C2E218D734' AND F.ISACTIVE = 'Y' group by F.ACCOUNT_ID) a LEFT JOIN c_elementvalue ev ON a.id = ev.c_elementvalue_id LEFT JOIN c_elementvalue_trl ev_trl ON ev.c_elementvalue_id = ev_trl.c_elementvalue_id AND ev_trl.ad_language = 'es_ES' WHERE ev.elementlevel = 'S' AND 2 = 2 AND EV.VALUE >= '47000' AND EV.VALUE <= '47900' and (a.initialamt <> 0 or a.amtacctcr <> 0 or a.amtacctdr <> 0) order by ev.value, ev.name, id, groupbyname;
Date: 2026-07-13 10:01:05 Duration: 2s738ms Database: etendo User: tad Remote: 127.0.0.1 Application: openbravo Bind query: yes
-
select a.id, ev.value as account_id, COALESCE(ev_trl.name, ev.name) as name, a.initialamt as SALDO_INICIAL, a.amtacctcr, a.amtacctdr, A.INITIALAMT + A.AMTACCTDR - A.AMTACCTCR AS SALDO_FINAL, a.groupbyid, CASE ad_column_identifier ('',groupbyid,TO_CHAR('es_ES')) WHEN '**' THEN '' ELSE ad_column_identifier ('',groupbyid,TO_CHAR('es_ES')) END AS groupbyname from( SELECT sum(case when (DATEACCT < TO_DATE('01-01-2026') or (DATEACCT = TO_DATE('01-01-2026') and F.FACTACCTTYPE = 'O')) then F.AMTACCTDR - F.AMTACCTCR else 0 end) as initialamt, sum(case when (DATEACCT >= TO_DATE('01-01-2026') AND F.FACTACCTTYPE not in('O', 'R', 'C')) or (DATEACCT = TO_DATE('01-01-2026') and F.FACTACCTTYPE = NULL) then F.AMTACCTDR else 0 end) as AMTACCTDR, sum(case when (DATEACCT >= TO_DATE('01-01-2026') AND F.FACTACCTTYPE not in('O', 'R', 'C')) or (DATEACCT = TO_DATE('01-01-2026') and F.FACTACCTTYPE = NULL) then F.AMTACCTCR else 0 end) as AMTACCTCR, F.ACCOUNT_ID AS ID, to_char('') AS groupbyid FROM FACT_ACCT F WHERE F.AD_ORG_ID IN ('C34A537D1464452783C0A7C7C913FC86', 'B2834B32C6C2488CA31DE4D756AD4A5F', '3724B485FEC444038C28CAEE0F24E7E6') AND F.AD_CLIENT_ID IN ('0', '4E7785E633254999A6D7545B0BE57A46') AND F.AD_ORG_ID IN ('C34A537D1464452783C0A7C7C913FC86', 'B2834B32C6C2488CA31DE4D756AD4A5F', '3724B485FEC444038C28CAEE0F24E7E6') AND DATEACCT < TO_DATE('01-07-2026') AND 1 = 1 AND F.C_ACCTSCHEMA_ID = '0F5D42F2ED1147B1A08F51C2E218D734' AND F.ISACTIVE = 'Y' group by F.ACCOUNT_ID) a LEFT JOIN c_elementvalue ev ON a.id = ev.c_elementvalue_id LEFT JOIN c_elementvalue_trl ev_trl ON ev.c_elementvalue_id = ev_trl.c_elementvalue_id AND ev_trl.ad_language = 'es_ES' WHERE ev.elementlevel = 'S' AND 2 = 2 AND EV.VALUE >= '47000' AND EV.VALUE <= '47900' and (a.initialamt <> 0 or a.amtacctcr <> 0 or a.amtacctdr <> 0) order by ev.value, ev.name, id, groupbyname;
Date: 2026-07-13 10:05:53 Duration: 1s90ms Database: etendo User: tad Remote: 127.0.0.1 Application: openbravo Bind query: yes
7 2 4s194ms 1s714ms 2s479ms 2s97ms select * from c_invoice_post0 (?);Times Reported Time consuming queries #7
Day Hour Count Duration Avg duration Jul 13 12 2 4s194ms 2s97ms [ User: tad - Total duration: 4s194ms - Times executed: 2 ]
[ Application: openbravo - Total duration: 4s194ms - Times executed: 2 ]
-
SELECT * FROM C_Invoice_Post0 ('FCFE701C902A435EBD1F5BCADD0C6877');
Date: 2026-07-13 12:35:43 Duration: 2s479ms Database: etendo User: tad Remote: 127.0.0.1 Application: openbravo Bind query: yes
-
SELECT * FROM C_Invoice_Post0 ('B88AC3508A704520AB42DB41DB88655A');
Date: 2026-07-13 12:30:45 Duration: 1s714ms Database: etendo User: tad Remote: 127.0.0.1 Application: openbravo Bind query: yes
8 2 2s208ms 1s75ms 1s133ms 1s104ms select productbyp0_.m_product_price_warehouse_v_id as m_produc1_496_, productbyp0_.ad_client_id as ad_clien2_496_, productbyp0_.ad_org_id as ad_org_i3_496_, productbyp0_.isactive as isactive4_496_, productbyp0_.updated as updated5_496_, productbyp0_.updatedby as updatedb6_496_, productbyp0_.created as created7_496_, productbyp0_.createdby as createdb8_496_, productbyp0_.m_product_id as m_produc9_496_, productbyp0_.m_warehouse_id as m_wareh10_496_, productbyp0_.m_productprice_id as m_produ11_496_, productbyp0_.qty_available as qty_ava12_496_, productbyp0_.qty_onhand as qty_onh13_496_, productbyp0_.qty_reserved as qty_res14_496_, productbyp0_.qty_ordered as qty_ord15_496_, productbyp0_.pricelist as priceli16_496_, productbyp0_.pricestd as pricest17_496_, productbyp0_.pricelimit as priceli18_496_, productbyp0_.orgwarehouse as orgware19_496_ from m_product_price_warehouse_v productbyp0_ inner join m_product product1_ on productbyp0_.m_product_id = product1_.m_product_id cross join m_productprice pricingpro2_ cross join m_pricelist_version pricingpri4_ cross join m_pricelist pricingpri8_ where productbyp0_.m_productprice_id = pricingpro2_.m_productprice_id and pricingpro2_.m_pricelist_version_id = pricingpri4_.m_pricelist_version_id and pricingpri4_.m_pricelist_id = pricingpri8_.m_pricelist_id and productbyp0_.m_warehouse_id = ? and pricingpro2_.m_pricelist_version_id = ? and (productbyp0_.ad_org_id in (...)) and productbyp0_.isactive = ? and ad_org_isinnaturaltree (productbyp0_.orgwarehouse, ?, ?) = ? and pricingpri4_.isactive = ? and ad_org_isinnaturaltree (pricingpro2_.ad_org_id, ?, ?) = ? and pricingpri8_.issopricelist = ? and pricingpri8_.c_currency_id = ? and (productbyp0_.ad_client_id in (...)) and productbyp0_.isactive = ? order by productbyp0_.qty_available, product1_.m_product_id limit ?;Times Reported Time consuming queries #8
Day Hour Count Duration Avg duration Jul 13 15 2 2s208ms 1s104ms [ User: tad - Total duration: 2s208ms - Times executed: 2 ]
[ Application: openbravo - Total duration: 2s208ms - Times executed: 2 ]
-
select productbyp0_.M_Product_Price_Warehouse_V_ID as m_produc1_496_, productbyp0_.AD_Client_ID as ad_clien2_496_, productbyp0_.AD_Org_ID as ad_org_i3_496_, productbyp0_.Isactive as isactive4_496_, productbyp0_.Updated as updated5_496_, productbyp0_.Updatedby as updatedb6_496_, productbyp0_.Created as created7_496_, productbyp0_.Createdby as createdb8_496_, productbyp0_.M_Product_ID as m_produc9_496_, productbyp0_.M_Warehouse_ID as m_wareh10_496_, productbyp0_.M_Productprice_ID as m_produ11_496_, productbyp0_.QTY_Available as qty_ava12_496_, productbyp0_.QTY_Onhand as qty_onh13_496_, productbyp0_.QTY_Reserved as qty_res14_496_, productbyp0_.QTY_Ordered as qty_ord15_496_, productbyp0_.Pricelist as priceli16_496_, productbyp0_.Pricestd as pricest17_496_, productbyp0_.Pricelimit as priceli18_496_, productbyp0_.Orgwarehouse as orgware19_496_ from M_Product_Price_Warehouse_v productbyp0_ inner join M_Product product1_ on productbyp0_.M_Product_ID = product1_.M_Product_ID cross join M_ProductPrice pricingpro2_ cross join M_PriceList_Version pricingpri4_ cross join M_PriceList pricingpri8_ where productbyp0_.M_Productprice_ID = pricingpro2_.M_ProductPrice_ID and pricingpro2_.M_PriceList_Version_ID = pricingpri4_.M_PriceList_Version_ID and pricingpri4_.M_PriceList_ID = pricingpri8_.M_PriceList_ID and productbyp0_.M_Warehouse_ID = '6F618729B86C4789AF3EC693A15D4785' and pricingpro2_.M_PriceList_Version_ID = '1000109' and (productbyp0_.AD_Org_ID in ('0', 'C34A537D1464452783C0A7C7C913FC86', '4A2127624482427B8B0BE0DD8ABF92D4', '3724B485FEC444038C28CAEE0F24E7E6', 'B2834B32C6C2488CA31DE4D756AD4A5F')) and productbyp0_.Isactive = 'Y' and AD_ORG_ISINNATURALTREE (productbyp0_.Orgwarehouse, 'B2834B32C6C2488CA31DE4D756AD4A5F', '4E7785E633254999A6D7545B0BE57A46') = 'Y' and pricingpri4_.IsActive = 'Y' and AD_ORG_ISINNATURALTREE (pricingpro2_.AD_Org_ID, 'B2834B32C6C2488CA31DE4D756AD4A5F', '4E7785E633254999A6D7545B0BE57A46') = 'Y' and pricingpri8_.IsSOPriceList = 'Y' and pricingpri8_.C_Currency_ID = '102' and (productbyp0_.AD_Client_ID in ('4E7785E633254999A6D7545B0BE57A46', '0')) and productbyp0_.Isactive = 'Y' order by productbyp0_.QTY_Available, product1_.M_Product_ID limit '76';
Date: 2026-07-13 15:43:58 Duration: 1s133ms Database: etendo User: tad Remote: 127.0.0.1 Application: openbravo Bind query: yes
-
select productbyp0_.M_Product_Price_Warehouse_V_ID as m_produc1_496_, productbyp0_.AD_Client_ID as ad_clien2_496_, productbyp0_.AD_Org_ID as ad_org_i3_496_, productbyp0_.Isactive as isactive4_496_, productbyp0_.Updated as updated5_496_, productbyp0_.Updatedby as updatedb6_496_, productbyp0_.Created as created7_496_, productbyp0_.Createdby as createdb8_496_, productbyp0_.M_Product_ID as m_produc9_496_, productbyp0_.M_Warehouse_ID as m_wareh10_496_, productbyp0_.M_Productprice_ID as m_produ11_496_, productbyp0_.QTY_Available as qty_ava12_496_, productbyp0_.QTY_Onhand as qty_onh13_496_, productbyp0_.QTY_Reserved as qty_res14_496_, productbyp0_.QTY_Ordered as qty_ord15_496_, productbyp0_.Pricelist as priceli16_496_, productbyp0_.Pricestd as pricest17_496_, productbyp0_.Pricelimit as priceli18_496_, productbyp0_.Orgwarehouse as orgware19_496_ from M_Product_Price_Warehouse_v productbyp0_ inner join M_Product product1_ on productbyp0_.M_Product_ID = product1_.M_Product_ID cross join M_ProductPrice pricingpro2_ cross join M_PriceList_Version pricingpri4_ cross join M_PriceList pricingpri8_ where productbyp0_.M_Productprice_ID = pricingpro2_.M_ProductPrice_ID and pricingpro2_.M_PriceList_Version_ID = pricingpri4_.M_PriceList_Version_ID and pricingpri4_.M_PriceList_ID = pricingpri8_.M_PriceList_ID and productbyp0_.M_Warehouse_ID = '6F618729B86C4789AF3EC693A15D4785' and pricingpro2_.M_PriceList_Version_ID = '1000112' and (productbyp0_.AD_Org_ID in ('0', 'C34A537D1464452783C0A7C7C913FC86', '4A2127624482427B8B0BE0DD8ABF92D4', '3724B485FEC444038C28CAEE0F24E7E6', 'B2834B32C6C2488CA31DE4D756AD4A5F')) and productbyp0_.Isactive = 'Y' and AD_ORG_ISINNATURALTREE (productbyp0_.Orgwarehouse, 'B2834B32C6C2488CA31DE4D756AD4A5F', '4E7785E633254999A6D7545B0BE57A46') = 'Y' and pricingpri4_.IsActive = 'Y' and AD_ORG_ISINNATURALTREE (pricingpro2_.AD_Org_ID, 'B2834B32C6C2488CA31DE4D756AD4A5F', '4E7785E633254999A6D7545B0BE57A46') = 'Y' and pricingpri8_.IsSOPriceList = 'Y' and pricingpri8_.C_Currency_ID = '102' and (productbyp0_.AD_Client_ID in ('4E7785E633254999A6D7545B0BE57A46', '0')) and productbyp0_.Isactive = 'Y' order by productbyp0_.QTY_Available, product1_.M_Product_ID limit '76';
Date: 2026-07-13 15:52:36 Duration: 1s75ms Database: etendo User: tad Remote: 127.0.0.1 Application: openbravo Bind query: yes
9 1 3s903ms 3s903ms 3s903ms 3s903ms select businesspa0_.c_bpartner_id as c_bpartn1_188_, businesspa0_.ad_client_id as ad_clien2_188_, businesspa0_.ad_org_id as ad_org_i3_188_, businesspa0_.isactive as isactive4_188_, businesspa0_.created as created5_188_, businesspa0_.createdby as createdb6_188_, businesspa0_.updated as updated7_188_, businesspa0_.updatedby as updatedb8_188_, businesspa0_.value as value9_188_, businesspa0_.name as name10_188_, businesspa0_.name2 as name11_188_, businesspa0_.description as descrip12_188_, businesspa0_.issummary as issumma13_188_, businesspa0_.c_bp_group_id as c_bp_gr14_188_, businesspa0_.isonetime as isoneti15_188_, businesspa0_.isprospect as isprosp16_188_, businesspa0_.isvendor as isvendo17_188_, businesspa0_.iscustomer as iscusto18_188_, businesspa0_.isemployee as isemplo19_188_, businesspa0_.issalesrep as issales20_188_, businesspa0_.referenceno as referen21_188_, businesspa0_.duns as duns22_188_, businesspa0_.url as url23_188_, businesspa0_.ad_language as ad_lang24_188_, businesspa0_.taxid as taxid25_188_, businesspa0_.istaxexempt as istaxex26_188_, businesspa0_.c_invoiceschedule_id as c_invoi27_188_, businesspa0_.rating as rating28_188_, businesspa0_.salesvolume as salesvo29_188_, businesspa0_.numberemployees as numbere30_188_, businesspa0_.naics as naics31_188_, businesspa0_.firstsale as firstsa32_188_, businesspa0_.acqusitioncost as acqusit33_188_, businesspa0_.potentiallifetimevalue as potenti34_188_, businesspa0_.actuallifetimevalue as actuall35_188_, businesspa0_.shareofcustomer as shareof36_188_, businesspa0_.paymentrule as payment37_188_, businesspa0_.so_creditlimit as so_cred38_188_, businesspa0_.so_creditused as so_cred39_188_, businesspa0_.c_paymentterm_id as c_payme40_188_, businesspa0_.m_pricelist_id as m_price41_188_, businesspa0_.isdiscountprinted as isdisco42_188_, businesspa0_.so_description as so_desc43_188_, businesspa0_.poreference as porefer44_188_, businesspa0_.paymentrulepo as payment45_188_, businesspa0_.po_pricelist_id as po_pric46_188_, businesspa0_.po_paymentterm_id as po_paym47_188_, businesspa0_.documentcopies as documen48_188_, businesspa0_.c_greeting_id as c_greet49_188_, businesspa0_.invoicerule as invoice50_188_, businesspa0_.deliveryrule as deliver51_188_, businesspa0_.deliveryviarule as deliver52_188_, businesspa0_.salesrep_id as salesre53_188_, businesspa0_.bpartner_parent_id as bpartne54_188_, businesspa0_.socreditstatus as socredi55_188_, businesspa0_.ad_forced_org_id as ad_forc56_188_, businesspa0_.showpriceinorder as showpri57_188_, businesspa0_.invoicegrouping as invoice58_188_, businesspa0_.fixmonthday as fixmont59_188_, businesspa0_.fixmonthday2 as fixmont60_188_, businesspa0_.fixmonthday3 as fixmont61_188_, businesspa0_.isworker as isworke62_188_, businesspa0_.upc as upc63_188_, businesspa0_.c_salary_category_id as c_salar64_188_, businesspa0_.invoice_printformat as invoice65_188_, businesspa0_.last_days as last_da66_188_, businesspa0_.po_bankaccount_id as po_bank67_188_, businesspa0_.po_bp_taxcategory_id as po_bp_t68_188_, businesspa0_.po_fixmonthday as po_fixm69_188_, businesspa0_.po_fixmonthday2 as po_fixm70_188_, businesspa0_.po_fixmonthday3 as po_fixm71_188_, businesspa0_.so_bankaccount_id as so_bank72_188_, businesspa0_.so_bp_taxcategory_id as so_bp_t73_188_, businesspa0_.fiscalcode as fiscalc74_188_, businesspa0_.isofiscalcode as isofisc75_188_, businesspa0_.em_einv_einvoice as em_einv76_188_, businesspa0_.po_c_incoterms_id as po_c_in77_188_, businesspa0_.em_einv_format_id as em_einv78_188_, businesspa0_.so_c_incoterms_id as so_c_in79_188_, businesspa0_.em_einv_platform_id as em_einv80_188_, businesspa0_.fin_paymentmethod_id as fin_pay81_188_, businesspa0_.em_einv_email as em_einv82_188_, businesspa0_.po_paymentmethod_id as po_paym83_188_, businesspa0_.fin_financial_account_id as fin_fin84_188_, businesspa0_.em_einv_deliverymode as em_einv85_188_, businesspa0_.po_financial_account_id as po_fina86_188_, businesspa0_.customer_blocking as custome87_188_, businesspa0_.vendor_blocking as vendor_88_188_, businesspa0_.so_payment_blocking as so_paym89_188_, businesspa0_.po_payment_blocking as po_paym90_188_, businesspa0_.so_invoice_blocking as so_invo91_188_, businesspa0_.po_invoice_blocking as po_invo92_188_, businesspa0_.so_order_blocking as so_orde93_188_, businesspa0_.po_order_blocking as po_orde94_188_, businesspa0_.so_goods_blocking as so_good95_188_, businesspa0_.po_goods_blocking as po_good96_188_, businesspa0_.iscashvat as iscashv97_188_, businesspa0_.update_currency as update_98_188_, businesspa0_.bp_currency_id as bp_curr99_188_, businesspa0_.birthplace as birthp100_188_, businesspa0_.birthday as birthd101_188_, businesspa0_.is_customer_consent as is_cus102_188_, businesspa0_.em_obsepad_mandate_identifier as em_obs103_188_, businesspa0_.em_obsepad_mandate_date as em_obs104_188_, businesspa0_.em_aeatsii_rep_taxid as em_aea105_188_, businesspa0_.em_jr_inoutval as em_jr_106_188_, businesspa0_.em_aeatsii_menor as em_aea107_188_, businesspa0_.em_jr_isgeneric as em_jr_108_188_, businesspa0_.em_pruti_addbp as em_pru109_188_, businesspa0_.em_prei_iseinvoice as em_pre110_188_, businesspa0_.em_prei_format_id as em_pre111_188_, businesspa0_.em_pruti_unlock_date as em_pru112_188_, businesspa0_.em_prei_platform_id as em_pre113_188_, businesspa0_.em_pruti_unlock_order_date as em_pru114_188_, businesspa0_.em_prei_send_method as em_pre115_188_, businesspa0_.em_pruti_annexes_bp_so_id as em_pru116_188_, businesspa0_.em_prei_email as em_pre117_188_, businesspa0_.em_pruti_annexes_bp_po_id as em_pru118_188_, businesspa0_.em_prei_need_expedient as em_pre119_188_, businesspa0_.em_aeatsii_defaultsiikey as em_aea120_188_, businesspa0_.em_aeatsii_siikeylist as em_aea121_188_, businesspa0_.em_tbai_issimplifiedinv as em_tba122_188_, businesspa0_.em_pruti_cus_block_reason_id as em_pru123_188_, businesspa0_.em_pruti_notsendinvoice as em_pru124_188_, businesspa0_.em_obtik_tax_id_key as em_obt125_188_ from c_bpartner businesspa0_ where (upper((businesspa0_.name || ?| | coalesce(to_char(businesspa0_.name2), ?) || ?| | coalesce(to_char(businesspa0_.taxid), ?))) like upper(?) escape ?) and (exists ( select ? from c_order order1_ inner join c_bpartner businesspa2_ on order1_.c_bpartner_id = businesspa2_.c_bpartner_id cross join c_order order_comp3_ cross join c_doctype documentty4_ where order1_.c_order_id = order_comp3_.c_order_id and order1_.c_doctypetarget_id = documentty4_.c_doctype_id and (coalesce(( select case when sum(abs(ol.qtyordered)) = ? or order_comp3_.iscancelled = ? or order_comp3_.cancelledorder_id is not null then ? else round(coalesce(sum(abs(ol.qtyinvoiced)), ?) / sum(abs(ol.qtyordered)) * ?, ?) end from c_orderline ol where ol.c_order_id = order_comp3_.c_order_id and ol.c_order_discount_id is null), ?)) = ? and order1_.issotrx = ? and documentty4_.isreturn = ? and (documentty4_.docsubtypeso not like ?) and businesspa2_.c_bpartner_id = businesspa0_.c_bpartner_id and (order1_.ad_org_id in (...)) and (order1_.ad_client_id in (...)))) order by businesspa0_.name, businesspa0_.name2, businesspa0_.taxid limit ?;Times Reported Time consuming queries #9
Day Hour Count Duration Avg duration Jul 13 12 1 3s903ms 3s903ms [ User: tad - Total duration: 3s903ms - Times executed: 1 ]
[ Application: openbravo - Total duration: 3s903ms - Times executed: 1 ]
-
select businesspa0_.C_BPartner_ID as c_bpartn1_188_, businesspa0_.AD_Client_ID as ad_clien2_188_, businesspa0_.AD_Org_ID as ad_org_i3_188_, businesspa0_.IsActive as isactive4_188_, businesspa0_.Created as created5_188_, businesspa0_.CreatedBy as createdb6_188_, businesspa0_.Updated as updated7_188_, businesspa0_.UpdatedBy as updatedb8_188_, businesspa0_.Value as value9_188_, businesspa0_.Name as name10_188_, businesspa0_.Name2 as name11_188_, businesspa0_.Description as descrip12_188_, businesspa0_.IsSummary as issumma13_188_, businesspa0_.C_BP_Group_ID as c_bp_gr14_188_, businesspa0_.IsOneTime as isoneti15_188_, businesspa0_.IsProspect as isprosp16_188_, businesspa0_.IsVendor as isvendo17_188_, businesspa0_.IsCustomer as iscusto18_188_, businesspa0_.IsEmployee as isemplo19_188_, businesspa0_.IsSalesRep as issales20_188_, businesspa0_.ReferenceNo as referen21_188_, businesspa0_.DUNS as duns22_188_, businesspa0_.URL as url23_188_, businesspa0_.AD_Language as ad_lang24_188_, businesspa0_.TaxID as taxid25_188_, businesspa0_.IsTaxExempt as istaxex26_188_, businesspa0_.C_InvoiceSchedule_ID as c_invoi27_188_, businesspa0_.Rating as rating28_188_, businesspa0_.SalesVolume as salesvo29_188_, businesspa0_.NumberEmployees as numbere30_188_, businesspa0_.NAICS as naics31_188_, businesspa0_.FirstSale as firstsa32_188_, businesspa0_.AcqusitionCost as acqusit33_188_, businesspa0_.PotentialLifeTimeValue as potenti34_188_, businesspa0_.ActualLifeTimeValue as actuall35_188_, businesspa0_.ShareOfCustomer as shareof36_188_, businesspa0_.PaymentRule as payment37_188_, businesspa0_.SO_CreditLimit as so_cred38_188_, businesspa0_.SO_CreditUsed as so_cred39_188_, businesspa0_.C_PaymentTerm_ID as c_payme40_188_, businesspa0_.M_PriceList_ID as m_price41_188_, businesspa0_.IsDiscountPrinted as isdisco42_188_, businesspa0_.SO_Description as so_desc43_188_, businesspa0_.POReference as porefer44_188_, businesspa0_.PaymentRulePO as payment45_188_, businesspa0_.PO_PriceList_ID as po_pric46_188_, businesspa0_.PO_PaymentTerm_ID as po_paym47_188_, businesspa0_.DocumentCopies as documen48_188_, businesspa0_.C_Greeting_ID as c_greet49_188_, businesspa0_.InvoiceRule as invoice50_188_, businesspa0_.DeliveryRule as deliver51_188_, businesspa0_.DeliveryViaRule as deliver52_188_, businesspa0_.SalesRep_ID as salesre53_188_, businesspa0_.BPartner_Parent_ID as bpartne54_188_, businesspa0_.SOCreditStatus as socredi55_188_, businesspa0_.AD_Forced_Org_ID as ad_forc56_188_, businesspa0_.ShowPriceInOrder as showpri57_188_, businesspa0_.Invoicegrouping as invoice58_188_, businesspa0_.FixMonthDay as fixmont59_188_, businesspa0_.FixMonthDay2 as fixmont60_188_, businesspa0_.Fixmonthday3 as fixmont61_188_, businesspa0_.Isworker as isworke62_188_, businesspa0_.UPC as upc63_188_, businesspa0_.C_Salary_Category_ID as c_salar64_188_, businesspa0_.Invoice_Printformat as invoice65_188_, businesspa0_.Last_Days as last_da66_188_, businesspa0_.PO_Bankaccount_ID as po_bank67_188_, businesspa0_.PO_BP_TaxCategory_ID as po_bp_t68_188_, businesspa0_.PO_Fixmonthday as po_fixm69_188_, businesspa0_.PO_Fixmonthday2 as po_fixm70_188_, businesspa0_.PO_Fixmonthday3 as po_fixm71_188_, businesspa0_.SO_Bankaccount_ID as so_bank72_188_, businesspa0_.SO_Bp_Taxcategory_ID as so_bp_t73_188_, businesspa0_.Fiscalcode as fiscalc74_188_, businesspa0_.Isofiscalcode as isofisc75_188_, businesspa0_.EM_Einv_Einvoice as em_einv76_188_, businesspa0_.PO_C_Incoterms_ID as po_c_in77_188_, businesspa0_.EM_Einv_Format_Id as em_einv78_188_, businesspa0_.SO_C_Incoterms_ID as so_c_in79_188_, businesspa0_.EM_Einv_Platform_Id as em_einv80_188_, businesspa0_.FIN_Paymentmethod_ID as fin_pay81_188_, businesspa0_.EM_Einv_Email as em_einv82_188_, businesspa0_.PO_Paymentmethod_ID as po_paym83_188_, businesspa0_.FIN_Financial_Account_ID as fin_fin84_188_, businesspa0_.EM_Einv_Deliverymode as em_einv85_188_, businesspa0_.PO_Financial_Account_ID as po_fina86_188_, businesspa0_.Customer_Blocking as custome87_188_, businesspa0_.Vendor_Blocking as vendor_88_188_, businesspa0_.SO_Payment_Blocking as so_paym89_188_, businesspa0_.PO_Payment_Blocking as po_paym90_188_, businesspa0_.SO_Invoice_Blocking as so_invo91_188_, businesspa0_.PO_Invoice_Blocking as po_invo92_188_, businesspa0_.SO_Order_Blocking as so_orde93_188_, businesspa0_.PO_Order_Blocking as po_orde94_188_, businesspa0_.SO_Goods_Blocking as so_good95_188_, businesspa0_.PO_Goods_Blocking as po_good96_188_, businesspa0_.Iscashvat as iscashv97_188_, businesspa0_.Update_Currency as update_98_188_, businesspa0_.BP_Currency_ID as bp_curr99_188_, businesspa0_.Birthplace as birthp100_188_, businesspa0_.Birthday as birthd101_188_, businesspa0_.Is_Customer_Consent as is_cus102_188_, businesspa0_.EM_Obsepad_Mandate_Identifier as em_obs103_188_, businesspa0_.EM_Obsepad_Mandate_Date as em_obs104_188_, businesspa0_.EM_Aeatsii_Rep_Taxid as em_aea105_188_, businesspa0_.EM_Jr_Inoutval as em_jr_106_188_, businesspa0_.EM_Aeatsii_Menor as em_aea107_188_, businesspa0_.EM_Jr_Isgeneric as em_jr_108_188_, businesspa0_.EM_Pruti_Addbp as em_pru109_188_, businesspa0_.EM_Prei_Iseinvoice as em_pre110_188_, businesspa0_.EM_Prei_Format_ID as em_pre111_188_, businesspa0_.EM_Pruti_Unlock_Date as em_pru112_188_, businesspa0_.EM_Prei_Platform_ID as em_pre113_188_, businesspa0_.EM_Pruti_Unlock_Order_Date as em_pru114_188_, businesspa0_.EM_Prei_Send_Method as em_pre115_188_, businesspa0_.EM_Pruti_Annexes_Bp_So_ID as em_pru116_188_, businesspa0_.EM_Prei_Email as em_pre117_188_, businesspa0_.EM_Pruti_Annexes_Bp_Po_ID as em_pru118_188_, businesspa0_.EM_Prei_Need_Expedient as em_pre119_188_, businesspa0_.EM_Aeatsii_Defaultsiikey as em_aea120_188_, businesspa0_.EM_Aeatsii_Siikeylist as em_aea121_188_, businesspa0_.EM_Tbai_Issimplifiedinv as em_tba122_188_, businesspa0_.em_pruti_cus_block_reason_id as em_pru123_188_, businesspa0_.EM_Pruti_Notsendinvoice as em_pru124_188_, businesspa0_.EM_OBTIK_Tax_ID_Key as em_obt125_188_ from C_BPartner businesspa0_ where (upper((businesspa0_.Name || ' - ' || coalesce(to_char(businesspa0_.Name2), '') || ' - ' || coalesce(to_char(businesspa0_.TaxID), ''))) like upper('%c%') escape '|') and (exists ( select 1 from C_Order order1_ inner join C_BPartner businesspa2_ on order1_.C_BPartner_ID = businesspa2_.C_BPartner_ID cross join C_Order order_comp3_ cross join C_DocType documentty4_ where order1_.C_Order_ID = order_comp3_.C_Order_ID and order1_.C_DocTypeTarget_ID = documentty4_.C_DocType_ID and (coalesce(( select case when sum(abs(ol.qtyordered)) = 0 or order_comp3_.iscancelled = 'Y' or order_comp3_.cancelledorder_id is not null then 0 else round(coalesce(sum(abs(ol.qtyinvoiced)), 0) / sum(abs(ol.qtyordered)) * 100, 0) end from c_orderline ol where ol.c_order_id = order_comp3_.c_order_id and ol.c_order_discount_id is null), 0)) = '0' and order1_.IsSOTrx = 'Y' and documentty4_.IsReturn = 'N' and (documentty4_.DocSubTypeSO not like 'OB') and businesspa2_.C_BPartner_ID = businesspa0_.C_BPartner_ID and (order1_.AD_Org_ID in ('0', 'C34A537D1464452783C0A7C7C913FC86', '4A2127624482427B8B0BE0DD8ABF92D4', '3724B485FEC444038C28CAEE0F24E7E6', 'B2834B32C6C2488CA31DE4D756AD4A5F')) and (order1_.AD_Client_ID in ('4E7785E633254999A6D7545B0BE57A46', '0')))) order by businesspa0_.Name, businesspa0_.Name2, businesspa0_.TaxID limit '76';
Date: 2026-07-13 12:23:58 Duration: 3s903ms Database: etendo User: tad Remote: 127.0.0.1 Application: openbravo Bind query: yes
10 1 3s210ms 3s210ms 3s210ms 3s210ms select productbyp0_.m_product_price_warehouse_v_id as m_produc1_496_, productbyp0_.ad_client_id as ad_clien2_496_, productbyp0_.ad_org_id as ad_org_i3_496_, productbyp0_.isactive as isactive4_496_, productbyp0_.updated as updated5_496_, productbyp0_.updatedby as updatedb6_496_, productbyp0_.created as created7_496_, productbyp0_.createdby as createdb8_496_, productbyp0_.m_product_id as m_produc9_496_, productbyp0_.m_warehouse_id as m_wareh10_496_, productbyp0_.m_productprice_id as m_produ11_496_, productbyp0_.qty_available as qty_ava12_496_, productbyp0_.qty_onhand as qty_onh13_496_, productbyp0_.qty_reserved as qty_res14_496_, productbyp0_.qty_ordered as qty_ord15_496_, productbyp0_.pricelist as priceli16_496_, productbyp0_.pricestd as pricest17_496_, productbyp0_.pricelimit as priceli18_496_, productbyp0_.orgwarehouse as orgware19_496_ from m_product_price_warehouse_v productbyp0_ inner join m_product product1_ on productbyp0_.m_product_id = product1_.m_product_id cross join m_productprice pricingpro2_ cross join m_pricelist_version pricingpri3_ cross join m_pricelist pricingpri7_ where productbyp0_.m_productprice_id = pricingpro2_.m_productprice_id and pricingpro2_.m_pricelist_version_id = pricingpri3_.m_pricelist_version_id and pricingpri3_.m_pricelist_id = pricingpri7_.m_pricelist_id and (productbyp0_.ad_org_id in (...)) and productbyp0_.isactive = ? and ad_org_isinnaturaltree (productbyp0_.orgwarehouse, ?, ?) = ? and pricingpri3_.isactive = ? and ad_org_isinnaturaltree (pricingpro2_.ad_org_id, ?, ?) = ? and pricingpri7_.issopricelist = ? and pricingpri7_.c_currency_id = ? and (productbyp0_.ad_client_id in (...)) and productbyp0_.isactive = ? order by product1_.name, product1_.m_product_id limit ?;Times Reported Time consuming queries #10
Day Hour Count Duration Avg duration Jul 13 17 1 3s210ms 3s210ms [ User: tad - Total duration: 3s210ms - Times executed: 1 ]
[ Application: openbravo - Total duration: 3s210ms - Times executed: 1 ]
-
select productbyp0_.M_Product_Price_Warehouse_V_ID as m_produc1_496_, productbyp0_.AD_Client_ID as ad_clien2_496_, productbyp0_.AD_Org_ID as ad_org_i3_496_, productbyp0_.Isactive as isactive4_496_, productbyp0_.Updated as updated5_496_, productbyp0_.Updatedby as updatedb6_496_, productbyp0_.Created as created7_496_, productbyp0_.Createdby as createdb8_496_, productbyp0_.M_Product_ID as m_produc9_496_, productbyp0_.M_Warehouse_ID as m_wareh10_496_, productbyp0_.M_Productprice_ID as m_produ11_496_, productbyp0_.QTY_Available as qty_ava12_496_, productbyp0_.QTY_Onhand as qty_onh13_496_, productbyp0_.QTY_Reserved as qty_res14_496_, productbyp0_.QTY_Ordered as qty_ord15_496_, productbyp0_.Pricelist as priceli16_496_, productbyp0_.Pricestd as pricest17_496_, productbyp0_.Pricelimit as priceli18_496_, productbyp0_.Orgwarehouse as orgware19_496_ from M_Product_Price_Warehouse_v productbyp0_ inner join M_Product product1_ on productbyp0_.M_Product_ID = product1_.M_Product_ID cross join M_ProductPrice pricingpro2_ cross join M_PriceList_Version pricingpri3_ cross join M_PriceList pricingpri7_ where productbyp0_.M_Productprice_ID = pricingpro2_.M_ProductPrice_ID and pricingpro2_.M_PriceList_Version_ID = pricingpri3_.M_PriceList_Version_ID and pricingpri3_.M_PriceList_ID = pricingpri7_.M_PriceList_ID and (productbyp0_.AD_Org_ID in ('0', 'C34A537D1464452783C0A7C7C913FC86', '4A2127624482427B8B0BE0DD8ABF92D4', '3724B485FEC444038C28CAEE0F24E7E6', 'B2834B32C6C2488CA31DE4D756AD4A5F')) and productbyp0_.Isactive = 'Y' and AD_ORG_ISINNATURALTREE (productbyp0_.Orgwarehouse, 'B2834B32C6C2488CA31DE4D756AD4A5F', '4E7785E633254999A6D7545B0BE57A46') = 'Y' and pricingpri3_.IsActive = 'Y' and AD_ORG_ISINNATURALTREE (pricingpro2_.AD_Org_ID, 'B2834B32C6C2488CA31DE4D756AD4A5F', '4E7785E633254999A6D7545B0BE57A46') = 'Y' and pricingpri7_.IsSOPriceList = 'Y' and pricingpri7_.C_Currency_ID = '102' and (productbyp0_.AD_Client_ID in ('4E7785E633254999A6D7545B0BE57A46', '0')) and productbyp0_.Isactive = 'Y' order by product1_.Name, product1_.M_Product_ID limit '76';
Date: 2026-07-13 17:49:47 Duration: 3s210ms Database: etendo User: tad Remote: 127.0.0.1 Application: openbravo Bind query: yes
11 1 1s122ms 1s122ms 1s122ms 1s122ms select string_agg(distinct prac_checkacct_config (ca.c_acctschema_id, ca."name"), ?) from c_acctschema ca where ? = ?;Times Reported Time consuming queries #11
Day Hour Count Duration Avg duration Jul 13 07 1 1s122ms 1s122ms [ User: postgres - Total duration: 1s122ms - Times executed: 1 ]
[ Application: psql - Total duration: 1s122ms - 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: 1s122ms Database: etendo User: postgres Remote: [local] Application: psql
12 1 1s104ms 1s104ms 1s104ms 1s104ms select materialmg0_.m_inoutline_id as col_0_0_, materialmg0_.movementqty - coalesce(sum(invoicelin5_.qtyinvoiced), ?) as col_1_0_, ( select uom6_.name from c_uom uom6_ where uom6_.c_uom_id = materialmg0_.c_uom_id) as col_2_0_, ( select product7_.name from m_product product7_ where product7_.m_product_id = materialmg0_.m_product_id) as col_3_0_, materialmg0_.line as col_4_0_, materialmg0_.created as col_5_0_, aduser8_.name as col_6_0_, materialmg0_.updated as col_7_0_, aduser9_.name as col_8_0_, ? as col_9_0_, ? as col_10_0_, materialmg0_.quantityorder * (materialmg0_.movementqty - coalesce(invoicelin5_.qtyinvoiced, ?)) / ( case when materialmg0_.movementqty <> ? then materialmg0_.movementqty else null end) as col_11_0_, materialmg1_.movementdate as col_12_0_, ( select warehouse10_.name from m_warehouse warehouse10_ where warehouse10_.m_warehouse_id = materialmg1_.m_warehouse_id) as col_13_0_, materialmg1_.documentno as col_14_0_, ( select locator11_.value from m_locator locator11_ where locator11_.m_locator_id = materialmg0_.m_locator_id) as col_15_0_, materialmg1_.poreference as col_16_0_ from m_inoutline materialmg0_ inner join m_inout materialmg1_ on materialmg0_.m_inout_id = materialmg1_.m_inout_id left outer join c_orderline orderline2_ on materialmg0_.c_orderline_id = orderline2_.c_orderline_id left outer join c_order order3_ on orderline2_.c_order_id = order3_.c_order_id left outer join m_matchinv procuremen4_ on materialmg0_.m_inoutline_id = procuremen4_.m_inoutline_id left outer join c_invoiceline invoicelin5_ on procuremen4_.c_invoiceline_id = invoicelin5_.c_invoiceline_id cross join ad_user aduser8_ cross join ad_user aduser9_ where materialmg0_.createdby = aduser8_.ad_user_id and materialmg0_.updatedby = aduser9_.ad_user_id and (materialmg1_.ad_client_id in (...)) and (materialmg0_.ad_org_id in (...)) and materialmg1_.movementdate >= now() ? and materialmg1_.issotrx = ? and (materialmg1_.docstatus in (...)) and materialmg1_.processed = ? and materialmg1_.islogistic <> ? and materialmg1_.c_bpartner_id = ? and (orderline2_.c_orderline_id is null or order3_.istaxincluded = ?) and (order3_.c_order_id is null or order3_.c_currency_id = ?) group by materialmg1_.poreference, materialmg1_.m_inout_id, materialmg1_.documentno, materialmg1_.movementdate, materialmg0_.movementqty, materialmg0_.c_uom_id, materialmg0_.m_product_id, materialmg0_.m_inoutline_id, materialmg0_.line, orderline2_.c_orderline_id, coalesce(materialmg0_.a_asset_id, materialmg1_.a_asset_id), coalesce(materialmg0_.c_project_id, materialmg1_.c_project_id), coalesce(materialmg0_.c_costcenter_id, materialmg1_.c_costcenter_id), coalesce(materialmg0_.user1_id, materialmg1_.user1_id), coalesce(materialmg0_.user2_id, materialmg1_.user2_id), materialmg0_.explode, materialmg0_.bom_parent_id, materialmg0_.created, aduser8_.name, materialmg0_.updated, aduser9_.name, materialmg0_.c_aum, materialmg0_.aumqty, materialmg1_.c_doctype_id, orderline2_.c_orderline_id, order3_.c_order_id, order3_.m_pricelist_id, materialmg1_.m_warehouse_id, materialmg0_.m_locator_id, materialmg0_.quantityorder * (materialmg0_.movementqty - coalesce(invoicelin5_.qtyinvoiced, ?)) / ( case when materialmg0_.movementqty <> ? then materialmg0_.movementqty else null end) having materialmg0_.movementqty - sum(coalesce(invoicelin5_.qtyinvoiced, ?)) <> ? or materialmg0_.explode = ? order by materialmg1_.documentno desc, materialmg0_.line asc limit ?;Times Reported Time consuming queries #12
Day Hour Count Duration Avg duration Jul 13 07 1 1s104ms 1s104ms [ User: tad - Total duration: 1s104ms - Times executed: 1 ]
[ Application: openbravo - Total duration: 1s104ms - Times executed: 1 ]
-
select materialmg0_.M_InOutLine_ID as col_0_0_, materialmg0_.MovementQty - coalesce(sum(invoicelin5_.QtyInvoiced), 0) as col_1_0_, ( select uom6_.Name from C_UOM uom6_ where uom6_.C_UOM_ID = materialmg0_.C_UOM_ID) as col_2_0_, ( select product7_.Name from M_Product product7_ where product7_.M_Product_ID = materialmg0_.M_Product_ID) as col_3_0_, materialmg0_.Line as col_4_0_, materialmg0_.Created as col_5_0_, aduser8_.Name as col_6_0_, materialmg0_.Updated as col_7_0_, aduser9_.Name as col_8_0_, '' as col_9_0_, '' as col_10_0_, materialmg0_.QuantityOrder * (materialmg0_.MovementQty - coalesce(invoicelin5_.QtyInvoiced, 0)) / ( case when materialmg0_.MovementQty <> 0 then materialmg0_.MovementQty else null end) as col_11_0_, materialmg1_.MovementDate as col_12_0_, ( select warehouse10_.Name from M_Warehouse warehouse10_ where warehouse10_.M_Warehouse_ID = materialmg1_.M_Warehouse_ID) as col_13_0_, materialmg1_.DocumentNo as col_14_0_, ( select locator11_.Value from M_Locator locator11_ where locator11_.M_Locator_ID = materialmg0_.M_Locator_ID) as col_15_0_, materialmg1_.POReference as col_16_0_ from M_InOutLine materialmg0_ inner join M_InOut materialmg1_ on materialmg0_.M_InOut_ID = materialmg1_.M_InOut_ID left outer join C_OrderLine orderline2_ on materialmg0_.C_OrderLine_ID = orderline2_.C_OrderLine_ID left outer join C_Order order3_ on orderline2_.C_Order_ID = order3_.C_Order_ID left outer join M_MatchInv procuremen4_ on materialmg0_.M_InOutLine_ID = procuremen4_.M_InOutLine_ID left outer join C_InvoiceLine invoicelin5_ on procuremen4_.C_InvoiceLine_ID = invoicelin5_.C_InvoiceLine_ID cross join AD_User aduser8_ cross join AD_User aduser9_ where materialmg0_.CreatedBy = aduser8_.AD_User_ID and materialmg0_.UpdatedBy = aduser9_.AD_User_ID and (materialmg1_.AD_Client_ID in ('0', '4E7785E633254999A6D7545B0BE57A46')) and (materialmg0_.AD_Org_ID in ('0', 'C34A537D1464452783C0A7C7C913FC86', '4A2127624482427B8B0BE0DD8ABF92D4', '3724B485FEC444038C28CAEE0F24E7E6', 'B2834B32C6C2488CA31DE4D756AD4A5F')) and materialmg1_.MovementDate >= now() - 365 and materialmg1_.IsSOTrx = 'N' and (materialmg1_.DocStatus in ('CO', 'CL')) and materialmg1_.Processed = 'Y' and materialmg1_.Islogistic <> 'Y' and materialmg1_.C_BPartner_ID = '1009780' and (orderline2_.C_OrderLine_ID is null or order3_.IsTaxIncluded = 'N') and (order3_.C_Order_ID is null or order3_.C_Currency_ID = '102') group by materialmg1_.POReference, materialmg1_.M_InOut_ID, materialmg1_.DocumentNo, materialmg1_.MovementDate, materialmg0_.MovementQty, materialmg0_.C_UOM_ID, materialmg0_.M_Product_ID, materialmg0_.M_InOutLine_ID, materialmg0_.Line, orderline2_.C_OrderLine_ID, coalesce(materialmg0_.A_Asset_ID, materialmg1_.A_Asset_ID), coalesce(materialmg0_.C_Project_ID, materialmg1_.C_Project_ID), coalesce(materialmg0_.C_Costcenter_ID, materialmg1_.C_Costcenter_ID), coalesce(materialmg0_.User1_ID, materialmg1_.User1_ID), coalesce(materialmg0_.User2_ID, materialmg1_.User2_ID), materialmg0_.Explode, materialmg0_.BOM_Parent_ID, materialmg0_.Created, aduser8_.Name, materialmg0_.Updated, aduser9_.Name, materialmg0_.C_Aum, materialmg0_.Aumqty, materialmg1_.C_DocType_ID, orderline2_.C_OrderLine_ID, order3_.C_Order_ID, order3_.M_PriceList_ID, materialmg1_.M_Warehouse_ID, materialmg0_.M_Locator_ID, materialmg0_.QuantityOrder * (materialmg0_.MovementQty - coalesce(invoicelin5_.QtyInvoiced, 0)) / ( case when materialmg0_.MovementQty <> 0 then materialmg0_.MovementQty else null end) having materialmg0_.MovementQty - sum(coalesce(invoicelin5_.QtyInvoiced, 0)) <> 0 or materialmg0_.Explode = 'Y' order by materialmg1_.DocumentNo desc, materialmg0_.Line asc limit '101';
Date: 2026-07-13 07:29:57 Duration: 1s104ms Database: etendo User: tad Remote: 127.0.0.1 Application: openbravo Bind query: yes
13 1 1s3ms 1s3ms 1s3ms 1s3ms select * from ( select c_invoice_id as referencekey_id, ? as ad_role_id, null as ad_user_id, ? as description, ? as isactive, c_invoice.ad_org_id as ad_org_id, c_invoice.ad_client_id as ad_client_id, now() as created, ? as createdby, now() as updated, ? as updatedby, ad_column_identifier (?, c_invoice_id, ?) as record_id, posted from c_invoice, c_doctype where c_invoice.c_doctype_id = c_doctype.c_doctype_id and c_doctype.docbasetype in (...) and not exists ( select ? from c_period where c_period.startdate <= trunc(dateacct) and trunc(dateacct) <= c_period.enddate) group by c_invoice_id, posted, c_invoice.ad_org_id, c_invoice.ad_client_id) 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 #13
Day Hour Count Duration Avg duration Jul 13 10 1 1s3ms 1s3ms [ User: tad - Total duration: 1s3ms - Times executed: 1 ]
[ Application: openbravo - Total duration: 1s3ms - Times executed: 1 ]
-
SELECT * FROM ( select C_INVOICE_id as referencekey_id, '0' as ad_role_id, null as ad_user_id, 'SALES INVOICE ACCOUNTING DATE NOT IN A PERIOD' as description, 'Y' as isActive, C_INVOICE.ad_org_id as ad_org_id, C_INVOICE.ad_client_id as 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, posted FROM C_INVOICE, c_doctype WHERE C_INVOICE.c_doctype_id = c_doctype.c_doctype_id and c_doctype.docbasetype IN ('ARI', 'ARC', 'ARF') and not exists ( select 1 from c_period where c_period.startdate <= TRUNC(dateacct) and TRUNC(dateacct) <= c_period.enddate) GROUP BY C_INVOICE_id, posted, C_INVOICE.ad_org_id, C_INVOICE.ad_client_id) AAA where not exists ( select 1 from ad_alert a where a.ad_alertrule_id = '9949239808164E51ADF2E6B1E8DF6D63' and a.referencekey_id = aaa.referencekey_id and coalesce(a.status, 'NEW') != 'SOLVED');
Date: 2026-07-13 10:00:01 Duration: 1s3ms Database: etendo User: tad Remote: 127.0.0.1 Application: openbravo Bind query: yes
Normalized slowest queries (N)
Rank Min duration Max duration Avg duration Times executed Total duration Query 1 8s479ms 54s191ms 22s549ms 15 5m38s select profile.take_sample ();Times Reported Time consuming queries #1
Day Hour Count Duration Avg duration Jul 13 07 1 11s261ms 11s261ms 08 1 13s762ms 13s762ms 09 1 45s53ms 45s53ms 10 1 13s947ms 13s947ms 11 1 54s191ms 54s191ms 12 1 14s250ms 14s250ms 13 1 46s983ms 46s983ms 14 1 14s499ms 14s499ms 15 1 15s146ms 15s146ms 16 1 15s84ms 15s84ms 17 1 45s833ms 45s833ms 18 1 13s411ms 13s411ms 19 1 15s142ms 15s142ms 20 1 11s199ms 11s199ms 21 1 8s479ms 8s479ms [ User: postgres - Total duration: 5m38s - Times executed: 15 ]
[ Application: psql - Total duration: 5m38s - Times executed: 15 ]
-
SELECT profile.take_sample ();
Date: 2026-07-13 11:00:55 Duration: 54s191ms Database: etendo User: postgres Remote: [local] Application: psql
-
SELECT profile.take_sample ();
Date: 2026-07-13 13:00:48 Duration: 46s983ms Database: etendo User: postgres Remote: [local] Application: psql
-
SELECT profile.take_sample ();
Date: 2026-07-13 17:00:47 Duration: 45s833ms Database: etendo User: postgres Remote: [local] Application: psql
2 8s656ms 14s285ms 12s100ms 15 3m1s select * from ( select c_invoice_id as referencekey_id, ? as ad_role_id, null as ad_user_id, ? as description, ? as isactive, c_invoice.ad_org_id as ad_org_id, c_invoice.ad_client_id as 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, c_doctype, fact_acct f1, fact_acct f2 where c_invoice.c_doctype_id = c_doctype.c_doctype_id and c_doctype.docbasetype in (...) and f1.record_id = c_invoice.c_invoice_id and f1.record_id = f2.record_id and f1.ad_table_id = f2.ad_table_id and f1.fact_acct_group_id <> f2.fact_acct_group_id and f1.c_acctschema_id = f2.c_acctschema_id group by c_invoice_id, posted, c_invoice.ad_client_id, c_invoice.ad_org_id, f1.ad_table_id, f1.record_id) 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 #2
Day Hour Count Duration Avg duration Jul 13 07 1 9s324ms 9s324ms 08 1 12s786ms 12s786ms 09 1 12s706ms 12s706ms 10 1 8s656ms 8s656ms 11 1 10s972ms 10s972ms 12 1 13s539ms 13s539ms 13 1 12s573ms 12s573ms 14 1 13s15ms 13s15ms 15 1 13s348ms 13s348ms 16 1 14s285ms 14s285ms 17 1 13s773ms 13s773ms 18 1 11s785ms 11s785ms 19 1 14s107ms 14s107ms 20 1 11s555ms 11s555ms 21 1 9s76ms 9s76ms [ User: tad - Total duration: 3m1s - Times executed: 15 ]
[ Application: openbravo - Total duration: 3m1s - Times executed: 15 ]
-
SELECT * FROM ( select C_INVOICE_id as referencekey_id, '0' as ad_role_id, null as ad_user_id, 'SALES INVOICE POSTED MORE THAN ONCE' as description, 'Y' as isActive, C_INVOICE.ad_org_id as ad_org_id, C_INVOICE.ad_client_id as 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, c_doctype, fact_acct f1, fact_acct f2 WHERE C_INVOICE.c_doctype_id = c_doctype.c_doctype_id and c_doctype.docbasetype IN ('ARI', 'ARC', 'ARF') and f1.record_id = c_invoice.c_invoice_id and f1.record_id = f2.record_id and f1.ad_table_id = f2.ad_table_id and f1.fact_acct_group_id <> f2.fact_acct_group_id and f1.c_acctschema_id = f2.c_acctschema_id GROUP BY C_INVOICE_id, posted, C_INVOICE.ad_client_id, C_INVOICE.ad_org_id, f1.ad_table_id, f1.record_id) AAA where not exists ( select 1 from ad_alert a where a.ad_alertrule_id = '67AC26DEBEC1455D9510182FB973BC34' and a.referencekey_id = aaa.referencekey_id and coalesce(a.status, 'NEW') != 'SOLVED');
Date: 2026-07-13 16:00:15 Duration: 14s285ms 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, 'SALES INVOICE POSTED MORE THAN ONCE' as description, 'Y' as isActive, C_INVOICE.ad_org_id as ad_org_id, C_INVOICE.ad_client_id as 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, c_doctype, fact_acct f1, fact_acct f2 WHERE C_INVOICE.c_doctype_id = c_doctype.c_doctype_id and c_doctype.docbasetype IN ('ARI', 'ARC', 'ARF') and f1.record_id = c_invoice.c_invoice_id and f1.record_id = f2.record_id and f1.ad_table_id = f2.ad_table_id and f1.fact_acct_group_id <> f2.fact_acct_group_id and f1.c_acctschema_id = f2.c_acctschema_id GROUP BY C_INVOICE_id, posted, C_INVOICE.ad_client_id, C_INVOICE.ad_org_id, f1.ad_table_id, f1.record_id) AAA where not exists ( select 1 from ad_alert a where a.ad_alertrule_id = '67AC26DEBEC1455D9510182FB973BC34' and a.referencekey_id = aaa.referencekey_id and coalesce(a.status, 'NEW') != 'SOLVED');
Date: 2026-07-13 19:00:15 Duration: 14s107ms 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, 'SALES INVOICE POSTED MORE THAN ONCE' as description, 'Y' as isActive, C_INVOICE.ad_org_id as ad_org_id, C_INVOICE.ad_client_id as 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, c_doctype, fact_acct f1, fact_acct f2 WHERE C_INVOICE.c_doctype_id = c_doctype.c_doctype_id and c_doctype.docbasetype IN ('ARI', 'ARC', 'ARF') and f1.record_id = c_invoice.c_invoice_id and f1.record_id = f2.record_id and f1.ad_table_id = f2.ad_table_id and f1.fact_acct_group_id <> f2.fact_acct_group_id and f1.c_acctschema_id = f2.c_acctschema_id GROUP BY C_INVOICE_id, posted, C_INVOICE.ad_client_id, C_INVOICE.ad_org_id, f1.ad_table_id, f1.record_id) AAA where not exists ( select 1 from ad_alert a where a.ad_alertrule_id = '67AC26DEBEC1455D9510182FB973BC34' and a.referencekey_id = aaa.referencekey_id and coalesce(a.status, 'NEW') != 'SOLVED');
Date: 2026-07-13 17:00:14 Duration: 13s773ms Database: etendo User: tad Remote: 127.0.0.1 Application: openbravo Bind query: yes
3 3s903ms 3s903ms 3s903ms 1 3s903ms select businesspa0_.c_bpartner_id as c_bpartn1_188_, businesspa0_.ad_client_id as ad_clien2_188_, businesspa0_.ad_org_id as ad_org_i3_188_, businesspa0_.isactive as isactive4_188_, businesspa0_.created as created5_188_, businesspa0_.createdby as createdb6_188_, businesspa0_.updated as updated7_188_, businesspa0_.updatedby as updatedb8_188_, businesspa0_.value as value9_188_, businesspa0_.name as name10_188_, businesspa0_.name2 as name11_188_, businesspa0_.description as descrip12_188_, businesspa0_.issummary as issumma13_188_, businesspa0_.c_bp_group_id as c_bp_gr14_188_, businesspa0_.isonetime as isoneti15_188_, businesspa0_.isprospect as isprosp16_188_, businesspa0_.isvendor as isvendo17_188_, businesspa0_.iscustomer as iscusto18_188_, businesspa0_.isemployee as isemplo19_188_, businesspa0_.issalesrep as issales20_188_, businesspa0_.referenceno as referen21_188_, businesspa0_.duns as duns22_188_, businesspa0_.url as url23_188_, businesspa0_.ad_language as ad_lang24_188_, businesspa0_.taxid as taxid25_188_, businesspa0_.istaxexempt as istaxex26_188_, businesspa0_.c_invoiceschedule_id as c_invoi27_188_, businesspa0_.rating as rating28_188_, businesspa0_.salesvolume as salesvo29_188_, businesspa0_.numberemployees as numbere30_188_, businesspa0_.naics as naics31_188_, businesspa0_.firstsale as firstsa32_188_, businesspa0_.acqusitioncost as acqusit33_188_, businesspa0_.potentiallifetimevalue as potenti34_188_, businesspa0_.actuallifetimevalue as actuall35_188_, businesspa0_.shareofcustomer as shareof36_188_, businesspa0_.paymentrule as payment37_188_, businesspa0_.so_creditlimit as so_cred38_188_, businesspa0_.so_creditused as so_cred39_188_, businesspa0_.c_paymentterm_id as c_payme40_188_, businesspa0_.m_pricelist_id as m_price41_188_, businesspa0_.isdiscountprinted as isdisco42_188_, businesspa0_.so_description as so_desc43_188_, businesspa0_.poreference as porefer44_188_, businesspa0_.paymentrulepo as payment45_188_, businesspa0_.po_pricelist_id as po_pric46_188_, businesspa0_.po_paymentterm_id as po_paym47_188_, businesspa0_.documentcopies as documen48_188_, businesspa0_.c_greeting_id as c_greet49_188_, businesspa0_.invoicerule as invoice50_188_, businesspa0_.deliveryrule as deliver51_188_, businesspa0_.deliveryviarule as deliver52_188_, businesspa0_.salesrep_id as salesre53_188_, businesspa0_.bpartner_parent_id as bpartne54_188_, businesspa0_.socreditstatus as socredi55_188_, businesspa0_.ad_forced_org_id as ad_forc56_188_, businesspa0_.showpriceinorder as showpri57_188_, businesspa0_.invoicegrouping as invoice58_188_, businesspa0_.fixmonthday as fixmont59_188_, businesspa0_.fixmonthday2 as fixmont60_188_, businesspa0_.fixmonthday3 as fixmont61_188_, businesspa0_.isworker as isworke62_188_, businesspa0_.upc as upc63_188_, businesspa0_.c_salary_category_id as c_salar64_188_, businesspa0_.invoice_printformat as invoice65_188_, businesspa0_.last_days as last_da66_188_, businesspa0_.po_bankaccount_id as po_bank67_188_, businesspa0_.po_bp_taxcategory_id as po_bp_t68_188_, businesspa0_.po_fixmonthday as po_fixm69_188_, businesspa0_.po_fixmonthday2 as po_fixm70_188_, businesspa0_.po_fixmonthday3 as po_fixm71_188_, businesspa0_.so_bankaccount_id as so_bank72_188_, businesspa0_.so_bp_taxcategory_id as so_bp_t73_188_, businesspa0_.fiscalcode as fiscalc74_188_, businesspa0_.isofiscalcode as isofisc75_188_, businesspa0_.em_einv_einvoice as em_einv76_188_, businesspa0_.po_c_incoterms_id as po_c_in77_188_, businesspa0_.em_einv_format_id as em_einv78_188_, businesspa0_.so_c_incoterms_id as so_c_in79_188_, businesspa0_.em_einv_platform_id as em_einv80_188_, businesspa0_.fin_paymentmethod_id as fin_pay81_188_, businesspa0_.em_einv_email as em_einv82_188_, businesspa0_.po_paymentmethod_id as po_paym83_188_, businesspa0_.fin_financial_account_id as fin_fin84_188_, businesspa0_.em_einv_deliverymode as em_einv85_188_, businesspa0_.po_financial_account_id as po_fina86_188_, businesspa0_.customer_blocking as custome87_188_, businesspa0_.vendor_blocking as vendor_88_188_, businesspa0_.so_payment_blocking as so_paym89_188_, businesspa0_.po_payment_blocking as po_paym90_188_, businesspa0_.so_invoice_blocking as so_invo91_188_, businesspa0_.po_invoice_blocking as po_invo92_188_, businesspa0_.so_order_blocking as so_orde93_188_, businesspa0_.po_order_blocking as po_orde94_188_, businesspa0_.so_goods_blocking as so_good95_188_, businesspa0_.po_goods_blocking as po_good96_188_, businesspa0_.iscashvat as iscashv97_188_, businesspa0_.update_currency as update_98_188_, businesspa0_.bp_currency_id as bp_curr99_188_, businesspa0_.birthplace as birthp100_188_, businesspa0_.birthday as birthd101_188_, businesspa0_.is_customer_consent as is_cus102_188_, businesspa0_.em_obsepad_mandate_identifier as em_obs103_188_, businesspa0_.em_obsepad_mandate_date as em_obs104_188_, businesspa0_.em_aeatsii_rep_taxid as em_aea105_188_, businesspa0_.em_jr_inoutval as em_jr_106_188_, businesspa0_.em_aeatsii_menor as em_aea107_188_, businesspa0_.em_jr_isgeneric as em_jr_108_188_, businesspa0_.em_pruti_addbp as em_pru109_188_, businesspa0_.em_prei_iseinvoice as em_pre110_188_, businesspa0_.em_prei_format_id as em_pre111_188_, businesspa0_.em_pruti_unlock_date as em_pru112_188_, businesspa0_.em_prei_platform_id as em_pre113_188_, businesspa0_.em_pruti_unlock_order_date as em_pru114_188_, businesspa0_.em_prei_send_method as em_pre115_188_, businesspa0_.em_pruti_annexes_bp_so_id as em_pru116_188_, businesspa0_.em_prei_email as em_pre117_188_, businesspa0_.em_pruti_annexes_bp_po_id as em_pru118_188_, businesspa0_.em_prei_need_expedient as em_pre119_188_, businesspa0_.em_aeatsii_defaultsiikey as em_aea120_188_, businesspa0_.em_aeatsii_siikeylist as em_aea121_188_, businesspa0_.em_tbai_issimplifiedinv as em_tba122_188_, businesspa0_.em_pruti_cus_block_reason_id as em_pru123_188_, businesspa0_.em_pruti_notsendinvoice as em_pru124_188_, businesspa0_.em_obtik_tax_id_key as em_obt125_188_ from c_bpartner businesspa0_ where (upper((businesspa0_.name || ?| | coalesce(to_char(businesspa0_.name2), ?) || ?| | coalesce(to_char(businesspa0_.taxid), ?))) like upper(?) escape ?) and (exists ( select ? from c_order order1_ inner join c_bpartner businesspa2_ on order1_.c_bpartner_id = businesspa2_.c_bpartner_id cross join c_order order_comp3_ cross join c_doctype documentty4_ where order1_.c_order_id = order_comp3_.c_order_id and order1_.c_doctypetarget_id = documentty4_.c_doctype_id and (coalesce(( select case when sum(abs(ol.qtyordered)) = ? or order_comp3_.iscancelled = ? or order_comp3_.cancelledorder_id is not null then ? else round(coalesce(sum(abs(ol.qtyinvoiced)), ?) / sum(abs(ol.qtyordered)) * ?, ?) end from c_orderline ol where ol.c_order_id = order_comp3_.c_order_id and ol.c_order_discount_id is null), ?)) = ? and order1_.issotrx = ? and documentty4_.isreturn = ? and (documentty4_.docsubtypeso not like ?) and businesspa2_.c_bpartner_id = businesspa0_.c_bpartner_id and (order1_.ad_org_id in (...)) and (order1_.ad_client_id in (...)))) order by businesspa0_.name, businesspa0_.name2, businesspa0_.taxid limit ?;Times Reported Time consuming queries #3
Day Hour Count Duration Avg duration Jul 13 12 1 3s903ms 3s903ms [ User: tad - Total duration: 3s903ms - Times executed: 1 ]
[ Application: openbravo - Total duration: 3s903ms - Times executed: 1 ]
-
select businesspa0_.C_BPartner_ID as c_bpartn1_188_, businesspa0_.AD_Client_ID as ad_clien2_188_, businesspa0_.AD_Org_ID as ad_org_i3_188_, businesspa0_.IsActive as isactive4_188_, businesspa0_.Created as created5_188_, businesspa0_.CreatedBy as createdb6_188_, businesspa0_.Updated as updated7_188_, businesspa0_.UpdatedBy as updatedb8_188_, businesspa0_.Value as value9_188_, businesspa0_.Name as name10_188_, businesspa0_.Name2 as name11_188_, businesspa0_.Description as descrip12_188_, businesspa0_.IsSummary as issumma13_188_, businesspa0_.C_BP_Group_ID as c_bp_gr14_188_, businesspa0_.IsOneTime as isoneti15_188_, businesspa0_.IsProspect as isprosp16_188_, businesspa0_.IsVendor as isvendo17_188_, businesspa0_.IsCustomer as iscusto18_188_, businesspa0_.IsEmployee as isemplo19_188_, businesspa0_.IsSalesRep as issales20_188_, businesspa0_.ReferenceNo as referen21_188_, businesspa0_.DUNS as duns22_188_, businesspa0_.URL as url23_188_, businesspa0_.AD_Language as ad_lang24_188_, businesspa0_.TaxID as taxid25_188_, businesspa0_.IsTaxExempt as istaxex26_188_, businesspa0_.C_InvoiceSchedule_ID as c_invoi27_188_, businesspa0_.Rating as rating28_188_, businesspa0_.SalesVolume as salesvo29_188_, businesspa0_.NumberEmployees as numbere30_188_, businesspa0_.NAICS as naics31_188_, businesspa0_.FirstSale as firstsa32_188_, businesspa0_.AcqusitionCost as acqusit33_188_, businesspa0_.PotentialLifeTimeValue as potenti34_188_, businesspa0_.ActualLifeTimeValue as actuall35_188_, businesspa0_.ShareOfCustomer as shareof36_188_, businesspa0_.PaymentRule as payment37_188_, businesspa0_.SO_CreditLimit as so_cred38_188_, businesspa0_.SO_CreditUsed as so_cred39_188_, businesspa0_.C_PaymentTerm_ID as c_payme40_188_, businesspa0_.M_PriceList_ID as m_price41_188_, businesspa0_.IsDiscountPrinted as isdisco42_188_, businesspa0_.SO_Description as so_desc43_188_, businesspa0_.POReference as porefer44_188_, businesspa0_.PaymentRulePO as payment45_188_, businesspa0_.PO_PriceList_ID as po_pric46_188_, businesspa0_.PO_PaymentTerm_ID as po_paym47_188_, businesspa0_.DocumentCopies as documen48_188_, businesspa0_.C_Greeting_ID as c_greet49_188_, businesspa0_.InvoiceRule as invoice50_188_, businesspa0_.DeliveryRule as deliver51_188_, businesspa0_.DeliveryViaRule as deliver52_188_, businesspa0_.SalesRep_ID as salesre53_188_, businesspa0_.BPartner_Parent_ID as bpartne54_188_, businesspa0_.SOCreditStatus as socredi55_188_, businesspa0_.AD_Forced_Org_ID as ad_forc56_188_, businesspa0_.ShowPriceInOrder as showpri57_188_, businesspa0_.Invoicegrouping as invoice58_188_, businesspa0_.FixMonthDay as fixmont59_188_, businesspa0_.FixMonthDay2 as fixmont60_188_, businesspa0_.Fixmonthday3 as fixmont61_188_, businesspa0_.Isworker as isworke62_188_, businesspa0_.UPC as upc63_188_, businesspa0_.C_Salary_Category_ID as c_salar64_188_, businesspa0_.Invoice_Printformat as invoice65_188_, businesspa0_.Last_Days as last_da66_188_, businesspa0_.PO_Bankaccount_ID as po_bank67_188_, businesspa0_.PO_BP_TaxCategory_ID as po_bp_t68_188_, businesspa0_.PO_Fixmonthday as po_fixm69_188_, businesspa0_.PO_Fixmonthday2 as po_fixm70_188_, businesspa0_.PO_Fixmonthday3 as po_fixm71_188_, businesspa0_.SO_Bankaccount_ID as so_bank72_188_, businesspa0_.SO_Bp_Taxcategory_ID as so_bp_t73_188_, businesspa0_.Fiscalcode as fiscalc74_188_, businesspa0_.Isofiscalcode as isofisc75_188_, businesspa0_.EM_Einv_Einvoice as em_einv76_188_, businesspa0_.PO_C_Incoterms_ID as po_c_in77_188_, businesspa0_.EM_Einv_Format_Id as em_einv78_188_, businesspa0_.SO_C_Incoterms_ID as so_c_in79_188_, businesspa0_.EM_Einv_Platform_Id as em_einv80_188_, businesspa0_.FIN_Paymentmethod_ID as fin_pay81_188_, businesspa0_.EM_Einv_Email as em_einv82_188_, businesspa0_.PO_Paymentmethod_ID as po_paym83_188_, businesspa0_.FIN_Financial_Account_ID as fin_fin84_188_, businesspa0_.EM_Einv_Deliverymode as em_einv85_188_, businesspa0_.PO_Financial_Account_ID as po_fina86_188_, businesspa0_.Customer_Blocking as custome87_188_, businesspa0_.Vendor_Blocking as vendor_88_188_, businesspa0_.SO_Payment_Blocking as so_paym89_188_, businesspa0_.PO_Payment_Blocking as po_paym90_188_, businesspa0_.SO_Invoice_Blocking as so_invo91_188_, businesspa0_.PO_Invoice_Blocking as po_invo92_188_, businesspa0_.SO_Order_Blocking as so_orde93_188_, businesspa0_.PO_Order_Blocking as po_orde94_188_, businesspa0_.SO_Goods_Blocking as so_good95_188_, businesspa0_.PO_Goods_Blocking as po_good96_188_, businesspa0_.Iscashvat as iscashv97_188_, businesspa0_.Update_Currency as update_98_188_, businesspa0_.BP_Currency_ID as bp_curr99_188_, businesspa0_.Birthplace as birthp100_188_, businesspa0_.Birthday as birthd101_188_, businesspa0_.Is_Customer_Consent as is_cus102_188_, businesspa0_.EM_Obsepad_Mandate_Identifier as em_obs103_188_, businesspa0_.EM_Obsepad_Mandate_Date as em_obs104_188_, businesspa0_.EM_Aeatsii_Rep_Taxid as em_aea105_188_, businesspa0_.EM_Jr_Inoutval as em_jr_106_188_, businesspa0_.EM_Aeatsii_Menor as em_aea107_188_, businesspa0_.EM_Jr_Isgeneric as em_jr_108_188_, businesspa0_.EM_Pruti_Addbp as em_pru109_188_, businesspa0_.EM_Prei_Iseinvoice as em_pre110_188_, businesspa0_.EM_Prei_Format_ID as em_pre111_188_, businesspa0_.EM_Pruti_Unlock_Date as em_pru112_188_, businesspa0_.EM_Prei_Platform_ID as em_pre113_188_, businesspa0_.EM_Pruti_Unlock_Order_Date as em_pru114_188_, businesspa0_.EM_Prei_Send_Method as em_pre115_188_, businesspa0_.EM_Pruti_Annexes_Bp_So_ID as em_pru116_188_, businesspa0_.EM_Prei_Email as em_pre117_188_, businesspa0_.EM_Pruti_Annexes_Bp_Po_ID as em_pru118_188_, businesspa0_.EM_Prei_Need_Expedient as em_pre119_188_, businesspa0_.EM_Aeatsii_Defaultsiikey as em_aea120_188_, businesspa0_.EM_Aeatsii_Siikeylist as em_aea121_188_, businesspa0_.EM_Tbai_Issimplifiedinv as em_tba122_188_, businesspa0_.em_pruti_cus_block_reason_id as em_pru123_188_, businesspa0_.EM_Pruti_Notsendinvoice as em_pru124_188_, businesspa0_.EM_OBTIK_Tax_ID_Key as em_obt125_188_ from C_BPartner businesspa0_ where (upper((businesspa0_.Name || ' - ' || coalesce(to_char(businesspa0_.Name2), '') || ' - ' || coalesce(to_char(businesspa0_.TaxID), ''))) like upper('%c%') escape '|') and (exists ( select 1 from C_Order order1_ inner join C_BPartner businesspa2_ on order1_.C_BPartner_ID = businesspa2_.C_BPartner_ID cross join C_Order order_comp3_ cross join C_DocType documentty4_ where order1_.C_Order_ID = order_comp3_.C_Order_ID and order1_.C_DocTypeTarget_ID = documentty4_.C_DocType_ID and (coalesce(( select case when sum(abs(ol.qtyordered)) = 0 or order_comp3_.iscancelled = 'Y' or order_comp3_.cancelledorder_id is not null then 0 else round(coalesce(sum(abs(ol.qtyinvoiced)), 0) / sum(abs(ol.qtyordered)) * 100, 0) end from c_orderline ol where ol.c_order_id = order_comp3_.c_order_id and ol.c_order_discount_id is null), 0)) = '0' and order1_.IsSOTrx = 'Y' and documentty4_.IsReturn = 'N' and (documentty4_.DocSubTypeSO not like 'OB') and businesspa2_.C_BPartner_ID = businesspa0_.C_BPartner_ID and (order1_.AD_Org_ID in ('0', 'C34A537D1464452783C0A7C7C913FC86', '4A2127624482427B8B0BE0DD8ABF92D4', '3724B485FEC444038C28CAEE0F24E7E6', 'B2834B32C6C2488CA31DE4D756AD4A5F')) and (order1_.AD_Client_ID in ('4E7785E633254999A6D7545B0BE57A46', '0')))) order by businesspa0_.Name, businesspa0_.Name2, businesspa0_.TaxID limit '76';
Date: 2026-07-13 12:23:58 Duration: 3s903ms Database: etendo User: tad Remote: 127.0.0.1 Application: openbravo Bind query: yes
4 3s210ms 3s210ms 3s210ms 1 3s210ms select productbyp0_.m_product_price_warehouse_v_id as m_produc1_496_, productbyp0_.ad_client_id as ad_clien2_496_, productbyp0_.ad_org_id as ad_org_i3_496_, productbyp0_.isactive as isactive4_496_, productbyp0_.updated as updated5_496_, productbyp0_.updatedby as updatedb6_496_, productbyp0_.created as created7_496_, productbyp0_.createdby as createdb8_496_, productbyp0_.m_product_id as m_produc9_496_, productbyp0_.m_warehouse_id as m_wareh10_496_, productbyp0_.m_productprice_id as m_produ11_496_, productbyp0_.qty_available as qty_ava12_496_, productbyp0_.qty_onhand as qty_onh13_496_, productbyp0_.qty_reserved as qty_res14_496_, productbyp0_.qty_ordered as qty_ord15_496_, productbyp0_.pricelist as priceli16_496_, productbyp0_.pricestd as pricest17_496_, productbyp0_.pricelimit as priceli18_496_, productbyp0_.orgwarehouse as orgware19_496_ from m_product_price_warehouse_v productbyp0_ inner join m_product product1_ on productbyp0_.m_product_id = product1_.m_product_id cross join m_productprice pricingpro2_ cross join m_pricelist_version pricingpri3_ cross join m_pricelist pricingpri7_ where productbyp0_.m_productprice_id = pricingpro2_.m_productprice_id and pricingpro2_.m_pricelist_version_id = pricingpri3_.m_pricelist_version_id and pricingpri3_.m_pricelist_id = pricingpri7_.m_pricelist_id and (productbyp0_.ad_org_id in (...)) and productbyp0_.isactive = ? and ad_org_isinnaturaltree (productbyp0_.orgwarehouse, ?, ?) = ? and pricingpri3_.isactive = ? and ad_org_isinnaturaltree (pricingpro2_.ad_org_id, ?, ?) = ? and pricingpri7_.issopricelist = ? and pricingpri7_.c_currency_id = ? and (productbyp0_.ad_client_id in (...)) and productbyp0_.isactive = ? order by product1_.name, product1_.m_product_id limit ?;Times Reported Time consuming queries #4
Day Hour Count Duration Avg duration Jul 13 17 1 3s210ms 3s210ms [ User: tad - Total duration: 3s210ms - Times executed: 1 ]
[ Application: openbravo - Total duration: 3s210ms - Times executed: 1 ]
-
select productbyp0_.M_Product_Price_Warehouse_V_ID as m_produc1_496_, productbyp0_.AD_Client_ID as ad_clien2_496_, productbyp0_.AD_Org_ID as ad_org_i3_496_, productbyp0_.Isactive as isactive4_496_, productbyp0_.Updated as updated5_496_, productbyp0_.Updatedby as updatedb6_496_, productbyp0_.Created as created7_496_, productbyp0_.Createdby as createdb8_496_, productbyp0_.M_Product_ID as m_produc9_496_, productbyp0_.M_Warehouse_ID as m_wareh10_496_, productbyp0_.M_Productprice_ID as m_produ11_496_, productbyp0_.QTY_Available as qty_ava12_496_, productbyp0_.QTY_Onhand as qty_onh13_496_, productbyp0_.QTY_Reserved as qty_res14_496_, productbyp0_.QTY_Ordered as qty_ord15_496_, productbyp0_.Pricelist as priceli16_496_, productbyp0_.Pricestd as pricest17_496_, productbyp0_.Pricelimit as priceli18_496_, productbyp0_.Orgwarehouse as orgware19_496_ from M_Product_Price_Warehouse_v productbyp0_ inner join M_Product product1_ on productbyp0_.M_Product_ID = product1_.M_Product_ID cross join M_ProductPrice pricingpro2_ cross join M_PriceList_Version pricingpri3_ cross join M_PriceList pricingpri7_ where productbyp0_.M_Productprice_ID = pricingpro2_.M_ProductPrice_ID and pricingpro2_.M_PriceList_Version_ID = pricingpri3_.M_PriceList_Version_ID and pricingpri3_.M_PriceList_ID = pricingpri7_.M_PriceList_ID and (productbyp0_.AD_Org_ID in ('0', 'C34A537D1464452783C0A7C7C913FC86', '4A2127624482427B8B0BE0DD8ABF92D4', '3724B485FEC444038C28CAEE0F24E7E6', 'B2834B32C6C2488CA31DE4D756AD4A5F')) and productbyp0_.Isactive = 'Y' and AD_ORG_ISINNATURALTREE (productbyp0_.Orgwarehouse, 'B2834B32C6C2488CA31DE4D756AD4A5F', '4E7785E633254999A6D7545B0BE57A46') = 'Y' and pricingpri3_.IsActive = 'Y' and AD_ORG_ISINNATURALTREE (pricingpro2_.AD_Org_ID, 'B2834B32C6C2488CA31DE4D756AD4A5F', '4E7785E633254999A6D7545B0BE57A46') = 'Y' and pricingpri7_.IsSOPriceList = 'Y' and pricingpri7_.C_Currency_ID = '102' and (productbyp0_.AD_Client_ID in ('4E7785E633254999A6D7545B0BE57A46', '0')) and productbyp0_.Isactive = 'Y' order by product1_.Name, product1_.M_Product_ID limit '76';
Date: 2026-07-13 17:49:47 Duration: 3s210ms Database: etendo User: tad Remote: 127.0.0.1 Application: openbravo Bind query: yes
5 1s90ms 2s892ms 2s240ms 3 6s721ms select a.id, ev.value as account_id, coalesce(ev_trl.name, ev.name) as name, a.initialamt as saldo_inicial, a.amtacctcr, a.amtacctdr, a.initialamt + a.amtacctdr - a.amtacctcr as saldo_final, a.groupbyid, case ad_column_identifier (?, groupbyid, to_char(?)) when ? then ? else ad_column_identifier (?, groupbyid, to_char(?)) end as groupbyname from ( select sum( case when (dateacct < to_date(?) or (dateacct = to_date(?) and f.factaccttype = ?)) then f.amtacctdr - f.amtacctcr else ? end) as initialamt, sum( case when (dateacct >= to_date(?) and f.factaccttype not in (...)) or (dateacct = to_date(?) and f.factaccttype = ?) then f.amtacctdr else ? end) as amtacctdr, sum( case when (dateacct >= to_date(?) and f.factaccttype not in (...)) or (dateacct = to_date(?) and f.factaccttype = ?) then f.amtacctcr else ? end) as amtacctcr, f.account_id as id, to_char(?) as groupbyid from fact_acct f where f.ad_org_id in (...) and f.ad_client_id in (...) and f.ad_org_id in (...) and dateacct < to_date(?) and ? = ? and f.c_acctschema_id = ? and f.isactive = ? group by f.account_id) a left join c_elementvalue ev on a.id = ev.c_elementvalue_id left join c_elementvalue_trl ev_trl on ev.c_elementvalue_id = ev_trl.c_elementvalue_id and ev_trl.ad_language = ? where ev.elementlevel = ? and ? = ? and ev.value >= ? and ev.value <= ? and (a.initialamt <> ? or a.amtacctcr <> ? or a.amtacctdr <> ?) order by ev.value, ev.name, id, groupbyname;Times Reported Time consuming queries #5
Day Hour Count Duration Avg duration Jul 13 09 1 2s892ms 2s892ms 10 2 3s829ms 1s914ms [ User: tad - Total duration: 6s721ms - Times executed: 3 ]
[ Application: openbravo - Total duration: 6s721ms - Times executed: 3 ]
-
select a.id, ev.value as account_id, COALESCE(ev_trl.name, ev.name) as name, a.initialamt as SALDO_INICIAL, a.amtacctcr, a.amtacctdr, A.INITIALAMT + A.AMTACCTDR - A.AMTACCTCR AS SALDO_FINAL, a.groupbyid, CASE ad_column_identifier ('',groupbyid,TO_CHAR('es_ES')) WHEN '**' THEN '' ELSE ad_column_identifier ('',groupbyid,TO_CHAR('es_ES')) END AS groupbyname from( SELECT sum(case when (DATEACCT < TO_DATE('01-01-2026') or (DATEACCT = TO_DATE('01-01-2026') and F.FACTACCTTYPE = 'O')) then F.AMTACCTDR - F.AMTACCTCR else 0 end) as initialamt, sum(case when (DATEACCT >= TO_DATE('01-01-2026') AND F.FACTACCTTYPE not in('O', 'R', 'C')) or (DATEACCT = TO_DATE('01-01-2026') and F.FACTACCTTYPE = NULL) then F.AMTACCTDR else 0 end) as AMTACCTDR, sum(case when (DATEACCT >= TO_DATE('01-01-2026') AND F.FACTACCTTYPE not in('O', 'R', 'C')) or (DATEACCT = TO_DATE('01-01-2026') and F.FACTACCTTYPE = NULL) then F.AMTACCTCR else 0 end) as AMTACCTCR, F.ACCOUNT_ID AS ID, to_char('') AS groupbyid FROM FACT_ACCT F WHERE F.AD_ORG_ID IN ('C34A537D1464452783C0A7C7C913FC86', 'B2834B32C6C2488CA31DE4D756AD4A5F', '3724B485FEC444038C28CAEE0F24E7E6') AND F.AD_CLIENT_ID IN ('0', '4E7785E633254999A6D7545B0BE57A46') AND F.AD_ORG_ID IN ('C34A537D1464452783C0A7C7C913FC86', 'B2834B32C6C2488CA31DE4D756AD4A5F', '3724B485FEC444038C28CAEE0F24E7E6') AND DATEACCT < TO_DATE('01-06-2026') AND 1 = 1 AND F.C_ACCTSCHEMA_ID = '0F5D42F2ED1147B1A08F51C2E218D734' AND F.ISACTIVE = 'Y' group by F.ACCOUNT_ID) a LEFT JOIN c_elementvalue ev ON a.id = ev.c_elementvalue_id LEFT JOIN c_elementvalue_trl ev_trl ON ev.c_elementvalue_id = ev_trl.c_elementvalue_id AND ev_trl.ad_language = 'es_ES' WHERE ev.elementlevel = 'S' AND 2 = 2 AND EV.VALUE >= '47000' AND EV.VALUE <= '47900' and (a.initialamt <> 0 or a.amtacctcr <> 0 or a.amtacctdr <> 0) order by ev.value, ev.name, id, groupbyname;
Date: 2026-07-13 09:56:28 Duration: 2s892ms Database: etendo User: tad Remote: 127.0.0.1 Application: openbravo Bind query: yes
-
select a.id, ev.value as account_id, COALESCE(ev_trl.name, ev.name) as name, a.initialamt as SALDO_INICIAL, a.amtacctcr, a.amtacctdr, A.INITIALAMT + A.AMTACCTDR - A.AMTACCTCR AS SALDO_FINAL, a.groupbyid, CASE ad_column_identifier ('',groupbyid,TO_CHAR('es_ES')) WHEN '**' THEN '' ELSE ad_column_identifier ('',groupbyid,TO_CHAR('es_ES')) END AS groupbyname from( SELECT sum(case when (DATEACCT < TO_DATE('01-01-2026') or (DATEACCT = TO_DATE('01-01-2026') and F.FACTACCTTYPE = 'O')) then F.AMTACCTDR - F.AMTACCTCR else 0 end) as initialamt, sum(case when (DATEACCT >= TO_DATE('01-01-2026') AND F.FACTACCTTYPE not in('O', 'R', 'C')) or (DATEACCT = TO_DATE('01-01-2026') and F.FACTACCTTYPE = NULL) then F.AMTACCTDR else 0 end) as AMTACCTDR, sum(case when (DATEACCT >= TO_DATE('01-01-2026') AND F.FACTACCTTYPE not in('O', 'R', 'C')) or (DATEACCT = TO_DATE('01-01-2026') and F.FACTACCTTYPE = NULL) then F.AMTACCTCR else 0 end) as AMTACCTCR, F.ACCOUNT_ID AS ID, to_char('') AS groupbyid FROM FACT_ACCT F WHERE F.AD_ORG_ID IN ('C34A537D1464452783C0A7C7C913FC86', 'B2834B32C6C2488CA31DE4D756AD4A5F', '3724B485FEC444038C28CAEE0F24E7E6') AND F.AD_CLIENT_ID IN ('0', '4E7785E633254999A6D7545B0BE57A46') AND F.AD_ORG_ID IN ('C34A537D1464452783C0A7C7C913FC86', 'B2834B32C6C2488CA31DE4D756AD4A5F', '3724B485FEC444038C28CAEE0F24E7E6') AND DATEACCT < TO_DATE('01-06-2026') AND 1 = 1 AND F.C_ACCTSCHEMA_ID = '0F5D42F2ED1147B1A08F51C2E218D734' AND F.ISACTIVE = 'Y' group by F.ACCOUNT_ID) a LEFT JOIN c_elementvalue ev ON a.id = ev.c_elementvalue_id LEFT JOIN c_elementvalue_trl ev_trl ON ev.c_elementvalue_id = ev_trl.c_elementvalue_id AND ev_trl.ad_language = 'es_ES' WHERE ev.elementlevel = 'S' AND 2 = 2 AND EV.VALUE >= '47000' AND EV.VALUE <= '47900' and (a.initialamt <> 0 or a.amtacctcr <> 0 or a.amtacctdr <> 0) order by ev.value, ev.name, id, groupbyname;
Date: 2026-07-13 10:01:05 Duration: 2s738ms Database: etendo User: tad Remote: 127.0.0.1 Application: openbravo Bind query: yes
-
select a.id, ev.value as account_id, COALESCE(ev_trl.name, ev.name) as name, a.initialamt as SALDO_INICIAL, a.amtacctcr, a.amtacctdr, A.INITIALAMT + A.AMTACCTDR - A.AMTACCTCR AS SALDO_FINAL, a.groupbyid, CASE ad_column_identifier ('',groupbyid,TO_CHAR('es_ES')) WHEN '**' THEN '' ELSE ad_column_identifier ('',groupbyid,TO_CHAR('es_ES')) END AS groupbyname from( SELECT sum(case when (DATEACCT < TO_DATE('01-01-2026') or (DATEACCT = TO_DATE('01-01-2026') and F.FACTACCTTYPE = 'O')) then F.AMTACCTDR - F.AMTACCTCR else 0 end) as initialamt, sum(case when (DATEACCT >= TO_DATE('01-01-2026') AND F.FACTACCTTYPE not in('O', 'R', 'C')) or (DATEACCT = TO_DATE('01-01-2026') and F.FACTACCTTYPE = NULL) then F.AMTACCTDR else 0 end) as AMTACCTDR, sum(case when (DATEACCT >= TO_DATE('01-01-2026') AND F.FACTACCTTYPE not in('O', 'R', 'C')) or (DATEACCT = TO_DATE('01-01-2026') and F.FACTACCTTYPE = NULL) then F.AMTACCTCR else 0 end) as AMTACCTCR, F.ACCOUNT_ID AS ID, to_char('') AS groupbyid FROM FACT_ACCT F WHERE F.AD_ORG_ID IN ('C34A537D1464452783C0A7C7C913FC86', 'B2834B32C6C2488CA31DE4D756AD4A5F', '3724B485FEC444038C28CAEE0F24E7E6') AND F.AD_CLIENT_ID IN ('0', '4E7785E633254999A6D7545B0BE57A46') AND F.AD_ORG_ID IN ('C34A537D1464452783C0A7C7C913FC86', 'B2834B32C6C2488CA31DE4D756AD4A5F', '3724B485FEC444038C28CAEE0F24E7E6') AND DATEACCT < TO_DATE('01-07-2026') AND 1 = 1 AND F.C_ACCTSCHEMA_ID = '0F5D42F2ED1147B1A08F51C2E218D734' AND F.ISACTIVE = 'Y' group by F.ACCOUNT_ID) a LEFT JOIN c_elementvalue ev ON a.id = ev.c_elementvalue_id LEFT JOIN c_elementvalue_trl ev_trl ON ev.c_elementvalue_id = ev_trl.c_elementvalue_id AND ev_trl.ad_language = 'es_ES' WHERE ev.elementlevel = 'S' AND 2 = 2 AND EV.VALUE >= '47000' AND EV.VALUE <= '47900' and (a.initialamt <> 0 or a.amtacctcr <> 0 or a.amtacctdr <> 0) order by ev.value, ev.name, id, groupbyname;
Date: 2026-07-13 10:05:53 Duration: 1s90ms Database: etendo User: tad Remote: 127.0.0.1 Application: openbravo Bind query: yes
6 1s714ms 2s479ms 2s97ms 2 4s194ms select * from c_invoice_post0 (?);Times Reported Time consuming queries #6
Day Hour Count Duration Avg duration Jul 13 12 2 4s194ms 2s97ms [ User: tad - Total duration: 4s194ms - Times executed: 2 ]
[ Application: openbravo - Total duration: 4s194ms - Times executed: 2 ]
-
SELECT * FROM C_Invoice_Post0 ('FCFE701C902A435EBD1F5BCADD0C6877');
Date: 2026-07-13 12:35:43 Duration: 2s479ms Database: etendo User: tad Remote: 127.0.0.1 Application: openbravo Bind query: yes
-
SELECT * FROM C_Invoice_Post0 ('B88AC3508A704520AB42DB41DB88655A');
Date: 2026-07-13 12:30:45 Duration: 1s714ms Database: etendo User: tad Remote: 127.0.0.1 Application: openbravo Bind query: yes
7 1s44ms 2s492ms 1s729ms 5 8s649ms select * from c_order_post (?);Times Reported Time consuming queries #7
Day Hour Count Duration Avg duration Jul 13 07 1 2s492ms 2s492ms 08 1 1s44ms 1s44ms 10 1 2s147ms 2s147ms 11 1 1s821ms 1s821ms 15 1 1s143ms 1s143ms [ User: tad - Total duration: 8s649ms - Times executed: 5 ]
[ Application: openbravo - Total duration: 8s649ms - Times executed: 5 ]
-
SELECT * FROM C_ORDER_POST ('C3E479B6BDEC4AE5B306C37B5C843B61');
Date: 2026-07-13 07:37:23 Duration: 2s492ms Database: etendo User: tad Remote: 127.0.0.1 Application: openbravo Bind query: yes
-
SELECT * FROM C_ORDER_POST ('93892410C532448A9F33702B0658107E');
Date: 2026-07-13 10:14:18 Duration: 2s147ms Database: etendo User: tad Remote: 127.0.0.1 Application: openbravo Bind query: yes
-
SELECT * FROM C_ORDER_POST ('3CE7B223E77D477689784AE348948077');
Date: 2026-07-13 11:53:47 Duration: 1s821ms Database: etendo User: tad Remote: 127.0.0.1 Application: openbravo Bind query: yes
8 1s48ms 2s241ms 1s388ms 15 20s829ms select * from ( select c_invoice.c_invoice_id as referencekey_id, c_invoice.documentno as record_id, ? as ad_role_id, null as ad_user_id, ?| | c_invoice.documentno || ?| | c_invoice.grandtotal || ?| | (( select round(sum(linenetamt), ?) from c_invoiceline line where line.c_invoice_id = c_invoice.c_invoice_id) + ( select coalesce(round(sum(tax.taxamt), ?), ?) from c_invoicetax tax where tax.c_invoice_id = c_invoice.c_invoice_id)) as description, ? as isactive, c_invoice.ad_org_id, c_invoice.ad_client_id, now() as created, ? as createdby, now() as updated, ? as updatedby from c_invoice where c_invoice.issotrx = ? and c_invoice.grandtotal <> round((( select round(sum(linenetamt), ?) from c_invoiceline line where line.c_invoice_id = c_invoice.c_invoice_id) + ( select coalesce(round(sum(tax.taxamt), ?), ?) from c_invoicetax tax where tax.c_invoice_id = c_invoice.c_invoice_id)), ?)) 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 #8
Day Hour Count Duration Avg duration Jul 13 07 1 1s393ms 1s393ms 08 1 1s255ms 1s255ms 09 1 1s302ms 1s302ms 10 1 2s241ms 2s241ms 11 1 1s587ms 1s587ms 12 1 1s725ms 1s725ms 13 1 1s304ms 1s304ms 14 1 1s496ms 1s496ms 15 1 1s428ms 1s428ms 16 1 1s134ms 1s134ms 17 1 1s88ms 1s88ms 18 1 1s401ms 1s401ms 19 1 1s98ms 1s98ms 20 1 1s48ms 1s48ms 21 1 1s323ms 1s323ms [ User: tad - Total duration: 20s829ms - Times executed: 15 ]
[ Application: openbravo - Total duration: 20s829ms - Times executed: 15 ]
-
SELECT * FROM ( select c_invoice.C_INVOICE_ID as referencekey_id, c_invoice.documentno as record_id, 0 as ad_role_id, null as ad_user_id, 'Factura ' || c_invoice.documentno || ' difiere el importe total ' || c_invoice.grandtotal || ' con la suma del total de las lineas + impuestos ' || (( select round(sum(linenetamt), 2) from c_invoiceline line where line.c_invoice_id = c_invoice.c_invoice_id) + ( select coalesce(round(sum(tax.taxamt), 2), 0) from c_invoicetax tax where tax.c_invoice_id = c_invoice.c_invoice_id)) as description, 'Y' as isActive, c_invoice.ad_org_id, c_invoice.ad_client_id, now() as created, 0 as createdBy, now() as updated, 0 as updatedBy from c_invoice where c_invoice.issotrx = 'Y' and c_invoice.grandtotal <> round((( select round(sum(linenetamt), 2) from c_invoiceline line where line.c_invoice_id = c_invoice.c_invoice_id) + ( select coalesce(round(sum(tax.taxamt), 2), 0) from c_invoicetax tax where tax.c_invoice_id = c_invoice.c_invoice_id)), 2)) AAA where not exists ( select 1 from ad_alert a where a.ad_alertrule_id = 'D385EC7B4B9F428093AF4EBA38AF5821' and a.referencekey_id = aaa.referencekey_id and coalesce(a.status, 'NEW') != 'SOLVED');
Date: 2026-07-13 10:00:14 Duration: 2s241ms Database: etendo User: tad Remote: 127.0.0.1 Application: openbravo Bind query: yes
-
SELECT * FROM ( select c_invoice.C_INVOICE_ID as referencekey_id, c_invoice.documentno as record_id, 0 as ad_role_id, null as ad_user_id, 'Factura ' || c_invoice.documentno || ' difiere el importe total ' || c_invoice.grandtotal || ' con la suma del total de las lineas + impuestos ' || (( select round(sum(linenetamt), 2) from c_invoiceline line where line.c_invoice_id = c_invoice.c_invoice_id) + ( select coalesce(round(sum(tax.taxamt), 2), 0) from c_invoicetax tax where tax.c_invoice_id = c_invoice.c_invoice_id)) as description, 'Y' as isActive, c_invoice.ad_org_id, c_invoice.ad_client_id, now() as created, 0 as createdBy, now() as updated, 0 as updatedBy from c_invoice where c_invoice.issotrx = 'Y' and c_invoice.grandtotal <> round((( select round(sum(linenetamt), 2) from c_invoiceline line where line.c_invoice_id = c_invoice.c_invoice_id) + ( select coalesce(round(sum(tax.taxamt), 2), 0) from c_invoicetax tax where tax.c_invoice_id = c_invoice.c_invoice_id)), 2)) AAA where not exists ( select 1 from ad_alert a where a.ad_alertrule_id = 'D385EC7B4B9F428093AF4EBA38AF5821' and a.referencekey_id = aaa.referencekey_id and coalesce(a.status, 'NEW') != 'SOLVED');
Date: 2026-07-13 12:00:23 Duration: 1s725ms Database: etendo User: tad Remote: 127.0.0.1 Application: openbravo Bind query: yes
-
SELECT * FROM ( select c_invoice.C_INVOICE_ID as referencekey_id, c_invoice.documentno as record_id, 0 as ad_role_id, null as ad_user_id, 'Factura ' || c_invoice.documentno || ' difiere el importe total ' || c_invoice.grandtotal || ' con la suma del total de las lineas + impuestos ' || (( select round(sum(linenetamt), 2) from c_invoiceline line where line.c_invoice_id = c_invoice.c_invoice_id) + ( select coalesce(round(sum(tax.taxamt), 2), 0) from c_invoicetax tax where tax.c_invoice_id = c_invoice.c_invoice_id)) as description, 'Y' as isActive, c_invoice.ad_org_id, c_invoice.ad_client_id, now() as created, 0 as createdBy, now() as updated, 0 as updatedBy from c_invoice where c_invoice.issotrx = 'Y' and c_invoice.grandtotal <> round((( select round(sum(linenetamt), 2) from c_invoiceline line where line.c_invoice_id = c_invoice.c_invoice_id) + ( select coalesce(round(sum(tax.taxamt), 2), 0) from c_invoicetax tax where tax.c_invoice_id = c_invoice.c_invoice_id)), 2)) AAA where not exists ( select 1 from ad_alert a where a.ad_alertrule_id = 'D385EC7B4B9F428093AF4EBA38AF5821' and a.referencekey_id = aaa.referencekey_id and coalesce(a.status, 'NEW') != 'SOLVED');
Date: 2026-07-13 11:00:14 Duration: 1s587ms Database: etendo User: tad Remote: 127.0.0.1 Application: openbravo Bind query: yes
9 1s122ms 1s122ms 1s122ms 1 1s122ms select string_agg(distinct prac_checkacct_config (ca.c_acctschema_id, ca."name"), ?) from c_acctschema ca where ? = ?;Times Reported Time consuming queries #9
Day Hour Count Duration Avg duration Jul 13 07 1 1s122ms 1s122ms [ User: postgres - Total duration: 1s122ms - Times executed: 1 ]
[ Application: psql - Total duration: 1s122ms - 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: 1s122ms Database: etendo User: postgres Remote: [local] Application: psql
10 1s4ms 1s673ms 1s114ms 59 1m5s select productbyp0_.m_product_price_warehouse_v_id as m_produc1_496_, productbyp0_.ad_client_id as ad_clien2_496_, productbyp0_.ad_org_id as ad_org_i3_496_, productbyp0_.isactive as isactive4_496_, productbyp0_.updated as updated5_496_, productbyp0_.updatedby as updatedb6_496_, productbyp0_.created as created7_496_, productbyp0_.createdby as createdb8_496_, productbyp0_.m_product_id as m_produc9_496_, productbyp0_.m_warehouse_id as m_wareh10_496_, productbyp0_.m_productprice_id as m_produ11_496_, productbyp0_.qty_available as qty_ava12_496_, productbyp0_.qty_onhand as qty_onh13_496_, productbyp0_.qty_reserved as qty_res14_496_, productbyp0_.qty_ordered as qty_ord15_496_, productbyp0_.pricelist as priceli16_496_, productbyp0_.pricestd as pricest17_496_, productbyp0_.pricelimit as priceli18_496_, productbyp0_.orgwarehouse as orgware19_496_ from m_product_price_warehouse_v productbyp0_ left outer join m_product product1_ on productbyp0_.m_product_id = product1_.m_product_id cross join m_productprice pricingpro4_ cross join m_pricelist_version pricingpri5_ cross join m_pricelist pricingpri9_ where productbyp0_.m_productprice_id = pricingpro4_.m_productprice_id and pricingpro4_.m_pricelist_version_id = pricingpri5_.m_pricelist_version_id and pricingpri5_.m_pricelist_id = pricingpri9_.m_pricelist_id and (upper(product1_.value) like upper(?) escape ? or upper(product1_.name) like upper(?) escape ? or upper((coalesce(to_char(( select producttrl2_.name from m_product_trl producttrl2_ where producttrl2_.m_product_id = product1_.m_product_id and producttrl2_.ad_language = ?)), to_char(product1_.name), ?) || ?| | product1_.value)) like upper(?) escape ? or upper((coalesce(to_char(( select producttrl3_.name from m_product_trl producttrl3_ where producttrl3_.m_product_id = product1_.m_product_id and producttrl3_.ad_language = ?)), to_char(product1_.name), ?) || ?| | product1_.value)) like upper(?) escape ?) and (productbyp0_.ad_org_id in (...)) and productbyp0_.isactive = ? and ad_org_isinnaturaltree (productbyp0_.orgwarehouse, ?, ?) = ? and pricingpri5_.isactive = ? and ad_org_isinnaturaltree (pricingpro4_.ad_org_id, ?, ?) = ? and pricingpri9_.issopricelist = ? and pricingpri9_.c_currency_id = ? and pricingpro4_.m_pricelist_version_id = ? and productbyp0_.m_warehouse_id = ? and (productbyp0_.ad_client_id in (...)) and productbyp0_.isactive = ? order by product1_.name, product1_.value, product1_.m_product_id limit ?;Times Reported Time consuming queries #10
Day Hour Count Duration Avg duration Jul 13 07 8 9s242ms 1s155ms 08 4 4s190ms 1s47ms 09 10 11s411ms 1s141ms 10 4 4s317ms 1s79ms 11 8 9s612ms 1s201ms 12 10 10s441ms 1s44ms 13 4 4s277ms 1s69ms 15 3 3s308ms 1s102ms 16 2 2s193ms 1s96ms 17 2 2s138ms 1s69ms 18 4 4s647ms 1s161ms [ User: tad - Total duration: 1m5s - Times executed: 59 ]
[ Application: openbravo - Total duration: 1m5s - Times executed: 59 ]
-
select productbyp0_.M_Product_Price_Warehouse_V_ID as m_produc1_496_, productbyp0_.AD_Client_ID as ad_clien2_496_, productbyp0_.AD_Org_ID as ad_org_i3_496_, productbyp0_.Isactive as isactive4_496_, productbyp0_.Updated as updated5_496_, productbyp0_.Updatedby as updatedb6_496_, productbyp0_.Created as created7_496_, productbyp0_.Createdby as createdb8_496_, productbyp0_.M_Product_ID as m_produc9_496_, productbyp0_.M_Warehouse_ID as m_wareh10_496_, productbyp0_.M_Productprice_ID as m_produ11_496_, productbyp0_.QTY_Available as qty_ava12_496_, productbyp0_.QTY_Onhand as qty_onh13_496_, productbyp0_.QTY_Reserved as qty_res14_496_, productbyp0_.QTY_Ordered as qty_ord15_496_, productbyp0_.Pricelist as priceli16_496_, productbyp0_.Pricestd as pricest17_496_, productbyp0_.Pricelimit as priceli18_496_, productbyp0_.Orgwarehouse as orgware19_496_ from M_Product_Price_Warehouse_v productbyp0_ left outer join M_Product product1_ on productbyp0_.M_Product_ID = product1_.M_Product_ID cross join M_ProductPrice pricingpro4_ cross join M_PriceList_Version pricingpri5_ cross join M_PriceList pricingpri9_ where productbyp0_.M_Productprice_ID = pricingpro4_.M_ProductPrice_ID and pricingpro4_.M_PriceList_Version_ID = pricingpri5_.M_PriceList_Version_ID and pricingpri5_.M_PriceList_ID = pricingpri9_.M_PriceList_ID and (upper(product1_.Value) like upper('%A%') escape '|' or upper(product1_.Name) like upper('%A%') escape '|' or upper((coalesce(to_char(( select producttrl2_.Name from M_Product_Trl producttrl2_ where producttrl2_.M_Product_ID = product1_.M_Product_ID and producttrl2_.AD_Language = 'es_ES')), to_char(product1_.Name), '') || ' - ' || product1_.Value)) like upper('%A%') escape '|' or upper((coalesce(to_char(( select producttrl3_.Name from M_Product_Trl producttrl3_ where producttrl3_.M_Product_ID = product1_.M_Product_ID and producttrl3_.AD_Language = 'es_ES')), to_char(product1_.Name), '') || ' - ' || product1_.Value)) like upper('%A%') escape '|') and (productbyp0_.AD_Org_ID in ('0', 'C34A537D1464452783C0A7C7C913FC86', '4A2127624482427B8B0BE0DD8ABF92D4', '3724B485FEC444038C28CAEE0F24E7E6', 'B2834B32C6C2488CA31DE4D756AD4A5F')) and productbyp0_.Isactive = 'Y' and AD_ORG_ISINNATURALTREE (productbyp0_.Orgwarehouse, 'B2834B32C6C2488CA31DE4D756AD4A5F', '4E7785E633254999A6D7545B0BE57A46') = 'Y' and pricingpri5_.IsActive = 'Y' and AD_ORG_ISINNATURALTREE (pricingpro4_.AD_Org_ID, 'B2834B32C6C2488CA31DE4D756AD4A5F', '4E7785E633254999A6D7545B0BE57A46') = 'Y' and pricingpri9_.IsSOPriceList = 'Y' and pricingpri9_.C_Currency_ID = '102' and pricingpro4_.M_PriceList_Version_ID = '1000109' and productbyp0_.M_Warehouse_ID = '6F618729B86C4789AF3EC693A15D4785' and (productbyp0_.AD_Client_ID in ('4E7785E633254999A6D7545B0BE57A46', '0')) and productbyp0_.Isactive = 'Y' order by product1_.Name, product1_.Value, product1_.M_Product_ID limit '76';
Date: 2026-07-13 11:50:08 Duration: 1s673ms Database: etendo User: tad Remote: 127.0.0.1 Application: openbravo Bind query: yes
-
select productbyp0_.M_Product_Price_Warehouse_V_ID as m_produc1_496_, productbyp0_.AD_Client_ID as ad_clien2_496_, productbyp0_.AD_Org_ID as ad_org_i3_496_, productbyp0_.Isactive as isactive4_496_, productbyp0_.Updated as updated5_496_, productbyp0_.Updatedby as updatedb6_496_, productbyp0_.Created as created7_496_, productbyp0_.Createdby as createdb8_496_, productbyp0_.M_Product_ID as m_produc9_496_, productbyp0_.M_Warehouse_ID as m_wareh10_496_, productbyp0_.M_Productprice_ID as m_produ11_496_, productbyp0_.QTY_Available as qty_ava12_496_, productbyp0_.QTY_Onhand as qty_onh13_496_, productbyp0_.QTY_Reserved as qty_res14_496_, productbyp0_.QTY_Ordered as qty_ord15_496_, productbyp0_.Pricelist as priceli16_496_, productbyp0_.Pricestd as pricest17_496_, productbyp0_.Pricelimit as priceli18_496_, productbyp0_.Orgwarehouse as orgware19_496_ from M_Product_Price_Warehouse_v productbyp0_ left outer join M_Product product1_ on productbyp0_.M_Product_ID = product1_.M_Product_ID cross join M_ProductPrice pricingpro4_ cross join M_PriceList_Version pricingpri5_ cross join M_PriceList pricingpri9_ where productbyp0_.M_Productprice_ID = pricingpro4_.M_ProductPrice_ID and pricingpro4_.M_PriceList_Version_ID = pricingpri5_.M_PriceList_Version_ID and pricingpri5_.M_PriceList_ID = pricingpri9_.M_PriceList_ID and (upper(product1_.Value) like upper('%A%') escape '|' or upper(product1_.Name) like upper('%A%') escape '|' or upper((coalesce(to_char(( select producttrl2_.Name from M_Product_Trl producttrl2_ where producttrl2_.M_Product_ID = product1_.M_Product_ID and producttrl2_.AD_Language = 'es_ES')), to_char(product1_.Name), '') || ' - ' || product1_.Value)) like upper('%A%') escape '|' or upper((coalesce(to_char(( select producttrl3_.Name from M_Product_Trl producttrl3_ where producttrl3_.M_Product_ID = product1_.M_Product_ID and producttrl3_.AD_Language = 'es_ES')), to_char(product1_.Name), '') || ' - ' || product1_.Value)) like upper('%A%') escape '|') and (productbyp0_.AD_Org_ID in ('0', 'C34A537D1464452783C0A7C7C913FC86', '4A2127624482427B8B0BE0DD8ABF92D4', '3724B485FEC444038C28CAEE0F24E7E6', 'B2834B32C6C2488CA31DE4D756AD4A5F')) and productbyp0_.Isactive = 'Y' and AD_ORG_ISINNATURALTREE (productbyp0_.Orgwarehouse, 'B2834B32C6C2488CA31DE4D756AD4A5F', '4E7785E633254999A6D7545B0BE57A46') = 'Y' and pricingpri5_.IsActive = 'Y' and AD_ORG_ISINNATURALTREE (pricingpro4_.AD_Org_ID, 'B2834B32C6C2488CA31DE4D756AD4A5F', '4E7785E633254999A6D7545B0BE57A46') = 'Y' and pricingpri9_.IsSOPriceList = 'Y' and pricingpri9_.C_Currency_ID = '102' and pricingpro4_.M_PriceList_Version_ID = '1000113' and productbyp0_.M_Warehouse_ID = '6F618729B86C4789AF3EC693A15D4785' and (productbyp0_.AD_Client_ID in ('4E7785E633254999A6D7545B0BE57A46', '0')) and productbyp0_.Isactive = 'Y' order by product1_.Name, product1_.Value, product1_.M_Product_ID limit '76';
Date: 2026-07-13 09:08:20 Duration: 1s589ms Database: etendo User: tad Remote: 127.0.0.1 Application: openbravo Bind query: yes
-
select productbyp0_.M_Product_Price_Warehouse_V_ID as m_produc1_496_, productbyp0_.AD_Client_ID as ad_clien2_496_, productbyp0_.AD_Org_ID as ad_org_i3_496_, productbyp0_.Isactive as isactive4_496_, productbyp0_.Updated as updated5_496_, productbyp0_.Updatedby as updatedb6_496_, productbyp0_.Created as created7_496_, productbyp0_.Createdby as createdb8_496_, productbyp0_.M_Product_ID as m_produc9_496_, productbyp0_.M_Warehouse_ID as m_wareh10_496_, productbyp0_.M_Productprice_ID as m_produ11_496_, productbyp0_.QTY_Available as qty_ava12_496_, productbyp0_.QTY_Onhand as qty_onh13_496_, productbyp0_.QTY_Reserved as qty_res14_496_, productbyp0_.QTY_Ordered as qty_ord15_496_, productbyp0_.Pricelist as priceli16_496_, productbyp0_.Pricestd as pricest17_496_, productbyp0_.Pricelimit as priceli18_496_, productbyp0_.Orgwarehouse as orgware19_496_ from M_Product_Price_Warehouse_v productbyp0_ left outer join M_Product product1_ on productbyp0_.M_Product_ID = product1_.M_Product_ID cross join M_ProductPrice pricingpro4_ cross join M_PriceList_Version pricingpri5_ cross join M_PriceList pricingpri9_ where productbyp0_.M_Productprice_ID = pricingpro4_.M_ProductPrice_ID and pricingpro4_.M_PriceList_Version_ID = pricingpri5_.M_PriceList_Version_ID and pricingpri5_.M_PriceList_ID = pricingpri9_.M_PriceList_ID and (upper(product1_.Value) like upper('%I%') escape '|' or upper(product1_.Name) like upper('%I%') escape '|' or upper((coalesce(to_char(( select producttrl2_.Name from M_Product_Trl producttrl2_ where producttrl2_.M_Product_ID = product1_.M_Product_ID and producttrl2_.AD_Language = 'es_ES')), to_char(product1_.Name), '') || ' - ' || product1_.Value)) like upper('%I%') escape '|' or upper((coalesce(to_char(( select producttrl3_.Name from M_Product_Trl producttrl3_ where producttrl3_.M_Product_ID = product1_.M_Product_ID and producttrl3_.AD_Language = 'es_ES')), to_char(product1_.Name), '') || ' - ' || product1_.Value)) like upper('%I%') escape '|') and (productbyp0_.AD_Org_ID in ('0', 'C34A537D1464452783C0A7C7C913FC86', '4A2127624482427B8B0BE0DD8ABF92D4', '3724B485FEC444038C28CAEE0F24E7E6', 'B2834B32C6C2488CA31DE4D756AD4A5F')) and productbyp0_.Isactive = 'Y' and AD_ORG_ISINNATURALTREE (productbyp0_.Orgwarehouse, 'B2834B32C6C2488CA31DE4D756AD4A5F', '4E7785E633254999A6D7545B0BE57A46') = 'Y' and pricingpri5_.IsActive = 'Y' and AD_ORG_ISINNATURALTREE (pricingpro4_.AD_Org_ID, 'B2834B32C6C2488CA31DE4D756AD4A5F', '4E7785E633254999A6D7545B0BE57A46') = 'Y' and pricingpri9_.IsSOPriceList = 'Y' and pricingpri9_.C_Currency_ID = '102' and pricingpro4_.M_PriceList_Version_ID = '1000109' and productbyp0_.M_Warehouse_ID = '6F618729B86C4789AF3EC693A15D4785' and (productbyp0_.AD_Client_ID in ('4E7785E633254999A6D7545B0BE57A46', '0')) and productbyp0_.Isactive = 'Y' order by product1_.Name, product1_.Value, product1_.M_Product_ID limit '76';
Date: 2026-07-13 11:50:32 Duration: 1s528ms Database: etendo User: tad Remote: 127.0.0.1 Application: openbravo Bind query: yes
11 1s104ms 1s104ms 1s104ms 1 1s104ms select materialmg0_.m_inoutline_id as col_0_0_, materialmg0_.movementqty - coalesce(sum(invoicelin5_.qtyinvoiced), ?) as col_1_0_, ( select uom6_.name from c_uom uom6_ where uom6_.c_uom_id = materialmg0_.c_uom_id) as col_2_0_, ( select product7_.name from m_product product7_ where product7_.m_product_id = materialmg0_.m_product_id) as col_3_0_, materialmg0_.line as col_4_0_, materialmg0_.created as col_5_0_, aduser8_.name as col_6_0_, materialmg0_.updated as col_7_0_, aduser9_.name as col_8_0_, ? as col_9_0_, ? as col_10_0_, materialmg0_.quantityorder * (materialmg0_.movementqty - coalesce(invoicelin5_.qtyinvoiced, ?)) / ( case when materialmg0_.movementqty <> ? then materialmg0_.movementqty else null end) as col_11_0_, materialmg1_.movementdate as col_12_0_, ( select warehouse10_.name from m_warehouse warehouse10_ where warehouse10_.m_warehouse_id = materialmg1_.m_warehouse_id) as col_13_0_, materialmg1_.documentno as col_14_0_, ( select locator11_.value from m_locator locator11_ where locator11_.m_locator_id = materialmg0_.m_locator_id) as col_15_0_, materialmg1_.poreference as col_16_0_ from m_inoutline materialmg0_ inner join m_inout materialmg1_ on materialmg0_.m_inout_id = materialmg1_.m_inout_id left outer join c_orderline orderline2_ on materialmg0_.c_orderline_id = orderline2_.c_orderline_id left outer join c_order order3_ on orderline2_.c_order_id = order3_.c_order_id left outer join m_matchinv procuremen4_ on materialmg0_.m_inoutline_id = procuremen4_.m_inoutline_id left outer join c_invoiceline invoicelin5_ on procuremen4_.c_invoiceline_id = invoicelin5_.c_invoiceline_id cross join ad_user aduser8_ cross join ad_user aduser9_ where materialmg0_.createdby = aduser8_.ad_user_id and materialmg0_.updatedby = aduser9_.ad_user_id and (materialmg1_.ad_client_id in (...)) and (materialmg0_.ad_org_id in (...)) and materialmg1_.movementdate >= now() ? and materialmg1_.issotrx = ? and (materialmg1_.docstatus in (...)) and materialmg1_.processed = ? and materialmg1_.islogistic <> ? and materialmg1_.c_bpartner_id = ? and (orderline2_.c_orderline_id is null or order3_.istaxincluded = ?) and (order3_.c_order_id is null or order3_.c_currency_id = ?) group by materialmg1_.poreference, materialmg1_.m_inout_id, materialmg1_.documentno, materialmg1_.movementdate, materialmg0_.movementqty, materialmg0_.c_uom_id, materialmg0_.m_product_id, materialmg0_.m_inoutline_id, materialmg0_.line, orderline2_.c_orderline_id, coalesce(materialmg0_.a_asset_id, materialmg1_.a_asset_id), coalesce(materialmg0_.c_project_id, materialmg1_.c_project_id), coalesce(materialmg0_.c_costcenter_id, materialmg1_.c_costcenter_id), coalesce(materialmg0_.user1_id, materialmg1_.user1_id), coalesce(materialmg0_.user2_id, materialmg1_.user2_id), materialmg0_.explode, materialmg0_.bom_parent_id, materialmg0_.created, aduser8_.name, materialmg0_.updated, aduser9_.name, materialmg0_.c_aum, materialmg0_.aumqty, materialmg1_.c_doctype_id, orderline2_.c_orderline_id, order3_.c_order_id, order3_.m_pricelist_id, materialmg1_.m_warehouse_id, materialmg0_.m_locator_id, materialmg0_.quantityorder * (materialmg0_.movementqty - coalesce(invoicelin5_.qtyinvoiced, ?)) / ( case when materialmg0_.movementqty <> ? then materialmg0_.movementqty else null end) having materialmg0_.movementqty - sum(coalesce(invoicelin5_.qtyinvoiced, ?)) <> ? or materialmg0_.explode = ? order by materialmg1_.documentno desc, materialmg0_.line asc limit ?;Times Reported Time consuming queries #11
Day Hour Count Duration Avg duration Jul 13 07 1 1s104ms 1s104ms [ User: tad - Total duration: 1s104ms - Times executed: 1 ]
[ Application: openbravo - Total duration: 1s104ms - Times executed: 1 ]
-
select materialmg0_.M_InOutLine_ID as col_0_0_, materialmg0_.MovementQty - coalesce(sum(invoicelin5_.QtyInvoiced), 0) as col_1_0_, ( select uom6_.Name from C_UOM uom6_ where uom6_.C_UOM_ID = materialmg0_.C_UOM_ID) as col_2_0_, ( select product7_.Name from M_Product product7_ where product7_.M_Product_ID = materialmg0_.M_Product_ID) as col_3_0_, materialmg0_.Line as col_4_0_, materialmg0_.Created as col_5_0_, aduser8_.Name as col_6_0_, materialmg0_.Updated as col_7_0_, aduser9_.Name as col_8_0_, '' as col_9_0_, '' as col_10_0_, materialmg0_.QuantityOrder * (materialmg0_.MovementQty - coalesce(invoicelin5_.QtyInvoiced, 0)) / ( case when materialmg0_.MovementQty <> 0 then materialmg0_.MovementQty else null end) as col_11_0_, materialmg1_.MovementDate as col_12_0_, ( select warehouse10_.Name from M_Warehouse warehouse10_ where warehouse10_.M_Warehouse_ID = materialmg1_.M_Warehouse_ID) as col_13_0_, materialmg1_.DocumentNo as col_14_0_, ( select locator11_.Value from M_Locator locator11_ where locator11_.M_Locator_ID = materialmg0_.M_Locator_ID) as col_15_0_, materialmg1_.POReference as col_16_0_ from M_InOutLine materialmg0_ inner join M_InOut materialmg1_ on materialmg0_.M_InOut_ID = materialmg1_.M_InOut_ID left outer join C_OrderLine orderline2_ on materialmg0_.C_OrderLine_ID = orderline2_.C_OrderLine_ID left outer join C_Order order3_ on orderline2_.C_Order_ID = order3_.C_Order_ID left outer join M_MatchInv procuremen4_ on materialmg0_.M_InOutLine_ID = procuremen4_.M_InOutLine_ID left outer join C_InvoiceLine invoicelin5_ on procuremen4_.C_InvoiceLine_ID = invoicelin5_.C_InvoiceLine_ID cross join AD_User aduser8_ cross join AD_User aduser9_ where materialmg0_.CreatedBy = aduser8_.AD_User_ID and materialmg0_.UpdatedBy = aduser9_.AD_User_ID and (materialmg1_.AD_Client_ID in ('0', '4E7785E633254999A6D7545B0BE57A46')) and (materialmg0_.AD_Org_ID in ('0', 'C34A537D1464452783C0A7C7C913FC86', '4A2127624482427B8B0BE0DD8ABF92D4', '3724B485FEC444038C28CAEE0F24E7E6', 'B2834B32C6C2488CA31DE4D756AD4A5F')) and materialmg1_.MovementDate >= now() - 365 and materialmg1_.IsSOTrx = 'N' and (materialmg1_.DocStatus in ('CO', 'CL')) and materialmg1_.Processed = 'Y' and materialmg1_.Islogistic <> 'Y' and materialmg1_.C_BPartner_ID = '1009780' and (orderline2_.C_OrderLine_ID is null or order3_.IsTaxIncluded = 'N') and (order3_.C_Order_ID is null or order3_.C_Currency_ID = '102') group by materialmg1_.POReference, materialmg1_.M_InOut_ID, materialmg1_.DocumentNo, materialmg1_.MovementDate, materialmg0_.MovementQty, materialmg0_.C_UOM_ID, materialmg0_.M_Product_ID, materialmg0_.M_InOutLine_ID, materialmg0_.Line, orderline2_.C_OrderLine_ID, coalesce(materialmg0_.A_Asset_ID, materialmg1_.A_Asset_ID), coalesce(materialmg0_.C_Project_ID, materialmg1_.C_Project_ID), coalesce(materialmg0_.C_Costcenter_ID, materialmg1_.C_Costcenter_ID), coalesce(materialmg0_.User1_ID, materialmg1_.User1_ID), coalesce(materialmg0_.User2_ID, materialmg1_.User2_ID), materialmg0_.Explode, materialmg0_.BOM_Parent_ID, materialmg0_.Created, aduser8_.Name, materialmg0_.Updated, aduser9_.Name, materialmg0_.C_Aum, materialmg0_.Aumqty, materialmg1_.C_DocType_ID, orderline2_.C_OrderLine_ID, order3_.C_Order_ID, order3_.M_PriceList_ID, materialmg1_.M_Warehouse_ID, materialmg0_.M_Locator_ID, materialmg0_.QuantityOrder * (materialmg0_.MovementQty - coalesce(invoicelin5_.QtyInvoiced, 0)) / ( case when materialmg0_.MovementQty <> 0 then materialmg0_.MovementQty else null end) having materialmg0_.MovementQty - sum(coalesce(invoicelin5_.QtyInvoiced, 0)) <> 0 or materialmg0_.Explode = 'Y' order by materialmg1_.DocumentNo desc, materialmg0_.Line asc limit '101';
Date: 2026-07-13 07:29:57 Duration: 1s104ms Database: etendo User: tad Remote: 127.0.0.1 Application: openbravo Bind query: yes
12 1s75ms 1s133ms 1s104ms 2 2s208ms select productbyp0_.m_product_price_warehouse_v_id as m_produc1_496_, productbyp0_.ad_client_id as ad_clien2_496_, productbyp0_.ad_org_id as ad_org_i3_496_, productbyp0_.isactive as isactive4_496_, productbyp0_.updated as updated5_496_, productbyp0_.updatedby as updatedb6_496_, productbyp0_.created as created7_496_, productbyp0_.createdby as createdb8_496_, productbyp0_.m_product_id as m_produc9_496_, productbyp0_.m_warehouse_id as m_wareh10_496_, productbyp0_.m_productprice_id as m_produ11_496_, productbyp0_.qty_available as qty_ava12_496_, productbyp0_.qty_onhand as qty_onh13_496_, productbyp0_.qty_reserved as qty_res14_496_, productbyp0_.qty_ordered as qty_ord15_496_, productbyp0_.pricelist as priceli16_496_, productbyp0_.pricestd as pricest17_496_, productbyp0_.pricelimit as priceli18_496_, productbyp0_.orgwarehouse as orgware19_496_ from m_product_price_warehouse_v productbyp0_ inner join m_product product1_ on productbyp0_.m_product_id = product1_.m_product_id cross join m_productprice pricingpro2_ cross join m_pricelist_version pricingpri4_ cross join m_pricelist pricingpri8_ where productbyp0_.m_productprice_id = pricingpro2_.m_productprice_id and pricingpro2_.m_pricelist_version_id = pricingpri4_.m_pricelist_version_id and pricingpri4_.m_pricelist_id = pricingpri8_.m_pricelist_id and productbyp0_.m_warehouse_id = ? and pricingpro2_.m_pricelist_version_id = ? and (productbyp0_.ad_org_id in (...)) and productbyp0_.isactive = ? and ad_org_isinnaturaltree (productbyp0_.orgwarehouse, ?, ?) = ? and pricingpri4_.isactive = ? and ad_org_isinnaturaltree (pricingpro2_.ad_org_id, ?, ?) = ? and pricingpri8_.issopricelist = ? and pricingpri8_.c_currency_id = ? and (productbyp0_.ad_client_id in (...)) and productbyp0_.isactive = ? order by productbyp0_.qty_available, product1_.m_product_id limit ?;Times Reported Time consuming queries #12
Day Hour Count Duration Avg duration Jul 13 15 2 2s208ms 1s104ms [ User: tad - Total duration: 2s208ms - Times executed: 2 ]
[ Application: openbravo - Total duration: 2s208ms - Times executed: 2 ]
-
select productbyp0_.M_Product_Price_Warehouse_V_ID as m_produc1_496_, productbyp0_.AD_Client_ID as ad_clien2_496_, productbyp0_.AD_Org_ID as ad_org_i3_496_, productbyp0_.Isactive as isactive4_496_, productbyp0_.Updated as updated5_496_, productbyp0_.Updatedby as updatedb6_496_, productbyp0_.Created as created7_496_, productbyp0_.Createdby as createdb8_496_, productbyp0_.M_Product_ID as m_produc9_496_, productbyp0_.M_Warehouse_ID as m_wareh10_496_, productbyp0_.M_Productprice_ID as m_produ11_496_, productbyp0_.QTY_Available as qty_ava12_496_, productbyp0_.QTY_Onhand as qty_onh13_496_, productbyp0_.QTY_Reserved as qty_res14_496_, productbyp0_.QTY_Ordered as qty_ord15_496_, productbyp0_.Pricelist as priceli16_496_, productbyp0_.Pricestd as pricest17_496_, productbyp0_.Pricelimit as priceli18_496_, productbyp0_.Orgwarehouse as orgware19_496_ from M_Product_Price_Warehouse_v productbyp0_ inner join M_Product product1_ on productbyp0_.M_Product_ID = product1_.M_Product_ID cross join M_ProductPrice pricingpro2_ cross join M_PriceList_Version pricingpri4_ cross join M_PriceList pricingpri8_ where productbyp0_.M_Productprice_ID = pricingpro2_.M_ProductPrice_ID and pricingpro2_.M_PriceList_Version_ID = pricingpri4_.M_PriceList_Version_ID and pricingpri4_.M_PriceList_ID = pricingpri8_.M_PriceList_ID and productbyp0_.M_Warehouse_ID = '6F618729B86C4789AF3EC693A15D4785' and pricingpro2_.M_PriceList_Version_ID = '1000109' and (productbyp0_.AD_Org_ID in ('0', 'C34A537D1464452783C0A7C7C913FC86', '4A2127624482427B8B0BE0DD8ABF92D4', '3724B485FEC444038C28CAEE0F24E7E6', 'B2834B32C6C2488CA31DE4D756AD4A5F')) and productbyp0_.Isactive = 'Y' and AD_ORG_ISINNATURALTREE (productbyp0_.Orgwarehouse, 'B2834B32C6C2488CA31DE4D756AD4A5F', '4E7785E633254999A6D7545B0BE57A46') = 'Y' and pricingpri4_.IsActive = 'Y' and AD_ORG_ISINNATURALTREE (pricingpro2_.AD_Org_ID, 'B2834B32C6C2488CA31DE4D756AD4A5F', '4E7785E633254999A6D7545B0BE57A46') = 'Y' and pricingpri8_.IsSOPriceList = 'Y' and pricingpri8_.C_Currency_ID = '102' and (productbyp0_.AD_Client_ID in ('4E7785E633254999A6D7545B0BE57A46', '0')) and productbyp0_.Isactive = 'Y' order by productbyp0_.QTY_Available, product1_.M_Product_ID limit '76';
Date: 2026-07-13 15:43:58 Duration: 1s133ms Database: etendo User: tad Remote: 127.0.0.1 Application: openbravo Bind query: yes
-
select productbyp0_.M_Product_Price_Warehouse_V_ID as m_produc1_496_, productbyp0_.AD_Client_ID as ad_clien2_496_, productbyp0_.AD_Org_ID as ad_org_i3_496_, productbyp0_.Isactive as isactive4_496_, productbyp0_.Updated as updated5_496_, productbyp0_.Updatedby as updatedb6_496_, productbyp0_.Created as created7_496_, productbyp0_.Createdby as createdb8_496_, productbyp0_.M_Product_ID as m_produc9_496_, productbyp0_.M_Warehouse_ID as m_wareh10_496_, productbyp0_.M_Productprice_ID as m_produ11_496_, productbyp0_.QTY_Available as qty_ava12_496_, productbyp0_.QTY_Onhand as qty_onh13_496_, productbyp0_.QTY_Reserved as qty_res14_496_, productbyp0_.QTY_Ordered as qty_ord15_496_, productbyp0_.Pricelist as priceli16_496_, productbyp0_.Pricestd as pricest17_496_, productbyp0_.Pricelimit as priceli18_496_, productbyp0_.Orgwarehouse as orgware19_496_ from M_Product_Price_Warehouse_v productbyp0_ inner join M_Product product1_ on productbyp0_.M_Product_ID = product1_.M_Product_ID cross join M_ProductPrice pricingpro2_ cross join M_PriceList_Version pricingpri4_ cross join M_PriceList pricingpri8_ where productbyp0_.M_Productprice_ID = pricingpro2_.M_ProductPrice_ID and pricingpro2_.M_PriceList_Version_ID = pricingpri4_.M_PriceList_Version_ID and pricingpri4_.M_PriceList_ID = pricingpri8_.M_PriceList_ID and productbyp0_.M_Warehouse_ID = '6F618729B86C4789AF3EC693A15D4785' and pricingpro2_.M_PriceList_Version_ID = '1000112' and (productbyp0_.AD_Org_ID in ('0', 'C34A537D1464452783C0A7C7C913FC86', '4A2127624482427B8B0BE0DD8ABF92D4', '3724B485FEC444038C28CAEE0F24E7E6', 'B2834B32C6C2488CA31DE4D756AD4A5F')) and productbyp0_.Isactive = 'Y' and AD_ORG_ISINNATURALTREE (productbyp0_.Orgwarehouse, 'B2834B32C6C2488CA31DE4D756AD4A5F', '4E7785E633254999A6D7545B0BE57A46') = 'Y' and pricingpri4_.IsActive = 'Y' and AD_ORG_ISINNATURALTREE (pricingpro2_.AD_Org_ID, 'B2834B32C6C2488CA31DE4D756AD4A5F', '4E7785E633254999A6D7545B0BE57A46') = 'Y' and pricingpri8_.IsSOPriceList = 'Y' and pricingpri8_.C_Currency_ID = '102' and (productbyp0_.AD_Client_ID in ('4E7785E633254999A6D7545B0BE57A46', '0')) and productbyp0_.Isactive = 'Y' order by productbyp0_.QTY_Available, product1_.M_Product_ID limit '76';
Date: 2026-07-13 15:52:36 Duration: 1s75ms Database: etendo User: tad Remote: 127.0.0.1 Application: openbravo Bind query: yes
13 1s3ms 1s3ms 1s3ms 1 1s3ms select * from ( select c_invoice_id as referencekey_id, ? as ad_role_id, null as ad_user_id, ? as description, ? as isactive, c_invoice.ad_org_id as ad_org_id, c_invoice.ad_client_id as ad_client_id, now() as created, ? as createdby, now() as updated, ? as updatedby, ad_column_identifier (?, c_invoice_id, ?) as record_id, posted from c_invoice, c_doctype where c_invoice.c_doctype_id = c_doctype.c_doctype_id and c_doctype.docbasetype in (...) and not exists ( select ? from c_period where c_period.startdate <= trunc(dateacct) and trunc(dateacct) <= c_period.enddate) group by c_invoice_id, posted, c_invoice.ad_org_id, c_invoice.ad_client_id) 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 #13
Day Hour Count Duration Avg duration Jul 13 10 1 1s3ms 1s3ms [ User: tad - Total duration: 1s3ms - Times executed: 1 ]
[ Application: openbravo - Total duration: 1s3ms - Times executed: 1 ]
-
SELECT * FROM ( select C_INVOICE_id as referencekey_id, '0' as ad_role_id, null as ad_user_id, 'SALES INVOICE ACCOUNTING DATE NOT IN A PERIOD' as description, 'Y' as isActive, C_INVOICE.ad_org_id as ad_org_id, C_INVOICE.ad_client_id as 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, posted FROM C_INVOICE, c_doctype WHERE C_INVOICE.c_doctype_id = c_doctype.c_doctype_id and c_doctype.docbasetype IN ('ARI', 'ARC', 'ARF') and not exists ( select 1 from c_period where c_period.startdate <= TRUNC(dateacct) and TRUNC(dateacct) <= c_period.enddate) GROUP BY C_INVOICE_id, posted, C_INVOICE.ad_org_id, C_INVOICE.ad_client_id) AAA where not exists ( select 1 from ad_alert a where a.ad_alertrule_id = '9949239808164E51ADF2E6B1E8DF6D63' and a.referencekey_id = aaa.referencekey_id and coalesce(a.status, 'NEW') != 'SOLVED');
Date: 2026-07-13 10:00:01 Duration: 1s3ms Database: etendo User: tad Remote: 127.0.0.1 Application: openbravo Bind query: yes
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
- 69,861 Event entries
- (EVENTLOG entries are formaly LOG level entries that are not queries)
Events distribution (except queries)
Key values
- 0 PANIC entries
- 0 FATAL entries
- 8 ERROR entries
- 0 WARNING entries
- 0 EVENTLOG entries
Most Frequent Errors/Events
Key values
- 4 Max number of times the same event was reported
- 8 Total events found
Rank Times reported Error 1 4 ERROR: @JR_RESTRICTION_BPARTNER_TICKET@
Times Reported Most Frequent Error / Event #1
Day Hour Count Jul 13 15 4 - ERROR: @JR_RESTRICTION_BPARTNER_TICKET@
- ERROR: @JR_RESTRICTION_BPARTNER_TICKET@
- ERROR: @JR_RESTRICTION_BPARTNER_TICKET@
Context: PL/pgSQL function jr_bpartner_ticket_restriction() line 9 at RAISE
Statement: update C_Order set Updated=$1, DocumentNo=$2, C_DocTypeTarget_ID=$3, PaymentRule=$4 where C_Order_ID=$5Date: 2026-07-13 15:51:05 Database: etendo Application: openbravo User: tad Remote: 127.0.0.1
Context: PL/pgSQL function jr_bpartner_ticket_restriction() line 9 at RAISE
Statement: update C_Order set Updated=$1, DocumentNo=$2, C_DocTypeTarget_ID=$3, PaymentRule=$4 where C_Order_ID=$5Date: 2026-07-13 15:51:07 Database: etendo Application: openbravo User: tad Remote: 127.0.0.1
Context: PL/pgSQL function jr_bpartner_ticket_restriction() line 9 at RAISE
Statement: update C_Order set Updated=$1, DocumentNo=$2, C_DocTypeTarget_ID=$3, PaymentRule=$4 where C_Order_ID=$5Date: 2026-07-13 15:51:37 Database: etendo Application: openbravo User: tad Remote: 127.0.0.1
2 2 ERROR: @PRIUTI_LINES_INVOICED_ERROR@ - PC/26/668 - 18-06-2026 - 174.24 - 20 - 39.00
Times Reported Most Frequent Error / Event #2
Day Hour Count Jul 13 09 2 - ERROR: @PRIUTI_LINES_INVOICED_ERROR@ - PC/26/668 - 18-06-2026 - 174.24 - 20 - 39.00
- ERROR: @PRIUTI_LINES_INVOICED_ERROR@ - PC/26/668 - 18-06-2026 - 174.24 - 20 - 39.00
Context: PL/pgSQL function priuti_validate_il_trg() line 56 at RAISE
Statement: insert into C_InvoiceLine (AD_Client_ID, AD_Org_ID, IsActive, Created, CreatedBy, Updated, UpdatedBy, C_Invoice_ID, C_OrderLine_ID, M_InOutLine_ID, Line, Financial_Invoice_Line, M_Product_ID, QtyInvoiced, PriceList, PriceActual, PriceLimit, LineNetAmt, C_UOM_ID, C_Tax_ID, IsDescription, PriceStd, Excludeforwithholding, Iseditlinenetamt, Taxbaseamt, Line_Gross_Amount, Gross_Unit_Price, grosspricestd, Grosspricelist, IsDeferred, Explode, Match_Lccosts, CANCELPRICEAD, EM_Priuti_Discount, EM_Priuti_Updatepricelist, EM_Priuti_Pricelist_Updated, EM_Priuti_Changeprice, C_InvoiceLine_ID) values ($1, $2, $3, $4, $5, $6, $7, $8, $9, $10, $11, $12, $13, $14, $15, $16, $17, $18, $19, $20, $21, $22, $23, $24, $25, $26, $27, $28, $29, $30, $31, $32, $33, $34, $35, $36, $37, $38)Date: 2026-07-13 09:10:28 Database: etendo Application: openbravo User: tad Remote: 127.0.0.1
Context: PL/pgSQL function priuti_validate_il_trg() line 56 at RAISE
Statement: insert into C_InvoiceLine (AD_Client_ID, AD_Org_ID, IsActive, Created, CreatedBy, Updated, UpdatedBy, C_Invoice_ID, C_OrderLine_ID, M_InOutLine_ID, Line, Financial_Invoice_Line, M_Product_ID, QtyInvoiced, PriceList, PriceActual, PriceLimit, LineNetAmt, C_UOM_ID, C_Tax_ID, IsDescription, PriceStd, Excludeforwithholding, Iseditlinenetamt, Taxbaseamt, Line_Gross_Amount, Gross_Unit_Price, grosspricestd, Grosspricelist, IsDeferred, Explode, Match_Lccosts, CANCELPRICEAD, EM_Priuti_Discount, EM_Priuti_Updatepricelist, EM_Priuti_Pricelist_Updated, EM_Priuti_Changeprice, C_InvoiceLine_ID) values ($1, $2, $3, $4, $5, $6, $7, $8, $9, $10, $11, $12, $13, $14, $15, $16, $17, $18, $19, $20, $21, $22, $23, $24, $25, $26, $27, $28, $29, $30, $31, $32, $33, $34, $35, $36, $37, $38)Date: 2026-07-13 09:27:02 Database: etendo Application: openbravo User: tad Remote: 127.0.0.1
3 1 ERROR: new row for relation "..." violates check constraint "..."
Times Reported Most Frequent Error / Event #3
Day Hour Count Jul 13 10 1 - ERROR: new row for relation "c_bp_bankaccount" violates check constraint "c_bp_bacc_showgeneric_chk"
Detail: Failing row contains (6549D66C0E694D4CBABAF7D69630CDAE, 4E7785E633254999A6D7545B0BE57A46, 0, 2026-07-13 10:38:31.774, 2026-07-13 10:38:31.774, Y, 1000006, 1000006, 0EAE68198EDF4CCDB1969748070FAC92, null, null, null, null, null, null, 2000, null, null, null, null, null, null, null, null, null, null, null, ES8500810082260001003006, null, null, 106, null, GENERIC, null, N).
Statement: insert into C_BP_BankAccount (AD_Client_ID, AD_Org_ID, Created, Updated, IsActive, CreatedBy, UpdatedBy, C_BPartner_ID, CreditCardExpYY, Bank_Name, C_Country_ID, EM_Etabam_Isdefault, BankFormat, C_BP_BankAccount_ID) values ($1, $2, $3, $4, $5, $6, $7, $8, $9, $10, $11, $12, $13, $14)Date: 2026-07-13 10:38:31 Database: etendo Application: openbravo User: tad Remote: 127.0.0.1
4 1 ERROR: @NotEnoughStocked@ @ForProduct@ BLOQUE 15 BASTO B. (...)
Times Reported Most Frequent Error / Event #4
Day Hour Count Jul 13 09 1 - ERROR: @NotEnoughStocked@ @ForProduct@ BLOQUE 15 BASTO B. (84)
Context: PL/pgSQL function c_order_post1(character varying,character varying,character varying) line 2019 at RAISE
Statement: SELECT c_order_post1($1,$2,$3) AS RESULT FROM DUALDate: 2026-07-13 09:55:20 Database: etendo Application: openbravo User: tad Remote: 127.0.0.1