Query Metrics

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

Grouped Statements

Show all queries

Time Count Info
0.70 ms
(12.05%)
4
SELECT * FROM documents_editables WHERE documentId = ?
Parameters:
[
  15152
]
0.65 ms
(11.27%)
6
SELECT id FROM documents WHERE path = BINARY :path AND `key` = BINARY :key
Parameters:
[
  "key" => "locations"
  "path" => "/schweiz/en/kuhn-world/"
]
0.62 ms
(10.60%)
1
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%"
]
0.57 ms
(9.88%)
4
SELECT id,language FROM documents_translations WHERE sourceId = ? UNION SELECT sourceId as id,"source" FROM documents_translations WHERE id = ?
Parameters:
[
  15145
  15145
]
0.53 ms
(9.07%)
4
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"
]
0.48 ms
(8.27%)
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 = '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"
]
0.34 ms
(5.88%)
4
SELECT id FROM documents_page WHERE prettyUrl = :prettyUrl
Parameters:
[
  "prettyUrl" => "/en/kuhn-world/locations"
]
0.31 ms
(5.37%)
1
SELECT id FROM sites ORDER BY (SELECT LENGTH(path) FROM documents WHERE documents.id = sites.rootId) DESC
Parameters:
[]
0.29 ms
(4.96%)
2
SELECT name FROM classes WHERE id = ?
Parameters:
[
  "SiteConfig"
]
0.26 ms
(4.41%)
1
SELECT * FROM settings_store WHERE id = :id AND scope = :scope
Parameters:
[
  "id" => "reports"
  "scope" => "pimcore"
]
0.22 ms
(3.78%)
1
SELECT id,language FROM documents_translations WHERE sourceId IN(?, ?) UNION SELECT sourceId as id,"source" FROM documents_translations WHERE id = ?
Parameters:
[
  2480
  15145
  15145
]
0.20 ms
(3.50%)
1
SELECT * FROM object_url_slugs WHERE slug = '/en/kuhn-world/locations' AND (siteId = 3 OR siteId = 0) ORDER BY siteId DESC LIMIT 1
Parameters:
[]
0.16 ms
(2.81%)
1
SELECT sourceId FROM documents_translations WHERE id = ?
Parameters:
[
  15145
]
0.15 ms
(2.60%)
1
SELECT * FROM translations_messages LIMIT 1;
Parameters:
[]
0.12 ms
(2.01%)
1
SELECT id FROM targeting_target_groups UNION SELECT id FROM targeting_rules LIMIT 1
Parameters:
[]
0.11 ms
(1.95%)
1
SELECT * FROM object_url_slugs WHERE slug = '/en/kuhn-world/locations' AND siteId = 0 ORDER BY siteId DESC LIMIT 1
Parameters:
[]
0.09 ms
(1.59%)
1
SELECT id FROM settings_store WHERE scope = ?
Parameters:
[
  "pimcore_staticroutes"
]

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.