Query Metrics

183 Database Queries
29 Different statements
106.86 ms Query time
0 Invalid entities

Grouped Statements

Show all queries

Time▼ Count Info
58.54 ms
(54.79%)
1
SELECT * FROM object_localized_data_5 WHERE ooo_id = ? AND language IN ('de','fr','it','en')
Parameters:
[
  1566
]
19.12 ms
(17.89%)
66
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:
[
  1791379058
  "site_domain_7bf6016d21876b8e1c5e1ea09988702e"
]
4.73 ms
(4.42%)
26
SELECT * FROM settings_store WHERE id = ? AND scope = ?
Parameters:
[
  "BUNDLE_INSTALLED__Pimcore\Bundle\SeoBundle\PimcoreSeoBundle"
  "pimcore"
]
4.54 ms
(4.24%)
25
SELECT * FROM tmp_store WHERE id = ?
Parameters:
[
  "maintenance_mode"
]
2.52 ms
(2.36%)
9
SELECT id FROM documents WHERE `path` = BINARY ? AND `key` = BINARY ?
Parameters:
[
  "/it/attualità/"
  "sei-nuovi-arrivati-allisp-n920"
]
2.05 ms
(1.92%)
8
SELECT * FROM assets_image_thumbnail_cache WHERE cid = ?
Parameters:
[
  532
]
1.86 ms
(1.74%)
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:
[
  1791379058
  "system\x01tags\x01"
  "site\x01tags\x01"
]
1.82 ms
(1.70%)
8
SELECT customSettings FROM assets WHERE id = ?
Parameters:
[
  532
]
1.46 ms
(1.36%)
4
SELECT * FROM documents_editables WHERE documentId = ?
Parameters:
[
  99
]
0.93 ms
(0.87%)
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:
[
  1791379058
  "system\x01tags\x01"
  "redirect\x01tags\x01"
  "route\x01tags\x01"
]
0.88 ms
(0.83%)
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.88 ms
(0.82%)
4
SELECT id FROM documents_page WHERE prettyUrl = ?
Parameters:
[
  "/it/attualità/sei-nuovi-arrivati-allisp-n920"
]
0.81 ms
(0.75%)
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à/sei-nuovi-arrivati-allisp-n920"
  "path"
  "auto_create"
  "/it/attualità/sei-nuovi-arrivati-allisp-n920"
  "path_query"
  "https://institut-police.a4interactive.ch/it/attualità/sei-nuovi-arrivati-allisp-n920"
  "entire_uri"
]
0.80 ms
(0.75%)
3
SELECT id,language FROM documents_translations WHERE sourceId = ? UNION SELECT sourceId as id,"source" FROM documents_translations WHERE id = ?
Parameters:
[
  65
  65
]
0.75 ms
(0.70%)
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:
[
  1791379058
  "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.72 ms
(0.67%)
2
SELECT * FROM object_relations_5 WHERE src_id = ?
Parameters:
[
  920
]
0.65 ms
(0.61%)
2
SELECT id FROM settings_store WHERE scope = ?
Parameters:
[
  "pimcore_staticroutes"
]
0.48 ms
(0.45%)
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:
[
  1791379058
  "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.40 ms
(0.37%)
1
SELECT * FROM translations_messages LIMIT 1;
Parameters:
[]
0.37 ms
(0.34%)
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.34 ms
(0.32%)
1
SELECT name FROM classes WHERE id = ?
Parameters:
[
  "5"
]
0.34 ms
(0.32%)
1
select `videos` from object_store_5 where oo_id  = 1566
Parameters:
[]
0.32 ms
(0.30%)
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.31 ms
(0.29%)
1
SELECT * FROM object_url_slugs WHERE slug = '/it/attualità/sei-nuovi-arrivati-allisp-n920' AND siteId = 0 ORDER BY siteId DESC LIMIT 1
Parameters:
[]
0.30 ms
(0.28%)
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:
[
  1791379058
  "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.27 ms
(0.26%)
1
SELECT sourceId FROM documents_translations WHERE id = ?
Parameters:
[
  99
]
0.26 ms
(0.24%)
1
SELECT `type`,`className`,`classId` FROM objects WHERE `id` = ?
Parameters:
[
  1566
]
0.24 ms
(0.23%)
1
SELECT id FROM sites ORDER BY (SELECT LENGTH(`path`) FROM documents WHERE documents.id = sites.rootId) DESC
Parameters:
[]
0.18 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.