Queries: 1628, Total time: 1,662.831 ms [By time] [By id] [By file]
1 (0.727)
SELECT *
FROM oc_extension
WHERE `type` = 'openbay'
/var/www/www-root/data/www/badbedshop.ru/system/library/openbay.php:61
2 (0.613)
SELECT *
FROM oc_extension
WHERE `type` = 'openbay'
/var/www/www-root/data/www/badbedshop.ru/system/library/openbay.php:61
3 (0.562)
SELECT *
FROM oc_ocfilter_setting
/var/www/www-root/data/www/badbedshop.ru/system/library/ocfilter/setting.php:18
4 (4.255)
SELECT *
FROM `oc_setting`
WHERE store_id = '0' OR store_id = '0'
ORDER BY store_id ASC
/var/www/www-root/data/www/badbedshop.ru/storage/modification/catalog/controller/startup/startup.php:31
5 (0.512)
SELECT tr1.tax_class_id, tr2.tax_rate_id, tr2.name, tr2.rate, tr2.type, tr1.priority
FROM oc_tax_rule tr1
LEFT JOIN oc_tax_rate tr2 ON (tr1.tax_rate_id = tr2.tax_rate_id)
INNER JOIN oc_tax_rate_to_customer_group tr2cg ON (tr2.tax_rate_id = tr2cg.tax_rate_id)
LEFT JOIN oc_zone_to_geo_zone z2gz ON (tr2.geo_zone_id = z2gz.geo_zone_id)
LEFT JOIN oc_geo_zone gz ON (tr2.geo_zone_id = gz.geo_zone_id)
WHERE tr1.based = 'shipping' AND tr2cg.customer_group_id = '1' AND z2gz.country_id = '176' AND (z2gz.zone_id = '0' OR z2gz.zone_id = '2761')
ORDER BY tr1.priority ASC
/var/www/www-root/data/www/badbedshop.ru/storage/modification/system/library/cart/tax.php:16
6 (0.629)
SELECT tr1.tax_class_id, tr2.tax_rate_id, tr2.name, tr2.rate, tr2.type, tr1.priority
FROM oc_tax_rule tr1
LEFT JOIN oc_tax_rate tr2 ON (tr1.tax_rate_id = tr2.tax_rate_id)
INNER JOIN oc_tax_rate_to_customer_group tr2cg ON (tr2.tax_rate_id = tr2cg.tax_rate_id)
LEFT JOIN oc_zone_to_geo_zone z2gz ON (tr2.geo_zone_id = z2gz.geo_zone_id)
LEFT JOIN oc_geo_zone gz ON (tr2.geo_zone_id = gz.geo_zone_id)
WHERE tr1.based = 'store' AND tr2cg.customer_group_id = '1' AND z2gz.country_id = '176' AND (z2gz.zone_id = '0' OR z2gz.zone_id = '2761')
ORDER BY tr1.priority ASC
/var/www/www-root/data/www/badbedshop.ru/storage/modification/system/library/cart/tax.php:44
7 (0.361)
SELECT *
FROM oc_weight_class wc
LEFT JOIN oc_weight_class_description wcd ON (wc.weight_class_id = wcd.weight_class_id)
WHERE wcd.language_id = '1'
/var/www/www-root/data/www/badbedshop.ru/system/library/cart/weight.php:10
8 (0.353)
SELECT *
FROM oc_length_class mc
LEFT JOIN oc_length_class_description mcd ON (mc.length_class_id = mcd.length_class_id)
WHERE mcd.language_id = '1'
/var/www/www-root/data/www/badbedshop.ru/system/library/cart/length.php:10
9 (0.452)
SELECT *
FROM oc_extension
WHERE `type` = 'openbay'
/var/www/www-root/data/www/badbedshop.ru/system/library/openbay.php:61
10 (0.794)
SELECT *
FROM `oc_event`
WHERE `trigger` LIKE 'catalog/%' AND status = '1'
ORDER BY `sort_order` ASC
/var/www/www-root/data/www/badbedshop.ru/catalog/model/setting/event.php:4
11 (0.860)
SELECT category_id, parent_id
FROM oc_category
WHERE status = 1
ORDER BY parent_id
/var/www/www-root/data/www/badbedshop.ru/storage/modification/system/library/seopro.php:465
12 (4.229)
SELECT DISTINCT *
FROM oc_manufacturer m
LEFT JOIN oc_manufacturer_description md ON (m.manufacturer_id = md.manufacturer_id)
LEFT JOIN oc_manufacturer_to_store m2s ON (m.manufacturer_id = m2s.manufacturer_id)
WHERE m.manufacturer_id = '387' AND md.language_id = '1' AND m2s.store_id = '0'
/var/www/www-root/data/www/badbedshop.ru/catalog/model/catalog/manufacturer.php:17
13 (0.519)
SELECT *
FROM oc_layout_route
WHERE 'product/manufacturer/info' LIKE route AND store_id = '0'
ORDER BY route DESC LIMIT 1
/var/www/www-root/data/www/badbedshop.ru/catalog/model/design/layout.php:4
14 (0.190)
SELECT *
FROM oc_layout_module
WHERE layout_id = '17' AND `code` = 'ocfilter'
/var/www/www-root/data/www/badbedshop.ru/system/library/ocfilter/core.php:78
15 (206.505)
SELECT COUNT(DISTINCT p.product_id) AS total
FROM oc_product p
LEFT JOIN oc_product_description pd ON (p.product_id = pd.product_id)
LEFT JOIN oc_product_to_store p2s ON (p.product_id = p2s.product_id)
WHERE pd.language_id = '1' AND p.status = '1' AND p.date_available <= NOW() AND p2s.store_id = '0' AND p.manufacturer_id = '387' GROUP BY p.product_id
/var/www/www-root/data/www/badbedshop.ru/storage/modification/catalog/model/catalog/product.php:787
16 (295.430)
SELECT p.product_id, (SELECT AVG(rating) AS total
FROM oc_review r1
WHERE r1.product_id = p.product_id AND r1.status = '1' GROUP BY r1.product_id) AS rating, (SELECT price
FROM oc_product_discount pd2
WHERE pd2.product_id = p.product_id AND pd2.customer_group_id = '1' AND pd2.quantity = '1' AND ((pd2.date_start = '0000-00-00' OR pd2.date_start < NOW()) AND (pd2.date_end = '0000-00-00' OR pd2.date_end > NOW()))
ORDER BY pd2.priority ASC, pd2.price ASC LIMIT 1) AS discount, (SELECT price
FROM oc_product_special ps
WHERE ps.product_id = p.product_id AND ps.customer_group_id = '1' AND ((ps.date_start = '0000-00-00' OR ps.date_start < NOW()) AND (ps.date_end = '0000-00-00' OR ps.date_end > NOW()))
ORDER BY ps.priority ASC, ps.price ASC LIMIT 1) AS special, coalesce((SELECT price
FROM oc_product_discount pd2
WHERE pd2.product_id = p.product_id AND pd2.customer_group_id = '1' AND pd2.quantity = '1' AND ((pd2.date_start = '0000-00-00' OR pd2.date_start < NOW()) AND (pd2.date_end = '0000-00-00' OR pd2.date_end > NOW()))
ORDER BY pd2.priority ASC, pd2.price ASC LIMIT 1), (SELECT price
FROM oc_product_special ps
WHERE ps.product_id = p.product_id AND ps.customer_group_id = '1' AND ((ps.date_start = '0000-00-00' OR ps.date_start < NOW()) AND (ps.date_end = '0000-00-00' OR ps.date_end > NOW()))
ORDER BY ps.priority ASC, ps.price ASC LIMIT 1), p.price) as realprice, p.quantity
FROM oc_product p
LEFT JOIN oc_product_description pd ON (p.product_id = pd.product_id)
LEFT JOIN oc_product_to_store p2s ON (p.product_id = p2s.product_id)
WHERE pd.language_id = '1' AND p.status = '1' AND p.date_available <= NOW() AND p2s.store_id = '0' AND p.manufacturer_id = '387' GROUP BY p.product_id
ORDER BY (p.quantity>0) DESC, p.sort_order ASC, LCASE(pd.name) ASC LIMIT 0,40
/var/www/www-root/data/www/badbedshop.ru/storage/modification/catalog/model/catalog/product.php:356
17 (134.053)
SELECT p.product_id
FROM oc_product p
LEFT JOIN oc_product_to_store p2s ON (p.product_id = p2s.product_id)
WHERE p.status = '1' AND p.date_available <= NOW() AND p.date_added <= NOW() AND p.date_added > DATE_SUB(CURDATE(), INTERVAL 7 DAY) AND p2s.store_id = '0'
ORDER BY p.date_added DESC
/var/www/www-root/data/www/badbedshop.ru/storage/modification/catalog/model/catalog/product.php:813
18 (0.633)
SELECT ag.attribute_group_id, agd.name
FROM oc_product_attribute pa
LEFT JOIN oc_attribute a ON (pa.attribute_id = a.attribute_id)
LEFT JOIN oc_attribute_group ag ON (a.attribute_group_id = ag.attribute_group_id)
LEFT JOIN oc_attribute_group_description agd ON (ag.attribute_group_id = agd.attribute_group_id)
WHERE pa.product_id = '31570' AND agd.language_id = '1' GROUP BY ag.attribute_group_id
ORDER BY ag.sort_order, agd.name
/var/www/www-root/data/www/badbedshop.ru/storage/modification/catalog/model/catalog/product.php:507
19 (0.364)
SELECT ag.attribute_group_id, agd.name
FROM oc_product_attribute pa
LEFT JOIN oc_attribute a ON (pa.attribute_id = a.attribute_id)
LEFT JOIN oc_attribute_group ag ON (a.attribute_group_id = ag.attribute_group_id)
LEFT JOIN oc_attribute_group_description agd ON (ag.attribute_group_id = agd.attribute_group_id)
WHERE pa.product_id = '31565' AND agd.language_id = '1' GROUP BY ag.attribute_group_id
ORDER BY ag.sort_order, agd.name
/var/www/www-root/data/www/badbedshop.ru/storage/modification/catalog/model/catalog/product.php:507
20 (0.180)
SELECT *
FROM oc_layout_route
WHERE 'product/manufacturer/info' LIKE route AND store_id = '0'
ORDER BY route DESC LIMIT 1
/var/www/www-root/data/www/badbedshop.ru/catalog/model/design/layout.php:4
21 (0.220)
SELECT *
FROM oc_layout_module
WHERE layout_id = '17' AND position = 'column_left'
ORDER BY sort_order
/var/www/www-root/data/www/badbedshop.ru/catalog/model/design/layout.php:14
22 (270.129)
SELECT p.product_id
FROM oc_product p
LEFT JOIN oc_product_to_store p2s ON (p.product_id = p2s.product_id)
WHERE p.status = '1' AND p.date_available <= NOW() AND p.date_added <= NOW() AND p.date_added > DATE_SUB(CURDATE(), INTERVAL 7 DAY) AND p2s.store_id = '0'
ORDER BY p.date_added DESC
/var/www/www-root/data/www/badbedshop.ru/storage/modification/catalog/model/catalog/product.php:813
23 (0.213)
SELECT *
FROM oc_layout_route
WHERE 'product/manufacturer/info' LIKE route AND store_id = '0'
ORDER BY route DESC LIMIT 1
/var/www/www-root/data/www/badbedshop.ru/catalog/model/design/layout.php:4
24 (0.196)
SELECT *
FROM oc_layout_module
WHERE layout_id = '17' AND position = 'column_right'
ORDER BY sort_order
/var/www/www-root/data/www/badbedshop.ru/catalog/model/design/layout.php:14
25 (0.203)
SELECT *
FROM oc_layout_route
WHERE 'product/manufacturer/info' LIKE route AND store_id = '0'
ORDER BY route DESC LIMIT 1
/var/www/www-root/data/www/badbedshop.ru/catalog/model/design/layout.php:4
26 (0.585)
SELECT *
FROM oc_layout_module
WHERE layout_id = '17' AND position = 'content_top'
ORDER BY sort_order
/var/www/www-root/data/www/badbedshop.ru/catalog/model/design/layout.php:14
27 (0.257)
SELECT *
FROM oc_layout_route
WHERE 'product/manufacturer/info' LIKE route AND store_id = '0'
ORDER BY route DESC LIMIT 1
/var/www/www-root/data/www/badbedshop.ru/catalog/model/design/layout.php:4
28 (0.261)
SELECT *
FROM oc_layout_module
WHERE layout_id = '17' AND position = 'content_bottom'
ORDER BY sort_order
/var/www/www-root/data/www/badbedshop.ru/catalog/model/design/layout.php:14
29 (2.084)
SELECT *
FROM oc_setting
WHERE store_id = '0' AND `code` = 'theme_prostoresoclinks'
/var/www/www-root/data/www/badbedshop.ru/catalog/model/setting/setting.php:6
30 (2.048)
SELECT *
FROM oc_setting
WHERE store_id = '0' AND `code` = 'theme_prostoremeslinks'
/var/www/www-root/data/www/badbedshop.ru/catalog/model/setting/setting.php:6
31 (0.424)
SELECT *
FROM oc_extension
WHERE `type` = 'analytics'
/var/www/www-root/data/www/badbedshop.ru/catalog/model/setting/extension.php:4
32 (2.215)
SELECT *
FROM oc_setting
WHERE store_id = '0' AND `code` = 'theme_prostoremeslinks'
/var/www/www-root/data/www/badbedshop.ru/catalog/model/setting/setting.php:6
33 (0.267)
SELECT *
FROM oc_extension
WHERE `type` = 'total'
/var/www/www-root/data/www/badbedshop.ru/catalog/model/setting/extension.php:4