Query Metrics

139 Database Queries
42 Different statements
70.73 ms Query time
0 Invalid entities
0 Managed entities

Grouped Statements

Show all queries

Time Count Info
19.07 ms
(26.96%)
48
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:
[
  1773713353
  "site_domain_0bec009be5d9a1dcfab1016e676491c8"
]
7.95 ms
(11.24%)
1
SELECT * FROM documents_editables WHERE documentId = ?
Parameters:
[
  418
]
5.17 ms
(7.31%)
12
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:
[
  1773713353
  "system\x01tags\x01"
  "site\x01tags\x01"
]
3.48 ms
(4.92%)
7
SELECT * FROM settings_store WHERE id = ? AND scope = ?
Parameters:
[
  "system_settings"
  "pimcore_system_settings"
]
2.24 ms
(3.16%)
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:
[
  1773713353
  "output\x01tags\x01"
  "navigation\x01tags\x01"
  "document_138\x01tags\x01"
  "document_252\x01tags\x01"
  "document_432\x01tags\x01"
  "document_240\x01tags\x01"
  "document_298\x01tags\x01"
  "document_300\x01tags\x01"
  "document_302\x01tags\x01"
  "document_299\x01tags\x01"
  "document_303\x01tags\x01"
  "document_304\x01tags\x01"
  "document_305\x01tags\x01"
  "document_306\x01tags\x01"
  "document_307\x01tags\x01"
  "document_308\x01tags\x01"
  "document_309\x01tags\x01"
  "document_310\x01tags\x01"
  "document_311\x01tags\x01"
  "document_312\x01tags\x01"
  "document_443\x01tags\x01"
  "document_301\x01tags\x01"
  "document_258\x01tags\x01"
  "document_273\x01tags\x01"
  "document_271\x01tags\x01"
  "document_272\x01tags\x01"
  "document_270\x01tags\x01"
  "document_279\x01tags\x01"
  "document_437\x01tags\x01"
  "document_274\x01tags\x01"
  "document_318\x01tags\x01"
  "document_323\x01tags\x01"
  "document_324\x01tags\x01"
  "document_325\x01tags\x01"
  "document_326\x01tags\x01"
  "document_317\x01tags\x01"
  "document_427\x01tags\x01"
  "document_281\x01tags\x01"
  "document_282\x01tags\x01"
  "document_280\x01tags\x01"
  "document_253\x01tags\x01"
  "document_170\x01tags\x01"
  "document_289\x01tags\x01"
  "document_433\x01tags\x01"
  "document_148\x01tags\x01"
  "document_149\x01tags\x01"
  "document_137\x01tags\x01"
  "document_141\x01tags\x01"
  "document_245\x01tags\x01"
  "document_333\x01tags\x01"
  "document_334\x01tags\x01"
  "document_335\x01tags\x01"
  "document_336\x01tags\x01"
  "document_424\x01tags\x01"
  "document_331\x01tags\x01"
  "document_339\x01tags\x01"
  "document_340\x01tags\x01"
  "document_341\x01tags\x01"
  "document_342\x01tags\x01"
  "document_343\x01tags\x01"
  "document_338\x01tags\x01"
  "document_345\x01tags\x01"
  "document_346\x01tags\x01"
  "document_347\x01tags\x01"
  "document_348\x01tags\x01"
  "document_349\x01tags\x01"
  "document_350\x01tags\x01"
  "document_344\x01tags\x01"
  "document_352\x01tags\x01"
  "document_353\x01tags\x01"
  "document_355\x01tags\x01"
  "document_356\x01tags\x01"
  "document_357\x01tags\x01"
  "document_351\x01tags\x01"
  "document_359\x01tags\x01"
  "document_362\x01tags\x01"
  "document_363\x01tags\x01"
  "document_358\x01tags\x01"
  "document_365\x01tags\x01"
  "document_367\x01tags\x01"
  "document_368\x01tags\x01"
  "document_364\x01tags\x01"
  "document_370\x01tags\x01"
  "document_371\x01tags\x01"
  "document_372\x01tags\x01"
  "document_373\x01tags\x01"
  "document_374\x01tags\x01"
  "document_369\x01tags\x01"
  "document_376\x01tags\x01"
  "document_377\x01tags\x01"
  "document_378\x01tags\x01"
  "document_379\x01tags\x01"
  "document_380\x01tags\x01"
  "document_381\x01tags\x01"
  "document_375\x01tags\x01"
  "document_383\x01tags\x01"
  "document_384\x01tags\x01"
  "document_386\x01tags\x01"
  "document_387\x01tags\x01"
  "document_388\x01tags\x01"
  "document_382\x01tags\x01"
  "document_390\x01tags\x01"
  "document_391\x01tags\x01"
  "document_392\x01tags\x01"
  "document_393\x01tags\x01"
  "document_389\x01tags\x01"
  "document_395\x01tags\x01"
  "document_396\x01tags\x01"
  "document_397\x01tags\x01"
  "document_398\x01tags\x01"
  "document_394\x01tags\x01"
  "document_401\x01tags\x01"
  "document_402\x01tags\x01"
  "document_403\x01tags\x01"
  "document_404\x01tags\x01"
  "document_405\x01tags\x01"
  "document_406\x01tags\x01"
  "document_400\x01tags\x01"
  "document_408\x01tags\x01"
  "document_409\x01tags\x01"
  "document_410\x01tags\x01"
  "document_411\x01tags\x01"
  "document_407\x01tags\x01"
  "document_413\x01tags\x01"
  "document_414\x01tags\x01"
  "document_415\x01tags\x01"
  "document_416\x01tags\x01"
  "document_412\x01tags\x01"
  "document_418\x01tags\x01"
  "document_420\x01tags\x01"
  "document_421\x01tags\x01"
  "document_423\x01tags\x01"
  "document_417\x01tags\x01"
  "document_440\x01tags\x01"
  "document_441\x01tags\x01"
  "document_442\x01tags\x01"
  "document_439\x01tags\x01"
  "document_290\x01tags\x01"
  "document_429\x01tags\x01"
  "document_428\x01tags\x01"
  "document_435\x01tags\x01"
]
2.20 ms
(3.10%)
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:
[
  1773713353
  "system\x01tags\x01"
  "redirect\x01tags\x01"
  "route\x01tags\x01"
]
2.19 ms
(3.10%)
6
SELECT documents.*, tree_locks.locked FROM documents
            LEFT JOIN tree_locks ON documents.id = tree_locks.id AND tree_locks.type = 'document'
                WHERE documents.id = ?
Parameters:
[
  418
]
2.11 ms
(2.98%)
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/Jahrliche-Sicherheitsunterweisung~p27526"
  "path"
  "auto_create"
  "/de/shop/Produkte/Jahrliche-Sicherheitsunterweisung~p27526"
  "path_query"
  "https://cramer-pimcore-demo.xim-test.de/de/shop/Produkte/Jahrliche-Sicherheitsunterweisung~p27526"
  "entire_uri"
]
2.06 ms
(2.91%)
4
SELECT assets.*, tree_locks.locked FROM assets
            LEFT JOIN tree_locks ON assets.id = tree_locks.id AND tree_locks.type = 'asset'
                WHERE assets.id = ?
Parameters:
[
  1367
]
2.00 ms
(2.83%)
5
SELECT * FROM object_metadata_TRAINING WHERE object_metadata_TRAINING.id = ? AND dest_id = ? AND fieldname = ? AND ownertype = ? AND ownername = ? and position = ? and `index` = ?  AND `type` = 'document'
Parameters:
[
  27526
  418
  "content"
  "object"
  ""
  "0"
  1
]
1.98 ms
(2.80%)
5
SELECT id FROM documents WHERE `path` = BINARY ? AND `key` = BINARY ?
Parameters:
[
  "/de/shop/Produkte/"
  "Jahrliche-Sicherheitsunterweisung~p27526"
]
1.82 ms
(2.57%)
4
SELECT * FROM assets_image_thumbnail_cache WHERE cid = ?
Parameters:
[
  1984
]
1.50 ms
(2.13%)
4
SELECT documents.*, documents_page.*, tree_locks.locked FROM documents
            LEFT JOIN documents_page ON documents.id = documents_page.id
            LEFT JOIN tree_locks ON documents.id = tree_locks.id AND tree_locks.type = 'document'
                WHERE documents.id = ?
Parameters:
[
  418
]
1.39 ms
(1.96%)
4
SELECT customSettings FROM assets WHERE id = ?
Parameters:
[
  1984
]
1.34 ms
(1.90%)
2
SELECT * FROM object_metadata_TRAINING WHERE object_metadata_TRAINING.id = ? AND dest_id = ? AND fieldname = ? AND ownertype = ? AND ownername = ? and position = ? and `index` = ?  AND `type` = 'asset'
Parameters:
[
  27526
  1367
  "assets"
  "object"
  ""
  "0"
  1
]
1.33 ms
(1.88%)
4
SELECT name FROM classes WHERE id = ?
Parameters:
[
  "TRAINING"
]
1.27 ms
(1.79%)
1
SELECT object_localized_TRAINING_EVENT_de.id as id, object_localized_TRAINING_EVENT_de.type as `type` FROM object_localized_TRAINING_EVENT_de WHERE ((`training__id` = ? AND `training__type` = ?)  AND  object_localized_TRAINING_EVENT_de.type IN ('object','variant','folder')) AND object_localized_TRAINING_EVENT_de.published = 1 ORDER BY `startDate` ASC
Parameters:
[
  27526
  "object"
]
1.15 ms
(1.63%)
3
SELECT id FROM documents_page WHERE prettyUrl = ?
Parameters:
[
  "/de/shop/Produkte/Jahrliche-Sicherheitsunterweisung~p27526"
]
0.88 ms
(1.24%)
1
SELECT * FROM properties WHERE
                             (
                                 (cid IN (1,417,290,428,136) AND inheritable = 1) OR cid = ?
                             ) AND ctype='document'
Parameters:
[
  418
]
0.78 ms
(1.11%)
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:
[
  1773713353
  "document_136\x01tags\x01"
  "asset_456\x01tags\x01"
  "asset_1069\x01tags\x01"
  "asset_1072\x01tags\x01"
  "asset_1070\x01tags\x01"
  "asset_2039\x01tags\x01"
  "asset_1196\x01tags\x01"
  "asset_1194\x01tags\x01"
  "asset_1195\x01tags\x01"
  "asset_1105\x01tags\x01"
  "asset_1103\x01tags\x01"
  "asset_2341\x01tags\x01"
  "asset_2345\x01tags\x01"
  "asset_2340\x01tags\x01"
  "asset_2344\x01tags\x01"
  "asset_1226\x01tags\x01"
  "asset_1244\x01tags\x01"
  "asset_1227\x01tags\x01"
  "asset_1228\x01tags\x01"
  "asset_1229\x01tags\x01"
  "asset_1223\x01tags\x01"
  "asset_1215\x01tags\x01"
  "asset_1225\x01tags\x01"
]
0.72 ms
(1.02%)
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.56 ms
(0.79%)
1
SELECT * FROM object_url_slugs WHERE fieldname = 'urlSlug' AND ownertype = 'object' AND objectId = '27526'
Parameters:
[]
0.54 ms
(0.77%)
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:
[
  1773713353
  "object_27526\x01tags\x01"
  "class_TRAINING\x01tags\x01"
  "asset_1984\x01tags\x01"
  "asset_1288\x01tags\x01"
  "asset_1668\x01tags\x01"
  "asset_1670\x01tags\x01"
]
0.50 ms
(0.70%)
1
SELECT * FROM object_relations_TRAINING WHERE src_id = ?
Parameters:
[
  27526
]
0.45 ms
(0.63%)
1
SELECT * FROM object_store_TRAINING_EVENT WHERE oo_id = ? FOR UPDATE
Parameters:
[
  27588
]
0.45 ms
(0.63%)
1
SELECT id FROM assets WHERE id IN (1367,1368)
Parameters:
[]
0.41 ms
(0.58%)
1
SELECT * FROM tmp_store WHERE id = ?
Parameters:
[
  "maintenance_mode"
]
0.41 ms
(0.58%)
1
SELECT id FROM documents WHERE published=1 AND id IN (418,419,420,421,423);
Parameters:
[]
0.41 ms
(0.57%)
1
SELECT * FROM website_settings WHERE id = ?
Parameters:
[
  2
]
0.41 ms
(0.57%)
1
SELECT id FROM ecommerceframework_pricing_rule WHERE active = 1  ORDER BY `prio` ASC
Parameters:
[]
0.39 ms
(0.56%)
1
SELECT * FROM object_localized_data_TRAINING_EVENT WHERE ooo_id = ? AND language IN ('en','de','fr')
Parameters:
[
  27588
]
0.39 ms
(0.55%)
1
SELECT * FROM ecommerceframework_pricing_rule WHERE id='10'
Parameters:
[]
0.39 ms
(0.55%)
1
SELECT objects.*, tree_locks.locked as locked FROM objects
            LEFT JOIN tree_locks ON objects.id = tree_locks.id AND tree_locks.type = 'object'
                WHERE objects.id = ?
Parameters:
[
  27588
]
0.38 ms
(0.53%)
1
SELECT * FROM ecommerceframework_pricing_rule WHERE id='9'
Parameters:
[]
0.35 ms
(0.50%)
1
SELECT * FROM ecommerceframework_pricing_rule WHERE id='8'
Parameters:
[]
0.34 ms
(0.49%)
1
SELECT * FROM ecommerceframework_pricing_rule WHERE id='7'
Parameters:
[]
0.34 ms
(0.48%)
1
SELECT id FROM objects WHERE `path` = BINARY ? AND `key` = BINARY ?
Parameters:
[
  "/Product Data/Accessories/lights/head lights/"
  "citroen-2cv-head lights"
]
0.32 ms
(0.45%)
1
SELECT id FROM documents WHERE id IN (418,419,420,421,423)
Parameters:
[]
0.31 ms
(0.44%)
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.39%)
1
SELECT * FROM object_relations_TRAINING_EVENT WHERE src_id = ?
Parameters:
[
  27588
]
0.27 ms
(0.38%)
1
SELECT * FROM translations_messages LIMIT 1;
Parameters:
[]
0.23 ms
(0.32%)
1
SELECT `type`,`className`,`classId` FROM objects WHERE `id` = ?
Parameters:
[
  27588
]

Database Connections

Name Service
default doctrine.dbal.default_connection

Entity Managers

Name Service
pimcore_generic_data_index doctrine.orm.pimcore_generic_data_index_entity_manager

Second Level Cache

Second Level Cache is not enabled.

Managed Entities

pimcore_generic_data_index entity manager

Class Amount of managed objects

Entities Mapping

No loaded entities.