Query Metrics

35 Database Queries
17 Different statements
5.80 ms Query time
0 Invalid entities

Queries

Group similar statements

# Time Info
1 0.48 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/locations"
  "sourcePathQuery" => "/en/kuhn-world/locations"
  "sourceEntireUri" => "https://kuhn-ch.roromedia.at/en/kuhn-world/locations"
  "typePath" => "path"
  "typePathQuery" => "path_query"
  "typeEntireUri" => "entire_uri"
  "typeAuto" => "auto_create"
]
2 0.26 ms
SELECT * FROM settings_store WHERE id = :id AND scope = :scope
Parameters:
[
  "id" => "reports"
  "scope" => "pimcore"
]
3 0.18 ms
SELECT id FROM documents WHERE path = BINARY :path AND `key` = BINARY :key
Parameters:
[
  "key" => "locations"
  "path" => "/schweiz/en/kuhn-world/"
]
4 0.31 ms
SELECT id FROM sites ORDER BY (SELECT LENGTH(path) FROM documents WHERE documents.id = sites.rootId) DESC
Parameters:
[]
5 0.20 ms
SELECT * FROM object_url_slugs WHERE slug = '/en/kuhn-world/locations' AND (siteId = 3 OR siteId = 0) ORDER BY siteId DESC LIMIT 1
Parameters:
[]
6 0.12 ms
SELECT id FROM targeting_target_groups UNION SELECT id FROM targeting_rules LIMIT 1
Parameters:
[]
7 0.13 ms
SELECT name FROM classes WHERE id = ?
Parameters:
[
  "SiteConfig"
]
8 0.62 ms
SELECT object_localized_location_en.o_id as o_id, object_localized_location_en.o_type as o_type FROM object_localized_location_en WHERE ((config LIKE :config)  AND (name != '' AND name IS NOT NULL AND (notShow IS NULL OR notShow = 0))  AND  object_localized_location_en.o_type IN ('object','folder')) AND object_localized_location_en.o_published = 1
Parameters:
[
  "config" => "%538%"
]
9 0.15 ms
SELECT name FROM classes WHERE id = ?
Parameters:
[
  "location"
]
10 0.15 ms
SELECT * FROM translations_messages LIMIT 1;
Parameters:
[]
11 0.20 ms
SELECT * FROM documents_editables WHERE documentId = ?
Parameters:
[
  15152
]
12 0.15 ms
SELECT * FROM documents_editables WHERE documentId = ?
Parameters:
[
  2493
]
13 0.16 ms
SELECT sourceId FROM documents_translations WHERE id = ?
Parameters:
[
  15145
]
14 0.22 ms
SELECT id,language FROM documents_translations WHERE sourceId IN(?, ?) UNION SELECT sourceId as id,"source" FROM documents_translations WHERE id = ?
Parameters:
[
  2480
  15145
  15145
]
15 0.15 ms
SELECT id,language FROM documents_translations WHERE sourceId = ? UNION SELECT sourceId as id,"source" FROM documents_translations WHERE id = ?
Parameters:
[
  15145
  15145
]
16 0.14 ms
SELECT id,language FROM documents_translations WHERE sourceId = ? UNION SELECT sourceId as id,"source" FROM documents_translations WHERE id = ?
Parameters:
[
  16033
  16033
]
17 0.14 ms
SELECT id,language FROM documents_translations WHERE sourceId = ? UNION SELECT sourceId as id,"source" FROM documents_translations WHERE id = ?
Parameters:
[
  16271
  16271
]
18 0.14 ms
SELECT id,language FROM documents_translations WHERE sourceId = ? UNION SELECT sourceId as id,"source" FROM documents_translations WHERE id = ?
Parameters:
[
  2480
  2480
]
19 0.13 ms
SELECT id FROM documents WHERE path = BINARY :path AND `key` = BINARY :key
Parameters:
[
  "key" => "locations"
  "path" => "/en/kuhn-world/"
]
20 0.10 ms
SELECT id FROM documents_page WHERE prettyUrl = :prettyUrl
Parameters:
[
  "prettyUrl" => "/en/kuhn-world/locations"
]
21 0.08 ms
SELECT id FROM documents WHERE path = BINARY :path AND `key` = BINARY :key
Parameters:
[
  "key" => "locations"
  "path" => "/en/kuhn-world/"
]
22 0.08 ms
SELECT id FROM documents_page WHERE prettyUrl = :prettyUrl
Parameters:
[
  "prettyUrl" => "/en/kuhn-world/locations"
]
23 0.15 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/locations"
]
24 0.09 ms
SELECT id FROM documents WHERE path = BINARY :path AND `key` = BINARY :key
Parameters:
[
  "key" => "kuhn-world"
  "path" => "/en/"
]
25 0.08 ms
SELECT id FROM documents_page WHERE prettyUrl = :prettyUrl
Parameters:
[
  "prettyUrl" => "/en/kuhn-world"
]
26 0.13 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"
]
27 0.08 ms
SELECT id FROM documents WHERE path = BINARY :path AND `key` = BINARY :key
Parameters:
[
  "key" => "en"
  "path" => "/"
]
28 0.08 ms
SELECT id FROM documents_page WHERE prettyUrl = :prettyUrl
Parameters:
[
  "prettyUrl" => "/en"
]
29 0.12 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"
]
30 0.12 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/%"
  ""
]
31 0.09 ms
SELECT id FROM documents WHERE path = BINARY :path AND `key` = BINARY :key
Parameters:
[
  "key" => ""
  "path" => "/"
]
32 0.11 ms
SELECT * FROM object_url_slugs WHERE slug = '/en/kuhn-world/locations' AND siteId = 0 ORDER BY siteId DESC LIMIT 1
Parameters:
[]
33 0.09 ms
SELECT id FROM settings_store WHERE scope = ?
Parameters:
[
  "pimcore_staticroutes"
]
34 0.18 ms
SELECT * FROM documents_editables WHERE documentId = ?
Parameters:
[
  15151
]
35 0.16 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.