GET http://teva-new-interno.inol3.com/it/shoponline/outlflow-universal-m.TE.1136311

Query Metrics

24 Database Queries
11 Different statements
37.17 ms Query time
0 Invalid entities
17 Managed entities

Queries

Group similar statements

# Time Info
1 0.96 ms
SELECT COUNT(l0_.id) AS sclr_0 FROM listini l0_
Parameters:
[]
2 1.04 ms
SELECT t0.id AS id_1, t0.country AS country_2, t0.country_code AS country_code_3, t0.country_nav_code AS country_nav_code_4, t0.allowed AS allowed_5, t0.is_eu AS is_eu_6, t0.is_klarna_valid AS is_klarna_valid_7, t0.shipping_region_id AS shipping_region_id_8 FROM country t0 WHERE t0.id = ?
Parameters:
[
  114
]
3 0.84 ms
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, t0.listino_id AS listino_id_7 FROM shipping_regions t0 WHERE t0.id = ?
Parameters:
[
  1
]
4 0.58 ms
SELECT t0.id AS id_1, t0.listino AS listino_2, t0.currency_id AS currency_id_3 FROM listini t0 WHERE t0.id = ?
Parameters:
[
  1
]
5 0.40 ms
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:
[
  "TE.1136311"
]
6 0.32 ms
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, t0.listino_id AS listino_id_7 FROM shipping_regions t0 WHERE t0.region_code = ? LIMIT 1
Parameters:
[
  "it"
]
7 8.10 ms
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, pr.shipping_region_id,
                (
                    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 = 15 /* AND listino = 'it'*/
                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 AND pr.shipping_region_id = 1

                WHERE ps.product_id = 18049
                AND ps.qty > 0
                AND ps.is_online = 1
                HAVING path != ''
                ORDER BY pco.sequence ASC, sc.sequence ASC

                /*ORDER BY ps.size_id ASC*/
Parameters:
[]
8 0.32 ms
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 = ?
Parameters:
[
  595118
]
9 0.26 ms
SELECT t0.id AS id_1, t0.color AS color_2 FROM colors t0 WHERE t0.id = ?
Parameters:
[
  595
]
10 0.29 ms
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:
[
  "DOL"
]
11 0.25 ms
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 = ?
Parameters:
[
  595119
]
12 0.29 ms
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:
[
  "DOL"
]
13 0.22 ms
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 = ?
Parameters:
[
  595123
]
14 0.24 ms
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:
[
  "DOL"
]
15 0.22 ms
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 = ?
Parameters:
[
  595124
]
16 0.23 ms
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:
[
  "DOL"
]
17 0.22 ms
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:
[
  "DOL"
]
18 0.23 ms
SELECT img_path
                FROM products_default_image
                WHERE product_id = 18049
Parameters:
[]
19 0.23 ms
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, t0.listino_id AS listino_id_7 FROM shipping_regions t0 WHERE t0.region_code = ? LIMIT 1
Parameters:
[
  "it"
]
20 7.73 ms
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, pr.shipping_region_id,
                (
                    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 = 15 /* AND listino = 'it'*/
                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 AND pr.shipping_region_id = 1

                WHERE ps.product_id = 18049
                AND ps.qty > 0
                AND ps.is_online = 1
                HAVING path != ''
                ORDER BY pco.sequence ASC, sc.sequence ASC

                /*ORDER BY ps.size_id ASC*/
Parameters:
[]
21 12.92 ms
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:
[
  "DOL"
]
22 0.53 ms
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:
[
  "DOL"
]
23 0.42 ms
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:
[
  "DOL"
]
24 0.36 ms
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:
[
  "DOL"
]

Database Connections

Name Service
default doctrine.dbal.default_connection

Entity Managers

Name Service
default doctrine.orm.default_entity_manager

Second Level Cache

Second Level Cache is not enabled.

Managed Entities

default entity manager

Class Amount of managed objects
App\Entity\ProductsSkew 4
App\Entity\Size 4
App\Entity\Country 1
App\Entity\ShippingRegion 1
App\Entity\Language 1
App\Entity\Currencies 1
App\Entity\Listini 1
App\Entity\Product 1
App\Entity\Linea 1
App\Entity\Color 1
App\Entity\ColorsDescription 1