GET https://testing.weverducre.com/de/produkte/p/ray-1.0-led~20752

Query Metrics

124 Database Queries
27 Different statements
382.63 ms Query time
0 Invalid entities
0 Managed entities

Grouped Statements

Show all queries

default connection

Time Count Info
173.02 ms
(45.22%)
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"
  "917"
  "line"
  "RAY 1.0"
  "146764G4"
  "article"
  "146764G4"
  "aspect"
  "146764G4"
  "aspect"
  "146764G4"
  "aspect"
]
138.00 ms
(36.07%)
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 = '17206' and a.id != '17206') or parentProducts like '%,17206,%') and IFNULL(isSalesItem, 0) = 0 and name LIKE ? and (b.subtenant_id = 2 AND isCombinedProduct != 1 OR isCombinedProduct IS NULL)
            group by color
            order by case when lampType like concat('%', 'RAY 1.0 LED', '%') then 1 else 2 end asc
Parameters:
[
  "%LED%"
]
9.27 ms
(2.42%)
17
SELECT * FROM assets_image_thumbnail_cache WHERE cid = ?
Parameters:
[
  4574046
]
9.21 ms
(2.41%)
18
SELECT customSettings FROM assets WHERE id = ?
Parameters:
[
  4574046
]
8.65 ms
(2.26%)
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.33 ms
(1.91%)
4
SELECT * FROM object_relations_prod WHERE src_id = ?
Parameters:
[
  20752
]
5.63 ms
(1.47%)
13
SELECT classificationstore_relations.*,classificationstore_keys.* FROM classificationstore_relations,classificationstore_keys WHERE (keyId = ?)   AND classificationstore_relations.keyId = classificationstore_keys.id LIMIT 1
Parameters:
[
  159
]
3.29 ms
(0.86%)
8
SELECT * FROM settings_store WHERE id = ? AND scope = ?
Parameters:
[
  "BUNDLE_INSTALLED__Pimcore\Bundle\SeoBundle\PimcoreSeoBundle"
  "pimcore"
]
3.24 ms
(0.85%)
8
SELECT name FROM classes WHERE id = ?
Parameters:
[
  "SCONF"
]
2.76 ms
(0.72%)
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:
[
  "%,17206,%"
]
2.71 ms
(0.71%)
7
SELECT * FROM sites WHERE rootId = ?
Parameters:
[
  2
]
2.48 ms
(0.65%)
5
SELECT * FROM documents_editables WHERE documentId = ?
Parameters:
[
  16
]
2.22 ms
(0.58%)
7
SELECT * FROM object_relations_PCAT WHERE src_id = ?
Parameters:
[
  22221
]
2.07 ms
(0.54%)
5
SELECT documents.id, documents.type FROM documents WHERE  (parentId = ?) AND published = 1 ORDER BY `index` ASC
Parameters:
[
  120
]
1.88 ms
(0.49%)
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/ray-1.0-led~20752"
  "path"
  "auto_create"
  "/de/produkte/p/ray-1.0-led~20752"
  "path_query"
  "https://testing.weverducre.com/de/produkte/p/ray-1.0-led~20752"
  "entire_uri"
]
1.57 ms
(0.41%)
3
SELECT id FROM documents WHERE `path` = BINARY ? AND `key` = BINARY ?
Parameters:
[
  "/weverducre.com/de/produkte/p/"
  "ray-1.0-led~20752"
]
1.41 ms
(0.37%)
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:
[]
1.29 ms
(0.34%)
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/ray-1.0-led~20752"
]
1.17 ms
(0.31%)
2
SELECT id FROM documents_page WHERE prettyUrl = ?
Parameters:
[
  "/weverducre.com/de/produkte/p/ray-1.0-led~20752"
]
1.03 ms
(0.27%)
1
SELECT * FROM object_relations_SCONF WHERE src_id = ?
Parameters:
[
  1547
]
0.90 ms
(0.24%)
2
SELECT * FROM translations_messages LIMIT 1;
Parameters:
[]
0.81 ms
(0.21%)
2
SELECT assets.id, assets.type FROM assets WHERE parentId = ? ORDER BY `filename` ASC
Parameters:
[
  1196332
]
0.79 ms
(0.21%)
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"
  "Gold"
]
0.73 ms
(0.19%)
2
SELECT * FROM classificationstore_keys WHERE name = 'e_cable_length' and storeId = 1
Parameters:
[]
0.46 ms
(0.12%)
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.40 ms
(0.10%)
1
SELECT * FROM tmp_store WHERE id = ?
Parameters:
[
  "maintenance_mode"
]
0.31 ms
(0.08%)
1
SELECT id FROM ecommerceframework_pricing_rule WHERE active = 1  ORDER BY `prio` ASC
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.