GET https://testing.weverducre.com/fr/produits/p/hexo-suspended-2.0-led~27362

Query Metrics

121 Database Queries
26 Different statements
267.25 ms Query time
0 Invalid entities
0 Managed entities

Grouped Statements

Show all queries

default connection

Time Count Info
152.80 ms
(57.17%)
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_fr 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_fr 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_fr 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_fr 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_fr 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_fr as o
            where o.published = 1 and o.actualItemNumber = ? and o.productType = ?
        )
Parameters:
[
  "chapter"
  "918"
  "line"
  "HEXO SUSPENDED 2.0"
  "215164B3"
  "article"
  "215164B3"
  "aspect"
  "215164B3"
  "aspect"
  "215164B3"
  "aspect"
]
53.13 ms
(19.88%)
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_fr a  INNER JOIN ecommerceframework_productindex_wdbe_fr_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 = '17255' and a.id != '17255') or parentProducts like '%,17255,%') 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('%', 'HEXO SUSPENDED 2.0 LED', '%') then 1 else 2 end asc
Parameters:
[
  "%LED%"
]
8.22 ms
(3.07%)
4
SELECT * FROM object_relations_prod WHERE src_id = ?
Parameters:
[
  27362
]
8.07 ms
(3.02%)
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=fr&_format=html&_controller=App%5CController%5CSnippetController%3A%3AheaderAction"
  "path_query"
  "https://testing.weverducre.com/_fragment?_path=_locale=fr&_format=html&_controller=App%5CController%5CSnippetController%3A%3AheaderAction"
  "entire_uri"
]
6.64 ms
(2.49%)
16
SELECT customSettings FROM assets WHERE id = ?
Parameters:
[
  4574046
]
5.78 ms
(2.16%)
15
SELECT * FROM assets_image_thumbnail_cache WHERE cid = ?
Parameters:
[
  4574046
]
5.52 ms
(2.07%)
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.38 ms
(1.64%)
10
SELECT * FROM documents_editables WHERE documentId = ?
Parameters:
[
  1375
]
2.99 ms
(1.12%)
8
SELECT * FROM settings_store WHERE id = ? AND scope = ?
Parameters:
[
  "BUNDLE_INSTALLED__Pimcore\Bundle\SeoBundle\PimcoreSeoBundle"
  "pimcore"
]
2.86 ms
(1.07%)
7
SELECT * FROM sites WHERE rootId = ?
Parameters:
[
  2
]
2.58 ms
(0.96%)
8
SELECT name FROM classes WHERE id = ?
Parameters:
[
  "SCONF"
]
2.05 ms
(0.77%)
1
SELECT COUNT(*) FROM object_localized_7_fr WHERE ((ifnull(headline, "") != "")  AND (products like ?)  AND  object_localized_7_fr.type IN ('object','variant','folder')) AND object_localized_7_fr.published = 1
Parameters:
[
  "%,17255,%"
]
1.82 ms
(0.68%)
5
SELECT documents.id, documents.type FROM documents WHERE  (parentId = ?) AND published = 1 ORDER BY `index` ASC
Parameters:
[
  1380
]
1.60 ms
(0.60%)
2
SELECT object_localized_SOPT_fr.id as id, object_localized_SOPT_fr.type as `type` FROM object_localized_SOPT_fr WHERE ((context = ?)  AND (val = ?)  AND  object_localized_SOPT_fr.type IN ('object','variant','folder')) AND object_localized_SOPT_fr.published = 1 LIMIT 1
Parameters:
[
  "color"
  "Jet Black"
]
1.29 ms
(0.48%)
4
SELECT * FROM object_relations_PCAT WHERE src_id = ?
Parameters:
[
  22237
]
1.16 ms
(0.43%)
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:
[
  "/fr/produits/p/hexo-suspended-2.0-led~27362"
  "path"
  "auto_create"
  "/fr/produits/p/hexo-suspended-2.0-led~27362"
  "path_query"
  "https://testing.weverducre.com/fr/produits/p/hexo-suspended-2.0-led~27362"
  "entire_uri"
]
1.13 ms
(0.42%)
3
SELECT id FROM documents WHERE `path` = BINARY ? AND `key` = BINARY ?
Parameters:
[
  "/weverducre.com/fr/produits/p/"
  "hexo-suspended-2.0-led~27362"
]
0.90 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/%"
  "/fr/produits/p/hexo-suspended-2.0-led~27362"
]
0.80 ms
(0.30%)
1
SELECT * FROM object_relations_SCONF WHERE src_id = ?
Parameters:
[
  1547
]
0.79 ms
(0.30%)
2
SELECT id FROM documents_page WHERE prettyUrl = ?
Parameters:
[
  "/weverducre.com/fr/produits/p/hexo-suspended-2.0-led~27362"
]
0.71 ms
(0.27%)
2
SELECT * FROM translations_messages LIMIT 1;
Parameters:
[]
0.67 ms
(0.25%)
2
SELECT assets.id, assets.type FROM assets WHERE parentId = ? ORDER BY `filename` ASC
Parameters:
[
  1196332
]
0.41 ms
(0.15%)
1
SELECT * FROM tmp_store WHERE id = ?
Parameters:
[
  "maintenance_mode"
]
0.34 ms
(0.13%)
1
SELECT object_localized_SCONF_fr.id as id, object_localized_SCONF_fr.type as `type` FROM object_localized_SCONF_fr LEFT JOIN object_brick_query_EcommerceB2B_SCONF `EcommerceB2B` ON 1
AND `EcommerceB2B`.id = `object_localized_SCONF_fr`.id LEFT JOIN object_brick_localized_query_EcommerceB2B_SCONF_fr `EcommerceB2B_localized` ON 1
AND `EcommerceB2B_localized`.ooo_id = `object_localized_SCONF_fr`.id LEFT JOIN object_brick_query_EcommerceB2C_SCONF `EcommerceB2C` ON 1
AND `EcommerceB2C`.id = `object_localized_SCONF_fr`.id LEFT JOIN object_brick_localized_query_EcommerceB2C_SCONF_fr `EcommerceB2C_localized` ON 1
AND `EcommerceB2C_localized`.ooo_id = `object_localized_SCONF_fr`.id WHERE (((EcommerceB2B.dataAreaId = ? or EcommerceB2C.dataAreaId = ?))  AND  object_localized_SCONF_fr.type IN ('object','variant','folder')) AND object_localized_SCONF_fr.published = 1 LIMIT 1
Parameters:
[
  "wdbe"
  "wdbe"
]
0.33 ms
(0.12%)
1
SELECT object_localized_8_fr.id as id, object_localized_8_fr.type as `type` FROM object_localized_8_fr WHERE ( object_localized_8_fr.type IN ('object','variant','folder')) AND object_localized_8_fr.published = 1
Parameters:
[]
0.29 ms
(0.11%)
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.