Query Metrics
153
Database Queries
49
Different statements
707.98 ms
Query time
1
Invalid entities
0
Managed entities
Grouped Statements
default connection
| Time▼ | Count | Info |
|---|---|---|
|
167.80 ms (23.70%) |
2 |
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 = '68096' and a.id != '68096') or parentProducts like '%,68096,%') 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:
[] |
|
127.40 ms (17.99%) |
2 |
(
select o.itemNumber as `itemNumber`, o.itemNumberAnnotation as `itemNumberAnnotation`, u.dest_id as `usageDestId`, l.dest_id as `localeDestId`, u.data as `usage`, l.data as `locale`
from
object_localized_prod_en as o
left outer join
(select * from object_metadata_prod where fieldname = 'manualDocuments' and `column` = 'usage') as u on o.id = u.id
left outer join
(select * from object_metadata_prod where fieldname = 'manualDocuments' and `column` = 'locale') as l on o.id = l.id and u.dest_id = l.dest_id
where o.published = 1 and o.productType = ? and o.chapterId = ?
)
union
(
select o.itemNumber as `itemNumber`, o.itemNumberAnnotation as `itemNumberAnnotation`, u.dest_id as `usageDestId`, l.dest_id as `localeDestId`, u.data as `usage`, l.data as `locale`
from
object_localized_prod_en as o
left outer join
(select * from object_metadata_prod where fieldname = 'manualDocuments' and `column` = 'usage') as u on o.id = u.id
left outer join
(select * from object_metadata_prod where fieldname = 'manualDocuments' and `column` = 'locale') as l on o.id = l.id and u.dest_id = l.dest_id
where o.published = 1 and o.productType = ? and o.lineName = ?
)
union
(
select o.itemNumber as `itemNumber`, o.itemNumberAnnotation as `itemNumberAnnotation`, u.dest_id as `usageDestId`, l.dest_id as `localeDestId`, u.data as `usage`, l.data as `locale`
from
object_localized_prod_en as o
left outer join
(select * from object_metadata_prod where fieldname = 'manualDocuments' and `column` = 'usage') as u on o.id = u.id
left outer join
(select * from object_metadata_prod where fieldname = 'manualDocuments' and `column` = 'locale') as l on o.id = l.id and u.dest_id = l.dest_id
where o.published = 1 and o.itemNumber = ? and o.productType = ?
)
union
(
select o.itemNumber as `itemNumber`, o.itemNumberAnnotation as `itemNumberAnnotation`, u.dest_id as `usageDestId`, l.dest_id as `localeDestId`, u.data as `usage`, l.data as `locale`
from
object_localized_prod_en as o
left outer join
(select * from object_metadata_prod where fieldname = 'documents' and `column` = 'usage') as u on o.id = u.id
left outer join
(select * from object_metadata_prod where fieldname = 'documents' and `column` = 'locale') as l on o.id = l.id and u.dest_id = l.dest_id
where o.published = 1 and o.actualItemNumber = ? and o.productType = ?
)
union
(
select o.itemNumber as `itemNumber`, o.itemNumberAnnotation as `itemNumberAnnotation`, mainImage as `usageDestId`, mainImage as `localeDestId`, 'Product' as `usage`, '' as `locale`
from object_localized_prod_en as o
where o.published = 1 and o.actualItemNumber = ? and o.productType = ?
)
union
(
select o.itemNumber as `itemNumber`, o.itemNumberAnnotation as `itemNumberAnnotation`, mainDrawing__id as `usageDestId`, mainDrawing__id as `localeDestId`, 'Drawing' as `usage`, '' as `locale`
from object_localized_prod_en as o
where o.published = 1 and o.actualItemNumber = ? and o.productType = ?
)
Parameters:
[ "chapter" "929" "line" "ROOMOR FLOOR 1.3" "638120BF3" "article" "638120BF3" "aspect" "638120BF3" "aspect" "638120BF3" "aspect" ] |
|
62.90 ms (8.89%) |
1 |
SELECT 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 (((virtualProductId = '68096' and a.id != '68096') or parentProducts like '%,68096,%')) AND (IFNULL(isSalesItem, 0) = 0)
Parameters:
[] |
|
48.16 ms (6.80%) |
1 |
SELECT `itemNumber` 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 a.id IN (SELECT DISTINCT src FROM ecommerceframework_productindex_wdbe_en_relations WHERE `fieldname` = 'detailColorObject2' AND dest = '23497') AND (((virtualProductId = '68096' and a.id != '68096') or parentProducts like '%,68096,%')) AND (TRIM(`lampType`) = 'PAR16') AND (TRIM(`opticsCategory`) = 'Shade 3.0') AND (TRIM(`mountingText`) = 'cable plug with floor switch') GROUP BY `itemNumber`
Parameters:
[] |
|
33.42 ms (4.72%) |
1 |
SELECT object_localized_prod_en.id as id, object_localized_prod_en.type as `type` FROM object_localized_prod_en WHERE ((productType = ?) AND ((lineName = ?)) AND object_localized_prod_en.type IN ('object','variant','folder')) AND object_localized_prod_en.published = 1
Parameters:
[ "line" "ROOMOR FLOOR 1.2" ] |
|
30.76 ms (4.34%) |
1 |
SELECT TRIM(`itemNumber`) as `value`, count(*) 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 (((virtualProductId = '68096' and a.id != '68096') or parentProducts like '%,68096,%')) AND (IFNULL(isSalesItem, 0) = 0) GROUP BY TRIM(`itemNumber`)
Parameters:
[] |
|
23.21 ms (3.28%) |
1 |
SELECT TRIM(`lampType`) as `value`, count(*) 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 (((virtualProductId = '68096' and a.id != '68096') or parentProducts like '%,68096,%')) AND (IFNULL(isSalesItem, 0) = 0) GROUP BY TRIM(`lampType`)
Parameters:
[] |
|
21.78 ms (3.08%) |
1 |
SELECT TRIM(`opticsCategory`) as `value`, count(*) 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 (((virtualProductId = '68096' and a.id != '68096') or parentProducts like '%,68096,%')) AND (IFNULL(isSalesItem, 0) = 0) GROUP BY TRIM(`opticsCategory`)
Parameters:
[] |
|
21.44 ms (3.03%) |
1 |
SELECT dest FROM ecommerceframework_productindex_wdbe_en_relations a WHERE fieldname = 'detailColorObject2' 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 (((virtualProductId = '68096' and a.id != '68096') or parentProducts like '%,68096,%')) AND (TRIM(`lampType`) = 'PAR16') AND (TRIM(`opticsCategory`) = 'Shade 3.0') AND (TRIM(`mountingText`) = 'cable plug with floor switch')) GROUP BY dest
Parameters:
[] |
|
21.25 ms (3.00%) |
1 |
SELECT TRIM(`mountingText`) as `value`, count(*) 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 (((virtualProductId = '68096' and a.id != '68096') or parentProducts like '%,68096,%')) AND (IFNULL(isSalesItem, 0) = 0) GROUP BY TRIM(`mountingText`)
Parameters:
[] |
|
20.76 ms (2.93%) |
1 |
SELECT TRIM(`cableLength`) as `value`, count(*) 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 (((virtualProductId = '68096' and a.id != '68096') or parentProducts like '%,68096,%')) AND (IFNULL(isSalesItem, 0) = 0) GROUP BY TRIM(`cableLength`)
Parameters:
[] |
|
19.97 ms (2.82%) |
1 |
SELECT dest as `value`, count(*) as `count` FROM ecommerceframework_productindex_wdbe_en_relations a WHERE fieldname = 'detailColorObject2' 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 (((virtualProductId = '68096' and a.id != '68096') or parentProducts like '%,68096,%')) AND (IFNULL(isSalesItem, 0) = 0)) GROUP BY dest
Parameters:
[] |
|
13.63 ms (1.93%) |
14 |
SELECT classificationstore_relations.*,classificationstore_keys.* FROM classificationstore_relations,classificationstore_keys WHERE (keyId = ?) AND classificationstore_relations.keyId = classificationstore_keys.id LIMIT 1
Parameters:
[
159
]
|
|
7.90 ms (1.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=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" ] |
|
7.89 ms (1.11%) |
17 |
SELECT customSettings FROM assets WHERE id = ?
Parameters:
[
4574046
]
|
|
7.85 ms (1.11%) |
10 |
SELECT name FROM classes WHERE id = ?
Parameters:
[
"SCONF"
]
|
|
7.83 ms (1.11%) |
16 |
SELECT * FROM assets_image_thumbnail_cache WHERE cid = ?
Parameters:
[
4574046
]
|
|
5.20 ms (0.73%) |
1 |
SELECT object_localized_prod_en.id as id, object_localized_prod_en.type as `type` FROM object_localized_prod_en WHERE (`itemNumber` = '638120BF3' AND object_localized_prod_en.type IN ('variant','object')) AND object_localized_prod_en.published = 1 LIMIT 1
Parameters:
[] |
|
4.96 ms (0.70%) |
2 |
SELECT assets.id, assets.type FROM assets WHERE parentId = ? ORDER BY `filename` ASC
Parameters:
[
1196332
]
|
|
4.65 ms (0.66%) |
1 |
SELECT sum(a0_.amount) AS sclr_0 FROM app_stock_reservation a0_ WHERE a0_.itemNumber = ?
Parameters:
[
"000367312"
]
|
|
4.40 ms (0.62%) |
9 |
SELECT * FROM documents_editables WHERE documentId = ?
Parameters:
[
242
]
|
|
3.67 ms (0.52%) |
3 |
SELECT * FROM object_metadata_prod WHERE object_metadata_prod.id = ? AND dest_id = ? AND fieldname = ? AND ownertype = ? AND ownername = ? and position = ? and `index` = ? AND `type` = 'asset'
Parameters:
[ 68096 3587507 "projectImages" "object" "" "0" 1 ] |
|
3.34 ms (0.47%) |
8 |
SELECT * FROM settings_store WHERE id = ? AND scope = ?
Parameters:
[ "BUNDLE_INSTALLED__Pimcore\Bundle\SeoBundle\PimcoreSeoBundle" "pimcore" ] |
|
2.98 ms (0.42%) |
7 |
SELECT * FROM sites WHERE rootId = ?
Parameters:
[
2
]
|
|
2.91 ms (0.41%) |
4 |
SELECT * FROM object_relations_prod WHERE src_id = ?
Parameters:
[
28024
]
|
|
2.62 ms (0.37%) |
1 |
SELECT COUNT(*) FROM object_localized_7_en WHERE ((ifnull(headline, "") != "") AND (products like ?) AND object_localized_7_en.type IN ('object','variant','folder')) AND object_localized_7_en.published = 1
Parameters:
[
"%,68096,%"
]
|
|
2.29 ms (0.32%) |
1 |
SELECT object_localized_prod_en.id as id, object_localized_prod_en.type as `type` FROM object_localized_prod_en WHERE (itemNumber = ?) AND (productType = ?) AND object_localized_prod_en.type IN ('object','variant','folder') LIMIT 1
Parameters:
[ "638120BF3" "article" ] |
|
1.92 ms (0.27%) |
5 |
SELECT documents.id, documents.type FROM documents WHERE (parentId = ?) AND published = 1 ORDER BY `index` ASC
Parameters:
[
169
]
|
|
1.81 ms (0.26%) |
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/p/roomor-floor-1.3~28024" "path" "auto_create" "/en/products/p/roomor-floor-1.3~28024?parameters[projectCategory]=11738" "path_query" "https://testing.weverducre.com/en/products/p/roomor-floor-1.3~28024?parameters[projectCategory]=11738" "entire_uri" ] |
|
1.73 ms (0.24%) |
3 |
SELECT id FROM documents WHERE `path` = BINARY ? AND `key` = BINARY ?
Parameters:
[ "/weverducre.com/en/products/p/" "roomor-floor-1.3~28024" ] |
|
1.69 ms (0.24%) |
2 |
SELECT object_localized_SOPT_en.id as id, object_localized_SOPT_en.type as `type` FROM object_localized_SOPT_en WHERE ((context = ?) AND (val = ?) AND object_localized_SOPT_en.type IN ('object','variant','folder')) AND object_localized_SOPT_en.published = 1 LIMIT 1
Parameters:
[ "color" "Felt Grey" ] |
|
1.33 ms (0.19%) |
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/p/roomor-floor-1.3~28024" ] |
|
1.29 ms (0.18%) |
2 |
SELECT id FROM documents_page WHERE prettyUrl = ?
Parameters:
[
"/weverducre.com/en/products/p/roomor-floor-1.3~28024"
]
|
|
1.05 ms (0.15%) |
1 |
SELECT * FROM object_relations_SCONF WHERE src_id = ?
Parameters:
[
1547
]
|
|
0.98 ms (0.14%) |
1 |
SELECT * FROM object_collection_AxVersion_prod WHERE id = ? AND fieldname = ? ORDER BY `index` ASC
Parameters:
[ 28024 "axVersions" ] |
|
0.70 ms (0.10%) |
2 |
SELECT object_localized_prod_en.id as id, object_localized_prod_en.type as `type` FROM object_localized_prod_en WHERE (itemNumber is null) AND (productType = ?) AND object_localized_prod_en.type IN ('object','variant','folder') LIMIT 1
Parameters:
[
"article"
]
|
|
0.69 ms (0.10%) |
2 |
SELECT * FROM classificationstore_keys WHERE name = 'e_cable_length' and storeId = 1
Parameters:
[] |
|
0.69 ms (0.10%) |
1 |
SELECT id FROM assets WHERE id IN (3587507,4363275)
Parameters:
[] |
|
0.63 ms (0.09%) |
1 |
SELECT id FROM assets WHERE id IN (951658)
Parameters:
[] |
|
0.62 ms (0.09%) |
2 |
SELECT * FROM object_relations_PCAT WHERE src_id = ?
Parameters:
[
77127
]
|
|
0.52 ms (0.07%) |
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.43 ms (0.06%) |
1 |
SELECT * FROM tmp_store WHERE id = ?
Parameters:
[
"maintenance_mode"
]
|
|
0.42 ms (0.06%) |
1 |
SELECT * FROM translations_messages LIMIT 1;
Parameters:
[] |
|
0.42 ms (0.06%) |
1 |
SELECT * FROM object_relations_EF_FD WHERE src_id = ?
Parameters:
[
23143
]
|
|
0.40 ms (0.06%) |
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:
[] |
|
0.37 ms (0.05%) |
1 |
SELECT id FROM ecommerceframework_pricing_rule WHERE active = 1 ORDER BY `prio` ASC
Parameters:
[] |
ax connection
| Time▼ | Count | Info |
|---|---|---|
|
7.08 ms (1.00%) |
6 |
select 1 from WS_PRODUCT a join WS_CONTROLPRODUCTSSALES b on a.DATAAREAID = b.DATAAREAID and a.ITEMGROUPID = b.ITEMGROUPID where a.DATAAREAID = ? and b.ITEMGROUPID = ? and a.ITEMNUMBER = ? and (b.TYPE = 2 OR b.TYPE = 0)
Parameters:
[ "wdbe" "G_SBOM_ALL" "000367312" ] |
|
1.43 ms (0.20%) |
1 |
SELECT * FROM WS_MAXREPORTASFINISHED WHERE ITEMID = ? ORDER BY (SELECT 0) OFFSET 0 ROWS FETCH NEXT 1 ROWS ONLY
Parameters:
[
"000367312"
]
|
|
0.79 ms (0.11%) |
1 |
SELECT * FROM WS_SALESPRICE WHERE ITEMNUMBER IN (?)
Parameters:
[
"000367312"
]
|
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
| Class | Mapping errors |
|---|---|
| App\Entity\StockReservation |
|