Query Metrics

53 Database Queries
12 Different statements
9.49 ms Query time
0 Invalid entities

Grouped Statements

Show all queries

Time Count Info
6.25 ms
(65.84%)
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:
[
  1732170569
  [
    "\x00tags\x00site_domain_300f4563941eb52750182ebe3c730004"
    "site_domain_300f4563941eb52750182ebe3c730004"
  ]
]
0.65 ms
(6.85%)
1
SELECT documents.*, tree_locks.locked FROM documents
            LEFT JOIN tree_locks ON documents.id = tree_locks.id AND tree_locks.type = 'document'
                WHERE documents.id = ?
Parameters:
[
  78
]
0.60 ms
(6.33%)
4
SELECT id FROM documents WHERE path = BINARY :path AND `key` = BINARY :key
Parameters:
[
  "key" => "nl"
  "path" => "/happymagnecaps/"
]
0.36 ms
(3.74%)
1
SELECT * FROM redirects WHERE
            (
                (source = :sourcePath AND (`type` = :typePath OR `type` = :typeAuto)) OR
                (source = :sourcePathQuery AND `type` = :typePathQuery) OR
                (source = :sourceEntireUri AND `type` = :typeEntireUri)
            ) AND active = 1 AND regex IS NULL AND (expiry > UNIX_TIMESTAMP() OR expiry IS NULL) AND sourceSite = '1' AND priority = 99 ORDER BY `priority` DESC
Parameters:
[
  "sourcePath" => "/nl"
  "sourcePathQuery" => "/nl"
  "sourceEntireUri" => "https://happymagnecaps.atypic-pp.be/nl"
  "typePath" => "path"
  "typePathQuery" => "path_query"
  "typeEntireUri" => "entire_uri"
  "typeAuto" => "auto_create"
]
0.33 ms
(3.43%)
3
SELECT sourceId FROM documents_translations WHERE id = ?
Parameters:
[
  59
]
0.30 ms
(3.21%)
2
SELECT * FROM documents_editables WHERE documentId = ?
Parameters:
[
  59
]
0.27 ms
(2.80%)
3
SELECT id,language FROM documents_translations WHERE sourceId IN(?, ?) UNION SELECT sourceId as id,"source" FROM documents_translations WHERE id = ?
Parameters:
[
  59
  59
  59
]
0.26 ms
(2.72%)
1
SELECT * FROM translations_messages LIMIT 1;
Parameters:
[]
0.19 ms
(1.98%)
1
SELECT * FROM object_url_slugs WHERE slug = '/nl' AND (siteId = 1 OR siteId = 0) ORDER BY siteId DESC LIMIT 1
Parameters:
[]
0.19 ms
(1.98%)
1
SELECT id FROM sites ORDER BY (SELECT LENGTH(path) FROM documents WHERE documents.id = sites.rootId) DESC
Parameters:
[]
0.06 ms
(0.58%)
1
SELECT * FROM settings_store WHERE id = :id AND scope = :scope
Parameters:
[
  "id" => "reports"
  "scope" => "pimcore"
]
0.05 ms
(0.53%)
1
SELECT id FROM targeting_target_groups UNION SELECT id FROM targeting_rules LIMIT 1
Parameters:
[]

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.