Query Metrics

363 Database Queries
50 Different statements
64.89 ms Query time
0 Invalid entities

Grouped Statements

Show all queries

Time Count Info
16.08 ms
(24.78%)
103
SELECT * FROM settings_store WHERE id = ? AND scope = ?
Parameters:
[
  "system_settings"
  "pimcore_system_settings"
]
16.02 ms
(24.69%)
94
SELECT item_id, CASE WHEN item_lifetime IS NULL OR item_lifetime + item_time > ? THEN item_data ELSE NULL END FROM cache_items WHERE item_id IN (?)
Parameters:
[
  1746026645
  "site_domain_3c6802fcc93ad2194513fcea985ab4c9"
]
8.05 ms
(12.41%)
53
SELECT * FROM tmp_store WHERE id = ?
Parameters:
[
  "maintenance_mode"
]
4.31 ms
(6.65%)
21
SELECT item_id, CASE WHEN item_lifetime IS NULL OR item_lifetime + item_time > ? THEN item_data ELSE NULL END FROM cache_items WHERE item_id IN (?, ?)
Parameters:
[
  1746026645
  "system\x01tags\x01"
  "site\x01tags\x01"
]
3.21 ms
(4.94%)
16
SELECT item_id, CASE WHEN item_lifetime IS NULL OR item_lifetime + item_time > ? THEN item_data ELSE NULL END FROM cache_items WHERE item_id IN (?, ?, ?)
Parameters:
[
  1746026645
  "system\x01tags\x01"
  "redirect\x01tags\x01"
  "route\x01tags\x01"
]
1.17 ms
(1.80%)
6
SELECT * FROM object_relations_AP WHERE src_id = ?
Parameters:
[
  406
]
1.15 ms
(1.76%)
6
SELECT * FROM assets_image_thumbnail_cache WHERE cid = ?
Parameters:
[
  219
]
1.04 ms
(1.60%)
6
SELECT customSettings FROM assets WHERE id = ?
Parameters:
[
  219
]
0.97 ms
(1.49%)
6
SELECT id FROM documents WHERE `path` = BINARY ? AND `key` = BINARY ?
Parameters:
[
  "/de/shop/Spare-Parts/"
  "Windscreens~c407"
]
0.83 ms
(1.28%)
1
SELECT TRIM(`parentCategoryIds`) as `value`, count(*) as `count` FROM shop_productindex a WHERE active = 1 AND virtualProductActive = 1 AND inProductList = 1 AND `type` = 'variant' GROUP BY TRIM(`parentCategoryIds`)
Parameters:
[]
0.79 ms
(1.22%)
5
SELECT name FROM classes WHERE id = ?
Parameters:
[
  "CA"
]
0.72 ms
(1.11%)
2
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 AND priority = 99 ORDER BY `priority` DESC
Parameters:
[
  "/de/shop/Spare-Parts/Windscreens~c407"
  "path"
  "auto_create"
  "/de/shop/Spare-Parts/Windscreens~c407"
  "path_query"
  "http://51.20.254.85/de/shop/Spare-Parts/Windscreens~c407"
  "entire_uri"
]
0.61 ms
(0.94%)
4
SELECT id FROM documents_page WHERE prettyUrl = ?
Parameters:
[
  "/de/shop/Spare-Parts/Windscreens~c407"
]
0.58 ms
(0.89%)
1
SELECT dest as `value`, count(*) as `count` FROM shop_productindex_relations a WHERE fieldname = 'manufacturer' AND src IN (SELECT a.id FROM shop_productindex a WHERE active = 1 AND virtualProductActive = 1 AND inProductList = 1 AND `type` = 'variant' AND (parentCategoryIds LIKE '%,407,%')) GROUP BY dest
Parameters:
[]
0.51 ms
(0.79%)
1
SELECT TRIM(`milage`) as `value`, count(*) as `count` FROM shop_productindex a WHERE active = 1 AND virtualProductActive = 1 AND inProductList = 1 AND `type` = 'variant' AND (parentCategoryIds LIKE '%,407,%') GROUP BY TRIM(`milage`)
Parameters:
[]
0.48 ms
(0.74%)
1
SELECT SQL_CALC_FOUND_ROWS a.id, priceSystemName FROM shop_productindex a WHERE active = 1 AND virtualProductActive = 1 AND inProductList = 1 AND `type` = 'variant' AND (parentCategoryIds LIKE '%,407,%') LIMIT 22
Parameters:
[]
0.42 ms
(0.64%)
2
SELECT * FROM object_relations_CA WHERE src_id = ?
Parameters:
[
  407
]
0.40 ms
(0.61%)
2
SELECT item_id, CASE WHEN item_lifetime IS NULL OR item_lifetime + item_time > ? THEN item_data ELSE NULL END FROM cache_items WHERE item_id IN (?, ?, ?, ?)
Parameters:
[
  1746026645
  "document_152\x01tags\x01"
  "document_57\x01tags\x01"
  "document_54\x01tags\x01"
  "document_55\x01tags\x01"
]
0.39 ms
(0.60%)
2
SELECT id,language FROM documents_translations WHERE sourceId = ? UNION SELECT sourceId as id,"source" FROM documents_translations WHERE id = ?
Parameters:
[
  136
  136
]
0.33 ms
(0.51%)
1
SELECT * FROM object_url_slugs WHERE fieldname = 'urlSlug' AND ownertype = 'object' AND objectId = '406'
Parameters:
[]
0.33 ms
(0.51%)
1
SELECT * FROM object_url_slugs WHERE fieldname = 'urlSlug' AND ownertype = 'object' AND objectId = '443'
Parameters:
[]
0.31 ms
(0.49%)
1
SELECT item_id, CASE WHEN item_lifetime IS NULL OR item_lifetime + item_time > ? THEN item_data ELSE NULL END FROM cache_items WHERE item_id IN (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?)
Parameters:
[
  1746026645
  "output\x01tags\x01"
  "navigation\x01tags\x01"
  "document_164\x01tags\x01"
  "document_165\x01tags\x01"
  "document_138\x01tags\x01"
  "document_151\x01tags\x01"
  "document_152\x01tags\x01"
  "document_153\x01tags\x01"
  "document_154\x01tags\x01"
  "document_155\x01tags\x01"
  "document_156\x01tags\x01"
  "document_157\x01tags\x01"
  "document_139\x01tags\x01"
  "document_142\x01tags\x01"
  "document_171\x01tags\x01"
  "document_172\x01tags\x01"
  "document_173\x01tags\x01"
  "document_174\x01tags\x01"
  "document_158\x01tags\x01"
  "document_161\x01tags\x01"
  "document_160\x01tags\x01"
  "document_140\x01tags\x01"
  "document_170\x01tags\x01"
  "document_148\x01tags\x01"
  "document_149\x01tags\x01"
  "document_137\x01tags\x01"
  "document_141\x01tags\x01"
]
0.29 ms
(0.45%)
1
SELECT id FROM sites ORDER BY (SELECT LENGTH(CONCAT(`path`, `key`)) FROM documents WHERE documents.id = sites.rootId) DESC
Parameters:
[]
0.28 ms
(0.44%)
1
SELECT item_id, CASE WHEN item_lifetime IS NULL OR item_lifetime + item_time > ? THEN item_data ELSE NULL END FROM cache_items WHERE item_id IN (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?)
Parameters:
[
  1746026645
  "document_110\x01tags\x01"
  "document_104\x01tags\x01"
  "document_54\x01tags\x01"
  "document_55\x01tags\x01"
  "document_56\x01tags\x01"
  "document_57\x01tags\x01"
  "object_548\x01tags\x01"
  "object_561\x01tags\x01"
  "object_551\x01tags\x01"
  "object_550\x01tags\x01"
  "asset_390\x01tags\x01"
  "asset_391\x01tags\x01"
  "asset_392\x01tags\x01"
  "asset_389\x01tags\x01"
]
0.28 ms
(0.44%)
1
SELECT *
            FROM website_settings
            WHERE name = ?
                AND (
                    siteId IS NULL
                    OR siteId = 0
                    OR siteId = ?
                )
                AND (
                    language IS NULL
                    OR language = ''
                    OR language = ?
                )
            ORDER BY CONCAT(siteId, language) DESC, siteId DESC, language DESC
Parameters:
[
  "defaultTaxClass"
  null
  null
]
0.28 ms
(0.44%)
1
SELECT item_id, CASE WHEN item_lifetime IS NULL OR item_lifetime + item_time > ? THEN item_data ELSE NULL END FROM cache_items WHERE item_id IN (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?)
Parameters:
[
  1746026645
  "document_49\x01tags\x01"
  "asset_252\x01tags\x01"
  "asset_250\x01tags\x01"
  "asset_249\x01tags\x01"
  "asset_251\x01tags\x01"
  "asset_115\x01tags\x01"
  "asset_117\x01tags\x01"
  "asset_114\x01tags\x01"
  "asset_35\x01tags\x01"
  "asset_36\x01tags\x01"
  "asset_41\x01tags\x01"
]
0.28 ms
(0.43%)
1
SELECT * FROM documents_editables WHERE documentId = ?
Parameters:
[
  170
]
0.27 ms
(0.42%)
1
SELECT item_id, CASE WHEN item_lifetime IS NULL OR item_lifetime + item_time > ? THEN item_data ELSE NULL END FROM cache_items WHERE item_id IN (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?)
Parameters:
[
  1746026645
  "document_136\x01tags\x01"
  "asset_337\x01tags\x01"
  "asset_3\x01tags\x01"
  "asset_319\x01tags\x01"
  "asset_361\x01tags\x01"
  "asset_320\x01tags\x01"
  "asset_318\x01tags\x01"
  "asset_321\x01tags\x01"
  "asset_224\x01tags\x01"
  "asset_35\x01tags\x01"
  "asset_211\x01tags\x01"
  "asset_90\x01tags\x01"
  "asset_58\x01tags\x01"
  "asset_180\x01tags\x01"
  "asset_124\x01tags\x01"
  "asset_164\x01tags\x01"
  "asset_81\x01tags\x01"
]
0.27 ms
(0.42%)
1
SELECT * FROM object_relations_EF_FD WHERE src_id = ?
Parameters:
[
  760
]
0.27 ms
(0.41%)
1
SELECT id FROM ecommerceframework_pricing_rule WHERE active = 1  ORDER BY `prio` ASC
Parameters:
[]
0.27 ms
(0.41%)
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.27 ms
(0.41%)
1
SELECT item_id, CASE WHEN item_lifetime IS NULL OR item_lifetime + item_time > ? THEN item_data ELSE NULL END FROM cache_items WHERE item_id IN (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?)
Parameters:
[
  1746026645
  "document_3\x01tags\x01"
  "document_1\x01tags\x01"
  "asset_337\x01tags\x01"
  "asset_3\x01tags\x01"
  "asset_319\x01tags\x01"
  "asset_361\x01tags\x01"
  "asset_320\x01tags\x01"
  "asset_318\x01tags\x01"
  "asset_321\x01tags\x01"
  "asset_224\x01tags\x01"
  "asset_35\x01tags\x01"
  "asset_211\x01tags\x01"
  "asset_90\x01tags\x01"
  "asset_58\x01tags\x01"
  "asset_180\x01tags\x01"
  "asset_124\x01tags\x01"
  "asset_164\x01tags\x01"
  "asset_81\x01tags\x01"
]
0.26 ms
(0.41%)
1
SELECT objects.id as id, objects.type as `type` FROM objects WHERE (parentId = ? AND  objects.type IN ('object','variant','folder')) AND objects.published = 1 ORDER BY `key` ASC
Parameters:
[
  407
]
0.25 ms
(0.39%)
1
SELECT * FROM object_url_slugs WHERE fieldname = 'urlSlug' AND ownertype = 'object' AND objectId = '524'
Parameters:
[]
0.25 ms
(0.38%)
1
SELECT * FROM object_url_slugs WHERE fieldname = 'urlSlug' AND ownertype = 'object' AND objectId = '412'
Parameters:
[]
0.24 ms
(0.37%)
1
SELECT * FROM object_url_slugs WHERE fieldname = 'urlSlug' AND ownertype = 'object' AND objectId = '498'
Parameters:
[]
0.24 ms
(0.36%)
1
SELECT item_id, CASE WHEN item_lifetime IS NULL OR item_lifetime + item_time > ? THEN item_data ELSE NULL END FROM cache_items WHERE item_id IN (?, ?, ?, ?, ?, ?, ?, ?)
Parameters:
[
  1746026645
  "document_48\x01tags\x01"
  "asset_62\x01tags\x01"
  "asset_63\x01tags\x01"
  "asset_321\x01tags\x01"
  "asset_319\x01tags\x01"
  "asset_362\x01tags\x01"
  "asset_340\x01tags\x01"
  "asset_317\x01tags\x01"
]
0.22 ms
(0.34%)
1
SELECT * FROM object_url_slugs WHERE fieldname = 'urlSlug' AND ownertype = 'object' AND objectId = '452'
Parameters:
[]
0.22 ms
(0.34%)
1
SELECT item_id, CASE WHEN item_lifetime IS NULL OR item_lifetime + item_time > ? THEN item_data ELSE NULL END FROM cache_items WHERE item_id IN (?, ?, ?, ?, ?, ?, ?)
Parameters:
[
  1746026645
  "document_95\x01tags\x01"
  "object_75\x01tags\x01"
  "object_74\x01tags\x01"
  "object_399\x01tags\x01"
  "asset_384\x01tags\x01"
  "asset_385\x01tags\x01"
  "asset_386\x01tags\x01"
]
0.21 ms
(0.32%)
1
SELECT * FROM translations_messages LIMIT 1;
Parameters:
[]
0.20 ms
(0.30%)
1
SELECT item_id, CASE WHEN item_lifetime IS NULL OR item_lifetime + item_time > ? THEN item_data ELSE NULL END FROM cache_items WHERE item_id IN (?, ?, ?, ?, ?)
Parameters:
[
  1746026645
  "document_112\x01tags\x01"
  "asset_336\x01tags\x01"
  "asset_382\x01tags\x01"
  "asset_378\x01tags\x01"
  "asset_374\x01tags\x01"
]
0.18 ms
(0.28%)
1
SELECT id FROM objects WHERE `path` = BINARY ? AND `key` = BINARY ?
Parameters:
[
  "/Product Data/Accessories/lights/head lights/"
  "citroen-2cv-head lights"
]
0.18 ms
(0.28%)
1
SELECT sourceId FROM documents_translations WHERE id = ?
Parameters:
[
  136
]
0.16 ms
(0.24%)
1
SELECT * FROM ecommerceframework_pricing_rule WHERE id='6'
Parameters:
[]
0.15 ms
(0.23%)
1
SELECT * FROM ecommerceframework_pricing_rule WHERE id='7'
Parameters:
[]
0.15 ms
(0.23%)
1
SELECT * FROM website_settings WHERE id = ?
Parameters:
[
  2
]
0.15 ms
(0.23%)
1
SELECT * FROM ecommerceframework_pricing_rule WHERE id='10'
Parameters:
[]
0.15 ms
(0.23%)
1
SELECT * FROM ecommerceframework_pricing_rule WHERE id='9'
Parameters:
[]
0.15 ms
(0.23%)
1
SELECT * FROM ecommerceframework_pricing_rule WHERE id='8'
Parameters:
[]
0.09 ms
(0.14%)
1
SELECT FOUND_ROWS()
Parameters:
[]

Database Connections

Name Service
default doctrine.dbal.default_connection

Entity Managers

Name Service
pimcore doctrine.orm.pimcore_entity_manager

Second Level Cache

Second Level Cache is not enabled.

Entities Mapping

No loaded entities.