Query Metrics

160 Database Queries
46 Different statements
107.57 ms Query time
1 Invalid entities
0 Managed entities

Grouped Statements

Show all queries

default connection

Time Count Info
10.27 ms
(9.55%)
17
SELECT * FROM assets_image_thumbnail_cache WHERE cid = ?
Parameters:
[
  4574046
]
8.27 ms
(7.69%)
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.82 ms
(7.27%)
18
SELECT customSettings FROM assets WHERE id = ?
Parameters:
[
  4574046
]
6.89 ms
(6.40%)
14
SELECT classificationstore_relations.*,classificationstore_keys.* FROM classificationstore_relations,classificationstore_keys WHERE (keyId = ?)   AND classificationstore_relations.keyId = classificationstore_keys.id LIMIT 1
Parameters:
[
  159
]
4.92 ms
(4.57%)
9
SELECT * FROM documents_editables WHERE documentId = ?
Parameters:
[
  242
]
3.93 ms
(3.66%)
10
SELECT name FROM classes WHERE id = ?
Parameters:
[
  "SCONF"
]
3.78 ms
(3.52%)
8
SELECT * FROM settings_store WHERE id = ? AND scope = ?
Parameters:
[
  "BUNDLE_INSTALLED__Pimcore\Bundle\SeoBundle\PimcoreSeoBundle"
  "pimcore"
]
3.15 ms
(2.93%)
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 = '17182' and a.id != '17182') or parentProducts like '%,17182,%') 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.14 ms
(2.92%)
8
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:
[
  17182
  1726795
  "projectImages"
  "object"
  ""
  "0"
  1
]
3.02 ms
(2.81%)
7
SELECT * FROM sites WHERE rootId = ?
Parameters:
[
  2
]
2.13 ms
(1.98%)
5
SELECT documents.id, documents.type FROM documents WHERE  (parentId = ?) AND published = 1 ORDER BY `index` ASC
Parameters:
[
  169
]
1.89 ms
(1.76%)
4
SELECT * FROM object_relations_prod WHERE src_id = ?
Parameters:
[
  68904
]
1.65 ms
(1.54%)
5
SELECT * FROM object_relations_PCAT WHERE src_id = ?
Parameters:
[
  22221
]
1.23 ms
(1.15%)
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"
  "917"
  "line"
  "MIRRO 3.0"
  "6323E0GB0"
  "article"
  "6323E0GB0"
  "aspect"
  "6323E0GB0"
  "aspect"
  "6323E0GB0"
  "aspect"
]
1.13 ms
(1.05%)
1
SELECT * FROM object_relations_SCONF WHERE src_id = ?
Parameters:
[
  1547
]
1.11 ms
(1.03%)
3
SELECT id FROM documents WHERE `path` = BINARY ? AND `key` = BINARY ?
Parameters:
[
  "/weverducre.com/en/products/p/"
  "mirro-3.0~68904"
]
1.10 ms
(1.03%)
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/mirro-3.0~68904"
  "path"
  "auto_create"
  "/en/products/p/mirro-3.0~68904?parameters[projectCategory]=11738"
  "path_query"
  "https://testing.weverducre.com/en/products/p/mirro-3.0~68904?parameters[projectCategory]=11738"
  "entire_uri"
]
1.05 ms
(0.98%)
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"
  "Black Matt + Light Gold"
]
0.92 ms
(0.86%)
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/mirro-3.0~68904"
]
0.92 ms
(0.85%)
2
SELECT assets.id, assets.type FROM assets WHERE parentId = ? ORDER BY `filename` ASC
Parameters:
[
  1196332
]
0.83 ms
(0.77%)
2
SELECT * FROM classificationstore_keys WHERE name = 'e_cable_length' and storeId = 1
Parameters:
[]
0.82 ms
(0.76%)
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.76 ms
(0.70%)
2
SELECT id FROM documents_page WHERE prettyUrl = ?
Parameters:
[
  "/weverducre.com/en/products/p/mirro-3.0~68904"
]
0.73 ms
(0.67%)
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 = '17182' and a.id != '17182') or parentProducts like '%,17182,%')) AND (IFNULL(isSalesItem, 0) = 0) GROUP BY TRIM(`itemNumber`)
Parameters:
[]
0.54 ms
(0.50%)
1
SELECT * FROM object_collection_AxVersion_prod WHERE id = ? AND fieldname = ? ORDER BY `index` ASC
Parameters:
[
  68904
  "axVersions"
]
0.49 ms
(0.46%)
1
SELECT dest FROM ecommerceframework_productindex_wdbe_en_relations a WHERE fieldname = 'colorObject' 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 = '17182' and a.id != '17182') or parentProducts like '%,17182,%')) AND (TRIM(`lampType`) = 'E27')) GROUP BY dest
Parameters:
[]
0.49 ms
(0.46%)
1
SELECT * FROM object_relations_EF_FD WHERE src_id = ?
Parameters:
[
  27988
]
0.47 ms
(0.44%)
1
SELECT * FROM translations_messages LIMIT 1;
Parameters:
[]
0.45 ms
(0.42%)
1
SELECT object_localized_prod_en.id as id, object_localized_prod_en.type as `type` FROM object_localized_prod_en WHERE (`itemNumber` = '6323E0GB0'  AND  object_localized_prod_en.type IN ('variant','object')) AND object_localized_prod_en.published = 1 LIMIT 1
Parameters:
[]
0.45 ms
(0.42%)
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.43 ms
(0.40%)
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:
[
  "6323E0GB0"
  "article"
]
0.43 ms
(0.40%)
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 = '17182' and a.id != '17182') or parentProducts like '%,17182,%')) AND (IFNULL(isSalesItem, 0) = 0) GROUP BY TRIM(`lampType`)
Parameters:
[]
0.43 ms
(0.40%)
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:
[
  "%,17182,%"
]
0.42 ms
(0.39%)
1
SELECT id FROM assets WHERE id IN (1726795,167179,951201,951471,2121160,2298554,4779926,4975626)
Parameters:
[]
0.41 ms
(0.38%)
1
SELECT id FROM ecommerceframework_pricing_rule WHERE active = 1  ORDER BY `prio` ASC
Parameters:
[]
0.40 ms
(0.37%)
1
SELECT dest as `value`, count(*) as `count` FROM ecommerceframework_productindex_wdbe_en_relations a WHERE fieldname = 'colorObject' 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 = '17182' and a.id != '17182') or parentProducts like '%,17182,%')) AND (IFNULL(isSalesItem, 0) = 0)) GROUP BY dest
Parameters:
[]
0.39 ms
(0.36%)
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` = 'colorObject' AND dest = '78241') AND (((virtualProductId = '17182' and a.id != '17182') or parentProducts like '%,17182,%')) AND (TRIM(`lampType`) = 'E27') GROUP BY `itemNumber`
Parameters:
[]
0.38 ms
(0.35%)
1
SELECT sum(a0_.amount) AS sclr_0 FROM app_stock_reservation a0_ WHERE a0_.itemNumber = ?
Parameters:
[
  "000490020"
]
0.37 ms
(0.35%)
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 = '17182' and a.id != '17182') or parentProducts like '%,17182,%')) AND (IFNULL(isSalesItem, 0) = 0)
Parameters:
[]
0.37 ms
(0.34%)
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.37 ms
(0.34%)
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 = '17182' and a.id != '17182') or parentProducts like '%,17182,%')) AND (IFNULL(isSalesItem, 0) = 0) GROUP BY TRIM(`mountingText`)
Parameters:
[]
0.36 ms
(0.33%)
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 = '17182' and a.id != '17182') or parentProducts like '%,17182,%')) AND (IFNULL(isSalesItem, 0) = 0) GROUP BY TRIM(`cableLength`)
Parameters:
[]
0.34 ms
(0.31%)
1
SELECT * FROM tmp_store WHERE id = ?
Parameters:
[
  "maintenance_mode"
]

ax connection

Time Count Info
18.06 ms
(16.79%)
1
SELECT * FROM WS_MAXREPORTASFINISHED WHERE ITEMID = ? ORDER BY (SELECT 0) OFFSET 0 ROWS FETCH NEXT 1 ROWS ONLY
Parameters:
[
  "000490020"
]
8.57 ms
(7.97%)
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"
  "000490020"
]
1.50 ms
(1.40%)
1
SELECT *
            FROM WS_SALESPRICE
            WHERE ITEMNUMBER IN (?)
Parameters:
[
  "000490020"
]

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
  • The field 'App\Entity\StockReservation#amount' has the property type 'string' that differs from the metadata field type 'int' returned by the 'integer' DBAL type.