Hello guys,
My magento store (2.3.1) has over 800,000 products. When I try to tun bin/magento image:catalog:resize it does resize only for 206905.
Any solution for this?
Hi @Vimal Kumar ,
thank you for your reply. There are 505652 records in catalog_product_entity_media_gallery table.
@chathuramk,
There may be many resons for this. As I mentioned in my previous post.
May be duplicate as well.
Check once real records count with below mysql query.
SELECT * FROM `catalog_product_entity_media_gallery_value_to_entity`
There may be some disabled products as well.
Try once records count with above query, then we can check real records as well after filter with same query for enabled products.
For enabled product query count for gallery :
SELECT count(*) FROM `catalog_product_entity_media_gallery_value_to_entity` where entity_id not in( SELECT entity_id FROM `catalog_product_entity_int` WHERE attribute_id = ( SELECT attribute_id FROM `eav_attribute` WHERE `attribute_code` LIKE 'status' ) AND `catalog_product_entity_int`.value = 2 )