Query Metrics

119 Database Queries
41 Different statements
352.40 ms Query time
0 Invalid entities
0 Managed entities

Grouped Statements

Show all queries

default connection

Time Count Info
33.84 ms
(9.60%)
1
SELECT SQL_CALC_FOUND_ROWS DISTINCT virtualProductId as id, priceSystemName  FROM ecommerceframework_productindex_wdbe_it a  INNER JOIN ecommerceframework_productindex_wdbe_it_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 '%,91124,%') AND (parentCategoryIds not like '%,165410,%') 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:
[]
26.15 ms
(7.42%)
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_it a  INNER JOIN ecommerceframework_productindex_wdbe_it_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 = '120073' and a.id != '120073') or parentProducts like '%,120073,%') 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.07 ms
(7.40%)
2
SELECT TRIM(`scopeName`) as `value`, count(DISTINCT virtualProductId) as `count` FROM ecommerceframework_productindex_wdbe_it a  INNER JOIN ecommerceframework_productindex_wdbe_it_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 '%,91124,%') AND (parentCategoryIds not like '%,165410,%') GROUP BY TRIM(`scopeName`)
Parameters:
[]
23.32 ms
(6.62%)
2
SELECT TRIM(`cutOutMin`) as `value`, count(DISTINCT virtualProductId) as `count` FROM ecommerceframework_productindex_wdbe_it a  INNER JOIN ecommerceframework_productindex_wdbe_it_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 '%,91124,%') AND (parentCategoryIds not like '%,165410,%') GROUP BY TRIM(`cutOutMin`)
Parameters:
[]
22.92 ms
(6.50%)
2
SELECT TRIM(`typeName`) as `value`, count(DISTINCT virtualProductId) as `count` FROM ecommerceframework_productindex_wdbe_it a  INNER JOIN ecommerceframework_productindex_wdbe_it_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 '%,91124,%') AND (parentCategoryIds not like '%,165410,%') GROUP BY TRIM(`typeName`)
Parameters:
[]
22.01 ms
(6.25%)
2
SELECT TRIM(`converterText`) as `value`, count(DISTINCT virtualProductId) as `count` FROM ecommerceframework_productindex_wdbe_it a  INNER JOIN ecommerceframework_productindex_wdbe_it_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 '%,91124,%') AND (parentCategoryIds not like '%,165410,%') GROUP BY TRIM(`converterText`)
Parameters:
[]
21.96 ms
(6.23%)
2
SELECT TRIM(`lightColorTemperature`) as `value`, count(DISTINCT virtualProductId) as `count` FROM ecommerceframework_productindex_wdbe_it a  INNER JOIN ecommerceframework_productindex_wdbe_it_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 '%,91124,%') AND (parentCategoryIds not like '%,165410,%') GROUP BY TRIM(`lightColorTemperature`)
Parameters:
[]
21.72 ms
(6.16%)
2
SELECT TRIM(`lampType`) as `value`, count(DISTINCT virtualProductId) as `count` FROM ecommerceframework_productindex_wdbe_it a  INNER JOIN ecommerceframework_productindex_wdbe_it_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 '%,91124,%') AND (parentCategoryIds not like '%,165410,%') GROUP BY TRIM(`lampType`)
Parameters:
[]
21.70 ms
(6.16%)
2
SELECT TRIM(`recessedDepth`) as `value`, count(DISTINCT virtualProductId) as `count` FROM ecommerceframework_productindex_wdbe_it a  INNER JOIN ecommerceframework_productindex_wdbe_it_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 '%,91124,%') AND (parentCategoryIds not like '%,165410,%') GROUP BY TRIM(`recessedDepth`)
Parameters:
[]
21.33 ms
(6.05%)
2
SELECT TRIM(`ipRating`) as `value`, count(DISTINCT virtualProductId) as `count` FROM ecommerceframework_productindex_wdbe_it a  INNER JOIN ecommerceframework_productindex_wdbe_it_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 '%,91124,%') AND (parentCategoryIds not like '%,165410,%') GROUP BY TRIM(`ipRating`)
Parameters:
[]
21.22 ms
(6.02%)
2
SELECT TRIM(`diameter`) as `value`, count(DISTINCT virtualProductId) as `count` FROM ecommerceframework_productindex_wdbe_it a  INNER JOIN ecommerceframework_productindex_wdbe_it_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 '%,91124,%') AND (parentCategoryIds not like '%,165410,%') GROUP BY TRIM(`diameter`)
Parameters:
[]
21.09 ms
(5.99%)
2
SELECT TRIM(`cutOutMax`) as `value`, count(DISTINCT virtualProductId) as `count` FROM ecommerceframework_productindex_wdbe_it a  INNER JOIN ecommerceframework_productindex_wdbe_it_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 '%,91124,%') AND (parentCategoryIds not like '%,165410,%') GROUP BY TRIM(`cutOutMax`)
Parameters:
[]
21.04 ms
(5.97%)
2
SELECT dest as `value`, count(DISTINCT src_virtualProductId) as `count` FROM ecommerceframework_productindex_wdbe_it_relations a WHERE fieldname = 'baseColorObjects' AND src IN (SELECT a.id FROM ecommerceframework_productindex_wdbe_it a  INNER JOIN ecommerceframework_productindex_wdbe_it_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 '%,91124,%') AND (parentCategoryIds not like '%,165410,%')) GROUP BY dest
Parameters:
[]
7.46 ms
(2.12%)
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=it&_format=html&_controller=App%5CController%5CSnippetController%3A%3AheaderAction"
  "path_query"
  "https://testing.weverducre.com/_fragment?_path=_locale=it&_format=html&_controller=App%5CController%5CSnippetController%3A%3AheaderAction"
  "entire_uri"
]
5.19 ms
(1.47%)
12
SELECT * FROM documents_editables WHERE documentId = ?
Parameters:
[
  1849
]
5.11 ms
(1.45%)
12
SELECT customSettings FROM assets WHERE id = ?
Parameters:
[
  4574046
]
4.78 ms
(1.36%)
12
SELECT * FROM assets_image_thumbnail_cache WHERE cid = ?
Parameters:
[
  4574046
]
3.22 ms
(0.91%)
8
SELECT * FROM settings_store WHERE id = ? AND scope = ?
Parameters:
[
  "BUNDLE_INSTALLED__Pimcore\Bundle\SeoBundle\PimcoreSeoBundle"
  "pimcore"
]
3.06 ms
(0.87%)
7
SELECT * FROM sites WHERE rootId = ?
Parameters:
[
  2
]
2.64 ms
(0.75%)
7
SELECT name FROM classes WHERE id = ?
Parameters:
[
  "SCONF"
]
1.90 ms
(0.54%)
5
SELECT documents.id, documents.type FROM documents WHERE  (parentId = ?) AND published = 1 ORDER BY `index` ASC
Parameters:
[
  1944
]
1.60 ms
(0.45%)
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:
[
  "/it/prodotti/c/fil~91124"
  "path"
  "auto_create"
  "/it/prodotti/c/fil~91124"
  "path_query"
  "https://testing.weverducre.com/it/prodotti/c/fil~91124"
  "entire_uri"
]
1.27 ms
(0.36%)
3
SELECT id FROM documents WHERE `path` = BINARY ? AND `key` = BINARY ?
Parameters:
[
  "/weverducre.com/it/prodotti/c/"
  "fil~91124"
]
1.12 ms
(0.32%)
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/%"
  "/it/prodotti/c/fil~91124"
]
0.99 ms
(0.28%)
2
SELECT id FROM documents_page WHERE prettyUrl = ?
Parameters:
[
  "/weverducre.com/it/prodotti/c/fil~91124"
]
0.96 ms
(0.27%)
1
SELECT name, type, data, cid, inheritable, cpath FROM properties WHERE
                     (
                         (cid IN (1,28497,22218,1548,1544) AND inheritable = 1)
                         OR cid = ? ) AND ctype='object'
Parameters:
[
  91124
]
0.93 ms
(0.27%)
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_it a  INNER JOIN ecommerceframework_productindex_wdbe_it_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 = '87563' and a.id != '87563') or parentProducts like '%,87563,%') 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:
[]
0.92 ms
(0.26%)
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_it a  INNER JOIN ecommerceframework_productindex_wdbe_it_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 = '87564' and a.id != '87564') or parentProducts like '%,87564,%') 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:
[]
0.85 ms
(0.24%)
1
SELECT * FROM object_relations_SCONF WHERE src_id = ?
Parameters:
[
  1547
]
0.83 ms
(0.23%)
2
SELECT * FROM translations_messages LIMIT 1;
Parameters:
[]
0.83 ms
(0.23%)
2
SELECT * FROM translations_admin LIMIT 1;
Parameters:
[]
0.66 ms
(0.19%)
1
SELECT data FROM ecommerceframework_productindex_store WHERE id = ? AND tenant = ?
Parameters:
[
  120073
  "wdbe_it"
]
0.64 ms
(0.18%)
1
UPDATE ecommerceframework_productindex_store SET crc_index = crc_current WHERE id = ? and tenant = ?
Parameters:
[
  120073
  "wdbe_it"
]
0.49 ms
(0.14%)
1
SELECT * FROM object_relations_EF_FD WHERE src_id = ?
Parameters:
[
  1551
]
0.43 ms
(0.12%)
1
SELECT object_localized_8_it.id as id, object_localized_8_it.type as `type` FROM object_localized_8_it WHERE ( object_localized_8_it.type IN ('object','variant','folder')) AND object_localized_8_it.published = 1
Parameters:
[]
0.42 ms
(0.12%)
1
SELECT FOUND_ROWS()
Parameters:
[]
0.39 ms
(0.11%)
1
SELECT * FROM tmp_store WHERE id = ?
Parameters:
[
  "maintenance_mode"
]
0.37 ms
(0.10%)
1
SELECT object_localized_SCONF_it.id as id, object_localized_SCONF_it.type as `type` FROM object_localized_SCONF_it LEFT JOIN object_brick_query_EcommerceB2B_SCONF `EcommerceB2B` ON 1
AND `EcommerceB2B`.id = `object_localized_SCONF_it`.id LEFT JOIN object_brick_localized_query_EcommerceB2B_SCONF_it `EcommerceB2B_localized` ON 1
AND `EcommerceB2B_localized`.ooo_id = `object_localized_SCONF_it`.id LEFT JOIN object_brick_query_EcommerceB2C_SCONF `EcommerceB2C` ON 1
AND `EcommerceB2C`.id = `object_localized_SCONF_it`.id LEFT JOIN object_brick_localized_query_EcommerceB2C_SCONF_it `EcommerceB2C_localized` ON 1
AND `EcommerceB2C_localized`.ooo_id = `object_localized_SCONF_it`.id WHERE (((EcommerceB2B.dataAreaId = ? or EcommerceB2C.dataAreaId = ?))  AND  object_localized_SCONF_it.type IN ('object','variant','folder')) AND object_localized_SCONF_it.published = 1 LIMIT 1
Parameters:
[
  "wdbe"
  "wdbe"
]
0.36 ms
(0.10%)
1
SELECT * FROM object_relations_PCAT WHERE src_id = ?
Parameters:
[
  91124
]
0.31 ms
(0.09%)
1
"COMMIT"
Parameters:
[]
0.29 ms
(0.08%)
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.