Openbravo Issue Tracking System - Modules
View Issue Details
0051089ModulesFrench Fiscalpublic2022-12-09 17:262023-11-07 15:51
egoitz 
 
immediatemajoralways
closedfixed 
5
 
 
0051089: Slowness on some queries of the module
The following query is slow on environment with huge volume of data
SELECT obpos_appl0_.EM_Obcfr_Isblockchained AS col_0_0_, coalesce(obcfrticke1_.Seqno, 0) AS col_1_0_, obcfrticke1_.Hash AS col_2_0_, '***' AS col_3_0_, ( SELECT coalesce(max(obcfr_bloc2_.Seqno), 0) FROM OBCFR_BlockchainIssue obcfr_bloc2_ WHERE obcfr_bloc2_.Entity = 'OBCFR_Ticket' AND coalesce(obcfr_bloc2_.Obpos_Applications_ID, obcfr_bloc2_.AD_Client_ID) = 'C5CBA19E2F6D492FBAD24041E7BC8286') AS col_4_0_ FROM OBPOS_APPLICATIONS obpos_appl0_ LEFT OUTER JOIN OBCFR_Ticket obcfrticke1_ ON obpos_appl0_.Obpos_Applications_ID = obcfrticke1_.Obpos_Applications_ID WHERE obpos_appl0_.Obpos_Applications_ID = 'C5CBA19E2F6D492FBAD24041E7BC8286' AND coalesce(obcfrticke1_.Seqno, 0) = coalesce(( SELECT max(obcfr_tick3_.Seqno) FROM OBCFR_Ticket obcfr_tick3_ WHERE obcfr_tick3_.Obpos_Applications_ID = 'C5CBA19E2F6D492FBAD24041E7BC8286'), 0);
No tags attached.
has duplicate defect 0049792 closed egoitz Openbravo Localizations Some queries are slow, and read lot of information from disk on environment with millioins of transation. 
has duplicate defect 0052132 closed francisco_ofarril Modules Query generates locks on node A of the database server. 
Issue History
2022-12-09 17:26egoitzNew Issue
2022-12-09 17:26egoitzAssigned To => psanjuan
2022-12-12 08:56psanjuanAssigned Topsanjuan => aferraz
2022-12-12 11:40aferrazSteps to Reproduce Updatedbug_revision_view_page.php?rev_id=25223#r25223
2022-12-12 17:32aferrazAssigned Toaferraz => francisco_ofarril
2022-12-16 15:33hgbotNote Added: 0144786
2022-12-21 16:35hgbotNote Added: 0144906
2022-12-21 18:00hgbotNote Added: 0144909
2022-12-21 18:00hgbotResolutionopen => fixed
2022-12-21 18:00hgbotStatusnew => closed
2022-12-21 18:00hgbotNote Added: 0144910
2022-12-21 18:01hgbotNote Added: 0144911
2022-12-21 18:01hgbotNote Added: 0144912
2022-12-22 14:23francisco_ofarrilStatusclosed => new
2022-12-22 14:23francisco_ofarrilResolutionfixed => open
2022-12-22 14:23francisco_ofarrilStatusnew => acknowledged
2022-12-22 14:24francisco_ofarrilStatusacknowledged => scheduled
2022-12-22 14:24francisco_ofarrilStatusscheduled => resolved
2022-12-22 14:24francisco_ofarrilResolutionopen => fixed
2022-12-27 16:25aferrazStatusresolved => closed
2023-03-10 14:19francisco_ofarrilStatusclosed => new
2023-03-10 14:19francisco_ofarrilResolutionfixed => open
2023-03-10 14:19francisco_ofarrilStatusnew => scheduled
2023-03-13 12:05aferrazStatusscheduled => resolved
2023-03-13 12:05aferrazResolutionopen => fixed
2023-03-13 12:05aferrazStatusresolved => closed
2023-03-13 14:49hgbotNote Added: 0147491
2023-03-15 15:07hgbotNote Added: 0147564
2023-03-20 13:26aferrazRelationship addedhas duplicate 0049792
2023-05-02 18:46aferrazRelationship addedhas duplicate 0052132
2023-11-07 15:51psanjuanProjectOpenbravo Localizations => Modules
2023-11-07 15:51psanjuanAssigned Tofrancisco_ofarril =>
2023-11-07 15:51psanjuanCategoryLocalization France => French Fiscal

Notes
(0144786)
hgbot   
2022-12-16 15:33   
Merge Request created: https://gitlab.com/openbravo/ci/modules/org.openbravo.certification.france.dev/-/merge_requests/29 [^]
(0144906)
hgbot   
2022-12-21 16:35   
Merge Request created: https://gitlab.com/openbravo/product/pmods/org.openbravo.certification.france/-/merge_requests/5 [^]
(0144909)
hgbot   
2022-12-21 18:00   
Merge request merged: https://gitlab.com/openbravo/ci/modules/org.openbravo.certification.france.dev/-/merge_requests/29 [^]
(0144910)
hgbot   
2022-12-21 18:00   
Directly closing issue as related merge request is already approved.

Repository: https://gitlab.com/openbravo/ci/modules/org.openbravo.certification.france.dev [^]
Changeset: 0bbf4a121c2344a831756551ba34e9290b324a39
Author: Francisco Javier Deler O'Farril <francisco.ofarril@openbravo.com>
Date: 21-12-2022 17:00:44
URL: https://gitlab.com/openbravo/ci/modules/org.openbravo.certification.france.dev/-/commit/0bbf4a121c2344a831756551ba34e9290b324a39 [^]

Fixes ISSUE-51089: Improve performance of the query to load terminalHtml terminal property in POS

---
M src-db/database/sourcedata/AD_MODULE.xml
M src/org/openbravo/certification/france/ui/UIComponentQuery.java
---
(0144911)
hgbot   
2022-12-21 18:01   
Directly closing issue as related merge request is already approved.

Repository: https://gitlab.com/openbravo/product/pmods/org.openbravo.certification.france [^]
Changeset: 6a90ba360904e9e650c780d0fa1094ea9ce945e3
Author: Álvaro Ferraz <alvaro.ferraz@openbravo.com>
Date: 21-12-2022 17:01:28
URL: https://gitlab.com/openbravo/product/pmods/org.openbravo.certification.france/-/commit/6a90ba360904e9e650c780d0fa1094ea9ce945e3 [^]

Fixes ISSUE-51089: Improve performance of the query to load terminalHtml terminal property in POS

---
M lib/runtime/org.openbravo.certification.france-1.0.jar
M src-db/database/sourcedata/AD_MODULE.xml
---
(0144912)
hgbot   
2022-12-21 18:01   
Merge request merged: https://gitlab.com/openbravo/product/pmods/org.openbravo.certification.france/-/merge_requests/5 [^]
(0147491)
hgbot   
2023-03-13 14:49   
Repository: https://gitlab.com/openbravo/ci/modules/org.openbravo.certification.france.dev [^]
Changeset: babcb1c64497a2560005177e08163bad144404d9
Author: Francisco Javier Deler O'Farril <francisco.ofarril@openbravo.com>
Date: 13-03-2023 13:49:05
URL: https://gitlab.com/openbravo/ci/modules/org.openbravo.certification.france.dev/-/commit/babcb1c64497a2560005177e08163bad144404d9 [^]

Related to ISSUE-51089: Improve performance of the query to load terminalHtml terminal property in POS - 19q3 backport

---
M src-db/database/sourcedata/AD_MODULE.xml
M src/org/openbravo/certification/france/ui/UIComponentQuery.java
---
(0147564)
hgbot   
2023-03-15 15:07   
Repository: https://gitlab.com/openbravo/product/pmods/org.openbravo.certification.france [^]
Changeset: e99a864b8d65dabe4ecbc7746652b0cd95bcb5f0
Author: Francisco Javier Deler O'Farril <francisco.ofarril@openbravo.com>
Date: 15-03-2023 14:07:06
URL: https://gitlab.com/openbravo/product/pmods/org.openbravo.certification.france/-/commit/e99a864b8d65dabe4ecbc7746652b0cd95bcb5f0 [^]

Related to ISSUE-51089: Improve performance of the query to load terminalHtml terminal property in POS - 19q3 backport.

Obfuscate from https://gitlab.com/openbravo/ci/modules/org.openbravo.certification.france.dev/-/commit/babcb1c64497a2560005177e08163bad [^]

---
M lib/runtime/org.openbravo.certification.france-1.0.jar
M src-db/database/sourcedata/AD_MODULE.xml
---