Query Metrics

197 Database Queries
40 Different statements
941.35 ms Query time
0 Invalid entities
0 Managed entities

Grouped Statements

Show all queries

default connection

Time Count Info
183.40 ms
(19.48%)
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_en a  INNER JOIN ecommerceframework_productindex_wdbe_en_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 = '182341' and a.id != '182341') or parentProducts like '%,182341,%') 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:
[]
181.48 ms
(19.28%)
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_en a  INNER JOIN ecommerceframework_productindex_wdbe_en_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 = '182333' and a.id != '182333') or parentProducts like '%,182333,%') 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:
[]
75.33 ms
(8.00%)
1
SELECT SQL_CALC_FOUND_ROWS DISTINCT virtualProductId as id, priceSystemName  FROM ecommerceframework_productindex_wdbe_en a  INNER JOIN ecommerceframework_productindex_wdbe_en_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 '%,22239,%') 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
Parameters:
[]
45.79 ms
(4.86%)
2
SELECT TRIM(`lightColorTemperature`) as `value`, count(DISTINCT virtualProductId) as `count` FROM ecommerceframework_productindex_wdbe_en a  INNER JOIN ecommerceframework_productindex_wdbe_en_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 '%,22239,%') AND (IFNULL(isSalesItem, 0) = 0) GROUP BY TRIM(`lightColorTemperature`)
Parameters:
[]
41.49 ms
(4.41%)
2
SELECT dest as `value`, count(DISTINCT src_virtualProductId) as `count` FROM ecommerceframework_productindex_wdbe_en_relations a WHERE fieldname = 'baseColorObjects' AND src IN (SELECT a.id FROM ecommerceframework_productindex_wdbe_en a  INNER JOIN ecommerceframework_productindex_wdbe_en_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 '%,22239,%') AND (IFNULL(isSalesItem, 0) = 0)) GROUP BY dest
Parameters:
[]
40.73 ms
(4.33%)
2
SELECT TRIM(`typeName`) as `value`, count(DISTINCT virtualProductId) as `count` FROM ecommerceframework_productindex_wdbe_en a  INNER JOIN ecommerceframework_productindex_wdbe_en_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 '%,22239,%') AND (IFNULL(isSalesItem, 0) = 0) GROUP BY TRIM(`typeName`)
Parameters:
[]
40.11 ms
(4.26%)
2
SELECT TRIM(`converterText`) as `value`, count(DISTINCT virtualProductId) as `count` FROM ecommerceframework_productindex_wdbe_en a  INNER JOIN ecommerceframework_productindex_wdbe_en_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 '%,22239,%') AND (IFNULL(isSalesItem, 0) = 0) GROUP BY TRIM(`converterText`)
Parameters:
[]
39.68 ms
(4.22%)
2
SELECT TRIM(`scopeName`) as `value`, count(DISTINCT virtualProductId) as `count` FROM ecommerceframework_productindex_wdbe_en a  INNER JOIN ecommerceframework_productindex_wdbe_en_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 '%,22239,%') AND (IFNULL(isSalesItem, 0) = 0) GROUP BY TRIM(`scopeName`)
Parameters:
[]
39.45 ms
(4.19%)
2
SELECT TRIM(`ipRating`) as `value`, count(DISTINCT virtualProductId) as `count` FROM ecommerceframework_productindex_wdbe_en a  INNER JOIN ecommerceframework_productindex_wdbe_en_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 '%,22239,%') AND (IFNULL(isSalesItem, 0) = 0) GROUP BY TRIM(`ipRating`)
Parameters:
[]
38.75 ms
(4.12%)
2
SELECT TRIM(`lampType`) as `value`, count(DISTINCT virtualProductId) as `count` FROM ecommerceframework_productindex_wdbe_en a  INNER JOIN ecommerceframework_productindex_wdbe_en_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 '%,22239,%') AND (IFNULL(isSalesItem, 0) = 0) GROUP BY TRIM(`lampType`)
Parameters:
[]
32.37 ms
(3.44%)
2
SELECT TRIM(`diameter`) as `value`, count(DISTINCT virtualProductId) as `count` FROM ecommerceframework_productindex_wdbe_en a  INNER JOIN ecommerceframework_productindex_wdbe_en_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 '%,22239,%') AND (IFNULL(isSalesItem, 0) = 0) GROUP BY TRIM(`diameter`)
Parameters:
[]
31.77 ms
(3.37%)
2
SELECT TRIM(`recessedDepth`) as `value`, count(DISTINCT virtualProductId) as `count` FROM ecommerceframework_productindex_wdbe_en a  INNER JOIN ecommerceframework_productindex_wdbe_en_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 '%,22239,%') AND (IFNULL(isSalesItem, 0) = 0) GROUP BY TRIM(`recessedDepth`)
Parameters:
[]
31.29 ms
(3.32%)
2
SELECT TRIM(`cutOutMin`) as `value`, count(DISTINCT virtualProductId) as `count` FROM ecommerceframework_productindex_wdbe_en a  INNER JOIN ecommerceframework_productindex_wdbe_en_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 '%,22239,%') AND (IFNULL(isSalesItem, 0) = 0) GROUP BY TRIM(`cutOutMin`)
Parameters:
[]
30.19 ms
(3.21%)
2
SELECT TRIM(`cutOutMax`) as `value`, count(DISTINCT virtualProductId) as `count` FROM ecommerceframework_productindex_wdbe_en a  INNER JOIN ecommerceframework_productindex_wdbe_en_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 '%,22239,%') AND (IFNULL(isSalesItem, 0) = 0) GROUP BY TRIM(`cutOutMax`)
Parameters:
[]
23.01 ms
(2.44%)
52
SELECT * FROM assets_image_thumbnail_cache WHERE cid = ?
Parameters:
[
  4574046
]
22.01 ms
(2.34%)
52
SELECT customSettings FROM assets WHERE id = ?
Parameters:
[
  4574046
]
7.77 ms
(0.83%)
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=en&_format=html&_controller=App%5CController%5CSnippetController%3A%3AheaderAction"
  "path_query"
  "https://testing.weverducre.com/_fragment?_path=_locale=en&_format=html&_controller=App%5CController%5CSnippetController%3A%3AheaderAction"
  "entire_uri"
]
5.43 ms
(0.58%)
12
SELECT * FROM documents_editables WHERE documentId = ?
Parameters:
[
  242
]
3.29 ms
(0.35%)
7
SELECT * FROM sites WHERE rootId = ?
Parameters:
[
  2
]
3.15 ms
(0.33%)
8
SELECT * FROM settings_store WHERE id = ? AND scope = ?
Parameters:
[
  "BUNDLE_INSTALLED__Pimcore\Bundle\SeoBundle\PimcoreSeoBundle"
  "pimcore"
]
3.01 ms
(0.32%)
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_en a  INNER JOIN ecommerceframework_productindex_wdbe_en_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 = '17199' and a.id != '17199') or parentProducts like '%,17199,%') 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:
[]
2.70 ms
(0.29%)
7
SELECT name FROM classes WHERE id = ?
Parameters:
[
  "SCONF"
]
2.14 ms
(0.23%)
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_en a  INNER JOIN ecommerceframework_productindex_wdbe_en_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 = '182342' and a.id != '182342') or parentProducts like '%,182342,%') 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:
[]
2.02 ms
(0.22%)
5
SELECT documents.id, documents.type FROM documents WHERE  (parentId = ?) AND published = 1 ORDER BY `index` ASC
Parameters:
[
  169
]
1.72 ms
(0.18%)
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:
[
  "/en/products/c/lobby-reception~22239"
  "path"
  "auto_create"
  "/en/products/c/lobby-reception~22239"
  "path_query"
  "https://testing.weverducre.com/en/products/c/lobby-reception~22239"
  "entire_uri"
]
1.61 ms
(0.17%)
3
SELECT id FROM documents WHERE `path` = BINARY ? AND `key` = BINARY ?
Parameters:
[
  "/weverducre.com/en/products/c/"
  "lobby-reception~22239"
]
1.58 ms
(0.17%)
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_en a  INNER JOIN ecommerceframework_productindex_wdbe_en_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 = '182339' and a.id != '182339') or parentProducts like '%,182339,%') 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.56 ms
(0.17%)
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_en a  INNER JOIN ecommerceframework_productindex_wdbe_en_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 = '182338' and a.id != '182338') or parentProducts like '%,182338,%') 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.33 ms
(0.14%)
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/%"
  "/en/products/c/lobby-reception~22239"
]
1.22 ms
(0.13%)
2
SELECT id FROM documents_page WHERE prettyUrl = ?
Parameters:
[
  "/weverducre.com/en/products/c/lobby-reception~22239"
]
1.20 ms
(0.13%)
2
SELECT * FROM object_relations_EF_FD WHERE src_id = ?
Parameters:
[
  26095
]
0.95 ms
(0.10%)
1
SELECT * FROM object_relations_SCONF WHERE src_id = ?
Parameters:
[
  1547
]
0.85 ms
(0.09%)
1
SELECT name, type, data, cid, inheritable, cpath FROM properties WHERE
                     (
                         (cid IN (1,22224,22218,1548,1544) AND inheritable = 1)
                         OR cid = ? ) AND ctype='object'
Parameters:
[
  22239
]
0.48 ms
(0.05%)
1
SELECT FOUND_ROWS()
Parameters:
[]
0.48 ms
(0.05%)
1
SELECT object_localized_SCONF_en.id as id, object_localized_SCONF_en.type as `type` FROM object_localized_SCONF_en LEFT JOIN object_brick_query_EcommerceB2B_SCONF `EcommerceB2B` ON 1
AND `EcommerceB2B`.id = `object_localized_SCONF_en`.id LEFT JOIN object_brick_localized_query_EcommerceB2B_SCONF_en `EcommerceB2B_localized` ON 1
AND `EcommerceB2B_localized`.ooo_id = `object_localized_SCONF_en`.id LEFT JOIN object_brick_query_EcommerceB2C_SCONF `EcommerceB2C` ON 1
AND `EcommerceB2C`.id = `object_localized_SCONF_en`.id LEFT JOIN object_brick_localized_query_EcommerceB2C_SCONF_en `EcommerceB2C_localized` ON 1
AND `EcommerceB2C_localized`.ooo_id = `object_localized_SCONF_en`.id WHERE (((EcommerceB2B.dataAreaId = ? or EcommerceB2C.dataAreaId = ?))  AND  object_localized_SCONF_en.type IN ('object','variant','folder')) AND object_localized_SCONF_en.published = 1 LIMIT 1
Parameters:
[
  "wdbe"
  "wdbe"
]
0.46 ms
(0.05%)
1
SELECT * FROM tmp_store WHERE id = ?
Parameters:
[
  "maintenance_mode"
]
0.42 ms
(0.04%)
1
SELECT * FROM translations_messages LIMIT 1;
Parameters:
[]
0.39 ms
(0.04%)
1
SELECT * FROM translations_admin LIMIT 1;
Parameters:
[]
0.38 ms
(0.04%)
1
SELECT * FROM object_relations_PCAT WHERE src_id = ?
Parameters:
[
  22239
]
0.34 ms
(0.04%)
1
SELECT object_localized_8_en.id as id, object_localized_8_en.type as `type` FROM object_localized_8_en WHERE ( object_localized_8_en.type IN ('object','variant','folder')) AND object_localized_8_en.published = 1
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.