Query Metrics

538 Database Queries
35 Different statements
122.50 ms Query time
0 Invalid entities

Grouped Statements

Show all queries

Time Count Info
47.78 ms
(39.00%)
250
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:
[
  1776616860
  "site_domain_96214233882cd773138ccd202272d198"
]
11.50 ms
(9.38%)
27
SELECT * FROM documents_editables WHERE documentId = ?
Parameters:
[
  397
]
7.83 ms
(6.39%)
37
SELECT id FROM documents d WHERE parentId = ?  AND published = 1 LIMIT 1
Parameters:
[
  3
]
6.92 ms
(5.65%)
32
SELECT * FROM assets_image_thumbnail_cache WHERE cid = ?
Parameters:
[
  968
]
6.92 ms
(5.65%)
32
SELECT customSettings FROM assets WHERE id = ?
Parameters:
[
  968
]
5.17 ms
(4.22%)
25
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:
[
  1776616860
  "system\x01tags\x01"
  "site\x01tags\x01"
]
4.54 ms
(3.70%)
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:
[
  1776616860
  "system\x01tags\x01"
  "redirect\x01tags\x01"
  "route\x01tags\x01"
]
3.66 ms
(2.99%)
13
SELECT * FROM settings_store WHERE id = ? AND scope = ?
Parameters:
[
  "BUNDLE_INSTALLED__Pimcore\Bundle\SeoBundle\PimcoreSeoBundle"
  "pimcore"
]
2.82 ms
(2.30%)
12
SELECT documents.id, documents.type FROM documents WHERE  (parentId = ?) AND published = 1 ORDER BY `index` ASC
Parameters:
[
  3
]
2.77 ms
(2.26%)
11
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:
[
  1776616860
  "document_324\x01tags\x01"
  "document_257\x01tags\x01"
  "asset_1290\x01tags\x01"
  "asset_1292\x01tags\x01"
  "asset_1286\x01tags\x01"
  "asset_1287\x01tags\x01"
  "asset_1289\x01tags\x01"
  "asset_1291\x01tags\x01"
  "asset_457\x01tags\x01"
]
2.51 ms
(2.05%)
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:
[
  1776616860
  "document_349\x01tags\x01"
  "document_350\x01tags\x01"
  "asset_1180\x01tags\x01"
  "asset_1179\x01tags\x01"
  "asset_447\x01tags\x01"
]
2.42 ms
(1.98%)
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:
[
  1776616860
  "document_344\x01tags\x01"
  "asset_778\x01tags\x01"
  "asset_1300\x01tags\x01"
  "asset_208\x01tags\x01"
  "asset_209\x01tags\x01"
  "asset_207\x01tags\x01"
  "asset_459\x01tags\x01"
]
1.94 ms
(1.58%)
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:
[
  1776616860
  "document_348\x01tags\x01"
  "asset_306\x01tags\x01"
  "asset_310\x01tags\x01"
  "asset_304\x01tags\x01"
  "asset_302\x01tags\x01"
  "asset_301\x01tags\x01"
  "asset_307\x01tags\x01"
  "asset_300\x01tags\x01"
  "asset_308\x01tags\x01"
  "asset_309\x01tags\x01"
  "asset_462\x01tags\x01"
]
1.68 ms
(1.37%)
9
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:
[
  1776616860
  "document_319\x01tags\x01"
  "asset_840\x01tags\x01"
  "asset_1295\x01tags\x01"
  "asset_1294\x01tags\x01"
  "asset_1293\x01tags\x01"
  "asset_467\x01tags\x01"
]
1.34 ms
(1.10%)
8
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:
[
  1776616860
  "document_381\x01tags\x01"
  "asset_726\x01tags\x01"
  "asset_715\x01tags\x01"
  "asset_439\x01tags\x01"
]
1.29 ms
(1.05%)
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/news/actualite/2021-09-23-beat-felber-nouveau-membre-de-la-direction"
  "path"
  "auto_create"
  "/fr/news/actualite/2021-09-23-beat-felber-nouveau-membre-de-la-direction"
  "path_query"
  "https://traveco.a4interactive.ch/fr/news/actualite/2021-09-23-beat-felber-nouveau-membre-de-la-direction"
  "entire_uri"
]
1.17 ms
(0.95%)
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:
[
  1776616860
  "document_357\x01tags\x01"
  "asset_1143\x01tags\x01"
  "asset_751\x01tags\x01"
  "asset_750\x01tags\x01"
  "asset_752\x01tags\x01"
  "asset_746\x01tags\x01"
  "asset_696\x01tags\x01"
  "asset_753\x01tags\x01"
  "asset_729\x01tags\x01"
  "asset_443\x01tags\x01"
]
1.16 ms
(0.95%)
5
SELECT id FROM documents WHERE `path` = BINARY ? AND `key` = BINARY ?
Parameters:
[
  "/fr/news/actualite/"
  "2021-09-23-beat-felber-nouveau-membre-de-la-direction"
]
1.08 ms
(0.88%)
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:
[
  1776616860
  "document_346\x01tags\x01"
  "asset_411\x01tags\x01"
  "asset_306\x01tags\x01"
  "asset_310\x01tags\x01"
  "asset_304\x01tags\x01"
  "asset_302\x01tags\x01"
  "asset_301\x01tags\x01"
  "asset_307\x01tags\x01"
  "asset_300\x01tags\x01"
  "asset_308\x01tags\x01"
  "asset_309\x01tags\x01"
  "asset_462\x01tags\x01"
]
1.01 ms
(0.83%)
3
SELECT *
            FROM website_settings
            WHERE name = ?
                AND (
                    siteId IS NULL
                    OR siteId = 0
                    OR siteId = ?
                )
                AND (
                    language IS NULL
                    OR language = ''
                    OR language = ?
                )
            ORDER BY CONCAT(siteId, language) DESC, siteId DESC, language DESC
Parameters:
[
  "pageNewsList"
  null
  "fr"
]
0.81 ms
(0.66%)
1
SELECT object_11.id as id, object_11.type as `type` FROM object_11 WHERE (pageId = ? AND  object_11.type IN ('object','variant','folder')) AND object_11.published = 1
Parameters:
[
  397
]
0.70 ms
(0.57%)
1
SELECT object_localized_10_fr.id as id, object_localized_10_fr.type as `type` FROM object_localized_10_fr WHERE ((showOnEveryPage = ?) OR (showOnPages LIKE ?) AND  object_localized_10_fr.type IN ('object','variant','folder')) AND object_localized_10_fr.published = 1
Parameters:
[
  1
  ",%document|397%,"
]
0.60 ms
(0.49%)
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:
[
  1776616860
  "document_325\x01tags\x01"
  "asset_1290\x01tags\x01"
  "asset_1292\x01tags\x01"
  "asset_1286\x01tags\x01"
  "asset_1287\x01tags\x01"
  "asset_1289\x01tags\x01"
  "asset_1291\x01tags\x01"
  "asset_457\x01tags\x01"
]
0.58 ms
(0.47%)
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:
[
  1776616860
  "document_425\x01tags\x01"
  "asset_936\x01tags\x01"
  "asset_932\x01tags\x01"
  "asset_928\x01tags\x01"
  "asset_933\x01tags\x01"
  "asset_938\x01tags\x01"
  "asset_935\x01tags\x01"
  "asset_934\x01tags\x01"
  "asset_931\x01tags\x01"
  "asset_930\x01tags\x01"
  "asset_937\x01tags\x01"
  "asset_926\x01tags\x01"
  "asset_929\x01tags\x01"
  "asset_939\x01tags\x01"
]
0.57 ms
(0.47%)
1
SELECT * FROM translations_messages LIMIT 1;
Parameters:
[]
0.54 ms
(0.44%)
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:
[
  1776616860
  "document_416\x01tags\x01"
  "asset_853\x01tags\x01"
  "asset_849\x01tags\x01"
  "asset_846\x01tags\x01"
  "asset_847\x01tags\x01"
  "asset_845\x01tags\x01"
  "asset_854\x01tags\x01"
  "asset_860\x01tags\x01"
  "asset_883\x01tags\x01"
  "asset_899\x01tags\x01"
  "asset_855\x01tags\x01"
  "asset_872\x01tags\x01"
  "asset_871\x01tags\x01"
  "asset_873\x01tags\x01"
  "asset_879\x01tags\x01"
  "asset_880\x01tags\x01"
  "asset_881\x01tags\x01"
  "asset_882\x01tags\x01"
  "asset_856\x01tags\x01"
  "asset_858\x01tags\x01"
  "asset_857\x01tags\x01"
  "asset_862\x01tags\x01"
  "asset_864\x01tags\x01"
  "asset_868\x01tags\x01"
  "asset_867\x01tags\x01"
  "asset_874\x01tags\x01"
  "asset_875\x01tags\x01"
  "asset_890\x01tags\x01"
  "asset_891\x01tags\x01"
  "asset_892\x01tags\x01"
  "asset_897\x01tags\x01"
  "asset_894\x01tags\x01"
  "asset_895\x01tags\x01"
  "asset_896\x01tags\x01"
  "asset_876\x01tags\x01"
  "asset_877\x01tags\x01"
  "asset_878\x01tags\x01"
  "asset_885\x01tags\x01"
  "asset_886\x01tags\x01"
  "asset_887\x01tags\x01"
  "asset_888\x01tags\x01"
  "asset_889\x01tags\x01"
  "asset_900\x01tags\x01"
  "asset_910\x01tags\x01"
  "asset_912\x01tags\x01"
  "asset_911\x01tags\x01"
  "asset_901\x01tags\x01"
  "asset_902\x01tags\x01"
  "asset_903\x01tags\x01"
  "asset_904\x01tags\x01"
  "asset_905\x01tags\x01"
  "asset_906\x01tags\x01"
  "asset_907\x01tags\x01"
  "asset_909\x01tags\x01"
  "asset_915\x01tags\x01"
  "asset_914\x01tags\x01"
  "asset_916\x01tags\x01"
  "asset_917\x01tags\x01"
  "asset_920\x01tags\x01"
  "asset_921\x01tags\x01"
  "asset_922\x01tags\x01"
  "asset_919\x01tags\x01"
  "asset_852\x01tags\x01"
  "asset_859\x01tags\x01"
  "asset_843\x01tags\x01"
]
0.51 ms
(0.41%)
2
SELECT id,language FROM documents_translations WHERE sourceId = ? UNION SELECT sourceId as id,"source" FROM documents_translations WHERE id = ?
Parameters:
[
  397
  397
]
0.50 ms
(0.41%)
3
SELECT * FROM website_settings WHERE id = ?
Parameters:
[
  20
]
0.41 ms
(0.33%)
1
SELECT id FROM sites ORDER BY (SELECT LENGTH(`path`) FROM documents WHERE documents.id = sites.rootId) DESC
Parameters:
[]
0.38 ms
(0.31%)
2
SELECT name FROM classes WHERE id = ?
Parameters:
[
  "7"
]
0.37 ms
(0.30%)
1
SELECT * FROM object_url_slugs WHERE slug = '/fr/news/actualite/2021-09-23-beat-felber-nouveau-membre-de-la-direction' AND siteId = 0 ORDER BY siteId DESC LIMIT 1
Parameters:
[]
0.34 ms
(0.27%)
1
SELECT * FROM tmp_store WHERE id = ?
Parameters:
[
  "maintenance_mode"
]
0.32 ms
(0.26%)
1
SELECT id,language FROM documents_translations WHERE sourceId IN(?, ?) UNION SELECT sourceId as id,"source" FROM documents_translations WHERE id = ?
Parameters:
[
  74
  397
  397
]
0.21 ms
(0.17%)
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:
[
  1776616860
  "document_339\x01tags\x01"
  "document_340\x01tags\x01"
  "asset_592\x01tags\x01"
  "asset_683\x01tags\x01"
  "asset_588\x01tags\x01"
  "asset_590\x01tags\x01"
  "asset_589\x01tags\x01"
  "asset_587\x01tags\x01"
  "asset_591\x01tags\x01"
  "asset_682\x01tags\x01"
  "asset_586\x01tags\x01"
  "asset_593\x01tags\x01"
  "asset_571\x01tags\x01"
]
0.18 ms
(0.15%)
1
SELECT sourceId FROM documents_translations WHERE id = ?
Parameters:
[
  397
]

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.