Query Metrics

101 Database Queries
20 Different statements
95.59 ms Query time
0 Invalid entities

Grouped Statements

Show all queries

Time Count Info
68.58 ms
(71.75%)
46
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:
[
  1774045408
  "site_domain_30300bc0940304fd730e2b60171d9c7d"
]
5.67 ms
(5.93%)
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:
[
  1774045408
  "system\x01tags\x01"
  "redirect\x01tags\x01"
  "route\x01tags\x01"
]
3.32 ms
(3.48%)
2
SELECT * FROM documents_editables WHERE documentId = ?
Parameters:
[
  7
]
2.72 ms
(2.84%)
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:
[
  1774045408
  "system\x01tags\x01"
  "site\x01tags\x01"
]
2.62 ms
(2.74%)
4
SELECT customSettings FROM assets WHERE id = ?
Parameters:
[
  205
]
2.19 ms
(2.29%)
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:
[]
1.82 ms
(1.91%)
4
SELECT * FROM assets_image_thumbnail_cache WHERE cid = ?
Parameters:
[
  205
]
1.29 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?page=3"
  "path_query"
  "https://cdvv2.apik-pp.be/fr/news?page=3"
  "entire_uri"
]
1.07 ms
(1.11%)
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:
[
  1774045408
  "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"
]
1.02 ms
(1.07%)
2
SELECT * FROM settings_store WHERE id = ? AND scope = ?
Parameters:
[
  "BUNDLE_INSTALLED__Pimcore\Bundle\SeoBundle\PimcoreSeoBundle"
  "pimcore"
]
0.92 ms
(0.96%)
2
SELECT id FROM documents WHERE `path` = BINARY ? AND `key` = BINARY ?
Parameters:
[
  "/fr/"
  "news"
]
0.76 ms
(0.80%)
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 OFFSET 18
Parameters:
[]
0.73 ms
(0.76%)
1
SELECT * FROM translations_messages LIMIT 1;
Parameters:
[]
0.62 ms
(0.65%)
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.60 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:
[
  1774045408
  "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.50 ms
(0.52%)
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:
[
  1774045408
  "website_config\x01tags\x01"
  "system\x01tags\x01"
  "config\x01tags\x01"
  "output\x01tags\x01"
  "asset_260\x01tags\x01"
]
0.48 ms
(0.50%)
1
SELECT id FROM sites ORDER BY (SELECT LENGTH(`path`) FROM documents WHERE documents.id = sites.rootId) DESC
Parameters:
[]
0.45 ms
(0.47%)
1
SELECT name FROM classes WHERE id = ?
Parameters:
[
  "2"
]
0.18 ms
(0.19%)
1
SELECT * FROM object_url_slugs WHERE slug = '/fr/news' AND siteId = 0 ORDER BY siteId DESC LIMIT 1
Parameters:
[]
0.06 ms
(0.06%)
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.