Query Metrics

121 Database Queries
29 Different statements
84.26 ms Query time
0 Invalid entities

Grouped Statements

Show all queries

Time▼ Count Info
57.71 ms
(68.49%)
1
SELECT * FROM object_localized_data_5 WHERE ooo_id = ? AND language IN ('de','fr','it','en')
Parameters:
[
  1566
]
11.71 ms
(13.90%)
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:
[
  1791397400
  "site_domain_7bf6016d21876b8e1c5e1ea09988702e"
]
1.67 ms
(1.98%)
9
SELECT id FROM documents WHERE `path` = BINARY ? AND `key` = BINARY ?
Parameters:
[
  "/it/attualità/"
  "carriere-di-condotta-nella-polizia-comunale--n1541"
]
1.12 ms
(1.33%)
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:
[
  1791397400
  "system\x01tags\x01"
  "site\x01tags\x01"
]
0.99 ms
(1.17%)
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:
[
  1791397400
  "system\x01tags\x01"
  "redirect\x01tags\x01"
  "route\x01tags\x01"
]
0.85 ms
(1.01%)
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:
[
  1791397400
  "object_1541\x01tags\x01"
  "class_5\x01tags\x01"
  "asset_1645\x01tags\x01"
  "asset_1654\x01tags\x01"
]
0.82 ms
(0.97%)
3
SELECT id,language FROM documents_translations WHERE sourceId = ? UNION SELECT sourceId as id,"source" FROM documents_translations WHERE id = ?
Parameters:
[
  65
  65
]
0.81 ms
(0.96%)
2
SELECT id FROM settings_store WHERE scope = ?
Parameters:
[
  "pimcore_staticroutes"
]
0.80 ms
(0.96%)
1
SELECT object_localized_5_it.id as id, object_localized_5_it.type as `type` FROM object_localized_5_it WHERE ( object_localized_5_it.type IN ('object','variant','folder')) AND object_localized_5_it.published = 1 ORDER BY `date` DESC   LIMIT 3
Parameters:
[]
0.75 ms
(0.89%)
3
SELECT * FROM assets_image_thumbnail_cache WHERE cid = ?
Parameters:
[
  532
]
0.70 ms
(0.83%)
4
SELECT * FROM documents_editables WHERE documentId = ?
Parameters:
[
  99
]
0.68 ms
(0.80%)
4
SELECT id FROM documents_page WHERE prettyUrl = ?
Parameters:
[
  "/it/attualità/carriere-di-condotta-nella-polizia-comunale--n1541"
]
0.67 ms
(0.79%)
3
SELECT customSettings FROM assets WHERE id = ?
Parameters:
[
  532
]
0.66 ms
(0.78%)
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:
[
  "/it/attualit%C3%A0/carriere-di-condotta-nella-polizia-comunale--n1541"
  "path"
  "auto_create"
  "/it/attualit%C3%A0/carriere-di-condotta-nella-polizia-comunale--n1541"
  "path_query"
  "https://institut-police.a4interactive.ch/it/attualit%C3%A0/carriere-di-condotta-nella-polizia-comunale--n1541"
  "entire_uri"
]
0.54 ms
(0.64%)
2
SELECT * FROM object_relations_5 WHERE src_id = ?
Parameters:
[
  1541
]
0.48 ms
(0.56%)
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:
[
  1791397400
  "output\x01tags\x01"
  "navigation\x01tags\x01"
  "document_199\x01tags\x01"
  "document_125\x01tags\x01"
  "document_116\x01tags\x01"
  "document_117\x01tags\x01"
  "document_118\x01tags\x01"
  "document_120\x01tags\x01"
  "document_94\x01tags\x01"
  "document_152\x01tags\x01"
  "document_111\x01tags\x01"
  "document_153\x01tags\x01"
  "document_154\x01tags\x01"
  "document_95\x01tags\x01"
  "document_155\x01tags\x01"
  "document_156\x01tags\x01"
  "document_157\x01tags\x01"
  "document_158\x01tags\x01"
  "document_159\x01tags\x01"
  "document_96\x01tags\x01"
  "document_121\x01tags\x01"
  "document_151\x01tags\x01"
  "document_122\x01tags\x01"
  "document_124\x01tags\x01"
  "document_97\x01tags\x01"
  "document_126\x01tags\x01"
  "document_103\x01tags\x01"
  "document_104\x01tags\x01"
  "document_105\x01tags\x01"
  "document_106\x01tags\x01"
  "document_191\x01tags\x01"
  "document_188\x01tags\x01"
  "document_169\x01tags\x01"
  "document_168\x01tags\x01"
  "document_193\x01tags\x01"
  "document_214\x01tags\x01"
  "document_98\x01tags\x01"
  "document_99\x01tags\x01"
  "document_108\x01tags\x01"
  "document_210\x01tags\x01"
  "document_112\x01tags\x01"
  "document_113\x01tags\x01"
  "document_114\x01tags\x01"
  "document_102\x01tags\x01"
  "document_101\x01tags\x01"
  "document_100\x01tags\x01"
  "document_207\x01tags\x01"
  "document_175\x01tags\x01"
  "document_183\x01tags\x01"
  "document_182\x01tags\x01"
  "document_206\x01tags\x01"
]
0.44 ms
(0.52%)
2
SELECT name FROM classes WHERE id = ?
Parameters:
[
  "5"
]
0.34 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:
[
  38
  99
  99
]
0.34 ms
(0.40%)
2
SELECT * FROM settings_store WHERE id = ? AND scope = ?
Parameters:
[
  "BUNDLE_INSTALLED__Pimcore\Bundle\SeoBundle\PimcoreSeoBundle"
  "pimcore"
]
0.32 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:
[
  1791397400
  "website_config\x01tags\x01"
  "system\x01tags\x01"
  "config\x01tags\x01"
  "output\x01tags\x01"
  "document_114\x01tags\x01"
  "document_204\x01tags\x01"
  "document_108\x01tags\x01"
  "document_99\x01tags\x01"
]
0.32 ms
(0.38%)
1
select `videos` from object_store_5 where oo_id  = 1566
Parameters:
[]
0.26 ms
(0.31%)
1
SELECT sourceId FROM documents_translations WHERE id = ?
Parameters:
[
  99
]
0.23 ms
(0.27%)
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:
[
  1566
]
0.22 ms
(0.26%)
1
SELECT id FROM sites ORDER BY (SELECT LENGTH(`path`) FROM documents WHERE documents.id = sites.rootId) DESC
Parameters:
[]
0.19 ms
(0.22%)
1
SELECT * FROM object_url_slugs WHERE slug = '/it/attualit%C3%A0/carriere-di-condotta-nella-polizia-comunale--n1541' AND siteId = 0 ORDER BY siteId DESC LIMIT 1
Parameters:
[]
0.17 ms
(0.21%)
1
SELECT * FROM translations_messages LIMIT 1;
Parameters:
[]
0.17 ms
(0.20%)
1
SELECT * FROM tmp_store WHERE id = ?
Parameters:
[
  "maintenance_mode"
]
0.16 ms
(0.19%)
1
SELECT `type`,`className`,`classId` FROM objects WHERE `id` = ?
Parameters:
[
  1566
]
0.15 ms
(0.17%)
1
SELECT * FROM object_store_5 WHERE oo_id = ?
Parameters:
[
  1566
]

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.