18.63 ms (79.27%)
|
1 |
SELECT m0_.alias AS alias_0, m0_.lft AS lft_1, m0_.rgt AS rgt_2, m0_.lvl AS lvl_3, m0_.root AS root_4, m0_.id AS id_5, c1_.main_template AS main_template_6, c1_.product_template AS product_template_7, c1_.filterable AS filterable_8, c1_.id AS id_9, c1_.created_at AS created_at_10, c1_.updated_at AS updated_at_11, c2_.slug AS slug_12, c2_.title AS title_13, c2_.h1 AS h1_14, c2_.perex AS perex_15, c2_.description AS description_16, c2_.meta_title AS meta_title_17, c2_.meta_description AS meta_description_18, c2_.meta_keywords AS meta_keywords_19, c2_.locale AS locale_20, c2_.id AS id_21, i3_.name AS name_22, i3_.original_name AS original_name_23, i3_.mime_type AS mime_type_24, i3_.size AS size_25, i3_.width AS width_26, i3_.height AS height_27, i3_.id AS id_28, i3_.created_at AS created_at_29, i3_.updated_at AS updated_at_30, i4_.title AS title_31, i4_.keywords AS keywords_32, i4_.locale AS locale_33, i4_.id AS id_34, m0_.category_id AS category_id_35, m0_.parent_id AS parent_id_36, c1_.principal_image_id AS principal_image_id_37, c2_.translatable_id AS translatable_id_38, i4_.translatable_id AS translatable_id_39 FROM menu_sk m0_ LEFT JOIN category c1_ ON m0_.category_id = c1_.id LEFT JOIN category_translation c2_ ON c1_.id = c2_.translatable_id AND (c2_.locale IN (?)) LEFT JOIN image i3_ ON c1_.principal_image_id = i3_.id LEFT JOIN image_translation i4_ ON i3_.id = i4_.translatable_id AND (i4_.locale IN (?)) ORDER BY m0_.lft ASC
Parameters: [
"sk"
"sk"
]
SELECT m0_.alias AS alias_0, m0_.lft AS lft_1, m0_.rgt AS rgt_2, m0_.lvl AS lvl_3, m0_.root AS root_4, m0_.id AS id_5, c1_.main_template AS main_template_6, c1_.product_template AS product_template_7, c1_.filterable AS filterable_8, c1_.id AS id_9, c1_.created_at AS created_at_10, c1_.updated_at AS updated_at_11, c2_.slug AS slug_12, c2_.title AS title_13, c2_.h1 AS h1_14, c2_.perex AS perex_15, c2_.description AS description_16, c2_.meta_title AS meta_title_17, c2_.meta_description AS meta_description_18, c2_.meta_keywords AS meta_keywords_19, c2_.locale AS locale_20, c2_.id AS id_21, i3_.name AS name_22, i3_.original_name AS original_name_23, i3_.mime_type AS mime_type_24, i3_.size AS size_25, i3_.width AS width_26, i3_.height AS height_27, i3_.id AS id_28, i3_.created_at AS created_at_29, i3_.updated_at AS updated_at_30, i4_.title AS title_31, i4_.keywords AS keywords_32, i4_.locale AS locale_33, i4_.id AS id_34, m0_.category_id AS category_id_35, m0_.parent_id AS parent_id_36, c1_.principal_image_id AS principal_image_id_37, c2_.translatable_id AS translatable_id_38, i4_.translatable_id AS translatable_id_39 FROM menu_sk m0_ LEFT JOIN category c1_ ON m0_.category_id = c1_.id LEFT JOIN category_translation c2_ ON c1_.id = c2_.translatable_id AND (c2_.locale IN ('sk')) LEFT JOIN image i3_ ON c1_.principal_image_id = i3_.id LEFT JOIN image_translation i4_ ON i3_.id = i4_.translatable_id AND (i4_.locale IN ('sk')) ORDER BY m0_.lft ASC;
|
1.33 ms (5.67%)
|
1 |
SELECT MAX(s0_.amount) AS sclr_0, p1_.type AS type_1, p1_.warranty_years AS warranty_years_2, p1_.new AS new_3, p1_.id AS id_4, p1_.created_at AS created_at_5, p1_.updated_at AS updated_at_6, s2_.sku AS sku_7, s2_.quantity AS quantity_8, s2_.quantity_unit AS quantity_unit_9, s2_.ean_code AS ean_code_10, s2_.availability AS availability_11, s2_.`condition` AS condition_12, s2_.importable AS importable_13, s2_.tax_transferable AS tax_transferable_14, s2_.sale_count AS sale_count_15, s2_.disabled_at AS disabled_at_16, s2_.id AS id_17, s2_.created_at AS created_at_18, s2_.updated_at AS updated_at_19, s2_.enabled AS enabled_20, s0_.amount AS amount_21, s0_.tax_amount AS tax_amount_22, s0_.previous_amount AS previous_amount_23, s0_.previous_tax_amount AS previous_tax_amount_24, s0_.id AS id_25, s0_.created_at AS created_at_26, s0_.updated_at AS updated_at_27, t3_.rate AS rate_28, t3_.`precision` AS precision_29, t3_.id AS id_30, p1_.principal_category_id AS principal_category_id_31, p1_.principal_image_id AS principal_image_id_32, p1_.manufacturer_id AS manufacturer_id_33, p1_.product_class_id AS product_class_id_34, p1_.stock_id AS stock_id_35, s2_.group_id AS group_id_36, s0_.stock_id AS stock_id_37, s0_.store_id AS store_id_38, s0_.user_id AS user_id_39, s0_.tax_rate_id AS tax_rate_id_40, s0_.previous_tax_rate_id AS previous_tax_rate_id_41, t3_.store_id AS store_id_42 FROM product p1_ INNER JOIN stock s2_ ON p1_.stock_id = s2_.id INNER JOIN stock_price s0_ ON s2_.id = s0_.stock_id AND (s0_.store_id = ?) INNER JOIN tax_rate t3_ ON s0_.tax_rate_id = t3_.id LEFT JOIN product_category p4_ ON p1_.id = p4_.product_id WHERE p4_.category_id = ? AND s2_.enabled = 1 GROUP BY s0_.stock_id ORDER BY sclr_0 DESC LIMIT 1
SELECT
MAX(s0_.amount) AS sclr_0,
p1_.type AS type_1,
p1_.warranty_years AS warranty_years_2,
p1_.new AS new_3,
p1_.id AS id_4,
p1_.created_at AS created_at_5,
p1_.updated_at AS updated_at_6,
s2_.sku AS sku_7,
s2_.quantity AS quantity_8,
s2_.quantity_unit AS quantity_unit_9,
s2_.ean_code AS ean_code_10,
s2_.availability AS availability_11,
s2_.`condition` AS condition_12,
s2_.importable AS importable_13,
s2_.tax_transferable AS tax_transferable_14,
s2_.sale_count AS sale_count_15,
s2_.disabled_at AS disabled_at_16,
s2_.id AS id_17,
s2_.created_at AS created_at_18,
s2_.updated_at AS updated_at_19,
s2_.enabled AS enabled_20,
s0_.amount AS amount_21,
s0_.tax_amount AS tax_amount_22,
s0_.previous_amount AS previous_amount_23,
s0_.previous_tax_amount AS previous_tax_amount_24,
s0_.id AS id_25,
s0_.created_at AS created_at_26,
s0_.updated_at AS updated_at_27,
t3_.rate AS rate_28,
t3_.`precision` AS precision_29,
t3_.id AS id_30,
p1_.principal_category_id AS principal_category_id_31,
p1_.principal_image_id AS principal_image_id_32,
p1_.manufacturer_id AS manufacturer_id_33,
p1_.product_class_id AS product_class_id_34,
p1_.stock_id AS stock_id_35,
s2_.group_id AS group_id_36,
s0_.stock_id AS stock_id_37,
s0_.store_id AS store_id_38,
s0_.user_id AS user_id_39,
s0_.tax_rate_id AS tax_rate_id_40,
s0_.previous_tax_rate_id AS previous_tax_rate_id_41,
t3_.store_id AS store_id_42
FROM
product p1_
INNER JOIN stock s2_ ON p1_.stock_id = s2_.id
INNER JOIN stock_price s0_ ON s2_.id = s0_.stock_id
AND (s0_.store_id = ?)
INNER JOIN tax_rate t3_ ON s0_.tax_rate_id = t3_.id
LEFT JOIN product_category p4_ ON p1_.id = p4_.product_id
WHERE
p4_.category_id = ?
AND s2_.enabled = 1
GROUP BY
s0_.stock_id
ORDER BY
sclr_0 DESC
LIMIT
1
SELECT MAX(s0_.amount) AS sclr_0, p1_.type AS type_1, p1_.warranty_years AS warranty_years_2, p1_.new AS new_3, p1_.id AS id_4, p1_.created_at AS created_at_5, p1_.updated_at AS updated_at_6, s2_.sku AS sku_7, s2_.quantity AS quantity_8, s2_.quantity_unit AS quantity_unit_9, s2_.ean_code AS ean_code_10, s2_.availability AS availability_11, s2_.`condition` AS condition_12, s2_.importable AS importable_13, s2_.tax_transferable AS tax_transferable_14, s2_.sale_count AS sale_count_15, s2_.disabled_at AS disabled_at_16, s2_.id AS id_17, s2_.created_at AS created_at_18, s2_.updated_at AS updated_at_19, s2_.enabled AS enabled_20, s0_.amount AS amount_21, s0_.tax_amount AS tax_amount_22, s0_.previous_amount AS previous_amount_23, s0_.previous_tax_amount AS previous_tax_amount_24, s0_.id AS id_25, s0_.created_at AS created_at_26, s0_.updated_at AS updated_at_27, t3_.rate AS rate_28, t3_.`precision` AS precision_29, t3_.id AS id_30, p1_.principal_category_id AS principal_category_id_31, p1_.principal_image_id AS principal_image_id_32, p1_.manufacturer_id AS manufacturer_id_33, p1_.product_class_id AS product_class_id_34, p1_.stock_id AS stock_id_35, s2_.group_id AS group_id_36, s0_.stock_id AS stock_id_37, s0_.store_id AS store_id_38, s0_.user_id AS user_id_39, s0_.tax_rate_id AS tax_rate_id_40, s0_.previous_tax_rate_id AS previous_tax_rate_id_41, t3_.store_id AS store_id_42 FROM product p1_ INNER JOIN stock s2_ ON p1_.stock_id = s2_.id INNER JOIN stock_price s0_ ON s2_.id = s0_.stock_id AND (s0_.store_id = 1) INNER JOIN tax_rate t3_ ON s0_.tax_rate_id = t3_.id LEFT JOIN product_category p4_ ON p1_.id = p4_.product_id WHERE p4_.category_id = 156 AND s2_.enabled = 1 GROUP BY s0_.stock_id ORDER BY sclr_0 DESC LIMIT 1;
|
1.05 ms (4.46%)
|
2 |
SELECT s0_.id AS id_0, s0_.content_id AS content_id_1, s0_.locale AS locale_2, s0_.slug AS slug_3, s0_.type AS type_4, s0_.previous_slug AS previous_slug_5, s0_.created_at AS created_at_6, s0_.updated_at AS updated_at_7 FROM slug s0_ WHERE s0_.slug = ? AND s0_.locale IN (?)
Parameters: [
"montazne-krabice-helios-els"
"sk"
]
SELECT s0_.id AS id_0, s0_.content_id AS content_id_1, s0_.locale AS locale_2, s0_.slug AS slug_3, s0_.type AS type_4, s0_.previous_slug AS previous_slug_5, s0_.created_at AS created_at_6, s0_.updated_at AS updated_at_7 FROM slug s0_ WHERE s0_.slug = 'montazne-krabice-helios-els' AND s0_.locale IN ('sk');
|
0.95 ms (4.04%)
|
1 |
SELECT s0_.name AS name_0, s0_.email AS email_1, s0_.url AS url_2, s0_.country AS country_3, s0_.locale AS locale_4, s0_.currency AS currency_5, s0_.order_base_number AS order_base_number_6, s0_.order_email AS order_email_7, s0_.id AS id_8, s0_.created_at AS created_at_9, s0_.updated_at AS updated_at_10 FROM store s0_ ORDER BY s0_.id ASC
SELECT s0_.name AS name_0, s0_.email AS email_1, s0_.url AS url_2, s0_.country AS country_3, s0_.locale AS locale_4, s0_.currency AS currency_5, s0_.order_base_number AS order_base_number_6, s0_.order_email AS order_email_7, s0_.id AS id_8, s0_.created_at AS created_at_9, s0_.updated_at AS updated_at_10 FROM store s0_ ORDER BY s0_.id ASC;
|
0.67 ms (2.87%)
|
1 |
SELECT t0.position AS position_1, t0.category_id AS category_id_2, t0.filter_id AS filter_id_3, t4.type AS type_5, t4.widget AS widget_6, t4.min_value AS min_value_7, t4.max_value AS max_value_8, t4.id AS id_9, t4.created_at AS created_at_10, t4.updated_at AS updated_at_11, t4.attribute_id AS attribute_id_12 FROM category_filter t0 INNER JOIN filter t4 ON t0.filter_id = t4.id WHERE t0.category_id = ? ORDER BY t0.position ASC
SELECT t0.position AS position_1, t0.category_id AS category_id_2, t0.filter_id AS filter_id_3, t4.type AS type_5, t4.widget AS widget_6, t4.min_value AS min_value_7, t4.max_value AS max_value_8, t4.id AS id_9, t4.created_at AS created_at_10, t4.updated_at AS updated_at_11, t4.attribute_id AS attribute_id_12 FROM category_filter t0 INNER JOIN filter t4 ON t0.filter_id = t4.id WHERE t0.category_id = 156 ORDER BY t0.position ASC;
|
0.53 ms (2.24%)
|
1 |
SELECT t0.position AS position_1, t0.category_id AS category_id_2, t0.image_id AS image_id_3 FROM category_image t0 WHERE t0.category_id = ? ORDER BY t0.position ASC
SELECT t0.position AS position_1, t0.category_id AS category_id_2, t0.image_id AS image_id_3 FROM category_image t0 WHERE t0.category_id = 156 ORDER BY t0.position ASC;
|
0.34 ms (1.44%)
|
1 |
SELECT t0.main_template AS main_template_1, t0.product_template AS product_template_2, t0.filterable AS filterable_3, t0.id AS id_4, t0.created_at AS created_at_5, t0.updated_at AS updated_at_6, t0.principal_image_id AS principal_image_id_7 FROM category t0 WHERE t0.id = ?
SELECT t0.main_template AS main_template_1, t0.product_template AS product_template_2, t0.filterable AS filterable_3, t0.id AS id_4, t0.created_at AS created_at_5, t0.updated_at AS updated_at_6, t0.principal_image_id AS principal_image_id_7 FROM category t0 WHERE t0.id = 156;
|