18.50 ms (33.62%)
|
63 |
SELECT t0.id AS id_1, t0.color AS color_2, t0.description AS description_3 FROM colors_description t0 WHERE t0.color = ? LIMIT 1
Parameters: [
"P111571"
]
SELECT t0.id AS id_1, t0.color AS color_2, t0.description AS description_3 FROM colors_description t0 WHERE t0.color = 'P111571' LIMIT 1;
|
16.79 ms (30.51%)
|
60 |
SELECT t0.id AS id_1, t0.sku_code AS sku_code_2, t0.barcode AS barcode_3, t0.qty AS qty_4, t0.is_qty_blocked AS is_qty_blocked_5, t0.is_future AS is_future_6, t0.sent_to_splio AS sent_to_splio_7, t0.is_online AS is_online_8, t0.product_id AS product_id_9, t0.color_id AS color_id_10, t0.size_id AS size_id_11 FROM products_skews t0 WHERE t0.id = ?
SELECT t0.id AS id_1, t0.sku_code AS sku_code_2, t0.barcode AS barcode_3, t0.qty AS qty_4, t0.is_qty_blocked AS is_qty_blocked_5, t0.is_future AS is_future_6, t0.sent_to_splio AS sent_to_splio_7, t0.is_online AS is_online_8, t0.product_id AS product_id_9, t0.color_id AS color_id_10, t0.size_id AS size_id_11 FROM products_skews t0 WHERE t0.id = 716814;
|
15.49 ms (28.16%)
|
1 |
SELECT ps.*, c.color, s.size, sc.conversion, pr.price, pr.discounted_price, pr.lowest_price, pr.discount_percentage, pr.discounted_price_from, pr.discounted_price_to,
(
SELECT
CONVERT(GROUP_CONCAT(
CONCAT_WS(
'|',
phototype_id, phototype_name, photo_path, photo_path_reduced
)
) USING utf8mb4)
FROM skews_photos sp
WHERE sp.product_id = ps.product_id
AND sp.color_id = ps.color_id
AND season_id IN (
SELECT MAX(season_id)
FROM skews_photos
WHERE product_id = ps.product_id
AND color_id = ps.color_id
)
ORDER BY phototype_id ASC
) AS path
FROM products_skews AS ps
INNER JOIN colors AS c ON c.id = ps.color_id
INNER JOIN sizes AS s ON s.id = ps.size_id
LEFT JOIN size_conversion AS sc ON sc.size = s.size AND linea_id = 3
LEFT JOIN product_colors_order AS pco ON pco.product_id = ps.product_id ANd pco.color_id = ps.color_id
INNER JOIN prices AS pr ON pr.skew_id = ps.id
WHERE ps.product_id = 22348
AND ps.qty > 0
AND ps.is_online = 1
HAVING path != ''
ORDER BY pco.sequence ASC, sc.sequence ASC
SELECT ps.*, c.color, s.size, sc.conversion, pr.price, pr.discounted_price, pr.lowest_price, pr.discount_percentage, pr.discounted_price_from, pr.discounted_price_to,
(
SELECT
CONVERT(GROUP_CONCAT(
CONCAT_WS(
'|',
phototype_id, phototype_name, photo_path, photo_path_reduced
)
) USING utf8mb4)
FROM skews_photos sp
WHERE sp.product_id = ps.product_id
AND sp.color_id = ps.color_id
AND season_id IN (
SELECT MAX(season_id)
FROM skews_photos
WHERE product_id = ps.product_id
AND color_id = ps.color_id
)
ORDER BY phototype_id ASC
) AS path
FROM products_skews AS ps
INNER JOIN colors AS c ON c.id = ps.color_id
INNER JOIN sizes AS s ON s.id = ps.size_id
LEFT JOIN size_conversion AS sc ON sc.size = s.size AND linea_id = 3
LEFT JOIN product_colors_order AS pco ON pco.product_id = ps.product_id ANd pco.color_id = ps.color_id
INNER JOIN prices AS pr ON pr.skew_id = ps.id
WHERE ps.product_id = 22348
AND ps.qty > 0
AND ps.is_online = 1
HAVING path != ''
ORDER BY pco.sequence ASC, sc.sequence ASC
;
|
0.94 ms (1.71%)
|
3 |
SELECT t0.id AS id_1, t0.color AS color_2 FROM colors t0 WHERE t0.id = ?
SELECT t0.id AS id_1, t0.color AS color_2 FROM colors t0 WHERE t0.id = 11786;
|
0.74 ms (1.35%)
|
1 |
SELECT t0.id AS id_1, t0.region_name AS region_name_2, t0.region_code AS region_code_3, t0.ordine AS ordine_4, t0.lang_id AS lang_id_5, t0.currency_id AS currency_id_6 FROM shipping_regions t0 WHERE t0.region_code = ? LIMIT 1
SELECT t0.id AS id_1, t0.region_name AS region_name_2, t0.region_code AS region_code_3, t0.ordine AS ordine_4, t0.lang_id AS lang_id_5, t0.currency_id AS currency_id_6 FROM shipping_regions t0 WHERE t0.region_code = 'it' LIMIT 1;
|
0.73 ms (1.32%)
|
1 |
SELECT img_path
FROM products_default_image
WHERE product_id = 22348
SELECT img_path
FROM products_default_image
WHERE product_id = 22348;
|
0.70 ms (1.27%)
|
1 |
SELECT t0.id AS id_1, t0.lang AS lang_2, t0.label AS label_3 FROM langs t0 WHERE t0.id = ?
SELECT t0.id AS id_1, t0.lang AS lang_2, t0.label AS label_3 FROM langs t0 WHERE t0.id = '1';
|
0.58 ms (1.05%)
|
1 |
SELECT t0.id AS id_1, t0.product AS product_2, t0.ean13 AS ean13_3, t0.product_name AS product_name_4, t0.product_url AS product_url_5, t0.commodity_code AS commodity_code_6, t0.brand AS brand_7, t0.collection AS collection_8, t0.category AS category_9, t0.is_online AS is_online_10, t0.in_home AS in_home_11, t0.is_to_show AS is_to_show_12, t0.label AS label_13, t0.linea_id AS linea_id_14 FROM products t0 WHERE t0.product = ? LIMIT 1
Parameters: [
"CP.INTRUDERIGNU"
]
SELECT t0.id AS id_1, t0.product AS product_2, t0.ean13 AS ean13_3, t0.product_name AS product_name_4, t0.product_url AS product_url_5, t0.commodity_code AS commodity_code_6, t0.brand AS brand_7, t0.collection AS collection_8, t0.category AS category_9, t0.is_online AS is_online_10, t0.in_home AS in_home_11, t0.is_to_show AS is_to_show_12, t0.label AS label_13, t0.linea_id AS linea_id_14 FROM products t0 WHERE t0.product = 'CP.INTRUDERIGNU' LIMIT 1;
|
0.55 ms (1.00%)
|
1 |
SELECT t0.id AS id_1, t0.name AS name_2, t0.symbol AS symbol_3, t0.label AS label_4 FROM currencies t0 WHERE t0.id = ?
SELECT t0.id AS id_1, t0.name AS name_2, t0.symbol AS symbol_3, t0.label AS label_4 FROM currencies t0 WHERE t0.id = 1;
|