Query Metrics

459 Database Queries
42 Different statements
256.83 ms Query time
0 Invalid entities

Grouped Statements

Show all queries

Time▼ Count Info
131.73 ms
(51.29%)
4
SELECT * FROM object_localized_data_5 WHERE ooo_id = ? AND language IN ('de','fr','it','en')
Parameters:
[
  1566
]
58.08 ms
(22.62%)
188
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:
[
  1791374382
  "site_domain_7bf6016d21876b8e1c5e1ea09988702e"
]
15.09 ms
(5.88%)
58
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:
[
  1791374382
  "system\x01tags\x01"
  "redirect\x01tags\x01"
  "route\x01tags\x01"
]
5.88 ms
(2.29%)
31
SELECT * FROM tmp_store WHERE id = ?
Parameters:
[
  "maintenance_mode"
]
5.23 ms
(2.04%)
32
SELECT * FROM settings_store WHERE id = ? AND scope = ?
Parameters:
[
  "BUNDLE_INSTALLED__Pimcore\Bundle\SeoBundle\PimcoreSeoBundle"
  "pimcore"
]
4.75 ms
(1.85%)
16
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:
[
  1703
]
3.87 ms
(1.51%)
10
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:
[
  1791374383
  "object_1553\x01tags\x01"
  "class_5\x01tags\x01"
  "asset_1675\x01tags\x01"
  "asset_1672\x01tags\x01"
  "asset_1674\x01tags\x01"
  "asset_1670\x01tags\x01"
]
3.65 ms
(1.42%)
3
SELECT COUNT(*) FROM object_localized_5_de WHERE (categories LIKE ? AND  object_localized_5_de.type IN ('object','variant','folder')) AND object_localized_5_de.published = 1
Parameters:
[
  "%103%"
]
3.26 ms
(1.27%)
13
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:
[
  1791374383
  "object_1538\x01tags\x01"
  "class_5\x01tags\x01"
  "asset_1662\x01tags\x01"
  "asset_1651\x01tags\x01"
]
3.15 ms
(1.23%)
16
SELECT * FROM assets_image_thumbnail_cache WHERE cid = ?
Parameters:
[
  542
]
2.05 ms
(0.80%)
8
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:
[
  1566
]
1.70 ms
(0.66%)
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:
[
  1791374382
  "website_config\x01tags\x01"
  "system\x01tags\x01"
  "config\x01tags\x01"
  "output\x01tags\x01"
  "document_58\x01tags\x01"
  "document_202\x01tags\x01"
  "document_42\x01tags\x01"
  "document_38\x01tags\x01"
]
1.50 ms
(0.58%)
8
SELECT customSettings FROM assets WHERE id = ?
Parameters:
[
  542
]
1.44 ms
(0.56%)
1
SELECT object_localized_5_de.id as id, object_localized_5_de.type as `type` FROM object_localized_5_de WHERE (categories LIKE ? AND  object_localized_5_de.type IN ('object','variant','folder')) AND object_localized_5_de.published = 1 ORDER BY `date` DESC
Parameters:
[
  "%103%"
]
1.28 ms
(0.50%)
5
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:
[
  1791374382
  "system\x01tags\x01"
  "site\x01tags\x01"
]
1.23 ms
(0.48%)
8
SELECT `type`,`className`,`classId` FROM objects WHERE `id` = ?
Parameters:
[
  1566
]
1.12 ms
(0.44%)
6
SELECT id FROM documents WHERE `path` = BINARY ? AND `key` = BINARY ?
Parameters:
[
  "/de/"
  "institut"
]
1.01 ms
(0.39%)
4
SELECT * FROM object_relations_5 WHERE src_id = ?
Parameters:
[
  1566
]
0.94 ms
(0.37%)
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/institut"
  "path"
  "auto_create"
  "/de/institut"
  "path_query"
  "https://institut-police.a4interactive.ch/de/institut"
  "entire_uri"
]
0.92 ms
(0.36%)
4
SELECT * FROM object_localized_data_7 WHERE ooo_id = ? AND language IN ('de','fr','it','en')
Parameters:
[
  118
]
0.89 ms
(0.35%)
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:
[
  1791374382
  "output\x01tags\x01"
  "navigation\x01tags\x01"
  "document_197\x01tags\x01"
  "document_53\x01tags\x01"
  "document_17\x01tags\x01"
  "document_19\x01tags\x01"
  "document_29\x01tags\x01"
  "document_31\x01tags\x01"
  "document_13\x01tags\x01"
  "document_135\x01tags\x01"
  "document_50\x01tags\x01"
  "document_136\x01tags\x01"
  "document_137\x01tags\x01"
  "document_14\x01tags\x01"
  "document_132\x01tags\x01"
  "document_133\x01tags\x01"
  "document_134\x01tags\x01"
  "document_138\x01tags\x01"
  "document_139\x01tags\x01"
  "document_15\x01tags\x01"
  "document_18\x01tags\x01"
  "document_143\x01tags\x01"
  "document_20\x01tags\x01"
  "document_51\x01tags\x01"
  "document_32\x01tags\x01"
  "document_52\x01tags\x01"
  "document_34\x01tags\x01"
  "document_35\x01tags\x01"
  "document_36\x01tags\x01"
  "document_37\x01tags\x01"
  "document_185\x01tags\x01"
  "document_184\x01tags\x01"
  "document_176\x01tags\x01"
  "document_170\x01tags\x01"
  "document_192\x01tags\x01"
  "document_215\x01tags\x01"
  "document_211\x01tags\x01"
  "document_33\x01tags\x01"
  "document_38\x01tags\x01"
  "document_42\x01tags\x01"
  "document_208\x01tags\x01"
  "document_55\x01tags\x01"
  "document_57\x01tags\x01"
  "document_58\x01tags\x01"
  "document_56\x01tags\x01"
  "document_41\x01tags\x01"
  "document_54\x01tags\x01"
  "document_160\x01tags\x01"
  "document_171\x01tags\x01"
  "document_165\x01tags\x01"
  "document_164\x01tags\x01"
  "document_39\x01tags\x01"
  "document_172\x01tags\x01"
  "document_179\x01tags\x01"
  "document_178\x01tags\x01"
  "document_201\x01tags\x01"
  "document_4\x01tags\x01"
]
0.77 ms
(0.30%)
4
SELECT * FROM object_store_5 WHERE oo_id = ?
Parameters:
[
  1566
]
0.64 ms
(0.25%)
4
SELECT * FROM object_relations_7 WHERE src_id = ?
Parameters:
[
  118
]
0.63 ms
(0.24%)
3
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:
[
  1791374383
  "object_1444\x01tags\x01"
  "class_5\x01tags\x01"
  "asset_1539\x01tags\x01"
  "asset_1537\x01tags\x01"
  "asset_1538\x01tags\x01"
]
0.58 ms
(0.22%)
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:
[
  1791374383
  "object_1465\x01tags\x01"
  "class_5\x01tags\x01"
  "asset_1609\x01tags\x01"
  "asset_1606\x01tags\x01"
  "asset_1603\x01tags\x01"
  "asset_1610\x01tags\x01"
  "asset_1605\x01tags\x01"
  "asset_1611\x01tags\x01"
  "asset_1608\x01tags\x01"
  "asset_1607\x01tags\x01"
  "asset_1601\x01tags\x01"
]
0.57 ms
(0.22%)
2
SELECT * FROM documents_editables WHERE documentId = ?
Parameters:
[
  13
]
0.57 ms
(0.22%)
3
SELECT name FROM classes WHERE id = ?
Parameters:
[
  "4"
]
0.51 ms
(0.20%)
4
SELECT * FROM object_store_7 WHERE oo_id = ?
Parameters:
[
  118
]
0.48 ms
(0.19%)
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:
[
  1791374383
  "object_920\x01tags\x01"
  "class_5\x01tags\x01"
  "asset_1211\x01tags\x01"
  "asset_1212\x01tags\x01"
  "asset_1209\x01tags\x01"
  "asset_1210\x01tags\x01"
  "asset_1236\x01tags\x01"
  "asset_1237\x01tags\x01"
  "asset_1234\x01tags\x01"
]
0.46 ms
(0.18%)
1
SELECT id FROM sites ORDER BY (SELECT LENGTH(`path`) FROM documents WHERE documents.id = sites.rootId) DESC
Parameters:
[]
0.42 ms
(0.16%)
2
SELECT id FROM settings_store WHERE scope = ?
Parameters:
[
  "pimcore_staticroutes"
]
0.37 ms
(0.14%)
2
SELECT id,language FROM documents_translations WHERE sourceId = ? UNION SELECT sourceId as id,"source" FROM documents_translations WHERE id = ?
Parameters:
[
  60
  60
]
0.31 ms
(0.12%)
1
SELECT * FROM translations_messages LIMIT 1;
Parameters:
[]
0.24 ms
(0.09%)
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:
[
  1791374383
  "object_879\x01tags\x01"
  "class_5\x01tags\x01"
  "asset_1173\x01tags\x01"
  "asset_1171\x01tags\x01"
  "asset_1172\x01tags\x01"
  "asset_1168\x01tags\x01"
  "asset_1174\x01tags\x01"
]
0.24 ms
(0.09%)
1
SELECT * FROM object_url_slugs WHERE slug = '/de/institut' AND siteId = 0 ORDER BY siteId DESC LIMIT 1
Parameters:
[]
0.23 ms
(0.09%)
1
select `videos` from object_store_5 where oo_id  = 1566
Parameters:
[]
0.23 ms
(0.09%)
1
SELECT id,language FROM documents_translations WHERE sourceId IN(?, ?) UNION SELECT sourceId as id,"source" FROM documents_translations WHERE id = ?
Parameters:
[
  13
  13
  13
]
0.21 ms
(0.08%)
1
SELECT sourceId FROM documents_translations WHERE id = ?
Parameters:
[
  13
]
0.18 ms
(0.07%)
1
select `videos` from object_store_5 where oo_id  = 1577
Parameters:
[]
0.16 ms
(0.06%)
1
select `videos` from object_store_5 where oo_id  = 1581
Parameters:
[]
0.14 ms
(0.06%)
1
SELECT id FROM documents_page WHERE prettyUrl = ?
Parameters:
[
  "/en"
]
0.14 ms
(0.06%)
1
select `videos` from object_store_5 where oo_id  = 1578
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.