GET https://testing.weverducre.com/nl/producten?page=25

Query Metrics

154 Database Queries
37 Different statements
834.15 ms Query time
0 Invalid entities
0 Managed entities

Grouped Statements

Show all queries

default connection

Time Count Info
77.92 ms
(9.34%)
1
SELECT SQL_CALC_FOUND_ROWS DISTINCT virtualProductId as id, priceSystemName  FROM ecommerceframework_productindex_wdbe_nl a  INNER JOIN ecommerceframework_productindex_wdbe_nl_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 a.id != virtualProductId  AND (parentCategoryIds not like '%,165410,%') GROUP BY virtualProductId, priceSystemName ORDER BY min(ifnull(featuredPriority, 0)) desc,min((promotions like '%#new#%')) desc,min(ifnull(s.score, 0)) desc,min(ifnull(rankingMultiplicator, 999999999)) asc,min(`a`.`id`) ASC LIMIT 576, 24
Parameters:
[]
66.21 ms
(7.94%)
2
SELECT TRIM(`ipRating`) as `value`, count(DISTINCT virtualProductId) as `count` FROM ecommerceframework_productindex_wdbe_nl a  INNER JOIN ecommerceframework_productindex_wdbe_nl_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 a.id != virtualProductId  AND (parentCategoryIds not like '%,165410,%') GROUP BY TRIM(`ipRating`)
Parameters:
[]
65.45 ms
(7.85%)
2
SELECT TRIM(`scopeName`) as `value`, count(DISTINCT virtualProductId) as `count` FROM ecommerceframework_productindex_wdbe_nl a  INNER JOIN ecommerceframework_productindex_wdbe_nl_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 a.id != virtualProductId  AND (parentCategoryIds not like '%,165410,%') GROUP BY TRIM(`scopeName`)
Parameters:
[]
64.54 ms
(7.74%)
2
SELECT TRIM(`typeName`) as `value`, count(DISTINCT virtualProductId) as `count` FROM ecommerceframework_productindex_wdbe_nl a  INNER JOIN ecommerceframework_productindex_wdbe_nl_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 a.id != virtualProductId  AND (parentCategoryIds not like '%,165410,%') GROUP BY TRIM(`typeName`)
Parameters:
[]
64.43 ms
(7.72%)
2
SELECT dest as `value`, count(DISTINCT src_virtualProductId) as `count` FROM ecommerceframework_productindex_wdbe_nl_relations a WHERE fieldname = 'baseColorObjects' AND src IN (SELECT a.id FROM ecommerceframework_productindex_wdbe_nl a  INNER JOIN ecommerceframework_productindex_wdbe_nl_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 a.id != virtualProductId  AND (parentCategoryIds not like '%,165410,%')) GROUP BY dest
Parameters:
[]
64.35 ms
(7.71%)
2
SELECT TRIM(`converterText`) as `value`, count(DISTINCT virtualProductId) as `count` FROM ecommerceframework_productindex_wdbe_nl a  INNER JOIN ecommerceframework_productindex_wdbe_nl_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 a.id != virtualProductId  AND (parentCategoryIds not like '%,165410,%') GROUP BY TRIM(`converterText`)
Parameters:
[]
63.61 ms
(7.63%)
2
SELECT TRIM(`lightColorTemperature`) as `value`, count(DISTINCT virtualProductId) as `count` FROM ecommerceframework_productindex_wdbe_nl a  INNER JOIN ecommerceframework_productindex_wdbe_nl_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 a.id != virtualProductId  AND (parentCategoryIds not like '%,165410,%') GROUP BY TRIM(`lightColorTemperature`)
Parameters:
[]
61.15 ms
(7.33%)
2
SELECT TRIM(`lampType`) as `value`, count(DISTINCT virtualProductId) as `count` FROM ecommerceframework_productindex_wdbe_nl a  INNER JOIN ecommerceframework_productindex_wdbe_nl_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 a.id != virtualProductId  AND (parentCategoryIds not like '%,165410,%') GROUP BY TRIM(`lampType`)
Parameters:
[]
43.70 ms
(5.24%)
2
SELECT TRIM(`diameter`) as `value`, count(DISTINCT virtualProductId) as `count` FROM ecommerceframework_productindex_wdbe_nl a  INNER JOIN ecommerceframework_productindex_wdbe_nl_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 a.id != virtualProductId  AND (parentCategoryIds not like '%,165410,%') GROUP BY TRIM(`diameter`)
Parameters:
[]
41.51 ms
(4.98%)
2
SELECT TRIM(`recessedDepth`) as `value`, count(DISTINCT virtualProductId) as `count` FROM ecommerceframework_productindex_wdbe_nl a  INNER JOIN ecommerceframework_productindex_wdbe_nl_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 a.id != virtualProductId  AND (parentCategoryIds not like '%,165410,%') GROUP BY TRIM(`recessedDepth`)
Parameters:
[]
40.82 ms
(4.89%)
2
SELECT TRIM(`cutOutMax`) as `value`, count(DISTINCT virtualProductId) as `count` FROM ecommerceframework_productindex_wdbe_nl a  INNER JOIN ecommerceframework_productindex_wdbe_nl_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 a.id != virtualProductId  AND (parentCategoryIds not like '%,165410,%') GROUP BY TRIM(`cutOutMax`)
Parameters:
[]
40.49 ms
(4.85%)
2
SELECT TRIM(`cutOutMin`) as `value`, count(DISTINCT virtualProductId) as `count` FROM ecommerceframework_productindex_wdbe_nl a  INNER JOIN ecommerceframework_productindex_wdbe_nl_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 a.id != virtualProductId  AND (parentCategoryIds not like '%,165410,%') GROUP BY TRIM(`cutOutMin`)
Parameters:
[]
25.07 ms
(3.01%)
1
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_nl a  INNER JOIN ecommerceframework_productindex_wdbe_nl_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 = '171519' and a.id != '171519') or parentProducts like '%,171519,%') 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:
[]
24.93 ms
(2.99%)
1
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_nl a  INNER JOIN ecommerceframework_productindex_wdbe_nl_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 = '171515' and a.id != '171515') or parentProducts like '%,171515,%') 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:
[]
24.56 ms
(2.94%)
1
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_nl a  INNER JOIN ecommerceframework_productindex_wdbe_nl_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 = '171517' and a.id != '171517') or parentProducts like '%,171517,%') 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:
[]
12.10 ms
(1.45%)
27
SELECT customSettings FROM assets WHERE id = ?
Parameters:
[
  4574046
]
11.26 ms
(1.35%)
27
SELECT * FROM assets_image_thumbnail_cache WHERE cid = ?
Parameters:
[
  4574046
]
7.60 ms
(0.91%)
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=nl&_format=html&_controller=App%5CController%5CSnippetController%3A%3AheaderAction"
  "path_query"
  "https://testing.weverducre.com/_fragment?_path=_locale=nl&_format=html&_controller=App%5CController%5CSnippetController%3A%3AheaderAction"
  "entire_uri"
]
7.12 ms
(0.85%)
12
SELECT id,language FROM documents_translations WHERE sourceId = ? UNION SELECT sourceId as id,"source" FROM documents_translations WHERE id = ?
Parameters:
[
  11
  11
]
5.42 ms
(0.65%)
12
SELECT * FROM documents_editables WHERE documentId = ?
Parameters:
[
  1103
]
2.98 ms
(0.36%)
7
SELECT * FROM sites WHERE rootId = ?
Parameters:
[
  2
]
2.96 ms
(0.35%)
8
SELECT * FROM settings_store WHERE id = ? AND scope = ?
Parameters:
[
  "BUNDLE_INSTALLED__Pimcore\Bundle\SeoBundle\PimcoreSeoBundle"
  "pimcore"
]
2.74 ms
(0.33%)
7
SELECT name FROM classes WHERE id = ?
Parameters:
[
  "SCONF"
]
1.99 ms
(0.24%)
5
SELECT documents.id, documents.type FROM documents WHERE  (parentId = ?) AND published = 1 ORDER BY `index` ASC
Parameters:
[
  1139
]
1.49 ms
(0.18%)
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:
[
  "/nl/producten"
  "path"
  "auto_create"
  "/nl/producten?page=25"
  "path_query"
  "https://testing.weverducre.com/nl/producten?page=25"
  "entire_uri"
]
1.40 ms
(0.17%)
2
SELECT id,language FROM documents_translations WHERE sourceId IN(?, ?) UNION SELECT sourceId as id,"source" FROM documents_translations WHERE id = ?
Parameters:
[
  12
  1103
  1103
]
1.33 ms
(0.16%)
1
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_nl a  INNER JOIN ecommerceframework_productindex_wdbe_nl_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 = '171516' and a.id != '171516') or parentProducts like '%,171516,%') 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:
[]
1.02 ms
(0.12%)
2
SELECT sourceId FROM documents_translations WHERE id = ?
Parameters:
[
  1103
]
1.01 ms
(0.12%)
1
SELECT * FROM object_relations_SCONF WHERE src_id = ?
Parameters:
[
  1547
]
0.95 ms
(0.11%)
2
SELECT * FROM translations_messages LIMIT 1;
Parameters:
[]
0.83 ms
(0.10%)
1
SELECT * FROM object_url_slugs WHERE slug = '/nl/producten' AND (siteId = 1 OR siteId = 0) ORDER BY siteId DESC LIMIT 1
Parameters:
[]
0.80 ms
(0.10%)
2
SELECT * FROM translations_admin LIMIT 1;
Parameters:
[]
0.71 ms
(0.09%)
1
SELECT FOUND_ROWS()
Parameters:
[]
0.48 ms
(0.06%)
1
SELECT object_localized_8_nl.id as id, object_localized_8_nl.type as `type` FROM object_localized_8_nl WHERE ( object_localized_8_nl.type IN ('object','variant','folder')) AND object_localized_8_nl.published = 1
Parameters:
[]
0.44 ms
(0.05%)
1
SELECT id FROM documents WHERE `path` = BINARY ? AND `key` = BINARY ?
Parameters:
[
  "/weverducre.com/nl/"
  "producten"
]
0.44 ms
(0.05%)
1
SELECT * FROM tmp_store WHERE id = ?
Parameters:
[
  "maintenance_mode"
]
0.36 ms
(0.04%)
1
SELECT * FROM object_relations_EF_FD WHERE src_id = ?
Parameters:
[
  1551
]

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.