View Issue Details

IDProjectCategoryView StatusLast Update
0001660OXID eShop (all versions)1.01. Products (product, categories, manufacturer, promotions etc.)public2012-12-07 14:15
ReporterLG Assigned To 
PrioritynormalSeveritymajorReproducibilityalways
Status resolvedResolutionfixed 
Product Version4.1.6 revision 22740 
Fixed in Version4.3.0 revision 26948 
Summary0001660: Heavy load from oxUtilsCount::getManufacturerArticleCount() because of Manufacturers with no articles
DescriptionProblem is with Manufacturers with no articles. oxUtilsCount::getManufacturerArticleCount() is trying to get results from DB and cache them: oxUtilsCount::setManufacturerArticleCount calculates cache only for Manufacturers with articles.

For example: I have 626 manufacturers and only 39 of them has articles at this moment. So, I'm getting a hit of 587 queries with execution time in total ~20seconds!!!

P.S. Don't ask me to clean-up manufacturers because I need them all :) I think this problem exists on all OXID 4.x versions.
TagsManufacturer
Theme
BrowserAll
PHP Versionany
Database Versionany

Activities

sarunas_valaskevicius

2010-03-23 16:03

reporter   ~0002424

fixed in oxUtilsCount