Queries: 2128, Total time: 4,609.301 ms [By time] [By id] [By file]
1 (0.358)
SELECT *
FROM oc_extension
WHERE `type` = 'openbay'
/var/www/www-root/data/www/badbedshop.ru/system/library/openbay.php:61
2 (0.282)
SELECT *
FROM oc_extension
WHERE `type` = 'openbay'
/var/www/www-root/data/www/badbedshop.ru/system/library/openbay.php:61
3 (0.425)
SELECT *
FROM oc_ocfilter_setting
/var/www/www-root/data/www/badbedshop.ru/system/library/ocfilter/setting.php:18
4 (2.568)
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.577)
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.455)
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.171)
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.193)
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.329)
SELECT *
FROM oc_extension
WHERE `type` = 'openbay'
/var/www/www-root/data/www/badbedshop.ru/system/library/openbay.php:61
10 (0.312)
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.845)
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 (0.256)
SELECT *
FROM oc_layout_route
WHERE 'product/category' 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
13 (0.252)
SELECT *
FROM oc_layout_module
WHERE layout_id = '3' AND `code` = 'ocfilter'
/var/www/www-root/data/www/badbedshop.ru/system/library/ocfilter/core.php:78
14 (290.828)
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
15 (0.878)
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 = '208' 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
16 (0.888)
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 = '166' 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
17 (0.617)
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 = '184' 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
18 (0.917)
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 = '341' 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.394)
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 = '220' 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.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 = '265' 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
21 (0.637)
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 = '11603' 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
22 (0.416)
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 = '132' 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
23 (0.600)
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 = '11605' 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
24 (0.604)
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 = '250' 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
25 (0.672)
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 = '225' 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
26 (0.342)
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 = '270' 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
27 (0.426)
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 = '82' 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
28 (0.381)
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 = '21895' 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
29 (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 = '215' 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
30 (2.247)
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 = '21883' 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
31 (0.581)
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 = '27282' 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
32 (0.577)
SELECT *
FROM oc_layout_route
WHERE 'product/category' 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
33 (0.594)
SELECT *
FROM oc_layout_module
WHERE layout_id = '3' AND position = 'column_left'
ORDER BY sort_order
/var/www/www-root/data/www/badbedshop.ru/catalog/model/design/layout.php:14
34 (0.928)
SELECT *
FROM oc_layout_route
WHERE 'product/category' 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
35 (0.654)
SELECT *
FROM oc_layout_module
WHERE layout_id = '3' AND position = 'column_right'
ORDER BY sort_order
/var/www/www-root/data/www/badbedshop.ru/catalog/model/design/layout.php:14
36 (0.493)
SELECT *
FROM oc_layout_route
WHERE 'product/category' 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
37 (0.545)
SELECT *
FROM oc_layout_module
WHERE layout_id = '3' AND position = 'content_top'
ORDER BY sort_order
/var/www/www-root/data/www/badbedshop.ru/catalog/model/design/layout.php:14
38 (0.488)
SELECT *
FROM oc_layout_route
WHERE 'product/category' 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
39 (0.531)
SELECT *
FROM oc_layout_module
WHERE layout_id = '3' AND position = 'content_bottom'
ORDER BY sort_order
/var/www/www-root/data/www/badbedshop.ru/catalog/model/design/layout.php:14
40 (314.601)
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
41 (2.629)
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
42 (14.466)
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
43 (0.354)
SELECT *
FROM oc_extension
WHERE `type` = 'analytics'
/var/www/www-root/data/www/badbedshop.ru/catalog/model/setting/extension.php:4
44 (1.788)
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
45 (0.541)
SELECT *
FROM oc_extension
WHERE `type` = 'total'
/var/www/www-root/data/www/badbedshop.ru/catalog/model/setting/extension.php:4