Query Metrics

218 Database Queries
47 Different statements
79.57 ms Query time
0 Invalid entities

Grouped Statements

Show all queries

Time▼ Count Info
25.90 ms
(32.54%)
75
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:
[
  1792127793
  "site_domain_b9403372fdfb10effad0f7b7e7850f2b"
]
8.04 ms
(10.10%)
36
SELECT * FROM settings_store WHERE id = ? AND scope = ?
Parameters:
[
  "system_settings"
  "pimcore_system_settings"
]
7.60 ms
(9.55%)
19
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:
[
  1792127793
  "system\x01tags\x01"
  "site\x01tags\x01"
]
7.58 ms
(9.52%)
7
SELECT * FROM tmp_store WHERE id = ?
Parameters:
[
  "maintenance_mode"
]
7.12 ms
(8.95%)
4
INSERT INTO tmp_store (`id`, `data`, `tag`, `date`, `expiryDate`, `serialized`) VALUES (?, ?, ?, ?, ?, ?)
Parameters:
[
  "thumb_120__830a705f436e9e4910247451370005cd"
  "O:42:"Pimcore\Model\Asset\Image\Thumbnail\Config":16:{s:8:"\x00*\x00items";a:2:{i:0;a:2:{s:6:"method";s:11:"cropPercent";s:9:"arguments";a:4:{s:5:"width";d:21.199999999999999289457264239899814128875732421875;s:6:"height";d:32.2683706070287570355503703467547893524169921875;s:1:"y";d:61.66134185303514669840296846814453601837158203125;s:1:"x";d:44.2000000000000028421709430404007434844970703125;}}i:1;a:2:{s:6:"method";s:12:"scaleByWidth";s:9:"arguments";a:2:{s:5:"width";i:700;s:11:"forceResize";b:0;}}}s:9:"\x00*\x00medias";a:0:{}s:7:"\x00*\x00name";s:52:"product_detail_auto_e85f61b460ee0a40b89959e2177e8c79";s:14:"\x00*\x00description";s:0:"";s:8:"\x00*\x00group";s:10:"E-Commerce";s:9:"\x00*\x00format";s:6:"SOURCE";s:10:"\x00*\x00quality";i:85;s:17:"\x00*\x00highResolution";d:2;s:16:"\x00*\x00preserveColor";b:0;s:19:"\x00*\x00preserveMetaData";b:0;s:15:"\x00*\x00rasterizeSVG";b:0;s:15:"\x00*\x00downloadable";b:0;s:19:"\x00*\x00modificationDate";i:1643107963;s:15:"\x00*\x00creationDate";i:1565167920;s:17:"\x00*\x00filenameSuffix";N;s:20:"\x00*\x00preserveAnimation";b:0;}"
  "thumbnail_deferred"
  1792127793
  1792732593
  1
]
6.52 ms
(8.19%)
4
DELETE FROM tmp_store WHERE id = ?
Parameters:
[
  "thumb_120__830a705f436e9e4910247451370005cd"
]
2.07 ms
(2.60%)
6
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:
[
  1792127793
  "system\x01tags\x01"
  "redirect\x01tags\x01"
  "route\x01tags\x01"
]
1.27 ms
(1.59%)
7
SELECT id FROM documents WHERE `path` = BINARY ? AND `key` = BINARY ?
Parameters:
[
  "/de/shop/Produkte/Ersatzteile/"
  "Mercedes-Benz--Felgen~p490"
]
1.18 ms
(1.49%)
4
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:
[
  1792127793
  "object_75\x01tags\x01"
  "class_CAR\x01tags\x01"
  "asset_60\x01tags\x01"
  "asset_61\x01tags\x01"
]
0.94 ms
(1.18%)
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/Produkte/Ersatzteile/Mercedes-Benz--Felgen~p490"
  "path"
  "auto_create"
  "/de/shop/Produkte/Ersatzteile/Mercedes-Benz--Felgen~p490"
  "path_query"
  "https://www.pimcore.hcap.ch/de/shop/Produkte/Ersatzteile/Mercedes-Benz--Felgen~p490"
  "entire_uri"
]
0.84 ms
(1.06%)
5
SELECT name FROM classes WHERE id = ?
Parameters:
[
  "AP"
]
0.82 ms
(1.03%)
5
SELECT id FROM documents_page WHERE prettyUrl = ?
Parameters:
[
  "/de/shop/Produkte/Ersatzteile/Mercedes-Benz--Felgen~p490"
]
0.68 ms
(0.85%)
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:
[
  1792127793
  "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.59 ms
(0.74%)
4
SELECT customSettings FROM assets WHERE id = ?
Parameters:
[
  305
]
0.57 ms
(0.71%)
4
SELECT * FROM assets_image_thumbnail_cache WHERE cid = ?
Parameters:
[
  305
]
0.49 ms
(0.62%)
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.47 ms
(0.59%)
3
SELECT * FROM object_relations_CAR WHERE src_id = ?
Parameters:
[
  138
]
0.45 ms
(0.56%)
2
SELECT id,language FROM documents_translations WHERE sourceId = ? UNION SELECT sourceId as id,"source" FROM documents_translations WHERE id = ?
Parameters:
[
  136
  136
]
0.44 ms
(0.56%)
1
SELECT * FROM website_settings WHERE id = ?
Parameters:
[
  2
]
0.38 ms
(0.48%)
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:
[
  1792127793
  "object_138\x01tags\x01"
  "class_CAR\x01tags\x01"
  "asset_114\x01tags\x01"
  "asset_115\x01tags\x01"
  "asset_116\x01tags\x01"
  "asset_117\x01tags\x01"
]
0.38 ms
(0.47%)
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:
[
  1792127793
  "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.37 ms
(0.47%)
1
SELECT object_localized_CAR_de.id as id, object_localized_CAR_de.type as `type` FROM object_localized_CAR_de WHERE (path LIKE "/Product Data/Cars/mercedes/190sl%" AND  object_localized_CAR_de.type IN ('object','variant','folder')) AND object_localized_CAR_de.published = 1
Parameters:
[]
0.37 ms
(0.46%)
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:
[
  1792127793
  "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.33 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:
[
  1792127793
  "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.31 ms
(0.39%)
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:
[
  1792127793
  "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.31 ms
(0.39%)
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:
[
  1792127793
  "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.29 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:
[
  1792127793
  "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.29 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:
[
  1792127793
  "document_112\x01tags\x01"
  "asset_336\x01tags\x01"
  "asset_382\x01tags\x01"
  "asset_378\x01tags\x01"
  "asset_374\x01tags\x01"
]
0.26 ms
(0.32%)
1
SELECT * FROM translations_messages LIMIT 1;
Parameters:
[]
0.23 ms
(0.29%)
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.22 ms
(0.28%)
1
SELECT FOUND_ROWS()
Parameters:
[]
0.21 ms
(0.27%)
1
SELECT sourceId FROM documents_translations WHERE id = ?
Parameters:
[
  136
]
0.19 ms
(0.24%)
1
SELECT * FROM object_url_slugs WHERE fieldname = 'urlSlug' AND ownertype = 'object' AND objectId = '490'
Parameters:
[]
0.18 ms
(0.23%)
1
SELECT id FROM ecommerceframework_pricing_rule WHERE active = 1  ORDER BY `prio` ASC
Parameters:
[]
0.16 ms
(0.20%)
1
SELECT * FROM documents_editables WHERE documentId = ?
Parameters:
[
  170
]
0.15 ms
(0.19%)
1
SELECT * FROM object_url_slugs WHERE fieldname = 'urlSlug' AND ownertype = 'object' AND objectId = '139'
Parameters:
[]
0.14 ms
(0.18%)
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 (id IN (138,139))
Parameters:
[]
0.14 ms
(0.17%)
1
SELECT * FROM object_relations_AP WHERE src_id = ?
Parameters:
[
  490
]
0.14 ms
(0.17%)
1
SELECT * FROM ecommerceframework_pricing_rule WHERE id='6'
Parameters:
[]
0.14 ms
(0.17%)
1
SELECT * FROM ecommerceframework_pricing_rule WHERE id='7'
Parameters:
[]
0.14 ms
(0.17%)
1
SELECT * FROM translations_admin LIMIT 1;
Parameters:
[]
0.13 ms
(0.17%)
1
SELECT * FROM object_url_slugs WHERE fieldname = 'urlSlug' AND ownertype = 'object' AND objectId = '138'
Parameters:
[]
0.12 ms
(0.15%)
1
SELECT * FROM ecommerceframework_pricing_rule WHERE id='10'
Parameters:
[]
0.12 ms
(0.15%)
1
SELECT id FROM objects WHERE `path` = BINARY ? AND `key` = BINARY ?
Parameters:
[
  "/Product Data/Accessories/lights/head lights/"
  "citroen-2cv-head lights"
]
0.11 ms
(0.14%)
1
SELECT * FROM ecommerceframework_pricing_rule WHERE id='9'
Parameters:
[]
0.11 ms
(0.13%)
1
SELECT * FROM ecommerceframework_pricing_rule WHERE id='8'
Parameters:
[]
0.10 ms
(0.13%)
1
SELECT id FROM sites ORDER BY (SELECT LENGTH(`path`) FROM documents WHERE documents.id = sites.rootId) DESC
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.