Query Metrics
180
Database Queries
52
Different statements
435.96 ms
Query time
1
Invalid entities
0
Managed entities
Grouped Statements
default connection
| Time▼ | Count | Info |
|---|---|---|
|
110.22 ms (25.28%) |
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_de 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_de 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_de 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_de 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_de 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_de as o
where o.published = 1 and o.actualItemNumber = ? and o.productType = ?
)
Parameters:
[ "chapter" "924" "line" "HEXO WALL mini 2.0" "301420P0" "article" "301420P0" "aspect" "301420P0" "aspect" "301420P0" "aspect" ] |
|
37.91 ms (8.70%) |
1 |
SELECT `itemNumber` FROM ecommerceframework_productindex_wdbe_de a INNER JOIN ecommerceframework_productindex_wdbe_de_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_de_relations WHERE `fieldname` = 'colorObject' AND dest = '23515') AND (((virtualProductId = '49045' and a.id != '49045') or parentProducts like '%,49045,%')) AND (TRIM(`lampType`) = 'PAR16') GROUP BY `itemNumber`
Parameters:
[] |
|
28.57 ms (6.55%) |
1 |
SELECT SQL_CALC_FOUND_ROWS a.id, priceSystemName FROM ecommerceframework_productindex_wdbe_de a INNER JOIN ecommerceframework_productindex_wdbe_de_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 = '49045' and a.id != '49045') or parentProducts like '%,49045,%')) ORDER BY mainProductInLine desc,isPredecessor desc,isCombinedProduct asc,a.id ASC LIMIT 1
Parameters:
[] |
|
22.77 ms (5.22%) |
1 |
SELECT TRIM(`lampType`) as `value`, count(*) as `count` FROM ecommerceframework_productindex_wdbe_de a INNER JOIN ecommerceframework_productindex_wdbe_de_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 = '49045' and a.id != '49045') or parentProducts like '%,49045,%')) AND (IFNULL(isSalesItem, 0) = 0) GROUP BY TRIM(`lampType`)
Parameters:
[] |
|
21.93 ms (5.03%) |
1 |
SELECT count(*) FROM ecommerceframework_productindex_wdbe_de a INNER JOIN ecommerceframework_productindex_wdbe_de_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 = '49045' and a.id != '49045') or parentProducts like '%,49045,%')) AND (IFNULL(isSalesItem, 0) = 0)
Parameters:
[] |
|
21.59 ms (4.95%) |
1 |
SELECT dest FROM ecommerceframework_productindex_wdbe_de_relations a WHERE fieldname = 'colorObject' AND src IN (SELECT a.id FROM ecommerceframework_productindex_wdbe_de a INNER JOIN ecommerceframework_productindex_wdbe_de_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 = '49045' and a.id != '49045') or parentProducts like '%,49045,%')) AND (TRIM(`lampType`) = 'PAR16')) GROUP BY dest
Parameters:
[] |
|
21.56 ms (4.95%) |
1 |
SELECT dest as `value`, count(*) as `count` FROM ecommerceframework_productindex_wdbe_de_relations a WHERE fieldname = 'colorObject' AND src IN (SELECT a.id FROM ecommerceframework_productindex_wdbe_de a INNER JOIN ecommerceframework_productindex_wdbe_de_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 = '49045' and a.id != '49045') or parentProducts like '%,49045,%')) AND (IFNULL(isSalesItem, 0) = 0)) GROUP BY dest
Parameters:
[] |
|
20.99 ms (4.81%) |
1 |
SELECT TRIM(`mountingText`) as `value`, count(*) as `count` FROM ecommerceframework_productindex_wdbe_de a INNER JOIN ecommerceframework_productindex_wdbe_de_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 = '49045' and a.id != '49045') or parentProducts like '%,49045,%')) AND (IFNULL(isSalesItem, 0) = 0) GROUP BY TRIM(`mountingText`)
Parameters:
[] |
|
20.93 ms (4.80%) |
1 |
SELECT TRIM(`cableLength`) as `value`, count(*) as `count` FROM ecommerceframework_productindex_wdbe_de a INNER JOIN ecommerceframework_productindex_wdbe_de_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 = '49045' and a.id != '49045') or parentProducts like '%,49045,%')) AND (IFNULL(isSalesItem, 0) = 0) GROUP BY TRIM(`cableLength`)
Parameters:
[] |
|
20.70 ms (4.75%) |
1 |
SELECT TRIM(`itemNumber`) as `value`, count(*) as `count` FROM ecommerceframework_productindex_wdbe_de a INNER JOIN ecommerceframework_productindex_wdbe_de_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 = '49045' and a.id != '49045') or parentProducts like '%,49045,%')) AND (IFNULL(isSalesItem, 0) = 0) GROUP BY TRIM(`itemNumber`)
Parameters:
[] |
|
8.63 ms (1.98%) |
20 |
SELECT * FROM assets_image_thumbnail_cache WHERE cid = ?
Parameters:
[
4574046
]
|
|
8.14 ms (1.87%) |
21 |
SELECT customSettings FROM assets WHERE id = ?
Parameters:
[
4574046
]
|
|
7.50 ms (1.72%) |
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=de&_format=html&_controller=App%5CController%5CSnippetController%3A%3AheaderAction" "path_query" "https://testing.weverducre.com/_fragment?_path=_locale=de&_format=html&_controller=App%5CController%5CSnippetController%3A%3AheaderAction" "entire_uri" ] |
|
7.19 ms (1.65%) |
4 |
SELECT * FROM object_relations_prod WHERE src_id = ?
Parameters:
[
19776
]
|
|
5.44 ms (1.25%) |
14 |
SELECT classificationstore_relations.*,classificationstore_keys.* FROM classificationstore_relations,classificationstore_keys WHERE (keyId = ?) AND classificationstore_relations.keyId = classificationstore_keys.id LIMIT 1
Parameters:
[
159
]
|
|
5.25 ms (1.20%) |
7 |
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:
[ 49045 855603 "projectImages" "object" "" "0" 1 ] |
|
3.94 ms (0.90%) |
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_de a INNER JOIN ecommerceframework_productindex_wdbe_de_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 = '49045' and a.id != '49045') or parentProducts like '%,49045,%') 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:
[] |
|
3.32 ms (0.76%) |
10 |
SELECT name FROM classes WHERE id = ?
Parameters:
[
"SCONF"
]
|
|
3.05 ms (0.70%) |
8 |
SELECT * FROM settings_store WHERE id = ? AND scope = ?
Parameters:
[ "BUNDLE_INSTALLED__Pimcore\Bundle\SeoBundle\PimcoreSeoBundle" "pimcore" ] |
|
3.00 ms (0.69%) |
5 |
SELECT documents.id, documents.type FROM documents WHERE (parentId = ?) AND published = 1 ORDER BY `index` ASC
Parameters:
[
120
]
|
|
2.78 ms (0.64%) |
5 |
SELECT * FROM documents_editables WHERE documentId = ?
Parameters:
[
16
]
|
|
2.59 ms (0.59%) |
7 |
SELECT * FROM sites WHERE rootId = ?
Parameters:
[
2
]
|
|
1.77 ms (0.41%) |
1 |
SELECT data FROM ecommerceframework_productindex_store WHERE id = ? AND tenant = ?
Parameters:
[ 19776 "wdbe_de" ] |
|
1.72 ms (0.40%) |
1 |
SELECT COUNT(*) FROM object_localized_7_de WHERE ((ifnull(headline, "") != "") AND (products like ?) AND object_localized_7_de.type IN ('object','variant','folder')) AND object_localized_7_de.published = 1
Parameters:
[
"%,49045,%"
]
|
|
1.55 ms (0.35%) |
5 |
SELECT * FROM object_relations_PCAT WHERE src_id = ?
Parameters:
[
22227
]
|
|
1.51 ms (0.35%) |
3 |
SELECT id FROM documents WHERE `path` = BINARY ? AND `key` = BINARY ?
Parameters:
[ "/weverducre.com/de/produkte/p/" "hexo-wall-mini-2.0~49045" ] |
|
1.49 ms (0.34%) |
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:
[ "/de/produkte/p/hexo-wall-mini-2.0~49045" "path" "auto_create" "/de/produkte/p/hexo-wall-mini-2.0~49045" "path_query" "https://testing.weverducre.com/de/produkte/p/hexo-wall-mini-2.0~49045" "entire_uri" ] |
|
1.38 ms (0.32%) |
1 |
SELECT object_localized_prod_de.id as id, object_localized_prod_de.type as `type` FROM object_localized_prod_de WHERE (`itemNumber` = '301420P0' AND object_localized_prod_de.type IN ('variant','object')) AND object_localized_prod_de.published = 1 LIMIT 1
Parameters:
[] |
|
1.37 ms (0.31%) |
1 |
SELECT object_localized_prod_de.id as id, object_localized_prod_de.type as `type` FROM object_localized_prod_de WHERE (itemNumber = ?) AND (productType = ?) AND object_localized_prod_de.type IN ('object','variant','folder') LIMIT 1
Parameters:
[ "301420P0" "article" ] |
|
1.24 ms (0.29%) |
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/%" "/de/produkte/p/hexo-wall-mini-2.0~49045" ] |
|
1.23 ms (0.28%) |
2 |
SELECT object_localized_SOPT_de.id as id, object_localized_SOPT_de.type as `type` FROM object_localized_SOPT_de WHERE ((context = ?) AND (val = ?) AND object_localized_SOPT_de.type IN ('object','variant','folder')) AND object_localized_SOPT_de.published = 1 LIMIT 1
Parameters:
[ "color" "Copper" ] |
|
1.15 ms (0.26%) |
2 |
SELECT id FROM documents_page WHERE prettyUrl = ?
Parameters:
[
"/weverducre.com/de/produkte/p/hexo-wall-mini-2.0~49045"
]
|
|
0.87 ms (0.20%) |
1 |
SELECT * FROM object_relations_SCONF WHERE src_id = ?
Parameters:
[
1547
]
|
|
0.80 ms (0.18%) |
1 |
SELECT * FROM object_collection_AxVersion_prod WHERE id = ? AND fieldname = ? ORDER BY `index` ASC
Parameters:
[ 19776 "axVersions" ] |
|
0.75 ms (0.17%) |
2 |
SELECT assets.id, assets.type FROM assets WHERE parentId = ? ORDER BY `filename` ASC
Parameters:
[
1196332
]
|
|
0.74 ms (0.17%) |
2 |
SELECT * FROM translations_messages LIMIT 1;
Parameters:
[] |
|
0.65 ms (0.15%) |
2 |
SELECT object_localized_prod_de.id as id, object_localized_prod_de.type as `type` FROM object_localized_prod_de WHERE (itemNumber is null) AND (productType = ?) AND object_localized_prod_de.type IN ('object','variant','folder') LIMIT 1
Parameters:
[
"article"
]
|
|
0.59 ms (0.14%) |
1 |
SELECT sum(a0_.amount) AS sclr_0 FROM app_stock_reservation a0_ WHERE a0_.itemNumber = ?
Parameters:
[
"000488446"
]
|
|
0.57 ms (0.13%) |
1 |
UPDATE ecommerceframework_productindex_store SET crc_index = crc_current WHERE id = ? and tenant = ?
Parameters:
[ 19776 "wdbe_de" ] |
|
0.57 ms (0.13%) |
1 |
SELECT id FROM assets WHERE id IN (855603,855803,45499,4691700,4691665,5043229,5043235)
Parameters:
[] |
|
0.56 ms (0.13%) |
2 |
SELECT * FROM classificationstore_keys WHERE name = 'e_cable_length' and storeId = 1
Parameters:
[] |
|
0.49 ms (0.11%) |
1 |
SELECT FOUND_ROWS()
Parameters:
[] |
|
0.43 ms (0.10%) |
1 |
SELECT * FROM tmp_store WHERE id = ?
Parameters:
[
"maintenance_mode"
]
|
|
0.40 ms (0.09%) |
1 |
SELECT object_localized_8_de.id as id, object_localized_8_de.type as `type` FROM object_localized_8_de WHERE ( object_localized_8_de.type IN ('object','variant','folder')) AND object_localized_8_de.published = 1
Parameters:
[] |
|
0.39 ms (0.09%) |
1 |
SELECT object_localized_SCONF_de.id as id, object_localized_SCONF_de.type as `type` FROM object_localized_SCONF_de LEFT JOIN object_brick_query_EcommerceB2B_SCONF `EcommerceB2B` ON 1 AND `EcommerceB2B`.id = `object_localized_SCONF_de`.id LEFT JOIN object_brick_localized_query_EcommerceB2B_SCONF_de `EcommerceB2B_localized` ON 1 AND `EcommerceB2B_localized`.ooo_id = `object_localized_SCONF_de`.id LEFT JOIN object_brick_query_EcommerceB2C_SCONF `EcommerceB2C` ON 1 AND `EcommerceB2C`.id = `object_localized_SCONF_de`.id LEFT JOIN object_brick_localized_query_EcommerceB2C_SCONF_de `EcommerceB2C_localized` ON 1 AND `EcommerceB2C_localized`.ooo_id = `object_localized_SCONF_de`.id WHERE (((EcommerceB2B.dataAreaId = ? or EcommerceB2C.dataAreaId = ?)) AND object_localized_SCONF_de.type IN ('object','variant','folder')) AND object_localized_SCONF_de.published = 1 LIMIT 1
Parameters:
[ "wdbe" "wdbe" ] |
|
0.34 ms (0.08%) |
1 |
"COMMIT"
Parameters:
[] |
|
0.34 ms (0.08%) |
1 |
"START TRANSACTION"
Parameters:
[] |
|
0.32 ms (0.07%) |
1 |
SELECT * FROM object_relations_EF_FD WHERE src_id = ?
Parameters:
[
27988
]
|
|
0.24 ms (0.06%) |
1 |
SELECT id FROM ecommerceframework_pricing_rule WHERE active = 1 ORDER BY `prio` ASC
Parameters:
[] |
ax connection
| Time▼ | Count | Info |
|---|---|---|
|
20.49 ms (4.70%) |
18 |
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_WH-PACK" "000488446" ] |
|
3.22 ms (0.74%) |
1 |
SELECT * FROM WS_MAXREPORTASFINISHED WHERE ITEMID = ? ORDER BY (SELECT 0) OFFSET 0 ROWS FETCH NEXT 1 ROWS ONLY
Parameters:
[
"000488446"
]
|
|
0.78 ms (0.18%) |
1 |
SELECT * FROM WS_SALESPRICE WHERE ITEMNUMBER IN (?)
Parameters:
[
"000234871"
]
|
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 |
|