Query Metrics

285 Database Queries
34 Different statements
108.09 ms Query time
0 Invalid entities

Grouped Statements

Show all queries

Time Count Info
51.32 ms
(47.48%)
137
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:
[
  1773996247
  "site_domain_81e468a3853b6926200e604bbebbba28"
]
17.89 ms
(16.55%)
85
SELECT assets.*, tree_locks.locked FROM assets
            LEFT JOIN tree_locks ON assets.id = tree_locks.id AND tree_locks.type = 'asset'
                WHERE assets.id = ?
Parameters:
[
  567
]
8.65 ms
(8.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:
[
  1773996247
  "object_355\x01tags\x01"
  "class_24\x01tags\x01"
  "asset_669\x01tags\x01"
  "asset_662\x01tags\x01"
  "asset_672\x01tags\x01"
  "asset_665\x01tags\x01"
  "asset_660\x01tags\x01"
  "asset_661\x01tags\x01"
  "asset_670\x01tags\x01"
  "asset_664\x01tags\x01"
  "asset_667\x01tags\x01"
  "asset_666\x01tags\x01"
]
3.84 ms
(3.56%)
4
SELECT id FROM documents WHERE `path` = BINARY ? AND `key` = BINARY ?
Parameters:
[
  "/en/"
  "bespoke"
]
2.38 ms
(2.20%)
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:
[
  1773996248
  "document_2\x01tags\x01"
  "document_1\x01tags\x01"
  "asset_79\x01tags\x01"
  "asset_65\x01tags\x01"
  "asset_67\x01tags\x01"
  "asset_66\x01tags\x01"
  "asset_64\x01tags\x01"
  "asset_34\x01tags\x01"
  "asset_676\x01tags\x01"
  "asset_312\x01tags\x01"
  "asset_268\x01tags\x01"
  "asset_630\x01tags\x01"
  "asset_91\x01tags\x01"
  "asset_80\x01tags\x01"
]
2.37 ms
(2.20%)
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:
[
  1773996247
  "object_352\x01tags\x01"
  "class_24\x01tags\x01"
  "asset_639\x01tags\x01"
  "asset_640\x01tags\x01"
  "asset_643\x01tags\x01"
  "asset_641\x01tags\x01"
  "asset_644\x01tags\x01"
  "asset_642\x01tags\x01"
  "asset_646\x01tags\x01"
  "asset_647\x01tags\x01"
]
1.88 ms
(1.74%)
1
SELECT object_localized_24_en.id as id, object_localized_24_en.type as `type` FROM object_localized_24_en WHERE ( object_localized_24_en.type IN ('object','variant','folder')) AND object_localized_24_en.published = 1 ORDER BY `creationDate` DESC
Parameters:
[]
1.86 ms
(1.72%)
1
SELECT name FROM classes WHERE id = ?
Parameters:
[
  "24"
]
1.79 ms
(1.65%)
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:
[
  1773996247
  "object_351\x01tags\x01"
  "class_24\x01tags\x01"
  "asset_634\x01tags\x01"
  "asset_630\x01tags\x01"
  "asset_636\x01tags\x01"
  "asset_626\x01tags\x01"
  "asset_633\x01tags\x01"
  "asset_624\x01tags\x01"
]
1.61 ms
(1.49%)
1
SELECT id FROM sites ORDER BY (SELECT LENGTH(CONCAT(`path`, `key`)) FROM documents WHERE documents.id = sites.rootId) DESC
Parameters:
[]
1.29 ms
(1.20%)
4
SELECT * FROM object_localized_data_24 WHERE ooo_id = ? AND language IN ('fr','en')
Parameters:
[
  348
]
1.24 ms
(1.15%)
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:
[
  1773996247
  "object_349\x01tags\x01"
  "class_24\x01tags\x01"
  "asset_529\x01tags\x01"
  "asset_530\x01tags\x01"
  "asset_578\x01tags\x01"
  "asset_579\x01tags\x01"
  "asset_577\x01tags\x01"
  "asset_581\x01tags\x01"
  "asset_528\x01tags\x01"
  "asset_582\x01tags\x01"
  "asset_575\x01tags\x01"
  "asset_576\x01tags\x01"
  "asset_580\x01tags\x01"
]
1.06 ms
(0.98%)
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:
[
  "/en/bespoke"
  "path"
  "auto_create"
  "/en/bespoke?page=1"
  "path_query"
  "https://colombe.apik-pp.be/en/bespoke?page=1"
  "entire_uri"
]
0.96 ms
(0.89%)
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:
[
  1773996247
  "system\x01tags\x01"
  "redirect\x01tags\x01"
  "route\x01tags\x01"
]
0.92 ms
(0.85%)
4
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:
[
  348
]
0.85 ms
(0.78%)
4
SELECT * FROM object_relations_24 WHERE src_id = ?
Parameters:
[
  348
]
0.68 ms
(0.63%)
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:
[
  1773996247
  "object_354\x01tags\x01"
  "class_24\x01tags\x01"
  "asset_659\x01tags\x01"
  "asset_652\x01tags\x01"
  "asset_654\x01tags\x01"
  "asset_655\x01tags\x01"
  "asset_653\x01tags\x01"
]
0.63 ms
(0.58%)
4
SELECT * FROM object_store_24 WHERE oo_id = ? FOR UPDATE
Parameters:
[
  348
]
0.62 ms
(0.58%)
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:
[
  1773996247
  "system\x01tags\x01"
  "site\x01tags\x01"
]
0.58 ms
(0.54%)
1
SELECT * FROM assets_image_thumbnail_cache WHERE cid = ?
Parameters:
[
  47
]
0.57 ms
(0.53%)
1
SELECT object_localized_24_en.id as id, object_localized_24_en.type as `type` FROM object_localized_24_en WHERE ( object_localized_24_en.type IN ('object','variant','folder')) AND object_localized_24_en.published = 1 ORDER BY `creationDate` DESC   LIMIT 4
Parameters:
[]
0.53 ms
(0.49%)
1
SELECT * FROM translations_messages LIMIT 1;
Parameters:
[]
0.52 ms
(0.48%)
3
SELECT * FROM settings_store WHERE id = ? AND scope = ?
Parameters:
[
  "BUNDLE_INSTALLED__Pimcore\Bundle\SeoBundle\PimcoreSeoBundle"
  "pimcore"
]
0.50 ms
(0.47%)
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:
[
  1773996247
  "object_353\x01tags\x01"
  "class_24\x01tags\x01"
  "asset_648\x01tags\x01"
  "asset_650\x01tags\x01"
]
0.49 ms
(0.45%)
4
SELECT `type`,`className`,`classId` FROM objects WHERE `id` = ?
Parameters:
[
  348
]
0.49 ms
(0.45%)
1
SELECT COUNT(*) FROM object_localized_24_en WHERE ( object_localized_24_en.type IN ('object','variant','folder')) AND object_localized_24_en.published = 1
Parameters:
[]
0.47 ms
(0.43%)
4
SELECT id,language FROM documents_translations WHERE sourceId = ? UNION SELECT sourceId as id,"source" FROM documents_translations WHERE id = ?
Parameters:
[
  49
  49
]
0.46 ms
(0.43%)
2
SELECT id,language FROM documents_translations WHERE sourceId IN(?, ?) UNION SELECT sourceId as id,"source" FROM documents_translations WHERE id = ?
Parameters:
[
  7
  49
  49
]
0.41 ms
(0.38%)
2
SELECT sourceId FROM documents_translations WHERE id = ?
Parameters:
[
  49
]
0.35 ms
(0.32%)
1
SELECT * FROM object_url_slugs WHERE slug = '/en/bespoke' AND siteId = 0 ORDER BY siteId DESC LIMIT 1
Parameters:
[]
0.32 ms
(0.30%)
1
SELECT customSettings FROM assets WHERE id = ?
Parameters:
[
  47
]
0.27 ms
(0.25%)
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:
[
  1773996248
  "output\x01tags\x01"
  "navigation\x01tags\x01"
  "document_39\x01tags\x01"
  "document_48\x01tags\x01"
  "document_49\x01tags\x01"
  "document_50\x01tags\x01"
  "document_51\x01tags\x01"
  "document_52\x01tags\x01"
  "document_53\x01tags\x01"
  "document_54\x01tags\x01"
  "document_55\x01tags\x01"
  "document_56\x01tags\x01"
  "document_57\x01tags\x01"
  "document_58\x01tags\x01"
  "document_59\x01tags\x01"
  "document_60\x01tags\x01"
]
0.20 ms
(0.18%)
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:
[
  1773996248
  "document_38\x01tags\x01"
  "asset_79\x01tags\x01"
  "asset_65\x01tags\x01"
  "asset_67\x01tags\x01"
  "asset_66\x01tags\x01"
  "asset_64\x01tags\x01"
  "asset_34\x01tags\x01"
  "asset_91\x01tags\x01"
  "asset_80\x01tags\x01"
]
0.07 ms
(0.06%)
1
SELECT * FROM tmp_store WHERE id = ?
Parameters:
[
  "maintenance_mode"
]

Database Connections

Name Service
default doctrine.dbal.default_connection

Entity Managers

There are no configured entity managers.

Second Level Cache

Second Level Cache is not enabled.

Entities Mapping

No mapped entities.