Queries: 1633, Total time: 771.747 ms [By time] [By id] [By file]
1 (0.399)
SELECT *
FROM oc_extension
WHERE `type` = 'openbay'
/var/www/www-root/data/www/badbedshop.ru/system/library/openbay.php:61
2 (0.482)
SELECT *
FROM oc_extension
WHERE `type` = 'openbay'
/var/www/www-root/data/www/badbedshop.ru/system/library/openbay.php:61
3 (0.547)
SELECT *
FROM oc_ocfilter_setting
/var/www/www-root/data/www/badbedshop.ru/system/library/ocfilter/setting.php:18
4 (4.485)
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.615)
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.578)
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.223)
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.242)
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.416)
SELECT *
FROM oc_extension
WHERE `type` = 'openbay'
/var/www/www-root/data/www/badbedshop.ru/system/library/openbay.php:61
10 (0.396)
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 (1.047)
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 (1.376)
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 = '95' 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.206)
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.429)
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 (76.240)
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 = '95' GROUP BY p.product_id
/var/www/www-root/data/www/badbedshop.ru/storage/modification/catalog/model/catalog/product.php:803
16 (81.719)
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 = '95' 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:367
17 (79.655)
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:829
18 (0.590)
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 = '11715' 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:518
19 (6.110)
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
20 (0.324)
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
21 (118.609)
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:829
22 (0.241)
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
23 (0.216)
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
24 (0.214)
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
25 (0.198)
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
26 (0.177)
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
27 (0.175)
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
28 (2.338)
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
29 (2.138)
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
30 (0.334)
SELECT *
FROM oc_extension
WHERE `type` = 'analytics'
/var/www/www-root/data/www/badbedshop.ru/catalog/model/setting/extension.php:4
31 (2.371)
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
32 (0.404)
SELECT *
FROM oc_extension
WHERE `type` = 'total'
/var/www/www-root/data/www/badbedshop.ru/catalog/model/setting/extension.php:4