GET http://teva-new-interno.inol3.com/it/shoponline/aventrail-shoe-w.TE.1170193

Query Metrics

49 Database Queries
10 Different statements
25.81 ms Query time
0 Invalid entities
27 Managed entities

Queries

Group similar statements

# Time Info
1 0.73 ms
SELECT COUNT(l0_.id) AS sclr_0 FROM listini l0_
Parameters:
[]
2 0.58 ms
SELECT t0.id AS id_1, t0.lang AS lang_2, t0.label AS label_3 FROM langs t0 WHERE t0.id = ?
Parameters:
[
  "1"
]
3 0.42 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"
]
4 0.69 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.1170193"
]
5 0.75 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"
]
6 7.80 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 = 14 /* 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 = 24138
                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:
[]
7 0.52 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:
[
  756364
]
8 0.43 ms
SELECT t0.id AS id_1, t0.color AS color_2 FROM colors t0 WHERE t0.id = ?
Parameters:
[
  11036
]
9 0.45 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:
[
  "MLW"
]
10 0.34 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:
[
  756366
]
11 0.32 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:
[
  "MLW"
]
12 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:
[
  756368
]
13 0.30 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:
[
  "MLW"
]
14 0.33 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:
[
  756370
]
15 0.30 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:
[
  "MLW"
]
16 0.29 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:
[
  756372
]
17 0.27 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:
[
  "MLW"
]
18 0.27 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:
[
  756374
]
19 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:
[
  "MLW"
]
20 0.26 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:
[
  756377
]
21 0.22 ms
SELECT t0.id AS id_1, t0.color AS color_2 FROM colors t0 WHERE t0.id = ?
Parameters:
[
  11615
]
22 0.28 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:
[
  "BDV"
]
23 0.24 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:
[
  756379
]
24 0.31 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:
[
  "BDV"
]
25 0.28 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:
[
  756381
]
26 0.28 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:
[
  "BDV"
]
27 0.27 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:
[
  756383
]
28 0.27 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:
[
  "BDV"
]
29 0.26 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:
[
  756385
]
30 0.26 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:
[
  "BDV"
]
31 0.24 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:
[
  756387
]
32 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:
[
  "BDV"
]
33 0.27 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:
[
  "MLW"
]
34 0.25 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:
[
  "BDV"
]
35 0.31 ms
SELECT img_path
                FROM products_default_image
                WHERE product_id = 24138
Parameters:
[]
36 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"
]
37 2.99 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 = 14 /* 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 = 24138
                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:
[]
38 0.35 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:
[
  "MLW"
]
39 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:
[
  "MLW"
]
40 0.25 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:
[
  "MLW"
]
41 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:
[
  "MLW"
]
42 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:
[
  "MLW"
]
43 0.21 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:
[
  "MLW"
]
44 0.21 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:
[
  "BDV"
]
45 0.21 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:
[
  "BDV"
]
46 0.21 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:
[
  "BDV"
]
47 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:
[
  "BDV"
]
48 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:
[
  "BDV"
]
49 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:
[
  "BDV"
]

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 12
App\Entity\Size 6
App\Entity\Color 2
App\Entity\Language 1
App\Entity\Listini 1
App\Entity\Currencies 1
App\Entity\Product 1
App\Entity\Linea 1
App\Entity\ShippingRegion 1
App\Entity\ColorsDescription 1