Query Metrics

476 Database Queries
42 Different statements
124.10 ms Query time
0 Invalid entities

Grouped Statements

Show all queries

Time▼ Count Info
56.23 ms
(45.31%)
4
SELECT * FROM object_localized_data_5 WHERE ooo_id = ? AND language IN ('de','fr','it','en')
Parameters:
[
  1566
]
26.91 ms
(21.69%)
200
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:
[
  1791374386
  "site_domain_7bf6016d21876b8e1c5e1ea09988702e"
]
7.85 ms
(6.32%)
59
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:
[
  1791374386
  "system\x01tags\x01"
  "redirect\x01tags\x01"
  "route\x01tags\x01"
]
3.40 ms
(2.74%)
32
SELECT * FROM settings_store WHERE id = ? AND scope = ?
Parameters:
[
  "BUNDLE_INSTALLED__Pimcore\Bundle\SeoBundle\PimcoreSeoBundle"
  "pimcore"
]
3.10 ms
(2.50%)
31
SELECT * FROM tmp_store WHERE id = ?
Parameters:
[
  "maintenance_mode"
]
2.64 ms
(2.13%)
3
SELECT COUNT(*) FROM object_localized_5_fr WHERE (categories LIKE ? AND  object_localized_5_fr.type IN ('object','variant','folder')) AND object_localized_5_fr.published = 1
Parameters:
[
  "%103%"
]
2.29 ms
(1.85%)
16
SELECT * FROM assets_image_thumbnail_cache WHERE cid = ?
Parameters:
[
  542
]
2.25 ms
(1.81%)
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
]
1.69 ms
(1.37%)
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:
[
  1791374386
  "object_1538\x01tags\x01"
  "class_5\x01tags\x01"
  "asset_1662\x01tags\x01"
  "asset_1651\x01tags\x01"
]
1.41 ms
(1.14%)
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:
[
  1791374386
  "object_1553\x01tags\x01"
  "class_5\x01tags\x01"
  "asset_1675\x01tags\x01"
  "asset_1672\x01tags\x01"
  "asset_1674\x01tags\x01"
  "asset_1670\x01tags\x01"
]
1.31 ms
(1.06%)
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.26 ms
(1.01%)
1
SELECT object_localized_5_fr.id as id, object_localized_5_fr.type as `type` FROM object_localized_5_fr WHERE (categories LIKE ? AND  object_localized_5_fr.type IN ('object','variant','folder')) AND object_localized_5_fr.published = 1 ORDER BY `date` DESC
Parameters:
[
  "%103%"
]
1.17 ms
(0.94%)
8
SELECT customSettings FROM assets WHERE id = ?
Parameters:
[
  542
]
1.13 ms
(0.91%)
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:
[
  1791374386
  "system\x01tags\x01"
  "site\x01tags\x01"
]
0.96 ms
(0.77%)
6
SELECT id FROM documents WHERE `path` = BINARY ? AND `key` = BINARY ?
Parameters:
[
  "/fr/"
  "institut"
]
0.91 ms
(0.73%)
4
SELECT * FROM documents_editables WHERE documentId = ?
Parameters:
[
  60
]
0.90 ms
(0.73%)
8
SELECT `type`,`className`,`classId` FROM objects WHERE `id` = ?
Parameters:
[
  1566
]
0.72 ms
(0.58%)
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:
[
  "/fr/institut"
  "path"
  "auto_create"
  "/fr/institut"
  "path_query"
  "https://institut-police.a4interactive.ch/fr/institut"
  "entire_uri"
]
0.72 ms
(0.58%)
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:
[
  1791374386
  "website_config\x01tags\x01"
  "system\x01tags\x01"
  "config\x01tags\x01"
  "output\x01tags\x01"
  "document_80\x01tags\x01"
  "document_203\x01tags\x01"
  "document_74\x01tags\x01"
  "document_65\x01tags\x01"
]
0.72 ms
(0.58%)
4
SELECT * FROM object_localized_data_7 WHERE ooo_id = ? AND language IN ('de','fr','it','en')
Parameters:
[
  118
]
0.65 ms
(0.52%)
4
SELECT * FROM object_relations_5 WHERE src_id = ?
Parameters:
[
  1566
]
0.60 ms
(0.49%)
3
SELECT id,language FROM documents_translations WHERE sourceId = ? UNION SELECT sourceId as id,"source" FROM documents_translations WHERE id = ?
Parameters:
[
  60
  60
]
0.54 ms
(0.44%)
4
SELECT * FROM object_relations_7 WHERE src_id = ?
Parameters:
[
  118
]
0.50 ms
(0.41%)
3
SELECT name FROM classes WHERE id = ?
Parameters:
[
  "4"
]
0.45 ms
(0.37%)
4
SELECT * FROM object_store_7 WHERE oo_id = ?
Parameters:
[
  118
]
0.43 ms
(0.35%)
4
SELECT * FROM object_store_5 WHERE oo_id = ?
Parameters:
[
  1566
]
0.40 ms
(0.32%)
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:
[
  1791374386
  "output\x01tags\x01"
  "navigation\x01tags\x01"
  "document_198\x01tags\x01"
  "document_91\x01tags\x01"
  "document_82\x01tags\x01"
  "document_83\x01tags\x01"
  "document_84\x01tags\x01"
  "document_86\x01tags\x01"
  "document_60\x01tags\x01"
  "document_140\x01tags\x01"
  "document_77\x01tags\x01"
  "document_141\x01tags\x01"
  "document_142\x01tags\x01"
  "document_61\x01tags\x01"
  "document_144\x01tags\x01"
  "document_145\x01tags\x01"
  "document_146\x01tags\x01"
  "document_147\x01tags\x01"
  "document_148\x01tags\x01"
  "document_62\x01tags\x01"
  "document_87\x01tags\x01"
  "document_149\x01tags\x01"
  "document_88\x01tags\x01"
  "document_90\x01tags\x01"
  "document_63\x01tags\x01"
  "document_92\x01tags\x01"
  "document_69\x01tags\x01"
  "document_70\x01tags\x01"
  "document_71\x01tags\x01"
  "document_72\x01tags\x01"
  "document_190\x01tags\x01"
  "document_186\x01tags\x01"
  "document_167\x01tags\x01"
  "document_166\x01tags\x01"
  "document_194\x01tags\x01"
  "document_213\x01tags\x01"
  "document_64\x01tags\x01"
  "document_65\x01tags\x01"
  "document_74\x01tags\x01"
  "document_209\x01tags\x01"
  "document_78\x01tags\x01"
  "document_79\x01tags\x01"
  "document_80\x01tags\x01"
  "document_68\x01tags\x01"
  "document_67\x01tags\x01"
  "document_66\x01tags\x01"
  "document_161\x01tags\x01"
  "document_173\x01tags\x01"
  "document_181\x01tags\x01"
  "document_180\x01tags\x01"
  "document_205\x01tags\x01"
]
0.40 ms
(0.32%)
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:
[
  1791374386
  "object_1444\x01tags\x01"
  "class_5\x01tags\x01"
  "asset_1539\x01tags\x01"
  "asset_1537\x01tags\x01"
  "asset_1538\x01tags\x01"
]
0.36 ms
(0.29%)
2
SELECT id FROM settings_store WHERE scope = ?
Parameters:
[
  "pimcore_staticroutes"
]
0.28 ms
(0.23%)
1
select `videos` from object_store_5 where oo_id  = 1566
Parameters:
[]
0.25 ms
(0.20%)
1
SELECT id,language FROM documents_translations WHERE sourceId IN(?, ?) UNION SELECT sourceId as id,"source" FROM documents_translations WHERE id = ?
Parameters:
[
  13
  60
  60
]
0.24 ms
(0.19%)
1
SELECT * FROM translations_messages LIMIT 1;
Parameters:
[]
0.19 ms
(0.15%)
1
SELECT sourceId FROM documents_translations WHERE id = ?
Parameters:
[
  60
]
0.18 ms
(0.15%)
1
SELECT id FROM sites ORDER BY (SELECT LENGTH(`path`) FROM documents WHERE documents.id = sites.rootId) DESC
Parameters:
[]
0.16 ms
(0.13%)
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:
[
  1791374386
  "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.15 ms
(0.12%)
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:
[
  1791374386
  "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.15 ms
(0.12%)
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:
[
  1791374386
  "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.14 ms
(0.11%)
1
SELECT * FROM object_url_slugs WHERE slug = '/fr/institut' AND siteId = 0 ORDER BY siteId DESC LIMIT 1
Parameters:
[]
0.14 ms
(0.11%)
1
SELECT id FROM documents_page WHERE prettyUrl = ?
Parameters:
[
  "/en"
]
0.10 ms
(0.08%)
1
select `videos` from object_store_5 where oo_id  = 1577
Parameters:
[]
0.10 ms
(0.08%)
1
select `videos` from object_store_5 where oo_id  = 1581
Parameters:
[]
0.09 ms
(0.07%)
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.