Query Metrics

75 Database Queries
21 Different statements
23.17 ms Query time
0 Invalid entities

Grouped Statements

Show all queries

Time▼ Count Info
9.26 ms
(39.97%)
34
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:
[
  1795101093
  "site_domain_e12d20769a3ab4e22201d9d0bf8c1e05"
]
1.39 ms
(5.99%)
6
SELECT * FROM assets_image_thumbnail_cache WHERE cid = ?
Parameters:
[
  4
]
1.23 ms
(5.33%)
6
SELECT customSettings FROM assets WHERE id = ?
Parameters:
[
  4
]
1.11 ms
(4.80%)
2
SELECT * FROM documents_editables WHERE documentId = ?
Parameters:
[
  1
]
1.06 ms
(4.59%)
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:
[
  "/"
  "path"
  "auto_create"
  "/"
  "path_query"
  "https://swiss-technology-group.a4interactive.ch/"
  "entire_uri"
]
0.85 ms
(3.66%)
2
SELECT * FROM settings_store WHERE id = ? AND scope = ?
Parameters:
[
  "BUNDLE_INSTALLED__Pimcore\Bundle\SeoBundle\PimcoreSeoBundle"
  "pimcore"
]
0.84 ms
(3.62%)
1
SELECT id FROM documents WHERE `path` = BINARY ? AND `key` = BINARY ?
Parameters:
[
  "/"
  ""
]
0.82 ms
(3.54%)
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:
[
  1795101093
  "system\x01tags\x01"
  "redirect\x01tags\x01"
  "route\x01tags\x01"
]
0.73 ms
(3.13%)
1
SELECT * FROM translations_messages LIMIT 1;
Parameters:
[]
0.67 ms
(2.88%)
1
SELECT * FROM object_relations_Hero WHERE src_id = ?
Parameters:
[
  3
]
0.66 ms
(2.87%)
2
SELECT name FROM classes WHERE id = ?
Parameters:
[
  "Video"
]
0.65 ms
(2.82%)
2
SELECT id FROM website_settings
Parameters:
[]
0.64 ms
(2.75%)
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:
[
  1795101093
  "system\x01tags\x01"
  "site\x01tags\x01"
]
0.56 ms
(2.41%)
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:
[
  1795101094
  "document_1\x01tags\x01"
  "asset_4\x01tags\x01"
  "asset_16\x01tags\x01"
  "asset_5\x01tags\x01"
  "asset_15\x01tags\x01"
  "asset_8\x01tags\x01"
  "asset_17\x01tags\x01"
]
0.55 ms
(2.36%)
1
SELECT * FROM tmp_store WHERE id = ?
Parameters:
[
  "maintenance_mode"
]
0.49 ms
(2.13%)
1
SELECT id FROM sites ORDER BY (SELECT LENGTH(`path`) FROM documents WHERE documents.id = sites.rootId) DESC
Parameters:
[]
0.45 ms
(1.92%)
1
SELECT * FROM object_url_slugs WHERE slug = '/' AND siteId = 0 ORDER BY siteId DESC LIMIT 1
Parameters:
[]
0.40 ms
(1.75%)
1
SELECT sourceId FROM documents_translations WHERE id = ?
Parameters:
[
  1
]
0.40 ms
(1.73%)
1
SELECT id,language FROM documents_translations WHERE sourceId IN(?, ?) UNION SELECT sourceId as id,"source" FROM documents_translations WHERE id = ?
Parameters:
[
  1
  1
  1
]
0.22 ms
(0.97%)
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:
[
  1795101094
  "output\x01tags\x01"
  "navigation\x01tags\x01"
  "document_4\x01tags\x01"
  "document_5\x01tags\x01"
  "document_6\x01tags\x01"
  "document_8\x01tags\x01"
]
0.18 ms
(0.76%)
1
SELECT id,language FROM documents_translations WHERE sourceId = ? UNION SELECT sourceId as id,"source" FROM documents_translations WHERE id = ?
Parameters:
[
  10
  10
]

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.