Project:
View Issue Details[ Jump to Notes ] | [ Issue History ] [ Print ] | |||||||
ID | ||||||||
0056806 | ||||||||
Type | Category | Severity | Reproducibility | Date Submitted | Last Update | |||
defect | [POS2] POS | major | always | 2024-10-16 14:31 | 2024-11-16 06:33 | |||
Reporter | fermin_ostivar | View Status | public | |||||
Assigned To | sreehari | |||||||
Priority | normal | Resolution | fixed | Fixed in Version | ||||
Status | closed | Fix in branch | Fixed in SCM revision | |||||
Projection | none | ETA | none | Target Version | ||||
OS | Any | Database | Any | Java version | ||||
OS Version | Database version | Ant version | ||||||
Product Version | SCM revision | |||||||
Merge Request Status | approved | |||||||
Review Assigned To | ||||||||
OBNetwork customer | No | |||||||
Support ticket | 111587 | |||||||
Regression level | ||||||||
Regression date | ||||||||
Regression introduced in release | ||||||||
Regression introduced by commit | ||||||||
Triggers an Emergency Pack | No | |||||||
Summary | 0056806: Terminal OffLine Master Data DiscountFIlter call timeout | |||||||
Description | The Master Data call DiscountFilterProduct has a bad performance on incremental refresh | |||||||
Steps To Reproduce | Set a number of discounts assigning several products and execute incremental refresh on the till adding new discounts and products. | |||||||
Tags | No tags attached. | |||||||
Attached Files | ![]() ![]() ![]() | |||||||
![]() |
|||||||||||||||||
|
![]() |
|
(0171056) sreehari (viewer) 2024-10-28 15:02 edited on: 2024-10-28 15:07 |
Have attached the HQL & SQL queries on masterdata modal "DiscountFilterProduct". Also attached the query-plan, which has the execution details of the existing query. Have added additional index on "M_Offer.ad_client_id" and "M_Offer_PriceList.m_pricelist_id" but still no big difference on the execution time. Attaching the link showing the index execution of the tables involed in the query https://explain.depesz.com/s/FZd2#stats [^] NOTE: The query execution was around 20 to 23 seconds which is tested with 300k+ records on related tables |
(0171462) hgbot (developer) 2024-11-06 06:03 |
Merge Request created: https://gitlab.com/openbravo/product/pmods/org.openbravo.retail.posterminal/-/merge_requests/1754 [^] |
(0171783) hgbot (developer) 2024-11-12 07:45 |
Directly closing issue as related merge request is already approved. Repository: https://gitlab.com/openbravo/product/pmods/org.openbravo.retail.posterminal [^] Changeset: a393ba3b9e5e575a07f7bc685df33a476e68903f Author: Sreehari Venkataraman <s.venkataraman@external.orisha.com> Date: 12-11-2024 06:45:14 URL: https://gitlab.com/openbravo/product/pmods/org.openbravo.retail.posterminal/-/commit/a393ba3b9e5e575a07f7bc685df33a476e68903f [^] Fixes ISSUE-56806: Used Preference to avoid joins for faster performance --- M src-db/database/sourcedata/AD_PREFERENCE.xml M src-db/database/sourcedata/AD_REF_LIST.xml M src/org/openbravo/retail/posterminal/master/Discount.java M src/org/openbravo/retail/posterminal/master/DiscountFilterProduct.java M src/org/openbravo/retail/posterminal/master/DiscountFilterProductProperties.java --- |
(0171784) hgbot (developer) 2024-11-12 07:45 |
Merge request merged: https://gitlab.com/openbravo/product/pmods/org.openbravo.retail.posterminal/-/merge_requests/1754 [^] |
![]() |
|||
Date Modified | Username | Field | Change |
2024-10-16 14:31 | fermin_ostivar | New Issue | |
2024-10-16 14:31 | fermin_ostivar | Assigned To | => Retail |
2024-10-16 14:31 | fermin_ostivar | OBNetwork customer | => No |
2024-10-16 14:31 | fermin_ostivar | Support ticket | => 111587 |
2024-10-16 14:31 | fermin_ostivar | Triggers an Emergency Pack | => No |
2024-10-17 23:48 | guilleaer | Status | new => acknowledged |
2024-10-23 09:11 | guillermogil | Assigned To | Retail => jorgewederago |
2024-10-23 10:28 | guilleaer | Assigned To | jorgewederago => guilleaer |
2024-10-23 11:03 | sreehari | Assigned To | guilleaer => sreehari |
2024-10-23 11:03 | sreehari | Status | acknowledged => scheduled |
2024-10-28 14:58 | sreehari | File Added: query-plan.csv | |
2024-10-28 14:59 | sreehari | File Added: HQL-Query | |
2024-10-28 14:59 | sreehari | File Added: SQL-Query | |
2024-10-28 15:02 | sreehari | Note Added: 0171056 | |
2024-10-28 15:07 | sreehari | Note Edited: 0171056 | View Revisions |
2024-11-06 06:03 | hgbot | Merge Request Status | => open |
2024-11-06 06:03 | hgbot | Note Added: 0171462 | |
2024-11-11 08:30 | hgbot | Merge Request Status | open => approved |
2024-11-12 07:45 | hgbot | Resolution | open => fixed |
2024-11-12 07:45 | hgbot | Status | scheduled => closed |
2024-11-12 07:45 | hgbot | Fixed in Version | => RR25Q1 |
2024-11-12 07:45 | hgbot | Note Added: 0171783 | |
2024-11-12 07:45 | hgbot | Note Added: 0171784 | |
2024-11-16 06:33 | guillermogil | Relationship added | causes 0057118 |
2025-02-02 06:21 | guillermogil | Relationship added | related to 0052716 |
Copyright © 2000 - 2009 MantisBT Group |