Query Metrics

153 Database Queries
29 Different statements
71.46 ms Query time
0 Invalid entities

Grouped Statements

Show all queries

Time▼ Count Info
41.73 ms
(58.39%)
1
SELECT * FROM object_localized_data_5 WHERE ooo_id = ? AND language IN ('de','fr','it','en')
Parameters:
[
  1566
]
13.74 ms
(19.23%)
74
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:
[
  1791381265
  "site_domain_7bf6016d21876b8e1c5e1ea09988702e"
]
1.77 ms
(2.47%)
9
SELECT id FROM documents WHERE `path` = BINARY ? AND `key` = BINARY ?
Parameters:
[
  "/it/attualità/"
  "cas-fuhrung-im-polizeieinsatz-fip-51-nuovi-diplomati-n1465"
]
1.66 ms
(2.33%)
11
SELECT * FROM assets_image_thumbnail_cache WHERE cid = ?
Parameters:
[
  532
]
1.41 ms
(1.97%)
11
SELECT customSettings FROM assets WHERE id = ?
Parameters:
[
  532
]
1.21 ms
(1.69%)
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:
[
  1791381265
  "system\x01tags\x01"
  "redirect\x01tags\x01"
  "route\x01tags\x01"
]
1.13 ms
(1.59%)
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:
[
  1791381265
  "system\x01tags\x01"
  "site\x01tags\x01"
]
0.86 ms
(1.21%)
4
SELECT * FROM documents_editables WHERE documentId = ?
Parameters:
[
  99
]
0.76 ms
(1.07%)
4
SELECT id FROM documents_page WHERE prettyUrl = ?
Parameters:
[
  "/it/attualità/cas-fuhrung-im-polizeieinsatz-fip-51-nuovi-diplomati-n1465"
]
0.73 ms
(1.02%)
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.71 ms
(0.99%)
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à/cas-fuhrung-im-polizeieinsatz-fip-51-nuovi-diplomati-n1465"
  "path"
  "auto_create"
  "/it/attualità/cas-fuhrung-im-polizeieinsatz-fip-51-nuovi-diplomati-n1465"
  "path_query"
  "https://institut-police.a4interactive.ch/it/attualità/cas-fuhrung-im-polizeieinsatz-fip-51-nuovi-diplomati-n1465"
  "entire_uri"
]
0.64 ms
(0.90%)
2
SELECT id FROM settings_store WHERE scope = ?
Parameters:
[
  "pimcore_staticroutes"
]
0.59 ms
(0.83%)
3
SELECT id,language FROM documents_translations WHERE sourceId = ? UNION SELECT sourceId as id,"source" FROM documents_translations WHERE id = ?
Parameters:
[
  65
  65
]
0.52 ms
(0.73%)
2
SELECT * FROM object_relations_5 WHERE src_id = ?
Parameters:
[
  1465
]
0.49 ms
(0.68%)
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:
[
  1791381265
  "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.46 ms
(0.65%)
2
SELECT name FROM classes WHERE id = ?
Parameters:
[
  "5"
]
0.36 ms
(0.50%)
2
SELECT * FROM settings_store WHERE id = ? AND scope = ?
Parameters:
[
  "BUNDLE_INSTALLED__Pimcore\Bundle\SeoBundle\PimcoreSeoBundle"
  "pimcore"
]
0.29 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:
[
  1791381265
  "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.28 ms
(0.39%)
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.27 ms
(0.38%)
1
SELECT * FROM object_url_slugs WHERE slug = '/it/attualità/cas-fuhrung-im-polizeieinsatz-fip-51-nuovi-diplomati-n1465' AND siteId = 0 ORDER BY siteId DESC LIMIT 1
Parameters:
[]
0.27 ms
(0.37%)
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.25 ms
(0.35%)
1
SELECT sourceId FROM documents_translations WHERE id = ?
Parameters:
[
  99
]
0.23 ms
(0.33%)
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:
[
  1791381265
  "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.21 ms
(0.29%)
1
SELECT * FROM translations_messages LIMIT 1;
Parameters:
[]
0.20 ms
(0.29%)
1
SELECT id FROM sites ORDER BY (SELECT LENGTH(`path`) FROM documents WHERE documents.id = sites.rootId) DESC
Parameters:
[]
0.19 ms
(0.27%)
1
select `videos` from object_store_5 where oo_id  = 1566
Parameters:
[]
0.18 ms
(0.25%)
1
SELECT * FROM tmp_store WHERE id = ?
Parameters:
[
  "maintenance_mode"
]
0.16 ms
(0.22%)
1
SELECT `type`,`className`,`classId` FROM objects WHERE `id` = ?
Parameters:
[
  1566
]
0.13 ms
(0.19%)
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.