GET https://testing.weverducre.com/it/progetti/pr/restaurant-grand-cru~11783?projectCategory=11738

Query Metrics

239 Database Queries
110 Different statements
264.28 ms Query time
0 Invalid entities
0 Managed entities

Grouped Statements

Show all queries

default connection

Time Count Info
27.46 ms
(10.39%)
1
SELECT SQL_CALC_FOUND_ROWS a.id, priceSystemName  FROM ecommerceframework_productindex_wdbe_it a  INNER JOIN ecommerceframework_productindex_wdbe_it_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 (parentCategoryIds not like '%,165410,%') AND (((virtualProductId = '17197' and a.id != '17197') or parentProducts like '%,17197,%')) AND (isSalesItem = 0) ORDER BY mainProductInLine desc,isPredecessor desc,isCombinedProduct asc,a.id ASC LIMIT 1
Parameters:
[]
27.45 ms
(10.39%)
1
SELECT SQL_CALC_FOUND_ROWS a.id, priceSystemName  FROM ecommerceframework_productindex_wdbe_it a  INNER JOIN ecommerceframework_productindex_wdbe_it_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 (parentCategoryIds not like '%,165410,%') AND (((virtualProductId = '17129' and a.id != '17129') or parentProducts like '%,17129,%')) AND (isSalesItem = 0) ORDER BY mainProductInLine desc,isPredecessor desc,isCombinedProduct asc,a.id ASC LIMIT 1
Parameters:
[]
27.05 ms
(10.24%)
1
SELECT SQL_CALC_FOUND_ROWS a.id, priceSystemName  FROM ecommerceframework_productindex_wdbe_it a  INNER JOIN ecommerceframework_productindex_wdbe_it_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 (parentCategoryIds not like '%,165410,%') AND (((virtualProductId = '26927' and a.id != '26927') or parentProducts like '%,26927,%')) AND (isSalesItem = 0) ORDER BY mainProductInLine desc,isPredecessor desc,isCombinedProduct asc,a.id ASC LIMIT 1
Parameters:
[]
26.82 ms
(10.15%)
1
SELECT SQL_CALC_FOUND_ROWS a.id, priceSystemName  FROM ecommerceframework_productindex_wdbe_it a  INNER JOIN ecommerceframework_productindex_wdbe_it_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 (parentCategoryIds not like '%,165410,%') AND (((virtualProductId = '17199' and a.id != '17199') or parentProducts like '%,17199,%')) AND (isSalesItem = 0) ORDER BY mainProductInLine desc,isPredecessor desc,isCombinedProduct asc,a.id ASC LIMIT 1
Parameters:
[]
25.98 ms
(9.83%)
1
SELECT SQL_CALC_FOUND_ROWS a.id, priceSystemName  FROM ecommerceframework_productindex_wdbe_it a  INNER JOIN ecommerceframework_productindex_wdbe_it_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 (parentCategoryIds not like '%,165410,%') AND (((virtualProductId = '17347' and a.id != '17347') or parentProducts like '%,17347,%')) AND (isSalesItem = 0) ORDER BY mainProductInLine desc,isPredecessor desc,isCombinedProduct asc,a.id ASC LIMIT 1
Parameters:
[]
12.82 ms
(4.85%)
10
SELECT * FROM object_store_prod WHERE oo_id = ? FOR UPDATE
Parameters:
[
  17199
]
7.92 ms
(3.00%)
10
SELECT * FROM object_localized_data_prod WHERE ooo_id = ? AND language IN ('en','de','it','fr','nl','es')
Parameters:
[
  17199
]
6.80 ms
(2.57%)
16
SELECT * FROM assets_image_thumbnail_cache WHERE cid = ?
Parameters:
[
  4574046
]
6.50 ms
(2.46%)
10
SELECT objects.*, tree_locks.locked as locked FROM objects
            LEFT JOIN tree_locks ON objects.id = tree_locks.id AND tree_locks.type = 'object'
                WHERE objects.id = ?
Parameters:
[
  17199
]
6.45 ms
(2.44%)
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=it&_format=html&_controller=App%5CController%5CSnippetController%3A%3AheaderAction"
  "path_query"
  "https://testing.weverducre.com/_fragment?_path=_locale=it&_format=html&_controller=App%5CController%5CSnippetController%3A%3AheaderAction"
  "entire_uri"
]
5.96 ms
(2.26%)
16
SELECT customSettings FROM assets WHERE id = ?
Parameters:
[
  4574046
]
5.60 ms
(2.12%)
10
SELECT * FROM object_relations_prod WHERE src_id = ?
Parameters:
[
  17199
]
5.11 ms
(1.93%)
10
SELECT `type`,`className`,`classId` FROM objects WHERE `id` = ?
Parameters:
[
  17199
]
4.90 ms
(1.86%)
10
SELECT * FROM object_brick_store_ProductVideo_prod WHERE id = ? AND fieldname = ?
Parameters:
[
  17199
  "videos"
]
4.44 ms
(1.68%)
1
SELECT * FROM object_classificationstore_data_prod WHERE id = 70139 AND fieldname = 'attributes'
Parameters:
[]
3.77 ms
(1.43%)
10
SELECT * FROM documents_editables WHERE documentId = ?
Parameters:
[
  1849
]
2.91 ms
(1.10%)
7
SELECT * FROM sites WHERE rootId = ?
Parameters:
[
  2
]
2.83 ms
(1.07%)
8
SELECT * FROM settings_store WHERE id = ? AND scope = ?
Parameters:
[
  "BUNDLE_INSTALLED__Pimcore\Bundle\SeoBundle\PimcoreSeoBundle"
  "pimcore"
]
2.31 ms
(0.87%)
6
SELECT name FROM classes WHERE id = ?
Parameters:
[
  "SCONF"
]
1.95 ms
(0.74%)
5
SELECT FOUND_ROWS()
Parameters:
[]
1.79 ms
(0.68%)
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:
[
  "/it/progetti/pr/restaurant-grand-cru~11783"
  "path"
  "auto_create"
  "/it/progetti/pr/restaurant-grand-cru~11783?projectCategory=11738"
  "path_query"
  "https://testing.weverducre.com/it/progetti/pr/restaurant-grand-cru~11783?projectCategory=11738"
  "entire_uri"
]
1.59 ms
(0.60%)
5
SELECT documents.id, documents.type FROM documents WHERE  (parentId = ?) AND published = 1 ORDER BY `index` ASC
Parameters:
[
  1944
]
1.35 ms
(0.51%)
3
SELECT id FROM documents WHERE `path` = BINARY ? AND `key` = BINARY ?
Parameters:
[
  "/weverducre.com/it/progetti/pr/"
  "restaurant-grand-cru~11783"
]
1.18 ms
(0.45%)
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/%"
  "/it/progetti/pr/restaurant-grand-cru~11783"
]
1.00 ms
(0.38%)
1
SELECT * FROM object_relations_SCONF WHERE src_id = ?
Parameters:
[
  1547
]
0.99 ms
(0.38%)
2
SELECT id FROM documents_page WHERE prettyUrl = ?
Parameters:
[
  "/weverducre.com/it/progetti/pr/restaurant-grand-cru~11783"
]
0.92 ms
(0.35%)
1
select `iconLabels` from object_store_prod where oo_id  = 17129
Parameters:
[]
0.91 ms
(0.35%)
1
SELECT * FROM object_classificationstore_data_prod WHERE id = 73954 AND fieldname = 'attributes'
Parameters:
[]
0.87 ms
(0.33%)
1
SELECT * FROM object_classificationstore_data_prod WHERE id = 139216 AND fieldname = 'attributes'
Parameters:
[]
0.83 ms
(0.32%)
2
SELECT * FROM translations_messages LIMIT 1;
Parameters:
[]
0.73 ms
(0.28%)
1
SELECT * FROM object_classificationstore_groups_prod WHERE id = 17199 AND fieldname = 'attributes'
Parameters:
[]
0.73 ms
(0.27%)
1
SELECT * FROM object_classificationstore_data_prod WHERE id = 17199 AND fieldname = 'attributes'
Parameters:
[]
0.72 ms
(0.27%)
1
SELECT * FROM object_classificationstore_data_prod WHERE id = 26927 AND fieldname = 'attributes'
Parameters:
[]
0.72 ms
(0.27%)
1
select `iconLabels` from object_store_prod where oo_id  = 17199
Parameters:
[]
0.70 ms
(0.26%)
1
select `accessoryDemand` from object_store_prod where oo_id  = 17199
Parameters:
[]
0.67 ms
(0.25%)
1
SELECT * FROM object_classificationstore_groups_prod WHERE id = 17130 AND fieldname = 'attributes'
Parameters:
[]
0.66 ms
(0.25%)
1
SELECT * FROM object_classificationstore_data_prod WHERE id = 17129 AND fieldname = 'attributes'
Parameters:
[]
0.66 ms
(0.25%)
1
SELECT * FROM object_classificationstore_groups_prod WHERE id = 17129 AND fieldname = 'attributes'
Parameters:
[]
0.65 ms
(0.24%)
1
SELECT * FROM object_classificationstore_data_prod WHERE id = 17130 AND fieldname = 'attributes'
Parameters:
[]
0.61 ms
(0.23%)
1
SELECT * FROM object_classificationstore_groups_prod WHERE id = 26927 AND fieldname = 'attributes'
Parameters:
[]
0.61 ms
(0.23%)
1
select `colorMatchExceptions` from object_store_prod where oo_id  = 17199
Parameters:
[]
0.60 ms
(0.23%)
1
select `combinedImage` from object_store_prod where oo_id  = 70139
Parameters:
[]
0.57 ms
(0.22%)
1
select `combinedBlock` from object_store_prod where oo_id  = 26927
Parameters:
[]
0.57 ms
(0.22%)
1
select `accessoryFilterGroups` from object_store_prod where oo_id  = 17199
Parameters:
[]
0.57 ms
(0.21%)
1
select `combinedBlock` from object_store_prod where oo_id  = 17199
Parameters:
[]
0.56 ms
(0.21%)
1
select `combinedImage` from object_store_prod where oo_id  = 17199
Parameters:
[]
0.56 ms
(0.21%)
1
SELECT * FROM object_relations_7 WHERE src_id = ?
Parameters:
[
  11783
]
0.54 ms
(0.20%)
1
select `iconLabels` from object_store_prod where oo_id  = 17130
Parameters:
[]
0.53 ms
(0.20%)
1
select `accessoryDemand` from object_store_prod where oo_id  = 17130
Parameters:
[]
0.53 ms
(0.20%)
1
SELECT * FROM object_classificationstore_groups_prod WHERE id = 73954 AND fieldname = 'attributes'
Parameters:
[]
0.53 ms
(0.20%)
1
select `accessoryFilterGroups` from object_store_prod where oo_id  = 17130
Parameters:
[]
0.53 ms
(0.20%)
1
select `combinedBlock` from object_store_prod where oo_id  = 17129
Parameters:
[]
0.53 ms
(0.20%)
1
select `combinedBlock` from object_store_prod where oo_id  = 17130
Parameters:
[]
0.53 ms
(0.20%)
1
SELECT * FROM object_classificationstore_groups_prod WHERE id = 70139 AND fieldname = 'attributes'
Parameters:
[]
0.52 ms
(0.20%)
1
select `iconLabels` from object_store_prod where oo_id  = 26927
Parameters:
[]
0.52 ms
(0.20%)
1
select `accessoryFilterGroups` from object_store_prod where oo_id  = 26927
Parameters:
[]
0.52 ms
(0.20%)
1
select `colorMatchExceptions` from object_store_prod where oo_id  = 26927
Parameters:
[]
0.51 ms
(0.19%)
1
select `colorMatchExceptions` from object_store_prod where oo_id  = 17130
Parameters:
[]
0.51 ms
(0.19%)
1
SELECT * FROM object_classificationstore_groups_prod WHERE id = 139216 AND fieldname = 'attributes'
Parameters:
[]
0.51 ms
(0.19%)
1
select `combinedImage` from object_store_prod where oo_id  = 17130
Parameters:
[]
0.51 ms
(0.19%)
1
select `combinedBlock` from object_store_prod where oo_id  = 70139
Parameters:
[]
0.50 ms
(0.19%)
1
select `combinedImage` from object_store_prod where oo_id  = 26927
Parameters:
[]
0.50 ms
(0.19%)
1
SELECT * FROM object_classificationstore_data_prod WHERE id = 17198 AND fieldname = 'attributes'
Parameters:
[]
0.50 ms
(0.19%)
1
SELECT object_localized_SCONF_it.id as id, object_localized_SCONF_it.type as `type` FROM object_localized_SCONF_it LEFT JOIN object_brick_query_EcommerceB2B_SCONF `EcommerceB2B` ON 1
AND `EcommerceB2B`.id = `object_localized_SCONF_it`.id LEFT JOIN object_brick_localized_query_EcommerceB2B_SCONF_it `EcommerceB2B_localized` ON 1
AND `EcommerceB2B_localized`.ooo_id = `object_localized_SCONF_it`.id LEFT JOIN object_brick_query_EcommerceB2C_SCONF `EcommerceB2C` ON 1
AND `EcommerceB2C`.id = `object_localized_SCONF_it`.id LEFT JOIN object_brick_localized_query_EcommerceB2C_SCONF_it `EcommerceB2C_localized` ON 1
AND `EcommerceB2C_localized`.ooo_id = `object_localized_SCONF_it`.id WHERE (((EcommerceB2B.dataAreaId = ? or EcommerceB2C.dataAreaId = ?))  AND  object_localized_SCONF_it.type IN ('object','variant','folder')) AND object_localized_SCONF_it.published = 1 LIMIT 1
Parameters:
[
  "wdbe"
  "wdbe"
]
0.49 ms
(0.19%)
1
select `accessoryDemand` from object_store_prod where oo_id  = 26927
Parameters:
[]
0.49 ms
(0.18%)
1
select `accessoryDemand` from object_store_prod where oo_id  = 17129
Parameters:
[]
0.48 ms
(0.18%)
1
select `combinedBlock` from object_store_prod where oo_id  = 139216
Parameters:
[]
0.48 ms
(0.18%)
1
SELECT * FROM object_classificationstore_groups_prod WHERE id = 17294 AND fieldname = 'attributes'
Parameters:
[]
0.47 ms
(0.18%)
1
select `accessoryFilterGroups` from object_store_prod where oo_id  = 17129
Parameters:
[]
0.47 ms
(0.18%)
1
select `colorMatchExceptions` from object_store_prod where oo_id  = 17129
Parameters:
[]
0.47 ms
(0.18%)
1
SELECT * FROM object_classificationstore_groups_prod WHERE id = 17198 AND fieldname = 'attributes'
Parameters:
[]
0.46 ms
(0.17%)
1
SELECT * FROM object_classificationstore_groups_prod WHERE id = 17127 AND fieldname = 'attributes'
Parameters:
[]
0.45 ms
(0.17%)
1
select `combinedImage` from object_store_prod where oo_id  = 17129
Parameters:
[]
0.45 ms
(0.17%)
1
select `iconLabels` from object_store_prod where oo_id  = 17198
Parameters:
[]
0.45 ms
(0.17%)
1
SELECT * FROM object_classificationstore_data_prod WHERE id = 17294 AND fieldname = 'attributes'
Parameters:
[]
0.44 ms
(0.17%)
1
SELECT * FROM object_classificationstore_data_prod WHERE id = 17127 AND fieldname = 'attributes'
Parameters:
[]
0.41 ms
(0.16%)
1
SELECT * FROM tmp_store WHERE id = ?
Parameters:
[
  "maintenance_mode"
]
0.40 ms
(0.15%)
1
select `iconLabels` from object_store_prod where oo_id  = 70139
Parameters:
[]
0.40 ms
(0.15%)
1
select `accessoryDemand` from object_store_prod where oo_id  = 17198
Parameters:
[]
0.40 ms
(0.15%)
1
select `iconLabels` from object_store_prod where oo_id  = 17294
Parameters:
[]
0.39 ms
(0.15%)
1
select `combinedImage` from object_store_prod where oo_id  = 139216
Parameters:
[]
0.39 ms
(0.15%)
1
select `iconLabels` from object_store_prod where oo_id  = 139216
Parameters:
[]
0.39 ms
(0.15%)
1
select `accessoryFilterGroups` from object_store_prod where oo_id  = 139216
Parameters:
[]
0.39 ms
(0.15%)
1
select `colorMatchExceptions` from object_store_prod where oo_id  = 139216
Parameters:
[]
0.39 ms
(0.15%)
1
select `combinedBlock` from object_store_prod where oo_id  = 17198
Parameters:
[]
0.39 ms
(0.15%)
1
select `combinedImage` from object_store_prod where oo_id  = 73954
Parameters:
[]
0.38 ms
(0.14%)
1
select `accessoryFilterGroups` from object_store_prod where oo_id  = 17198
Parameters:
[]
0.38 ms
(0.14%)
1
select `accessoryFilterGroups` from object_store_prod where oo_id  = 73954
Parameters:
[]
0.38 ms
(0.14%)
1
select `combinedImage` from object_store_prod where oo_id  = 17198
Parameters:
[]
0.37 ms
(0.14%)
1
select `colorMatchExceptions` from object_store_prod where oo_id  = 17198
Parameters:
[]
0.37 ms
(0.14%)
1
select `accessoryFilterGroups` from object_store_prod where oo_id  = 70139
Parameters:
[]
0.37 ms
(0.14%)
1
select `accessoryDemand` from object_store_prod where oo_id  = 17294
Parameters:
[]
0.37 ms
(0.14%)
1
select `accessoryDemand` from object_store_prod where oo_id  = 73954
Parameters:
[]
0.37 ms
(0.14%)
1
select `iconLabels` from object_store_prod where oo_id  = 17127
Parameters:
[]
0.37 ms
(0.14%)
1
select `colorMatchExceptions` from object_store_prod where oo_id  = 17294
Parameters:
[]
0.36 ms
(0.14%)
1
select `combinedBlock` from object_store_prod where oo_id  = 17127
Parameters:
[]
0.36 ms
(0.14%)
1
select `iconLabels` from object_store_prod where oo_id  = 73954
Parameters:
[]
0.36 ms
(0.14%)
1
select `colorMatchExceptions` from object_store_prod where oo_id  = 70139
Parameters:
[]
0.36 ms
(0.14%)
1
select `accessoryDemand` from object_store_prod where oo_id  = 139216
Parameters:
[]
0.36 ms
(0.14%)
1
select `colorMatchExceptions` from object_store_prod where oo_id  = 73954
Parameters:
[]
0.36 ms
(0.14%)
1
select `accessoryDemand` from object_store_prod where oo_id  = 70139
Parameters:
[]
0.36 ms
(0.13%)
1
select `combinedBlock` from object_store_prod where oo_id  = 73954
Parameters:
[]
0.35 ms
(0.13%)
1
select `combinedImage` from object_store_prod where oo_id  = 17294
Parameters:
[]
0.34 ms
(0.13%)
1
SELECT object_localized_8_it.id as id, object_localized_8_it.type as `type` FROM object_localized_8_it WHERE ( object_localized_8_it.type IN ('object','variant','folder')) AND object_localized_8_it.published = 1
Parameters:
[]
0.34 ms
(0.13%)
1
select `combinedImage` from object_store_prod where oo_id  = 17127
Parameters:
[]
0.34 ms
(0.13%)
1
select `combinedBlock` from object_store_prod where oo_id  = 17294
Parameters:
[]
0.33 ms
(0.13%)
1
select `accessoryDemand` from object_store_prod where oo_id  = 17127
Parameters:
[]
0.33 ms
(0.12%)
1
select `accessoryFilterGroups` from object_store_prod where oo_id  = 17294
Parameters:
[]
0.32 ms
(0.12%)
1
select `colorMatchExceptions` from object_store_prod where oo_id  = 17127
Parameters:
[]
0.32 ms
(0.12%)
1
select `accessoryFilterGroups` from object_store_prod where oo_id  = 17127
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.