Query Metrics

274 Database Queries
51 Different statements
107.16 ms Query time
0 Invalid entities

Grouped Statements

Show all queries

Time Count Info
36.30 ms
(33.87%)
138
SELECT id, 
          (CASE WHEN expire IS NULL OR expire > ? THEN data ELSE NULL END) as data
            FROM cache WHERE id IN (?)
Parameters:
[
  1731829026
  [
    "site_domain_1dbac4262e11737dd6a9cd21a18951ff"
  ]
]
20.70 ms
(19.31%)
63
SELECT * FROM tmp_store WHERE id = ?
Parameters:
[
  "thumb_127__8c44fe6b75f89117e604d03a88536f83"
]
4.89 ms
(4.57%)
1
SELECT count(*) FROM shop_productindex a WHERE active = 1 AND o_virtualProductActive = 1 AND inProductList = 1 AND o_type = 'variant' AND (parentCategoryIds LIKE '%,564,%')
Parameters:
[]
4.08 ms
(3.81%)
1
SELECT dest as `value`, count(*) as `count` FROM shop_productindex_relations a WHERE fieldname = 'manufacturer' AND src IN (SELECT a.o_id FROM shop_productindex a WHERE active = 1 AND o_virtualProductActive = 1 AND inProductList = 1 AND o_type = 'variant' AND (parentCategoryIds LIKE '%,564,%')) GROUP BY dest
Parameters:
[]
3.93 ms
(3.67%)
1
SELECT id FROM targeting_target_groups UNION SELECT id FROM targeting_rules LIMIT 1
Parameters:
[]
3.88 ms
(3.62%)
1
SELECT * FROM redirects WHERE
            (
                (source = :sourcePath AND (`type` = :typePath OR `type` = :typeAuto)) OR
                (source = :sourcePathQuery AND `type` = :typePathQuery) OR
                (source = :sourceEntireUri AND `type` = :typeEntireUri)
            ) AND active = 1 AND regex IS NULL AND (expiry > UNIX_TIMESTAMP() OR expiry IS NULL) AND sourceSite IS NULL AND priority = 99 ORDER BY `priority` DESC
Parameters:
[
  "sourcePath" => "/de/shop/Products~c564"
  "sourcePathQuery" => "/de/shop/Products~c564?page=14"
  "sourceEntireUri" => "https://pimcore-demo.code14.dev/de/shop/Products~c564?page=14"
  "typePath" => "path"
  "typePathQuery" => "path_query"
  "typeEntireUri" => "entire_uri"
  "typeAuto" => "auto_create"
]
3.49 ms
(3.26%)
6
SELECT o_id FROM objects WHERE o_path = :path AND `o_key` = :key
Parameters:
[
  "key" => "Sports-Cars-Fan"
  "path" => "/Customer Management/segments/calculated/Interest-Target-Groups/"
]
3.02 ms
(2.82%)
1
SELECT PLUGIN_CMF_COLLECT_OBJECT_SEGMENT_ASSIGNMENTS(:elementId)
Parameters:
[
  "elementId" => 564
]
2.94 ms
(2.74%)
5
SELECT id FROM documents WHERE path = :path AND `key` = :key
Parameters:
[
  "key" => "Products~c564"
  "path" => "/de/shop/"
]
2.92 ms
(2.73%)
5
SELECT name FROM classes WHERE id = ?
Parameters:
[
  "CA"
]
2.28 ms
(2.13%)
9
SELECT * FROM targeting_rules WHERE id = ?
Parameters:
[
  1
]
2.03 ms
(1.89%)
1
SELECT * FROM object_url_slugs WHERE fieldname = 'urlSlug' AND ownertype = 'object' AND objectId = '508'
Parameters:
[]
1.61 ms
(1.51%)
1
SELECT sourceId FROM documents_translations WHERE id = ?
Parameters:
[
  136
]
1.39 ms
(1.30%)
1
SELECT id FROM ecommerceframework_pricing_rule WHERE active = 1  ORDER BY `prio` ASC
Parameters:
[]
1.31 ms
(1.22%)
1
SELECT TRIM(`parentCategoryIds`) as `value`, count(*) as `count` FROM shop_productindex a WHERE active = 1 AND o_virtualProductActive = 1 AND inProductList = 1 AND o_type = 'variant' GROUP BY TRIM(`parentCategoryIds`)
Parameters:
[]
1.24 ms
(1.16%)
1
SELECT TRIM(`color`) as `value`, count(*) as `count` FROM shop_productindex a WHERE active = 1 AND o_virtualProductActive = 1 AND inProductList = 1 AND o_type = 'variant' AND (parentCategoryIds LIKE '%,564,%') GROUP BY TRIM(`color`)
Parameters:
[]
1.20 ms
(1.12%)
1
SELECT * FROM documents_elements WHERE documentId = ?
Parameters:
[
  170
]
0.75 ms
(0.70%)
1
SELECT TRIM(`carClass`) as `value`, count(*) as `count` FROM shop_productindex a WHERE active = 1 AND o_virtualProductActive = 1 AND inProductList = 1 AND o_type = 'variant' AND (parentCategoryIds LIKE '%,564,%') GROUP BY TRIM(`carClass`)
Parameters:
[]
0.71 ms
(0.67%)
1
SELECT id FROM targeting_rules WHERE active = 1  ORDER BY `prio` ASC
Parameters:
[]
0.68 ms
(0.64%)
3
SELECT id FROM documents_page WHERE prettyUrl = :prettyUrl
Parameters:
[
  "prettyUrl" => "/de/shop/Products~c564"
]
0.56 ms
(0.53%)
1
SELECT SQL_CALC_FOUND_ROWS a.o_id, priceSystemName FROM shop_productindex a WHERE active = 1 AND o_virtualProductActive = 1 AND inProductList = 1 AND o_type = 'variant' AND (parentCategoryIds LIKE '%,564,%') LIMIT 286, 22
Parameters:
[]
0.48 ms
(0.45%)
1
SELECT objects.o_id as o_id, `objects`.`o_type` FROM `objects` WHERE ((o_parentId = ? AND  objects.o_type IN ('object','folder')) AND objects.o_published = 1) ORDER BY `o_key` ASC
Parameters:
[
  564
]
0.48 ms
(0.45%)
1
SELECT * FROM object_url_slugs WHERE fieldname = 'urlSlug' AND ownertype = 'object' AND objectId = '512'
Parameters:
[]
0.48 ms
(0.44%)
1
SELECT id,language FROM documents_translations WHERE sourceId IN(?, ?) UNION SELECT sourceId as id,"source" FROM documents_translations WHERE id = ?
Parameters:
[
  "3"
  136
  136
]
0.46 ms
(0.43%)
1
SELECT * FROM object_url_slugs WHERE fieldname = 'urlSlug' AND ownertype = 'object' AND objectId = '517'
Parameters:
[]
0.41 ms
(0.38%)
2
SELECT id,language FROM documents_translations WHERE sourceId = ? UNION SELECT sourceId as id,"source" FROM documents_translations WHERE id = ?
Parameters:
[
  "136"
  "136"
]
0.38 ms
(0.36%)
1
SELECT * FROM object_url_slugs WHERE fieldname = 'urlSlug' AND ownertype = 'object' AND objectId = '528'
Parameters:
[]
0.27 ms
(0.25%)
1
SELECT * FROM object_url_slugs WHERE fieldname = 'urlSlug' AND ownertype = 'object' AND objectId = '516'
Parameters:
[]
0.23 ms
(0.22%)
1
SELECT * FROM object_url_slugs WHERE fieldname = 'urlSlug' AND ownertype = 'object' AND objectId = '509'
Parameters:
[]
0.23 ms
(0.21%)
1
SELECT * FROM object_url_slugs WHERE fieldname = 'urlSlug' AND ownertype = 'object' AND objectId = '519'
Parameters:
[]
0.22 ms
(0.20%)
1
SELECT * FROM object_url_slugs WHERE fieldname = 'urlSlug' AND ownertype = 'object' AND objectId = '529'
Parameters:
[]
0.21 ms
(0.20%)
1
SELECT * FROM object_url_slugs WHERE fieldname = 'urlSlug' AND ownertype = 'object' AND objectId = '520'
Parameters:
[]
0.21 ms
(0.19%)
1
SELECT * FROM object_url_slugs WHERE fieldname = 'urlSlug' AND ownertype = 'object' AND objectId = '527'
Parameters:
[]
0.21 ms
(0.19%)
1
SELECT * FROM object_url_slugs WHERE fieldname = 'urlSlug' AND ownertype = 'object' AND objectId = '521'
Parameters:
[]
0.20 ms
(0.19%)
1
SELECT * FROM object_url_slugs WHERE fieldname = 'urlSlug' AND ownertype = 'object' AND objectId = '515'
Parameters:
[]
0.20 ms
(0.19%)
1
SELECT * FROM object_url_slugs WHERE fieldname = 'urlSlug' AND ownertype = 'object' AND objectId = '511'
Parameters:
[]
0.20 ms
(0.19%)
1
SELECT * FROM object_url_slugs WHERE fieldname = 'urlSlug' AND ownertype = 'object' AND objectId = '518'
Parameters:
[]
0.20 ms
(0.18%)
1
SELECT * FROM object_url_slugs WHERE fieldname = 'urlSlug' AND ownertype = 'object' AND objectId = '523'
Parameters:
[]
0.20 ms
(0.18%)
1
SELECT * FROM object_url_slugs WHERE fieldname = 'urlSlug' AND ownertype = 'object' AND objectId = '522'
Parameters:
[]
0.20 ms
(0.18%)
1
SELECT * FROM ecommerceframework_pricing_rule WHERE id='9'
Parameters:
[]
0.19 ms
(0.18%)
1
SELECT * FROM object_url_slugs WHERE fieldname = 'urlSlug' AND ownertype = 'object' AND objectId = '513'
Parameters:
[]
0.19 ms
(0.18%)
1
SELECT * FROM object_url_slugs WHERE fieldname = 'urlSlug' AND ownertype = 'object' AND objectId = '514'
Parameters:
[]
0.19 ms
(0.17%)
1
SELECT * FROM object_url_slugs WHERE fieldname = 'urlSlug' AND ownertype = 'object' AND objectId = '525'
Parameters:
[]
0.18 ms
(0.17%)
1
SELECT * FROM object_url_slugs WHERE fieldname = 'urlSlug' AND ownertype = 'object' AND objectId = '524'
Parameters:
[]
0.16 ms
(0.15%)
1
SELECT * FROM object_url_slugs WHERE fieldname = 'urlSlug' AND ownertype = 'object' AND objectId = '510'
Parameters:
[]
0.16 ms
(0.15%)
1
SELECT * FROM object_url_slugs WHERE fieldname = 'urlSlug' AND ownertype = 'object' AND objectId = '526'
Parameters:
[]
0.15 ms
(0.14%)
1
SELECT * FROM ecommerceframework_pricing_rule WHERE id='10'
Parameters:
[]
0.15 ms
(0.14%)
1
SELECT * FROM ecommerceframework_pricing_rule WHERE id='6'
Parameters:
[]
0.14 ms
(0.13%)
1
SELECT * FROM ecommerceframework_pricing_rule WHERE id='8'
Parameters:
[]
0.13 ms
(0.12%)
1
SELECT FOUND_ROWS()
Parameters:
[]
0.13 ms
(0.12%)
1
SELECT * FROM ecommerceframework_pricing_rule WHERE id='7'
Parameters:
[]

Database Connections

Name Service
default doctrine.dbal.default_connection

Entity Managers

There are no configured entity managers.

Second Level Cache

Second Level Cache is not enabled.

Entities Mapping