Query Metrics

25 Database Queries
13 Different statements
7.48 ms Query time
0 Invalid entities

Queries

Group similar statements

# Time Info
1 0.46 ms
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 = '3' AND priority = 99 ORDER BY `priority` DESC
Parameters:
[
  "sourcePath" => "/en/kuhn-world/press/KUHN-Aktuell-47/2025_ptd_5489"
  "sourcePathQuery" => "/en/kuhn-world/press/KUHN-Aktuell-47/2025_ptd_5489"
  "sourceEntireUri" => "https://kuhn-ch.roromedia.at/en/kuhn-world/press/KUHN-Aktuell-47/2025_ptd_5489"
  "typePath" => "path"
  "typePathQuery" => "path_query"
  "typeEntireUri" => "entire_uri"
  "typeAuto" => "auto_create"
]
2 0.17 ms
SELECT * FROM settings_store WHERE id = :id AND scope = :scope
Parameters:
[
  "id" => "reports"
  "scope" => "pimcore"
]
3 0.16 ms
SELECT id FROM documents WHERE path = BINARY :path AND `key` = BINARY :key
Parameters:
[
  "key" => "2025_ptd_5489"
  "path" => "/schweiz/en/kuhn-world/press/KUHN-Aktuell-47/"
]
4 0.13 ms
SELECT id FROM documents_page WHERE prettyUrl = :prettyUrl
Parameters:
[
  "prettyUrl" => "/schweiz/en/kuhn-world/press/KUHN-Aktuell-47/2025_ptd_5489"
]
5 0.23 ms
SELECT documents.id FROM documents
            LEFT JOIN documents_page ON documents.id = documents_page.id
            WHERE documents.path LIKE ? AND documents_page.prettyUrl = ?
Parameters:
[
  "/schweiz/%"
  "/en/kuhn-world/press/KUHN-Aktuell-47/2025_ptd_5489"
]
6 0.17 ms
SELECT id FROM documents WHERE path = BINARY :path AND `key` = BINARY :key
Parameters:
[
  "key" => "KUHN-Aktuell-47"
  "path" => "/schweiz/en/kuhn-world/press/"
]
7 0.13 ms
SELECT id FROM documents_page WHERE prettyUrl = :prettyUrl
Parameters:
[
  "prettyUrl" => "/schweiz/en/kuhn-world/press/KUHN-Aktuell-47"
]
8 0.22 ms
SELECT documents.id FROM documents
            LEFT JOIN documents_page ON documents.id = documents_page.id
            WHERE documents.path LIKE ? AND documents_page.prettyUrl = ?
Parameters:
[
  "/schweiz/%"
  "/en/kuhn-world/press/KUHN-Aktuell-47"
]
9 0.17 ms
SELECT id FROM documents WHERE path = BINARY :path AND `key` = BINARY :key
Parameters:
[
  "key" => "press"
  "path" => "/schweiz/en/kuhn-world/"
]
10 0.19 ms
SELECT id FROM targeting_target_groups UNION SELECT id FROM targeting_rules LIMIT 1
Parameters:
[]
11 0.43 ms
SELECT name FROM classes WHERE id = ?
Parameters:
[
  "EPBConfig"
]
12 0.22 ms
SELECT name FROM classes WHERE id = ?
Parameters:
[
  "EPBText"
]
13 0.20 ms
SELECT * FROM translations_messages LIMIT 1;
Parameters:
[]
14 1.06 ms
SELECT * FROM documents_editables WHERE documentId = ?
Parameters:
[
  15152
]
15 0.38 ms
SELECT * FROM documents_editables WHERE documentId = ?
Parameters:
[
  2493
]
16 0.75 ms
SELECT id FROM sites ORDER BY (SELECT LENGTH(path) FROM documents WHERE documents.id = sites.rootId) DESC
Parameters:
[]
17 0.18 ms
SELECT name FROM classes WHERE id = ?
Parameters:
[
  "SiteConfig"
]
18 0.75 ms
SELECT sourceId FROM documents_translations WHERE id = ?
Parameters:
[
  15142
]
19 0.43 ms
SELECT id,language FROM documents_translations WHERE sourceId IN(?, ?) UNION SELECT sourceId as id,"source" FROM documents_translations WHERE id = ?
Parameters:
[
  2477
  15142
  15142
]
20 0.18 ms
SELECT id,language FROM documents_translations WHERE sourceId = ? UNION SELECT sourceId as id,"source" FROM documents_translations WHERE id = ?
Parameters:
[
  15142
  15142
]
21 0.15 ms
SELECT id,language FROM documents_translations WHERE sourceId = ? UNION SELECT sourceId as id,"source" FROM documents_translations WHERE id = ?
Parameters:
[
  16030
  16030
]
22 0.15 ms
SELECT id,language FROM documents_translations WHERE sourceId = ? UNION SELECT sourceId as id,"source" FROM documents_translations WHERE id = ?
Parameters:
[
  16268
  16268
]
23 0.15 ms
SELECT id,language FROM documents_translations WHERE sourceId = ? UNION SELECT sourceId as id,"source" FROM documents_translations WHERE id = ?
Parameters:
[
  2477
  2477
]
24 0.26 ms
SELECT * FROM documents_editables WHERE documentId = ?
Parameters:
[
  15151
]
25 0.17 ms
SELECT * FROM documents_editables WHERE documentId = ?
Parameters:
[
  2492
]

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.