GET https://testing.weverducre.com/es/productos/c/luminarias-de-carril~23482?page=2

Query Metrics

255 Database Queries
54 Different statements
832.98 ms Query time
0 Invalid entities
0 Managed entities

Grouped Statements

Show all queries

default connection

Time Count Info
41.53 ms
(4.99%)
1
SELECT SQL_CALC_FOUND_ROWS DISTINCT virtualProductId as id, priceSystemName  FROM ecommerceframework_productindex_wdbe_es a  INNER JOIN ecommerceframework_productindex_wdbe_es_subtenant_relations AS b ON a.id = b.id  LEFT OUTER JOIN (
            SELECT targetId, score
            FROM app_customer_aggregated_score
            WHERE
                name = 'sellable' AND
                customerId is null
        ) AS s ON s.targetId = a.id WHERE active = 1 AND virtualProductActive = 1 AND inProductList = 1 AND (b.subtenant_id = 2 AND isCombinedProduct != 1 OR isCombinedProduct IS NULL) AND a.id != virtualProductId  AND (parentCategoryIds like '%,23482,%') AND (IFNULL(isSalesItem, 0) = 0) GROUP BY virtualProductId, priceSystemName ORDER BY min(ifnull(featuredPriority, 0)) desc,min((promotions like '%#new#%')) desc,min(ifnull(s.score, 0)) desc,min(ifnull(rankingMultiplicator, 999999999)) asc,min(`a`.`id`) ASC LIMIT 24, 24
Parameters:
[]
35.29 ms
(4.24%)
1
select
                a.*,
                max(mainProductInLine) as maxMainProductInLine,
                group_concat(a.id order by a.mainProductInLine desc, a.mainColorProductInLine desc) as ids,
                group_concat(a.mainImageId order by a.mainProductInLine desc, a.mainColorProductInLine desc) as mainImageIds
            from ecommerceframework_productindex_wdbe_es a  INNER JOIN ecommerceframework_productindex_wdbe_es_subtenant_relations AS b ON a.id = b.id  LEFT OUTER JOIN (
            SELECT targetId, score
            FROM app_customer_aggregated_score
            WHERE
                name = 'sellable' AND
                customerId is null
        ) AS s ON s.targetId = a.id 
            where active = 1 and virtualProductActive = 1 and ((virtualProductId = '87611' and a.id != '87611') or parentProducts like '%,87611,%') and IFNULL(isSalesItem, 0) = 0 and (b.subtenant_id = 2 AND isCombinedProduct != 1 OR isCombinedProduct IS NULL)
            group by color
            order by maxMainProductInLine desc
Parameters:
[]
32.47 ms
(3.90%)
2
SELECT TRIM(`scopeName`) as `value`, count(DISTINCT virtualProductId) as `count` FROM ecommerceframework_productindex_wdbe_es a  INNER JOIN ecommerceframework_productindex_wdbe_es_subtenant_relations AS b ON a.id = b.id  LEFT OUTER JOIN (
            SELECT targetId, score
            FROM app_customer_aggregated_score
            WHERE
                name = 'sellable' AND
                customerId is null
        ) AS s ON s.targetId = a.id WHERE active = 1 AND virtualProductActive = 1 AND inProductList = 1 AND (b.subtenant_id = 2 AND isCombinedProduct != 1 OR isCombinedProduct IS NULL) AND a.id != virtualProductId  AND (parentCategoryIds like '%,23482,%') AND (IFNULL(isSalesItem, 0) = 0) GROUP BY TRIM(`scopeName`)
Parameters:
[]
30.00 ms
(3.60%)
2
SELECT TRIM(`lightColorTemperature`) as `value`, count(DISTINCT virtualProductId) as `count` FROM ecommerceframework_productindex_wdbe_es a  INNER JOIN ecommerceframework_productindex_wdbe_es_subtenant_relations AS b ON a.id = b.id  LEFT OUTER JOIN (
            SELECT targetId, score
            FROM app_customer_aggregated_score
            WHERE
                name = 'sellable' AND
                customerId is null
        ) AS s ON s.targetId = a.id WHERE active = 1 AND virtualProductActive = 1 AND inProductList = 1 AND (b.subtenant_id = 2 AND isCombinedProduct != 1 OR isCombinedProduct IS NULL) AND a.id != virtualProductId  AND (parentCategoryIds like '%,23482,%') AND (IFNULL(isSalesItem, 0) = 0) GROUP BY TRIM(`lightColorTemperature`)
Parameters:
[]
29.63 ms
(3.56%)
73
SELECT customSettings FROM assets WHERE id = ?
Parameters:
[
  4574046
]
29.26 ms
(3.51%)
1
select
                a.*,
                max(mainProductInLine) as maxMainProductInLine,
                group_concat(a.id order by a.mainProductInLine desc, a.mainColorProductInLine desc) as ids,
                group_concat(a.mainImageId order by a.mainProductInLine desc, a.mainColorProductInLine desc) as mainImageIds
            from ecommerceframework_productindex_wdbe_es a  INNER JOIN ecommerceframework_productindex_wdbe_es_subtenant_relations AS b ON a.id = b.id  LEFT OUTER JOIN (
            SELECT targetId, score
            FROM app_customer_aggregated_score
            WHERE
                name = 'sellable' AND
                customerId is null
        ) AS s ON s.targetId = a.id 
            where active = 1 and virtualProductActive = 1 and ((virtualProductId = '68117' and a.id != '68117') or parentProducts like '%,68117,%') and IFNULL(isSalesItem, 0) = 0 and (b.subtenant_id = 2 AND isCombinedProduct != 1 OR isCombinedProduct IS NULL)
            group by color
            order by maxMainProductInLine desc
Parameters:
[]
28.88 ms
(3.47%)
73
SELECT * FROM assets_image_thumbnail_cache WHERE cid = ?
Parameters:
[
  4574046
]
28.34 ms
(3.40%)
2
SELECT TRIM(`mountingText`) as `value`, count(DISTINCT virtualProductId) as `count` FROM ecommerceframework_productindex_wdbe_es a  INNER JOIN ecommerceframework_productindex_wdbe_es_subtenant_relations AS b ON a.id = b.id  LEFT OUTER JOIN (
            SELECT targetId, score
            FROM app_customer_aggregated_score
            WHERE
                name = 'sellable' AND
                customerId is null
        ) AS s ON s.targetId = a.id WHERE active = 1 AND virtualProductActive = 1 AND inProductList = 1 AND (b.subtenant_id = 2 AND isCombinedProduct != 1 OR isCombinedProduct IS NULL) AND a.id != virtualProductId  AND (parentCategoryIds like '%,23482,%') AND (IFNULL(isSalesItem, 0) = 0) GROUP BY TRIM(`mountingText`)
Parameters:
[]
28.26 ms
(3.39%)
1
select
                a.*,
                max(mainProductInLine) as maxMainProductInLine,
                group_concat(a.id order by a.mainProductInLine desc, a.mainColorProductInLine desc) as ids,
                group_concat(a.mainImageId order by a.mainProductInLine desc, a.mainColorProductInLine desc) as mainImageIds
            from ecommerceframework_productindex_wdbe_es a  INNER JOIN ecommerceframework_productindex_wdbe_es_subtenant_relations AS b ON a.id = b.id  LEFT OUTER JOIN (
            SELECT targetId, score
            FROM app_customer_aggregated_score
            WHERE
                name = 'sellable' AND
                customerId is null
        ) AS s ON s.targetId = a.id 
            where active = 1 and virtualProductActive = 1 and ((virtualProductId = '68120' and a.id != '68120') or parentProducts like '%,68120,%') and IFNULL(isSalesItem, 0) = 0 and (b.subtenant_id = 2 AND isCombinedProduct != 1 OR isCombinedProduct IS NULL)
            group by color
            order by maxMainProductInLine desc
Parameters:
[]
28.03 ms
(3.37%)
2
SELECT TRIM(`typeName`) as `value`, count(DISTINCT virtualProductId) as `count` FROM ecommerceframework_productindex_wdbe_es a  INNER JOIN ecommerceframework_productindex_wdbe_es_subtenant_relations AS b ON a.id = b.id  LEFT OUTER JOIN (
            SELECT targetId, score
            FROM app_customer_aggregated_score
            WHERE
                name = 'sellable' AND
                customerId is null
        ) AS s ON s.targetId = a.id WHERE active = 1 AND virtualProductActive = 1 AND inProductList = 1 AND (b.subtenant_id = 2 AND isCombinedProduct != 1 OR isCombinedProduct IS NULL) AND a.id != virtualProductId  AND (parentCategoryIds like '%,23482,%') AND (IFNULL(isSalesItem, 0) = 0) GROUP BY TRIM(`typeName`)
Parameters:
[]
27.55 ms
(3.31%)
1
select
                a.*,
                max(mainProductInLine) as maxMainProductInLine,
                group_concat(a.id order by a.mainProductInLine desc, a.mainColorProductInLine desc) as ids,
                group_concat(a.mainImageId order by a.mainProductInLine desc, a.mainColorProductInLine desc) as mainImageIds
            from ecommerceframework_productindex_wdbe_es a  INNER JOIN ecommerceframework_productindex_wdbe_es_subtenant_relations AS b ON a.id = b.id  LEFT OUTER JOIN (
            SELECT targetId, score
            FROM app_customer_aggregated_score
            WHERE
                name = 'sellable' AND
                customerId is null
        ) AS s ON s.targetId = a.id 
            where active = 1 and virtualProductActive = 1 and ((virtualProductId = '68122' and a.id != '68122') or parentProducts like '%,68122,%') and IFNULL(isSalesItem, 0) = 0 and (b.subtenant_id = 2 AND isCombinedProduct != 1 OR isCombinedProduct IS NULL)
            group by color
            order by maxMainProductInLine desc
Parameters:
[]
27.51 ms
(3.30%)
2
SELECT dest as `value`, count(DISTINCT src_virtualProductId) as `count` FROM ecommerceframework_productindex_wdbe_es_relations a WHERE fieldname = 'baseColorObjects' AND src IN (SELECT a.id FROM ecommerceframework_productindex_wdbe_es a  INNER JOIN ecommerceframework_productindex_wdbe_es_subtenant_relations AS b ON a.id = b.id  LEFT OUTER JOIN (
            SELECT targetId, score
            FROM app_customer_aggregated_score
            WHERE
                name = 'sellable' AND
                customerId is null
        ) AS s ON s.targetId = a.id WHERE active = 1 AND virtualProductActive = 1 AND inProductList = 1 AND (b.subtenant_id = 2 AND isCombinedProduct != 1 OR isCombinedProduct IS NULL) AND a.id != virtualProductId  AND (parentCategoryIds like '%,23482,%') AND (IFNULL(isSalesItem, 0) = 0)) GROUP BY dest
Parameters:
[]
26.95 ms
(3.24%)
2
SELECT TRIM(`ipRating`) as `value`, count(DISTINCT virtualProductId) as `count` FROM ecommerceframework_productindex_wdbe_es a  INNER JOIN ecommerceframework_productindex_wdbe_es_subtenant_relations AS b ON a.id = b.id  LEFT OUTER JOIN (
            SELECT targetId, score
            FROM app_customer_aggregated_score
            WHERE
                name = 'sellable' AND
                customerId is null
        ) AS s ON s.targetId = a.id WHERE active = 1 AND virtualProductActive = 1 AND inProductList = 1 AND (b.subtenant_id = 2 AND isCombinedProduct != 1 OR isCombinedProduct IS NULL) AND a.id != virtualProductId  AND (parentCategoryIds like '%,23482,%') AND (IFNULL(isSalesItem, 0) = 0) GROUP BY TRIM(`ipRating`)
Parameters:
[]
26.83 ms
(3.22%)
2
SELECT TRIM(`lampType`) as `value`, count(DISTINCT virtualProductId) as `count` FROM ecommerceframework_productindex_wdbe_es a  INNER JOIN ecommerceframework_productindex_wdbe_es_subtenant_relations AS b ON a.id = b.id  LEFT OUTER JOIN (
            SELECT targetId, score
            FROM app_customer_aggregated_score
            WHERE
                name = 'sellable' AND
                customerId is null
        ) AS s ON s.targetId = a.id WHERE active = 1 AND virtualProductActive = 1 AND inProductList = 1 AND (b.subtenant_id = 2 AND isCombinedProduct != 1 OR isCombinedProduct IS NULL) AND a.id != virtualProductId  AND (parentCategoryIds like '%,23482,%') AND (IFNULL(isSalesItem, 0) = 0) GROUP BY TRIM(`lampType`)
Parameters:
[]
26.77 ms
(3.21%)
1
select
                a.*,
                max(mainProductInLine) as maxMainProductInLine,
                group_concat(a.id order by a.mainProductInLine desc, a.mainColorProductInLine desc) as ids,
                group_concat(a.mainImageId order by a.mainProductInLine desc, a.mainColorProductInLine desc) as mainImageIds
            from ecommerceframework_productindex_wdbe_es a  INNER JOIN ecommerceframework_productindex_wdbe_es_subtenant_relations AS b ON a.id = b.id  LEFT OUTER JOIN (
            SELECT targetId, score
            FROM app_customer_aggregated_score
            WHERE
                name = 'sellable' AND
                customerId is null
        ) AS s ON s.targetId = a.id 
            where active = 1 and virtualProductActive = 1 and ((virtualProductId = '68123' and a.id != '68123') or parentProducts like '%,68123,%') and IFNULL(isSalesItem, 0) = 0 and (b.subtenant_id = 2 AND isCombinedProduct != 1 OR isCombinedProduct IS NULL)
            group by color
            order by maxMainProductInLine desc
Parameters:
[]
26.55 ms
(3.19%)
1
select
                a.*,
                max(mainProductInLine) as maxMainProductInLine,
                group_concat(a.id order by a.mainProductInLine desc, a.mainColorProductInLine desc) as ids,
                group_concat(a.mainImageId order by a.mainProductInLine desc, a.mainColorProductInLine desc) as mainImageIds
            from ecommerceframework_productindex_wdbe_es a  INNER JOIN ecommerceframework_productindex_wdbe_es_subtenant_relations AS b ON a.id = b.id  LEFT OUTER JOIN (
            SELECT targetId, score
            FROM app_customer_aggregated_score
            WHERE
                name = 'sellable' AND
                customerId is null
        ) AS s ON s.targetId = a.id 
            where active = 1 and virtualProductActive = 1 and ((virtualProductId = '68125' and a.id != '68125') or parentProducts like '%,68125,%') and IFNULL(isSalesItem, 0) = 0 and (b.subtenant_id = 2 AND isCombinedProduct != 1 OR isCombinedProduct IS NULL)
            group by color
            order by maxMainProductInLine desc
Parameters:
[]
26.50 ms
(3.18%)
2
SELECT TRIM(`converterText`) as `value`, count(DISTINCT virtualProductId) as `count` FROM ecommerceframework_productindex_wdbe_es a  INNER JOIN ecommerceframework_productindex_wdbe_es_subtenant_relations AS b ON a.id = b.id  LEFT OUTER JOIN (
            SELECT targetId, score
            FROM app_customer_aggregated_score
            WHERE
                name = 'sellable' AND
                customerId is null
        ) AS s ON s.targetId = a.id WHERE active = 1 AND virtualProductActive = 1 AND inProductList = 1 AND (b.subtenant_id = 2 AND isCombinedProduct != 1 OR isCombinedProduct IS NULL) AND a.id != virtualProductId  AND (parentCategoryIds like '%,23482,%') AND (IFNULL(isSalesItem, 0) = 0) GROUP BY TRIM(`converterText`)
Parameters:
[]
26.28 ms
(3.15%)
1
select
                a.*,
                max(mainProductInLine) as maxMainProductInLine,
                group_concat(a.id order by a.mainProductInLine desc, a.mainColorProductInLine desc) as ids,
                group_concat(a.mainImageId order by a.mainProductInLine desc, a.mainColorProductInLine desc) as mainImageIds
            from ecommerceframework_productindex_wdbe_es a  INNER JOIN ecommerceframework_productindex_wdbe_es_subtenant_relations AS b ON a.id = b.id  LEFT OUTER JOIN (
            SELECT targetId, score
            FROM app_customer_aggregated_score
            WHERE
                name = 'sellable' AND
                customerId is null
        ) AS s ON s.targetId = a.id 
            where active = 1 and virtualProductActive = 1 and ((virtualProductId = '68119' and a.id != '68119') or parentProducts like '%,68119,%') and IFNULL(isSalesItem, 0) = 0 and (b.subtenant_id = 2 AND isCombinedProduct != 1 OR isCombinedProduct IS NULL)
            group by color
            order by maxMainProductInLine desc
Parameters:
[]
25.85 ms
(3.10%)
1
select
                a.*,
                max(mainProductInLine) as maxMainProductInLine,
                group_concat(a.id order by a.mainProductInLine desc, a.mainColorProductInLine desc) as ids,
                group_concat(a.mainImageId order by a.mainProductInLine desc, a.mainColorProductInLine desc) as mainImageIds
            from ecommerceframework_productindex_wdbe_es a  INNER JOIN ecommerceframework_productindex_wdbe_es_subtenant_relations AS b ON a.id = b.id  LEFT OUTER JOIN (
            SELECT targetId, score
            FROM app_customer_aggregated_score
            WHERE
                name = 'sellable' AND
                customerId is null
        ) AS s ON s.targetId = a.id 
            where active = 1 and virtualProductActive = 1 and ((virtualProductId = '68116' and a.id != '68116') or parentProducts like '%,68116,%') and IFNULL(isSalesItem, 0) = 0 and (b.subtenant_id = 2 AND isCombinedProduct != 1 OR isCombinedProduct IS NULL)
            group by color
            order by maxMainProductInLine desc
Parameters:
[]
25.78 ms
(3.09%)
1
select
                a.*,
                max(mainProductInLine) as maxMainProductInLine,
                group_concat(a.id order by a.mainProductInLine desc, a.mainColorProductInLine desc) as ids,
                group_concat(a.mainImageId order by a.mainProductInLine desc, a.mainColorProductInLine desc) as mainImageIds
            from ecommerceframework_productindex_wdbe_es a  INNER JOIN ecommerceframework_productindex_wdbe_es_subtenant_relations AS b ON a.id = b.id  LEFT OUTER JOIN (
            SELECT targetId, score
            FROM app_customer_aggregated_score
            WHERE
                name = 'sellable' AND
                customerId is null
        ) AS s ON s.targetId = a.id 
            where active = 1 and virtualProductActive = 1 and ((virtualProductId = '68118' and a.id != '68118') or parentProducts like '%,68118,%') and IFNULL(isSalesItem, 0) = 0 and (b.subtenant_id = 2 AND isCombinedProduct != 1 OR isCombinedProduct IS NULL)
            group by color
            order by maxMainProductInLine desc
Parameters:
[]
25.14 ms
(3.02%)
1
select
                a.*,
                max(mainProductInLine) as maxMainProductInLine,
                group_concat(a.id order by a.mainProductInLine desc, a.mainColorProductInLine desc) as ids,
                group_concat(a.mainImageId order by a.mainProductInLine desc, a.mainColorProductInLine desc) as mainImageIds
            from ecommerceframework_productindex_wdbe_es a  INNER JOIN ecommerceframework_productindex_wdbe_es_subtenant_relations AS b ON a.id = b.id  LEFT OUTER JOIN (
            SELECT targetId, score
            FROM app_customer_aggregated_score
            WHERE
                name = 'sellable' AND
                customerId is null
        ) AS s ON s.targetId = a.id 
            where active = 1 and virtualProductActive = 1 and ((virtualProductId = '87612' and a.id != '87612') or parentProducts like '%,87612,%') and IFNULL(isSalesItem, 0) = 0 and (b.subtenant_id = 2 AND isCombinedProduct != 1 OR isCombinedProduct IS NULL)
            group by color
            order by maxMainProductInLine desc
Parameters:
[]
24.81 ms
(2.98%)
1
select
                a.*,
                max(mainProductInLine) as maxMainProductInLine,
                group_concat(a.id order by a.mainProductInLine desc, a.mainColorProductInLine desc) as ids,
                group_concat(a.mainImageId order by a.mainProductInLine desc, a.mainColorProductInLine desc) as mainImageIds
            from ecommerceframework_productindex_wdbe_es a  INNER JOIN ecommerceframework_productindex_wdbe_es_subtenant_relations AS b ON a.id = b.id  LEFT OUTER JOIN (
            SELECT targetId, score
            FROM app_customer_aggregated_score
            WHERE
                name = 'sellable' AND
                customerId is null
        ) AS s ON s.targetId = a.id 
            where active = 1 and virtualProductActive = 1 and ((virtualProductId = '171542' and a.id != '171542') or parentProducts like '%,171542,%') and IFNULL(isSalesItem, 0) = 0 and (b.subtenant_id = 2 AND isCombinedProduct != 1 OR isCombinedProduct IS NULL)
            group by color
            order by maxMainProductInLine desc
Parameters:
[]
24.60 ms
(2.95%)
2
SELECT TRIM(`diameter`) as `value`, count(DISTINCT virtualProductId) as `count` FROM ecommerceframework_productindex_wdbe_es a  INNER JOIN ecommerceframework_productindex_wdbe_es_subtenant_relations AS b ON a.id = b.id  LEFT OUTER JOIN (
            SELECT targetId, score
            FROM app_customer_aggregated_score
            WHERE
                name = 'sellable' AND
                customerId is null
        ) AS s ON s.targetId = a.id WHERE active = 1 AND virtualProductActive = 1 AND inProductList = 1 AND (b.subtenant_id = 2 AND isCombinedProduct != 1 OR isCombinedProduct IS NULL) AND a.id != virtualProductId  AND (parentCategoryIds like '%,23482,%') AND (IFNULL(isSalesItem, 0) = 0) GROUP BY TRIM(`diameter`)
Parameters:
[]
24.48 ms
(2.94%)
1
select
                a.*,
                max(mainProductInLine) as maxMainProductInLine,
                group_concat(a.id order by a.mainProductInLine desc, a.mainColorProductInLine desc) as ids,
                group_concat(a.mainImageId order by a.mainProductInLine desc, a.mainColorProductInLine desc) as mainImageIds
            from ecommerceframework_productindex_wdbe_es a  INNER JOIN ecommerceframework_productindex_wdbe_es_subtenant_relations AS b ON a.id = b.id  LEFT OUTER JOIN (
            SELECT targetId, score
            FROM app_customer_aggregated_score
            WHERE
                name = 'sellable' AND
                customerId is null
        ) AS s ON s.targetId = a.id 
            where active = 1 and virtualProductActive = 1 and ((virtualProductId = '68114' and a.id != '68114') or parentProducts like '%,68114,%') and IFNULL(isSalesItem, 0) = 0 and (b.subtenant_id = 2 AND isCombinedProduct != 1 OR isCombinedProduct IS NULL)
            group by color
            order by maxMainProductInLine desc
Parameters:
[]
24.13 ms
(2.90%)
1
select
                a.*,
                max(mainProductInLine) as maxMainProductInLine,
                group_concat(a.id order by a.mainProductInLine desc, a.mainColorProductInLine desc) as ids,
                group_concat(a.mainImageId order by a.mainProductInLine desc, a.mainColorProductInLine desc) as mainImageIds
            from ecommerceframework_productindex_wdbe_es a  INNER JOIN ecommerceframework_productindex_wdbe_es_subtenant_relations AS b ON a.id = b.id  LEFT OUTER JOIN (
            SELECT targetId, score
            FROM app_customer_aggregated_score
            WHERE
                name = 'sellable' AND
                customerId is null
        ) AS s ON s.targetId = a.id 
            where active = 1 and virtualProductActive = 1 and ((virtualProductId = '87608' and a.id != '87608') or parentProducts like '%,87608,%') and IFNULL(isSalesItem, 0) = 0 and (b.subtenant_id = 2 AND isCombinedProduct != 1 OR isCombinedProduct IS NULL)
            group by color
            order by maxMainProductInLine desc
Parameters:
[]
23.69 ms
(2.84%)
2
SELECT TRIM(`recessedDepth`) as `value`, count(DISTINCT virtualProductId) as `count` FROM ecommerceframework_productindex_wdbe_es a  INNER JOIN ecommerceframework_productindex_wdbe_es_subtenant_relations AS b ON a.id = b.id  LEFT OUTER JOIN (
            SELECT targetId, score
            FROM app_customer_aggregated_score
            WHERE
                name = 'sellable' AND
                customerId is null
        ) AS s ON s.targetId = a.id WHERE active = 1 AND virtualProductActive = 1 AND inProductList = 1 AND (b.subtenant_id = 2 AND isCombinedProduct != 1 OR isCombinedProduct IS NULL) AND a.id != virtualProductId  AND (parentCategoryIds like '%,23482,%') AND (IFNULL(isSalesItem, 0) = 0) GROUP BY TRIM(`recessedDepth`)
Parameters:
[]
23.42 ms
(2.81%)
1
select
                a.*,
                max(mainProductInLine) as maxMainProductInLine,
                group_concat(a.id order by a.mainProductInLine desc, a.mainColorProductInLine desc) as ids,
                group_concat(a.mainImageId order by a.mainProductInLine desc, a.mainColorProductInLine desc) as mainImageIds
            from ecommerceframework_productindex_wdbe_es a  INNER JOIN ecommerceframework_productindex_wdbe_es_subtenant_relations AS b ON a.id = b.id  LEFT OUTER JOIN (
            SELECT targetId, score
            FROM app_customer_aggregated_score
            WHERE
                name = 'sellable' AND
                customerId is null
        ) AS s ON s.targetId = a.id 
            where active = 1 and virtualProductActive = 1 and ((virtualProductId = '87609' and a.id != '87609') or parentProducts like '%,87609,%') and IFNULL(isSalesItem, 0) = 0 and (b.subtenant_id = 2 AND isCombinedProduct != 1 OR isCombinedProduct IS NULL)
            group by color
            order by maxMainProductInLine desc
Parameters:
[]
23.22 ms
(2.79%)
2
SELECT TRIM(`cutOutMin`) as `value`, count(DISTINCT virtualProductId) as `count` FROM ecommerceframework_productindex_wdbe_es a  INNER JOIN ecommerceframework_productindex_wdbe_es_subtenant_relations AS b ON a.id = b.id  LEFT OUTER JOIN (
            SELECT targetId, score
            FROM app_customer_aggregated_score
            WHERE
                name = 'sellable' AND
                customerId is null
        ) AS s ON s.targetId = a.id WHERE active = 1 AND virtualProductActive = 1 AND inProductList = 1 AND (b.subtenant_id = 2 AND isCombinedProduct != 1 OR isCombinedProduct IS NULL) AND a.id != virtualProductId  AND (parentCategoryIds like '%,23482,%') AND (IFNULL(isSalesItem, 0) = 0) GROUP BY TRIM(`cutOutMin`)
Parameters:
[]
22.87 ms
(2.75%)
2
SELECT TRIM(`cutOutMax`) as `value`, count(DISTINCT virtualProductId) as `count` FROM ecommerceframework_productindex_wdbe_es a  INNER JOIN ecommerceframework_productindex_wdbe_es_subtenant_relations AS b ON a.id = b.id  LEFT OUTER JOIN (
            SELECT targetId, score
            FROM app_customer_aggregated_score
            WHERE
                name = 'sellable' AND
                customerId is null
        ) AS s ON s.targetId = a.id WHERE active = 1 AND virtualProductActive = 1 AND inProductList = 1 AND (b.subtenant_id = 2 AND isCombinedProduct != 1 OR isCombinedProduct IS NULL) AND a.id != virtualProductId  AND (parentCategoryIds like '%,23482,%') AND (IFNULL(isSalesItem, 0) = 0) GROUP BY TRIM(`cutOutMax`)
Parameters:
[]
7.95 ms
(0.95%)
6
SELECT * FROM redirects WHERE
            (
                (source = ? AND (`type` = ? OR `type` = ?)) OR
                (source = ? AND `type` = ?) OR
                (source = ? AND `type` = ?)
            ) AND active = 1 AND (regex IS NULL OR regex = 0) AND (expiry > UNIX_TIMESTAMP() OR expiry IS NULL) AND (sourceSite IS NULL OR sourceSite = 0) AND priority = 99 ORDER BY `priority` DESC
Parameters:
[
  "/_fragment"
  "path"
  "auto_create"
  "/_fragment?_path=_locale=es&_format=html&_controller=App%5CController%5CSnippetController%3A%3AheaderAction"
  "path_query"
  "https://testing.weverducre.com/_fragment?_path=_locale=es&_format=html&_controller=App%5CController%5CSnippetController%3A%3AheaderAction"
  "entire_uri"
]
5.15 ms
(0.62%)
12
SELECT * FROM documents_editables WHERE documentId = ?
Parameters:
[
  2526
]
3.27 ms
(0.39%)
7
SELECT * FROM sites WHERE rootId = ?
Parameters:
[
  2
]
3.05 ms
(0.37%)
8
SELECT * FROM settings_store WHERE id = ? AND scope = ?
Parameters:
[
  "BUNDLE_INSTALLED__Pimcore\Bundle\SeoBundle\PimcoreSeoBundle"
  "pimcore"
]
2.55 ms
(0.31%)
7
SELECT name FROM classes WHERE id = ?
Parameters:
[
  "SCONF"
]
1.84 ms
(0.22%)
1
SELECT * FROM redirects WHERE
            (
                (source = ? AND (`type` = ? OR `type` = ?)) OR
                (source = ? AND `type` = ?) OR
                (source = ? AND `type` = ?)
            ) AND active = 1 AND (regex IS NULL OR regex = 0) AND (expiry > UNIX_TIMESTAMP() OR expiry IS NULL) AND (sourceSite IS NULL OR sourceSite = 1) AND priority = 99 ORDER BY `priority` DESC
Parameters:
[
  "/es/productos/c/luminarias-de-carril~23482"
  "path"
  "auto_create"
  "/es/productos/c/luminarias-de-carril~23482?page=2"
  "path_query"
  "https://testing.weverducre.com/es/productos/c/luminarias-de-carril~23482?page=2"
  "entire_uri"
]
1.73 ms
(0.21%)
5
SELECT documents.id, documents.type FROM documents WHERE  (parentId = ?) AND published = 1 ORDER BY `index` ASC
Parameters:
[
  2532
]
1.67 ms
(0.20%)
1
select
                a.*,
                max(mainProductInLine) as maxMainProductInLine,
                group_concat(a.id order by a.mainProductInLine desc, a.mainColorProductInLine desc) as ids,
                group_concat(a.mainImageId order by a.mainProductInLine desc, a.mainColorProductInLine desc) as mainImageIds
            from ecommerceframework_productindex_wdbe_es a  INNER JOIN ecommerceframework_productindex_wdbe_es_subtenant_relations AS b ON a.id = b.id  LEFT OUTER JOIN (
            SELECT targetId, score
            FROM app_customer_aggregated_score
            WHERE
                name = 'sellable' AND
                customerId is null
        ) AS s ON s.targetId = a.id 
            where active = 1 and virtualProductActive = 1 and ((virtualProductId = '87610' and a.id != '87610') or parentProducts like '%,87610,%') and IFNULL(isSalesItem, 0) = 0 and (b.subtenant_id = 2 AND isCombinedProduct != 1 OR isCombinedProduct IS NULL)
            group by color
            order by maxMainProductInLine desc
Parameters:
[]
1.57 ms
(0.19%)
3
SELECT id FROM documents WHERE `path` = BINARY ? AND `key` = BINARY ?
Parameters:
[
  "/weverducre.com/es/productos/c/"
  "luminarias-de-carril~23482"
]
1.23 ms
(0.15%)
2
SELECT documents.id FROM documents
            LEFT JOIN documents_page ON documents.id = documents_page.id
            WHERE documents.path LIKE ? AND documents_page.prettyUrl = ?
Parameters:
[
  "/weverducre.com/%"
  "/es/productos/c/luminarias-de-carril~23482"
]
1.06 ms
(0.13%)
2
SELECT id FROM documents_page WHERE prettyUrl = ?
Parameters:
[
  "/weverducre.com/es/productos/c/luminarias-de-carril~23482"
]
0.94 ms
(0.11%)
1
SELECT * FROM object_relations_SCONF WHERE src_id = ?
Parameters:
[
  1547
]
0.88 ms
(0.11%)
2
SELECT * FROM translations_messages LIMIT 1;
Parameters:
[]
0.81 ms
(0.10%)
2
SELECT * FROM translations_admin LIMIT 1;
Parameters:
[]
0.79 ms
(0.10%)
1
SELECT data FROM ecommerceframework_productindex_store WHERE id = ? AND tenant = ?
Parameters:
[
  68117
  "wdbe_es"
]
0.58 ms
(0.07%)
1
UPDATE ecommerceframework_productindex_store SET crc_index = crc_current WHERE id = ? and tenant = ?
Parameters:
[
  68117
  "wdbe_es"
]
0.50 ms
(0.06%)
1
SELECT object_localized_SCONF_es.id as id, object_localized_SCONF_es.type as `type` FROM object_localized_SCONF_es LEFT JOIN object_brick_query_EcommerceB2B_SCONF `EcommerceB2B` ON 1
AND `EcommerceB2B`.id = `object_localized_SCONF_es`.id LEFT JOIN object_brick_localized_query_EcommerceB2B_SCONF_es `EcommerceB2B_localized` ON 1
AND `EcommerceB2B_localized`.ooo_id = `object_localized_SCONF_es`.id LEFT JOIN object_brick_query_EcommerceB2C_SCONF `EcommerceB2C` ON 1
AND `EcommerceB2C`.id = `object_localized_SCONF_es`.id LEFT JOIN object_brick_localized_query_EcommerceB2C_SCONF_es `EcommerceB2C_localized` ON 1
AND `EcommerceB2C_localized`.ooo_id = `object_localized_SCONF_es`.id WHERE (((EcommerceB2B.dataAreaId = ? or EcommerceB2C.dataAreaId = ?))  AND  object_localized_SCONF_es.type IN ('object','variant','folder')) AND object_localized_SCONF_es.published = 1 LIMIT 1
Parameters:
[
  "wdbe"
  "wdbe"
]
0.46 ms
(0.06%)
1
SELECT * FROM tmp_store WHERE id = ?
Parameters:
[
  "maintenance_mode"
]
0.40 ms
(0.05%)
1
SELECT FOUND_ROWS()
Parameters:
[]
0.35 ms
(0.04%)
1
SELECT name, type, data, cid, inheritable, cpath FROM properties WHERE
                     (
                         (cid IN (1,22225,22218,1548,1544) AND inheritable = 1)
                         OR cid = ? ) AND ctype='object'
Parameters:
[
  23482
]
0.34 ms
(0.04%)
1
SELECT object_localized_8_es.id as id, object_localized_8_es.type as `type` FROM object_localized_8_es WHERE ( object_localized_8_es.type IN ('object','variant','folder')) AND object_localized_8_es.published = 1
Parameters:
[]
0.33 ms
(0.04%)
1
SELECT * FROM object_relations_PCAT WHERE src_id = ?
Parameters:
[
  23482
]
0.31 ms
(0.04%)
1
SELECT * FROM object_relations_EF_FD WHERE src_id = ?
Parameters:
[
  1551
]
0.29 ms
(0.04%)
1
"COMMIT"
Parameters:
[]
0.28 ms
(0.03%)
1
"START TRANSACTION"
Parameters:
[]

Database Connections

Name Service
default doctrine.dbal.default_connection
ax doctrine.dbal.ax_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

Entities Mapping

No loaded entities.