Anonymous | Login
Project:
RSS
  
News | My View | View Issues | Roadmap | Summary

View Issue DetailsJump to Notes ] Issue History ] Print ]
ID
0052716
TypeCategorySeverityReproducibilityDate SubmittedLast Update
design defect[Retail Modules] Web POSmajoralways2023-06-09 14:462025-02-02 06:22
ReportermalsasuaView Statuspublic 
Assigned ToRetail 
PriorityhighResolutionout of dateFixed in Version
StatusclosedFix in branchFixed in SCM revision
ProjectionnoneETAnoneTarget Version
OSAnyDatabaseAnyJava version
OS VersionDatabase versionAnt version
Product VersionSCM revision 
Merge Request Status
Review Assigned Toguillermogil
OBNetwork customerOBPS
Support ticket66295
Regression level
Regression date
Regression introduced in release
Regression introduced by commit
Triggers an Emergency PackNo
Summary

0052716: Performance issue with masterdata query: DiscountFilterProduct

DescriptionIn one customer with # of records:
- m_product: 622K
- m_offer_product: 332K
- m_offer: 700
the masterdata query DiscountFilterProduct takes more than 5 minutes

Explain Analyze:
https://explain.depesz.com/s/r75V#query [^]
Steps To Reproducen/a
TagsPerformance
Attached Files

- Relationships Relation Graph ] Dependency Graph ]
related to defect 0032962 closedmario_castello Retail Modules [SERQA 1095] Promotions are shown although their products are not included in the assorment 
related to defect 0052040 closedranjith_qualiantech_com Retail Modules Discount is applied to an excluded product if it is added in the assortment after setting the discount 
related to defect 0056806 closedsreehari POS2 Terminal OffLine Master Data DiscountFIlter call timeout 

-  Notes
(0152176)
guillermogil (viewer)
2023-07-07 06:15

Query has been reviewed and there is no room for improvement.
The only possibility is to remove filters and that will modify the output of the query so it will be reviewed as a Design Defect with Product Management so decissions can be taken.

The best approach taking into account the current case would be to create discounts based on characteristics or categories.
Also, after reviewing the current data it would be possible to remove some records of unused discounts filter by product. It will allow faster queries.

- Issue History
Date Modified Username Field Change
2023-06-09 14:46 malsasua New Issue
2023-06-09 14:46 malsasua Assigned To => Retail
2023-06-09 14:46 malsasua OBNetwork customer => OBPS
2023-06-09 14:46 malsasua Support ticket => 66295
2023-06-09 14:46 malsasua Triggers an Emergency Pack => No
2023-06-09 14:46 malsasua Tag Attached: Performance
2023-06-15 12:26 Practics Issue Monitored: Practics
2023-06-21 12:14 ranjith_qualiantech_com Assigned To Retail => ranjith_qualiantech_com
2023-06-21 12:14 ranjith_qualiantech_com Status new => scheduled
2023-06-21 14:13 ranjith_qualiantech_com Relationship added related to 0032962
2023-07-07 06:15 guillermogil Note Added: 0152176
2023-07-07 06:15 guillermogil Type defect => design defect
2023-07-07 06:16 guillermogil Relationship added related to 0052040
2023-07-07 07:03 ranjith_qualiantech_com Assigned To ranjith_qualiantech_com => Retail
2025-02-02 06:21 guillermogil Relationship added related to 0056806
2025-02-02 06:22 guillermogil Review Assigned To => guillermogil
2025-02-02 06:22 guillermogil Status scheduled => closed
2025-02-02 06:22 guillermogil Resolution open => out of date


Copyright © 2000 - 2009 MantisBT Group
Powered by Mantis Bugtracker