Query Metrics

119 Database Queries
22 Different statements
76.15 ms Query time
0 Invalid entities

Grouped Statements

Show all queries

Time Count Info
23.36 ms
(30.68%)
47
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:
[
  1774038642
  "site_domain_30300bc0940304fd730e2b60171d9c7d"
]
13.03 ms
(17.12%)
1
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:
[
  346
]
7.70 ms
(10.11%)
11
SELECT customSettings FROM assets WHERE id = ?
Parameters:
[
  205
]
5.65 ms
(7.42%)
21
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:
[
  1774038642
  "system\x01tags\x01"
  "redirect\x01tags\x01"
  "route\x01tags\x01"
]
4.12 ms
(5.41%)
1
SELECT * FROM translations_messages LIMIT 1;
Parameters:
[]
4.12 ms
(5.41%)
1
SELECT * FROM assets_metadata WHERE cid = ?
Parameters:
[
  346
]
3.72 ms
(4.88%)
12
SELECT * FROM assets_image_thumbnail_cache WHERE cid = ?
Parameters:
[
  205
]
3.16 ms
(4.15%)
2
SELECT id FROM documents WHERE `path` = BINARY ? AND `key` = BINARY ?
Parameters:
[
  "/fr/"
  "news"
]
2.71 ms
(3.56%)
1
SELECT object_localized_2_fr.id as id, object_localized_2_fr.type as `type` FROM object_localized_2_fr WHERE (date IS NULL OR date <= UNIX_TIMESTAMP(NOW()) AND  object_localized_2_fr.type IN ('object','variant','folder')) AND object_localized_2_fr.published = 1 ORDER BY `date` DESC
Parameters:
[]
2.04 ms
(2.68%)
7
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:
[
  1774038642
  "system\x01tags\x01"
  "site\x01tags\x01"
]
1.37 ms
(1.80%)
2
SELECT * FROM documents_editables WHERE documentId = ?
Parameters:
[
  7
]
1.03 ms
(1.35%)
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"
  "path"
  "auto_create"
  "/fr/news"
  "path_query"
  "https://cdvv2.apik-pp.be/fr/news"
  "entire_uri"
]
0.69 ms
(0.91%)
1
SELECT object_localized_2_fr.id as id, object_localized_2_fr.type as `type` FROM object_localized_2_fr WHERE (date IS NULL OR date <= UNIX_TIMESTAMP(NOW()) AND  object_localized_2_fr.type IN ('object','variant','folder')) AND object_localized_2_fr.published = 1 ORDER BY `date` DESC   LIMIT 9
Parameters:
[]
0.54 ms
(0.71%)
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:
[
  1774038642
  "document_1\x01tags\x01"
  "asset_232\x01tags\x01"
  "asset_237\x01tags\x01"
  "asset_214\x01tags\x01"
  "asset_301\x01tags\x01"
  "asset_261\x01tags\x01"
  "asset_215\x01tags\x01"
]
0.50 ms
(0.66%)
1
SELECT COUNT(*) FROM object_localized_2_fr WHERE (date IS NULL OR date <= UNIX_TIMESTAMP(NOW()) AND  object_localized_2_fr.type IN ('object','variant','folder')) AND object_localized_2_fr.published = 1
Parameters:
[]
0.47 ms
(0.62%)
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:
[
  1774038642
  "website_config\x01tags\x01"
  "system\x01tags\x01"
  "config\x01tags\x01"
  "output\x01tags\x01"
  "asset_260\x01tags\x01"
]
0.43 ms
(0.57%)
1
SELECT id FROM sites ORDER BY (SELECT LENGTH(`path`) FROM documents WHERE documents.id = sites.rootId) DESC
Parameters:
[]
0.40 ms
(0.52%)
1
SELECT name FROM classes WHERE id = ?
Parameters:
[
  "2"
]
0.37 ms
(0.48%)
1
SELECT * FROM object_url_slugs WHERE slug = '/fr/news' AND siteId = 0 ORDER BY siteId DESC LIMIT 1
Parameters:
[]
0.35 ms
(0.46%)
2
SELECT * FROM settings_store WHERE id = ? AND scope = ?
Parameters:
[
  "BUNDLE_INSTALLED__Pimcore\Bundle\SeoBundle\PimcoreSeoBundle"
  "pimcore"
]
0.33 ms
(0.43%)
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:
[
  1774038642
  "output\x01tags\x01"
  "navigation\x01tags\x01"
  "document_5\x01tags\x01"
  "document_6\x01tags\x01"
  "document_8\x01tags\x01"
  "document_10\x01tags\x01"
  "document_12\x01tags\x01"
  "document_3\x01tags\x01"
  "document_7\x01tags\x01"
  "document_11\x01tags\x01"
  "document_15\x01tags\x01"
  "document_16\x01tags\x01"
  "document_17\x01tags\x01"
  "document_26\x01tags\x01"
]
0.06 ms
(0.07%)
1
SELECT * FROM tmp_store WHERE id = ?
Parameters:
[
  "maintenance_mode"
]

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.