Query Metrics

227 Database Queries
25 Different statements
170.82 ms Query time
0 Invalid entities

Grouped Statements

Show all queries

Time▼ Count Info
94.01 ms
(55.03%)
91
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:
[
  1791376896
  "site_domain_7bf6016d21876b8e1c5e1ea09988702e"
]
9.90 ms
(5.80%)
17
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:
[
  1791376896
  "system\x01tags\x01"
  "site\x01tags\x01"
]
8.03 ms
(4.70%)
1
SELECT id FROM sites ORDER BY (SELECT LENGTH(`path`) FROM documents WHERE documents.id = sites.rootId) DESC
Parameters:
[]
7.67 ms
(4.49%)
18
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:
[
  1791376896
  "object_1495\x01tags\x01"
  "class_19\x01tags\x01"
  "document_19\x01tags\x01"
  "document_83\x01tags\x01"
  "document_117\x01tags\x01"
]
5.70 ms
(3.34%)
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:
[
  1791376896
  "system\x01tags\x01"
  "redirect\x01tags\x01"
  "route\x01tags\x01"
]
5.25 ms
(3.07%)
1
SELECT * FROM translations_messages LIMIT 1;
Parameters:
[]
5.16 ms
(3.02%)
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:
[
  1791376896
  "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"
]
4.57 ms
(2.68%)
9
SELECT * FROM tmp_store WHERE id = ?
Parameters:
[
  "maintenance_mode"
]
4.30 ms
(2.52%)
10
SELECT * FROM object_relations_19 WHERE src_id = ?
Parameters:
[
  1495
]
3.85 ms
(2.25%)
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:
[
  1791376896
  "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"
]
3.18 ms
(1.86%)
4
SELECT * FROM documents_editables WHERE documentId = ?
Parameters:
[
  199
]
2.83 ms
(1.66%)
4
DELETE FROM tmp_store WHERE id = ?
Parameters:
[
  "thumb_877__4329af4a6ce8b9d60d5bf5dcec8e6eab"
]
2.80 ms
(1.64%)
10
SELECT * FROM assets_image_thumbnail_cache WHERE cid = ?
Parameters:
[
  311
]
2.56 ms
(1.50%)
10
SELECT * FROM settings_store WHERE id = ? AND scope = ?
Parameters:
[
  "BUNDLE_INSTALLED__Pimcore\Bundle\SeoBundle\PimcoreSeoBundle"
  "pimcore"
]
2.35 ms
(1.37%)
10
SELECT customSettings FROM assets WHERE id = ?
Parameters:
[
  311
]
1.66 ms
(0.97%)
6
SELECT id FROM documents WHERE `path` = BINARY ? AND `key` = BINARY ?
Parameters:
[
  "/it/istituto/"
  "organizzazione"
]
1.64 ms
(0.96%)
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:
[
  1791376896
  "object_1516\x01tags\x01"
  "class_19\x01tags\x01"
  "document_83\x01tags\x01"
  "document_117\x01tags\x01"
]
1.62 ms
(0.95%)
4
INSERT INTO tmp_store (`id`, `data`, `tag`, `date`, `expiryDate`, `serialized`) VALUES (?, ?, ?, ?, ?, ?)
Parameters:
[
  "thumb_877__4329af4a6ce8b9d60d5bf5dcec8e6eab"
  "O:42:"Pimcore\Model\Asset\Image\Thumbnail\Config":16:{s:8:"\x00*\x00items";a:1:{i:0;a:2:{s:6:"method";s:6:"resize";s:9:"arguments";a:2:{s:5:"width";s:3:"300";s:6:"height";s:3:"300";}}}s:9:"\x00*\x00medias";a:0:{}s:7:"\x00*\x00name";s:38:"_auto_221bd0aa97579b2479a7630e863f505c";s:14:"\x00*\x00description";s:0:"";s:8:"\x00*\x00group";s:0:"";s:9:"\x00*\x00format";s:6:"SOURCE";s:10:"\x00*\x00quality";i:85;s:17:"\x00*\x00highResolution";N;s:16:"\x00*\x00preserveColor";b:0;s:19:"\x00*\x00preserveMetaData";b:0;s:15:"\x00*\x00rasterizeSVG";b:0;s:15:"\x00*\x00downloadable";b:0;s:19:"\x00*\x00modificationDate";N;s:15:"\x00*\x00creationDate";N;s:17:"\x00*\x00filenameSuffix";N;s:20:"\x00*\x00preserveAnimation";b:0;}"
  "thumbnail_deferred"
  1791376897
  1791981697
  1
]
0.98 ms
(0.57%)
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/istituto/organizzazione"
  "path"
  "auto_create"
  "/it/istituto/organizzazione"
  "path_query"
  "https://institut-police.a4interactive.ch/it/istituto/organizzazione"
  "entire_uri"
]
0.93 ms
(0.54%)
4
SELECT name FROM classes WHERE id = ?
Parameters:
[
  "19"
]
0.82 ms
(0.48%)
3
SELECT id,language FROM documents_translations WHERE sourceId = ? UNION SELECT sourceId as id,"source" FROM documents_translations WHERE id = ?
Parameters:
[
  198
  198
]
0.33 ms
(0.19%)
1
SELECT id,language FROM documents_translations WHERE sourceId IN(?, ?) UNION SELECT sourceId as id,"source" FROM documents_translations WHERE id = ?
Parameters:
[
  197
  199
  199
]
0.25 ms
(0.15%)
1
SELECT * FROM object_url_slugs WHERE slug = '/it/istituto/organizzazione' AND siteId = 0 ORDER BY siteId DESC LIMIT 1
Parameters:
[]
0.24 ms
(0.14%)
1
SELECT sourceId FROM documents_translations WHERE id = ?
Parameters:
[
  199
]
0.23 ms
(0.13%)
1
SELECT id FROM documents_page WHERE prettyUrl = ?
Parameters:
[
  "/en"
]

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.