Query Metrics

27 Database Queries
14 Different statements
6.72 ms Query time
0 Invalid entities

Grouped Statements

Show all queries

Time Count Info
2.87 ms
(42.77%)
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:
[
  1767328607
  "site_domain_53c7a5a7f7303e57b311937f00392d4f"
]
0.63 ms
(9.31%)
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:
[
  "/footer/disclaimer"
  "path"
  "auto_create"
  "/footer/disclaimer"
  "path_query"
  "https://dev.carab.ch/footer/disclaimer"
  "entire_uri"
]
0.41 ms
(6.13%)
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:
[
  1767328607
  "system\x01tags\x01"
  "site\x01tags\x01"
]
0.41 ms
(6.05%)
2
SELECT * FROM settings_store WHERE id = ? AND scope = ?
Parameters:
[
  "BUNDLE_INSTALLED__Pimcore\Bundle\SeoBundle\PimcoreSeoBundle"
  "pimcore"
]
0.40 ms
(5.88%)
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:
[
  1767328607
  "output\x01tags\x01"
  "navigation\x01tags\x01"
  "document_48\x01tags\x01"
  "document_49\x01tags\x01"
  "document_51\x01tags\x01"
  "document_52\x01tags\x01"
  "document_50\x01tags\x01"
  "document_53\x01tags\x01"
  "document_54\x01tags\x01"
  "document_55\x01tags\x01"
  "document_111\x01tags\x01"
  "document_112\x01tags\x01"
  "document_113\x01tags\x01"
  "document_47\x01tags\x01"
  "document_115\x01tags\x01"
  "document_69\x01tags\x01"
  "document_117\x01tags\x01"
  "document_109\x01tags\x01"
  "document_89\x01tags\x01"
  "document_92\x01tags\x01"
  "document_96\x01tags\x01"
  "document_102\x01tags\x01"
  "document_91\x01tags\x01"
  "document_118\x01tags\x01"
]
0.29 ms
(4.32%)
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:
[
  1767328607
  "website_config\x01tags\x01"
  "system\x01tags\x01"
  "config\x01tags\x01"
  "output\x01tags\x01"
  "document_94\x01tags\x01"
  "document_93\x01tags\x01"
  "document_95\x01tags\x01"
  "asset_4\x01tags\x01"
  "document_103\x01tags\x01"
]
0.26 ms
(3.81%)
1
SELECT id FROM sites ORDER BY (SELECT LENGTH(`path`) FROM documents WHERE documents.id = sites.rootId) DESC
Parameters:
[]
0.25 ms
(3.77%)
1
SELECT id FROM documents WHERE `path` = BINARY ? AND `key` = BINARY ?
Parameters:
[
  "/footer/"
  "disclaimer"
]
0.23 ms
(3.39%)
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:
[
  1767328607
  "document_1\x01tags\x01"
  "asset_23040\x01tags\x01"
  "asset_11642\x01tags\x01"
  "asset_23044\x01tags\x01"
  "asset_23041\x01tags\x01"
  "asset_11643\x01tags\x01"
  "asset_23042\x01tags\x01"
]
0.21 ms
(3.17%)
1
SELECT * FROM tmp_store WHERE id = ?
Parameters:
[
  "maintenance_mode"
]
0.20 ms
(2.99%)
1
SELECT * FROM object_url_slugs WHERE slug = '/footer/disclaimer' AND siteId = 0 ORDER BY siteId DESC LIMIT 1
Parameters:
[]
0.20 ms
(2.95%)
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:
[
  1767328607
  "system\x01tags\x01"
  "redirect\x01tags\x01"
  "route\x01tags\x01"
]
0.19 ms
(2.75%)
1
SELECT * FROM assets_image_thumbnail_cache WHERE cid = ?
Parameters:
[
  4
]
0.18 ms
(2.69%)
1
SELECT customSettings FROM assets WHERE id = ?
Parameters:
[
  4
]

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.