Query Metrics

233 Database Queries
44 Different statements
114.45 ms Query time
0 Invalid entities

Grouped Statements

Show all queries

Time Count Info
29.41 ms
(25.70%)
122
SELECT id, 
          (CASE WHEN expire IS NULL OR expire > ? THEN data ELSE NULL END) as data
            FROM cache WHERE id IN (?)
Parameters:
[
  1731835410
  [
    "site_domain_1dbac4262e11737dd6a9cd21a18951ff"
  ]
]
17.67 ms
(15.44%)
1
SELECT PLUGIN_CMF_COLLECT_OBJECT_SEGMENT_ASSIGNMENTS(:elementId)
Parameters:
[
  "elementId" => 564
]
10.92 ms
(9.54%)
45
SELECT * FROM tmp_store WHERE id = ?
Parameters:
[
  "thumb_155__85ce72b68f0973643c9191fe589d84a7"
]
9.98 ms
(8.72%)
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:
[]
7.90 ms
(6.90%)
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:
[]
4.87 ms
(4.26%)
1
SELECT id FROM targeting_target_groups UNION SELECT id FROM targeting_rules LIMIT 1
Parameters:
[]
3.49 ms
(3.05%)
1
SELECT id FROM ecommerceframework_pricing_rule WHERE active = 1  ORDER BY `prio` ASC
Parameters:
[]
3.03 ms
(2.65%)
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/"
]
2.77 ms
(2.42%)
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
]
2.48 ms
(2.16%)
5
SELECT name FROM classes WHERE id = ?
Parameters:
[
  "CA"
]
2.44 ms
(2.13%)
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:
[]
2.06 ms
(1.80%)
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=15"
  "sourceEntireUri" => "https://pimcore-demo.code14.dev/de/shop/Products~c564?page=15"
  "typePath" => "path"
  "typePathQuery" => "path_query"
  "typeEntireUri" => "entire_uri"
  "typeAuto" => "auto_create"
]
1.73 ms
(1.51%)
1
SELECT sourceId FROM documents_translations WHERE id = ?
Parameters:
[
  136
]
1.62 ms
(1.41%)
9
SELECT * FROM targeting_rules WHERE id = ?
Parameters:
[
  1
]
1.62 ms
(1.41%)
5
SELECT id FROM documents WHERE path = :path AND `key` = :key
Parameters:
[
  "key" => "Products~c564"
  "path" => "/de/shop/"
]
1.54 ms
(1.34%)
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
]
1.33 ms
(1.16%)
1
SELECT * FROM documents_elements WHERE documentId = ?
Parameters:
[
  170
]
1.10 ms
(0.96%)
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.06 ms
(0.92%)
3
SELECT id FROM documents_page WHERE prettyUrl = :prettyUrl
Parameters:
[
  "prettyUrl" => "/de/shop/Products~c564"
]
0.79 ms
(0.69%)
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.62%)
1
SELECT * FROM object_url_slugs WHERE fieldname = 'urlSlug' AND ownertype = 'object' AND objectId = '530'
Parameters:
[]
0.66 ms
(0.58%)
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 308, 22
Parameters:
[]
0.62 ms
(0.54%)
1
SELECT id FROM targeting_rules WHERE active = 1  ORDER BY `prio` ASC
Parameters:
[]
0.44 ms
(0.38%)
1
SELECT * FROM object_url_slugs WHERE fieldname = 'urlSlug' AND ownertype = 'object' AND objectId = '533'
Parameters:
[]
0.40 ms
(0.35%)
1
SELECT * FROM object_url_slugs WHERE fieldname = 'urlSlug' AND ownertype = 'object' AND objectId = '532'
Parameters:
[]
0.35 ms
(0.31%)
2
SELECT id,language FROM documents_translations WHERE sourceId = ? UNION SELECT sourceId as id,"source" FROM documents_translations WHERE id = ?
Parameters:
[
  "136"
  "136"
]
0.24 ms
(0.21%)
1
SELECT * FROM object_url_slugs WHERE fieldname = 'urlSlug' AND ownertype = 'object' AND objectId = '540'
Parameters:
[]
0.23 ms
(0.20%)
1
SELECT * FROM object_url_slugs WHERE fieldname = 'urlSlug' AND ownertype = 'object' AND objectId = '539'
Parameters:
[]
0.23 ms
(0.20%)
1
SELECT * FROM object_url_slugs WHERE fieldname = 'urlSlug' AND ownertype = 'object' AND objectId = '542'
Parameters:
[]
0.23 ms
(0.20%)
1
SELECT * FROM object_url_slugs WHERE fieldname = 'urlSlug' AND ownertype = 'object' AND objectId = '541'
Parameters:
[]
0.21 ms
(0.19%)
1
SELECT * FROM object_url_slugs WHERE fieldname = 'urlSlug' AND ownertype = 'object' AND objectId = '535'
Parameters:
[]
0.21 ms
(0.18%)
1
SELECT * FROM object_url_slugs WHERE fieldname = 'urlSlug' AND ownertype = 'object' AND objectId = '536'
Parameters:
[]
0.21 ms
(0.18%)
1
SELECT * FROM object_url_slugs WHERE fieldname = 'urlSlug' AND ownertype = 'object' AND objectId = '543'
Parameters:
[]
0.21 ms
(0.18%)
1
SELECT * FROM object_url_slugs WHERE fieldname = 'urlSlug' AND ownertype = 'object' AND objectId = '534'
Parameters:
[]
0.20 ms
(0.18%)
1
SELECT * FROM object_url_slugs WHERE fieldname = 'urlSlug' AND ownertype = 'object' AND objectId = '531'
Parameters:
[]
0.20 ms
(0.17%)
1
SELECT * FROM object_url_slugs WHERE fieldname = 'urlSlug' AND ownertype = 'object' AND objectId = '537'
Parameters:
[]
0.20 ms
(0.17%)
1
SELECT * FROM ecommerceframework_pricing_rule WHERE id='9'
Parameters:
[]
0.19 ms
(0.17%)
1
SELECT * FROM object_url_slugs WHERE fieldname = 'urlSlug' AND ownertype = 'object' AND objectId = '544'
Parameters:
[]
0.18 ms
(0.15%)
1
SELECT * FROM object_url_slugs WHERE fieldname = 'urlSlug' AND ownertype = 'object' AND objectId = '538'
Parameters:
[]
0.16 ms
(0.14%)
1
SELECT * FROM ecommerceframework_pricing_rule WHERE id='10'
Parameters:
[]
0.15 ms
(0.13%)
1
SELECT * FROM ecommerceframework_pricing_rule WHERE id='8'
Parameters:
[]
0.15 ms
(0.13%)
1
SELECT * FROM ecommerceframework_pricing_rule WHERE id='7'
Parameters:
[]
0.15 ms
(0.13%)
1
SELECT * FROM ecommerceframework_pricing_rule WHERE id='6'
Parameters:
[]
0.14 ms
(0.12%)
1
SELECT FOUND_ROWS()
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